summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormdraw <mdraw.gh@gmail.com>2016-12-21 16:40:36 +0100
committermdraw <mdraw.gh@gmail.com>2016-12-21 16:40:36 +0100
commit2494ff790a42e6eb18dace515b7f675843fece00 (patch)
tree73e7f474e297b548da305c800536cfa830d1eb96
parentb495173160d6294d0cb0e00c06b56ebfed7745da (diff)
Update to 2.10.0, fix python2 deps
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD13
2 files changed, 16 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d0b9a6d..562bafd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,22 @@
# Generated by mksrcinfo v8
-# Wed Sep 14 22:49:15 UTC 2016
+# Wed Dec 21 15:39:34 UTC 2016
pkgbase = python-colorlog
pkgdesc = Log formatting with colors
- pkgver = 2.7.0
- pkgrel = 2
+ pkgver = 2.10.0
+ pkgrel = 1
url = https://github.com/borntyping/python-colorlog
arch = any
license = MIT
makedepends = python-setuptools
+ makedepends = python2-setuptools
depends = python
conflicts = python-colorlog-git
- source = https://github.com/borntyping/python-colorlog/archive/2.7.0.tar.gz
- md5sums = a39a0ab37877a0b682f493f8ce23ad0b
+ source = https://github.com/borntyping/python-colorlog/archive/v2.10.0.tar.gz
+ md5sums = 90fc0b24808f4a9bea7c9936a6842d0e
pkgname = python-colorlog
pkgname = python2-colorlog
+ depends = python2
+ conflicts = python2-colorlog-git
diff --git a/PKGBUILD b/PKGBUILD
index 550fd0d..7fabf0a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,17 +2,17 @@
pkgbase='python-colorlog'
pkgname=('python-colorlog' 'python2-colorlog')
-pkgver='2.7.0'
-pkgrel=2
+pkgver='2.10.0'
+pkgrel=1
pkgdesc="Log formatting with colors"
arch=('any')
url='https://github.com/borntyping/python-colorlog'
license=('MIT')
depends=('python')
-makedepends=('python-setuptools')
+makedepends=('python-setuptools' 'python2-setuptools')
conflicts=('python-colorlog-git')
-source=("https://github.com/borntyping/python-colorlog/archive/${pkgver}.tar.gz")
-md5sums=('a39a0ab37877a0b682f493f8ce23ad0b')
+source=("https://github.com/borntyping/python-colorlog/archive/v${pkgver}.tar.gz")
+md5sums=('90fc0b24808f4a9bea7c9936a6842d0e')
package_python-colorlog() {
cd "${srcdir}/${pkgbase}-${pkgver}"
@@ -20,6 +20,9 @@ package_python-colorlog() {
}
package_python2-colorlog() {
+ depends=('python2')
+ conflicts=('python2-colorlog-git')
+
cd "${srcdir}/${pkgbase}-${pkgver}"
python2 setup.py install --root="${pkgdir}" --optimize=1
}