[Python-modules-commits] [pep8] 01/03: Make pep8 transitional package which provides symlink pep8 -> pycodestyle

Ondřej Nový onovy at moszumanska.debian.org
Mon Aug 8 09:44:14 UTC 2016


This is an automated email from the git hooks/post-receive script.

onovy pushed a commit to branch master
in repository pep8.

commit 655e6f631fc854c51f48f142e58bdb6b4af8494f
Author: Ondřej Nový <onovy at debian.org>
Date:   Mon Aug 8 11:31:34 2016 +0200

    Make pep8 transitional package which provides symlink pep8 -> pycodestyle
---
 debian/changelog  |  2 ++
 debian/control    | 16 +++++++++-------
 debian/pep8.links |  1 +
 debian/rules      |  3 +--
 4 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7678020..85a5f8d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ pep8 (1.7.0-3) UNRELEASED; urgency=medium
   * Fixed VCS URL (https)
   * Change directory to $ADTTMP before running Debian tests
   * Standards-Version is 3.9.8 now (no change)
+  * Make pep8 transitional package which provides symlink
+    pep8 -> pycodestyle
 
  -- Ondřej Nový <novy at ondrej.org>  Tue, 29 Mar 2016 21:46:12 +0200
 
diff --git a/debian/control b/debian/control
index f150271..2665261 100644
--- a/debian/control
+++ b/debian/control
@@ -15,18 +15,20 @@ Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/pep8.git
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/pep8.git
 
 Package: pep8
+Section: oldlibs
+Priority: extra
 Architecture: all
-Depends: ${misc:Depends}, ${python3:Depends}, python3-pep8
-Description: Python PEP 8 code style checker
- Features a plugin architecture allowing for adding new checks is easily.
- Parseable output listing line numbers of the error location.  Consists of
- just one Python file, and requires only stdlib.
+Depends: pycodestyle, ${misc:Depends}
+Description: Python PEP 8 code style checker - transitional package
+ pep8 script was renamed to pycodestyle.
+ .
+ This is transitional package which provides symlink for pep8 script
 
 Package: python-pep8
 Architecture: all
 Depends: ${misc:Depends}, ${python:Depends}, python-pkg-resources
 Replaces: pep8 (<< 1.6.2-0.1)
-Description: Python PEP 8 code style checker - python
+Description: Python PEP 8 code style checker - Python
  Features a plugin architecture allowing for adding new checks is easily.
  Parseable output listing line numbers of the error location.  Consists of
  just one Python file, and requires only stdlib.
@@ -34,7 +36,7 @@ Description: Python PEP 8 code style checker - python
 Package: python3-pep8
 Architecture: all
 Depends: ${misc:Depends}, ${python3:Depends}, python3-pkg-resources
-Description: Python PEP 8 code style checker - python3
+Description: Python PEP 8 code style checker - Python 3
  Features a plugin architecture allowing for adding new checks is easily.
  Parseable output listing line numbers of the error location.  Consists of
  just one Python file, and requires only stdlib.
diff --git a/debian/pep8.links b/debian/pep8.links
new file mode 100644
index 0000000..dd370ed
--- /dev/null
+++ b/debian/pep8.links
@@ -0,0 +1 @@
+usr/bin/pycodestyle usr/bin/pep8
diff --git a/debian/rules b/debian/rules
index c4a1f25..cc22737 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,8 +20,7 @@ override_dh_auto_install:
 			--root $(CURDIR)/debian/python3-pep8; \
 	done
 	rm -rf debian/python-pep8/usr/bin
-	mkdir -p debian/pep8/usr
-	mv debian/python3-pep8/usr/bin debian/pep8/usr/.
+	rm -rf debian/python3-pep8/usr/bin
 
 override_dh_auto_test:
 	set -xe; \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pep8.git



More information about the Python-modules-commits mailing list