[Python-modules-commits] r32609 - in packages/kiwi/trunk/debian (8 files)

jelmer at users.alioth.debian.org jelmer at users.alioth.debian.org
Wed May 6 23:01:13 UTC 2015


    Date: Wednesday, May 6, 2015 @ 23:01:11
  Author: jelmer
Revision: 32609

* Drop empty patch 02_disable_pydoctor.patch.
* Add patch 05_pydoctor_build_time.diff: Pass package change time to
  pydoctor, to create reproducible builds.

Added:
  packages/kiwi/trunk/debian/patches/05_pydoctor_build_time.diff
  packages/kiwi/trunk/debian/patches/series
Modified:
  packages/kiwi/trunk/debian/changelog
  packages/kiwi/trunk/debian/control
  packages/kiwi/trunk/debian/patches/00_eggify.diff
  packages/kiwi/trunk/debian/patches/01_avoid_building_howto.diff
  packages/kiwi/trunk/debian/rules
Deleted:
  packages/kiwi/trunk/debian/patches/02_disable_pydoctor.diff

Modified: packages/kiwi/trunk/debian/changelog
===================================================================
--- packages/kiwi/trunk/debian/changelog	2015-05-06 22:47:41 UTC (rev 32608)
+++ packages/kiwi/trunk/debian/changelog	2015-05-06 23:01:11 UTC (rev 32609)
@@ -6,6 +6,9 @@
   [ Jelmer Vernooij ]
   * Bump standards version to 3.9.6.
   * Migrate to 3.0 (quilt).
+  * Drop empty patch 02_disable_pydoctor.patch.
+  * Add patch 05_pydoctor_build_time.diff: Pass package change time to
+    pydoctor, to create reproducible builds.
 
  -- Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>  Wed, 06 May 2015 22:39:09 +0000
 

Modified: packages/kiwi/trunk/debian/control
===================================================================
--- packages/kiwi/trunk/debian/control	2015-05-06 22:47:41 UTC (rev 32608)
+++ packages/kiwi/trunk/debian/control	2015-05-06 23:01:11 UTC (rev 32609)
@@ -4,7 +4,7 @@
 Maintainer: Goedson Teixeira Paixao <goedson at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5.0.37.2), python, python-setuptools (>= 0.6b3)
-Build-Depends-Indep: python-all (>= 2.3.5-10), python-glade2 (>= 2.8.6), python-gtk2 (>= 2.8.2-3.1), python-support (>= 0.6.4), python-epydoc (>= 2.1-11), python-twisted-core (>= 2.4.0), xvfb, xfonts-base, python-pydoctor (>= 0.2-4.1)
+Build-Depends-Indep: python-all (>= 2.3.5-10), python-glade2 (>= 2.8.6), python-gtk2 (>= 2.8.2-3.1), python-support (>= 0.6.4), python-epydoc (>= 2.1-11), python-twisted-core (>= 2.4.0), xvfb, xfonts-base, python-pydoctor (>= 0.5+git20150410-1)
 Homepage: http://www.async.com.br/projects/kiwi/
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/kiwi/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/kiwi/trunk/

Modified: packages/kiwi/trunk/debian/patches/00_eggify.diff
===================================================================
--- packages/kiwi/trunk/debian/patches/00_eggify.diff	2015-05-06 22:47:41 UTC (rev 32608)
+++ packages/kiwi/trunk/debian/patches/00_eggify.diff	2015-05-06 23:01:11 UTC (rev 32609)
@@ -1,5 +1,5 @@
---- kiwi/dist.py~	2006-04-25 12:08:54.000000000 -0300
-+++ kiwi/dist.py	2006-05-06 19:29:41.000000000 -0300
+--- a/kiwi/dist.py~	2006-04-25 12:08:54.000000000 -0300
++++ b/kiwi/dist.py	2006-05-06 19:29:41.000000000 -0300
 @@ -25,7 +25,8 @@
  
  from distutils.command.install_data import install_data

Modified: packages/kiwi/trunk/debian/patches/01_avoid_building_howto.diff
===================================================================
--- packages/kiwi/trunk/debian/patches/01_avoid_building_howto.diff	2015-05-06 22:47:41 UTC (rev 32608)
+++ packages/kiwi/trunk/debian/patches/01_avoid_building_howto.diff	2015-05-06 23:01:11 UTC (rev 32609)
@@ -1,11 +1,11 @@
---- doc/Makefile.old	2006-08-24 21:43:21.000000000 -0300
-+++ doc/Makefile	2006-08-26 15:30:15.000000000 -0300
-@@ -14,7 +14,7 @@
- NAME=Kiwi
+--- kiwi-1.9.22/doc/Makefile	2008-05-28 20:31:04.000000000 +0000
++++ b/doc/Makefile	2015-05-06 22:53:08.280130780 +0000
+@@ -15,7 +15,7 @@
  URL=http://www.async.com.br/projects/kiwi/
+ FIXIMG=perl -p -i -e 's/WIDTH=\"[0-9]+\" HEIGHT=\"[0-9]+\"//'
  
 -all: api howto
 +all: api # howto (not working for now)
  
  howto: howto.tex
- 	mkdir -p howto
+ 	@echo Creating howto

Deleted: packages/kiwi/trunk/debian/patches/02_disable_pydoctor.diff
===================================================================
Added: packages/kiwi/trunk/debian/patches/05_pydoctor_build_time.diff
===================================================================
--- packages/kiwi/trunk/debian/patches/05_pydoctor_build_time.diff	                        (rev 0)
+++ packages/kiwi/trunk/debian/patches/05_pydoctor_build_time.diff	2015-05-06 23:01:11 UTC (rev 32609)
@@ -0,0 +1,15 @@
+Description: Allow passing in extra options to pydoctor
+Author: Jelmer Vernoij <jelmer at debian.org>
+Status: not forwarded upstream
+
+--- a/doc/Makefile	2008-05-28 20:31:04.000000000 +0000
++++ b/doc/Makefile	2015-05-06 22:46:20.162496364 +0000
+@@ -46,7 +46,7 @@
+ 
+ api:
+ 	@echo Creating API documentation
+-	@cd .. && pydoctor --project-name="Kiwi" --add-package=kiwi --make-html
++	@cd .. && pydoctor $(PYDOCTOR_OPTIONS) --project-name="Kiwi" --add-package=kiwi --make-html
+ 	@mv ../apidocs api
+ 
+ clean:

Added: packages/kiwi/trunk/debian/patches/series
===================================================================
--- packages/kiwi/trunk/debian/patches/series	                        (rev 0)
+++ packages/kiwi/trunk/debian/patches/series	2015-05-06 23:01:11 UTC (rev 32609)
@@ -0,0 +1,5 @@
+00_eggify.diff
+01_avoid_building_howto.diff
+02_avoid_version_checking.diff
+04_avoid_building_helper_module.diff
+05_pydoctor_build_time.diff

Modified: packages/kiwi/trunk/debian/rules
===================================================================
--- packages/kiwi/trunk/debian/rules	2015-05-06 22:47:41 UTC (rev 32608)
+++ packages/kiwi/trunk/debian/rules	2015-05-06 23:01:11 UTC (rev 32609)
@@ -5,13 +5,14 @@
 include /usr/share/cdbs/1/rules/buildcore.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/python-distutils.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
 DEB_COMPRESS_EXCLUDE += .py .glade .gladep
 DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed
 
+BUILD_DATE = $(shell dpkg-parsechangelog -S Date)
+
 build/python-kiwi::
-	cd doc && $(MAKE) api
+	cd doc && $(MAKE) api PYDOCTOR_OPTIONS="--buildtime=$(shell date -u +'%Y-%m-%d\\ %H:%M:%S' --date='$(BUILD_DATE)')"
 
 install/python-kiwi::
 	mv debian/python-kiwi/usr/share/doc/kiwi/api debian/python-kiwi/usr/share/doc/python-kiwi/api




More information about the Python-modules-commits mailing list