void-packages/srcpkgs/python-watchdog/template
Maurizio Porrato e0db70a842 New package: python-watchdog 0.8.3
Closes: #10089 [via git-merge-pr]
2017-12-28 14:22:43 +01:00

29 lines
1,001 B
Bash

# 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
}
}