diff options
author | prspkt <prspkt@protonmail.com> | 2019-06-15 00:42:09 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-06-15 00:42:26 +0300 |
commit | befb362f523c0e6d371b73172d0c7749b94477c4 (patch) | |
tree | 63b4574e8373eccaa0e41471d8fa030a78f4139b /testing/py3-twiggy | |
parent | 8749dea3f486170a88b0698e66c28066f19c4716 (diff) | |
download | aports-befb362f523c0e6d371b73172d0c7749b94477c4.tar.bz2 aports-befb362f523c0e6d371b73172d0c7749b94477c4.tar.xz |
testing/py-twiggy: upgrade to python3
Diffstat (limited to 'testing/py3-twiggy')
-rw-r--r-- | testing/py3-twiggy/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/py3-twiggy/APKBUILD b/testing/py3-twiggy/APKBUILD new file mode 100644 index 0000000000..4d20cfa839 --- /dev/null +++ b/testing/py3-twiggy/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py3-twiggy +_pkgname=Twiggy +pkgver=0.4.7 +pkgrel=0 +pkgdesc="A Pythonic logger" +url="http://twiggy.wearpants.org" +arch="noarch" +license="BSD" +depends="python3" +makedepends="py3-setuptools" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" + +builddir="$srcdir/$_pkgname-$pkgver" + +replaces="py-twiggy" # Backwards compatibility +provides="py-twiggy=$pkgver-r$pkgrel" # Backwards compatibility + +build() { + cd "$builddir" + python3 setup.py build +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="5a0ccff78141a7fc122d5ad52c42b1520a6cd66fa6f64acc8c558b84a84374d9f50d05c15db44f36c7f037a1e67e9632df074dbaa97ad314b38aa034303879fa Twiggy-0.4.7.tar.gz" |