summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorten Linderud2017-09-04 12:09:32 +0200
committerMorten Linderud2017-09-04 12:09:32 +0200
commitb0ca02fb5e9de578ed837c8eaa864f34b86cb3f2 (patch)
tree86e0505b49db71c0166189dcd30723cf99383ee6
parent8729bde659301c6b321670059edd55edeb111e8b (diff)
downloadaur-b0ca02fb5e9de578ed837c8eaa864f34b86cb3f2.tar.gz
upgpkg: python-anyconfig 0.9.3-3
Added anyconfig again Signed-off-by: Morten Linderud <morten@linderud.pw>
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD4
2 files changed, 7 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 842e521e83a6..13f230cdeabb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Thu Aug 3 13:54:25 UTC 2017
+# Mon Sep 4 10:09:35 UTC 2017
pkgbase = python-anyconfig
pkgdesc = Generic access to configuration files in any formats (to be in the future)
pkgver = 0.9.3
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/ssato/python-anyconfig
arch = any
license = MIT
@@ -15,6 +15,8 @@ pkgbase = python-anyconfig
sha256sums = f6a65fa80c5a8718e9b2aebd23395db4df31aa02e965c9aca6b110c4b1f762c6
pkgname = python-anyconfig
+ depends = python
pkgname = python2-anyconfig
+ depends = python2
diff --git a/PKGBUILD b/PKGBUILD
index d4b51dc36848..13c486706ca2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgbase="python-anyconfig"
pkgname=("python-anyconfig" "python2-anyconfig")
pkgver=0.9.3
-pkgrel=2
+pkgrel=3
pkgdesc='Generic access to configuration files in any formats (to be in the future)'
url='https://github.com/ssato/python-anyconfig'
arch=('any')
@@ -19,11 +19,13 @@ build() {
}
package_python-anyconfig() {
+ depends=('python')
cd "${srcdir}/${pkgbase}-RELEASE_${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
package_python2-anyconfig() {
+ depends=('python2')
cd "${srcdir}/${pkgbase}-RELEASE_${pkgver}"
python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
mv "${pkgdir}/usr/bin/anyconfig_cli" "${pkgdir}/usr/bin/anyconfig_cli2"