Include Flatpak in Repository

This commit is contained in:
Julian Hofer 2019-05-04 10:53:49 +02:00 committed by Hofer-Julian
parent 8f5953b3b4
commit e3eac62c75
26 changed files with 800 additions and 0 deletions

3
.gitignore vendored
View File

@ -17,3 +17,6 @@ vorta.egg-info
htmlcov
*.qm
src/vorta/i18n/ts/vorta.en_US.ts
flatpak/app/
flatpak/.flatpak-builder/

3
flatpak/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
build-dir/
repo/
.flatpak-builder/

5
flatpak/README.md Normal file
View File

@ -0,0 +1,5 @@
flatpak-builder --repo=$HOME/my-flatpak-builds app com.borgbase.vorta.yaml --force-clean; flatpak update com.borgbase.vorta -y
flatpak run com.borgbase.vorta

View File

@ -0,0 +1,64 @@
app-id: com.borgbase.vorta
runtime: org.kde.Platform
runtime-version: '5.12'
sdk: org.kde.Sdk
command: vorta
finish-args:
# X11/Wayland
- --socket=x11
- --share=ipc
- --socket=wayland
- --device=dri
# Sync
- --share=network
# Filesystem access
- --filesystem=home
- --filesystem=/run/media
# dconf access
- --filesystem=xdg-run/dconf
- --filesystem=~/.config/dconf:ro
- --talk-name=ca.desrt.dconf
- --env=DCONF_USER_CONFIG_DIR=.config/dconf
# without it, no tray icon is displayed
- --own-name=org.kde.*
# without it mounting does not work
- --own-name=org.freedesktop.*
# allow access to keyring
- --talk-name=org.freedesktop.secrets
build-options:
env:
MOUNT_FUSE_PATH: ../tmp/
modules:
- python3-pyqt5.json
- python3-setuptools_scm.json
- python3-appdirs.json
- python3-apscheduler.json
- python3-paramiko.json
- python3-peewee.json
- python3-psutil.json
- python3-python-dateutil.json
- python3-qdarkstyle.json
- python3-secretstorage.json
- python3-setuptools.json
- python3-setuptools_git.json
- python3-pytest-runner.json
- openssl.json
- python3-borgbackup.json
- python3-pytest.json
- libfuse.json
- python3-llfuse.json
- name: vorta
buildsystem: simple
build-commands:
- pip3 install --prefix=/app --no-deps .
sources:
- type: dir
path: ../

View File

@ -0,0 +1,113 @@
#!/usr/bin/env python3
__license__ = 'MIT'
import argparse
import json
import hashlib
import os
import subprocess
import tempfile
import urllib.request
import shlex
from collections import OrderedDict
parser = argparse.ArgumentParser()
parser.add_argument('packages', nargs='+')
parser.add_argument('--python2', action='store_true',
help='Look for a Python 2 package')
parser.add_argument('--cleanup', choices=['scripts', 'all'],
help='Select what to clean up after build')
parser.add_argument('--build-only', action='store_const',
dest='cleanup', const='all',
help='Clean up all files after build')
parser.add_argument('--output',
help='Specify output file name')
opts = parser.parse_args()
def get_pypi_url(name: str, filename: str) -> str:
url = 'https://pypi.python.org/pypi/{}/json'.format(name)
print('Extracting download url for', name)
with urllib.request.urlopen(url) as response:
body = json.loads(response.read().decode('utf-8'))
for release in body['releases'].values():
for source in release:
if source['filename'] == filename:
return source['url']
else:
raise Exception('Failed to extract url from {}'.format(url))
def get_file_hash(filename: str) -> str:
sha = hashlib.sha256()
print('Generating hash for', filename)
with open(filename, 'rb') as f:
while True:
data = f.read(1024 * 1024 * 32)
if not data:
break
sha.update(data)
return sha.hexdigest()
package_name = 'python{}-{}'.format('2' if opts.python2 else '3',
opts.packages[0])
tempdir_prefix = 'pip-generator-{}-'.format(package_name)
with tempfile.TemporaryDirectory(prefix=tempdir_prefix) as tempdir:
if opts.python2:
pip_executable = 'pip2'
pip_install_prefix = '--install-option="--prefix=${FLATPAK_DEST}"'
else:
pip_executable = 'pip3'
pip_install_prefix = '--prefix=${FLATPAK_DEST}'
pip_download = [
pip_executable,
'download',
'--dest',
tempdir
]
subprocess.run(pip_download + [
'--no-binary', ':all:',
] + opts.packages, check=True)
pip_command = [
pip_executable,
'install',
'--no-index',
'--find-links="file://${PWD}"',
pip_install_prefix,
] + [
shlex.quote(package)
for package in opts.packages
]
main_module = OrderedDict([
('name', package_name),
('buildsystem', 'simple'),
('build-commands', [' '.join(pip_command)]),
('sources', []),
])
if opts.cleanup == 'all':
main_module['cleanup'] = ['*']
elif opts.cleanup == 'scripts':
main_module['cleanup'] = ['/bin', '/share/man/man1']
for filename in os.listdir(tempdir):
name = filename.rsplit('-', 1)[0]
sha256 = get_file_hash(os.path.join(tempdir, filename))
url = get_pypi_url(name, filename)
source = OrderedDict([
('type', 'file'),
('url', url),
('sha256', sha256),
])
main_module['sources'].append(source)
output_filename = opts.output or package_name + '.json'
with open(output_filename, 'w') as output:
output.write(json.dumps(main_module, indent=4))

View File

@ -0,0 +1,21 @@
diff -up fuse-2.9.2/include/fuse_kernel.h.conflictfix fuse-2.9.2/include/fuse_kernel.h
--- fuse-2.9.2/include/fuse_kernel.h.conflictfix 2013-06-26 09:31:57.862198038 -0400
+++ fuse-2.9.2/include/fuse_kernel.h 2013-06-26 09:32:19.679198365 -0400
@@ -88,12 +88,16 @@
#ifndef _LINUX_FUSE_H
#define _LINUX_FUSE_H
-#include <sys/types.h>
+#ifdef __linux__
+#include <linux/types.h>
+#else
+#include <stdint.h>
#define __u64 uint64_t
#define __s64 int64_t
#define __u32 uint32_t
#define __s32 int32_t
#define __u16 uint16_t
+#endif
/*
* Version negotiation:

View File

@ -0,0 +1,26 @@
From 1ec935f4abecd08957affc7b21bae6bf5be78931 Mon Sep 17 00:00:00 2001
From: Christian Hergert <chergert@redhat.com>
Date: Thu, 12 Apr 2018 01:47:57 -0700
Subject: [PATCH] libfuse: disable sys mount under flatpak
---
lib/mount.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/mount.c b/lib/mount.c
index 7a18c11..1667db2 100644
--- a/lib/mount.c
+++ b/lib/mount.c
@@ -392,6 +392,9 @@ static int fuse_mount_sys(const char *mnt, struct mount_opts *mo,
int fd;
int res;
+ /* disable in flatpak */
+ return -2;
+
if (!mnt) {
fprintf(stderr, "fuse: missing mountpoint parameter\n");
return -1;
--
2.17.0.rc2

View File

@ -0,0 +1,9 @@
#!/bin/sh
if [ -z "$_FUSE_COMMFD" ]; then
FD_ARGS=
else
FD_ARGS="--env=_FUSE_COMMFD=${_FUSE_COMMFD} --forward-fd=${_FUSE_COMMFD}"
fi
exec flatpak-spawn --host --forward-fd=1 --forward-fd=2 --forward-fd=3 $FD_ARGS fusermount "$@"

29
flatpak/libfuse.json Normal file
View File

@ -0,0 +1,29 @@
{
"name" : "libfuse",
"config-opts" : [
"UDEV_RULES_PATH=/app/etc/udev/rules.d",
"INIT_D_PATH=/app/etc/init.d"
],
"post-install": [
"install -m a+rx fusermount-wrapper.sh /app/bin/fusermount"
],
"sources" : [
{
"type" : "archive",
"url" : "https://github.com/libfuse/libfuse/releases/download/fuse-2.9.9/fuse-2.9.9.tar.gz",
"sha256" : "d0e69d5d608cc22ff4843791ad097f554dd32540ddc9bed7638cc6fea7c1b4b5"
},
{
"type" : "patch",
"path" : "fuse-2.9.2-namespace-conflict-fix.patch"
},
{
"type" : "patch",
"path" : "fuse-disable-sys-mount-under-flatpak.patch"
},
{
"type" : "file",
"path" : "fusermount-wrapper.sh"
}
]
}

16
flatpak/openssl.json Normal file
View File

@ -0,0 +1,16 @@
{
"name": "openssl",
"buildsystem": "simple",
"build-commands": [
"./config --prefix=/app --openssldir=/app/ssl shared zlib",
"make -j $FLATPAK_BUILDER_N_JOBS",
"make install"
],
"sources": [
{
"type": "archive",
"url": "https://www.openssl.org/source/openssl-1.1.1b.tar.gz",
"sha256": "5c557b023230413dfb0756f3137a13e6d726838ccd1430888ad15bfb2b43ea4b"
}
]
}

View File

@ -0,0 +1,14 @@
{
"name": "python3-appdirs",
"buildsystem": "simple",
"build-commands": [
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} appdirs"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/48/69/d87c60746b393309ca30761f8e2b49473d43450b150cb08f3c6df5c11be5/appdirs-1.4.3.tar.gz",
"sha256": "9e5896d1372858f8dd3344faf4e5014d21849c756c8d5701f78f8a103b372d92"
}
]
}

