diff --git a/srcpkgs/python3-etesync/template b/srcpkgs/python3-etesync/template new file mode 100644 index 00000000000..c0822245056 --- /dev/null +++ b/srcpkgs/python3-etesync/template @@ -0,0 +1,23 @@ +# Template file for 'python3-etesync' +pkgname=python3-etesync +version=0.11.1 +revision=1 +archs=noarch +wrksrc="etesync-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-appdirs python3-asn1crypto python3-cffi python3-cryptography python3-dateutil +python3-furl python3-idna python3-packaging python3-peewee python3-py python3-pyasn1 +python3-pycparser python3-parsing python3-pytz python3-requests python3-six +python3-vobject python3-scrypt" +checkdepends="$depends python3-pytest python3-coverage" +short_desc="Python3 client library for EteSync" +maintainer="projectmoon " +license="LGPL-3.0-only" +homepage="https://www.etesync.com" +distfiles="${PYPI_SITE}/e/etesync/etesync-${version}.tar.gz" +checksum=6ca671217bc90c3711b98e7fc84d02273a21048a65e2018083817c8234d04d79 + +do_check() { + pytest3 -v tests/{test_collections.py,test_crypto.py} +}