Control: tags 938478 + patch
Dear maintainer, I've prepared an NMU for shortuuid (versioned as 0.5.0-1.1). The diff is attached to this message. Consider maintaining this package with the DPMT Regards.
diff -Nru shortuuid-0.5.0/debian/changelog shortuuid-0.5.0/debian/changelog --- shortuuid-0.5.0/debian/changelog 2017-09-16 04:22:09.000000000 -0400 +++ shortuuid-0.5.0/debian/changelog 2020-01-24 00:05:18.000000000 -0500 @@ -1,3 +1,10 @@ +shortuuid (0.5.0-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Drop python2 support; Closes: #938478 + + -- Sandro Tosi <mo...@debian.org> Fri, 24 Jan 2020 00:05:18 -0500 + shortuuid (0.5.0-1) unstable; urgency=medium * New upstream release diff -Nru shortuuid-0.5.0/debian/control shortuuid-0.5.0/debian/control --- shortuuid-0.5.0/debian/control 2017-09-16 04:22:01.000000000 -0400 +++ shortuuid-0.5.0/debian/control 2020-01-24 00:01:34.000000000 -0500 @@ -4,29 +4,13 @@ Maintainer: Kouhei Maeda <mkou...@palmtb.net> Build-Depends: debhelper (>= 8.0.0), dh-python, - python-all (>= 2.6), - python-setuptools, - python-pep8, python3-all (>= 3.2), python3-setuptools, python3-pep8, quilt Standards-Version: 4.0.0 -X-Python-Version: >= 2.6 -X-Python3-Version: >= 3.2 Homepage: https://github.com/stochastic-technologies/shortuuid/ -Package: python-shortuuid -Architecture: all -Provides: ${python:Provides} -Depends: ${python:Depends}, ${misc:Depends} -Description: generates concise, unambiguous, URL-safe UUIDs - Often, one needs to use non-sequential IDs in places where users will see them, - but the IDs must be as concise and easy to use as possible. shortuuid solves - this problem by generating uuids using Python's built-in uuid module and then - translating them to base57 using lowercase and uppercase letters and digits, - and removing similar-looking characters such as l, 1, I, O and 0. - Package: python3-shortuuid Architecture: all Depends: ${python3:Depends}, ${misc:Depends} diff -Nru shortuuid-0.5.0/debian/rules shortuuid-0.5.0/debian/rules --- shortuuid-0.5.0/debian/rules 2017-09-16 04:07:56.000000000 -0400 +++ shortuuid-0.5.0/debian/rules 2020-01-24 00:00:31.000000000 -0500 @@ -1,35 +1,7 @@ #!/usr/bin/make -f -# -*- makefile -*- -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 %: - dh $@ --with python2,python3 - -override_dh_auto_build: - set -e ; \ - for py in 2.7 $(shell py3versions -vr); do \ - python$$py setup.py build --build-base=build$$py; \ - done + dh $@ --with python3 --buildsystem=pybuild override_dh_auto_test: - set -e ; \ - python2.7 build2.7/lib.*-2.7/shortuuid/tests.py - for py in $(shell py3versions -vr); do \ - python$$py build$$py/lib/shortuuid/tests.py; \ - done - -override_dh_auto_install: - python setup.py install --no-compile -O0 --install-layout=deb \ - --root $(CURDIR)/debian/python-shortuuid && \ - python3 setup.py install --no-compile -O0 --install-layout=deb \ - --root $(CURDIR)/debian/python3-shortuuid - -override_dh_auto_clean: - dh_clean - for py in 2.7 $(shell py3versions -vr); do \ - python$$py setup.py clean --build-temp=build && \ - python$$py setup.py clean --build-temp=build$$py; \ - done - find $(CURDIR) -name "*.pyc" -delete - + PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS='{interpreter} {build_dir}/shortuuid/tests.py' dh_auto_test diff -Nru shortuuid-0.5.0/debian/uscan.log shortuuid-0.5.0/debian/uscan.log --- shortuuid-0.5.0/debian/uscan.log 2016-02-13 00:43:44.000000000 -0500 +++ shortuuid-0.5.0/debian/uscan.log 1969-12-31 19:00:00.000000000 -0500 @@ -1,4 +0,0 @@ -# uscan log -# == shortuuid-0.4.3.tar.gz --> shortuuid_0.4.3.orig.tar.gz (same) -4f70db8174c0b7b8cad36de48b529947 shortuuid-0.4.3.tar.gz -4f70db8174c0b7b8cad36de48b529947 shortuuid_0.4.3.orig.tar.gz