# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-purl _pkgname=purl pkgver=1.6 pkgrel=3 pkgdesc="immutable Python3 URL class for easy URL-building and manipulation" url="https://github.com/codeinthehole/purl" arch="noarch" license="MIT" depends="py3-six" # Tests are not included in the tarball options="!check" depends="python3" makedepends="py3-setuptools" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces="py-purl" # Backwards compatibility provides="py-purl=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" 1c0046a50d3ed3653bc3f5d5062863d5dfa23a3259491163b511209ee185c9be43d6fefb0cacf46cab3e894cfede36590830de8fc668088dc7d5df1c2215f857 purl-1.6.tar.gz "