Commit 9ec00b66 authored by Martin's avatar Martin

rename binary packages: socksipy -> socks, use pybuild

parent 3b5079ff
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@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@debian.org> Sun, 27 Dec 2015 23:27:03 +0000
......
......@@ -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.
usr/lib/python2.*/*-packages/*
usr/lib/python3/*-packages/*
#!/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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment