From 150c0d95023db3cc210a6760bf404ec91be53c95 Mon Sep 17 00:00:00 2001 From: Paper Date: Thu, 18 Feb 2021 16:15:04 +0100 Subject: [PATCH 1/2] New package: python3-pytest-flake8-1.0.7 --- srcpkgs/python3-pytest-flake8/template | 20 ++++++++++++++++++++ 1 file changed, 20 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..701d19fad33 --- /dev/null +++ b/srcpkgs/python3-pytest-flake8/template @@ -0,0 +1,20 @@ +# 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 + +post_install() { + vlicense LICENSE +} From 1d3d810520df78d8682e808507bd48bca9d4bf34 Mon Sep 17 00:00:00 2001 From: Paper Date: Tue, 2 Mar 2021 20:53:15 +0100 Subject: [PATCH 2/2] python3-numpy-stl: add python3-pytest-flake8 dep --- srcpkgs/python3-numpy-stl/template | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/srcpkgs/python3-numpy-stl/template b/srcpkgs/python3-numpy-stl/template index 83756860cda..42fa5e4ad93 100644 --- a/srcpkgs/python3-numpy-stl/template +++ b/srcpkgs/python3-numpy-stl/template @@ -8,7 +8,7 @@ build_helper="numpy" hostmakedepends="python3-setuptools python3-Cython" makedepends="python3-devel" depends="python3-setuptools python3-numpy python3-utils" -checkdepends="$depends python3-pytest-cov python3-docutils" +checkdepends="$depends python3-pytest-cov python3-pytest-flake8 python3-docutils" short_desc="Python3 library to make working with STL files fast and easy" maintainer="Karl Nilsson " license="BSD-3-Clause" @@ -22,10 +22,6 @@ pre_build() { sed -i '/setup_requires=/d' setup.py } -pre_check() { - vsed -i pytest.ini -e s/--flake8// -} - pkg_install() { vlicense LICENSE }