aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-colorlog
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-06-30 21:26:53 +0300
committerprspkt <prspkt@protonmail.com>2019-06-30 21:26:59 +0300
commit8c921be37dcd86acdae415a82b7aff7cf57ba826 (patch)
treeb1666357cd46f4920a1d16e48d7f83e90103f3a5 /testing/py-colorlog
parent41fe357772d63b67b374338dcb186180a0df69ce (diff)
downloadaports-8c921be37dcd86acdae415a82b7aff7cf57ba826.tar.bz2
aports-8c921be37dcd86acdae415a82b7aff7cf57ba826.tar.xz
testing/py-colorlog: drop python2
Diffstat (limited to 'testing/py-colorlog')
-rw-r--r--testing/py-colorlog/APKBUILD44
1 files changed, 0 insertions, 44 deletions
diff --git a/testing/py-colorlog/APKBUILD b/testing/py-colorlog/APKBUILD
deleted file mode 100644
index 0a0522157c..0000000000
--- a/testing/py-colorlog/APKBUILD
+++ /dev/null
@@ -1,44 +0,0 @@
-# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
-# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
-pkgname=py-colorlog
-_pkgname=colorlog
-pkgver=4.0.1
-pkgrel=1
-pkgdesc="A formatter for use with Python's logging module"
-url="https://github.com/borntyping/python-colorlog"
-arch="noarch"
-license="MIT"
-makedepends="python2-dev python3-dev py-setuptools"
-subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
-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
- python3 setup.py build
-}
-
-package() {
- mkdir -p "$pkgdir"
-}
-
-_py2() {
- replaces="$pkgname"
- _py python2
-}
-
-_py3() {
- _py python3
-}
-
-_py() {
- local python="$1"
- pkgdesc="$pkgdesc (for $python)"
- install_if="$pkgname=$pkgver-r$pkgrel $python"
-
- cd "$builddir"
- $python setup.py install --prefix=/usr --root="$subpkgdir"
-}
-
-sha512sums="885813ddd660106ee28ffe37ab29d00707f6e755be25708fd0cf2bedd1e62eafa6275a65a1012c5f11d0fd7bc61a26cb3ae430436030cd861ae82a19cfbfd7a9 colorlog-4.0.1.tar.gz"