summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDario Giovannetti2018-11-14 00:44:28 +0800
committerDario Giovannetti2018-11-14 00:44:28 +0800
commitca55837770c1680e4ed2e659db4ef06759d3815c (patch)
tree24af896e1b5760c1f18a755a18c5ab56d20e75be
parente0f16e9eb3cccb6d7312f1656126d043ee680ba3 (diff)
downloadaur-ca55837770c1680e4ed2e659db4ef06759d3815c.tar.gz
Update for 1.2.4
-rw-r--r--.SRCINFO10
-rw-r--r--.gitignore2
-rw-r--r--PKGBUILD18
3 files changed, 16 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f891a7a231b..0b2c92eedc0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = python-configfile
pkgdesc = Python library for dynamically parsing and editing configuration files with support for subsections.
- pkgver = 1.2.2
- pkgrel = 2
+ pkgver = 1.2.4
+ pkgrel = 1
url = https://kynikos.github.io/lib.py.configfile
arch = any
- license = GPL3
+ license = MIT
depends = python
- source = http://downloads.sourceforge.net/project/kynikos/lib.py.configfile/python-configfile-1.2.2.tar.bz2
- sha256sums = 213daeba91a026185e47b7f3fe2827b1c162cf9fa619744b98ef197de9e0ef96
+ source = https://files.pythonhosted.org/packages/source/c/configfile/configfile-1.2.4.tar.gz
+ sha256sums = 3cb441db800c7a1c3d265e8f63b0a568b0a55150479984e99561f6adb9268c51
pkgname = python-configfile
diff --git a/.gitignore b/.gitignore
index 185bcd5f80f..22f347a4d87 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,4 @@
/python-configfile
/*.pkg.tar.xz
-/*.src.tar.gz
+/*.tar.gz
/*.tar.bz2
diff --git a/PKGBUILD b/PKGBUILD
index eb13fbd3e22..9abff550d3a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,17 +1,19 @@
# Maintainer: Dario Giovannetti <dev at dariogiovannetti dot net>
-pkgname='python-configfile'
-pkgver='1.2.2'
-pkgrel=2
+_name='configfile'
+
+pkgname="python-${_name}"
+pkgver='1.2.4'
+pkgrel=1
pkgdesc="Python library for dynamically parsing and editing configuration files with support for subsections."
arch=('any')
url="https://kynikos.github.io/lib.py.configfile"
-license=('GPL3')
+license=('MIT')
depends=('python')
-source=("http://downloads.sourceforge.net/project/kynikos/lib.py.configfile/$pkgname-$pkgver.tar.bz2")
-sha256sums=('213daeba91a026185e47b7f3fe2827b1c162cf9fa619744b98ef197de9e0ef96')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha256sums=('3cb441db800c7a1c3d265e8f63b0a568b0a55150479984e99561f6adb9268c51')
package() {
- cd "$srcdir/$pkgname-$pkgver"
- python setup.py install --root="$pkgdir" --optimize=1
+ cd "${srcdir}/${_name}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1
}