mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 10:15:12 +03:00
37 lines
995 B
Text
37 lines
995 B
Text
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=py3-sip
|
|
pkgver=6.7.7
|
|
pkgrel=0
|
|
pkgdesc="A 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"
|
|
depends="
|
|
py3-packaging
|
|
py3-ply
|
|
py3-setuptools
|
|
py3-toml
|
|
"
|
|
makedepends="python3-dev py3-gpep517 py3-wheel"
|
|
source="https://pypi.python.org/packages/source/s/sip/sip-$pkgver.tar.gz"
|
|
builddir="$srcdir/sip-$pkgver"
|
|
|
|
replaces="py-sip" # Backwards comptibility
|
|
provides="py-sip=$pkgver-r$pkgrel" # Backwards comptibility
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/sip-*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
b41a1e53e8bad1fca08eda2c89b8a7cabe6cb9e54d0ddeba0c718499b0288633fb6b90128d54f3df2420e20bb217d3df224750d30e865487d2b0a640fba82444 sip-6.7.7.tar.gz
|
|
"
|