diff options
author | dai9ah <dai9ah@protonmail.com> | 2018-02-24 00:42:35 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-03-05 23:23:17 +0000 |
commit | 1e534120cc697ef8fb0418a5c01d55149cc4198a (patch) | |
tree | 88135c9b210dc8d684f3995b7a23578c2ee5b74a | |
parent | 57754407d083db542e9c1f3bea949a6f0b6c24aa (diff) | |
download | aports-1e534120cc697ef8fb0418a5c01d55149cc4198a.tar.bz2 aports-1e534120cc697ef8fb0418a5c01d55149cc4198a.tar.xz |
community/salt: try building with Python3
-rw-r--r-- | community/salt/APKBUILD | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/community/salt/APKBUILD b/community/salt/APKBUILD index 0664cc2ea7..00dece7dff 100644 --- a/community/salt/APKBUILD +++ b/community/salt/APKBUILD @@ -8,9 +8,9 @@ pkgdesc="A parallel remote execution system" url="https://github.com/saltstack/salt" arch="noarch" license="Apache-2.0" -depends="py2-tornado py2-yaml py2-jinja2 py2-markupsafe py2-msgpack py2-crypto py2-zmq - py2-six py2-requests py2-futures py2-pygit2 py2-dateutil procps" -makedepends="python2-dev py2-libcloud" +depends="py3-tornado py3-yaml py3-jinja2 py3-markupsafe py3-msgpack py3-crypto py3-zmq + py3-six py3-requests py3-pygit2 py3-dateutil procps" +makedepends="python3-dev py3-libcloud" subpackages="$pkgname-doc $pkgname-master $pkgname-minion $pkgname-syndic $pkgname-api $pkgname-cloud $pkgname-ssh" source="$pkgname-$pkgver.tar.gz::https://codeload.github.com/saltstack/$pkgname/tar.gz/v$pkgver @@ -28,13 +28,13 @@ builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" - python2 setup.py build || return 1 + python3 setup.py build || return 1 } package() { cd "$builddir" - python2 setup.py install --root="$pkgdir"/ --optimize=1 || return 1 + python3 setup.py install --root="$pkgdir"/ --optimize=1 || return 1 mkdir -p "$pkgdir"/var/log/$pkgname } @@ -80,7 +80,7 @@ api() { cloud() { pkgdesc="Cloud provisioner for Salt, a parallel remote execution system" - depends="$pkgname-master py2-libcloud" + depends="$pkgname-master py3-libcloud" _conf_copy cloud && _submv usr/bin/salt-cloud } |