diff --git a/srcpkgs/python3-PyFxA/template b/srcpkgs/python3-PyFxA/template new file mode 100644 index 00000000000..f8b16cca2ce --- /dev/null +++ b/srcpkgs/python3-PyFxA/template @@ -0,0 +1,24 @@ +# Template file for 'python3-PyFxA' +pkgname=python3-PyFxA +version=0.6.0 +revision=1 +noarch=yes +wrksrc="PyFxA-${version}" +build_style=python3-module +pycompile_module="fxa" +hostmakedepends="python3-setuptools" +depends="python3-cryptography python3-six python3-requests python3-hawkauthlib + python3-PyBrowserID" +# Missing packages from dev-requirements.txt +# grequests pyotp responses +checkdepends="$depends python3-requests python3-greenlet python3-pbr" +short_desc="Firefox Accounts client library for Python3" +maintainer="maxice8 " +license="MPL-2.0" +homepage="https://github.com/mozilla/PyFxA" +distfiles="${PYPI_SITE}/P/PyFxA/PyFxA-${version}.tar.gz" +checksum=d511b6f43a9445587c609a138636d378de76661561116e1f4259fcec9d09b42b + +do_check() { + python3 setup.py test +}