mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 14:26:38 +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.1 KiB
Text
34 lines
1.1 KiB
Text
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-flake8-import-order
|
|
_pkgname=flake8-import-order
|
|
pkgver=0.18.2
|
|
pkgrel=4
|
|
pkgdesc="Extension for flake8 which checks for the ordering of import statements"
|
|
options="!check" # Requires unpackaged pylama
|
|
url="https://github.com/PyCQA/flake8-import-order"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="py3-flake8 py3-setuptools"
|
|
makedepends="py3-gpep517 py3-wheel"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
|
|
replaces="py-flake8-import-order" # Backwards compatibility
|
|
provides="py-flake8-import-order=$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="
|
|
a0367a5ae834fc0d0ee8d65bfec4eb4bdf1039806a69e0be2fc9e9d37b6b413ecc81275f8ecf6bb33b42e31603b02ff0c3c7baefe812dd5c443df54d8fc0d1cd flake8-import-order-0.18.2.tar.gz
|
|
"
|