← recipes

Commit 75a2a2c

0
plików
+0
dodanych
-0
usuniętych
@@ -0,0 +1,28 @@
1 +pkgname: python-protobuf
2 +pkgver: '30.0'
3 +pkgrel: '1'
4 +pkgdesc: Python bindings for Google Protocol Buffers
5 +url: 'https://protobuf.dev'
6 +arch: x86_64
7 +license:
8 +- BSD-3-Clause
9 +depends:
10 +- python
11 +- protobuf
12 +makedepends:
13 +- python-setuptools
14 +- python-build
15 +- python-installer
16 +- python-wheel
17 +source:
18 +- 'https://files.pythonhosted.org/packages/source/p/protobuf/protobuf-${pkgver}.tar.gz'
19 +sha256sums:
20 +- 7d9a8c08efbc389b0d34204859ca7fb53eb268482613d5e2e831154c5e31fae8
21 +build: |
22 + cd protobuf-${pkgver}
23 + python -m build --wheel --no-isolation
24 + python -m installer --destdir="${PKGDIR}" dist/*.whl
25 +
26 + install -Dm644 LICENSE ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE
27 +package: |
28 + true