diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -1,27 +1,27 @@ # Maintainer: Jameson Pugh <imntreal@gmail.com> -pkgbase=python-rxv pkgname=python-rxv +_name=rxv pkgver=0.7.0 -pkgrel=1 +pkgrel=2 pkgdesc="Automation Library for Yamaha RX-V473, RX-V573, RX-V673, RX-V773 receivers." arch=('any') url='https://github.com/wuub/rxv' license=('BSD') depends=('python-defusedxml') -makedepends=('python-setuptools') +makedepends=('python-build' 'python-installer' 'python-wheel') checkdepends=('python') -source=("https://github.com/wuub/rxv/archive/refs/tags/v${pkgver}.tar.gz") -sha256sums=('957dce69a2304d087c5fd9cd4c400b41efc1fc7579d3644a873877d32f09df43') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") +sha256sums=('6e21f6e5e808ed28147633633b1073f22f30ed84cf47868d970598cefe2b98a9') -check() { +build() { cd "${srcdir}/rxv-${pkgver}" - python setup.py test + python -m build --wheel --no-isolation } package() { cd "${srcdir}/rxv-${pkgver}" - python setup.py install --root=${pkgdir} + python -m installer --destdir=${pkgdir} dist/*.whl } # vim:set ts=2 sw=2 et: |