diff options
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 15 insertions, 8 deletions
@@ -1,13 +1,16 @@ pkgbase = python-class-registry pkgdesc = The intersection of the Registry and Factory patterns - pkgver = 4.0.5 + pkgver = 4.0.6 pkgrel = 1 url = https://github.com/todofixthis/class-registry arch = any license = MIT + makedepends = python-build + makedepends = python-installer makedepends = python-setuptools + makedepends = python-wheel depends = python - source = https://github.com/todofixthis/class-registry/archive/4.0.5.tar.gz - sha512sums = 35664980970d9a03964e5c60103bd3c33703934f97b3a4302314c417bfedc915342af129256b1d569578cef9ae9f426616dd7c81c49925cd8ea0c4b441240460 + source = https://github.com/todofixthis/class-registry/archive/4.0.6.tar.gz + sha512sums = da6d328359aae7488b1a34b4248e480c2f5e9c52e1f82bfeeba2be6d43a6014231fec0c32430e9f73c6761206197bb7e3db0b6bad9c847a5643d1609c3534293 pkgname = python-class-registry @@ -1,26 +1,30 @@ # Maintainer: Kyle Manna <kyle[at]kylemanna[d0t]com> pkgname=python-class-registry _pkgname=class-registry -pkgver=4.0.5 +pkgver=4.0.6 pkgrel=1 pkgdesc='The intersection of the Registry and Factory patterns' url='https://github.com/todofixthis/class-registry' depends=('python') -makedepends=('python-setuptools') +makedepends=('python-build' + 'python-installer' + 'python-setuptools' + 'python-wheel' + ) optdepends=() license=('MIT') arch=('any') source=("https://github.com/todofixthis/${_pkgname}/archive/${pkgver}.tar.gz") -sha512sums=('35664980970d9a03964e5c60103bd3c33703934f97b3a4302314c417bfedc915342af129256b1d569578cef9ae9f426616dd7c81c49925cd8ea0c4b441240460') +sha512sums=('da6d328359aae7488b1a34b4248e480c2f5e9c52e1f82bfeeba2be6d43a6014231fec0c32430e9f73c6761206197bb7e3db0b6bad9c847a5643d1609c3534293') build() { cd "$srcdir/$_pkgname-$pkgver" - python3 setup.py build + python -m build --wheel --no-isolation } package() { cd "$srcdir/$_pkgname-$pkgver" - python3 setup.py install --root="$pkgdir" --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl install -d "$pkgdir/usr/share/licenses/$pkgname/" install -m644 LICENCE.txt "$pkgdir/usr/share/licenses/$pkgname" |