diff options
-rw-r--r-- | main/tdb/APKBUILD | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/main/tdb/APKBUILD b/main/tdb/APKBUILD index 21a4c816ecb..01ba34ac0c4 100644 --- a/main/tdb/APKBUILD +++ b/main/tdb/APKBUILD @@ -1,14 +1,14 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=tdb -pkgver=1.3.16 -pkgrel=1 +pkgver=1.3.18 +pkgrel=0 pkgdesc="The tdb library" url="https://tdb.samba.org" arch="all" license="LGPL-3.0-or-later" -depends_dev="python2" -makedepends="$depends_dev python2-dev python3-dev docbook-xsl" -subpackages="$pkgname-dev py2-$pkgname:_py2 py3-$pkgname:_py3 +depends_dev="python3" +makedepends="$depends_dev python3-dev docbook-xsl" +subpackages="$pkgname-dev py3-$pkgname:_py3 $pkgname-libs $pkgname-doc" source="https://samba.org/ftp/tdb/tdb-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" @@ -25,8 +25,7 @@ build() { --localstatedir=/var \ --disable-rpath \ --bundled-libraries=NONE \ - --builtin-libraries=replace \ - --extra-python=/usr/bin/python3 + --builtin-libraries=replace make } @@ -40,15 +39,6 @@ package() { make DESTDIR="$pkgdir" install } -_py2() { - pkgdesc="Python 2 binding for the tdb library" - provides="py-tdb=$pkgver-r$pkgrel" # for backward compatibility - replaces="py-tdb" # for backward compatibility - - mkdir -p "$subpkgdir"/usr/lib - mv "$pkgdir"/usr/lib/python2* "$subpkgdir"/usr/lib/ -} - _py3() { pkgdesc="Python 3 binding for the tdb library" @@ -61,4 +51,4 @@ libs() { replaces="tdb" } -sha512sums="7b17852986e48a32f3f8f303dd2a26503a69fcf7849f22f51483334c9abda9f189b521679e51b4ee5a80197a8f304a084dde0f56d92cfe953d3a4ede557526d2 tdb-1.3.16.tar.gz" +sha512sums="9b856b2a5b2d852ff0048ba7b1700ea46b8dad5d4e94027472fdce9f1db4b5afba9aec127b7a4c2a38d4722c8e0ea78c1734d102fa134ac802eace6b24358034 tdb-1.3.18.tar.gz" |