[Python-modules-commits] r24558 - in packages/pystemmer/trunk/debian (14 files)
stefanor at users.alioth.debian.org
stefanor at users.alioth.debian.org
Sun May 26 15:53:03 UTC 2013
Date: Sunday, May 26, 2013 @ 15:53:01
Author: stefanor
Revision: 24558
* New upstream release.
* Refresh patches.
* Drop test-exit-code.diff, superseded upstream.
* Bump Standards-Version to 3.9.4.
- Bump debhelper B-D to >= 8.1, for build-{arch,indep} support.
* Bump debhelper compat level to 8.
* Bump machine readable copyright format to 1.0.
* Re-licence packaging under Expat.
* Switch debian/watch URL to https.
* Rename get-orig-source target to get-packaged-orig-source, it doesn't meet
the policy requirements for get-orig-source.
* Add autopkgtests.
Added:
packages/pystemmer/trunk/debian/tests/
packages/pystemmer/trunk/debian/tests/control
packages/pystemmer/trunk/debian/tests/unittests
packages/pystemmer/trunk/debian/tests/unittests3
Modified:
packages/pystemmer/trunk/debian/changelog
packages/pystemmer/trunk/debian/compat
packages/pystemmer/trunk/debian/control
packages/pystemmer/trunk/debian/copyright
packages/pystemmer/trunk/debian/patches/link-libstemmer.diff
packages/pystemmer/trunk/debian/patches/series
packages/pystemmer/trunk/debian/python-stemmer-doc.docs
packages/pystemmer/trunk/debian/rules
packages/pystemmer/trunk/debian/watch
Deleted:
packages/pystemmer/trunk/debian/patches/test-exit-code.diff
Modified: packages/pystemmer/trunk/debian/changelog
===================================================================
--- packages/pystemmer/trunk/debian/changelog 2013-05-26 14:46:04 UTC (rev 24557)
+++ packages/pystemmer/trunk/debian/changelog 2013-05-26 15:53:01 UTC (rev 24558)
@@ -1,13 +1,25 @@
-pystemmer (1.2.0+dfsg-2) UNRELEASED; urgency=low
+pystemmer (1.3.0+dfsg-1) unstable; urgency=low
[ Stefano Rivera ]
+ * New upstream release.
+ * Refresh patches.
+ * Drop test-exit-code.diff, superseded upstream.
* Use CFLAGS, CPPFLAGS, and LDFLAGS from dpkg-buildflags, to pick up
hardening flags.
+ * Bump Standards-Version to 3.9.4.
+ - Bump debhelper B-D to >= 8.1, for build-{arch,indep} support.
+ * Bump debhelper compat level to 8.
+ * Bump machine readable copyright format to 1.0.
+ * Re-licence packaging under Expat.
+ * Switch debian/watch URL to https.
+ * Rename get-orig-source target to get-packaged-orig-source, it doesn't meet
+ the policy requirements for get-orig-source.
+ * Add autopkgtests.
[ Jakub Wilk ]
* Use canonical URIs for Vcs-* fields.
- -- Jakub Wilk <jwilk at debian.org> Sun, 05 May 2013 16:02:01 +0200
+ -- Stefano Rivera <stefanor at debian.org> Sun, 26 May 2013 17:48:42 +0200
pystemmer (1.2.0+dfsg-1) unstable; urgency=low
Modified: packages/pystemmer/trunk/debian/compat
===================================================================
--- packages/pystemmer/trunk/debian/compat 2013-05-26 14:46:04 UTC (rev 24557)
+++ packages/pystemmer/trunk/debian/compat 2013-05-26 15:53:01 UTC (rev 24558)
@@ -1 +1 @@
-7
+8
Modified: packages/pystemmer/trunk/debian/control
===================================================================
--- packages/pystemmer/trunk/debian/control 2013-05-26 14:46:04 UTC (rev 24557)
+++ packages/pystemmer/trunk/debian/control 2013-05-26 15:53:01 UTC (rev 24558)
@@ -5,7 +5,7 @@
Uploaders: Stefano Rivera <stefanor at debian.org>
Build-Depends:
cython-dbg,
- debhelper (>= 7.3.5~),
+ debhelper (>= 8.1),
dpkg-dev (>= 1.15.7~),
libstemmer-dev,
python-all-dbg,
@@ -16,7 +16,8 @@
python3-all-dev (>= 3.1.2-6~)
X-Python-Version: >= 2.4
X-Python3-Version: >= 3.0
-Standards-Version: 3.9.2
+XS-Testsuite: autopkgtest
+Standards-Version: 3.9.4
Homepage: http://snowball.tartarus.org/
Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/pystemmer/trunk/
Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/pystemmer/trunk/
Modified: packages/pystemmer/trunk/debian/copyright
===================================================================
--- packages/pystemmer/trunk/debian/copyright 2013-05-26 14:46:04 UTC (rev 24557)
+++ packages/pystemmer/trunk/debian/copyright 2013-05-26 15:53:01 UTC (rev 24558)
@@ -1,4 +1,4 @@
-Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?revision=174
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: PyStemmer
Upstream-Contact: Richard Boulton <richard at tartarus.org>
Source: http://snowball.tartarus.org/
@@ -51,20 +51,8 @@
License: Expat
Files: debian/*
-Copyright: 2010-2011, Stefano Rivera <stefanor at debian.org>
-License: GPL-2+
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
- .
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
- .
- On Debian systems, the complete text of the GNU General Public License
- version 2 can be found in the /usr/share/common-licenses/GPL-2 file.
+Copyright: 2010-2013, Stefano Rivera <stefanor at debian.org>
+License: Expat
License: Expat
Permission is hereby granted, free of charge, to any person obtaining a copy
Modified: packages/pystemmer/trunk/debian/patches/link-libstemmer.diff
===================================================================
--- packages/pystemmer/trunk/debian/patches/link-libstemmer.diff 2013-05-26 14:46:04 UTC (rev 24557)
+++ packages/pystemmer/trunk/debian/patches/link-libstemmer.diff 2013-05-26 15:53:01 UTC (rev 24558)
@@ -23,7 +23,7 @@
- for line in open(os.path.join(library_dir, 'mkinc_utf8.mak'))
- if len(line.strip()) > 2
- and (line.strip().endswith('.c \\') or line.strip().endswith('.c'))
-- and os.path.split(line.strip())[0] in library_core_dirs]
+- and os.path.split(line.strip().replace(' \\', ''))[0] in library_core_dirs]
-
-# Set the include path to include libstemmer.
-include_dirs = ('src', os.path.join(library_dir, 'include'))
@@ -41,7 +41,7 @@
cmdclass = {}
long_description = r"""
-@@ -108,7 +91,7 @@
+@@ -114,7 +97,7 @@
],
ext_modules = [Extension('Stemmer', src_files,
Modified: packages/pystemmer/trunk/debian/patches/series
===================================================================
--- packages/pystemmer/trunk/debian/patches/series 2013-05-26 14:46:04 UTC (rev 24557)
+++ packages/pystemmer/trunk/debian/patches/series 2013-05-26 15:53:01 UTC (rev 24558)
@@ -1,2 +1 @@
-test-exit-code.diff
link-libstemmer.diff
Deleted: packages/pystemmer/trunk/debian/patches/test-exit-code.diff
===================================================================
--- packages/pystemmer/trunk/debian/patches/test-exit-code.diff 2013-05-26 14:46:04 UTC (rev 24557)
+++ packages/pystemmer/trunk/debian/patches/test-exit-code.diff 2013-05-26 15:53:01 UTC (rev 24558)
@@ -1,20 +0,0 @@
-Description: Modify the test suite to return a suitable error code on failure.
-Author: Stefano Rivera <stefanor at debian.org>
-Forwarded: http://article.gmane.org/gmane.comp.search.snowball/1191
-Last-Update: 2011-08-21
-
---- a/runtests.py
-+++ b/runtests.py
-@@ -5,6 +5,10 @@
- py3k = sys.version_info >= (3, 0)
-
- if py3k:
-- doctest.testfile('docs/quickstart_python3.txt')
-+ fails, tests = doctest.testfile('docs/quickstart_python3.txt')
- else:
-- doctest.testfile('docs/quickstart.txt')
-+ fails, tests = doctest.testfile('docs/quickstart.txt')
-+
-+if fails > 0:
-+ exit(1)
-+print('All %i tests passed' % tests)
Modified: packages/pystemmer/trunk/debian/python-stemmer-doc.docs
===================================================================
--- packages/pystemmer/trunk/debian/python-stemmer-doc.docs 2013-05-26 14:46:04 UTC (rev 24557)
+++ packages/pystemmer/trunk/debian/python-stemmer-doc.docs 2013-05-26 15:53:01 UTC (rev 24558)
@@ -1,3 +1,2 @@
-README
docs/quickstart*.txt
debian/html
Modified: packages/pystemmer/trunk/debian/rules
===================================================================
--- packages/pystemmer/trunk/debian/rules 2013-05-26 14:46:04 UTC (rev 24557)
+++ packages/pystemmer/trunk/debian/rules 2013-05-26 15:53:01 UTC (rev 24558)
@@ -68,7 +68,7 @@
dh_installdocs -p python3-stemmer -p python3-stemmer-dbg --link-doc=python3-stemmer
dh_installdocs -p python-stemmer-doc
-get-orig-source:
+get-packaged-orig-source:
set -e; \
VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^+]+).*,\1,p'); \
uscan --noconf --force-download --rename --download-version=$$VER --destdir=.; \
Added: packages/pystemmer/trunk/debian/tests/control
===================================================================
--- packages/pystemmer/trunk/debian/tests/control (rev 0)
+++ packages/pystemmer/trunk/debian/tests/control 2013-05-26 15:53:01 UTC (rev 24558)
@@ -0,0 +1,5 @@
+Tests: unittests
+Depends: python-stemmer, python-all
+
+Tests: unittests3
+Depends: python3-stemmer, python3-all
Added: packages/pystemmer/trunk/debian/tests/unittests
===================================================================
--- packages/pystemmer/trunk/debian/tests/unittests (rev 0)
+++ packages/pystemmer/trunk/debian/tests/unittests 2013-05-26 15:53:01 UTC (rev 24558)
@@ -0,0 +1,12 @@
+#!/bin/sh
+set -efu
+
+pythons="$(pyversions -r 2> /dev/null)"
+
+cp -a docs runtests.py "$ADTTMP"
+cd "$ADTTMP"
+
+for python in $pythons; do
+ echo "=== $python ==="
+ $python runtests.py
+done
Property changes on: packages/pystemmer/trunk/debian/tests/unittests
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/pystemmer/trunk/debian/tests/unittests3
===================================================================
--- packages/pystemmer/trunk/debian/tests/unittests3 (rev 0)
+++ packages/pystemmer/trunk/debian/tests/unittests3 2013-05-26 15:53:01 UTC (rev 24558)
@@ -0,0 +1,12 @@
+#!/bin/sh
+set -efu
+
+pythons="$(py3versions -r 2> /dev/null)"
+
+cp -a docs runtests.py "$ADTTMP"
+cd "$ADTTMP"
+
+for python in $pythons; do
+ echo "=== $python ==="
+ $python runtests.py
+done
Property changes on: packages/pystemmer/trunk/debian/tests/unittests3
___________________________________________________________________
Added: svn:executable
+ *
Modified: packages/pystemmer/trunk/debian/watch
===================================================================
--- packages/pystemmer/trunk/debian/watch 2013-05-26 14:46:04 UTC (rev 24557)
+++ packages/pystemmer/trunk/debian/watch 2013-05-26 15:53:01 UTC (rev 24558)
@@ -1,4 +1,4 @@
version=3
opts=dversionmangle=s/\+dfsg// \
-http://pypi.python.org/packages/source/P/PyStemmer/PyStemmer-(.*)\.tar.gz
+https://pypi.python.org/packages/source/P/PyStemmer/PyStemmer-(.*)\.tar.gz
More information about the Python-modules-commits
mailing list