diff options
author | Michael Laß | 2023-07-30 14:18:00 +0200 |
---|---|---|
committer | Michael Laß | 2023-07-30 14:20:41 +0200 |
commit | 4aa9bb6b894f3135e92af854e448b474115b17e4 (patch) | |
tree | 14329d94b440938d8ba5a151e0f34ea94a67cac1 /PKGBUILD | |
parent | 3db31bfc0341c77e618732f763ecc9c81896e5c4 (diff) | |
download | aur-4aa9bb6b894f3135e92af854e448b474115b17e4.tar.gz |
Use PEP 517, add missing urllib3 dependency
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -5,24 +5,24 @@ pkgname=arxiv-collector pkgver=0.4.1 -pkgrel=1 +pkgrel=2 pkgdesc="Small script to collect LaTeX sources for upload to the arXiv" arch=(any) url="https://github.com/dougalsutherland/arxiv-collector" license=('BSD') -depends=(texlive-core) -makedepends=(python-setuptools) +depends=(python-urllib3 texlive-core) +makedepends=(python-build python-installer python-setuptools python-wheel) source=("https://github.com/djsutherland/$pkgname/archive/$pkgver.tar.gz") sha256sums=('4fdb51c9db0d8641fc65cde3c085df14af67bfb8a149a3f267057ba5d81fe72b') build() { cd "$pkgname-$pkgver" - python setup.py build + python -m build --wheel --no-isolation } package() { cd "$pkgname-$pkgver" - python setup.py install --root="$pkgdir/" --optimize=1 --skip-build + python -m installer --destdir="$pkgdir" dist/*.whl # License install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE |