- added dependency on bleak
OBS-URL: https://build.opensuse.org/package/show/Application:ERP:GNUHealth:Factory/mygnuhealth?expand=0&rev=43
This commit is contained in:
commit
029c0f0efb
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
16
_service
Normal file
16
_service
Normal file
@ -0,0 +1,16 @@
|
||||
<services>
|
||||
<!-- <service name="obs_scm">
|
||||
<param name="url">https://invent.kde.org/pim/mygnuhealth.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="versionformat">VERSIONgit.%ci~%h</param>
|
||||
</service>
|
||||
<service mode="buildtime" name="tar"/>
|
||||
<service mode="buildtime" name="recompress">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">gz</param>
|
||||
</service>
|
||||
<service name="set_version"/> -->
|
||||
|
||||
<service name="download_files" mode="localonly" />
|
||||
|
||||
</services>
|
3
mygnuhealth-2.2.0.tar.gz
Normal file
3
mygnuhealth-2.2.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5c50243428c81c98c85b220ee9010f1fb5879817ef8314c4c1b8db265cefcadd
|
||||
size 2715298
|
BIN
mygnuhealth-2.2.0.tar.gz.sig
Normal file
BIN
mygnuhealth-2.2.0.tar.gz.sig
Normal file
Binary file not shown.
143
mygnuhealth.changes
Normal file
143
mygnuhealth.changes
Normal file
@ -0,0 +1,143 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 29 12:59:59 UTC 2024 - Axel Braun <axel.braun@gmx.de>
|
||||
|
||||
- added dependency on bleak
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 21 13:53:50 UTC 2024 - Axel Braun <axel.braun@gmx.de>
|
||||
|
||||
- version 2.2.0
|
||||
* Support for Kivy 2.3.0
|
||||
* Localization. MyGNUHealth now has support for different languages.
|
||||
English, Spanish and Chinese are available to use, and French,
|
||||
German, Italian are ready to be translated. There will be a
|
||||
translation component for MyGNUHealth at Codeberg's Weblate
|
||||
instance.
|
||||
* Bluetooth functionality: Starting with MyGH series 2.2 we provide
|
||||
bluetooth integration for open compatible devices and health
|
||||
trackers. We include the link with the Pinetime Smartwatch
|
||||
(experimental) and the possibility to link to any open hardware
|
||||
device (glucometer, scales, blood pressure monitors, .. ). We need
|
||||
to get a list of available medical devices that respect our privacy
|
||||
and freedom, so let us know of any!
|
||||
* Charts now allow to select date ranges with calendar widgets The
|
||||
Book of Life have a revised format for the pages. The charts have
|
||||
been improved in the format and include x axis labels.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 14 09:50:43 UTC 2024 - Axel Braun <axel.braun@gmx.de>
|
||||
|
||||
- version 2.2b1
|
||||
* beta version for testing only!
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 7 11:12:02 UTC 2024 - Axel Braun <axel.braun@gmx.de>
|
||||
|
||||
- version 2.0.3
|
||||
* No changelog provided
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 27 15:35:36 UTC 2024 - Axel Braun <axel.braun@gmx.de>
|
||||
|
||||
- version 2.0.2
|
||||
* No changelog provided
|
||||
* sigature check temporary disabled
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 7 09:39:23 UTC 2024 - Axel Braun <axel.braun@gmx.de>
|
||||
|
||||
- version 2.0.1
|
||||
See Changelog for details
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 29 18:39:29 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Fix single singlespec: Can't use python_subpackages rewriter
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 29 18:03:46 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Remove dependencies which are not used at runtime anywhere
|
||||
* only CairoSVG is reqired for PNG charts since at least
|
||||
pygal 1.7:
|
||||
https://github.com/Kozea/pygal/blob/1.6.2/setup.py#L70
|
||||
* remove-obsolete-deps.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 29 16:31:48 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Back to singlespec for a single flavor in order to
|
||||
use sle15_python_module_pythons
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 29 16:13:11 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Fix BuildRequirements
|
||||
- Fix doc package duplicate file warning
|
||||
- Remove stray singlespec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 27 15:26:22 UTC 2023 - Axel Braun <axel.braun@gmx.de>
|
||||
|
||||
- Version 2.0.0
|
||||
* complete rewrite based on Kivy (instead Kirigami)
|
||||
* For Details see CHANGELOG
|
||||
* doc_path.diff removed
|
||||
* shebang.diff removed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 11 11:44:11 UTC 2022 - Axel Braun <axel.braun@gmx.de>
|
||||
|
||||
- License string corrected
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 19 07:13:10 UTC 2021 - Axel Braun <axel.braun@gmx.de>
|
||||
|
||||
- version 1.0.5
|
||||
* switched source download to gnu.org, added signature
|
||||
* added documentation in DE, ES, FR
|
||||
* Minor adjustmends
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 23 16:25:06 UTC 2021 - Axel Braun <axel.braun@gmx.de>
|
||||
|
||||
- version 1.0.4
|
||||
* fixes plotting issues when matplotlib uses unsorted records or dup
|
||||
batch inputs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 25 13:42:31 UTC 2021 - Axel Braun <axel.braun@gmx.de>
|
||||
|
||||
- version 1.0.3
|
||||
* update of Uniprot-database
|
||||
* some minor changes / updates in the documentation and credits
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 15 06:02:51 UTC 2021 - Axel Braun <axel.braun@gmx.de>
|
||||
|
||||
- Version 1.0.2
|
||||
* MyGNUHealth does not display global menu on MATE
|
||||
* Update link from GNU Savannah
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 8 06:40:10 UTC 2021 - Axel Braun <axel.braun@gmx.de>
|
||||
|
||||
- Version 1.0.1
|
||||
* Fix the download path within GNU.org. Now it points to
|
||||
https://ftp.gnu.org/gnu/health/mygnuhealth/
|
||||
* Include Changelog file
|
||||
* Include local / offline documentation (resides on
|
||||
/usr/share/doc/packages/mygnuhealth)
|
||||
* doc_path.diff added
|
||||
* Clean up __pycache__ from tarball
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 24 15:30:33 UTC 2021 - Axel Braun <axel.braun@gmx.de>
|
||||
|
||||
- Version 1.0.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 31 15:55:45 UTC 2020 - Axel Braun <axel.braun@gmx.de>
|
||||
|
||||
- Version 0.7a6
|
||||
initial OBS build
|
98
mygnuhealth.keyring
Normal file
98
mygnuhealth.keyring
Normal file
@ -0,0 +1,98 @@
|
||||
Member GPG keyring of health group.
|
||||
|
||||
Note that this keyring is not intended for checking releases of that group.
|
||||
Use Group Release Keyring instead.
|
||||
|
||||
GPG keys of Luis Falcon <meanmicio>
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQINBFkOA04BEADnOBk9Aio61+3AlTY+slTusQNT3bkMVxFEY87I2p0cmBG1oBwD
|
||||
uC/DvnYKafg90juAF+LNIuhlCG351/bpJiu/8XsQSk55B2Jq9TeE4Sj/ilsS4mV2
|
||||
Kd+xqBER/N4T7c/d3prNv2mTrr1BL0qCfLxWrkZTkT5pheGHoI5LjhlQnZ9yuPOx
|
||||
uYSmh+Rn0tUBEr82J0co6joa7FHiJsJc5P0lj40BoR9sLxqu08bLu21T0NYuVlab
|
||||
uAjxeZ+qLS0ofDQSuU8NJPmbsWQ0nXHuagIZiZ1YIHQgT1x75aslwntD7ZeJlTfl
|
||||
ipH1jrNVgPcNchOnSXPI6/N1+DAgCckx38/pM1PBnsgCV3hjQrhQPUav5ZmcbkvJ
|
||||
0Hbsg74HbF2C+XmIeeDj5GlkKX0QwccYCajIwNzV6/VsfYWaaXZH08D8eKZ1eg1g
|
||||
hKU1bQY8+vXhkq9WaFAb0YhLmhp0IzJLTuUfUjN8ARANRSVryisjZLb9MyAiawzL
|
||||
LH1o5HY8mRsG1VFdQIlWe034x8t5ADkCIjwNq124Byvw+PdDya3RfeaNgwCOIPmz
|
||||
woK2jXz7yNvzCQp1/6JmdrFOu9TkpHlrQEVFXPP7/3A7oRhPQItU+xpJrP5UaF0l
|
||||
UD7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FVYHGC+VKj/JgT9Ctof10B2Hrlt40PXoliexwo7wvl8cHFjonF2r9WXZ2
|
||||
wgeqPuoNWoFYKK0/GlVa
|
||||
=doah
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
114
mygnuhealth.spec
Normal file
114
mygnuhealth.spec
Normal file
@ -0,0 +1,114 @@
|
||||
#
|
||||
# spec file for package mygnuhealth
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2020-2024 Dr. Axel Braun
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define modname MyGNUHealth
|
||||
%define majorver 2
|
||||
|
||||
%if %{?suse_version} > 1500
|
||||
# only the primary one for TW
|
||||
%define pythons python3
|
||||
%define mypython python3
|
||||
%define mypython_sitelib %{python3_sitelib}
|
||||
%else
|
||||
# needs Python 3.9+
|
||||
%{?sle15_python_module_pythons}
|
||||
# use the one define in sle15_python_module_pythons
|
||||
%define mypython %pythons
|
||||
%define mypython_sitelib %{expand:%%%{mypython}_sitelib}
|
||||
%endif
|
||||
|
||||
Name: mygnuhealth
|
||||
Version: %{majorver}.2.0
|
||||
Release: 0
|
||||
Summary: The personal health record for the GNU Health system
|
||||
License: GPL-3.0-or-later
|
||||
Group: Productivity/Office/Management
|
||||
URL: http://health.gnu.org/
|
||||
## Source: https://files.pythonhosted.org/packages/source/m/%{name}/%{name}-%{version}.tar.gz
|
||||
Source: https://ftp.gnu.org/gnu/health/mygnuhealth/%{name}-%{version}.tar.gz
|
||||
Source1: https://ftp.gnu.org/gnu/health/mygnuhealth/%{name}-%{version}.tar.gz.sig
|
||||
Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=health&download=1#/%{name}.keyring
|
||||
Patch0: remove-obsolete-deps.patch
|
||||
# SECTION build
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: %{python_module setuptools >= 61}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: python-rpm-macros
|
||||
# /SECTION
|
||||
# SECTION test requirements
|
||||
# there are no tests, but at least check that all the runtime requirements are available on build time
|
||||
BuildRequires: %{python_module bcrypt}
|
||||
BuildRequires: %{python_module dateutil}
|
||||
BuildRequires: %{python_module Kivy}
|
||||
BuildRequires: %{python_module pygal}
|
||||
BuildRequires: %{python_module tinydb}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module CairoSVG}
|
||||
Requires: %{mypython}-dateutil
|
||||
Requires: %{mypython}-bcrypt
|
||||
Requires: %{mypython}-Kivy
|
||||
Requires: %{mypython}-pygal
|
||||
Requires: %{mypython}-tinydb
|
||||
Requires: %{mypython}-requests
|
||||
Requires: %{mypython}-CairoSVG
|
||||
# /SECTION
|
||||
## BuildArch: noarch
|
||||
# singlespec rewriter for exactly one python (see above)
|
||||
|
||||
|
||||
%description
|
||||
The Personal Health Information Management System for Desktop and Mobile Devices
|
||||
for the GNU Health ecosystem
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
|
||||
# remove shebang
|
||||
%python_expand sed -i '1{/env python/d}' %{buildroot}%{python_sitelib}/mygnuhealth/*.py
|
||||
|
||||
# menu-entry
|
||||
desktop-file-install --dir %{buildroot}%{_datadir}/applications org.gnuhealth.mygnuhealth.desktop
|
||||
%suse_update_desktop_file org.gnuhealth.mygnuhealth
|
||||
|
||||
%python_expand %fdupes %{buildroot}%{python_sitelib}
|
||||
|
||||
%post
|
||||
#clean qml cache to avoid issues
|
||||
rm -rf /home/*/.cache/mygnuhealth
|
||||
|
||||
%postun
|
||||
#clean qml cache - housekeeping
|
||||
rm -rf /home/*/.cache/mygnuhealth
|
||||
|
||||
%files
|
||||
%attr(755,root,root) %{_bindir}/%{name}
|
||||
%{_datadir}/applications/org.gnuhealth.mygnuhealth.desktop
|
||||
%license COPYRIGHT LICENSE
|
||||
%{mypython_sitelib}/mygnuhealth
|
||||
%{mypython_sitelib}/mygnuhealth-%{version}.dist-info
|
||||
|
||||
%changelog
|
12
remove-obsolete-deps.patch
Normal file
12
remove-obsolete-deps.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -U 3 -dHrN -- a/pyproject.toml b/pyproject.toml
|
||||
--- a/pyproject.toml 2024-06-18 17:57:21.000000000 +0200
|
||||
+++ b/pyproject.toml 2024-06-21 18:23:26.520311691 +0200
|
||||
@@ -19,8 +19,6 @@
|
||||
'tinydb',
|
||||
'bcrypt',
|
||||
'cairosvg',
|
||||
- 'tinycss',
|
||||
- 'cssselect',
|
||||
'bleak'
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user