Commit cb64f1f
0
plików
+0
dodanych
-0
usuniętych
@@ -1,37 +1,20 @@
1
1
pkgname: python-protobuf
2
2
pkgver: '36.1'
3
-pkgrel: '1'
3
+pkgrel: '2'
4
4
pkgdesc: Python bindings for Google Protocol Buffers
5
-url: 'https://protobuf.dev'
5
+url: 'https://pypi.org/project/protobuf/'
6
6
arch: x86_64
7
7
license:
8
8
- BSD-3-Clause
9
9
depends:
10
10
- python
11
-- protobuf
12
11
makedepends:
13
-- python-setuptools
14
-- python-build
15
12
- python-installer
16
-- python-wheel
17
13
source:
18
-- 'https://github.com/protocolbuffers/protobuf/archive/refs/tags/v${pkgver}.tar.gz'
14
+- 'https://files.pythonhosted.org/packages/22/df/c799fe7a05ef16ba853a59db01f3a2c5f7d0676469589ccc4874f76a2a88/protobuf-7.36.1-cp310-abi3-manylinux2014_x86_64.whl'
19
15
sha256sums:
20
-- SKIP
16
+- 97198b77e369a0abd8e262b8f6c7266c55ddb796a3a12c76d7b8881188ed83aa
21
17
build: |
22
- cd protobuf-${pkgver}/python
23
- cat > setup.py <<PYSETUP
24
- from setuptools import find_namespace_packages, setup
25
- setup(
26
- name="protobuf",
27
- version="36.1",
28
- packages=find_namespace_packages(include=["google*"]),
29
- include_package_data=True,
30
- package_data={"google.protobuf": ["*.proto", "py.typed"]},
31
- )
32
- PYSETUP
33
- python -m build --wheel --no-isolation
34
- python -m installer --destdir="${PKGDIR}" dist/*.whl
35
- install -Dm644 ../LICENSE ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE
18
+ python -m installer --destdir="${PKGDIR}" *.whl
36
19
package: |
37
- true
20
+ true