2014-05-03 15:54:55 +00:00
|
|
|
# Contributor: Johannes Dewender arch at JonnyJD dot net
|
2014-10-02 00:23:54 +00:00
|
|
|
pkgname=('python-configshell-fb' 'python2-configshell-fb')
|
2014-05-03 15:54:55 +00:00
|
|
|
_pkgname=configshell-fb
|
2014-10-02 00:23:54 +00:00
|
|
|
pkgver=1.1.fb15
|
|
|
|
pkgrel=3
|
2014-05-03 15:54:55 +00:00
|
|
|
pkgdesc="python framework for building simple CLI applications (free branch)"
|
2014-10-02 03:25:47 +00:00
|
|
|
makedepends=('python-setuptools' 'python2-setuptools')
|
2014-05-03 15:54:55 +00:00
|
|
|
arch=('any')
|
|
|
|
url="https://github.com/agrover/configshell-fb"
|
|
|
|
license=('Apache')
|
|
|
|
options=()
|
|
|
|
source=(https://fedorahosted.org/releases/t/a/targetcli-fb/$_pkgname-$pkgver.tar.gz)
|
2014-10-02 00:23:54 +00:00
|
|
|
sha256sums=('7e645509acff3e92d4b824be48cdca1ba059e94ae9f9e0bdedd5829c310518d9')
|
2014-05-03 15:54:55 +00:00
|
|
|
|
2014-10-02 00:23:54 +00:00
|
|
|
package_python-configshell-fb() {
|
|
|
|
depends=('python-pyparsing' 'python-urwid')
|
|
|
|
provides=('python-configshell')
|
|
|
|
conflicts=('python-configshell')
|
2014-05-03 15:54:55 +00:00
|
|
|
cd "$srcdir/$_pkgname-$pkgver"
|
2014-10-02 00:23:54 +00:00
|
|
|
python setup.py install --root="$pkgdir/" --optimize=1
|
2014-05-03 15:54:55 +00:00
|
|
|
}
|
|
|
|
|
2014-10-02 00:23:54 +00:00
|
|
|
package_python2-configshell-fb() {
|
|
|
|
depends=('python2-pyparsing' 'python2-urwid')
|
|
|
|
provides=('python2-configshell')
|
|
|
|
conflicts=('python2-configshell')
|
2014-05-03 15:54:55 +00:00
|
|
|
cd "$srcdir/$_pkgname-$pkgver"
|
2014-10-02 00:23:54 +00:00
|
|
|
python2 setup.py install --root="$pkgdir/" --optimize=1
|
2014-05-03 15:54:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# vim:set ts=2 sw=2 et:
|