diff --git a/srcpkgs/python3-augeas/template b/srcpkgs/python3-augeas/template new file mode 100644 index 00000000000..aca8cfac46e --- /dev/null +++ b/srcpkgs/python3-augeas/template @@ -0,0 +1,25 @@ +# Template file for 'python3-augeas' +pkgname=python3-augeas +version=1.1.0 +revision=1 +wrksrc="python-augeas-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools augeas-devel python3-cffi" +makedepends="python3-devel" +depends="augeas python3-cffi" +checkdepends="python3-cffi" +short_desc="Python 3 bindings for Augeas" +maintainer="Kartik S. " +license="GPL-3.0-or-later" +homepage="https://github.com/hercules-team/python-augeas" +distfiles="${PYPI_SITE}/p/python-augeas/python-augeas-${version}.tar.gz" +checksum=5194a49e86b40ffc57055f73d833f87e39dce6fce934683e7d0d5bbb8eff3b8c + +do_check() { + cd test + python3 test_augeas.py +} + +post_install() { + rm -rf ${DESTDIR}/${py3_sitelib}/test +}