New package: python-watchdog 0.8.3

Closes: #10089 [via git-merge-pr]
This commit is contained in:
Maurizio Porrato 2017-10-21 00:14:27 +01:00 committed by Jürgen Buchmüller
parent 397e5cea56
commit e0db70a842
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,28 @@
# Template file for 'python-watchdog'
pkgname=python-watchdog
version=0.8.3
revision=1
wrksrc="watchdog-${version}"
build_style=python-module
pycompile_module="watchdog"
alternatives="watchdog:watchmedo:/usr/bin/watchmedo2"
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel"
depends="python-yaml python-argh python-pathtools"
short_desc="Python2 API and shell utilities to monitor file system events"
maintainer="Maurizio Porrato <maurizio.porrato@gmail.com>"
homepage="http://github.com/gorakhargosh/watchdog"
license="Apache-2.0"
distfiles="${PYPI_SITE}/w/watchdog/watchdog-${version}.tar.gz"
checksum=7e65882adb7746039b6f3876ee174952f8eaaa34491ba34333ddf1fe35de4162
python3-watchdog_package() {
pycompile_module="watchdog"
alternatives="watchdog:watchmedo:/usr/bin/watchmedo3"
depends="python3-yaml python3-argh python3-pathtools"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vmove usr/bin/watchmedo3
}
}

1
srcpkgs/python3-watchdog Symbolic link
View File

@ -0,0 +1 @@
python-watchdog