← recipes

Commit 8f2e7b1

0
plików
+0
dodanych
-0
usuniętych
@@ -21,14 +21,14 @@ sha256sums:
21 21 build: |
22 22 cd protobuf-${pkgver}/python
23 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 - )
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 32 PYSETUP
33 33 python -m build --wheel --no-isolation
34 34 python -m installer --destdir="${PKGDIR}" dist/*.whl