aboutsummaryrefslogtreecommitdiffstats
path: root/community/xapian-bindings/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-09-09 18:57:03 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-09-09 19:59:29 -0300
commitfbae87b753b09227360fbc508bea20dd105510e7 (patch)
tree993341c15e587b7d5e9e5af933a07264c7c168d8 /community/xapian-bindings/APKBUILD
parentd1c20cb3ddfcd1b4ba08d61e4f916b836ca000b4 (diff)
downloadaports-fbae87b753b09227360fbc508bea20dd105510e7.tar.gz
aports-fbae87b753b09227360fbc508bea20dd105510e7.tar.bz2
aports-fbae87b753b09227360fbc508bea20dd105510e7.tar.xz
community/xapian-bindings: drop python2
Diffstat (limited to 'community/xapian-bindings/APKBUILD')
-rw-r--r--community/xapian-bindings/APKBUILD30
1 files changed, 8 insertions, 22 deletions
diff --git a/community/xapian-bindings/APKBUILD b/community/xapian-bindings/APKBUILD
index b97b1ece8f..3ed5ec47e6 100644
--- a/community/xapian-bindings/APKBUILD
+++ b/community/xapian-bindings/APKBUILD
@@ -2,18 +2,18 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=xapian-bindings
pkgver=1.4.12
-pkgrel=0
+pkgrel=1
pkgdesc="Binding libraries for xapian"
url="http://www.xapian.org"
arch="all"
license="GPL-2.0-or-later"
# Disabled check for now since ruby smoketest fails
options="!check"
-_py_makedepends="python-dev
- py-sphinx-autobuild py2-sphinx
- py2-requests py-setuptools py2-typing
- py-urllib3 py-chardet py-idna
- python3-dev py3-requests py3-certifi"
+_py_makedepends="
+ py3-sphinx-autobuild py3-sphinx
+ py3-requests py3-setuptools py3-typing
+ py3-urllib3 py3-chardet py3-idna
+ python3-dev py3-certifi"
_php_makedepends="php7-dev"
_perl_makedepends="perl-dev"
_lua_makedepends="lua5.3-dev"
@@ -28,25 +28,21 @@ makedepends="automake autoconf libtool bash xapian-core-dev sphinx
$_ruby_makedepends
$_tcl_makedepends"
subpackages="$pkgname-perl $pkgname-lua $pkgname-doc
- $pkgname-python $pkgname-python3 $pkgname-ruby $pkgname-tcl
+ $pkgname-python3 $pkgname-ruby $pkgname-tcl
$pkgname-php7"
-source="http://www.oligarchy.co.uk/xapian/$pkgver/$pkgname-$pkgver.tar.xz"
+source="http://www.oligarchy.co.uk/xapian/$pkgver/xapian-bindings-$pkgver.tar.xz"
-builddir="$srcdir"/$pkgname-$pkgver
prepare() {
default_prepare
- cd "$builddir"
aclocal && autoconf
libtoolize
autoreconf -fvi
# workaround for non-existing-dir while build docs for python
- mkdir -p python/docs/_static
mkdir -p python3/docs/_static
}
build() {
- cd "$builddir"
export LUA=/usr/bin/lua5.3
export LUA_INC=/usr/include/lua5.3
export LUA_LIB=/usr/lib/lua/5.3
@@ -56,7 +52,6 @@ build() {
export PERL_ARCH=/usr/share/perl5/vendor_perl
export PHP7=/usr/bin/php7
export PHP_CONFIG7=/usr/bin/php-config7
- export PYTHON2=/usr/bin/python2
export PYTHON3=/usr/bin/python3
export RUBY=/usr/bin/ruby
export RUBY_LIB=/usr/lib/ruby
@@ -70,7 +65,6 @@ build() {
--with-perl \
--with-lua \
--with-php7 \
- --with-python \
--with-python3 \
--with-ruby \
--with-tcl \
@@ -79,7 +73,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR=$pkgdir install
}
@@ -112,13 +105,6 @@ lua() {
mv "$pkgdir"/usr/lib/lua "$subpkgdir"/usr/lib
}
-python() {
- pkgdesc="Python bindings for the Xapian search engine library"
-
- install -d "$subpkgdir"/usr/lib
- mv "$pkgdir"/usr/lib/python2.7 "$subpkgdir"/usr/lib
-}
-
python3() {
pkgdesc="Python3 bindings for the Xapian search engine library"