[tryton-debian-vcs] vatnumber branch debian updated. debian/1.2-1-1-g41c0ff9
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Mon Jul 7 17:36:59 UTC 2014
The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/vatnumber.git;a=commitdiff;h=debian/1.2-1-1-g41c0ff9
commit 41c0ff9a12b1c72622dd8033a73383c945e1171e
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Mon Jul 7 19:35:44 2014 +0200
Enabling build of python3 package.
diff --git a/debian/control b/debian/control
index dc1d48f..265715f 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,8 @@ Priority: optional
Maintainer: Debian Tryton Maintainers <maintainers at debian.tryton.org>
Uploaders: Mathias Behrle <mathiasb at m9s.biz>
Build-Depends:
- debhelper (>= 9), python (>= 2.6.6-3~), python-setuptools, dh-python
+ debhelper (>= 9), python (>= 2.6.6-3~), python3 (>= 3.3.0-2~),
+ python-setuptools, python3-setuptools
Standards-Version: 3.9.5
Homepage: http://code.google.com/p/vatnumber/
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=tryton/vatnumber.git
@@ -15,7 +16,7 @@ Package: python-vatnumber
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}, python-pkg-resources,
python-stdnum
-Description: Python module to validate VAT numbers
+Description: Python module to validate VAT numbers (implemented in Python 2)
This is a Python module to check the validity of Value Added Tax (VAT) numbers
of States inside the European Union. It uses the validation rules according to
http://sima-pc.com/nif.php.
@@ -23,3 +24,20 @@ Description: Python module to validate VAT numbers
Additionally this module provides a function for online validation of given VAT
numbers by the VIES VAT number validation (SOAP Service) of the Taxation and
Customs Union: http://ec.europa.eu/taxation_customs/vies/vieshome.do
+ .
+ This package is targeting Python version 2.
+
+Package: python3-vatnumber
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}, python3-pkg-resources,
+ python3-stdnum
+Description: Python module to validate VAT numbers (implemented in Python 3)
+ This is a Python module to check the validity of Value Added Tax (VAT) numbers
+ of States inside the European Union. It uses the validation rules according to
+ http://sima-pc.com/nif.php.
+ .
+ Additionally this module provides a function for online validation of given VAT
+ numbers by the VIES VAT number validation (SOAP Service) of the Taxation and
+ Customs Union: http://ec.europa.eu/taxation_customs/vies/vieshome.do
+ .
+ This package is targeting Python version 3.
diff --git a/debian/rules b/debian/rules
index 9bae169..308081d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,12 @@
#!/usr/bin/make -f
+PACKAGE_NAME := $(shell python setup.py --name)
+export PYBUILD_NAME=$(PACKAGE_NAME)
# Don't run tests for vatnumber, test_vies tries to connect to the network
export PYBUILD_DISABLE_python2.7=test
+export PYBUILD_DISABLE_python3.4=test
%:
- dh ${@} --with python2 --buildsystem=pybuild
+ dh ${@} --with python2,python3 --buildsystem=pybuild
--
vatnumber
More information about the tryton-debian-vcs
mailing list