mirror of
				https://github.com/python-escpos/python-escpos
				synced 2025-10-23 09:30:00 +00:00 
			
		
		
		
	Debian packaging
* Add Debian packaging file * Use pybuild system to generate Python packages
This commit is contained in:
		
							
								
								
									
										77
									
								
								debian/changelog
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										77
									
								
								debian/changelog
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,77 @@
 | 
			
		||||
python-escpos (1.0.8-2) unstable; urgency=low
 | 
			
		||||
 | 
			
		||||
  * Imported source 
 | 
			
		||||
  * First debianization
 | 
			
		||||
 | 
			
		||||
 -- Christoph Heuel <mail@christoph-heuel.net>  Sat, 12 Dec 2015 19:13:33 +0100
 | 
			
		||||
 | 
			
		||||
python-escpos (1.0.8-1) unstable; urgency=low
 | 
			
		||||
 | 
			
		||||
  [ Manuel F Martinez ]
 | 
			
		||||
  * Added donation message
 | 
			
		||||
 | 
			
		||||
  [ Joel Lehtonen ]
 | 
			
		||||
  * Support for images vertically longer than 256 pixels
 | 
			
		||||
 | 
			
		||||
  [ Christoph Heuel ]
 | 
			
		||||
  * Fix mixed tabs/space error
 | 
			
		||||
 | 
			
		||||
  [ Hark ]
 | 
			
		||||
  * Prevent crash when using libusb0 printers
 | 
			
		||||
 | 
			
		||||
  [ Manuel F Martinez ]
 | 
			
		||||
  * Updated README and documentation
 | 
			
		||||
 | 
			
		||||
  [ Christoph Heuel ]
 | 
			
		||||
  * Add flush function
 | 
			
		||||
  * Debian packaging
 | 
			
		||||
 | 
			
		||||
 -- Manuel F Martinez <manpaz@gmail.com>  Sat, 12 Dec 2015 20:59:53 +0100
 | 
			
		||||
 | 
			
		||||
python-escyypos (1.0.7-1) unstable; urgency=low
 | 
			
		||||
 | 
			
		||||
  [ Kristi ]
 | 
			
		||||
  * Raising the right error when wrong charcode is used
 | 
			
		||||
 | 
			
		||||
  [ Christoph Heuel ]
 | 
			
		||||
  * After running 2to3 tool
 | 
			
		||||
  * Fix for string operation
 | 
			
		||||
  * Integer is needed, not float
 | 
			
		||||
  * Add text wrapping
 | 
			
		||||
 | 
			
		||||
  [ Manuel F Martinez ]
 | 
			
		||||
  * Updated URL for the documentation
 | 
			
		||||
  * Updated documentation URL to local wiki
 | 
			
		||||
  * Updated setup URLs
 | 
			
		||||
 | 
			
		||||
  [ Christoph Heuel ]
 | 
			
		||||
  * Introduce new direct_image
 | 
			
		||||
 | 
			
		||||
  [ Manuel F Martinez ]
 | 
			
		||||
  * Fixed License version mismatch
 | 
			
		||||
 | 
			
		||||
  [ Christoph Heuel ]
 | 
			
		||||
  * Use unhexlify
 | 
			
		||||
  * Hexlify text
 | 
			
		||||
 | 
			
		||||
  [ Manuel F Martinez ]
 | 
			
		||||
  * Updated accordingly to the wiki
 | 
			
		||||
 | 
			
		||||
  [ ldos ]
 | 
			
		||||
  * Extended params for serial printers
 | 
			
		||||
 | 
			
		||||
  [ Manuel F Martinez ]
 | 
			
		||||
  * Fixed issues with transparent images
 | 
			
		||||
  * Updated project version
 | 
			
		||||
 | 
			
		||||
 -- Manuel F Martinez <manpaz@gmail.com>  Sat, 12 Dec 2015 20:59:53 +0100
 | 
			
		||||
 | 
			
		||||
