Skip to content

Commit a31f851

Browse files
committed
More changes for Flathub submission
1 parent 70d3788 commit a31f851

File tree

3 files changed

+18
-12
lines changed

3 files changed

+18
-12
lines changed

au.stevetech.yafi.json

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"*.a"
2323
],
2424
"modules" : [
25+
"python3-cros_ec_python.json",
2526
{
2627
"name" : "yafi",
2728
"builddir" : true,
@@ -32,18 +33,6 @@
3233
"path" : "."
3334
}
3435
]
35-
},
36-
{
37-
"name": "cros_ec_python",
38-
"buildsystem": "simple",
39-
"build-options": {
40-
"build-args": [
41-
"--share=network"
42-
]
43-
},
44-
"build-commands": [
45-
"pip3 install --prefix=${FLATPAK_DEST} --no-cache-dir \"cros_ec_python>=0.2.0\""
46-
]
4736
}
4837
]
4938
}

flathub.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"only-arches": ["x86_64"]
3+
}

python3-cros_ec_python.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "python3-cros_ec_python",
3+
"buildsystem": "simple",
4+
"build-commands": [
5+
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"cros_ec_python\" --no-build-isolation"
6+
],
7+
"sources": [
8+
{
9+
"type": "file",
10+
"url": "https://files.pythonhosted.org/packages/33/11/c23a7acaa333589921a2f524517eb719dfb72628153ae22fcdf2e9052ac6/cros_ec_python-0.2.0-py3-none-any.whl",
11+
"sha256": "d38e493fbcaf23bc4b613d1342a036cecc6506284afc74f37013a3eac85a01b9"
12+
}
13+
]
14+
}

0 commit comments

Comments
 (0)