[Python-modules-commits] r29856 - in packages/sphinxcontrib-spelling/trunk/debian (5 files)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Tue Jul 22 18:19:05 UTC 2014


    Date: Tuesday, July 22, 2014 @ 18:19:05
  Author: eriol-guest
Revision: 29856

Added Python3 package

Added:
  packages/sphinxcontrib-spelling/trunk/debian/tests/unittests3
Modified:
  packages/sphinxcontrib-spelling/trunk/debian/changelog
  packages/sphinxcontrib-spelling/trunk/debian/control
  packages/sphinxcontrib-spelling/trunk/debian/rules
  packages/sphinxcontrib-spelling/trunk/debian/tests/control

Modified: packages/sphinxcontrib-spelling/trunk/debian/changelog
===================================================================
--- packages/sphinxcontrib-spelling/trunk/debian/changelog	2014-07-22 14:57:13 UTC (rev 29855)
+++ packages/sphinxcontrib-spelling/trunk/debian/changelog	2014-07-22 18:19:05 UTC (rev 29856)
@@ -1,7 +1,9 @@
 sphinxcontrib-spelling (2.1.1-1) UNRELEASED; urgency=medium
 
-  * New upstream release (Closes: #720341)
+  * New upstream release
+    - Fix unicode handling in builtins filter (Closes: #720341)
   * Switched to pybuild (Closes: #745382)
+  * Added Python3 package
   * Added python-sphinxcontrib.spelling-doc package
   * debian/compat
     - Bumped debhelper compatibility level to 9
@@ -11,6 +13,9 @@
     - Bumped debhelper B-D to (>= 9)
     - Bumped Standards-Version to 3.9.5 (no changes needed)
     - Added stanza for python-sphinxcontrib.spelling.doc package
+    - Added stanza for python3-sphinxcontrib.spelling package
+    - Added python3-{all,docutils,enchant,nose,pbr,setuptools,sphinx} to B-D
+    - Added X-Python{,3}-Version option
   * debian/copyright
     - Updated copyright years
   * debian/python-sphinxcontrib.spelling.docs
@@ -23,15 +28,20 @@
     - Built documentation using sphinx-build inside override_dh_auto_build
     - Cleaned build documentation inside override_dh_auto_clean
     - Switched to PYBUILD_TEST_NOSE=1 for tests
+    - Added python3 to debhelper rule
+  * debian/tests/control
+    - Added stanza for Python3 testing
   * debian/tests/unittests
     - Updated tests path due to upstream change
+  * debian/tests/unittests3
+    - Added
   * debian/upstream/signing-key.asc
     - Added upstream key
   * debian/watch
     - Switched download URL to HTTPS
     - Added pgpsigurlmangle option
 
- -- Daniele Tricoli <eriol at mornie.org>  Tue, 22 Jul 2014 04:07:46 +0200
+ -- Daniele Tricoli <eriol at mornie.org>  Tue, 22 Jul 2014 20:18:28 +0200
 
 sphinxcontrib-spelling (1.4-1) unstable; urgency=low
 

Modified: packages/sphinxcontrib-spelling/trunk/debian/control
===================================================================
--- packages/sphinxcontrib-spelling/trunk/debian/control	2014-07-22 14:57:13 UTC (rev 29855)
+++ packages/sphinxcontrib-spelling/trunk/debian/control	2014-07-22 18:19:05 UTC (rev 29856)
@@ -14,7 +14,16 @@
  python-pbr,
  python-setuptools (>= 0.6b3),
  python-sphinx (>= 1.0.7+dfsg),
+ python3-all,
+ python3-docutils,
+ python3-enchant,
+ python3-nose,
+ python3-pbr,
+ python3-setuptools,
+ python3-sphinx,
 Standards-Version: 3.9.5
+X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.3
 Homepage: http://bitbucket.org/dhellmann/sphinxcontrib-spelling
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/sphinxcontrib-spelling/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/sphinxcontrib-spelling/trunk/
@@ -42,6 +51,30 @@
   - Suggests alternatives to words not found in the dictionary, when
     possible.
 
+Package: python3-sphinxcontrib.spelling
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+ python3-docutils,
+ python3-enchant,
+ python3-sphinx
+Description: Sphinx "spelling" extension (Python 3)
+ This package contains the spelling extension for the Sphinx documentation
+ system.
+ The extension enables a spelling checker which uses PyEnchant to produce a
+ report showing misspelled words.
+ .
+ The extension also:
+  - Supports multiple source languages using the standard enchant
+    dictionaries.
+  - Supports project-specific dictionaries for localized jargon and other
+    terminology that may not appear in the global dictionaries.
+  - Suggests alternatives to words not found in the dictionary, when
+    possible.
+ .
+ This package contains the Python 3 version of the extension.
+
 Package: python-sphinxcontrib.spelling-doc
 Architecture: all
 Section: doc

Modified: packages/sphinxcontrib-spelling/trunk/debian/rules
===================================================================
--- packages/sphinxcontrib-spelling/trunk/debian/rules	2014-07-22 14:57:13 UTC (rev 29855)
+++ packages/sphinxcontrib-spelling/trunk/debian/rules	2014-07-22 18:19:05 UTC (rev 29856)
@@ -5,7 +5,7 @@
 export PYBUILD_TEST_NOSE=1
 
 %:
-	dh $@ --with python2,sphinxdoc --buildsystem=pybuild
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_clean:
 	dh_auto_clean

Modified: packages/sphinxcontrib-spelling/trunk/debian/tests/control
===================================================================
--- packages/sphinxcontrib-spelling/trunk/debian/tests/control	2014-07-22 14:57:13 UTC (rev 29855)
+++ packages/sphinxcontrib-spelling/trunk/debian/tests/control	2014-07-22 18:19:05 UTC (rev 29856)
@@ -1,2 +1,5 @@
 Tests: unittests
 Depends: @, myspell-en-us, python-all, python-nose, python-sphinx
+
+Tests: unittests3
+Depends: @, myspell-en-us, python3-all, python3-nose, python3-sphinx

Added: packages/sphinxcontrib-spelling/trunk/debian/tests/unittests3
===================================================================
--- packages/sphinxcontrib-spelling/trunk/debian/tests/unittests3	                        (rev 0)
+++ packages/sphinxcontrib-spelling/trunk/debian/tests/unittests3	2014-07-22 18:19:05 UTC (rev 29856)
@@ -0,0 +1,14 @@
+#!/bin/sh
+set -efu
+
+export PYTHONWARNINGS=d
+
+python_all="$(py3versions -rv 2>/dev/null)"
+
+cp -r sphinxcontrib/spelling/tests "$ADTTMP/"
+cd "$ADTTMP"
+
+for py in $python_all; do
+    echo "=== python$py ==="
+    nosetests-$py --verbose 2>&1
+done




More information about the Python-modules-commits mailing list