python-escpos (1.0.4-1) unstable; urgency=medium
 | 
			
		||||
 | 
			
		||||
  [ Manuel F Martinez ]
 | 
			
		||||
  * Added density support
 | 
			
		||||
  * Added quad support
 | 
			
		||||
  * fixed code tabulators
 | 
			
		||||
  * Updated version
 | 
			
		||||
 | 
			
		||||
 -- Manuel F Martinez <manpaz@gmail.com>  Sat, 12 Dec 2015 20:59:53 +0100
 | 
			
		||||
							
								
								
									
										1
									
								
								debian/compat
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								debian/compat
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
9
 | 
			
		||||
							
								
								
									
										55
									
								
								debian/control
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										55
									
								
								debian/control
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,55 @@
 | 
			
		||||
Source: python-escpos
 | 
			
		||||
Section: unknown
 | 
			
		||||
Priority: optional
 | 
			
		||||
Maintainer: Christoph Heuel <mail@christoph-heuel.net>
 | 
			
		||||
Build-Depends: debhelper (>= 9), dh-python
 | 
			
		||||
Standards-Version: 3.9.5
 | 
			
		||||
Homepage: https://github.com/braveheuel/python-escpos
 | 
			
		||||
#Vcs-Git: git@github.com:braveheuel/python-escpos.git
 | 
			
		||||
#Vcs-Browser: https://github.com/braveheuel/python-escpos
 | 
			
		||||
 | 
			
		||||
Package: python-escpos
 | 
			
		||||
Architecture: all
 | 
			
		||||
Depends: ${misc:Depends}
 | 
			
		||||
Description: Python library to manipulate ESC/POS Printers (Python 2)
 | 
			
		||||
 Python ESC/POS is a library which lets the user have access to all
 | 
			
		||||
 those printers handled by ESC/POS commands, as defined by Epson,
 | 
			
		||||
 from a Python application.
 | 
			
		||||
 .
 | 
			
		||||
 The standard usage is send raw text to the printer, but in also 
 | 
			
		||||
 helps the user to enhance the experience with those printers by
 | 
			
		||||
 facilitating the bar code printing in many different standards,
 | 
			
		||||
 as well as manipulating images so they can be printed as brand
 | 
			
		||||
 logo or any other usage images migh have. 
 | 
			
		||||
 .
 | 
			
		||||
 Text can be aligned/justified and fonts can be changed by size,
 | 
			
		||||
 type and weight.
 | 
			
		||||
 .
 | 
			
		||||
 Also, this module handles some hardware functionalities like, cut
 | 
			
		||||
 paper, carrier return, printer reset and others concerned to the
 | 
			
		||||
 carriage alignment.
 | 
			
		||||
 .
 | 
			
		||||
 This package covers Python 2 code.
 | 
			
		||||
 | 
			
		||||
Package: python3-escpos
 | 
			
		||||
Architecture: all
 | 
			
		||||
Depends: ${misc:Depends}
 | 
			
		||||
Description: Python library to manipulate ESC/POS Printers (Python 3)
 | 
			
		||||
 Python ESC/POS is a library which lets the user have access to all
 | 
			
		||||
 those printers handled by ESC/POS commands, as defined by Epson,
 | 
			
		||||
 from a Python application.
 | 
			
		||||
 .
 | 
			
		||||
 The standard usage is send raw text to the printer, but in also 
 | 
			
		||||
 helps the user to enhance the experience with those printers by
 | 
			
		||||
 facilitating the bar code printing in many different standards,
 | 
			
		||||
 as well as manipulating images so they can be printed as brand
 | 
			
		||||
 logo or any other usage images migh have. 
 | 
			
		||||
 .
 | 
			
		||||
 Text can be aligned/justified and fonts can be changed by size,
 | 
			
		||||
 type and weight.
 | 
			
		||||
 .
 | 
			
		||||
 Also, this module handles some hardware functionalities like, cut
 | 
			
		||||
 paper, carrier return, printer reset and others concerned to the
 | 
			
		||||
 carriage alignment.
 | 
			
		||||
 .
 | 
			
		||||
 This package covers Python 3 code.
 | 
			
		||||
							
								
								
									
										26
									
								
								debian/copyright
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								debian/copyright
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,26 @@
 | 
			
		||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 | 
			
		||||
