r2139 - in zope2.12/trunk/debian (changelog control rules)
pumazi-guest at users.alioth.debian.org
pumazi-guest at users.alioth.debian.org
Sun Nov 14 17:19:13 UTC 2010
Date: Sunday, November 14, 2010 @ 17:19:07
Author: pumazi-guest
Revision: 2139
Added a get-orig-source rules target to build an orig.tar.gz.
Modified:
zope2.12/trunk/debian/changelog
zope2.12/trunk/debian/control
zope2.12/trunk/debian/rules
Modified: zope2.12/trunk/debian/changelog
===================================================================
--- zope2.12/trunk/debian/changelog 2010-11-14 00:21:38 UTC (rev 2138)
+++ zope2.12/trunk/debian/changelog 2010-11-14 17:19:07 UTC (rev 2139)
@@ -17,8 +17,9 @@
* Adding python-profiler as a suggested package, since a Zope2
ZPublisher test module uses the profiler.
* Adding python-pip as a build dependency.
+ * Added a get-orig-source rules target to build an orig.tar.gz.
- -- Michael Mulich (pumazi) <michael.mulich at gmail.com> Tue, 09 Nov 2010 10:49:36 -0500
+ -- Michael Mulich (pumazi) <michael.mulich at gmail.com> Tue, 09 Nov 2010 19:14:16 -0500
zope2.12 (2.12.0-1) unstable; urgency=low
Modified: zope2.12/trunk/debian/control
===================================================================
--- zope2.12/trunk/debian/control 2010-11-14 00:21:38 UTC (rev 2138)
+++ zope2.12/trunk/debian/control 2010-11-14 17:19:07 UTC (rev 2139)
@@ -3,11 +3,11 @@
Priority: optional
Maintainer: Debian/Ubuntu Zope Team <pkg-zope-developers at lists.alioth.debian.org>
Uploaders: Fabio Tranchitella <kobold at debian.org>, Jonas Meurer <mejo at debian.org>, Michael Mulich (pumazi) <michael.mulich at gmail.com>
-Build-Depends: debhelper (>= 7.0.50~), quilt (>= 0.40), python, python-dev, python-support, python-setuptools, python-pkg-resources, python-pip, zope-debhelper (>= 0.3.12)
+Build-Depends: debhelper (>= 7.0.50~), quilt (>= 0.40), python, python-dev, python-support, python-setuptools, python-pkg-resources, python-pip (>= 0.8), zope-debhelper (>= 0.3.12)
Standards-Version: 3.9.1
Homepage: http://www.zope.org/
-Vcs-Browser: http://svn.debian.org/wsvn/pkg-zope/zope2.12/branches/with-revived-tarball
-Vcs-Svn: svn://svn.debian.org/pkg-zope/zope2.12/branches/with-revived-tarball
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-zope/zope2.12/trunk
+Vcs-Svn: svn://svn.debian.org/pkg-zope/zope2.12/trunk
Package: zope2.12
Architecture: any
Modified: zope2.12/trunk/debian/rules
===================================================================
--- zope2.12/trunk/debian/rules 2010-11-14 00:21:38 UTC (rev 2138)
+++ zope2.12/trunk/debian/rules 2010-11-14 17:19:07 UTC (rev 2139)
@@ -5,8 +5,6 @@
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
-
-# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
ZVER:=2.12
@@ -14,13 +12,28 @@
DEBIAN:=$(CURDIR)/debian
DEB_SATISFIED:=ClientForm:Docutils:mechanize:pytz:transaction:zc.lockfile:ZConfig:zdaemon:ZODB3:zope.authentication:zope.browser:zope.component:zope.configuration:zope.contenttype:zope.copy:zope.event:zope.exceptions:zope.hookable:zope.i18n:zope.i18nmessageid:zope.location:zope.proxy:zope.publisher:zope.schema:zope.security:zope.testbrowser:zope.testing:zope.traversing
+PKGD_VERSION:=4
+SRC_VERSION:=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\)-.*/\3/p')
+SVN_TAG:=$(SRC_VERSION)-pkgd_$(PKGD_VERSION)
+SVN_HOME:=https://weblion.psu.edu/svn/weblion/weblion/hosting/zope2-tarball/tags
+
+#TARBALL:=$(ZOPE)_$(SRC_VERSION)~svn$(SVN_TAG).orig.tar.gz
+TARBALL:=$(ZOPE)_$(SRC_VERSION).orig.tar.gz
+
# TODO:
# - Bring back lsb-release for Ubuntu support
+# - Specify a way to get-orig-source from trunk
# - ...
%:
dh $@
+get-orig-source:
+ svn export $(SVN_HOME)/$(SVN_TAG)
+ cd $(SVN_TAG); ./configure && make fetch DEBUG=$(DH_VERBOSE) && make clean && make distclean
+ tar czf $(CURDIR)/../$(TARBALL) $(CURDIR)/$(SVN_TAG)
+ rm -rf $(CURDIR)/$(SVN_TAG)
+
override_dh_auto_clean:
for f in debian/*.in; do \
generated=`echo $$f | sed 's,.in$$,,;s,ZVER,$(ZVER),'`; \
@@ -67,4 +80,4 @@
chmod 644 $(DEBIAN)/$(ZOPE)/usr/lib/$(ZOPE)/lib/python/Zope2-*/Zope2/utilities/reindex_catalog.py
chmod 755 $(DEBIAN)/$(ZOPE)/usr/lib/$(ZOPE)/bin/python
-.PHONY: override_dh_auto_clean override_dh_auto_configure override_dh_auto_build override_dh_prep override_dh_installdirs override_dh_auto_install override_dh_fixperms
+.PHONY: get-orig-source override_dh_auto_clean override_dh_auto_configure override_dh_auto_build override_dh_prep override_dh_installdirs override_dh_auto_install override_dh_fixperms
More information about the pkg-zope-developers
mailing list