Skip to content
Snippets Groups Projects
Commit a90ce451 authored by Sandro Tosi's avatar Sandro Tosi
Browse files

Drop python2 support; Closes: #937764

parent 2c92bc14
No related branches found
No related tags found
No related merge requests found
python-formencode (1.3.0-6) UNRELEASED; urgency=medium
* Team upload.
* Drop python2 support; Closes: #937764
-- Sandro Tosi <morph@debian.org> Sun, 12 Jan 2020 19:59:05 -0500
python-formencode (1.3.0-5) unstable; urgency=medium
* Team upload.
......
......@@ -4,10 +4,6 @@ Priority: optional
Build-Depends:
debhelper-compat (= 12),
dh-python,
python-all (>= 2.6.6-3),
python-dnspython <!nocheck>,
python-nose <!nocheck>,
python-setuptools (>= 0.6a9),
python3-all,
python3-dnspython <!nocheck>,
python3-pycountry <!nocheck>,
......@@ -25,23 +21,6 @@ Vcs-Browser: https://salsa.debian.org/python-team/modules/python-formencode
Homepage: http://formencode.org
Rules-Requires-Root: no
Package: python-formencode
Architecture: all
Depends:
python-dnspython,
python-pkg-resources,
${misc:Depends},
${python:Depends},
Suggests:
python-egenix-mxdatetime,
Description: validation and form generation Python package
FormEncode is a validation and form generation package. The validation can
be used separately from the form generation. The validation works on compound
data structures, with all parts being nestable. It is separate from HTTP or
any other input mechanism.
.
This package contains the Python 2 version of FormEncode.
Package: python3-formencode
Architecture: all
Depends:
......
docs/*.txt
......@@ -2,13 +2,11 @@
export PYBUILD_NAME=formencode
%:
dh $@ --with python2,python3 --buildsystem=pybuild
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_install:
dh_auto_install --buildsystem=pybuild
dh_install -X.po -X.py -ppython3-formencode formencode/i18n/* /usr/share/locale/
find debian/python-formencode/ -type d -name docs -print0 | xargs --null --no-run-if-empty rm -rf
find debian/python-formencode/ -type f -name \*po -delete
find debian/python3-formencode/ -type d \( -name i18n -or -name docs \) -print0 | xargs --null --no-run-if-empty rm -rf
override_dh_auto_test:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment