mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-15 12:15:22 +03:00
38 lines
1 KiB
Text
38 lines
1 KiB
Text
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=py3-sip
|
|
pkgver=6.10.0
|
|
pkgrel=0
|
|
pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries"
|
|
options="!check" # No testsuite
|
|
url="https://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"
|
|
subpackages="$pkgname-pyc"
|
|
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="
|
|
499339424eccb27309ca2d220cf57c29b484faed45849ea2ab7772a69841b617ab01a8261e70869e7071f4871bc7211a7bb421cc2ff30d0fcf46f28e4c41f323 sip-6.10.0.tar.gz
|
|
"
|