arch-ppa/src/python-configshell-fb/PKGBUILD

32 lines
1.0 KiB
Bash
Raw Normal View History

2016-11-05 23:28:50 -04:00
# Contributor: Johannes Dewender arch at JonnyJD dot net
pkgname=('python-configshell-fb' 'python2-configshell-fb')
_pkgname=configshell-fb
2017-03-13 12:19:25 -04:00
pkgver=1.1.fb22
2016-11-05 23:28:50 -04:00
pkgrel=1
pkgdesc="python framework for building simple CLI applications (free branch)"
arch=('any')
url="https://github.com/agrover/configshell-fb"
license=('Apache')
options=()
makedepends=('python-setuptools' 'python2-setuptools')
source=(https://fedorahosted.org/releases/t/a/targetcli-fb/$_pkgname-$pkgver.tar.gz)
2017-03-13 12:19:25 -04:00
sha256sums=('a20b95791cdba6f7587869f4fa4337e8e4effbdec102ac6f7de349fe3b5bc612')
2016-11-05 23:28:50 -04:00
package_python-configshell-fb() {
depends=('python-pyparsing' 'python-urwid')
provides=('python-configshell')
conflicts=('python-configshell')
cd "$srcdir/$_pkgname-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1
}
package_python2-configshell-fb() {
depends=('python2-pyparsing' 'python2-urwid')
provides=('python2-configshell')
conflicts=('python2-configshell')
cd "$srcdir/$_pkgname-$pkgver"
python2 setup.py install --root="$pkgdir/" --optimize=1
}
# vim:set ts=2 sw=2 et: