Codebase list python-flask-httpauth / b08dd69
Add support for python3, and fix a few packaging mistakes. Closes: #909598. Martín Ferrari 5 years ago
2 changed file(s) with 27 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
55 dh-python,
66 python-all,
77 python-docutils,
8 python-flask,
89 python-setuptools,
9 python-sphinx,
10 python3-all,
11 python3-flask,
12 python3-setuptools,
13 python3-sphinx,
1014 Standards-Version: 4.2.1
1115 Vcs-Browser: https://salsa.debian.org/debian/python-flask-httpauth
1216 Vcs-Git: https://salsa.debian.org/debian/python-flask-httpauth.git
1822 ${python:Depends},
1923 ${sphinxdoc:Depends},
2024 Provides: ${python:Provides},
21 Description: Basic and Digest HTTP authentication for Flask routes
25 Description: Basic and Digest HTTP authentication for Flask routes (Python 2)
2226 Flask-HTTPAuth is a simple extension that provides Basic and Digest HTTP
2327 authentication for Flask routes.
28 .
29 This package installs the library for Python 2.
30
31 Package: python3-flask-httpauth
32 Architecture: all
33 Depends: ${misc:Depends},
34 ${python3:Depends},
35 ${sphinxdoc:Depends},
36 Provides: ${python:Provides},
37 Description: Basic and Digest HTTP authentication for Flask routes (Python 3)
38 Flask-HTTPAuth is a simple extension that provides Basic and Digest HTTP
39 authentication for Flask routes.
40 .
41 This package installs the library for Python 3.
00 #!/usr/bin/make -f
11
2 export PYBUILD_NAME = flask-httpauth
3
24 %:
3 dh $@ --with python2,sphinxdoc --buildsystem=python_distutils
5 dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
46
7 override_dh_auto_build: export http_proxy=127.0.0.1:9
8 override_dh_auto_build: export https_proxy=127.0.0.1:9
59 override_dh_auto_build:
610 dh_auto_build
7 PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html # HTML generator
8 PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bman docs/ build/man # Manpage generator
9
10 override_dh_auto_clean:
11 rm -rf build/html build/man
12 dh_auto_clean
11 PYTHONPATH=. python3 -m sphinx -N -bhtml docs/ build/html # HTML generator
12 PYTHONPATH=. python3 -m sphinx -N -bman docs/ build/man # Manpage generator