[Python-modules-commits] [python-socksipy] 10/10: rename binary packages: socksipy -> socks, use pybuild
Wolfgang Borgert
debacle at moszumanska.debian.org
Fri Jan 8 00:26:35 UTC 2016
This is an automated email from the git hooks/post-receive script.
debacle pushed a commit to branch master
in repository python-socksipy.
commit 9ec00b66397ece84bcf0694d32c4cd60e10564bc
Author: W. Martin Borgert <debacle at debian.org>
Date: Fri Jan 8 00:59:46 2016 +0100
rename binary packages: socksipy -> socks, use pybuild
---
debian/changelog | 10 +++++++++-
debian/control | 8 ++++++--
debian/{python-socksipy.docs => python-socks.docs} | 0
debian/python-socksipy.install | 1 -
.../{python3-socksipy.docs => python3-socks.docs} | 0
debian/python3-socksipy.install | 1 -
debian/rules | 21 +++------------------
7 files changed, 18 insertions(+), 23 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 0a51268..4f16290 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,16 @@
+python-socksipy (1.5.0+dfsg-2) unstable; urgency=medium
+
+ * rename binary packages from python-socksipy and
+ python3-socksipy to python-socks and python3-socks
+ * use pybuild
+
+ -- W. Martin Borgert <debacle at debian.org> Thu, 07 Jan 2016 23:45:25 +0000
+
python-socksipy (1.5.0+dfsg-1) unstable; urgency=medium
* adoption by DPMT (Closes: #700554)
* switch to new upstream and upstream version (Closes: #808872)
- * dropped unicode patch, fixed by upstream, minor changes
+ * drop unicode patch, fixed by upstream, minor changes
-- W. Martin Borgert <debacle at debian.org> Sun, 27 Dec 2015 23:27:03 +0000
diff --git a/debian/control b/debian/control
index b60d358..59b7f4e 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Homepage: https://github.com/Anorov/PySocks
Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-socksipy.git
Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-socksipy.git
-Package: python-socksipy
+Package: python-socks
Architecture: all
Depends: ${python:Depends}, ${misc:Depends}
Description: Python 2 SOCKS client module
@@ -18,9 +18,11 @@ Description: Python 2 SOCKS client module
network to add support for connection through a SOCKS proxy
server with as much ease as possible.
.
+ The module is also knowns as SocksiPy or PySocks.
+ .
This is the Python 2 version.
-Package: python3-socksipy
+Package: python3-socks
Architecture: all
Depends: ${python:Depends}, ${misc:Depends}
Description: Python 3 SOCKS client module
@@ -29,4 +31,6 @@ Description: Python 3 SOCKS client module
network to add support for connection through a SOCKS proxy
server with as much ease as possible.
.
+ The module is also knowns as SocksiPy or PySocks.
+ .
This is the Python 3 version.
diff --git a/debian/python-socksipy.docs b/debian/python-socks.docs
similarity index 100%
rename from debian/python-socksipy.docs
rename to debian/python-socks.docs
diff --git a/debian/python-socksipy.install b/debian/python-socksipy.install
deleted file mode 100644
index 48257a5..0000000
--- a/debian/python-socksipy.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python2.*/*-packages/*
diff --git a/debian/python3-socksipy.docs b/debian/python3-socks.docs
similarity index 100%
rename from debian/python3-socksipy.docs
rename to debian/python3-socks.docs
diff --git a/debian/python3-socksipy.install b/debian/python3-socksipy.install
deleted file mode 100644
index 87e0b0a..0000000
--- a/debian/python3-socksipy.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python3/*-packages/*
diff --git a/debian/rules b/debian/rules
index b1c6e00..5eaa8a1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,21 +1,6 @@
#!/usr/bin/make -f
-%:
- dh $@ --with python2,python3
-
-override_dh_auto_clean:
- dh_auto_clean
- rm -rf build
+export PYBUILD_NAME=socks
-override_dh_auto_build:
- dh_auto_build
- set -ex; for python in $(shell py3versions -r); do \
- $$python setup.py build --build-lib=$(CURDIR)/debian/tmp; \
- done;
-
-override_dh_auto_install:
- dh_auto_install
- set -ex; for python in $(shell py3versions -r); do \
- $$python setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb; \
- done;
- cp socks.py $(CURDIR)/debian/tmp/usr/lib/python3/dist-packages/
+%:
+ dh $@ --with python2,python3 --buildsystem=pybuild
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-socksipy.git
More information about the Python-modules-commits
mailing list