blob: 5d3cec3b0d4c8b73973ada035b4870210a4eba2f (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=py-configshell
_realname=configshell
pkgver=1.1_p8
_ver=${pkgver/_rc/rc}
_ver=${_ver/_p/.fb}
pkgrel=0
pkgdesc="Python library that provides a framework for building simple but nice CLI-based applications"
url="https://github.com/agrover/configshell-fb"
arch="noarch"
license="AGPL3"
depends="python"
depends_dev="python-dev py-simpleparse py-urwid"
makedepends="$depends_dev"
install=""
subpackages=""
source="$_realname-fb-$_ver.tar.gz::https://github.com/agrover/configshell-fb/archive/v$_ver.tar.gz"
_builddir="$srcdir"/$_realname-fb-$_ver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="1ad1f82df8d3199a28042921bd7516d2 configshell-fb-1.1.fb8.tar.gz"
sha256sums="1704c909d34dc3b364ba806c3cb2937fde9c34e21df5aaf40d36c0f612b762de configshell-fb-1.1.fb8.tar.gz"
sha512sums="f2f5e3d8ddba0d9377673fd8ec4d6840ec61589860bbcc964c0980fc43d44a64157de2a32fde58875f6d4bd923cab56da480409548a431d87d001dd26953c5ad configshell-fb-1.1.fb8.tar.gz"
|