Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (3)
Removes tor from suggests for doc package
· 2e6ab542
Iain Learmonth
authored
Aug 16, 2018
2e6ab542
No longer builds a package for Python 2
· fcde68f4
Iain Learmonth
authored
Aug 16, 2018
fcde68f4
Updates changelog for release
· ce99633f
Iain Learmonth
authored
Aug 16, 2018
ce99633f
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
ce99633f
txtorcon (18.0.2-2) unstable; urgency=medium
* No longer builds a Python 2 package (Closes: #905253)
* Removes tor from suggests for python-txtorcon-doc
-- Iain R. Learmonth <irl@debian.org> Thu, 16 Aug 2018 12:50:11 +0100
txtorcon (18.0.2-1) unstable; urgency=medium
* New upstream version 18.0.2.
...
...
debian/control
View file @
ce99633f
...
...
@@ -8,14 +8,6 @@ Build-Depends: debhelper (>= 9),
dh-python,
graphviz,
lsof,
python-all,
python-geoip,
python-ipaddress,
python-mock,
python-repoze.sphinx.autointerface,
python-setuptools,
python-sphinx,
python-twisted,
python3-all,
python3-geoip,
python3-mock,
...
...
@@ -29,29 +21,6 @@ Vcs-Browser: https://salsa.debian.org/pkg-privacy-team/txtorcon
Vcs-Git: https://salsa.debian.org/pkg-privacy-team/txtorcon.git
Homepage: https://github.com/meejah/txtorcon
Package: python-txtorcon
Architecture: all
Depends: python-geoip,
python-ipaddress,
python-twisted,
python-zope.interface,
${misc:Depends},
${python:Depends}
Suggests: tor
Provides: ${python:Provides}
Description: Twisted-based asynchronous Tor control protocol implementation (Python 2)
txtorcon main feature is to present an asynchronous API to speak the Tor
client protocol in Python. It also provides abstractions to track and get
updates about Tor's state and current configuration (including writing it to
Tor or disk), along with helpers to asynchronously launch slave instances of
Tor including Twisted endpoint support.
.
Twisted is an event-driven networking engine written in Python and Tor is an
onion-routing network designed to improve people's privacy and anonymity on the
Internet.
.
This package contains the Python 2 module.
Package: python3-txtorcon
Architecture: all
Depends: python3-geoip,
...
...
@@ -78,7 +47,6 @@ Section: doc
Architecture: all
Depends: ${misc:Depends},
${sphinxdoc:Depends}
Suggests: tor
Description: Twisted-based asynchronous Tor control protocol implementation (Documentation)
txtorcon main feature is to present an asynchronous API to speak the Tor
client protocol in Python. It also provides abstractions to track and get
...
...
debian/rules
View file @
ce99633f
...
...
@@ -3,7 +3,7 @@
export PYBUILD_NAME=txtorcon
%:
dh $@ --with=
python2,
python3,sphinxdoc --buildsystem=pybuild
dh $@ --with=python3,sphinxdoc --buildsystem=pybuild
override_dh_auto_build:
PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ docs/_build/html # HTML generator
...
...
@@ -11,26 +11,17 @@ override_dh_auto_build:
override_dh_auto_install:
dh_auto_install -O--buildsystem=pybuild
mkdir -p debian/python-txtorcon/usr/share/doc/python-txtorcon
mkdir -p debian/python3-txtorcon/usr/share/doc/python3-txtorcon
set -e && \
for data_src in README.rst TODO examples; do \
mv debian/python-txtorcon/usr/share/txtorcon/$$data_src \
debian/python-txtorcon/usr/share/doc/python-txtorcon; \
done
set -e && \
for data_src in README.rst TODO examples; do \
mv debian/python3-txtorcon/usr/share/txtorcon/$$data_src \
debian/python3-txtorcon/usr/share/doc/python3-txtorcon; \
done
chmod 644 debian/python-txtorcon/usr/share/doc/python-txtorcon/examples/*.py
chmod 644 debian/python3-txtorcon/usr/share/doc/python3-txtorcon/examples/*.py
rm -r debian/python-txtorcon/usr/share/txtorcon
rm -r debian/python3-txtorcon/usr/share/txtorcon
override_dh_compress:
dh_compress -Xlaunch_tor_with_simplehttpd.py -O--buildsystem=pybuild
override_dh_auto_test:
PYTHONPATH=. trial --reporter=text test
PYTHONPATH=. trial3 --reporter=text test