...
 
Commits (5)
virtualenvwrapper (4.7.2-1) UNRELEASED; urgency=medium
[ Joel Cross ]
* Add Python 3 support by splitting into multiple packages (Closes: #760080)
* Bump Debhelper and standards version
* Build using pybuild
* Update Vcs-Git/Vcs-Browser fields in d/control
* Patches: Correctly decode bytestring in fix-python3-sphinx-build.patch
* Patches: Actually remove shebang in
remove-virtualenvwrapper_lazy-shebang.patch
[ Jan Dittberner ]
* fix previous changelog entry's bug number
* New upstream version
* refresh patches
* Install wrapper scripts via dh_install
* Adapt debian/watch to new pypi.org
* remove unusable upstream signing key
* use macros from /usr/share/dpkg/pkg-info.mk instead of parsing dpkg-
parsechangelog output
* Update debian/control and debian/copyright
-- Jan Dittberner <jandd@debian.org> Tue, 23 Aug 2016 17:55:47 +0200
......
......@@ -2,27 +2,72 @@ Source: virtualenvwrapper
Section: python
Priority: optional
Maintainer: Jan Dittberner <jandd@debian.org>
Build-Depends: debhelper (>= 7.0.50~)
Build-Depends: debhelper (>= 11), dh-python
Build-Depends-Indep: bash-completion,
python (>= 2.5.4-1~),
python-pbr | python3-pbr,
python-all,
python3-all,
python-pbr, python3-pbr,
python-setuptools (>= 0.6b3),
python3-setuptools (>= 0.6b3),
python-sphinx (>= 1.0.7+dfsg) | python3-sphinx
Standards-Version: 3.9.5
Homepage: http://www.doughellmann.com/projects/virtualenvwrapper/
Vcs-Git: git://anonscm.debian.org/collab-maint/virtualenvwrapper.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/virtualenvwrapper.git
Standards-Version: 4.1.4.1
Homepage: https://virtualenvwrapper.readthedocs.io/en/latest/
Vcs-Git: https://salsa.debian.org/debian/virtualenvwrapper.git
Vcs-Browser: https://salsa.debian.org/debian/virtualenvwrapper
Testsuite: autopkgtest-pkg-python
Package: python-virtualenvwrapper
Architecture: all
Depends: python-virtualenv,
${misc:Depends},
${python:Depends}
Recommends: virtualenvwrapper
Description: extension to virtualenv for managing multiple environments (Py2)
virtualenvwrapper is a set of extensions to Ian Bicking's virtualenv
tool. The extensions include wrappers for creating and deleting
virtual environments and otherwise managing your development
workflow, making it easier to work on more than one project at a time
without introducing conflicts in their dependencies.
.
This package installs the library for Python 2.
Package: python3-virtualenvwrapper
Architecture: all
Depends: python3-virtualenv,
${misc:Depends},
${python3:Depends}
Recommends: virtualenvwrapper
Description: extension to virtualenv for managing multiple environments (Py3)
virtualenvwrapper is a set of extensions to Ian Bicking's virtualenv
tool. The extensions include wrappers for creating and deleting
virtual environments and otherwise managing your development
workflow, making it easier to work on more than one project at a time
without introducing conflicts in their dependencies.
.
This package installs the library for Python 3.
Package: virtualenvwrapper
Architecture: all
Depends: virtualenv,
Depends: python-virtualenvwrapper | python3-virtualenvwrapper,
${misc:Depends},
${python:Depends},
${sphinxdoc:Depends}
Recommends: bash-completion
Description: extension to virtualenv for managing multiple virtual Python environments
Suggests: virtualenvwrapper-doc
Description: extension to virtualenv for managing multiple environments
virtualenvwrapper is a set of extensions to Ian Bicking's virtualenv
tool. The extensions include wrappers for creating and deleting
virtual environments and otherwise managing your development
workflow, making it easier to work on more than one project at a time
without introducing conflicts in their dependencies.
Package: virtualenvwrapper-doc
Architecture: all
Section: doc
Depends: ${sphinxdoc:Depends}, ${misc:Depends}
Description: extension to virtualenv for managing multiple environments (docs)
virtualenvwrapper is a set of extensions to Ian Bicking's virtualenv
tool. The extensions include wrappers for creating and deleting
virtual environments and otherwise managing your development
workflow, making it easier to work on more than one project at a time
without introducing conflicts in their dependencies.
.
This is the common documentation package.
Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=166
Upstream-Name: virtualenvwrapper
Upstream-Contact: Doug Hellmann <doug.hellmann@gmail.com>
Source: http://www.doughellmann.com/projects/virtualenvwrapper/
Source: https://virtualenvwrapper.readthedocs.io/en/latest/
Files: *
Copyright: 2008-2012, Doug Hellmann <doug.hellmann@gmail.com>
......@@ -15,42 +15,11 @@ Copyright: 2008-2012, Doug Hellmann <doug.hellmann@gmail.com>
2009 Chris Hasenpflug
2009 Sander Smits
License: ISC
Copyright Doug Hellmann, All Rights Reserved
.
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and
that both that copyright notice and this permission notice appear in
supporting documentation, and that the name of Doug Hellmann not be
used in advertising or publicity pertaining to distribution of the
software without specific, written prior permission.
.
DOUG HELLMANN DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
NO EVENT SHALL DOUG HELLMANN BE LIABLE FOR ANY SPECIAL, INDIRECT OR
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE
USE OR PERFORMANCE OF THIS SOFTWARE.
Files: debian/*
Copyright: 2010-2012 Jan Dittberner <jandd@debian.org>
Copyright: 2010-2018 Jan Dittberner <jandd@debian.org>
2018 Joel Cross <joel@kazbak.co.uk>
License: ISC
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and
that both that copyright notice and this permission notice appear in
supporting documentation, and that the name of Jan Dittberner not be
used in advertising or publicity pertaining to distribution of the
software without specific, written prior permission.
.
JAN DITTBERNER DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
NO EVENT SHALL DOUG HELLMANN BE LIABLE FOR ANY SPECIAL, INDIRECT OR
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE
USE OR PERFORMANCE OF THIS SOFTWARE.
Files: tests/shunit2
Copyright: 2008, Kate Ward <kate.ward@forestent.com>
......@@ -80,3 +49,21 @@ License: LGPL
.
On Debian systems, the complete text of the GNU Lesser General Public
License can be found in `/usr/share/common-licenses/LGPL-2.1
License: ISC
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and
that both that copyright notice and this permission notice appear in
supporting documentation, and that the name of Doug Hellmann not be
used in advertising or publicity pertaining to distribution of the
software without specific, written prior permission.
.
DOUG HELLMANN DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
NO EVENT SHALL DOUG HELLMANN BE LIABLE FOR ANY SPECIAL, INDIRECT OR
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE
USE OR PERFORMANCE OF THIS SOFTWARE.
......@@ -8,7 +8,7 @@ Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680863
'cd ../..; python setup.py --version',
])
-version = version.strip()
+version = unicode(version.strip())
+version = version.decode('utf-8').strip()
# The full version, including alpha/beta/rc tags.
release = version
......@@ -2,7 +2,11 @@ Subject: remove hashbang from virtualenvwrapper_lazy.sh that is thought to be so
Author: Jan Dittberner <jandd@debian.org>
--- a/virtualenvwrapper_lazy.sh
+++ b/virtualenvwrapper_lazy.sh
@@ -5,7 +5,7 @@
@@ -1,11 +1,10 @@
-#!/bin/sh
# Alternative startup script for faster login times.
export _VIRTUALENVWRAPPER_API="$_VIRTUALENVWRAPPER_API mkvirtualenv rmvirtualenv lsvirtualenv showvirtualenv workon add2virtualenv cdsitepackages cdvirtualenv lssitepackages toggleglobalsitepackages cpvirtualenv setvirtualenvproject mkproject cdproject mktmpenv wipeenv allvirtualenv"
if [ -z "$VIRTUALENVWRAPPER_SCRIPT" ]
then
......
#!/usr/bin/make -f
UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -n 's/^Version: \([^-]*\).*$$/\1/p')
export PBR_VERSION=$(UPSTREAM_VERSION)
include /usr/share/dpkg/pkg-info.mk
export PBR_VERSION=$(DEB_VERSION_UPSTREAM)
export SKIP_PIP_INSTALL=1
export PYBUILD_NAME=virtualenvwrapper
override_dh_auto_clean:
dh_auto_clean
rm -rf build *.egg-info
find \( -name '._*' -o -name '*.pyc' \) -delete
override_dh_auto_install:
override_dh_auto_build:
dh_auto_build
sphinx-build -b html -a -c docs/source -D language=en docs/source \
debian/virtualenvwrapper/usr/share/doc/virtualenvwrapper/html
# python3 build disable because virtualenv3 is not yet available
# python setup.py install --install-layout=deb \
# --root $(CURDIR)/debian/virtualenvwrapper
# python3 setup.py install --install-layout=deb \
# --root $(CURDIR)/debian/virtualenvwrapper
#python setup.py install --install-layout=deb \
# --root $(CURDIR)/debian/virtualenvwrapper
build/html
override_dh_auto_install:
dh_auto_install
mkdir -p $(CURDIR)/debian/virtualenvwrapper/usr/share/virtualenvwrapper
mv $(CURDIR)/debian/virtualenvwrapper/usr/bin/virtualenvwrapper.sh \
$(CURDIR)/debian/virtualenvwrapper/usr/bin/virtualenvwrapper_lazy.sh \
$(CURDIR)/debian/virtualenvwrapper/usr/share/virtualenvwrapper
rm -r $(CURDIR)/debian/virtualenvwrapper/usr/bin
chmod -x \
$(CURDIR)/debian/virtualenvwrapper/usr/share/virtualenvwrapper/virtualenvwrapper.sh \
$(CURDIR)/debian/virtualenvwrapper/usr/share/virtualenvwrapper/virtualenvwrapper_lazy.sh
# Remove bin files from Python packages
rm -rv $(CURDIR)/debian/python-virtualenvwrapper/usr/bin
rm -rv $(CURDIR)/debian/python3-virtualenvwrapper/usr/bin
dh_bash-completion
override_dh_compress:
......@@ -40,4 +33,4 @@ override_dh_sphinxdoc:
dh_sphinxdoc /usr/share/doc/virtualenvwrapper/html/
%:
dh --with python2,sphinxdoc $@ --buildsystem=python_distutils
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
This diff is collapsed.
/etc/bash_completion.d
/usr/share/doc/virtualenvwrapper
virtualenvwrapper.sh /usr/share/virtualenvwrapper
virtualenvwrapper_lazy.sh /usr/share/virtualenvwrapper
version=3
opts=pgpsigurlmangle=s/$/.asc/ \
http://pypi.python.org/packages/source/v/virtualenvwrapper/ \
virtualenvwrapper-([\d.]+).tar.gz
version=4
opts=pgpmode=none \
https://pypi.org/simple/virtualenvwrapper/ \
https://files\.pythonhosted\.org/.*/virtualenvwrapper-([\d.]+)\.tar\.gz#sha256.*