Date: Thursday, February 13, 2020 @ 17:22:34 Author: jelle Revision: 570653
archrelease: copy trunk to community-any Added: python-pyinotify/repos/community-any/PKGBUILD (from rev 570652, python-pyinotify/trunk/PKGBUILD) Deleted: python-pyinotify/repos/community-any/PKGBUILD ----------+ PKGBUILD | 84 +++++++++++++++++++++---------------------------------------- 1 file changed, 29 insertions(+), 55 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-02-13 17:22:29 UTC (rev 570652) +++ PKGBUILD 2020-02-13 17:22:34 UTC (rev 570653) @@ -1,55 +0,0 @@ -# Maintainer: Thomas Dziedzic < gostrc at gmail > -# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> -# Contributor: Evangelos Foutras <foutre...@gmail.com> - -pkgname=('python-pyinotify' 'python2-pyinotify') -pkgver=0.9.6 -pkgrel=6 -pkgdesc='Python module used for monitoring filesystems events on Linux platforms with inotify.' -arch=('any') -url="https://github.com/seb-m/pyinotify" -license=('custom:MIT') -makedepends=('python' 'python2') -source=("https://github.com/seb-m/pyinotify/archive/${pkgver}.tar.gz") -md5sums=('33f4e599c22a3ac31b684335b4a535a0') - -build() { - cp -r $srcdir/pyinotify-$pkgver $srcdir/pyinotify2-$pkgver - - cd $srcdir/pyinotify2-$pkgver - - python2 setup.py build - - cd $srcdir/pyinotify-$pkgver - - python3 setup.py build -} - -package_python-pyinotify() { - depends=('python') - - cd $srcdir/pyinotify-$pkgver - - python3 setup.py install --root=${pkgdir} -O1 - - install -d ${pkgdir}/usr/share/licenses/python-pyinotify - install -m644 COPYING \ - ${pkgdir}/usr/share/licenses/python-pyinotify -} - -package_python2-pyinotify() { - depends=('python2') - replaces=('pyinotify') - - cd $srcdir/pyinotify2-$pkgver - - sed \ - -e 's_#!/usr/bin/env python_&2_' \ - -i python2/pyinotify.py - - python2 setup.py install --root=${pkgdir} -O1 - - install -d ${pkgdir}/usr/share/licenses/python2-pyinotify - install -m644 COPYING \ - ${pkgdir}/usr/share/licenses/python2-pyinotify -} Copied: python-pyinotify/repos/community-any/PKGBUILD (from rev 570652, python-pyinotify/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-02-13 17:22:34 UTC (rev 570653) @@ -0,0 +1,29 @@ +# Maintainer: Thomas Dziedzic < gostrc at gmail > +# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> +# Contributor: Evangelos Foutras <foutre...@gmail.com> + +pkgname=python-pyinotify +pkgver=0.9.6 +pkgrel=7 +pkgdesc='Python module used for monitoring filesystems events on Linux platforms with inotify.' +arch=('any') +url="https://github.com/seb-m/pyinotify" +license=('custom:MIT') +depends=('python') +makedepends=('python') +source=("https://github.com/seb-m/pyinotify/archive/${pkgver}.tar.gz") +sha512sums=('144db691c1cdfd4e52b838b8ed839b8d50d84d26a91a59b7460c3170f58a1c96b3ce4f51e6273835835291781215a87b8f2d2d87d1abf012e4c14b2cd4b3f4cf') + +build() { + cd pyinotify-$pkgver + python3 setup.py build +} + +package() { + cd pyinotify-$pkgver + python3 setup.py install --root=${pkgdir} -O1 + + install -d ${pkgdir}/usr/share/licenses/python-pyinotify + install -m644 COPYING \ + ${pkgdir}/usr/share/licenses/python-pyinotify +}