From 902981970cad35c8e8215e96c961eb7cc2512555 Mon Sep 17 00:00:00 2001 From: Paper Date: Thu, 18 Feb 2021 16:15:04 +0100 Subject: [PATCH] New package: python3-pytest-flake8-1.0.7 --- srcpkgs/python3-pytest-flake8/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/python3-pytest-flake8/template diff --git a/srcpkgs/python3-pytest-flake8/template b/srcpkgs/python3-pytest-flake8/template new file mode 100644 index 00000000000..b2368da1b74 --- /dev/null +++ b/srcpkgs/python3-pytest-flake8/template @@ -0,0 +1,24 @@ +# Template file for 'python3-pytest-flake8' +pkgname=python3-pytest-flake8 +version=1.0.7 +revision=1 +wrksrc=pytest-flake8-${version} +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-pytest flake8" +checkdepends="$depends" +short_desc="Pytest plugin to check FLAKE8 requirements" +maintainer="Paper " +license="BSD-3-Clause" +homepage="https://pypi.org/project/pytest-flake8/" +changelog="https://raw.githubusercontent.com/tholo/pytest-flake8/master/CHANGELOG" +distfiles="${PYPI_SITE}/p/pytest-flake8/pytest-flake8-${version}.tar.gz" +checksum=f0259761a903563f33d6f099914afef339c085085e643bee8343eb323b32dd6b + +do_check() { + PYTHONPATH=. pytest +} + +post_install() { + vlicense LICENSE +}