[gnome-build-meta/abderrahim/pip: 6/6] core-deps/protobuf.bst: use pip to build the python module
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/abderrahim/pip: 6/6] core-deps/protobuf.bst: use pip to build the python module
- Date: Thu, 13 Jan 2022 17:14:20 +0000 (UTC)
commit a7c52e7b71af2d8820b12a97216d659cbbf8d0df
Author: Abderrahim Kitouni <akitouni gnome org>
Date: Thu Jan 6 19:46:47 2022 +0100
core-deps/protobuf.bst: use pip to build the python module
Part-of: <https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/1475>
elements/core-deps/protobuf.bst | 18 +++---------------
1 file changed, 3 insertions(+), 15 deletions(-)
---
diff --git a/elements/core-deps/protobuf.bst b/elements/core-deps/protobuf.bst
index 4d94601df..8e9857986 100644
--- a/elements/core-deps/protobuf.bst
+++ b/elements/core-deps/protobuf.bst
@@ -5,26 +5,14 @@ sources:
url: github_files:protocolbuffers/protobuf/releases/download/v3.15.8/protobuf-all-3.15.8.tar.gz
build-depends:
-- freedesktop-sdk.bst:components/python3-setuptools.bst
+- freedesktop-sdk.bst:components/python3-pip.bst
+- freedesktop-sdk.bst:components/python3-six.bst
- freedesktop-sdk.bst:public-stacks/buildsystem-autotools.bst
depends:
- freedesktop-sdk.bst:components/python3.bst
config:
- build-commands:
- (>):
- - |
- cd python
- python3 setup.py build
-
install-commands:
(>):
- - |
- cd python
- python3 setup.py install --prefix "%{prefix}" --root "%{install-root}"
-
- strip-commands:
- (>):
- - |
- %{fix-pyc-timestamps}
+ - python -m pip install --no-build-isolation --root=%{install-root} --prefix=%{prefix} python/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]