diff options
-rw-r--r-- | testing/py-colorlog/APKBUILD | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/testing/py-colorlog/APKBUILD b/testing/py-colorlog/APKBUILD index 7dccd1c788..124c5b6c95 100644 --- a/testing/py-colorlog/APKBUILD +++ b/testing/py-colorlog/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=py-colorlog _pkgname=colorlog -pkgver=3.1.0 +pkgver=4.0.1 pkgrel=0 pkgdesc="A formatter for use with Python's logging module" url="https://github.com/borntyping/python-colorlog" @@ -10,13 +10,13 @@ arch="noarch" license="MIT" makedepends="python2-dev python3-dev py-setuptools" subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" -source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" -builddir="$srcdir"/$_pkgname-$pkgver +source="$_pkgname-$pkgver.tar.gz::https://github.com/borntyping/python-colorlog/archive/v$pkgver.tar.gz" +builddir="$srcdir"/python-$_pkgname-$pkgver build() { cd "$builddir" - python2 setup.py build || return 1 - python3 setup.py build || return 1 + python2 setup.py build + python3 setup.py build } package() { @@ -41,4 +41,4 @@ _py() { $python setup.py install --prefix=/usr --root="$subpkgdir" } -sha512sums="695d4161969862d35a9e604d6d43ce1b405516cfbdfd43e4ec3d335052068e94d3bde92e6b283201aed9f6ff79dbb3e4f7ebf7b28f1a6556d966f56e8ec92497 colorlog-3.1.0.tar.gz" +sha512sums="885813ddd660106ee28ffe37ab29d00707f6e755be25708fd0cf2bedd1e62eafa6275a65a1012c5f11d0fd7bc61a26cb3ae430436030cd861ae82a19cfbfd7a9 colorlog-4.0.1.tar.gz" |