diff options
author | prspkt <prspkt@protonmail.com> | 2019-06-16 21:20:52 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-06-16 22:30:21 +0300 |
commit | 5859b47f14ac7c501b06ba49f67e83a76ab2069d (patch) | |
tree | be2d8f9399d4b118045c46e29546c96ed6e43c2d /testing | |
parent | 3c6506314107561e8f6305a83ccaed89adb192f2 (diff) | |
download | aports-5859b47f14ac7c501b06ba49f67e83a76ab2069d.tar.bz2 aports-5859b47f14ac7c501b06ba49f67e83a76ab2069d.tar.xz |
testing/py-github3: upgrade to python3
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py3-github3/APKBUILD (renamed from testing/py-github3/APKBUILD) | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/testing/py-github3/APKBUILD b/testing/py3-github3/APKBUILD index c9de187f24..c97a5aab0a 100644 --- a/testing/py-github3/APKBUILD +++ b/testing/py3-github3/APKBUILD @@ -1,6 +1,6 @@ # Contributor: Fabian Affolter <fabian@affolter-engineering.ch> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> -pkgname=py-github3 +pkgname=py3-github3 _pkgname=github3.py pkgver=0.9.1 pkgrel=0 @@ -8,22 +8,26 @@ pkgdesc="Python wrapper for the GitHub API" url="https://github3py.readthedocs.org/" arch="noarch" license="BSD" -depends="python2 py-requests py-uritemplate" +depends="py3-dateutil py3-jwcrypto py3-requests py3-uritemplate" depends_dev="" -makedepends="python2-dev py-setuptools" +makedepends="py3-setuptools" install="" subpackages="" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" _builddir="$srcdir"/$_pkgname-$pkgver + +replaces="py-github3" # Backwards compatibility +provides="py-github3=$pkgver-r$pkgrel" # Backwards compatibility + build() { cd "$_builddir" - python2 setup.py build || return 1 + python3 setup.py build || return 1 } package() { cd "$_builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1 } md5sums="021890b36a21cf7d05c2ec8c7608eee9 github3.py-0.9.1.tar.gz" |