← recipes

Commit b508e7a

0
plików
+0
dodanych
-0
usuniętych
@@ -20,16 +20,16 @@ sha256sums:
20 20 - SKIP
21 21 build: |
22 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="${pkgver}",
28 - packages=find_namespace_packages(include=["google*"]),
29 - include_package_data=True,
30 - package_data={"google.protobuf": ["*.proto", "py.typed"]},
31 -)
32 -PYSETUP
23 + cat > setup.py <<'PYSETUP
24 + from setuptools import find_namespace_packages, setup
25 + setup(
26 + name="protobuf",
27 + version="${pkgver}",
28 + packages=find_namespace_packages(include=["google*"]),
29 + include_package_data=True,
30 + package_data={"google.protobuf": ["*.proto", "py.typed"]},
31 + )
32 + PYSETUP
33 33 python -m build --wheel --no-isolation
34 34 python -m installer --destdir="${PKGDIR}" dist/*.whl
35 35 install -Dm644 ../LICENSE ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE