blob: 940fc15abd2fd115e2f58ef595bdbd6af924d0b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py3-inotify
_pkgname=pyinotify
pkgver=0.9.6
pkgrel=6
pkgdesc="Linux filesystem events monitoring"
options="!check" # No testsuite
url="http://pypi.python.org/pypi/pyinotify"
arch="all !aarch64" # Unsupported architecture
license="MIT"
makedepends="py3-setuptools python3-dev"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
force-c-ext.patch
"
builddir="$srcdir"/$_pkgname-$pkgver
replaces="py-inotify" # Backwards compatibility
provides="py-inotify=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="b52de43293b06b32236e90b7c33fac061f3095cd7d4aecec89a099d56020db1a85440ab9dcc8b521238c001fc49a1f37d1b16d621bc1acab4d7273aebcaadbc5 pyinotify-0.9.6.tar.gz
28fe821c7fd4edf5f359c2d6026bfe95477ed167ea6948b3785d3c1708513c0e038dd4d9f3988a26c02c43bfaac9acb0357ee7edd6d5b0b7ae6c40000e31c485 force-c-ext.patch"
|