Bug#797674: python3.4: please allow derivatives to build same as parent distros
Package: python3.4
Version: 3.4.3-8
Severity: wishlist
Tags: patch
Hello,
Please consider the following patch to allow derivatives to use same build
runes as their parent upstream distributions.
Regards
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (900, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 4.1.0-1-686-pae (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
Init: systemd (via /run/systemd/system)
Versions of packages python3.4 depends on:
ii libpython3.4-stdlib 3.4.3-8
ii mime-support 3.59
ii python3.4-minimal 3.4.3-8
python3.4 recommends no packages.
Versions of packages python3.4 suggests:
ii binutils 2.25.1-1
pn python3.4-doc <none>
pn python3.4-venv <none>
-- no debconf information
diff -Nru python3.4-3.4.3/debian/rules python3.4-3.4.3/debian/rules
--- python3.4-3.4.3/debian/rules 2015-03-25 14:33:35.000000000 +0100
+++ python3.4-3.4.3/debian/rules 2015-08-07 13:00:45.000000000 +0200
@@ -54,6 +54,9 @@
distribution := $(shell lsb_release -is)
distrelease := $(shell lsb_release -cs)
+derivative := $(shell if dpkg-vendor --derives-from Ubuntu; then echo Ubuntu; \
+ elif dpkg-vendor --derives-from Debian; then echo Debian; \
+ else echo Unknown; fi)
VER=3.4
SVER=3.4.2
@@ -96,7 +99,7 @@
else
PY_PRIO = optional
endif
-ifeq ($(distribution),Ubuntu)
+ifeq ($(derivative),Ubuntu)
PY_MINPRIO = required
PY_MINPRIO = optional
with_fpectl = yes
Reply to: