[Python-apps-commits] r6772 - in packages/pybtex/trunk/debian (changelog control rules)
danstender-guest at users.alioth.debian.org
danstender-guest at users.alioth.debian.org
Tue Mar 15 15:38:08 UTC 2011
Date: Tuesday, March 15, 2011 @ 15:38:05
Author: danstender-guest
Revision: 6772
restored build with python-support
Modified:
packages/pybtex/trunk/debian/changelog
packages/pybtex/trunk/debian/control
packages/pybtex/trunk/debian/rules
Modified: packages/pybtex/trunk/debian/changelog
===================================================================
--- packages/pybtex/trunk/debian/changelog 2011-03-15 15:01:53 UTC (rev 6771)
+++ packages/pybtex/trunk/debian/changelog 2011-03-15 15:38:05 UTC (rev 6772)
@@ -3,16 +3,12 @@
* New maintainer (closes: #587423).
* New upstream release
+ Changed license in debian/copyright from GPL-3 to EXPAT.
- * Changed to build with dh_python2
- + Changed debian/rules to build with dh $@ --with python 2.
- + Changed debian/control to X-Python-Version, added Breaks,
- removed python-support build-dep.
- * Changed debian/copyright
+ * Changed debian/copyright
+ to meet CANDIDATE DEP-5.
+ removed GPL-2+ license for database/convert/__main__.py.
* Uploaded to Unstable.
- -- Daniel Stender <daniel at danielstender.com> Tue, 15 Mar 2011 16:00:33 +0100
+ -- Daniel Stender <daniel at danielstender.com> Tue, 15 Mar 2011 16:36:14 +0100
pybtex (0.14-1) experimental; urgency=low
Modified: packages/pybtex/trunk/debian/control
===================================================================
--- packages/pybtex/trunk/debian/control 2011-03-15 15:01:53 UTC (rev 6771)
+++ packages/pybtex/trunk/debian/control 2011-03-15 15:38:05 UTC (rev 6772)
@@ -3,10 +3,10 @@
Priority: optional
Maintainer: Daniel Stender <daniel at danielstender.com>
Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 7.0.50~), python-all (>= 2.5),
+Build-Depends: debhelper (>= 7.0.50~), python-all (>= 2.5), python-support (>= 0.90),
python-setuptools, python-nose, python-pyparsing, python-yaml,
python-docutils, python-jinja2, python-pygments, elinks-lite | elinks
-X-Python-Version: >= 2.6
+XS-Python-Version: >= 2.6
Standards-Version: 3.9.1
Homepage: http://pybtex.sourceforge.net/
Vcs-Svn: svn://svn.debian.org/python-apps/packages/pybtex/trunk/
@@ -18,7 +18,6 @@
Conflicts: pybliographer (<< 1.2.12-3.1~), texlive-binaries (<< 2009-5~),
texlive-base-bin (<< 2009-5~)
Recommends: python-yaml
-Breaks: ${python:Breaks}
Description: BibTeX-compatible bibliography processor
Pybtex reads citation information from a file and produces a formatted
bibliography. BibTeX style files are supported. Alternatively it is
Modified: packages/pybtex/trunk/debian/rules
===================================================================
--- packages/pybtex/trunk/debian/rules 2011-03-15 15:01:53 UTC (rev 6771)
+++ packages/pybtex/trunk/debian/rules 2011-03-15 15:38:05 UTC (rev 6772)
@@ -1,4 +1,40 @@
#!/usr/bin/make -f
-%:
- dh $@ --with python2
+.PHONY: override_dh_auto_install
+override_dh_auto_install:
+ dh_auto_install
+ cd debian/pybtex/usr/bin && mv pybtex bibtex.pybtex
+ for module in tests docgen; do \
+ rm -Rf debian/pybtex/usr/lib/python*/*-packages/pybtex/$$module/; \
+ done
+ rm -f debian/pybtex/usr/lib/python*/*-packages/*.egg-info/requires.txt
+
+.PHONY: override_dh_installman
+override_dh_installman:
+ dh_installman
+ cd debian/pybtex/ && rename.ul pybtex bibtex.pybtex usr/share/man/man*/pybtex.[0-9]
+
+.PHONY: override_dh_auto_test
+override_dh_auto_test:
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
+ set -e; \
+ for python in $(shell pyversions -r); do \
+ $$python setup.py nosetests; \
+ done
+endif
+
+.PHONY: override_dh_installchangelogs
+override_dh_installchangelogs:
+ elinks -config-file /dev/null -dump -no-numbering -no-references docs/html/history.html \
+ | grep -A1000 ^Version \
+ | sed -e '/ *-\{50,\}- *$$/ { s///; q }' \
+ > docs/changelog
+ dh_installchangelogs docs/changelog
+
+.PHONY: build build-arch build-indep binary binary-arch binary-indep clean
+build build-arch build-indep binary binary-indep clean:
+ dh $(@)
+# In order not to confuse lintian, binary-arch is a separate target:
+binary-arch:
+
+# vim:ts=4 sw=4 noet
More information about the Python-apps-commits
mailing list