add debian packaging

This commit is contained in:
Benjamin Dauvergne 2020-02-03 21:53:21 +01:00
parent d3324421d4
commit d1c152269c
7 changed files with 48 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
python-pypdf4 (1.27.0-0) unstable; urgency=medium
* Packaging upstream version 1.27.0
-- Benjamin Dauvergne <bdauvergne@entrouvert.com> Sat, 12 Oct 2019 20:49:00 +0200

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

16
debian/control vendored Normal file
View File

@ -0,0 +1,16 @@
Source: python-pypdf4
Maintainer: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Section: python
Priority: optional
Build-Depends: debhelper (>= 9),
dh-python,
python3-all,
python3-setuptools,
Standards-Version: 4.1.3
Homepage: https://github.com/akretion/factur-x
Package: python3-pypdf4
Architecture: all
Depends: ${misc:Depends},
${python3:Depends},
Description: A utility to read and write PDFs with Python

1
debian/copyright vendored Normal file
View File

@ -0,0 +1 @@
MIT

12
debian/gbp.conf vendored Normal file
View File

@ -0,0 +1,12 @@
# Settings for Debian Tryton Maintainer repositories
# for usage with git-buildpackage
[DEFAULT]
debian-branch = debian
pristine-tar = True
[buildpackage]
ignore-new = True
# Use export-dir at your discretion to avoid git-buildpackage messing
# your git repeository
#export-dir = ../build-area/

12
debian/rules vendored Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/make -f
LC_ALL:=C.UTF-8
export LC_ALL
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_clean:
rm -rf $(PACKAGE_NAME).egg-info
rm -rf PKG-INFO
dh_auto_clean

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)