[Python-modules-commits] r7745 - in packages/pysnmp-se/trunk/debian (changelog rules)
pochu-guest at users.alioth.debian.org
pochu-guest at users.alioth.debian.org
Tue Feb 24 21:33:37 UTC 2009
Date: Tuesday, February 24, 2009 @ 21:33:28
Author: pochu-guest
Revision: 7745
debian/rules: Don't rely on pysupport internals. Thanks Josselin
Mouette. Closes: #516906.
Modified:
packages/pysnmp-se/trunk/debian/changelog
packages/pysnmp-se/trunk/debian/rules
Modified: packages/pysnmp-se/trunk/debian/changelog
===================================================================
--- packages/pysnmp-se/trunk/debian/changelog 2009-02-24 11:15:47 UTC (rev 7744)
+++ packages/pysnmp-se/trunk/debian/changelog 2009-02-24 21:33:28 UTC (rev 7745)
@@ -10,6 +10,10 @@
* debian/control
- switch Vcs-Browser field to viewsvn
+ [ Emilio Pozuelo Monfort ]
+ * debian/rules: Don't rely on pysupport internals. Thanks Josselin
+ Mouette. Closes: #516906.
+
-- Piotr Ożarowski <piotr at debian.org> Sat, 6 Oct 2007 23:46:59 +0200
pysnmp-se (3.5.2-3) unstable; urgency=low
Modified: packages/pysnmp-se/trunk/debian/rules
===================================================================
--- packages/pysnmp-se/trunk/debian/rules 2009-02-24 11:15:47 UTC (rev 7744)
+++ packages/pysnmp-se/trunk/debian/rules 2009-02-24 21:33:28 UTC (rev 7745)
@@ -1,16 +1,21 @@
#!/usr/bin/make -f
DEB_PYTHON_SYSTEM = pysupport
+
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk
include /usr/share/cdbs/1/rules/dpatch.mk
+
PKG = python-pysnmp-se
PKGDIR = debian/$(PKG)
-LIBDIR = $(PKGDIR)/usr/share/python-support/$(PKG)
-binary-install/$(PKG)::
- # libdir/pysnmp -> libdir/v3/pysnmp
+LIBDIR = $(PKGDIR)/usr/lib/`pyversions -d`/site-packages
+
+install/$(PKG)::
+ # libdir/pysnmp -> libdir/v3/pysnmp
mv $(LIBDIR)/pysnmp $(LIBDIR)/v3
mkdir $(LIBDIR)/pysnmp
mv $(LIBDIR)/v3 $(LIBDIR)/pysnmp/
- # fix example permissions
+
+binary-install/$(PKG)::
+ # fix example permissions
find $(PKGDIR)/usr/share/doc/$(PKG)/examples/ -name '*.py' -exec chmod 644 {} \;
More information about the Python-modules-commits
mailing list