mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-18 23:22:24 +01:00
27 lines
802 B
Plaintext
27 lines
802 B
Plaintext
# Contributor: prspkt <prspkt@protonmail.com>
|
|
# Maintainer: prspkt <prspkt@protonmail.com>
|
|
pkgname=py3-hyperlink
|
|
_pkgname=hyperlink
|
|
pkgver=18.0.0
|
|
pkgrel=1
|
|
pkgdesc="Python implementation of immutable URLs"
|
|
url="https://github.com/python-hyper/hyperlink"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="py3-idna python3"
|
|
makedepends="py3-setuptools python3-dev"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/"$_pkgname-$pkgver
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="21b5f88f7aaa3f2b0b60566fdb0fefdf6d42866060606dac181c8e3d357c76a5c23fa5dc982812af2b7d49dc1f9d623bd5bea89bf2cf31916c855bc4ae85589d hyperlink-18.0.0.tar.gz"
|