View File

@ -0,0 +1,39 @@
{
"name": "python3-apscheduler",
"buildsystem": "simple",
"build-commands": [
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} apscheduler"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/cb/89/e3687d3ed99bc882793f82634e9824e62499fdfdc4b1ae39e211c5b05017/tzlocal-1.5.1.tar.gz",
"sha256": "4ebeb848845ac898da6519b9b31879cf13b6626f7184c496037b818e238f2c4e"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/df/d5/3e3ff673e8f3096921b3f1b79ce04b832e0100b4741573154b72b756a681/pytz-2019.1.tar.gz",
"sha256": "d747dd3d23d77ef44c6a3526e274af6efeb0a6f1afd5a69ba4d5be4098c8e141"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/dd/bf/4138e7bfb757de47d1f4b6994648ec67a51efe58fa907c1e11e350cddfca/six-1.12.0.tar.gz",
"sha256": "d16a0141ec1a18405cd4ce8b4613101da75da0e9a7aec5bdd4fa804d0e0eba73"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/ed/69/c805067de1feedbb98c53174b0f2df44cc05e0e9ee73bb85eebc59e508c6/setuptools-41.0.0.zip",
"sha256": "79d30254b6fe7a8e672e43cd85f13a9f3f2a50080bc81d851143e2219ef0dcb1"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/54/85/514ba3ca2a022bddd68819f187ae826986051d130ec5b972076e4f58a9f3/setuptools_scm-3.2.0.tar.gz",
"sha256": "52ab47715fa0fc7d8e6cd15168d1a69ba995feb1505131c3e814eb7087b57358"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/3d/e7/c63d49e5ac6feea330e837eaa6af1ce5c7ac9242288facc0aa71cb268a75/APScheduler-3.6.0.tar.gz",
"sha256": "8f56b888fdc9dc57dd18d79c124b5093a01e29144be84e3e99130600eea34260"
}
]
}

View File

@ -0,0 +1,19 @@
{
"name": "python3-borgbackup",
"buildsystem": "simple",
"build-commands": [
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} borgbackup"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/f8/26/1138625c9d0ad0e7673c1a313038922b879bef3e6f47242ee4862b25ee5c/borgbackup-1.1.9.tar.gz",
"sha256": "7d0ff84e64c4be35c43ae2c047bb521a94f15b278c2fe63b43950c4836b42575"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/8a/20/6eca772d1a5830336f84aca1d8198e5a3f4715cd1c7fc36d3cc7f7185091/msgpack-python-0.5.6.tar.gz",
"sha256": "378cc8a6d3545b532dfd149da715abae4fda2a3adb6d74e525d0d5e51f46909b"
}
]
}

