aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-watchdog/APKBUILD
blob: f8b7cd9af9ea2bd98dc1054435aad19ab789e0eb (plain) (blame)
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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-watchdog
_pkgname=watchdog
pkgver=1.0.2
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() {
	python3 setup.py build
}

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

sha512sums="befcbe9a9ad233282809db6427a8b350a91cee3f7ec1b33f38706b732ef52f6d2cfb4de404d6f65b120de522934a8e8b6a9cbf6b0e847718f9d37876fb610985  watchdog-1.0.2.tar.gz"