[Python-modules-commits] r7125 - in packages/python-pyevent/trunk/debian (3 files)
luciano at users.alioth.debian.org
luciano at users.alioth.debian.org
Fri Dec 19 19:27:46 UTC 2008
Date: Friday, December 19, 2008 @ 19:27:45
Author: luciano
Revision: 7125
* name changed from python-pyevent to python-event
* new get-orig-source target
* vcs releated field in control file
* Priority changed to optional
Modified:
packages/python-pyevent/trunk/debian/changelog
packages/python-pyevent/trunk/debian/control
packages/python-pyevent/trunk/debian/rules
Modified: packages/python-pyevent/trunk/debian/changelog
===================================================================
--- packages/python-pyevent/trunk/debian/changelog 2008-12-18 19:17:11 UTC (rev 7124)
+++ packages/python-pyevent/trunk/debian/changelog 2008-12-19 19:27:45 UTC (rev 7125)
@@ -1,4 +1,4 @@
-python-pyevent (0.3.svn54-1) UNRELEASED; urgency=low
+python-event (0.3.svn54-1) UNRELEASED; urgency=low
* Initial release (Closes: #504729)
Modified: packages/python-pyevent/trunk/debian/control
===================================================================
--- packages/python-pyevent/trunk/debian/control 2008-12-18 19:17:11 UTC (rev 7124)
+++ packages/python-pyevent/trunk/debian/control 2008-12-19 19:27:45 UTC (rev 7125)
@@ -1,14 +1,16 @@
-Source: python-pyevent
+Source: python-event
Section: python
-Priority: extra
+Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Luciano Bello <luciano at debian.org>
Build-Depends: debhelper (>= 7), libevent-dev(>=1.4), python-dev, python-support
Standards-Version: 3.8.0
Homepage: http://code.google.com/p/pyevent/
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-pyevent/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-pyevent/trunk/
#XS-Python-Version: all
-Package: python-pyevent
+Package: python-event
Architecture: any
#XB-Python-Version: ${python:Versions}
Depends: ${shlibs:Depends}, ${misc:Depends}
Modified: packages/python-pyevent/trunk/debian/rules
===================================================================
--- packages/python-pyevent/trunk/debian/rules 2008-12-18 19:17:11 UTC (rev 7124)
+++ packages/python-pyevent/trunk/debian/rules 2008-12-19 19:27:45 UTC (rev 7125)
@@ -1,9 +1,11 @@
-#!/usr/bin/make -f
+#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
#PYVERS=$(shell pyversions -r)
PYTHON := /usr/bin/python
+UPVERSION:=$(shell head -n 1 debian/changelog | sed -e 's/^[^(]*(\([^)]*\)).*/\1/'| cut -f 1,2 -d '.')
+URL:=http://pyevent.googlecode.com/svn/trunk/
clean:
dh_testdir
@@ -23,15 +25,12 @@
dh_installdirs
# for python in $(PYVERS); do
- $(PYTHON) setup.py install --root=$(CURDIR)/debian/python-pyevent;
+ $(PYTHON) setup.py install --root=$(CURDIR)/debian/python-python-event;
# done
-# Build architecture-dependent files here.
+binary-indep: build
+
binary-arch: install
-# We have nothing to do by default.
-
-# Build architecture-independent files here.
-binary-indep: build
dh_testdir
dh_testroot
dh_installchangelogs
@@ -46,5 +45,21 @@
dh_md5sums
dh_builddeb
+export:
+ @@dh_testdir
+ @@[ -d ../tarballs/. ]||mkdir -p ../tarballs
+ @@echo Downloading python-event from $(URL) ...
+
+cleaning-up: export
+ @@dh_testdir
+ @@svn checkout $(URL) ../tarballs/python-event
+ @@echo Cleaning up ...
+ @@rm -rf ../tarballs/python-event/pyevent
+
+get-orig-source: cleaning-up
+ @@dh_testdir
+ @@cd ../tarballs ; \
+ tar czf python-event_$(UPVERSION).svn$(shell svn info ../tarballs/python-event/ | grep Revision | cut -f 2 -d " ").orig.tar.gz python-event --exclude=.svn
+
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
More information about the Python-modules-commits
mailing list