testing/py3-inotifyrecursive: move from user
This commit is contained in:
parent
c13dff94c5
commit
f38b6ca78c
1 changed files with 16 additions and 4 deletions
|
@ -9,19 +9,31 @@ arch="noarch"
|
|||
pkgdesc="Simple recursive inotify watches for Python"
|
||||
url="https://pypi.python.org/project/$_pyname"
|
||||
license="LGPL-3.0-only"
|
||||
depends="py3-inotify-simple"
|
||||
makedepends="py3-setuptools"
|
||||
depends="
|
||||
py3-inotify-simple
|
||||
"
|
||||
makedepends="
|
||||
py3-setuptools
|
||||
py3-gpep517
|
||||
py3-installer
|
||||
py3-wheel
|
||||
"
|
||||
options="!check" # No testsuite
|
||||
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
|
||||
builddir="$srcdir"/$_pyname-$pkgver
|
||||
subpackages="$pkgname-pyc"
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
package() {
|
||||
PYTHONHASHSEED=0 python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build --prefix=/usr
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
23d37d1574dd8228d1905bb02ff9ae2ad56e7905482c004029c3d9f79f94da10a1255395df638dd356b69da787f4dc05d1f90eeb65d0abfedec71054c3fdc0ca py3-inotifyrecursive-0.3.5.tar.gz
|
||||
"
|
Loading…
Reference in a new issue