View File

@ -0,0 +1,15 @@
{
"name": "python3-llfuse",
"buildsystem": "simple",
"build-commands": [
"python3 setup.py build_ext --inplace",
"python3 setup.py install --prefix=/app"
],
"sources": [
{
"type": "archive",
"url": "https://files.pythonhosted.org/packages/75/b4/5248459ec0e7e1608814915479cb13e5baf89034b572e3d74d5c9219dd31/llfuse-1.3.6.tar.bz2",
"sha256": "31a267f7ec542b0cd62e0f1268e1880fdabf3f418ec9447def99acfa6eff2ec9"
}
]
}

View File

@ -0,0 +1,64 @@
{
"name": "python3-paramiko",
"buildsystem": "simple",
"build-commands": [
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} paramiko setuptools wheel"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz",
"sha256": "a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/fc/f1/8db7daa71f414ddabfa056c4ef792e1461ff655c2ae2928a2b675bfed6b4/asn1crypto-0.24.0.tar.gz",
"sha256": "9d5c20441baf0cb60a4ac34cc447c6c189024b6b4c6cd7877034f4965c464e49"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/dd/bf/4138e7bfb757de47d1f4b6994648ec67a51efe58fa907c1e11e350cddfca/six-1.12.0.tar.gz",
"sha256": "d16a0141ec1a18405cd4ce8b4613101da75da0e9a7aec5bdd4fa804d0e0eba73"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/93/1a/ab8c62b5838722f29f3daffcc8d4bd61844aa9b5f437341cc890ceee483b/cffi-1.12.3.tar.gz",
"sha256": "041c81822e9f84b1d9c401182e174996f0bae9991f33725d059b771744290774"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/46/60/b7e32f6ff481b8a1f6c8f02b0fd9b693d1c92ddd2efb038ec050d99a7245/pyasn1-0.4.5.tar.gz",
"sha256": "da2420fe13a9452d8ae97a0e478adde1dee153b11ba832a95b223a2ba01c10f7"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/61/ab/2ac6dea8489fa713e2b4c6c5b549cc962dd4a842b5998d9e80cf8440b7cd/PyNaCl-1.3.0.tar.gz",
"sha256": "0c6100edd16fefd1557da078c7a31e7b7d7a52ce39fdca2bec29d4f7b6e7600c"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/07/ca/bc827c5e55918ad223d59d299fff92f3563476c3b00d0a9157d9c0217449/cryptography-2.6.1.tar.gz",
"sha256": "26c821cbeb683facb966045e2064303029d572a87ee69ca5a1bf54bf55f93ca6"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/ce/3a/3d540b9f5ee8d92ce757eebacf167b9deedb8e30aedec69a2a072b2399bb/bcrypt-3.1.6.tar.gz",
"sha256": "44636759d222baa62806bbceb20e96f75a015a6381690d1bc2eda91c01ec02ea"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/b7/cf/1ea0f5b3ce55cacde1e84cdde6cee1ebaff51bd9a3e6c7ba4082199af6f6/wheel-0.33.1.tar.gz",
"sha256": "66a8fd76f28977bb664b098372daef2b27f60dc4d1688cfab7b37a09448f0e9d"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/ed/69/c805067de1feedbb98c53174b0f2df44cc05e0e9ee73bb85eebc59e508c6/setuptools-41.0.0.zip",
"sha256": "79d30254b6fe7a8e672e43cd85f13a9f3f2a50080bc81d851143e2219ef0dcb1"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/a4/57/86681372e7a8d642718cadeef38ead1c24c4a1af21ae852642bf974e37c7/paramiko-2.4.2.tar.gz",
"sha256": "a8975a7df3560c9f1e2b43dc54ebd40fd00a7017392ca5445ce7df409f900fcb"
}
]
}

View File

