Package: python-json-patch
Version: 1.3-1
Followup-For: Bug #729025
User: [email protected]
Usertags: origin-ubuntu trusty ubuntu-patch
Dear Maintainer,
In Ubuntu, the attached patch was applied to achieve the following:
* d/rules: Install versioned binaries for python3 package (LP: #1250088).
Thanks for considering the patch.
-- System Information:
Debian Release: wheezy/sid
APT prefers trusty-updates
APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500,
'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.12.0-2-generic (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru python-json-patch-1.3/debian/changelog python-json-patch-1.3/debian/changelog
diff -Nru python-json-patch-1.3/debian/rules python-json-patch-1.3/debian/rules
--- python-json-patch-1.3/debian/rules 2013-11-07 08:28:15.000000000 +0000
+++ python-json-patch-1.3/debian/rules 2013-11-11 16:53:14.000000000 +0000
@@ -24,6 +24,10 @@
python$$pyvers setup.py install --install-layout=deb \
--root $(CURDIR)/debian/python3-json-patch; \
done
+ set -e && for file in jsonpatch jsondiff; do \
+ mv $(CURDIR)/debian/python3-json-patch/usr/bin/$$file \
+ $(CURDIR)/debian/python3-json-patch/usr/bin/$${file}3;\
+ done
override_dh_auto_clean:
dh_auto_clean