ayaports/testing/py3-inotify-simple/APKBUILD

37 lines
923 B
Text
Raw Permalink Normal View History

2023-01-10 19:12:28 +00:00
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
2021-11-30 21:44:44 +00:00
2023-01-10 19:12:28 +00:00
pkgname=py3-inotify-simple
_pyname="inotify_simple"
2021-11-30 21:44:44 +00:00
pkgver=1.3.5
pkgrel=0
2023-08-11 19:49:05 +00:00
arch="noarch"
2023-01-10 19:12:28 +00:00
pkgdesc="A simple wrapper around inotify."
url="https://pypi.python.org/project/$_pyname"
license="BSD-2-Clause"
makedepends="
py3-setuptools
py3-gpep517
py3-wheel
py3-installer
"
2023-01-10 19:12:28 +00:00
options="!check" # No testsuite
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
2021-11-30 21:44:44 +00:00
builddir="$srcdir"/$_pyname-$pkgver
subpackages="$pkgname-pyc"
2021-11-30 21:44:44 +00:00
build() {
gpep517 build-wheel \
--wheel-dir dist \
--output-fd 3 3>&1 >&2
2021-11-30 21:44:44 +00:00
}
package() {
python3 -m installer -d "$pkgdir" \
dist/*.whl
2021-11-30 21:44:44 +00:00
}
2021-11-30 21:44:44 +00:00
sha512sums="
fa8048786e6d4771ca63d6a2cc3e4230ec68a2d6f4bf8ca5a06056d0d261a678c3769112796a4e6a0f9c6be7331a16c4a06283d0240debb6ab407cd86b460c49 py3-inotify-simple-1.3.5.tar.gz
"