@ -0,0 +1,14 @@
{
"name": "python3-peewee",
"buildsystem": "simple",
"build-commands": [
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} peewee"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/95/4f/97404f265299f3e6584efa3890bd325802b4076ea75e184c46c3c6c8c7ba/peewee-3.9.4.tar.gz",
"sha256": "92f5a20ff90d46f1f78e8d53d461061ef0ee192d7a7880efd41894b86fa4762d"
}
]
}

View File

@ -0,0 +1,14 @@
{
"name": "python3-psutil",
"buildsystem": "simple",
"build-commands": [
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} psutil"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/2f/b8/11ec5006d2ec2998cb68349b8d1317c24c284cf918ecd6729739388e4c56/psutil-5.6.1.tar.gz",
"sha256": "fa0a570e0a30b9dd618bffbece590ae15726b47f9f1eaf7518dfb35f4d7dcd21"
}
]
}

View File

@ -0,0 +1,45 @@
{
"name" : "pyqt5",
"config-opts" : [
"--disable-static",
"--enable-x11"
],
"sources" : [
{
"type" : "archive",
"url" : "https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.11.3/PyQt5_gpl-5.11.3.zip",
"sha256" : "7cacf0712d76a702e0e2102a65f411fd72e7f64a851a47a72c03fbafbe447aae"
},
{
"type": "script",
"commands": [
"python3 configure.py --assume-shared --confirm-license --no-designer-plugin --no-qml-plugin --sysroot=/app --qsci-api --qsci-api-destdir=/app/qsci --sipdir=/app/share/sip --sip=/app/bin/sip --sip-incdir=/app/include QMAKE_CFLAGS_RELEASE='-I/usr/include/python3.7m/' QMAKE_CXXFLAGS_RELEASE='-I/usr/include/python3.7m/'"
],
"dest-filename": "configure"
}
],
"modules" : [
{
"name" : "sip",
"sources" : [
{
"type" : "archive",
"url" : "https://sourceforge.net/projects/pyqt/files/sip/sip-4.19.12/sip-4.19.12.tar.gz",
"sha256" : "24617fc31b983df075500ecac0e99d2fb48bf63ba82d4a17518659e571923822"
},
{
"type": "script",
"commands": [
"python3 configure.py --sip-module PyQt5.sip -b ${FLATPAK_DEST}/bin -d ${FLATPAK_DEST}/lib/python3.7/site-packages -e ${FLATPAK_DEST}/include -v ${FLATPAK_DEST}/share/sip --stubsdir=${FLATPAK_DEST}/lib/python3.7/site-packages"
],
"dest-filename": "configure"
}
],
"cleanup" : [
"/bin",
"/include"
]
}
]
}

View File

@ -0,0 +1,14 @@
{
"name": "python3-pytest-runner",
"buildsystem": "simple",
"build-commands": [
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} pytest-runner"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/15/0a/1e73c3a3d3f4f5faf5eacac4e55675c1627b15d84265b80b8fef3f8a3fb5/pytest-runner-4.4.tar.gz",
"sha256": "00ad6cd754ce55b01b868a6d00b77161e4d2006b3918bde882376a0a884d0df4"
}
]
}

View File

