From: Lucas Ramage <ramage.lucas@protonmail.com>
---
testing/cdist/APKBUILD | 24 ++++++++++++++++++------
1 file changed, 18 insertions(+), 6 deletions(-)
diff --git a/testing/cdist/APKBUILD b/testing/cdist/APKBUILD
index 65c0a8d0f7..7407b3bb7d 100644
--- a/testing/cdist/APKBUILD
+++ b/testing/cdist/APKBUILD
@@ -1,20 +1,32 @@
# Contributor: Lucas Ramage <ramage.lucas@protonmail.com>
# Maintainer: Lucas Ramage <ramage.lucas@protonmail.com>
pkgname=cdist
-pkgver=4.10.4
+pkgver=5.0.2
pkgrel=0
pkgdesc="A Usable Configuration Management System"
arch="noarch"
-url="https://www.nico.schottelius.org/software/cdist/"
+url="https://www.nico.schottelius.org/software/cdist"
options="!check"
license="GPL-3.0"
depends="python3"
-source="https://github.com/ungleich/${pkgname}/releases/download/4.10.4/${pkgname}-${pkgver}.tar.gz"
+giturl="https://code.ungleich.ch/ungleich-public/${pkgname}.git"
+makedepends="git make python3"
+builddir="${srcdir}/git"
+
+fetch() {
+ git clone "${giturl}" "${builddir}"
+ cd "${builddir}"
+ git checkout "tags/${pkgver}"
+}
+
+prepare() {
+ cd "${builddir}"
+ ./bin/build-helper version
+}
package() {
- ./bin/${pkgname} 2> /dev/null
- python3 setup.py build install --root="${pkgdir}"
+ export PATH="${PATH}:$(pwd -P)/bin"
+ python3 setup.py install --root="${pkgdir}"
find "$pkgdir" -type d -exec chmod 0755 {} \;
find "$pkgdir" -type f -exec chmod a+r {} \;
}
-sha512sums="19b6bd824352d77f331a2bb1bec83066fb328550249068c8037e47e9e51aba743d96119cffd5fcdefb99d1f69444fb7c608a563dfcbccfc3f2e2700fee103636 cdist-4.10.4.tar.gz"
--
2.21.0
---
Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org
Help: alpine-aports+help@lists.alpinelinux.org
---