diff options
author | Benjamin Winger | 2022-01-18 13:58:38 -0500 |
---|---|---|
committer | Benjamin Winger | 2022-01-18 13:58:38 -0500 |
commit | d053bceff42a24c6df2490acd239f6930dd20776 (patch) | |
tree | 28a38c8e745b2b8aca89030ad2e608d32fb22528 | |
parent | c0fb160f2fea50492d868ec6a7e32ec76d5fa55d (diff) | |
download | aur-d053bceff42a24c6df2490acd239f6930dd20776.tar.gz |
Updated to work with latest version which lacks setup.py
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 7 insertions, 6 deletions
@@ -1,12 +1,14 @@ pkgbase = python-fasteners-git pkgdesc = A python package that provides useful locks. - pkgver = 0.15.r34.g03e31bb + pkgver = 0.17.2.r0.g8c4c7d9 pkgrel = 1 url = https://github.com/harlowja/fasteners arch = any license = Apache makedepends = git makedepends = python-setuptools + makedepends = python-build + makedepends = python-install depends = python provides = python-fasteners conflicts = python-fasteners @@ -14,4 +16,3 @@ pkgbase = python-fasteners-git sha512sums = SKIP pkgname = python-fasteners-git - @@ -1,7 +1,7 @@ # Maintainer: Benjamin Winger <bmw@disroot.org> pkgname=python-fasteners-git -pkgver=0.15.r34.g03e31bb +pkgver=0.17.2.r0.g8c4c7d9 pkgrel=1 pkgdesc="A python package that provides useful locks." provides=('python-fasteners') @@ -10,7 +10,7 @@ arch=(any) url="https://github.com/harlowja/fasteners" license=(Apache) depends=("python") -makedepends=("git" "python-setuptools") +makedepends=("git" "python-setuptools" "python-build" "python-install") source=("fasteners::git+${url}") sha512sums=('SKIP') @@ -21,10 +21,10 @@ pkgver() { build() { cd "$srcdir/fasteners" - python setup.py build + python -m build --wheel --skip-dependency-check --no-isolation } package() { cd "$srcdir/fasteners" - python setup.py install --root $pkgdir + python -m install --destdir $pkgdir dist/*.whl } |