Date: Friday, December 4, 2015 @ 06:17:20 Author: fyan Revision: 148285
archrelease: copy trunk to community-any Added: python-watchdog/repos/community-any/PKGBUILD (from rev 148284, python-watchdog/trunk/PKGBUILD) Deleted: python-watchdog/repos/community-any/PKGBUILD ----------+ PKGBUILD | 112 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 54 insertions(+), 58 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-12-04 05:17:02 UTC (rev 148284) +++ PKGBUILD 2015-12-04 05:17:20 UTC (rev 148285) @@ -1,58 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Francois Boulogne <fboulogne at april dot org> - -pkgname=('python-watchdog' 'python2-watchdog') -pkgver=0.8.3 -pkgrel=3 -pkgdesc="Python API and shell utilities to monitor file system events." -arch=('any') -url="https://pypi.python.org/pypi/watchdog" -license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools' 'python-pathtools' 'python2-pathtools') -checkdepends=('python-pytest-cov' 'python2-pytest-cov' 'python-argh' 'python2-argh' - 'python-yaml' 'python2-yaml' 'python-pytest-timeout' 'python2-pytest-timeout') -source=(https://pypi.python.org/packages/source/w/watchdog/watchdog-${pkgver}.tar.gz) -sha256sums=('7e65882adb7746039b6f3876ee174952f8eaaa34491ba34333ddf1fe35de4162') - -prepare() { - cp -a watchdog-$pkgver{,-py2} -} - -build() { - cd "$srcdir/watchdog-$pkgver" - python setup.py build - - cd "$srcdir/watchdog-$pkgver-py2" - python2 setup.py build -} - -check() { - cd "$srcdir/watchdog-$pkgver" - python setup.py test - - cd "$srcdir/watchdog-$pkgver-py2" - python2 setup.py test -} - -package_python-watchdog() { - depends=('python-pathtools') - optdeps=('python-yaml: for watchmedo script' - 'python-argh: for watchmedo script') - - cd "$srcdir/watchdog-$pkgver" - python setup.py install --root="${pkgdir}" --optimize=1 -} - -package_python2-watchdog() { - depends=('python2-pathtools') - optdeps=('python2-yaml: for watchmedo script' - 'python2-argh: for watchmedo script') - - cd "$srcdir/watchdog-$pkgver-py2" - python2 setup.py install --root="${pkgdir}" --optimize=1 - - mv "$pkgdir/usr/bin/watchmedo"{,2} -} - -# vim:ts=2:sw=2:et: Copied: python-watchdog/repos/community-any/PKGBUILD (from rev 148284, python-watchdog/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-12-04 05:17:20 UTC (rev 148285) @@ -0,0 +1,54 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Francois Boulogne <fboulogne at april dot org> + +pkgname=('python-watchdog' 'python2-watchdog') +pkgver=0.8.3 +pkgrel=4 +pkgdesc="Python API and shell utilities to monitor file system events." +arch=('any') +url="https://pypi.python.org/pypi/watchdog" +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools' 'python-pathtools' 'python2-pathtools' + 'python-yaml' 'python2-yaml' 'python-argh' 'python2-argh') +checkdepends=('python-pytest-cov' 'python2-pytest-cov' 'python-pytest-timeout' 'python2-pytest-timeout') +source=(https://pypi.python.org/packages/source/w/watchdog/watchdog-${pkgver}.tar.gz) +sha256sums=('7e65882adb7746039b6f3876ee174952f8eaaa34491ba34333ddf1fe35de4162') + +prepare() { + cp -a watchdog-$pkgver{,-py2} +} + +build() { + cd "$srcdir/watchdog-$pkgver" + python setup.py build + + cd "$srcdir/watchdog-$pkgver-py2" + python2 setup.py build +} + +check() { + cd "$srcdir/watchdog-$pkgver" + python setup.py test + + cd "$srcdir/watchdog-$pkgver-py2" + python2 setup.py test +} + +package_python-watchdog() { + depends=('python-pathtools' 'python-yaml' 'python-argh') + + cd "$srcdir/watchdog-$pkgver" + python setup.py install --root="${pkgdir}" --optimize=1 +} + +package_python2-watchdog() { + depends=('python2-pathtools' 'python2-yaml' 'python2-argh') + + cd "$srcdir/watchdog-$pkgver-py2" + python2 setup.py install --root="${pkgdir}" --optimize=1 + + mv "$pkgdir/usr/bin/watchmedo"{,2} +} + +# vim:ts=2:sw=2:et: