From d1c152269cb51f6812c67bcba873c577c75858bd Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Mon, 3 Feb 2020 21:53:21 +0100 Subject: [PATCH] add debian packaging --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 16 ++++++++++++++++ debian/copyright | 1 + debian/gbp.conf | 12 ++++++++++++ debian/rules | 12 ++++++++++++ debian/source/format | 1 + 7 files changed, 48 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/gbp.conf create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..81c22f9 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +python-pypdf4 (1.27.0-0) unstable; urgency=medium + + * Packaging upstream version 1.27.0 + + -- Benjamin Dauvergne Sat, 12 Oct 2019 20:49:00 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..68fb28f --- /dev/null +++ b/debian/control @@ -0,0 +1,16 @@ +Source: python-pypdf4 +Maintainer: Benjamin Dauvergne +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 diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..a22a2da --- /dev/null +++ b/debian/copyright @@ -0,0 +1 @@ +MIT diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..477d35e --- /dev/null +++ b/debian/gbp.conf @@ -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/ diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..8008af5 --- /dev/null +++ b/debian/rules @@ -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 diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt)