blob: 1debd73985c9a3da2aa10c8ddb9c2a5abcc0f13c (
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
30
31
32
33
34
35
36
37
38
39
40
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py-watchdog
pkgver=0.8.3
pkgrel=0
pkgdesc="Python API and shell utilities to monitor file system events."
url="https://github.com/gorakhargosh/watchdog"
arch="noarch"
license="Apache 2.0"
depends="py-pathtools py-yaml py-argh"
depends_dev=""
makedepends="$depends_dev py-setuptools python2-dev"
install=""
subpackages=""
source="watchdog-$pkgver.tar.gz::https://github.com/gorakhargosh/watchdog/archive/v$pkgver.tar.gz"
_builddir="$srcdir"/watchdog-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python2 setup.py build || return 1
}
package() {
cd "$_builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="a5fbff6e21fb665381e4ae1afe3627f9 watchdog-0.8.3.tar.gz"
sha256sums="e9a27d0ab121fc86217ab833e778c76880aad4ecdb623796f4b7aee9925394ed watchdog-0.8.3.tar.gz"
sha512sums="a19b2d3bc7a2e42b23050acb0e1baf977b3a5025c6b08fa0491c7d4fd9e6a0270101c440653897467156c324b4942791a7725f044c6c9478352683e8808d8e40 watchdog-0.8.3.tar.gz"
|