Commit 0ff748b6 authored by Tristan Seligmann's avatar Tristan Seligmann

Imported Debian patch 0.0.18-5

parents 4fc92346 2f18c04f
testrepository (0.0.18-5) unstable; urgency=medium
* Correct license information in debian/copyright; testrepository is
dual-licensed under Apache 2 / 3-clause BSD (closes: #743854).
- Thanks to Thorsten Alteholz for the bug report.
* Upstream source has moved to github.
* Switch to ASCII-armored upstream keyring in debian/upstream/.
* Switch back to pybuild.
* Add a lintian override for the update-alternatives warning.
-- Tristan Seligmann <mithrandi@debian.org> Sat, 03 May 2014 17:49:00 +0200
testrepository (0.0.18-4) unstable; urgency=medium
* Disabled the unit tests again.
......
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: testrepository
Upstream-Contact: Robert Collins <robertc@robertcollins.net>
Source: https://launchpad.net/testrepository
Source: https://github.com/testing-cabal/testrepository
Files: debian/*
Copyright: (c) 2010-2011, Robert Collins <robertc@robertcollins.net>
(c) 2011, Jakub Wilk <jwilk@debian.org>
(c) 2013, Thomas Goirand <zigo@debian.org>
Copyright: © 2010-2011, Robert Collins <robertc@robertcollins.net>
© 2011, Jakub Wilk <jwilk@debian.org>
© 2013, Thomas Goirand <zigo@debian.org>
License: Apache-2.0-or-BSD-3-clauses
Files: *
Copyright: (c) 2009-2013, Robert Collins <robertc@robertcollins.net>
License: Apache-2.0
License: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
http://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.
On Debian-based systems the full text of the Apache version 2.0 license
can be found in `/usr/share/common-licenses/Apache-2.0'.
Copyright: © 2009-2013, Robert Collins <robertc@robertcollins.net>
License: Apache-2.0-or-BSD-3-clauses
License: Apache-2.0-or-BSD-3-clauses
Licensed under either the Apache License, Version 2.0 or the BSD 3-clause
......
# Lintian complains about the update-alternatives use in postrm, but the case
# it mentions is covered by the invocation in prerm:
python-testrepository binary: maintainer-script-should-not-use-update-alternatives-remove postrm:6
# Lintian complains about the update-alternatives use in postrm, but the case
# it mentions is covered by the invocation in prerm:
python3-testrepository binary: maintainer-script-should-not-use-update-alternatives-remove postrm:6
#!/usr/bin/make -f
PYTHONS:=$(shell pyversions -vr)
PYTHON3S:=$(shell py3versions -vr)
export PYBUILD_NAME=testrepository
export PYBUILD_DISABLE=test
%:
dh $@ --with python2,python3 --buildsystem=python_distutils
override_dh_auto_test:
#./testr init
#set -e && for i in $(PYTHONS) $(PYTHON3S) ; do \
# TEMP_REZ=`mktemp -t` && \
# echo "===> Testing with Python $$i" ; \
# PYTHON=python$$i ./testr run --parallel --subunit | tee $$TEMP_REZ | subunit2pyunit ; \
# cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats || true ; \
# rm -f $$TEMP_REZ ; \
#done
#./testr slowest
dh $@ --with python2,python3 --buildsystem=pybuild
override_dh_installchangelogs:
dh_installchangelogs -k NEWS
override_dh_auto_install:
set -e && for pyvers in $(PYTHONS); do \
python$$pyvers setup.py install --install-layout=deb \
--root $(CURDIR)/debian/python-testrepository; \
done
dh_auto_install
mv $(CURDIR)/debian/python-testrepository/usr/bin/testr \
$(CURDIR)/debian/python-testrepository/usr/bin/testr-python2 \
set -e && for pyvers in $(PYTHON3S); do \
python$$pyvers setup.py install --install-layout=deb \
--root $(CURDIR)/debian/python3-testrepository; \
done
$(CURDIR)/debian/python-testrepository/usr/bin/testr-python2
mv $(CURDIR)/debian/python3-testrepository/usr/bin/testr \
$(CURDIR)/debian/python3-testrepository/usr/bin/testr-python3
override_dh_clean:
dh_clean -O--buildsystem=python_distutils
dh_clean
rm -rf build .testrepository Makefile dist
# Commands not to run
override_dh_installcatalogs:
override_dh_installemacsen override_dh_installifupdown:
override_dh_installinfo override_dh_installmenu override_dh_installmime:
override_dh_installmodules override_dh_installlogcheck:
override_dh_installpam override_dh_installppp override_dh_installudev:
override_dh_installwm:
override_dh_installxfonts override_dh_gconf override_dh_icons:
override_dh_usrlocal:
This diff is collapsed.
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