From 6561814333cbc5c5b120b144d84727848c98b3d2 Mon Sep 17 00:00:00 2001 From: Stefan Reiff Date: Sat, 20 Apr 2019 20:09:18 +0000 Subject: main/tevent: upgrade to 0.9.39 and remove python2 --- main/tevent/APKBUILD | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) (limited to 'main') diff --git a/main/tevent/APKBUILD b/main/tevent/APKBUILD index 4d551f1df8..8f7ef0a404 100644 --- a/main/tevent/APKBUILD +++ b/main/tevent/APKBUILD @@ -1,14 +1,14 @@ # Maintainer: Natanael Copa pkgname=tevent -pkgver=0.9.37 -pkgrel=2 +pkgver=0.9.39 +pkgrel=0 pkgdesc="The tevent library" url="https://tevent.samba.org" arch="all" license="LGPL-3.0-or-later" -makedepends="libtirpc-dev python2-dev python3-dev talloc-dev" +makedepends="libtirpc-dev python3-dev talloc-dev" replaces="samba" -subpackages="$pkgname-dev py2-$pkgname:_py2 py3-$pkgname:_py3" +subpackages="$pkgname-dev py3-$pkgname:_py3" source="https://samba.org/ftp/tevent/tevent-$pkgver.tar.gz fix-public-header.patch" builddir="$srcdir/$pkgname-$pkgver" @@ -25,8 +25,7 @@ build() { --localstatedir=/var \ --disable-rpath \ --bundled-libraries=NONE \ - --without-gettext \ - --extra-python=/usr/bin/python3 + --without-gettext make } @@ -40,15 +39,6 @@ package() { make DESTDIR="$pkgdir" install } -_py2() { - pkgdesc="Python 2 binding for the tevent library" - provides="py-$pkgname=$pkgver-r$pkgrel" # for backward compatibility - replaces="py-$pkgname" # for backward compatibility - - mkdir -p "$subpkgdir"/usr/lib - mv "$pkgdir"/usr/lib/python2* "$subpkgdir"/usr/lib/ -} - _py3() { pkgdesc="Python 3 binding for the tevent library" @@ -56,5 +46,5 @@ _py3() { mv "$pkgdir"/usr/lib/python3* "$subpkgdir"/usr/lib/ } -sha512sums="5d4833403e1c2f2749f00a389e4757261a4f22cd3a67c906001b36a8b622cc68a38e86d4eb475848a2121ebba054a7e7dac7f486d9f2906a401c3cc97fb447f4 tevent-0.9.37.tar.gz +sha512sums="72f48493aa3ef2efb78fa4e8cbeca8a66871e6835b51307ce08864ed0a778ccfd5f62d6768099f06680915375ee78c3b889514e247bcfe797889f16388c321b0 tevent-0.9.39.tar.gz ee4cce8591dfe31288975596d8464b7cc160580715f88e4fd19b5ae7e1a831650b072954731f015f52d76600597faee894f0174b9e92d18dca9629f9d056230c fix-public-header.patch" -- cgit v1.2.3