1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/testing/py3-flake8-builtins/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
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
2023-01-10 04:19:31 +01:00

27 lines
949 B
Text

# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-flake8-builtins
pkgver=1.5.3
pkgrel=3
pkgdesc="Extension for flake8 to check for builtins"
options="!check" # No testsuite
url="https://github.com/gforcada/flake8-builtins"
arch="noarch"
license="MIT"
depends="py3-flake8"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/f/flake8-builtins/flake8-builtins-$pkgver.tar.gz"
builddir="$srcdir"/flake8-builtins-$pkgver
replaces="py-flake8-builtins" # Backwards compatibility
provides="py-flake8-builtins=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="78f71bac92c8090e54b682684649a98101de6bfdb7d07717fb26c827cead7417ef27f23ed39afc086a19e9f587a0d7c6e86d95f0686d528af5c6594e863c111a flake8-builtins-1.5.3.tar.gz"