aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2020-04-04 16:49:58 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-05-06 14:14:31 +0000
commitb5b1818d9de2a6922ffc1b5a6c41287f3fda0fe1 (patch)
tree18e127437855f96251679dac173e67ab68665fbf
parentc622dede8bae2bea55a79331f5f3ef46ff26b56e (diff)
downloadaports-b5b1818d9de2a6922ffc1b5a6c41287f3fda0fe1.tar.gz
aports-b5b1818d9de2a6922ffc1b5a6c41287f3fda0fe1.tar.bz2
aports-b5b1818d9de2a6922ffc1b5a6c41287f3fda0fe1.tar.xz
testing/wok: upgrade to 3.0.0
-rw-r--r--testing/wok/APKBUILD27
1 files changed, 14 insertions, 13 deletions
diff --git a/testing/wok/APKBUILD b/testing/wok/APKBUILD
index 4920eb092e..8efcc7d78d 100644
--- a/testing/wok/APKBUILD
+++ b/testing/wok/APKBUILD
@@ -1,28 +1,26 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=wok
-pkgver=2.5.0
-pkgrel=2
+pkgver=3.0.0
+pkgrel=0
pkgdesc="Webserver of Kimchi - a cherrypy framework for multi-purpose plug-ins"
url="https://kimchi-project.github.io/wok/"
-arch=""
-license="Apache LGPL-2.1"
-depends="python2 nginx logrotate py-cherrypy py2-jsonschema
- py2-pyparted py2-pyldap py2-psutil py2-m2crypto py-cheetah
- py2-augeas py2-pam py2-functools32 py2-lxml py2-libvirt
+arch="noarch"
+license="Apache-2.0 AND LGPL-2.1-only"
+depends="python3 nginx logrotate py3-cherrypy py3-jsonschema
+ py3-pyparted py3-pyldap py3-psutil py3-m2crypto py-cheetah
+ py3-augeas py3-pam py3-lxml py3-libvirt py3-yaml
ttf-opensans ttf-font-awesome"
makedepends="automake autoconf libtool gettext-dev
- python2-dev pyflakes libxslt py-setuptools py2-websockify py2-mock"
-options="!check" # tests fail
+ python3-dev py3-pyflakes libxslt py3-setuptools websockify py3-mock"
+options="!check" # depends on jaraco
subpackages="$pkgname-lang $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/kimchi-project/wok/archive/$pkgver.tar.gz
wokd.initd
alpine-specific-pushserver.patch
alpine-specific-wokd.patch"
-builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$builddir"
sh ./autogen.sh --system
./configure \
--prefix=/usr \
@@ -32,14 +30,17 @@ build() {
make
}
+check() {
+ make check
+}
+
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
install -D -m755 "$srcdir"/wokd.initd \
"$pkgdir"/etc/init.d/wokd
}
-sha512sums="839fe4ac6b4dbeeaa11925e57f7291a2d9609c4c7f420fe1493e77705704908a88bddff883f188498591904ec5fb2119cb62c339ae9e20361139415685432863 wok-2.5.0.tar.gz
+sha512sums="d84336e4681ecf37f2625dbf4619b673e6236ef016bfc2e6b7046d4fe82c4eeb49a2223cddc94709fd24758cd5bb8a574806ef6faaaa513bc671e1c31bf5f2b6 wok-3.0.0.tar.gz
a05554686e0ea2d069a5b9e9b83f6aee678ed299269d86d1192ae417ba98fa8e727d55be8f396360c70846f549f46e64028956e5f7f5c50bbf5601f548c8bd71 wokd.initd
f257815edbd44baee4a3fbb680a8aa25a9804db1d2ef9326512dc7888c089c212d78e5b2cc7f6e28443dc64b10c7b7f4266e899570bcd2b25bc8bf6b4510a20d alpine-specific-pushserver.patch
eb7a9f61d40d7edb11cc451ef25b6b2b920be23ddab7477798592bfe8a2bce8c3be21ac3d75b00d4ed3d2817af779799889fdd906d50039dec00c0c677d2c30c alpine-specific-wokd.patch"