summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7fba0f1528b8e34f2e1a5d3738c0870d8d684a13 (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
# Maintainer: Kevin M├Ąder <kmaeder<AT>kevin-maeder.de>

pkgname=python-reloader
pkgver=0.6
pkgrel=1
pkgdesc="Dependency-based Python module reloader"
arch=('any')
depends=('python')
makedepends=('python-setuptools')
url="https://github.com/jparise/python-reloader"
license=('MIT')
options=(!emptydirs)
source=(https://pypi.python.org/packages/source/r/${pkgname#python-}/${pkgname#python-}-$pkgver.tar.gz)
md5sums=('6709441b2dd9a4d22ef13b21d17a72fa')

build() {
  cd "$srcdir/${pkgname#python-}-$pkgver"

  msg2 'Building...'
  python setup.py build
}

package() {
  cd "$srcdir/${pkgname#python-}-$pkgver"

  msg2 'Installing...'
  python setup.py install --root="$pkgdir" --optimize=1
}