r1468 - in zope.event/trunk/debian (control rules)
Fabio Tranchitella
kobold at alioth.debian.org
Fri Jun 5 20:16:43 UTC 2009
Date: Friday, June 5, 2009 @ 20:16:42
Author: kobold
Revision: 1468
use the van.pydeb's rules template
Modified:
zope.event/trunk/debian/control
zope.event/trunk/debian/rules
Modified: zope.event/trunk/debian/control
===================================================================
--- zope.event/trunk/debian/control 2009-06-05 20:12:43 UTC (rev 1467)
+++ zope.event/trunk/debian/control 2009-06-05 20:16:42 UTC (rev 1468)
@@ -1,7 +1,8 @@
Source: zope.event
Section: python
Priority: extra
-Maintainer: Brian Sutherland <brian at vanguardistas.net>
+Maintainer: Debian/Ubuntu Zope Team <pkg-zope-developers at lists.alioth.debian.org>
+Uploaders: Brian Sutherland <brian at vanguardistas.net>, Fabio Tranchitella <kobold at debian.org>
Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), python-setuptools (>= 0.6b3-1), python-van.pydeb
Standards-Version: 3.8.1
XS-Python-Version: all
Modified: zope.event/trunk/debian/rules
===================================================================
--- zope.event/trunk/debian/rules 2009-06-05 20:12:43 UTC (rev 1467)
+++ zope.event/trunk/debian/rules 2009-06-05 20:16:42 UTC (rev 1468)
@@ -1,76 +1,3 @@
#!/usr/bin/make -f
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-PYVERS=$(shell pyversions -vr debian/control)
-PYMOD=zope.event
-PACKAGE=python-$(PYMOD)
-
-build: $(PYVERS:%=build-python%)
- touch $@
-build-python%:
- dh_testdir
- python$* setup.py build
- touch $@
-
-.PHONY: clean
-clean:
- dh_testdir
- dh_testroot
- $(MAKE) -f debian/rules $(PYVERS:%=clean-python%)
- rm -f documentation.txt build-python?.?
- rm -rf build
- dh_clean
-
-clean-python%:
- python$* setup.py clean
-
-.PHONY: install
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
- $(MAKE) -f debian/rules $(PYVERS:%=install-python%)
-
-install-python%:
- python$* setup.py install --no-compile --single-version-externally-managed --root=debian/$(PACKAGE)
- mv debian/$(PACKAGE)/usr/lib/python$*/site-packages/$(PYMOD)-*-py$*.egg-info \
- debian/$(PACKAGE)/usr/lib/python$*/site-packages/$(PYMOD).egg-info
- mv debian/$(PACKAGE)/usr/lib/python$*/site-packages/$(PYMOD)-*-py$*-nspkg.pth \
- debian/$(PACKAGE)/usr/lib/python$*/site-packages/$(PYMOD)-nspkg.pth
- i="$$(van-pydeb depends --egg-info debian/$(PACKAGE)/usr/lib/python$*/site-packages/$(PYMOD).egg-info)" && echo "setuptools:Depends=$$i" >> debian/$(PACKAGE).substvars
- i="$$(van-pydeb provides --egg-info debian/$(PACKAGE)/usr/lib/python$*/site-packages/$(PYMOD).egg-info)" && echo "setuptools:Provides=$$i" >> debian/$(PACKAGE).substvars
-
-
-.PHONY: binary-common
-binary-common:
- dh_testdir
- dh_testroot
- dh_installchangelogs
- dh_installdocs
- dh_installexamples
- dh_installman
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_pycentral
- dh_makeshlibs
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-.PHONY: binary-indep
-binary-indep: install
- $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
-
-.PHONY: binary-arch
-binary-arch: install
- $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
-
-.PHONY: binary
-binary: binary-indep binary-arch
+include /usr/share/python-van.pydeb/rules_templates/rules.1.mk
More information about the pkg-zope-commits
mailing list