diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2023-01-01 21:04:39 +0100 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2023-01-01 21:04:39 +0100 |
| commit | e9869fce898d7e8ad7c739bf98e89bd553e90feb (patch) | |
| tree | 7caf5e668b6cddee88ada15bc398dbefb8bd4dae /python-hat-doit/PKGBUILD | |
init
Diffstat (limited to 'python-hat-doit/PKGBUILD')
| -rw-r--r-- | python-hat-doit/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/python-hat-doit/PKGBUILD b/python-hat-doit/PKGBUILD new file mode 100644 index 0000000..c531a38 --- /dev/null +++ b/python-hat-doit/PKGBUILD @@ -0,0 +1,26 @@ +_name=hat-doit +pkgname=python-$_name +pkgver=0.11.9 +pkgrel=1 +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' + 'python-packaging' 'python-pdoc' 'python-pytest' + 'python-pytest-asyncio' 'python-pytest-cov' 'python-pytest-timeout' + 'python-setuptools' 'python-sphinx' 'python-wheel') +makedepends=('python-installer') +source=("https://github.com/hat-open/hat-doit/archive/refs/tags/v$pkgver.tar.gz") +sha256sums=('8856d5466f2578a625153dae7a2d24c1ae43712fb1ad4057ad456ae58fe2aaa6') + +build() { + cd "$srcdir/$_name-$pkgver" + python -m doit +} + +package() { + cd "$srcdir/$_name-$pkgver" + python -m installer --destdir="$pkgdir" build/dist/*.whl + install -D -m 644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE +} |
