[Python-apps-commits] r12569 - in packages/pyflakes/trunk/debian (5 files)
barry at users.alioth.debian.org
barry at users.alioth.debian.org
Fri Nov 6 15:37:17 UTC 2015
Date: Friday, November 6, 2015 @ 15:37:15
Author: barry
Revision: 12569
* Split pyflakes binary package library and cli packages.
* d/control:
- Add pyflakes Depends on python3-pyflakes.
- Add python-pyflakes and python3-pyflakes binary packages for the
libraries.
* d/rules:
- Remove the explicit http_proxy export since pybuild does this for us.
- Remove the PYBUILD_DESTDIR_python{2,3} exports since they aren't
necessary any more.
- override_dh_auto_install: Move the /usr/bin/pyflakes{,3} versions to
the pyflakes binary package.
* d/control: wrap-and-sort
* d/tests: Add DEP-8 smoketests for both the libraries and cli.
Added:
packages/pyflakes/trunk/debian/tests/
packages/pyflakes/trunk/debian/tests/control
Modified:
packages/pyflakes/trunk/debian/changelog
packages/pyflakes/trunk/debian/control
packages/pyflakes/trunk/debian/rules
Modified: packages/pyflakes/trunk/debian/changelog
===================================================================
--- packages/pyflakes/trunk/debian/changelog 2015-11-05 15:51:15 UTC (rev 12568)
+++ packages/pyflakes/trunk/debian/changelog 2015-11-06 15:37:15 UTC (rev 12569)
@@ -1,3 +1,24 @@
+pyflakes (1.0.0-2) UNRELEASED; urgency=medium
+
+ [ Robert Bruce Park ]
+ * Split pyflakes binary package library and cli packages.
+ * d/control:
+ - Add pyflakes Depends on python3-pyflakes.
+ - Add python-pyflakes and python3-pyflakes binary packages for the
+ libraries.
+ * d/rules:
+ - Remove the explicit http_proxy export since pybuild does this for us.
+ - Remove the PYBUILD_DESTDIR_python{2,3} exports since they aren't
+ necessary any more.
+ - override_dh_auto_install: Move the /usr/bin/pyflakes{,3} versions to
+ the pyflakes binary package.
+
+ [ Barry Warsaw ]
+ * d/control: wrap-and-sort
+ * d/tests: Add DEP-8 smoketests for both the libraries and cli.
+
+ -- Barry Warsaw <barry at debian.org> Fri, 06 Nov 2015 09:32:41 -0600
+
pyflakes (1.0.0-1) unstable; urgency=medium
* Team upload.
Modified: packages/pyflakes/trunk/debian/control
===================================================================
--- packages/pyflakes/trunk/debian/control 2015-11-05 15:51:15 UTC (rev 12568)
+++ packages/pyflakes/trunk/debian/control 2015-11-06 15:37:15 UTC (rev 12569)
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
Uploaders: Varun Hiremath <varun at debian.org>,
- Dimitri John Ledkov <xnox at debian.org>,
+ Dimitri John Ledkov <xnox at debian.org>
Build-Depends: debhelper (>= 9),
dh-python,
python-all,
@@ -21,7 +21,11 @@
Package: pyflakes
Architecture: all
-Depends: python-pkg-resources, python3-pkg-resources, ${misc:Depends}, ${python:Depends}, ${python3:Depends}
+Depends: python-pyflakes,
+ python3-pyflakes,
+ ${misc:Depends},
+ ${python3:Depends},
+ ${python:Depends}
Description: passive checker of Python 2 and 3 programs
Pyflakes is program to analyze Python programs and detect various
errors. It works by parsing the source file, not importing it, so it
@@ -29,3 +33,25 @@
.
Unlike PyLint, Pyflakes checks only for logical errors in programs;
it does not perform any checks on style.
+
+Package: python-pyflakes
+Architecture: all
+Depends: python-pkg-resources, ${misc:Depends}, ${python:Depends}
+Description: passive checker of Python 2 programs
+ Pyflakes is program to analyze Python programs and detect various
+ errors. It works by parsing the source file, not importing it, so it
+ is safe to use on modules with side effects. It's also much faster.
+ .
+ Unlike PyLint, Pyflakes checks only for logical errors in programs;
+ it does not perform any checks on style.
+
+Package: python3-pyflakes
+Architecture: all
+Depends: python3-pkg-resources, ${misc:Depends}, ${python3:Depends}
+Description: passive checker of Python 3 programs
+ Pyflakes is program to analyze Python programs and detect various
+ errors. It works by parsing the source file, not importing it, so it
+ is safe to use on modules with side effects. It's also much faster.
+ .
+ Unlike PyLint, Pyflakes checks only for logical errors in programs;
+ it does not perform any checks on style.
Modified: packages/pyflakes/trunk/debian/rules
===================================================================
--- packages/pyflakes/trunk/debian/rules 2015-11-05 15:51:15 UTC (rev 12568)
+++ packages/pyflakes/trunk/debian/rules 2015-11-06 15:37:15 UTC (rev 12569)
@@ -1,11 +1,7 @@
#!/usr/bin/make -f
-# Prevent setuptools/distribute from accessing the internet.
-export http_proxy = http://127.0.9.1:9
+export PYBUILD_NAME=pyflakes
-export PYBUILD_DESTDIR_python2=debian/pyflakes
-export PYBUILD_DESTDIR_python3=debian/pyflakes
-
# Some tests require that the bin/pyflakes script be available one directory
# up relative to the package directory. When the tests are run during the
# build, this won't be the case, because pybuild cd's to a directory that
@@ -23,6 +19,8 @@
override_dh_auto_install:
dh_auto_install
- cp debian/pyflakes/usr/bin/pyflakes debian/pyflakes/usr/bin/pyflakes3
+ mkdir -p debian/pyflakes/usr/bin
+ mv debian/python-pyflakes/usr/bin/pyflakes debian/pyflakes/usr/bin/pyflakes
+ mv debian/python3-pyflakes/usr/bin/pyflakes debian/pyflakes/usr/bin/pyflakes3
sed -i '1s/3.*/2.7/' ./debian/pyflakes/usr/bin/pyflakes
sed -i '1s/3.*/3/' ./debian/pyflakes/usr/bin/pyflakes3
Added: packages/pyflakes/trunk/debian/tests/control
===================================================================
--- packages/pyflakes/trunk/debian/tests/control (rev 0)
+++ packages/pyflakes/trunk/debian/tests/control 2015-11-06 15:37:15 UTC (rev 12569)
@@ -0,0 +1,11 @@
+Test-Command: python -c "import pyflakes; print pyflakes"
+Depends: python-pyflakes
+
+Test-Command: python3 -c "import pyflakes; print(pyflakes)"
+Depends: python3-pyflakes
+
+Test-Command: pyflakes --help
+Depends: pyflakes
+
+Test-Command: pyflakes3 --help
+Depends: pyflakes
More information about the Python-apps-commits
mailing list