summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD8
2 files changed, 8 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 41fbcb9eac8..db63abe9cc1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,14 @@
pkgbase = python-app_paths
pkgdesc = Like appdirs, but with pathlib, path creation and async support.
pkgver = 0.0.7
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/alexdelorenzo/app_paths
arch = any
license = LGPL3
+ makedepends = python-build
+ makedepends = python-installer
makedepends = python-setuptools
+ makedepends = python-wheel
depends = python-strenum
depends = python-aiopath
depends = python-anyio
diff --git a/PKGBUILD b/PKGBUILD
index e337182225d..568766aa505 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}