@ -0,0 +1,94 @@
{
"name": "python3-pytest",
"buildsystem": "simple",
"build-commands": [
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} pytest pytest-qt pytest-mock pytest-xdist pytest-faulthandler setuptools-scm wheel"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/a8/af/07a13b1560ebcc9bf4dd439aeb63243cbd8d374f4f328691470d6a9b9804/apipkg-1.5.tar.gz",
"sha256": "37228cda29411948b422fae072f57e31d3396d2ee1c9783775980ee9c9990af6"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/30/be/cb5dc4f0fa5ba121943305f4f235dc1a30fae53daac20094ab89f4618578/pytest-forked-1.0.2.tar.gz",
"sha256": "d352aaced2ebd54d42a65825722cb433004b4446ab5d2044851d9cc7a00c9e38"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/fe/9c/215c0b6a82a6b01a89d46559f401045aba2e166a91e545c16960e2bb62df/execnet-1.6.0.tar.gz",
"sha256": "752a3786f17416d491f833a29217dda3ea4a471fc5269c492eebcee8cc4772d3"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/29/ed/3a85eb4afdce6dc33e78dad885e17c678db8055bf65353e0de4944c72a40/more-itertools-7.0.0.tar.gz",
"sha256": "c3e4748ba1aad8dba30a4886b0b1a2004f9a863837b8654e7059eebf727afa5a"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/a7/8c/55c629849c64e665258d8976322dfdad171fa2f57117590662d8a67618a4/pluggy-0.9.0.tar.gz",
"sha256": "19ecf9ce9db2fce065a7a0586e07cfb4ac8614fe96edf628a264b1c70116cf8f"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/ec/0f/cd484ac8820fed363b374af30049adc8fd13065720fd4f4c6be8a2309da7/atomicwrites-1.3.0.tar.gz",
"sha256": "75a9445bac02d8d058d5e1fe689654ba5a6556a1dfd8ce6ec55a0ed79866cfa6"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/cc/d9/931a24cc5394f19383fbbe3e1147a0291276afa43a0dc3ed0d6cd9fda813/attrs-19.1.0.tar.gz",
"sha256": "f0b870f674851ecbfbbbd364d6b5cbdff9dcedbc7f3f5e18a6891057f21fe399"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/ed/69/c805067de1feedbb98c53174b0f2df44cc05e0e9ee73bb85eebc59e508c6/setuptools-41.0.0.zip",
"sha256": "79d30254b6fe7a8e672e43cd85f13a9f3f2a50080bc81d851143e2219ef0dcb1"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/dd/bf/4138e7bfb757de47d1f4b6994648ec67a51efe58fa907c1e11e350cddfca/six-1.12.0.tar.gz",
"sha256": "d16a0141ec1a18405cd4ce8b4613101da75da0e9a7aec5bdd4fa804d0e0eba73"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/f1/5a/87ca5909f400a2de1561f1648883af74345fe96349f34f737cdfc94eba8c/py-1.8.0.tar.gz",
"sha256": "dc639b046a6e2cff5bbe40194ad65936d6ba360b52b3c3fe1d08a82dd50b5e53"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/b7/cf/1ea0f5b3ce55cacde1e84cdde6cee1ebaff51bd9a3e6c7ba4082199af6f6/wheel-0.33.1.tar.gz",
"sha256": "66a8fd76f28977bb664b098372daef2b27f60dc4d1688cfab7b37a09448f0e9d"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/54/85/514ba3ca2a022bddd68819f187ae826986051d130ec5b972076e4f58a9f3/setuptools_scm-3.2.0.tar.gz",
"sha256": "52ab47715fa0fc7d8e6cd15168d1a69ba995feb1505131c3e814eb7087b57358"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/b9/f0/d67a894cd3b49a8177c6fd7f883f275b27d8b71690cde9b5ba9e5f490f2d/pytest-faulthandler-1.5.0.tar.gz",
"sha256": "bf8634c3fd6309ef786ec03b913a5366163fdb094ebcfdebc35626400d790e0d"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/9b/d7/4f03c373d589b55925af8dc6d17850588babf7e41a9803aab96d6c4906d6/pytest-xdist-1.28.0.tar.gz",
"sha256": "f83a485293e81fd57c8a5a85a3f12473a532c5ca7dec518857cbb72766bb526c"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/18/01/92e33e69c1704bb26672f6043748c9ee3bb2d958bcf41cc8b9d447fa6746/pytest-mock-1.10.4.tar.gz",
"sha256": "5bf5771b1db93beac965a7347dc81c675ec4090cb841e49d9d34637a25c30568"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/7c/9a/092c4a8ba026ed99b9741bf11d20fef24753e1cba49ed6d03c2077c35ae5/pytest-qt-3.2.2.tar.gz",
"sha256": "f6ecf4b38088ae1092cbd5beeaf714516d1f81f8938626a2eac546206cdfe7fa"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/2b/b1/c9a84f79fc3bad226a9085289da11ecdd9bd2779a2c654195962b37d4110/pytest-4.4.1.tar.gz",
"sha256": "b7802283b70ca24d7119b32915efa7c409982f59913c1a6c0640aacf118b95f5"
}
]
}

