[d-feet/fix-ci-flatpak-build: 2/3] flatpak: install pycodestyle during build
- From: Will Thompson <wjt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [d-feet/fix-ci-flatpak-build: 2/3] flatpak: install pycodestyle during build
- Date: Wed, 19 Sep 2018 19:11:45 +0000 (UTC)
commit 9213ab4f4cc39dd454947a8954f00f438d90e143
Author: Will Thompson <will willthompson co uk>
Date: Wed Sep 19 20:06:43 2018 +0100
flatpak: install pycodestyle during build
This will allow us to run `make check` during CI flatpak builds, which
manually build the d-feet module rather than building it with
flatpak-builder. We still use --disable-tests in the real manifest
because the tests require an X (or Wayland) server.
Specifying "cleanup": ["*"] causes all files installed by the
pycodestyle module to be removed at the end of the build process.
org.gnome.dfeet.json | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
---
diff --git a/org.gnome.dfeet.json b/org.gnome.dfeet.json
index 3ae2608..1c654d8 100644
--- a/org.gnome.dfeet.json
+++ b/org.gnome.dfeet.json
@@ -58,6 +58,26 @@
"/lib/python*/site-packages/gi/*.la"
]
},
+ {
+ "name": "pycodestyle",
+ "buildsystem": "simple",
+ "build-commands": [
+ "python3 setup.py install --prefix=/app"
+ ],
+ "ensure-writable" : [
+ "/lib/python*/site-packages/easy-install.pth"
+ ],
+ "sources": [
+ {
+ "type": "archive",
+ "url":
"https://files.pythonhosted.org/packages/28/ad/cae9654d7fd64eb3d2ab2c44c9bf8dc5bd4fb759625beab99532239aa6e8/pycodestyle-2.4.0.tar.gz",
+ "sha256": "cbfca99bd594a10f674d0cd97a3d802a1fdef635d4361e1a2658de47ed261e3a"
+ }
+ ],
+ "cleanup": [
+ "*"
+ ]
+ },
{
"name": "d-feet",
"config-opts": [
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]