diff options
author | Mark Wagie | 2022-04-15 10:33:04 -0600 |
---|---|---|
committer | Mark Wagie | 2022-04-15 10:33:04 -0600 |
commit | 56a63c8f1aff1f7d328b64ee9adca0bd5f3b3e95 (patch) | |
tree | c5bc42ac4ccd5ee815912baae3566aff773d6933 | |
parent | add9dba9aeed032c3b2f256bbb062dec499b7420 (diff) | |
download | aur-56a63c8f1aff1f7d328b64ee9adca0bd5f3b3e95.tar.gz |
standards based build
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 8 insertions, 5 deletions
@@ -1,11 +1,14 @@ pkgbase = python-sphinxcontrib-programoutput pkgdesc = Sphinx extension to insert the output of arbitrary commands into documents. pkgver = 0.17 - pkgrel = 1 + pkgrel = 2 url = https://sphinxcontrib-programoutput.readthedocs.io arch = any license = BSD + makedepends = python-build + makedepends = python-installer makedepends = python-setuptools + makedepends = python-wheel depends = python-sphinx source = https://files.pythonhosted.org/packages/source/s/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.17.tar.gz sha256sums = 300ee9b8caee8355d25cc74b4d1c7efd12e608d2ad165e3141d31e6fbc152b7f @@ -4,25 +4,25 @@ pkgname=python-sphinxcontrib-programoutput _name=${pkgname#python-} pkgver=0.17 -pkgrel=1 +pkgrel=2 pkgdesc="Sphinx extension to insert the output of arbitrary commands into documents." arch=('any') url="https://sphinxcontrib-programoutput.readthedocs.io" license=('BSD') depends=('python-sphinx') -makedepends=('python-setuptools') +makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') #options=(!emptydirs) source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") sha256sums=('300ee9b8caee8355d25cc74b4d1c7efd12e608d2ad165e3141d31e6fbc152b7f') 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 install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" } |