diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2017-10-06 15:36:58 +0000 |
---|---|---|
committer | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2017-10-06 15:36:58 +0000 |
commit | c564e3e860555811b03e1bd93cea748d407dea46 (patch) | |
tree | 5bbf058a17a72fb3597eaed0ae1a7d27b2bacdf3 /testing/py-twiggy | |
parent | 7ce5321eff4ef00bdb6409ca2af66f31353d2675 (diff) | |
download | aports-c564e3e860555811b03e1bd93cea748d407dea46.tar.bz2 aports-c564e3e860555811b03e1bd93cea748d407dea46.tar.xz |
testing/py-twiggy: upgrade to 0.4.7 and modernize
Diffstat (limited to 'testing/py-twiggy')
-rw-r--r-- | testing/py-twiggy/APKBUILD | 28 |
1 files changed, 7 insertions, 21 deletions
diff --git a/testing/py-twiggy/APKBUILD b/testing/py-twiggy/APKBUILD index ab4d8d4f1f..36c69cfdf5 100644 --- a/testing/py-twiggy/APKBUILD +++ b/testing/py-twiggy/APKBUILD @@ -2,40 +2,26 @@ # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=py-twiggy _pkgname=Twiggy -pkgver=0.4.5 +pkgver=0.4.7 pkgrel=0 pkgdesc="A Pythonic logger" url="http://twiggy.wearpants.org" arch="noarch" license="BSD" depends="python2" -depends_dev="" makedepends="python2-dev py-setuptools" -install="" -subpackages="" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" -_builddir="$srcdir"/$_pkgname-$pkgver -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 -} +builddir="$srcdir/$_pkgname-$pkgver" build() { - cd "$_builddir" - python2 setup.py build || return 1 + cd "$builddir" + python2 setup.py build } package() { - cd "$_builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + cd "$builddir" + python2 setup.py install --prefix=/usr --root="$pkgdir" } -md5sums="b0dfbbb7f56342e448af4d22a47a339c Twiggy-0.4.5.tar.gz" -sha256sums="4e8f1894e5aee522db6cb245ccbfde3c5d1aa08d31330c7e3af783b0e66eec23 Twiggy-0.4.5.tar.gz" -sha512sums="72855bc3a9b25ba95787558b29565b6cf131a5eed5238062ee885d35e0e27a89b802083304a320a6638a96e0c0932c2c43ed4dea31dbc92492037d9ec56f45fd Twiggy-0.4.5.tar.gz" +sha512sums="5a0ccff78141a7fc122d5ad52c42b1520a6cd66fa6f64acc8c558b84a84374d9f50d05c15db44f36c7f037a1e67e9632df074dbaa97ad314b38aa034303879fa Twiggy-0.4.7.tar.gz" |