diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2019-04-04 10:20:58 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-04-17 11:45:37 +0000 |
commit | ce3841964222d1284938a37f5616441d9ccbc5fd (patch) | |
tree | 0298dac1fa6b7051281e80d35ea2d9e2ff738c75 /main/libproxy/APKBUILD | |
parent | 02b5d4e5cd446e0b31dab64837f1962866ae06c7 (diff) | |
download | aports-ce3841964222d1284938a37f5616441d9ccbc5fd.tar.bz2 aports-ce3841964222d1284938a37f5616441d9ccbc5fd.tar.xz |
main/libproxy: rebuild against python 3.7
Diffstat (limited to 'main/libproxy/APKBUILD')
-rw-r--r-- | main/libproxy/APKBUILD | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/main/libproxy/APKBUILD b/main/libproxy/APKBUILD index d879471504..f7dbf88cb1 100644 --- a/main/libproxy/APKBUILD +++ b/main/libproxy/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libproxy pkgver=0.4.15 -pkgrel=1 +pkgrel=2 pkgdesc="A library handling all the details of proxy configuration" url="http://code.google.com/p/libproxy/" arch="all" @@ -11,7 +11,7 @@ depends= depends_dev="zlib-dev" makedepends="cmake python3-dev $depends_dev" install="" -subpackages="$pkgname-dev $pkgname-bin py-$pkgname:py" +subpackages="$pkgname-dev $pkgname-bin py3-$pkgname:_py" source="$pkgname-$pkgver.tar.gz::https://github.com/libproxy/libproxy/archive/$pkgver.tar.gz libproxy-0.4.7-unistd.patch fix-includes.patch @@ -24,6 +24,8 @@ build() { -DLIBEXEC_INSTALL_DIR=lib \ -DMODULE_INSTALL_DIR=/usr/lib/libproxy/$pkgver/modules \ -DWITH_PERL=OFF \ + -DWITH_PYTHON3=ON \ + -DPYTHON3_EXECUTABLE=/usr/bin/python3 \ . make } @@ -50,8 +52,8 @@ bin() { mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ } -py() { - pkgdesc="Binding for libproxy and python" +_py() { + pkgdesc="Binding for libproxy and python 3" mkdir -p "$subpkgdir"/usr/lib mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/ } |