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-inotifyrecursive
|
|
|
|
_pyname="inotifyrecursive"
|
2021-11-30 21:44:44 +00:00
|
|
|
pkgver=0.3.5
|
|
|
|
pkgrel=0
|
2023-08-11 19:49:05 +00:00
|
|
|
arch="noarch"
|
2021-11-30 21:44:44 +00:00
|
|
|
pkgdesc="Simple recursive inotify watches for Python"
|
2023-01-10 19:12:28 +00:00
|
|
|
url="https://pypi.python.org/project/$_pyname"
|
|
|
|
license="LGPL-3.0-only"
|
2023-08-30 17:55:18 +00:00
|
|
|
depends="
|
|
|
|
py3-inotify-simple
|
|
|
|
"
|
|
|
|
makedepends="
|
|
|
|
py3-setuptools
|
|
|
|
py3-gpep517
|
|
|
|
py3-installer
|
|
|
|
py3-wheel
|
|
|
|
"
|
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
|
2023-08-30 17:55:18 +00:00
|
|
|
subpackages="$pkgname-pyc"
|
2021-11-30 21:44:44 +00:00
|
|
|
|
|
|
|
build() {
|
2023-08-30 17:55:18 +00:00
|
|
|
gpep517 build-wheel \
|
|
|
|
--wheel-dir dist \
|
|
|
|
--output-fd 3 3>&1 >&2
|
2021-11-30 21:44:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2023-08-30 17:55:18 +00:00
|
|
|
python3 -m installer -d "$pkgdir" \
|
|
|
|
dist/*.whl
|
2021-11-30 21:44:44 +00:00
|
|
|
}
|
2023-08-30 17:55:18 +00:00
|
|
|
|
2021-11-30 21:44:44 +00:00
|
|
|
sha512sums="
|
|
|
|
23d37d1574dd8228d1905bb02ff9ae2ad56e7905482c004029c3d9f79f94da10a1255395df638dd356b69da787f4dc05d1f90eeb65d0abfedec71054c3fdc0ca py3-inotifyrecursive-0.3.5.tar.gz
|
|
|
|
"
|