Skip to content
Snippets Groups Projects
Commit 98ca469d authored by Matthias Klose's avatar Matthias Klose
Browse files

* python.mk (py_libdir): Return /usr/lib/python3/dist-packages for 3.x

    versions.
parent 9d5f982d
No related branches found
No related tags found
No related merge requests found
python-defaults (2.6.6-2) UNRELEASED; urgency=low
[ Piotr Ożarowski ]
* Add README.derivatives (source package)
* dh_python2:
- add dist_fallback file with a list of Python distribution name and
......@@ -12,6 +13,10 @@ python-defaults (2.6.6-2) UNRELEASED; urgency=low
* use /usr/bin/python rather than python in python-minimal.postinst
(closes: 595826)
[ Matthias Klose ]
* python.mk (py_libdir): Return /usr/lib/python3/dist-packages for 3.x
versions.
-- Piotr Ożarowski <piotr@debian.org> Thu, 02 Sep 2010 19:18:26 +0200
python-defaults (2.6.6-1) unstable; urgency=low
......
......@@ -23,7 +23,7 @@ py_sitename = $(if $(filter $(subst python,,$(1)), 2.3 2.4 2.5),site,dist)-packa
# stuff. Call as: $(call py_libdir, <python version>).
# Don't use this in shell snippets inside loops.
py_libdir = /usr/lib/python$(subst python,,$(1))/$(py_sitename)
py_libdir = /usr/lib/python$(strip $(if $(findstring 3.,$(subst python,,$(1))),3,$(subst python,,$(1))))/$(py_sitename)
# The same macros for use inside loops in shell snippets
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment