[gnome-build-meta/valentindavid/buildstream: 45/45] Add buildstream
- From: Valentin David <valentindavid src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/valentindavid/buildstream: 45/45] Add buildstream
- Date: Thu, 13 Aug 2020 11:19:01 +0000 (UTC)
commit 80b42baadeb361dbb35834ed246d1115bddad2a4
Author: Valentin David <valentin david codethink co uk>
Date: Wed Jul 29 14:35:50 2020 +0200
Add buildstream
elements/vm/buildstream/arpy.bst | 11 ++++++++++
elements/vm/buildstream/breezy.bst | 22 +++++++++++++++++++
elements/vm/buildstream/bst-external.bst | 16 ++++++++++++++
elements/vm/buildstream/buildstream.bst | 29 +++++++++++++++++++++++++
elements/vm/buildstream/click.bst | 11 ++++++++++
elements/vm/buildstream/grpcio.bst | 20 +++++++++++++++++
elements/vm/buildstream/jinja2.bst | 14 ++++++++++++
elements/vm/buildstream/pluginbase.bst | 9 ++++++++
elements/vm/buildstream/protobuf.bst | 30 ++++++++++++++++++++++++++
elements/vm/buildstream/psutil.bst | 11 ++++++++++
elements/vm/buildstream/pytest-runner.bst | 12 +++++++++++
elements/vm/buildstream/python3-configobj.bst | 11 ++++++++++
elements/vm/buildstream/python3-dulwich.bst | 15 +++++++++++++
elements/vm/buildstream/python3-fastimport.bst | 11 ++++++++++
elements/vm/buildstream/python3-markupsafe.bst | 12 +++++++++++
elements/vm/buildstream/pytoml.bst | 11 ++++++++++
elements/vm/buildstream/ruamel-yaml-clib.bst | 14 ++++++++++++
elements/vm/buildstream/ruamel-yaml.bst | 17 +++++++++++++++
elements/vm/buildstream/ujson.bst | 11 ++++++++++
elements/vm/deps-devel.bst | 2 ++
20 files changed, 289 insertions(+)
---
diff --git a/elements/vm/buildstream/arpy.bst b/elements/vm/buildstream/arpy.bst
new file mode 100644
index 00000000..3be3397d
--- /dev/null
+++ b/elements/vm/buildstream/arpy.bst
@@ -0,0 +1,11 @@
+kind: distutils
+
+sources:
+- kind: tar
+ url:
https://files.pythonhosted.org/packages/a9/47/505af0c53c8aaf028b67c76e994de3939672757f262826655de344a174dd/arpy-2.1.0.tar.gz
+
+build-depends:
+- freedesktop-sdk.bst:components/python3-setuptools.bst
+
+depends:
+- freedesktop-sdk.bst:components/python3.bst
diff --git a/elements/vm/buildstream/breezy.bst b/elements/vm/buildstream/breezy.bst
new file mode 100644
index 00000000..4862c42f
--- /dev/null
+++ b/elements/vm/buildstream/breezy.bst
@@ -0,0 +1,22 @@
+kind: distutils
+
+sources:
+- kind: tar
+ url: https://launchpad.net/brz/3.1/3.1.0/+download/breezy-3.1.0.tar.gz
+
+build-depends:
+- freedesktop-sdk.bst:components/python3-setuptools.bst
+
+depends:
+- freedesktop-sdk.bst:components/python3.bst
+- freedesktop-sdk.bst:components/python3-six.bst
+- vm/buildstream/python3-configobj.bst
+
+runtime-depends:
+- vm/buildstream/python3-dulwich.bst
+- vm/buildstream/python3-fastimport.bst
+
+config:
+ install-commands:
+ (>):
+ - ln -s brz "%{install-root}%{bindir}/bzr"
diff --git a/elements/vm/buildstream/bst-external.bst b/elements/vm/buildstream/bst-external.bst
new file mode 100644
index 00000000..13fed84d
--- /dev/null
+++ b/elements/vm/buildstream/bst-external.bst
@@ -0,0 +1,16 @@
+kind: distutils
+
+sources:
+- kind: git_tag
+ url: https://gitlab.com/BuildStream/bst-external.git
+ track: 0.20.0
+
+build-depends:
+- freedesktop-sdk.bst:components/python3-setuptools-scm.bst
+
+depends:
+- freedesktop-sdk.bst:components/python3-setuptools.bst
+- vm/buildstream/buildstream.bst
+
+runtime-depends:
+- vm/buildstream/pytoml.bst
diff --git a/elements/vm/buildstream/buildstream.bst b/elements/vm/buildstream/buildstream.bst
new file mode 100644
index 00000000..1f868330
--- /dev/null
+++ b/elements/vm/buildstream/buildstream.bst
@@ -0,0 +1,29 @@
+kind: distutils
+
+sources:
+- kind: tar
+ url: https://download.gnome.org/sources/BuildStream/1.4/BuildStream-1.4.3.tar.xz
+
+depends:
+- sdk-deps/bubblewrap.bst
+- vm/buildstream/pytest-runner.bst
+- freedesktop-sdk.bst:components/python3.bst
+- freedesktop-sdk.bst:components/python3-setuptools.bst
+
+runtime-depends:
+- sdk/pygobject.bst
+- core-deps/libostree.bst
+- vm/buildstream/arpy.bst
+- vm/buildstream/click.bst
+- vm/buildstream/grpcio.bst
+- vm/buildstream/jinja2.bst
+- vm/buildstream/pluginbase.bst
+- vm/buildstream/psutil.bst
+- vm/buildstream/ruamel-yaml.bst
+- vm/buildstream/ujson.bst
+- vm/buildstream/breezy.bst
+- freedesktop-sdk.bst:components/ca-certificates.bst
+- freedesktop-sdk.bst:components/git.bst
+- freedesktop-sdk.bst:components/patch.bst
+- freedesktop-sdk.bst:components/lzip.bst
+- freedesktop-sdk.bst:components/fuse.bst
diff --git a/elements/vm/buildstream/click.bst b/elements/vm/buildstream/click.bst
new file mode 100644
index 00000000..1df2ddd1
--- /dev/null
+++ b/elements/vm/buildstream/click.bst
@@ -0,0 +1,11 @@
+kind: distutils
+
+sources:
+- kind: tar
+ url:
https://files.pythonhosted.org/packages/27/6f/be940c8b1f1d69daceeb0032fee6c34d7bd70e3e649ccac0951500b4720e/click-7.1.2.tar.gz
+
+build-depends:
+- freedesktop-sdk.bst:components/python3-setuptools.bst
+
+depends:
+- freedesktop-sdk.bst:components/python3.bst
diff --git a/elements/vm/buildstream/grpcio.bst b/elements/vm/buildstream/grpcio.bst
new file mode 100644
index 00000000..1c1b85a3
--- /dev/null
+++ b/elements/vm/buildstream/grpcio.bst
@@ -0,0 +1,20 @@
+kind: distutils
+
+sources:
+- kind: tar
+ url:
https://files.pythonhosted.org/packages/5e/29/1bd649737e427a6bb850174293b4f2b72ab80dd49462142db9b81e1e5c7b/grpcio-1.30.0.tar.gz
+
+depends:
+- freedesktop-sdk.bst:components/python3.bst
+
+build-depends:
+- freedesktop-sdk.bst:components/cython.bst
+- freedesktop-sdk.bst:components/python3-setuptools.bst
+
+runtime-depends:
+- freedesktop-sdk.bst:components/python3-six.bst
+- vm/buildstream/protobuf.bst
+
+environment:
+ GRPC_PYTHON_BUILD_SYSTEM_OPENSSL: "true"
+ GRPC_PYTHON_BUILD_WITH_CYTHON: "1"
diff --git a/elements/vm/buildstream/jinja2.bst b/elements/vm/buildstream/jinja2.bst
new file mode 100644
index 00000000..f6c5207e
--- /dev/null
+++ b/elements/vm/buildstream/jinja2.bst
@@ -0,0 +1,14 @@
+kind: distutils
+
+sources:
+- kind: tar
+ url:
https://files.pythonhosted.org/packages/64/a7/45e11eebf2f15bf987c3bc11d37dcc838d9dc81250e67e4c5968f6008b6c/Jinja2-2.11.2.tar.gz
+
+build-depends:
+- freedesktop-sdk.bst:components/python3-setuptools.bst
+
+depends:
+- freedesktop-sdk.bst:components/python3.bst
+
+runtime-depends:
+- vm/buildstream/python3-markupsafe.bst
diff --git a/elements/vm/buildstream/pluginbase.bst b/elements/vm/buildstream/pluginbase.bst
new file mode 100644
index 00000000..48750943
--- /dev/null
+++ b/elements/vm/buildstream/pluginbase.bst
@@ -0,0 +1,9 @@
+kind: distutils
+
+depends:
+- freedesktop-sdk.bst:components/python3.bst
+- freedesktop-sdk.bst:components/python3-setuptools.bst
+
+sources:
+- kind: tar
+ url:
https://files.pythonhosted.org/packages/3d/3c/fe974b4f835f83cc46966e04051f8708b7535bac28fbc0dcca1ee0c237b8/pluginbase-1.0.0.tar.gz
diff --git a/elements/vm/buildstream/protobuf.bst b/elements/vm/buildstream/protobuf.bst
new file mode 100644
index 00000000..0abc24d6
--- /dev/null
+++ b/elements/vm/buildstream/protobuf.bst
@@ -0,0 +1,30 @@
+kind: autotools
+
+sources:
+- kind: tar
+ url: github_com:protocolbuffers/protobuf/releases/download/v3.12.4/protobuf-all-3.12.4.tar.gz
+
+build-depends:
+- freedesktop-sdk.bst:components/python3-setuptools.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}
diff --git a/elements/vm/buildstream/psutil.bst b/elements/vm/buildstream/psutil.bst
new file mode 100644
index 00000000..2f58ccb4
--- /dev/null
+++ b/elements/vm/buildstream/psutil.bst
@@ -0,0 +1,11 @@
+kind: distutils
+
+build-depends:
+- freedesktop-sdk.bst:components/python3-setuptools.bst
+
+depends:
+- freedesktop-sdk.bst:components/python3.bst
+
+sources:
+- kind: tar
+ url:
https://files.pythonhosted.org/packages/aa/3e/d18f2c04cf2b528e18515999b0c8e698c136db78f62df34eee89cee205f1/psutil-5.7.2.tar.gz
diff --git a/elements/vm/buildstream/pytest-runner.bst b/elements/vm/buildstream/pytest-runner.bst
new file mode 100644
index 00000000..939f9080
--- /dev/null
+++ b/elements/vm/buildstream/pytest-runner.bst
@@ -0,0 +1,12 @@
+kind: distutils
+
+sources:
+- kind: tar
+ url:
https://files.pythonhosted.org/packages/5b/82/1462f86e6c3600f2471d5f552fcc31e39f17717023df4bab712b4a9db1b3/pytest-runner-5.2.tar.gz
+
+build-depends:
+- freedesktop-sdk.bst:components/python3-wheel.bst
+- freedesktop-sdk.bst:components/python3-setuptools-scm.bst
+
+depends:
+- freedesktop-sdk.bst:components/python3.bst
diff --git a/elements/vm/buildstream/python3-configobj.bst b/elements/vm/buildstream/python3-configobj.bst
new file mode 100644
index 00000000..3a6af69f
--- /dev/null
+++ b/elements/vm/buildstream/python3-configobj.bst
@@ -0,0 +1,11 @@
+kind: distutils
+
+sources:
+- kind: tar
+ url:
https://files.pythonhosted.org/packages/64/61/079eb60459c44929e684fa7d9e2fdca403f67d64dd9dbac27296be2e0fab/configobj-5.0.6.tar.gz
+
+build-depends:
+- freedesktop-sdk.bst:components/python3-setuptools.bst
+
+depends:
+- freedesktop-sdk.bst:components/python3.bst
diff --git a/elements/vm/buildstream/python3-dulwich.bst b/elements/vm/buildstream/python3-dulwich.bst
new file mode 100644
index 00000000..2333c084
--- /dev/null
+++ b/elements/vm/buildstream/python3-dulwich.bst
@@ -0,0 +1,15 @@
+kind: distutils
+
+sources:
+- kind: tar
+ url:
https://files.pythonhosted.org/packages/b3/34/adcd6646c5ed59a1206216d4a418121be57df3406f7a46570112db57ba6c/dulwich-0.20.5.tar.gz
+
+build-depends:
+- freedesktop-sdk.bst:components/python3-setuptools.bst
+
+depends:
+- freedesktop-sdk.bst:components/python3.bst
+
+runtime-depends:
+- freedesktop-sdk.bst:components/python3-certifi.bst
+- freedesktop-sdk.bst:components/python3-urllib3.bst
diff --git a/elements/vm/buildstream/python3-fastimport.bst b/elements/vm/buildstream/python3-fastimport.bst
new file mode 100644
index 00000000..1821ea08
--- /dev/null
+++ b/elements/vm/buildstream/python3-fastimport.bst
@@ -0,0 +1,11 @@
+kind: distutils
+
+sources:
+- kind: tar
+ url:
https://files.pythonhosted.org/packages/aa/65/47a579aae80fbd8b89cfbdffcde8dff68d57e3148b99da6a326673021455/fastimport-0.9.8.tar.gz
+
+build-depends:
+- freedesktop-sdk.bst:components/python3-setuptools.bst
+
+depends:
+- freedesktop-sdk.bst:components/python3.bst
diff --git a/elements/vm/buildstream/python3-markupsafe.bst b/elements/vm/buildstream/python3-markupsafe.bst
new file mode 100644
index 00000000..c0ae6325
--- /dev/null
+++ b/elements/vm/buildstream/python3-markupsafe.bst
@@ -0,0 +1,12 @@
+kind: distutils
+
+sources:
+- kind: tar
+ url:
https://files.pythonhosted.org/packages/b9/2e/64db92e53b86efccfaea71321f597fa2e1b2bd3853d8ce658568f7a13094/MarkupSafe-1.1.1.tar.gz
+
+build-depends:
+- freedesktop-sdk.bst:components/python3-setuptools.bst
+
+depends:
+- freedesktop-sdk.bst:components/python3.bst
+
diff --git a/elements/vm/buildstream/pytoml.bst b/elements/vm/buildstream/pytoml.bst
new file mode 100644
index 00000000..aff21c4f
--- /dev/null
+++ b/elements/vm/buildstream/pytoml.bst
@@ -0,0 +1,11 @@
+kind: distutils
+
+sources:
+- kind: tar
+ url:
https://files.pythonhosted.org/packages/f4/ba/98ee2054a2d7b8bebd367d442e089489250b6dc2aee558b000e961467212/pytoml-0.1.21.tar.gz
+
+build-depends:
+- freedesktop-sdk.bst:components/python3-setuptools.bst
+
+depends:
+- freedesktop-sdk.bst:components/python3.bst
diff --git a/elements/vm/buildstream/ruamel-yaml-clib.bst b/elements/vm/buildstream/ruamel-yaml-clib.bst
new file mode 100644
index 00000000..582b8a3c
--- /dev/null
+++ b/elements/vm/buildstream/ruamel-yaml-clib.bst
@@ -0,0 +1,14 @@
+kind: pip
+
+sources:
+- kind: tar
+ url:
https://files.pythonhosted.org/packages/92/28/612085de3fae9f82d62d80255d9f4cf05b1b341db1e180adcf28c1bf748d/ruamel.yaml.clib-0.2.0.tar.gz
+
+build-depends:
+- freedesktop-sdk.bst:components/python3-pip.bst
+
+depends:
+- freedesktop-sdk.bst:components/python3.bst
+
+variables:
+ pip: python3 -m pip
diff --git a/elements/vm/buildstream/ruamel-yaml.bst b/elements/vm/buildstream/ruamel-yaml.bst
new file mode 100644
index 00000000..97e6e00c
--- /dev/null
+++ b/elements/vm/buildstream/ruamel-yaml.bst
@@ -0,0 +1,17 @@
+kind: pip
+
+sources:
+- kind: tar
+ url:
https://files.pythonhosted.org/packages/16/8b/54a26c1031595e5edd0e616028b922d78d8ffba8bc775f0a4faeada846cc/ruamel.yaml-0.16.10.tar.gz
+
+build-depends:
+- freedesktop-sdk.bst:components/python3-pip.bst
+
+depends:
+- freedesktop-sdk.bst:components/python3.bst
+
+runtime-depends:
+- vm/buildstream/ruamel-yaml-clib.bst
+
+variables:
+ pip: python3 -m pip
diff --git a/elements/vm/buildstream/ujson.bst b/elements/vm/buildstream/ujson.bst
new file mode 100644
index 00000000..90f5fb4d
--- /dev/null
+++ b/elements/vm/buildstream/ujson.bst
@@ -0,0 +1,11 @@
+kind: distutils
+
+sources:
+- kind: tar
+ url:
https://files.pythonhosted.org/packages/b6/3f/66262b970bd7e9b536892219a71d3b1951b760f94320b7b0719295d3a7ae/ujson-3.0.0.tar.gz
+
+build-depends:
+- freedesktop-sdk.bst:components/python3-setuptools-scm.bst
+
+depends:
+- freedesktop-sdk.bst:components/python3.bst
diff --git a/elements/vm/deps-devel.bst b/elements/vm/deps-devel.bst
index 1e8ac147..894bdb9e 100644
--- a/elements/vm/deps-devel.bst
+++ b/elements/vm/deps-devel.bst
@@ -5,3 +5,5 @@ runtime-depends:
- core/meta-gnome-core-developer-tools.bst
- vm/common-deps.bst
- vm/initramfs.bst
+- vm/buildstream/buildstream.bst
+- vm/buildstream/bst-external.bst
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]