debian packaging

This commit is contained in:
Benjamin Dauvergne 2019-10-12 20:56:01 +02:00
parent 1556b76238
commit cdfb8887dd
6 changed files with 48 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

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

27
debian/control vendored Normal file
View File

@ -0,0 +1,27 @@
Source: python-elementpath
Maintainer: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Section: python
Priority: optional
Build-Depends: debhelper (>= 9),
dh-python (>= 1.20130901-1~),
python,
python-setuptools,
python3,
python3-setuptools
Standards-Version: 4.1.3
Homepage: https://github.com/sissaschool/elementpath
X-Python-Version: >= 2.6
Package: python-elementpath
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-elementpath
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

13
debian/rules vendored Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/make -f
export PYBUILD_NAME := elementpath
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)