diff options
author | Aiden Grossman <agrossman154@yahoo.com> | 2022-01-14 22:46:01 +0000 |
---|---|---|
committer | Bart Ribbers <bribbers@disroot.org> | 2022-01-17 18:58:01 +0000 |
commit | a5cf179d2223c14c8398c6f03439cfcb6fd08003 (patch) | |
tree | d35102144c5bb88a8fb16dac67921070a2dd63a2 /community | |
parent | 31b9babdb71f7dacf7a8c82a0ccfcdb51ec7e38e (diff) |
community/py3-sip4: new aport
Diffstat (limited to 'community')
-rw-r--r-- | community/py3-sip4/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/community/py3-sip4/APKBUILD b/community/py3-sip4/APKBUILD new file mode 100644 index 00000000000..f75d227f3a9 --- /dev/null +++ b/community/py3-sip4/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Contributor: Aiden Grossman <agrossman154@yahoo.com> +# Maintainer: Aiden Grossman <agrossman154@yahoo.com> +pkgname=py3-sip4 +pkgver=4.19.25 +pkgrel=0 +pkgdesc="Tool that makes it easy to create Python bindings for C and C++ libraries" +options="!check" # No testsuite +url="http://www.riverbankcomputing.com/software/sip/" +arch="all" +license="custom:sip" +makedepends="python3-dev" +depends_dev="py3-sip4" +subpackages=" + $pkgname-dev::noarch + $pkgname-doc" +source="https://www.riverbankcomputing.com/static/Downloads/sip/$pkgver/sip-$pkgver.tar.gz" +builddir="$srcdir"/sip-$pkgver + +build() { + python3 configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" +} + +package() { + make DESTDIR="$pkgdir" install + + # Move sip.h to /usr/include + mv "$pkgdir"/usr/include/python3*/sip.h "$pkgdir"/usr/include/sip.h + rm -rf "$pkgdir"/usr/include/python3* + + install -Dm644 "$builddir"/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +sha512sums=" +60fb4133c68869bf0993144978b4847d94a0f9c7b477f64a346ea133cfe35bc11820204ab327dcf9a929b6f65a26d16cc7efbce65e49967c3347b39376e57001 sip-4.19.25.tar.gz +" |