[gnome-build-meta/abderrahim/pip: 2/2] core-deps/protobuf.bst: use pip to build the python module
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/abderrahim/pip: 2/2] core-deps/protobuf.bst: use pip to build the python module
- Date: Thu, 13 Jan 2022 14:24:55 +0000 (UTC)
commit daa902d8ae8ddb43b6827ef2ed4a9b49dc085f15
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
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]