void-packages/srcpkgs/python3-PyFxA/template

25 lines
788 B
Bash

# 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 <thinkabit.ukim@gmail.com>"
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
}