[Python-modules-commits] [python-whoosh] 01/01: Adding Python3 support

Barry Warsaw barry at moszumanska.debian.org
Tue Feb 7 14:41:07 UTC 2017


This is an automated email from the git hooks/post-receive script.

barry pushed a commit to branch py3
in repository python-whoosh.

commit ac948cd50550fa4deeeac61f24f56206814b3bb4
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
Date:   Sat Aug 17 18:04:03 2013 +0200

    Adding Python3 support
---
 debian/changelog              |  7 +++++++
 debian/control                | 20 ++++++++++++++++++--
 debian/python-whoosh.install  |  2 +-
 debian/python3-whoosh.install |  1 +
 debian/rules                  |  5 +++--
 5 files changed, 30 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2579df4..67a0dd6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,14 @@
+python-whoosh (2.5.1-2) UNRELEASED; urgency=low
+
+  * Added Python3 support.
+
+ -- أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>  Sun, 14 Jul 2013 14:24:47 +0200
+
 python-whoosh (2.5.1-1) unstable; urgency=low
 
   * New upstream release.
   * debian/control:
+    + Replaced python-nose with python-pytest in Build-Dep
     + Remove Daniel Watkins from Uploaders field, since he seems to be MIA
       (Closes: #705280)
     + Bumped Standards-Version to 3.9.4
diff --git a/debian/control b/debian/control
index 3cd82f6..51e2531 100644
--- a/debian/control
+++ b/debian/control
@@ -2,11 +2,12 @@ Source: python-whoosh
 Section: python
 Priority: optional
 Maintainer: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
-Build-Depends: debhelper (>= 9), python-setuptools
-Build-Depends-Indep: python-sphinx (>= 1.0.7+dfsg), python-all (>= 2.6.6-2), python-pytest
+Build-Depends: debhelper (>= 9), python-setuptools, python3-setuptools
+Build-Depends-Indep: python-sphinx (>= 1.0.7+dfsg), python-all (>= 2.6.6-2), python3-all, python-pytest, python3-pytest
 Standards-Version: 3.9.4
 Homepage: http://bitbucket.org/mchaput/whoosh/
 X-Python-Version: >= 2.5
+X-Python3-Version: >= 3.2
 Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-whoosh.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=python-modules/packages/python-whoosh.git
 
@@ -23,6 +24,21 @@ Description: pure-Python full-text indexing, search, and spell checking library
  modular, so every part can be extended or replaced to meet your needs
  exactly.
 
+Package: python3-whoosh
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Suggests: python-whoosh-doc
+Description: pure-Python full-text indexing, search, and spell checking library
+ Whoosh is a fast, pure-Python indexing and search library. Programmers
+ can use it to easily add search functionality to their applications and
+ websites. As Whoosh is pure Python, you don't have to compile or
+ install a binary support library and/or make Python work with a JVM, yet
+ indexing and searching is still very fast. Whoosh is designed to be
+ modular, so every part can be extended or replaced to meet your needs
+ exactly.
+ .
+ This package provides the Python 3 module.
+
 Package: python-whoosh-doc
 Architecture: all
 Section: doc
diff --git a/debian/python-whoosh.install b/debian/python-whoosh.install
index 2964de6..b2cc136 100644
--- a/debian/python-whoosh.install
+++ b/debian/python-whoosh.install
@@ -1 +1 @@
-usr/lib/
+usr/lib/python2*
diff --git a/debian/python3-whoosh.install b/debian/python3-whoosh.install
new file mode 100644
index 0000000..4606faa
--- /dev/null
+++ b/debian/python3-whoosh.install
@@ -0,0 +1 @@
+usr/lib/python3*
diff --git a/debian/rules b/debian/rules
index 96f9b8f..4582e20 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,10 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@ --with python2 --with sphinxdoc
+	dh $@ --with python2 --with python3 --with sphinxdoc
 
 PYVERS:=$(shell pyversions -vr)
+PY3VERS:=$(shell py3versions -vr)
 
 override_dh_auto_build:
 	dh_auto_build
@@ -15,7 +16,7 @@ override_dh_auto_clean:
 
 override_dh_auto_test:
 ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
-	set -e; for py in $(PYVERS); do  \
+	set -e; for py in $(PYVERS) $(PY3VERS); do  \
 	  python$$py setup.py test ;\
 	done
 endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-whoosh.git



More information about the Python-modules-commits mailing list