aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-flake8-print/APKBUILD
blob: a51cd21e909e36d060bcfb61cd06373641da5a7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-flake8-print
_pkgname=flake8-print
pkgver=2.0.2
pkgrel=1
pkgdesc="Extension for flake8 which lint for print statements"
url="https://github.com/jbkahn/flake8-print"
arch="noarch"
license="MIT"
depends="flake8"
makedepends="python3-dev"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	cd "$builddir"
	python3 setup.py build || return 1
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="7483af885c65dcb3bb0b21b5d67928d3  flake8-print-2.0.2.tar.gz"
sha256sums="19a0db71b37d985732c247032f84c111d191ed5977d7f852a654c6a8ac137595  flake8-print-2.0.2.tar.gz"
sha512sums="9ec69c0f0489a48ea2861644fe2ac2f9ab11e55d156883dded3788e64033783c2cc4fc7bcca4f3d0cf41e291ede36e8f09ac3462954648d251784db70b77ce93  flake8-print-2.0.2.tar.gz"