debian packaging

This commit is contained in:
Benjamin Dauvergne 2019-10-12 20:54:18 +02:00
parent 436567a8ad
commit b36c1a1f61
7 changed files with 64 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
python-xmlschema (1.0.14-1) unstable; urgency=medium
* Packaging upstream version 1.0.14
-- 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

29
debian/control vendored Normal file
View File

@ -0,0 +1,29 @@
Source: python-xmlschema
Maintainer: Benjamin Dauvergne <bdauvergne@entrouvert.com>
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.

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/

15
debian/rules vendored Executable file
View File

@ -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

1
debian/source/format vendored Normal file
View File

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