View File

@ -0,0 +1,34 @@
{
"name": "python3-python-dateutil",
"buildsystem": "simple",
"build-commands": [
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} python-dateutil setuptools wheel setuptools_scm"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/dd/bf/4138e7bfb757de47d1f4b6994648ec67a51efe58fa907c1e11e350cddfca/six-1.12.0.tar.gz",
"sha256": "d16a0141ec1a18405cd4ce8b4613101da75da0e9a7aec5bdd4fa804d0e0eba73"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/54/85/514ba3ca2a022bddd68819f187ae826986051d130ec5b972076e4f58a9f3/setuptools_scm-3.2.0.tar.gz",
"sha256": "52ab47715fa0fc7d8e6cd15168d1a69ba995feb1505131c3e814eb7087b57358"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/b7/cf/1ea0f5b3ce55cacde1e84cdde6cee1ebaff51bd9a3e6c7ba4082199af6f6/wheel-0.33.1.tar.gz",
"sha256": "66a8fd76f28977bb664b098372daef2b27f60dc4d1688cfab7b37a09448f0e9d"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/ed/69/c805067de1feedbb98c53174b0f2df44cc05e0e9ee73bb85eebc59e508c6/setuptools-41.0.0.zip",
"sha256": "79d30254b6fe7a8e672e43cd85f13a9f3f2a50080bc81d851143e2219ef0dcb1"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/ad/99/5b2e99737edeb28c71bcbec5b5dda19d0d9ef3ca3e92e3e925e7c0bb364c/python-dateutil-2.8.0.tar.gz",
"sha256": "c89805f6f4d64db21ed966fda138f8a5ed7a4fdbc1a8ee329ce1b74e3c74da9e"
}
]
}

View File

@ -0,0 +1,14 @@
{
"name": "python3-qdarkstyle",
"buildsystem": "simple",
"build-commands": [
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} qdarkstyle"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/ce/76/bfb8e53e53c11432390fab04976791741dd5434c78fb6f862b27beb21ac6/QDarkStyle-2.6.5.tar.gz",
"sha256": "96b14cd0440a0f73db4e14c5accdaa08072625d0395ae011d444508cbd73eb9e"
}
]
}

View File

