diff options
author | Lucki | 2022-08-03 02:06:43 +0200 |
---|---|---|
committer | Lucki | 2022-08-03 02:06:43 +0200 |
commit | 79281ac3b04bbe91d42bcf7d53b2cba1a475a497 (patch) | |
tree | 0e29c8f59bac5383ba3859fb8e688900ba31f176 /PKGBUILD | |
parent | 16141ed512e31aeef2a11f4999b184be8a4dd5b9 (diff) | |
download | aur-python-pyrdfa3.tar.gz |
upgpkg: python-pyrdfa3 3.5.3-1
switch to precompiled upstream release
source is broken
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 14 insertions, 14 deletions
@@ -1,24 +1,24 @@ -# Maintainer: Yigit Sever <yigit at yigitsever dot com> +# Maintainer: Lucki <https://aur.archlinux.org/account/Lucki> +# Contributor: Yigit Sever <yigit at yigitsever dot com> +# shellcheck shell=bash +# shellcheck disable=2034,2154 + pkgname=python-pyrdfa3 -_pkgname=pyrdfa3 -pkgver=3.5.2 +_name=pyRdfa3 +pkgver=3.5.3 pkgrel=1 pkgdesc="Python distiller/parser library" arch=('any') url="https://github.com/RDFLib/pyrdfa3" license=('custom') depends=('python-rdflib' 'python-html5lib' 'python-simplejson' 'python-isodate') -makedepends=('python-setuptools') -source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") -sha256sums=('2cf88994c9726eae043d24c2b6945ec2d0bf5c417e29dfd86cb5170884015905') - -build() { - cd "${_pkgname}-${pkgver}" - python setup.py build -} +makedepends=('python-installer' 'python-wheel') +source=("https://files.pythonhosted.org/packages/py3/${_name::1}/$_name/${_name//-/_}-$pkgver-py3-none-any.whl" + "$pkgname.license::https://raw.githubusercontent.com/RDFLib/pyrdfa3/master/LICENSE") +sha256sums=('4da7ed49e8f524b573ed67e4f7bc7f403bff3be00546d7438fe263c924a91ccf' + '18e8c2a924d44bdfdce3055db70bd4de7fad7f1d60df29458755a64bcb04766f') package() { - cd "${_pkgname}-${pkgver}" - python setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/" + python -m installer --destdir="$pkgdir" "pyRdfa3-3.5.3-py3-none-any.whl" + install -Dm644 "$pkgname.license" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |