ayaports/unmaintained/py3-watchgod/APKBUILD
build@apk-groulx 7c2d413554 3.17 cleanup
2023-01-11 00:40:45 +00:00

32 lines
871 B
Text

# Maintainer: Antoine Martin <dev@ayakael.net>
_pyname='watchgod'
pkgname="py3-$_pyname"
pkgver=0.7
pkgrel=0
arch='noarch'
pkgdesc="Simple, modern file watching and code reload in python"
url="https://pypi.python.org/project/${_pyname}"
license="MIT"
depends='python3'
makedepends='py3-setuptools'
options="!check"
source="${pkgname}-${pkgver}.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-${pkgver}.tar.gz"
builddir="$srcdir"/$_pyname-$pkgver
build() {
cd "$builddir"
python3 setup.py build
}
package() {
cd "$builddir"
python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
sha512sums="
1278b6046172853bfa8a4e9bff4bb6aa72dc881e0e068975ccb5251f47130de6aa06affa49eae53cc61e08caa4f68c1788551143da2f4b2ebea143bb39297c94 py3-watchgod-0.7.tar.gz
"