build both python and python3 recoll modules

This commit is contained in:
Jean-Francois Dockes
2013-11-09 18:06:34 +01:00
parent 3e6cbe755f
commit d228caa8de
8 changed files with 62 additions and 14 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
recoll (3153-1.1) experimental; urgency=low
recoll (1.20.0-1.1) raring; urgency=low
* local package testing new release build
-- Jean-Francois Dockes <jf@dockes.org> Sun, 30 Dec 2012 12:29:46 +0530
+18 -3
View File
@@ -10,8 +10,9 @@ Build-Depends: autotools-dev,
libx11-dev,
libxapian-dev (>= 1.0.15),
libz-dev,
python-all-dev (>= 2.6.6-3~)
Standards-Version: 3.9.3
python-all-dev (>= 2.6.6-3~),
python3-all-dev,
Standards-Version: 3.9.4
X-Python-Version: >= 2.7
Homepage: http://www.lesbonscomptes.com/recoll
Vcs-Git: git://anonscm.debian.org/collab-maint/recoll.git
@@ -57,7 +58,7 @@ Description: Personal full text search package with a Qt GUI
Package: python-recoll
Architecture: any
Section: python
Depends: recoll (>= ${source:Version}),
Depends: recoll (= ${binary:Version}),
${misc:Depends},
${python:Depends},
${shlibs:Depends}
@@ -67,3 +68,17 @@ Description: Python extension for recoll
.
This package provides Python extension module for recoll which can be use to
extend recoll such as an Ubuntu Unity Lens.
Package: python3-recoll
Architecture: any
Section: python
Depends: recoll (= ${binary:Version}),
${misc:Depends},
${python3:Depends},
${shlibs:Depends}
Description: Python extension for recoll
Personal full text search package which is based on a very strong backend
(Xapian), for which it provides an easy to use and feature-rich interface.
.
This package provides Python extension module for recoll which can be use to
extend recoll such as an Ubuntu Unity Lens.
@@ -1,2 +1,2 @@
usr/lib/python*/*-packages/*.egg-info
usr/lib/python*/*-packages/recoll/*
usr/lib/python2*/*-packages/*.egg-info
usr/lib/python2*/*-packages/recoll/*
@@ -0,0 +1,2 @@
usr/lib/python3*/*-packages/*.egg-info
usr/lib/python3*/*-packages/recoll/*
+6 -2
View File
@@ -33,7 +33,7 @@ build-arch: build-stamp
build-indep: build-stamp
build-stamp: config.status
dh_testdir
$(MAKE)
$(MAKE) -j 5
touch $@
clean:
@@ -53,6 +53,9 @@ install:
(cd python/recoll; python setup.py install \
--install-layout=deb \
--prefix=$(CURDIR)/debian/tmp/usr )
(cd python/recoll; python3 setup.py install \
--install-layout=deb \
--prefix=$(CURDIR)/debian/tmp/usr )
binary-arch: build install
dh_testdir
@@ -63,7 +66,8 @@ binary-arch: build install
dh_installman
dh_install --sourcedir=debian/tmp
dh_makeshlibs
dh_python2
dh_python2 -p python-recoll
dh_python3 -p python3-recoll
dh_link
dh_strip
dh_compress