@ -0,0 +1,89 @@
{
"name": "python3-secretstorage",
"buildsystem": "simple",
"build-commands": [
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} secretstorage flit intreehooks"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz",
"sha256": "a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/06/b8/d1ea38513c22e8c906275d135818fee16ad8495985956a9b7e2bb21942a1/certifi-2019.3.9.tar.gz",
"sha256": "b26104d6835d1f5e49452a26eb2ff87fe7090b89dfcaee5ea2212697e1e1d7ae"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/fd/fa/b21f4f03176463a6cccdb612a5ff71b927e5224e83483012747c12fc5d62/urllib3-1.24.2.tar.gz",
"sha256": "9a247273df709c4fedb38c711e44292304f73f39ab01beda9f6b9fc375669ac3"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/ad/13/eb56951b6f7950cadb579ca166e448ba77f9d24efc03edd7e55fa57d04b7/idna-2.8.tar.gz",
"sha256": "c357b3f628cf53ae2c4c05627ecc484553142ca23264e593d327bcde5e9c3407"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/fc/bb/a5768c230f9ddb03acc9ef3f0d4a3cf93462473795d18e9535498c8f929d/chardet-3.0.4.tar.gz",
"sha256": "84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/93/1a/ab8c62b5838722f29f3daffcc8d4bd61844aa9b5f437341cc890ceee483b/cffi-1.12.3.tar.gz",
"sha256": "041c81822e9f84b1d9c401182e174996f0bae9991f33725d059b771744290774"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/dd/bf/4138e7bfb757de47d1f4b6994648ec67a51efe58fa907c1e11e350cddfca/six-1.12.0.tar.gz",
"sha256": "d16a0141ec1a18405cd4ce8b4613101da75da0e9a7aec5bdd4fa804d0e0eba73"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/fc/f1/8db7daa71f414ddabfa056c4ef792e1461ff655c2ae2928a2b675bfed6b4/asn1crypto-0.24.0.tar.gz",
"sha256": "9d5c20441baf0cb60a4ac34cc447c6c189024b6b4c6cd7877034f4965c464e49"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/35/35/da1123673c54b6d701453fcd20f751d6a1fae43339b3993ae458875576e4/pytoml-0.1.20.tar.gz",
"sha256": "ca2d0cb127c938b8b76a9a0d0f855cf930c1d50cc3a0af6d3595b566519a1013"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/84/f4/5771e41fdf52aabebbadecc9381d11dea0fa34e4759b4071244fa094804c/docutils-0.14.tar.gz",
"sha256": "51e64ef2ebfb29cae1faa133b3710143496eca21c530f3f71424d77687764274"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/52/2c/514e4ac25da2b08ca5a464c50463682126385c4272c18193876e91f4bc38/requests-2.21.0.tar.gz",
"sha256": "502a824f31acdacb3a35b6690b5fbf0bc41d63a24a45c4004352b0242707598e"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/16/1d/74adf3b164a8d19a60d0fcf706a751ffa2a1eaa8e5bbb1b6705c92a05263/jeepney-0.4.tar.gz",
"sha256": "6089412a5de162c04747f0220f6b2223b8ba660acd041e52a76426ca550e3c70"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/07/ca/bc827c5e55918ad223d59d299fff92f3563476c3b00d0a9157d9c0217449/cryptography-2.6.1.tar.gz",
"sha256": "26c821cbeb683facb966045e2064303029d572a87ee69ca5a1bf54bf55f93ca6"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/f9/a5/5dacebf93232a847970921af2b020f9f2a8e0064e3a97727cd38efc77ba0/intreehooks-1.0.tar.gz",
"sha256": "87e600d3b16b97ed219c078681260639e77ef5a17c0e0dbdd5a302f99b4e34e1"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/1f/87/9ea76ab4cdf1fd36710d9688ec36a0053067c47e753b32272f952ff206c5/flit-1.3.tar.gz",
"sha256": "6f6f0fb83c51ffa3a150fa41b5ac118df9ea4a87c2c06dff4ebf9adbe7b52b36"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/a6/89/df343dbc2957a317127e7ff2983230dc5336273be34f2e1911519d85aeb5/SecretStorage-3.1.1.tar.gz",
"sha256": "20c797ae48a4419f66f8d28fc221623f11fc45b6828f96bdb1ad9990acb59f92"
}
]
}

View File

@ -0,0 +1,14 @@
{
"name": "python3-setuptools",
"buildsystem": "simple",
"build-commands": [
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} setuptools"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/ed/69/c805067de1feedbb98c53174b0f2df44cc05e0e9ee73bb85eebc59e508c6/setuptools-41.0.0.zip",
"sha256": "79d30254b6fe7a8e672e43cd85f13a9f3f2a50080bc81d851143e2219ef0dcb1"
}
]
}

View File

@ -0,0 +1,14 @@
{
"name": "python3-setuptools_git",
"buildsystem": "simple",
"build-commands": [
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} setuptools_git"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/d9/c5/396c2c06cc89d4ce2d8ccf1d7e6cf31b33d4466a7c65a67a992adb3c6f29/setuptools-git-1.2.tar.gz",
"sha256": "ff64136da01aabba76ae88b050e7197918d8b2139ccbf6144e14d472b9c40445"
}
]
}

View File

@ -0,0 +1,14 @@
{
"name": "python3-setuptools_scm",
"buildsystem": "simple",
"build-commands": [
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} setuptools_scm"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/54/85/514ba3ca2a022bddd68819f187ae826986051d130ec5b972076e4f58a9f3/setuptools_scm-3.2.0.tar.gz",
"sha256": "52ab47715fa0fc7d8e6cd15168d1a69ba995feb1505131c3e814eb7087b57358"
}
]
}