From 3a62497482b85247edb5aa4ac07f3b5546655080 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 30 Jun 2019 14:37:26 -0400 Subject: [PATCH] py3-pytest-flake8: import from testing --- sr.ht/py3-pytest-flake8/APKBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 sr.ht/py3-pytest-flake8/APKBUILD diff --git a/sr.ht/py3-pytest-flake8/APKBUILD b/sr.ht/py3-pytest-flake8/APKBUILD new file mode 100644 index 0000000..be843ae --- /dev/null +++ b/sr.ht/py3-pytest-flake8/APKBUILD @@ -0,0 +1,28 @@ +# Maintainer: Drew DeVault +pkgname=py3-pytest-flake8 +_pyname=pytest-flake8 +pkgver=1.0.4 +pkgrel=0 +pkgdesc="pytest plugin for efficiently checking PEP8 compliance" +url="https://pypi.org/project/pytest-flake8/" +arch="noarch" +license="3-Clause-BSD" +depends="py3-pytest py3-flake8" +makedepends="py3-setuptools" +_pypiprefix="${_pyname%${_pyname#?}}" +source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz" +builddir="$srcdir/$_pyname-$pkgver" + +build() { + python3 setup.py build +} + +check() { + python3 setup.py test +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="39ac19f3216386dc33b7c3c7c12a026751bb636d140340eb9585e161292d74f587c3a032125380bd12834e841172bf47652c19036bd06d493abd11cefe428429 pytest-flake8-1.0.4.tar.gz" -- 2.45.2