diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-01-18 15:06:05 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-01-18 15:06:05 -0300 |
commit | 642290b30a7595b0a99abdb6221841e8838405d4 (patch) | |
tree | 1b833aa6369ca2b7c51740e19d26546626ccfd2a /pcr/python2-interruptingcow | |
parent | 747729f906c2e364cabef8015255cc11abe3219a (diff) | |
download | abslibre-642290b30a7595b0a99abdb6221841e8838405d4.tar.gz abslibre-642290b30a7595b0a99abdb6221841e8838405d4.tar.bz2 abslibre-642290b30a7595b0a99abdb6221841e8838405d4.zip |
python2-interruptingcow: add new package to [pcr]
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 +} |