Upstream-Name: python-escpos
 | 
			
		||||
Source: https://github.com/manpaz/python-escpos
 | 
			
		||||
 | 
			
		||||
Files: *
 | 
			
		||||
Copyright: 2015 Manuel F Martinez <manpaz@bashlinux.com>
 | 
			
		||||
License: GPL v3
 | 
			
		||||
 | 
			
		||||
Files: debian/*
 | 
			
		||||
Copyright: 2015 Christoph Heuel <mail@christoph-heuel.net>
 | 
			
		||||
License: GPL-2+
 | 
			
		||||
 This package is free software; you can redistribute it and/or modify
 | 
			
		||||
 it under the terms of the GNU General Public License as published by
 | 
			
		||||
 the Free Software Foundation; either version 2 of the License, or
 | 
			
		||||
 (at your option) any later version.
 | 
			
		||||
 .
 | 
			
		||||
 This package is distributed in the hope that it will be useful,
 | 
			
		||||
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
			
		||||
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
			
		||||
 GNU General Public License for more details.
 | 
			
		||||
 .
 | 
			
		||||
 You should have received a copy of the GNU General Public License
 | 
			
		||||
 along with this program. If not, see <http://www.gnu.org/licenses/>
 | 
			
		||||
 .
 | 
			
		||||
 On Debian systems, the complete text of the GNU General
 | 
			
		||||
 Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
 | 
			
		||||
							
								
								
									
										1
									
								
								debian/docs
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								debian/docs
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
README
 | 
			
		||||
							
								
								
									
										6
									
								
								debian/gbp.conf
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								debian/gbp.conf
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
[DEFAULT]
 | 
			
		||||
upstream-branch=master
 | 
			
		||||
upstream-tree = tag 
 | 
			
		||||
debian-branch = debian/jessie
 | 
			
		||||
upstream-tag = v%(version)s
 | 
			
		||||
debian-tag = v%(version)s
 | 
			
		||||
							
								
								
									
										28
									
								
								debian/rules
									
									
									
									
										vendored
									
									
										Executable file
									
								
							
							
						
						
									
										28
									
								
								debian/rules
									
									
									
									
										vendored
									
									
										Executable file
									
								
							@@ -0,0 +1,28 @@
 | 
			
		||||
#!/usr/bin/make -f
 | 
			
		||||
# See debhelper(7) (uncomment to enable)
 | 
			
		||||
# output every command that modifies files on the build system.
 | 
			
		||||
#DH_VERBOSE = 1
 | 
			
		||||
 | 
			
		||||
# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
 | 
			
		||||
DPKG_EXPORT_BUILDFLAGS = 1
 | 
			
		||||
include /usr/share/dpkg/default.mk
 | 
			
		||||
 | 
			
		||||
# see FEATURE AREAS in dpkg-buildflags(1)
 | 
			
		||||
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 | 
			
		||||
 | 
			
		||||
# see ENVIRONMENT in dpkg-buildflags(1)
 | 
			
		||||
# package maintainers to append CFLAGS
 | 
			
		||||
#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
 | 
			
		||||
# package maintainers to append LDFLAGS
 | 
			
		||||
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# main packaging script based on dh7 syntax
 | 
			
		||||
%:
 | 
			
		||||
	dh $@ --with python2,python3 --buildsystem=pybuild
 | 
			
		||||
 | 
			
		||||
# debmake generated override targets
 | 
			
		||||
# This is example for Cmake (See http://bugs.debian.org/641051 )
 | 
			
		||||
#override_dh_auto_configure:
 | 
			
		||||
#	dh_auto_configure -- \
 | 
			
		||||
#	-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
 | 
			
		||||
							
								
								
									
										1
									
								
								debian/source/format
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								debian/source/format
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
3.0 (quilt)
 | 
			
		||||
		Reference in New Issue
	
	Block a user