[Python-modules-commits] r28212 - in packages/python-memprof/trunk/debian (5 files)
vicho at users.alioth.debian.org
vicho at users.alioth.debian.org
Sun Mar 16 15:08:03 UTC 2014
Date: Sunday, March 16, 2014 @ 15:08:01
Author: vicho
Revision: 28212
Convert to pybuild
Modified:
packages/python-memprof/trunk/debian/changelog
packages/python-memprof/trunk/debian/control
packages/python-memprof/trunk/debian/rules
Deleted:
packages/python-memprof/trunk/debian/python-memprof.install
packages/python-memprof/trunk/debian/python3-memprof.install
Modified: packages/python-memprof/trunk/debian/changelog
===================================================================
--- packages/python-memprof/trunk/debian/changelog 2014-03-16 03:58:03 UTC (rev 28211)
+++ packages/python-memprof/trunk/debian/changelog 2014-03-16 15:08:01 UTC (rev 28212)
@@ -1,3 +1,9 @@
+python-memprof (0.3.3-3) UNRELEASED; urgency=medium
+
+ * Convert to pybuild
+
+ -- Javi Merino <vicho at debian.org> Sat, 15 Mar 2014 20:45:32 +0100
+
python-memprof (0.3.3-2) unstable; urgency=low
[ Javi Merino ]
Modified: packages/python-memprof/trunk/debian/control
===================================================================
--- packages/python-memprof/trunk/debian/control 2014-03-16 03:58:03 UTC (rev 28211)
+++ packages/python-memprof/trunk/debian/control 2014-03-16 15:08:01 UTC (rev 28212)
@@ -4,6 +4,7 @@
Maintainer: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
Uploaders: Javi Merino <vicho at debian.org>
Build-Depends: debhelper (>= 9),
+ dh-python,
python-dev (>= 2.6.6-3~),
python3-all-dev,
python-setuptools,
Deleted: packages/python-memprof/trunk/debian/python-memprof.install
===================================================================
--- packages/python-memprof/trunk/debian/python-memprof.install 2014-03-16 03:58:03 UTC (rev 28211)
+++ packages/python-memprof/trunk/debian/python-memprof.install 2014-03-16 15:08:01 UTC (rev 28212)
@@ -1,2 +0,0 @@
-usr/lib/python2*
-usr/bin/mp_plot
Deleted: packages/python-memprof/trunk/debian/python3-memprof.install
===================================================================
--- packages/python-memprof/trunk/debian/python3-memprof.install 2014-03-16 03:58:03 UTC (rev 28211)
+++ packages/python-memprof/trunk/debian/python3-memprof.install 2014-03-16 15:08:01 UTC (rev 28212)
@@ -1 +0,0 @@
-usr/lib/python3*
Modified: packages/python-memprof/trunk/debian/rules
===================================================================
--- packages/python-memprof/trunk/debian/rules 2014-03-16 03:58:03 UTC (rev 28211)
+++ packages/python-memprof/trunk/debian/rules 2014-03-16 15:08:01 UTC (rev 28212)
@@ -4,30 +4,13 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-PYTHON2=$(shell pyversions -vr)
-PYTHON3=$(shell py3versions -vr)
+export PYBUILD_NAME=memprof
-# Prevent setuptools/distribute from accessing the internet.
-export http_proxy = http://127.0.0.1:9
-
%:
- dh $@ --with python2,python3
+ dh $@ --with python2,python3 --buildsystem=pybuild
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-test-python%:
- python$* setup.py test -vv
-
-override_dh_auto_test: $(PYTHON2:%=test-python%) $(PYTHON3:%=test-python%)
-endif
-
-build-python%:
- python$* setup.py build
-
-override_dh_auto_build: $(PYTHON3:%=build-python%)
- dh_auto_build
-
-install-python%:
- python$* setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb
-
-override_dh_auto_install: $(PYTHON3:%=install-python%)
- dh_auto_install
+override_dh_install:
+ #Only install /usr/bin/mp_plot in python-memprof
+ rm $(CURDIR)/debian/python3-$(PYBUILD_NAME)/usr/bin/mp_plot
+ rmdir $(CURDIR)/debian/python3-$(PYBUILD_NAME)/usr/bin/
+ dh_install
More information about the Python-modules-commits
mailing list