mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +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
29 lines
954 B
Text
29 lines
954 B
Text
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-flake8-print
|
|
_pkgname=flake8-print
|
|
pkgver=5.0.0
|
|
pkgrel=2
|
|
pkgdesc="Extension for flake8 which lint for print statements"
|
|
url="https://github.com/jbkahn/flake8-print"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="py3-flake8 python3"
|
|
makedepends="py3-setuptools py3-pytest-runner"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
|
|
replaces="py-flake8-print" # Backwards compatiblity
|
|
provides="py-flake8-print=$pkgver-r$pkgrel" # Backwards compatiblity
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
69fd20fa92b795c8efa5971f9e17e6ac579fb642b3c07fafc4143b4d01acc2c577dbba6fd818c8ad92ad60709986777da59b804f2fec768f210a64b88252a987 flake8-print-5.0.0.tar.gz
|
|
"
|