Commit 9e166fc9 authored by Vaibhav Yadav's avatar Vaibhav Yadav Committed by Carlos Soriano

Replacing gcovr module with gcovr.json

Currently network is used during build time because of pip fetching from
internet.
However network should not be used during build time.
To fix this issue, use gcovr.json generated by flatpak-pip-generator
and replace them with gcovr module in org.gnome.Nautilus.json and
org.gnome.Nautilus.yml and remove build option that uses network.

Closes issue #681
parent 42c5ce65
Pipeline #41795 passed with stages
in 8 minutes and 52 seconds
{
"name": "python3-gcovr",
"buildsystem": "simple",
"build-commands": [
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} gcovr"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/4d/de/32d741db316d8fdb7680822dd37001ef7a448255de9699ab4bfcbdf4172b/MarkupSafe-1.0.tar.gz",
"sha256": "a6be69091dac236ea9c6bc7d012beab42010fa914c459791d627dad4910eb665"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/ed/f2/140298e4696c41fb17e8399166ea73cfe3fb9938faaf814b7e72f8b2e157/gcovr-4.1.tar.gz",
"sha256": "ca94c337f2d9a70db177ec4330534fad7b2b772beda625c1ec071fbcf1361e22"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/56/e6/332789f295cf22308386cf5bbd1f4e00ed11484299c5d7383378cf48ba47/Jinja2-2.10.tar.gz",
"sha256": "f84be1bb0040caca4cea721fcbbbbd61f9be9464ca236387158b0feea01914a4"
}
]
}
\ No newline at end of file
......@@ -25,26 +25,8 @@
"--env=DCONF_USER_CONFIG_DIR=.config/dconf",
"--env=TRACKER_SPARQL_BACKEND=bus"
],
"build-options" : {
"build-args" : [
"--share=network"
]
},
"modules" : [
{
"name" : "gcovr",
"buildsystem" : "simple",
"build-commands" : [
"/usr/bin/pip3 --disable-pip-version-check install --prefix=/app --verbose ."
],
"sources" : [
{
"type" : "git",
"url" : "https://github.com/gcovr/gcovr",
"tag" : "4.1"
}
]
},
"gcovr.json",
{
"name" : "exiv2",
"config-opts" : [
......
......@@ -23,18 +23,8 @@ finish-args:
- "--talk-name=ca.desrt.dconf"
- "--env=DCONF_USER_CONFIG_DIR=.config/dconf"
- "--env=TRACKER_SPARQL_BACKEND=bus"
build-options:
build-args:
- "--share=network"
modules:
- name: gcovr
buildsystem: simple
build-commands:
- "/usr/bin/pip3 --disable-pip-version-check install --prefix=/app --verbose ."
sources:
- type: git
url: https://github.com/gcovr/gcovr
tag: '4.1'
- gcovr.json
- name: exiv2
config-opts:
- "-DCMAKE_INSTALL_PREFIX=/app"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment