diff options
Diffstat (limited to 'main/py-configshell/APKBUILD')
-rw-r--r-- | main/py-configshell/APKBUILD | 40 |
1 files changed, 11 insertions, 29 deletions
diff --git a/main/py-configshell/APKBUILD b/main/py-configshell/APKBUILD index 299357e2ee..e504979c76 100644 --- a/main/py-configshell/APKBUILD +++ b/main/py-configshell/APKBUILD @@ -1,42 +1,22 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=py-configshell _realname=configshell -pkgver=1.1_p4 +pkgver=1.1_p7 _ver=${pkgver/_rc/rc} _ver=${_ver/_p/.fb} -pkgrel=2 +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="AGPLv3" +license="AGPL3" depends="python" depends_dev="python-dev py-simpleparse py-urwid" makedepends="$depends_dev" install="" -subpackages= -source="http://dev.alpinelinux.org/archive/configshell/$_realname-$_ver.tar.gz" - -_giturl="https://github.com/agrover/configshell-fb" -_gittag=v$_ver - -_builddir="$srcdir"/$_realname - -snapshot() { - mkdir -p "$srcdir" - cd "${SRCDEST:-$srcdir}" - if ! [ -d $_realname-fb.git ]; then - git clone --bare $_giturl || return 1 - cd $_realname-fb.git - else - cd $_realname-fb.git - git fetch || return 1 - fi - - git archive --prefix=$_realname/ -o "$SRCDEST"/$_realname-$_ver.tar.gz $_gittag - scp "$SRCDEST"/$_realname-$_ver.tar.gz dev.alpinelinux.org:/archive/$_realname/ -} - +subpackages="" +source="https://github.com/agrover/configshell-fb/archive/v$_ver.tar.gz" +_builddir="$srcdir"/$_realname-fb-$_ver prepare() { local i cd "$_builddir" @@ -49,12 +29,14 @@ prepare() { build() { cd "$_builddir" - python setup.py build + python setup.py build || return 1 } package() { cd "$_builddir" - python setup.py install --skip-build --root="$pkgdir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 } -md5sums="69abc1134f16a14d481518a5378cf1b1 configshell-1.1.fb4.tar.gz" +md5sums="c14768baf1216f2ce272d7a9e261909c v1.1.fb7.tar.gz" +sha256sums="ab5576b7c4ff91390aea0b1edb7de5eada209da054022a10e8eab71252e2dc55 v1.1.fb7.tar.gz" +sha512sums="1fa8eed68c3bfa261dcb1ad7d724844bf1845f11fe8fa1587972e2cd6aa91750504e3438cc9b349c382b590bfe54e1ffbc616aa76927e32c4651123f6f756e37 v1.1.fb7.tar.gz" |