testing/py3-apicula: new aport

https://github.com/YosysHQ/apicula
Project Apicula: bitstream documentation for Gowin FPGAs
This commit is contained in:
Marian Buschsieweke 2024-01-10 11:10:50 +01:00 committed by omni
parent 61dce3bb3a
commit 510264c155

View File

@ -0,0 +1,47 @@
# Maintainer: Marian Buschsieweke <marian.buschsieweke@posteo.net>
pkgname=py3-apicula
_pkgname=Apycula
pkgver=0.10.0
pkgrel=0
pkgdesc="Project Apicula: bitstream documentation for Gowin FPGAs"
url="https://github.com/YosysHQ/apicula"
arch="noarch"
license="MIT"
depends="
py3-crcmod
py3-numpy
py3-openpyxl
py3-pandas
py3-pillow
python3
"
makedepends="
py3-gpep517
py3-setuptools
py3-wheel
"
subpackages="$pkgname-pyc"
# Note: The GitHub repo contains only the source of the tools used to extract
# the bitstream info from the binary only Gowin tools via fuzzing. The
# source package form pypi also contains the extracted databases. Since
# the fuzzing takes ages and only works on x86_64 glibc systems (the
# binary only Gowin tools are built for that), we really want to use
# the pypi source.
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
options="!check" # no unit tests provided
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 -m installer -d "$pkgdir" \
.dist/*.whl
}
sha512sums="
94f0d3c41ff284a8bdb7915ef2d28371c2e79deab331d62347882ee4e8fd662569099ef599ea38e9e85b5d647971e2132828dffb176b0c95236b4d26065354b7 Apycula-0.10.0.tar.gz
"