diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-07-01 08:29:12 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-07-01 08:33:35 +0000 |
commit | c3b447754c431ef69044750c1a65b613198df7ae (patch) | |
tree | 5d1d47ffedcc214fade5f5f0b28b6be54ba2301f /testing | |
parent | e16a5f4711d2c2237f7891a35220509693925aeb (diff) | |
download | aports-c3b447754c431ef69044750c1a65b613198df7ae.tar.bz2 aports-c3b447754c431ef69044750c1a65b613198df7ae.tar.xz |
testing/git-review: work with python3 and no longer with python2
Diffstat (limited to 'testing')
-rw-r--r-- | testing/git-review/APKBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/testing/git-review/APKBUILD b/testing/git-review/APKBUILD index 9f952b9589..2a04bf77c0 100644 --- a/testing/git-review/APKBUILD +++ b/testing/git-review/APKBUILD @@ -7,25 +7,25 @@ pkgdesc="A git command for submitting branches to Gerrit" url="https://github.com/openstack-infra/git-review" arch="noarch" license="APACHE2.0" -depends="git python2 py2-requests py2-idna py2-urllib3 py2-chardet py2-certifi" -makedepends="python2-dev py-setuptools" +depends="git python3 py3-requests py3-idna py3-urllib3 py3-chardet py3-certifi" +makedepends="python3-dev" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/openstack-infra/$pkgname/archive/$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" check() { cd "$builddir" - python2 setup.py check + python3 setup.py check } build() { cd "$builddir" - python2 setup.py build + python3 setup.py build } package() { cd "$builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" + python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="eadd4711166607b1cb9e3d0d41b2f17cd01f8706377d4585bb4433998d0e9f51d5deb08bb17928c2c193eb43ebbd03af4456457cc673c0629a041abff554682a git-review-1.25.0.tar.gz" |