python3-PyFxA: update to 0.7.1.
This commit is contained in:
parent
81228bed46
commit
a9d4218f75
1 changed files with 6 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python3-PyFxA'
|
# Template file for 'python3-PyFxA'
|
||||||
pkgname=python3-PyFxA
|
pkgname=python3-PyFxA
|
||||||
version=0.6.0
|
version=0.7.1
|
||||||
revision=2
|
revision=1
|
||||||
archs=noarch
|
archs=noarch
|
||||||
wrksrc="PyFxA-${version}"
|
wrksrc="PyFxA-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
|
@ -10,20 +10,20 @@ hostmakedepends="python3-setuptools"
|
||||||
depends="python3-setuptools python3-cryptography python3-six python3-requests
|
depends="python3-setuptools python3-cryptography python3-six python3-requests
|
||||||
python3-hawkauthlib python3-PyBrowserID"
|
python3-hawkauthlib python3-PyBrowserID"
|
||||||
# Missing package: responses
|
# Missing package: responses
|
||||||
checkdepends="$depends"
|
checkdepends="$depends python3-pyotp"
|
||||||
short_desc="Python3 library for interacting with Firefox Accounts"
|
short_desc="Python3 library for interacting with Firefox Accounts"
|
||||||
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||||
license="MPL-2.0"
|
license="MPL-2.0"
|
||||||
homepage="https://github.com/mozilla/PyFxA"
|
homepage="https://github.com/mozilla/PyFxA"
|
||||||
distfiles="${PYPI_SITE}/P/PyFxA/PyFxA-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/P/PyFxA/PyFxA-${version}.tar.gz"
|
||||||
checksum=d511b6f43a9445587c609a138636d378de76661561116e1f4259fcec9d09b42b
|
checksum=616689486d8d63956aa40836cffafde6e7590cdeb200badabaaf3c17d5b26cce
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
# gevent/grequests test is limited to Python 2 by upstream
|
# gevent/grequests test is limited to Python 2 by upstream
|
||||||
sed -i '/mock/d;/unittest2/d;/grequests/d' dev-requirements.txt
|
vsed -i '/mock/d;/unittest2/d;/grequests/d' dev-requirements.txt
|
||||||
|
|
||||||
# use Python 3's mock
|
# use Python 3's mock
|
||||||
sed -i 's/import mock/import unittest.mock as mock/' fxa/tests/mock_utilities.py
|
vsed -i 's/import mock/import unittest.mock as mock/' fxa/tests/mock_utilities.py
|
||||||
|
|
||||||
# requires network access
|
# requires network access
|
||||||
rm -f fxa/tests/test_core.py
|
rm -f fxa/tests/test_core.py
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue