diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2,14 +2,14 @@ pkgname=python-app_paths _name=${pkgname#python-} pkgver=0.0.7 -pkgrel=2 +pkgrel=3 pkgdesc="Like appdirs, but with pathlib, path creation and async support." arch=('any') url="https://github.com/alexdelorenzo/app_paths" license=('LGPL3') depends=('python-strenum' 'python-aiopath' 'python-anyio' 'python-appdirs' 'python-typing_extensions' 'python-unpackable' 'python-asyncstdlib') -makedepends=('python-setuptools') +makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz" 'https://raw.githubusercontent.com/alexdelorenzo/app_paths/master/requirements.txt') sha256sums=('0ae3f8a8d451539842d49124e173016671c1553e7df4e595cc8837041febf46f' @@ -21,10 +21,10 @@ prepare() { build() { cd "$_name-$pkgver" - python setup.py build + python -m build --wheel --no-isolation } package() { cd "$_name-$pkgver" - python setup.py install --root="$pkgdir" --optimize=1 --skip-build + python -m installer --destdir="$pkgdir" dist/*.whl } |