From b36c1a1f6131ee5b415ac53766a8516b2fc5b71b Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Sat, 12 Oct 2019 20:54:18 +0200 Subject: [PATCH] debian packaging --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 29 +++++++++++++++++++++++++++++ debian/copyright | 1 + debian/gbp.conf | 12 ++++++++++++ debian/rules | 15 +++++++++++++++ debian/source/format | 1 + 7 files changed, 64 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..93781d1 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +python-xmlschema (1.0.14-1) unstable; urgency=medium + + * Packaging upstream version 1.0.14 + + -- 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..1d4408c --- /dev/null +++ b/debian/control @@ -0,0 +1,29 @@ +Source: python-xmlschema +Maintainer: Benjamin Dauvergne +Section: python +Priority: optional +Build-Depends: debhelper (>= 9), + dh-python (>= 1.20130901-1~), + python, + python-setuptools, + python-elementpath, + python3, + python3-setuptools, + python3-elementpath, +Standards-Version: 4.1.3 +Homepage: https://github.com/sissaschool/xmlschema +X-Python-Version: >= 2.6 + +Package: python-xmlschema +Architecture: all +Depends: ${misc:Depends}, + ${python:Depends} +Description: XML Schema validator and data conversion library for Python + This package is targeting Python version 2. + +Package: python3-xmlschema +Architecture: all +Depends: ${misc:Depends}, + ${python3:Depends} +Description: XML Schema validator and data conversion library for Python + This package is targeting Python version 2. 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..e57bfbb --- /dev/null +++ b/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f + +LC_ALL:=C.UTF-8 +export LC_ALL +export PYBUILD_NAME := xmlschema +export PYBUILD_DISABLE_python2=test +export PYBUILD_DISABLE_python3=test + +%: + dh $@ --with python2,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)