diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,23 +1,24 @@ # Maintainer: Ricardo Band <email@ricardo.band> pkgname=virtualfish pkgver=2.5.7 -pkgrel=1 +pkgrel=2 pkgdesc="Fish shell tool for managing Python virtual environments" arch=("any") url=https://github.com/justinmayer/virtualfish license=("custom:MIT") -depends=("fish" "python" "python-packaging" "python-pkgconfig" "python-psutil" "python-virtualenv" "python-setuptools") +depends=("fish" "python" ) #"python-packaging" "python-pkgconfig" "python-psutil" "python-virtualenv" "python-setuptools") +makedepends=("python-build" "python-installer" "python-wheel") # "poetry-core") source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz") sha256sums=('f507d8cd281cb1c1ebf6021fc18ac20a85d8afbfc5ea4fe8eb0a3f54349bc9ba') build() { cd "$srcdir/$pkgname-$pkgver" - python setup.py build + python -m build --wheel #--no-isolation } package() { cd "$srcdir/$pkgname-$pkgver" - python setup.py install --root="$pkgdir/" --optimize=1 --skip-build + python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |