[Python-apps-commits] r9278 - in packages/tox/trunk/debian (changelog rules)
warsaw-guest at users.alioth.debian.org
warsaw-guest at users.alioth.debian.org
Wed Nov 28 21:17:59 UTC 2012
Date: Wednesday, November 28, 2012 @ 21:17:57
Author: warsaw-guest
Revision: 9278
* debian/rules:
+ Hack $PYTHONPATH to include the system Python's dist-packages when
running tox's own tox test. Without this, the system installed
dependencies will not be found (since they aren't downloaded as per
above).
+ Export $http_proxy to additionally prevent unintended internet
access by setuptools.
Modified:
packages/tox/trunk/debian/changelog
packages/tox/trunk/debian/rules
Modified: packages/tox/trunk/debian/changelog
===================================================================
--- packages/tox/trunk/debian/changelog 2012-11-28 20:10:44 UTC (rev 9277)
+++ packages/tox/trunk/debian/changelog 2012-11-28 21:17:57 UTC (rev 9278)
@@ -4,10 +4,13 @@
prevent unintended downloads of dependencies from remote Python
package servers.
* debian/control: Add B-D for python-pytest.
- * debian/rules: Hack $PYTHONPATH to include the system Python's
- dist-packages when running tox's own tox test. Without this, the
- system installed dependencies will not be found (since they aren't
- downloaded as per above).
+ * debian/rules:
+ + Hack $PYTHONPATH to include the system Python's dist-packages when
+ running tox's own tox test. Without this, the system installed
+ dependencies will not be found (since they aren't downloaded as per
+ above).
+ + Export $http_proxy to additionally prevent unintended internet
+ access by setuptools.
-- Barry Warsaw <barry at python.org> Wed, 28 Nov 2012 14:59:23 -0500
Modified: packages/tox/trunk/debian/rules
===================================================================
--- packages/tox/trunk/debian/rules 2012-11-28 20:10:44 UTC (rev 9277)
+++ packages/tox/trunk/debian/rules 2012-11-28 21:17:57 UTC (rev 9278)
@@ -8,6 +8,9 @@
# purposes.
FAKEHOME=$(shell mktemp -dq)
+# Prevent setuptools/distribute from accessing the internet.
+export http_proxy = http://127.0.9.1:9
+
%:
dh $@ --buildsystem=python_distutils --with=python2,sphinxdoc
More information about the Python-apps-commits
mailing list