[gnome-build-meta/abderrahim/pip: 3/3] 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: 3/3] core-deps/protobuf.bst: use pip to build the python module
- Date: Wed, 12 Jan 2022 16:41:59 +0000 (UTC)
commit 1d911468383ff3ec0c2ed0edb74481c043bfc8b5
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]