mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 02:35:23 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
28 lines
759 B
Text
28 lines
759 B
Text
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
|
pkgname=py3-pytest-flake8
|
|
pkgver=1.1.1
|
|
pkgrel=1
|
|
pkgdesc="pytest plugin for efficiently checking PEP8 compliance"
|
|
url="https://pypi.org/project/pytest-flake8/"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="py3-pytest py3-flake8"
|
|
makedepends="py3-setuptools"
|
|
source="https://files.pythonhosted.org/packages/source/p/pytest-flake8/pytest-flake8-$pkgver.tar.gz"
|
|
builddir="$srcdir/pytest-flake8-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
c6fed2228520501bc0c007c90b189d43953391c10fe93fdd7c4c68203ddfc64937b9919730f25ebcba0c1003ed266fbcb35d3ab12ed49fb63503bf27615286c0 pytest-flake8-1.1.1.tar.gz
|
|
"
|