aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2018-12-17 16:11:48 +0000
committerAndy Postnikov <apostnikov@gmail.com>2018-12-21 03:24:15 +0200
commitc3c19416c98ebc867c3b3ea22e1cc004de8580b6 (patch)
treec693f484fbcf9a8247c7d4f733b3753fabd3ccf0
parent891d1346af2feb11a5e4453c1e7eb1c5a1621472 (diff)
downloadaports-c3c19416c98ebc867c3b3ea22e1cc004de8580b6.tar.bz2
aports-c3c19416c98ebc867c3b3ea22e1cc004de8580b6.tar.xz
testing/py-colorlog: upgrade to 4.0.1
-rw-r--r--testing/py-colorlog/APKBUILD12
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"