diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2023-12-29 21:45:08 +0100 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2023-12-29 21:45:08 +0100 |
| commit | fd7675f4ee6a67db5f88da7ae7cf46b8fa5bedbc (patch) | |
| tree | 71840aeb53c51ad30b5a7510f79b783684ef427a /python-hat-doit/PKGBUILD | |
| parent | fa1dacca0175d555100221b20bf450b1d796456b (diff) | |
.
Diffstat (limited to 'python-hat-doit/PKGBUILD')
| -rw-r--r-- | python-hat-doit/PKGBUILD | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/python-hat-doit/PKGBUILD b/python-hat-doit/PKGBUILD index 51ae37e..1b7e4c1 100644 --- a/python-hat-doit/PKGBUILD +++ b/python-hat-doit/PKGBUILD @@ -2,27 +2,28 @@ _name=hat-doit pkgname=python-$_name -pkgver=0.12.5 -pkgrel=1 +pkgver=0.15.7 +pkgrel=2 pkgdesc="Hat build utility functions" url="https://github.com/hat-open/hat-doit" license=('Apache') arch=('any') -depends=('python-build' 'python-doit' 'flake8' 'python-sphinx-furo' +depends=('python-doit' 'flake8' 'python-sphinx-furo' 'mkwhl' 'python-packaging' 'python-pdoc' 'python-pytest' 'python-pytest-asyncio' 'python-pytest-cov' 'python-pytest-timeout' - 'python-setuptools' 'python-sphinx' 'python-wheel') -makedepends=('python-installer') + 'python-sphinx' 'python-tomli') +makedepends=('python-build' 'python-installer') source=("https://github.com/hat-open/hat-doit/archive/refs/tags/v$pkgver.tar.gz") -sha256sums=('7ad0718486239161ad027b2b8644fd6ecdb0056ab8b766110ad2bbd87449f9ac') +sha256sums=('7f8e49f14ed0ebe2628bdba7e4f6917bc8078a540edd1cedcab2c48ca4d41eec') build() { cd "$srcdir/$_name-$pkgver" - python -m doit + sed -i -e 's/"pdoc >=14.2.0"/"pdoc >=14.1.0"/' pyproject.toml + python -m build --wheel --no-isolation } package() { cd "$srcdir/$_name-$pkgver" - python -m installer --destdir="$pkgdir" build/dist/*.whl + python -m installer --destdir="$pkgdir" dist/*.whl install -D -m 644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE } |
