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

32 lines
1.1 KiB
Bash
Raw Normal View History

2017-04-02 01:19:02 -04:00
# Contributor: Johannes Dewender arch at JonnyJD dot net
2016-11-05 23:28:50 -04:00
pkgname=('python-configshell-fb' 'python2-configshell-fb')
_pkgname=configshell-fb
2019-03-03 20:21:14 -05:00
pkgver=1.1.fb25
2016-11-05 23:28:50 -04:00
pkgrel=1
pkgdesc="python framework for building simple CLI applications (free branch)"
arch=('any')
2017-04-02 01:19:02 -04:00
url="https://github.com/open-iscsi/configshell-fb"
2016-11-05 23:28:50 -04:00
license=('Apache')
options=()
makedepends=('python-setuptools' 'python2-setuptools')
2017-04-02 01:19:02 -04:00
source=(https://github.com/open-iscsi/configshell-fb/archive/v${pkgver}.tar.gz)
2019-03-03 20:21:14 -05:00
sha512sums=('7f0af5014600d148326b4692a84fcc388d3ea175a79566a5e3b1ede89d9dbc90be5f4b1481e69dd5654e88578b3732441a822e4d89cd0504d0ad3221d3a2f027')
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: