aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Owens <ndowens04@gmail.com>2019-10-23 20:58:09 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-11-12 15:43:23 +0000
commit6c9fcb080b97ac9f9fd69d72c06a077b10c1f05d (patch)
tree58d35a9edcecd7df4ba6e50fb15fde9f69b6dcf5
parent9e031876aebd6903597624b797969fc29c1a6001 (diff)
downloadaports-6c9fcb080b97ac9f9fd69d72c06a077b10c1f05d.tar.gz
aports-6c9fcb080b97ac9f9fd69d72c06a077b10c1f05d.tar.bz2
aports-6c9fcb080b97ac9f9fd69d72c06a077b10c1f05d.tar.xz
main/supervisor: upgrade 4.1.0
Set to only python3
-rw-r--r--main/supervisor/APKBUILD19
1 files changed, 7 insertions, 12 deletions
diff --git a/main/supervisor/APKBUILD b/main/supervisor/APKBUILD
index 0a219ec20b..cfe839a0b8 100644
--- a/main/supervisor/APKBUILD
+++ b/main/supervisor/APKBUILD
@@ -1,44 +1,39 @@
# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
# Maintainer:
pkgname=supervisor
-pkgver=3.3.5
+pkgver=4.1.0
pkgrel=0
pkgdesc="A system for controlling process state under UNIX"
url="http://supervisord.org"
arch="noarch"
license="BSD"
-depends="python2 py-meld3 py-setuptools"
+depends="python3 py3-meld3 py3-setuptools"
makedepends="$depends_dev"
-source="$pkgname-$pkgver.tar.gz::https://github.com/Supervisor/$pkgname/archive/$pkgver.tar.gz
+source="$pkgname-$pkgver.tar.gz::https://github.com/Supervisor/supervisor/archive/$pkgver.tar.gz
supervisord.conf
supervisord.initrd
supervisord.logrotate"
-builddir="$srcdir/$pkgname-$pkgver"
-
# secfixes:
# 3.2.4-r0:
# - CVE-2017-11610
build() {
- cd "$builddir"
- python2 setup.py build
+ python3 setup.py build
}
check() {
- cd "$builddir"
- python2 setup.py test
+ python3 setup.py test
}
package() {
- cd "$builddir"
- python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+ python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
install -Dm600 "$srcdir/supervisord.conf" "$pkgdir/etc/supervisord.conf"
install -Dm755 "$srcdir/supervisord.initrd" "$pkgdir/etc/init.d/supervisord"
install -Dm644 "$srcdir/supervisord.logrotate" "$pkgdir/etc/logrotate.d/supervisord"
}
-sha512sums="b2f3971db2cc5f8316232cd987e03d30be3e426cdf9042e6a32d2777e93a9ea6b4842e617ad5756cf9a51bd129d18915be33ed98db8aaee626afc9757e934b87 supervisor-3.3.5.tar.gz
+sha512sums="da518db7785fa368cf398cd7268a37561030268c413b7583a8917d70231f2e93810e7de9013219fffccaa9a86e1143345ffc0f3ceef7ee72205e3c496e779cd1 supervisor-4.1.0.tar.gz
ce99b46b2f9112ed89d96a5d4844f91af1fc560d9db00291600e114f7e5a0ae7e5257e2240468669499275fe918d149f56359ce427628dff46b32d57e64f1052 supervisord.conf
7f7c51239c2360c4d03e1167e90650e0474ce8a0ca79c5d491f5f04a78eb95c343ed25d81983cde2f82535420e9b663cde532665114124b06a98fd7d08410416 supervisord.initrd
881fd0893280cb5053f56128838af51b6c79d715559e7b04a268102fd7b6121c99ff4411ed7f443f21232146925d40e1fbe269e5fcefa3f86fa35ba9d3625193 supervisord.logrotate"