aports/testing/py3-pure_protobuf/APKBUILD
ptrcnull d6e150e932
testing/*: rebuild against python 3.12
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
2024-04-15 17:00:47 +02:00

42 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Contributor: Jakob Meier <comcloudway@ccw.icu>
# Maintainer: Jakob Meier <comcloudway@ccw.icu>
pkgname=py3-pure_protobuf
# Also needs to be updated in the use_fixed_version.patch
pkgver=3.0.1
pkgrel=2
pkgdesc="Python implementation of Protocol Buffers with dataclass-based schemaʼs "
url="https://pypi.org/project/pure-protobuf/"
arch="noarch"
license="MIT"
depends="py3-typing-extensions"
makedepends="
py3-gpep517
py3-hatchling
py3-poetry-core
py3-wheel
py3-setuptools
"
subpackages="$pkgname-pyc"
source="
https://github.com/eigenein/protobuf/archive/$pkgver/protobuf-$pkgver.tar.gz
use_fixed_version.patch
"
builddir="$srcdir/protobuf-$pkgver"
options="!check"
build() {
gpep517 build-wheel \
--wheel-dir dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 -m installer -d "$pkgdir" \
dist/*.whl
}
sha512sums="
d710a242e6e9cadc86dcaae2f28174477f76053bda501c077868fdd09597568eb52dbce02e4b463ef8cb3c9e2401d6754e333bec55614cfca1c7dc1cd7c211dd protobuf-3.0.1.tar.gz
7a2151c8116e1b6551cd5cbf0174958f1a692b6c4e3aba2f8c9ec9fdd6ebe2bacd3fb29812c85b5b041271575c4d467e7b2a0cb541b288e001537f5dc6aed1a9 use_fixed_version.patch
"