aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-watchdog/APKBUILD
blob: 75f34f4fc6cf00b770972b127a71624508633649 (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-watchdog
_pkgname=watchdog
pkgver=0.9.0
pkgrel=0
pkgdesc="Filesystem events monitoring"
url="https://github.com/gorakhargosh/watchdog"
arch="noarch"
license="Apache-2.0"
replaces="py-watchdog" # for backwards compatibility
provides="py-watchdog=$pkgver-r$pkgrel" # for backwards compatibility
depends="py3-pathtools py3-yaml py3-argh"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
        cd "$builddir"
        python3 setup.py build
}

package() {
        cd "$builddir"
        python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="7e7e6ffd292ef39f06fe3648024b8cce55c343802415b13fdac881838d78b33139264ba329d95b97ab74e85cd9c8da102e1985de1622b09d436d273195f3187c  watchdog-0.9.0.tar.gz"