summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 11efb167d3002e0bfcd54ed026afe4111be2740a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# PKGBUILD generated by pipman
# Python package author: Michael Hudson-Doyle <micahel@gmail.com>
pkgname=python-pyrepl
pkgver=0.9.0
pkgrel=1
pkgdesc="A library for building flexible command line interfaces"
arch=(any)
url="http://bitbucket.org/pypy/pyrepl/"
license=(MIT X11 style)
makedepends=("python" "python-pip")
build() {
  pip install --no-deps --target="pyrepl" pyrepl==0.9.0
}
package() {
  sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
  mkdir -p $pkgdir/"$sitepackages"
  cp -r $srcdir/pyrepl/* $pkgdir/"$sitepackages"
}