mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/py3-slidge-style-parser: new aport
https://pypi.org/project/slidge-style-parser/ Style parser for Slidge Needed by testing/slidge-matridge
This commit is contained in:
parent
bf9942d05b
commit
cd95ad93d3
45
testing/py3-slidge-style-parser/APKBUILD
Normal file
45
testing/py3-slidge-style-parser/APKBUILD
Normal file
@ -0,0 +1,45 @@
|
||||
# Automatically generated by apkbuild-pypi, template 4
|
||||
# Contributor: Celeste <cielesti@protonmail.com>
|
||||
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||
pkgname=py3-slidge-style-parser
|
||||
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
|
||||
_pkgreal=slidge-style-parser
|
||||
pkgver=0.1.5
|
||||
pkgrel=0
|
||||
pkgdesc="Style parser for Slidge"
|
||||
url="https://pypi.org/project/slidge-style-parser/"
|
||||
arch="all"
|
||||
license="AGPL-3.0-or-later"
|
||||
makedepends="cargo py3-gpep517 py3-maturin"
|
||||
checkdepends="py3-pytest"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="https://files.pythonhosted.org/packages/source/s/slidge-style-parser/slidge_style_parser-$pkgver.tar.gz"
|
||||
builddir="$srcdir/slidge_style_parser-$pkgver"
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
|
||||
cargo fetch --locked
|
||||
}
|
||||
|
||||
build() {
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir .dist \
|
||||
--config-json '{"build-args": "--frozen"}' \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
check() {
|
||||
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
||||
.testenv/bin/python3 -m installer .dist/*.whl
|
||||
.testenv/bin/python3 -m pytest
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
.dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
cdcc8c6b914ebbf0372a1619871ed13b880f17cf65382fc3fb58ca3cbad539df8c29c9e545889f18be862dc13b31823e0848425cae8be0fc77facdc0f665f831 slidge_style_parser-0.1.5.tar.gz
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user