mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 20:25:28 +03:00
33 lines
969 B
Text
33 lines
969 B
Text
# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-pyflakes
|
|
_pkgname=${pkgname#py3-}
|
|
pkgver=2.1.1
|
|
pkgrel=7
|
|
pkgdesc="A passive checker of Python programs"
|
|
url="https://github.com/pyflakes/pyflakes"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-setuptools"
|
|
source="https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
replaces="py-pyflakes" # Backwards compatibility
|
|
provides="py-pyflakes=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
mkdir -p "$pkgdir"/usr/bin
|
|
ln -s pyflakes "$pkgdir"/usr/bin/pyflakes-3
|
|
|
|
python3 setup.py --quiet install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="7ebf5843b38146305c1063e070480fea8ec3b47fa1be546b1fafaeb242a688a5a001f978e7257fd71d5905b9a338b466ef17c7330725191587e9c40ba632c3f8 pyflakes-2.1.1.tar.gz"
|