diff options
author | Justin Berthault <justin.berthault@zaclys.net> | 2020-06-02 19:00:37 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-06-05 00:34:17 +0000 |
commit | 0b04bce70d781df1245cb9ae1ded3d00a46fb7f1 (patch) | |
tree | d13720e7892c319a95fe86be079c859c333b82bc | |
parent | 2303d85b2a2489a21800ed9516afc6331831efac (diff) | |
download | alpine_aports-0b04bce70d781df1245cb9ae1ded3d00a46fb7f1.tar.bz2 alpine_aports-0b04bce70d781df1245cb9ae1ded3d00a46fb7f1.tar.xz alpine_aports-0b04bce70d781df1245cb9ae1ded3d00a46fb7f1.zip |
community/py3-requests-oauthlib: upgrade to 1.3.0
-rw-r--r-- | community/py3-requests-oauthlib/APKBUILD | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/community/py3-requests-oauthlib/APKBUILD b/community/py3-requests-oauthlib/APKBUILD index d46be0c421..78b9bf132e 100644 --- a/community/py3-requests-oauthlib/APKBUILD +++ b/community/py3-requests-oauthlib/APKBUILD | |||
@@ -1,17 +1,16 @@ | |||
1 | # Maintainer: | 1 | # Maintainer: Justin Berthault <justin.berthault@zaclys.net> |
2 | pkgname=py3-requests-oauthlib | 2 | pkgname=py3-requests-oauthlib |
3 | _pkgname=requests-oauthlib | 3 | pkgver=1.3.0 |
4 | pkgver=1.2.0 | 4 | pkgrel=0 |
5 | pkgrel=1 | ||
6 | pkgdesc="First-class OAuth library support for Requests" | 5 | pkgdesc="First-class OAuth library support for Requests" |
7 | url="https://pypi.python.org/pypi/requests-oauthlib" | 6 | url="https://pypi.python.org/pypi/requests-oauthlib" |
8 | arch="noarch" | 7 | arch="noarch" |
9 | license="ISC" | 8 | license="ISC" |
10 | depends="python3 py3-oauthlib py3-requests" | 9 | depends="python3 py3-oauthlib py3-requests" |
11 | makedepends="py3-setuptools" | 10 | makedepends="py3-setuptools" |
12 | checkdepends="py3-mock py3-requests-mock" | 11 | checkdepends="py3-mock py3-requests-mock py3-tox" |
13 | source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" | 12 | source="https://files.pythonhosted.org/packages/source/r/requests-oauthlib/requests-oauthlib-$pkgver.tar.gz" |
14 | builddir="$srcdir/$_pkgname-$pkgver" | 13 | builddir="$srcdir/requests-oauthlib-$pkgver" |
15 | 14 | ||
16 | replaces="py-requests-oauthlib" # Backwards compatibility | 15 | replaces="py-requests-oauthlib" # Backwards compatibility |
17 | provides="py-requests-oauthlib=$pkgver-r$pkgrel" # Backwards compatibility | 16 | provides="py-requests-oauthlib=$pkgver-r$pkgrel" # Backwards compatibility |
@@ -21,11 +20,11 @@ build() { | |||
21 | } | 20 | } |
22 | 21 | ||
23 | check() { | 22 | check() { |
24 | python3 setup.py test | 23 | tox --sitepackages |
25 | } | 24 | } |
26 | 25 | ||
27 | package() { | 26 | package() { |
28 | python3 setup.py install --prefix=/usr --root="$pkgdir" | 27 | python3 setup.py install --prefix=/usr --root="$pkgdir" |
29 | } | 28 | } |
30 | 29 | ||
31 | sha512sums="531cbea898b692864134b83479b3a32b0455def8bbd0b808a118bd63d377c4056e8df9a4943fa4048e5b27e2628641d8818d3bbc71dde91522a3be163da1e719 requests-oauthlib-1.2.0.tar.gz" | 30 | sha512sums="7ef206aaf50cd3289f04175ff3a08022d00aeaaba57a6580912f37c30880322ec71ae9f6af7edc99efe6043fc6c19ba2c9f6fc0f29c126be28cde22bb885510d requests-oauthlib-1.3.0.tar.gz" |