[Python-modules-commits] r9701 - in packages/python-glpk/trunk/debian (changelog rules)
jmw-guest at users.alioth.debian.org
jmw-guest at users.alioth.debian.org
Mon Sep 7 20:12:33 UTC 2009
Date: Monday, September 7, 2009 @ 20:12:31
Author: jmw-guest
Revision: 9701
Prepare for building with python2.6
Modified:
packages/python-glpk/trunk/debian/changelog
packages/python-glpk/trunk/debian/rules
Modified: packages/python-glpk/trunk/debian/changelog
===================================================================
--- packages/python-glpk/trunk/debian/changelog 2009-09-07 19:44:10 UTC (rev 9700)
+++ packages/python-glpk/trunk/debian/changelog 2009-09-07 20:12:31 UTC (rev 9701)
@@ -17,8 +17,9 @@
* Update description and copyright information
* Set section to 'python'
* Standard-Version 3.8.3 (no changes)
+ * Prepare for building with python2.6
- -- Jonathan Wiltshire <debian at jwiltshire.org.uk> Sun, 16 Aug 2009 12:28:55 +0100
+ -- Jonathan Wiltshire <debian at jwiltshire.org.uk> Mon, 07 Sep 2009 21:11:36 +0100
python-glpk (0.1.16-1) unstable; urgency=low
Modified: packages/python-glpk/trunk/debian/rules
===================================================================
--- packages/python-glpk/trunk/debian/rules 2009-09-07 19:44:10 UTC (rev 9700)
+++ packages/python-glpk/trunk/debian/rules 2009-09-07 20:12:31 UTC (rev 9701)
@@ -2,6 +2,8 @@
#export DH_VERBOSE=1
+include /usr/share/python/python.mk
+
PYVERS=$(shell pyversions -vr)
DEB_DESTDIR=$(CURDIR)/debian/python-glpk
DEB_BUILD_DIR=$(CURDIR)/build
@@ -25,9 +27,9 @@
build-ext-%-stamp: glpkpi_wrap.c
dh_testdir
- install -d $(DEB_BUILD_DIR)/usr/lib/python$*/site-packages/
+ install -d $(DEB_BUILD_DIR)/usr/lib/python$*/$(call py_sitename, $*)/
$(CC) $(CFLAGS) -c -fPIC glpkpi_wrap.c glpkpi.c -DHAVE_CONFIG_H -I/usr/include/python$* -I/usr/lib/python$*/config
- $(CC) $(CFLAGS) -shared glpkpi.o glpkpi_wrap.o -lm -lglpk -o $(DEB_BUILD_DIR)/usr/lib/python$*/site-packages/_glpkpi.so
+ $(CC) $(CFLAGS) -shared glpkpi.o glpkpi_wrap.o -lm -lglpk -o $(DEB_BUILD_DIR)/usr/lib/python$*/$(call py_sitename, $*)/_glpkpi.so
touch $@
%:
More information about the Python-modules-commits
mailing list