1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/py3-hyperlink/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

31 lines
787 B
Text

# Contributor: prspkt <prspkt@protonmail.com>
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=py3-hyperlink
_pkgname=hyperlink
pkgver=21.0.0
pkgrel=3
pkgdesc="Python implementation of immutable URLs"
url="https://github.com/python-hyper/hyperlink"
arch="noarch"
license="MIT"
depends="py3-idna"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/h/hyperlink/hyperlink-$pkgver.tar.gz"
builddir="$srcdir/"$_pkgname-$pkgver
build() {
python3 setup.py build
}
check() {
py.test-3
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
9e0e9273dde1b0a41329a74fbb26c4f327b87f387ee64b9a2ab641ca5cc8b9ea0516884415e9adf1d4880ae9c053a5cba2c550fc508bb56fddb44a543d5da860 hyperlink-21.0.0.tar.gz
"