blob: f6b94c62c21329bc6fe4eef353590cef023906e3 (
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
|
# This is based on https://aur.archlinux.org/packages/pyrepl/, and modified
# to use the Mercurial repository, since there has not been a release for a
# long time.
pkgname=python-pyrepl-git
_realpkg=pyrepl
pkgver=0.9.0.29.g73bf331
pkgrel=1
pkgdesc="A Python library for building flexible command line interfaces"
url="https://github.com/blueyed/pyrepl"
arch=("any")
license=('MIT')
depends=('python')
conflicts=('python-pyrepl' 'python-pyrepl-hg')
provides=('python-pyrepl' 'python-pyrepl-hg')
source=("git+https://github.com/pypy/pyrepl")
md5sums=('SKIP')
makedepends=('git' 'python')
pkgver() {
cd "$_realpkg"
git describe --tags | sed 's/^v//;s/-/./g'
}
package() {
cd "$srcdir/$_realpkg"
python setup.py install --root="$pkgdir/" --optimize=1
}
# vim:set ts=2 sw=2 et:
|