diff options
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | PKGBUILD | 18 |
3 files changed, 16 insertions, 14 deletions
@@ -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 185bcd5f80fc..22f347a4d877 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ /python-configfile /*.pkg.tar.xz -/*.src.tar.gz +/*.tar.gz /*.tar.bz2 @@ -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 } |