mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
this is only a partial rebuild, including stuff that i built on my personal machine with python 3.12.2; might fail with 3.12.3
34 lines
1.0 KiB
Plaintext
34 lines
1.0 KiB
Plaintext
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-flake8-builtins
|
|
pkgver=2.1.0
|
|
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 py3-gpep517 py3-wheel"
|
|
subpackages="$pkgname-pyc"
|
|
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() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
gpep517 install-wheel --destdir "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
66fc3c0740642a02a5b0e8cc4d65eb0e7469a66ccdd725a7f593de10f45f503f336e346fdaa6e8a557340724f5b8f47f18f5a381bd20d65cbadbbe4934a625a2 flake8-builtins-2.1.0.tar.gz
|
|
"
|