diff options
Diffstat (limited to 'pcr/python2-interruptingcow')
-rw-r--r-- | pcr/python2-interruptingcow/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pcr/python2-interruptingcow/PKGBUILD b/pcr/python2-interruptingcow/PKGBUILD new file mode 100644 index 000000000..a8f16a8e7 --- /dev/null +++ b/pcr/python2-interruptingcow/PKGBUILD @@ -0,0 +1,32 @@ +# Mantainer (Arch): Ivan Pulido <ijpulidos[AT]riseup.net> +# Contributor (Arch): Thomas Dziedzic < gostrc at gmail > +# Contributor (Arch): Paulo Matias <matias@archlinux-brĀ·org> +# Contributor (Arch): Rafael G. Martins <rafael@rafaelmartins.com> + +pkgname=python2-interruptingcow +pkgver=0.6 +pkgrel=1 +pkgdesc='Python watchdog that interrupts long running code' +arch=('any') +url='https://pypi.python.org/pypi/interruptingcow' +license=('MIT') +depends=('python2') +source=("https://pypi.python.org/packages/source/i/interruptingcow/interruptingcow-${pkgver}.tar.gz") +md5sums=('f31b238e72ce40239dd2275ccb73945f') + +build() { + cd interruptingcow-${pkgver} + + python2 setup.py build +} + +package() { + cd interruptingcow-${pkgver} + + python2 setup.py install \ + --root ${pkgdir} \ + --optimize=1 + + install -D -m644 LICENSE.txt \ + ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} |