summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortocic <tocic@protonmail.ch>2018-05-29 10:38:56 +0300
committertocic <tocic@protonmail.ch>2018-05-29 10:38:56 +0300
commit45c684be4c56c62930e971baa6fbd631ac2947fe (patch)
tree0a97de8bd1e267981cb89c5c73c024786f4092c6
parentb2d994e00f9e0b02da12f36c80c0f0b06348e0b5 (diff)
3.1.4-1
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD31
2 files changed, 21 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3178ec2..fa039d5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = python-colorlog
pkgdesc = Log formatting with colors
- pkgver = 3.1.0
- pkgrel = 3
+ pkgver = 3.1.4
+ pkgrel = 1
url = https://github.com/borntyping/python-colorlog
arch = any
license = MIT
makedepends = python-setuptools
makedepends = python2-setuptools
- source = https://github.com/borntyping/python-colorlog/archive/v3.1.0.tar.gz
- sha256sums = e766265cf249947f1690d5d7f4fe566a2d48a86640f6777374671aa05f6214b8
+ source = python-colorlog-3.1.4.tar.gz::https://github.com/borntyping/python-colorlog/archive/v3.1.4.tar.gz
+ sha256sums = 14a0eb39242354340955560d92d021b260580d3986ecbb489995e944b248c840
pkgname = python-colorlog
depends = python
@@ -17,3 +17,4 @@ pkgname = python-colorlog
pkgname = python2-colorlog
depends = python2
conflicts = python2-colorlog-git
+
diff --git a/PKGBUILD b/PKGBUILD
index 91cee3c..b06ec14 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,33 @@
-# Maintainer: Pierre Neidhardt <ambrevar@gmail.com>
+# Maintainer: tocic <tocic at protonmail dot ch>
+# Contributor: Pierre Neidhardt <ambrevar@gmail.com>
# Contributor: mdraw.gh at gmail dot com
pkgbase='python-colorlog'
pkgname=('python-colorlog' 'python2-colorlog')
-pkgver='3.1.0'
-pkgrel=3
+pkgver=3.1.4
+pkgrel=1
pkgdesc="Log formatting with colors"
arch=('any')
url='https://github.com/borntyping/python-colorlog'
license=('MIT')
makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://github.com/borntyping/python-colorlog/archive/v$pkgver.tar.gz")
-sha256sums=('e766265cf249947f1690d5d7f4fe566a2d48a86640f6777374671aa05f6214b8')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/borntyping/python-colorlog/archive/v$pkgver.tar.gz")
+sha256sums=('14a0eb39242354340955560d92d021b260580d3986ecbb489995e944b248c840')
package_python-colorlog() {
- depends=('python')
- conflicts=('python-colorlog-git')
+ depends=('python')
+ conflicts=('python-colorlog-git')
- cd "$srcdir/$pkgbase-$pkgver"
- python setup.py install --root="$pkgdir" --prefix=/usr --optimize=1
- install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/python-colorlog/LICENSE"
+ cd "$srcdir/$pkgbase-$pkgver"
+ python setup.py install --root="$pkgdir" --prefix=/usr --optimize=1
+ install -Dm644 ./LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
package_python2-colorlog() {
- depends=('python2')
- conflicts=('python2-colorlog-git')
+ depends=('python2')
+ conflicts=('python2-colorlog-git')
- cd "$srcdir/$pkgbase-$pkgver"
- python2 setup.py install --root="$pkgdir" --prefix=/usr --optimize=1
- install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/python2-colorlog/LICENSE"
+ cd "$srcdir/$pkgbase-$pkgver"
+ python2 setup.py install --root="$pkgdir" --prefix=/usr --optimize=1
+ install -Dm644 ./LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}