summaryrefslogtreecommitdiff
path: root/pcr/python2-interruptingcow/PKGBUILD
blob: 1febdd959fc41a4ea84c983dbd4e75c21054e105 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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>
# Maintainers: Parabola hackers <dev@lists.parabola.nu>

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
}