From e0db70a842bffe45331fd41634f7bfedf0632d30 Mon Sep 17 00:00:00 2001 From: Maurizio Porrato Date: Sat, 21 Oct 2017 00:14:27 +0100 Subject: [PATCH] New package: python-watchdog 0.8.3 Closes: #10089 [via git-merge-pr] --- srcpkgs/python-watchdog/template | 28 ++++++++++++++++++++++++++++ srcpkgs/python3-watchdog | 1 + 2 files changed, 29 insertions(+) create mode 100644 srcpkgs/python-watchdog/template create mode 120000 srcpkgs/python3-watchdog diff --git a/srcpkgs/python-watchdog/template b/srcpkgs/python-watchdog/template new file mode 100644 index 00000000000..36e8e9172ea --- /dev/null +++ b/srcpkgs/python-watchdog/template @@ -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 " +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 + } +} diff --git a/srcpkgs/python3-watchdog b/srcpkgs/python3-watchdog new file mode 120000 index 00000000000..f2ff325c16c --- /dev/null +++ b/srcpkgs/python3-watchdog @@ -0,0 +1 @@ +python-watchdog \ No newline at end of file