Accepting request 1154114 from Application:ERP:GNUHealth:4.4
- switch to wheel, enable %{?sle15_python_module_pythons} OBS-URL: https://build.opensuse.org/request/show/1154114 OBS-URL: https://build.opensuse.org/package/show/Application:ERP:GNUHealth:Factory/gnuhealth-thalamus?expand=0&rev=22
This commit is contained in:
parent
e69e0dc0e0
commit
ee0cd4fab5
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 22 10:11:10 UTC 2024 - Axel Braun <axel.braun@gmx.de>
|
||||||
|
|
||||||
|
- switch to wheel, enable %{?sle15_python_module_pythons}
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 8 12:34:35 UTC 2021 - Axel Braun <axel.braun@gmx.de>
|
Thu Apr 8 12:34:35 UTC 2021 - Axel Braun <axel.braun@gmx.de>
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file for package gnuhealth-thalamus
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
# Copyright (c) 2017-2022 Dr. Axel Braun
|
# Copyright (c) 2017-2024 Dr. Axel Braun
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,6 +18,8 @@
|
|||||||
|
|
||||||
|
|
||||||
%bcond_without test
|
%bcond_without test
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
|
%define skip_python39 1
|
||||||
|
|
||||||
%define modname thalamus
|
%define modname thalamus
|
||||||
Name: gnuhealth-%{modname}
|
Name: gnuhealth-%{modname}
|
||||||
@ -28,29 +30,36 @@ License: GPL-3.0-or-later
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: http://health.gnu.org
|
URL: http://health.gnu.org
|
||||||
Source: https://files.pythonhosted.org/packages/source/t/%{modname}/%{modname}-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/t/%{modname}/%{modname}-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: postgresql-server
|
BuildRequires: postgresql-server
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python3-devel
|
|
||||||
BuildRequires: python3-setuptools
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: python3-Flask
|
BuildRequires: %{python_module Flask-Cors}
|
||||||
BuildRequires: python3-Flask-Cors
|
BuildRequires: %{python_module Flask-HTTPAuth}
|
||||||
BuildRequires: python3-Flask-HTTPAuth
|
BuildRequires: %{python_module Flask-RESTful}
|
||||||
BuildRequires: python3-Flask-RESTful
|
BuildRequires: %{python_module Flask-WTF}
|
||||||
BuildRequires: python3-Flask-WTF
|
BuildRequires: %{python_module Flask}
|
||||||
BuildRequires: python3-bcrypt
|
BuildRequires: %{python_module bcrypt}
|
||||||
BuildRequires: python3-psycopg2
|
BuildRequires: %{python_module psycopg2}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: fdupes
|
|
||||||
Requires: postgresql-server
|
Requires: %{python_module Flask-HTTPAuth}
|
||||||
Requires: python3-Flask
|
Requires: %{python_module Flask-RESTful}
|
||||||
Requires: python3-Flask-HTTPAuth
|
Requires: %{python_module Flask-WTF}
|
||||||
Requires: python3-Flask-RESTful
|
Requires: %{python_module Flask}
|
||||||
Requires: python3-Flask-WTF
|
Requires: %{python_module bcrypt}
|
||||||
Requires: python3-bcrypt
|
Requires: %{python_module psycopg2}
|
||||||
Requires: python3-psycopg2
|
# postgres may run on own cluster
|
||||||
|
Suggests: postgresql-server
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Thalamus: The GNU Health Federation Message and Authentication Server
|
Thalamus: The GNU Health Federation Message and Authentication Server
|
||||||
=====================================================================
|
=====================================================================
|
||||||
@ -72,19 +81,19 @@ Thalamus is part of the GNU Health project, but it is a self contained,
|
|||||||
independent server that can be used in different health related scenarios.
|
independent server that can be used in different health related scenarios.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{modname}-%{version}
|
%autosetup -n %{modname}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python3 setup.py build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python3 setup.py install --prefix="%{_prefix}" --root=%{buildroot}
|
%pyproject_install
|
||||||
%fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python3_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user