forked from pool/proteus
Accepting request 1118550 from Application:ERP:GNUHealth:Factory
OBS-URL: https://build.opensuse.org/request/show/1118550 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/proteus?expand=0&rev=25
This commit is contained in:
commit
c2dfa73cfe
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 18 08:42:19 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Clean up deprecated python packaging patterns
|
||||||
|
- Activate unittests
|
||||||
|
- Clean up dependencies
|
||||||
|
- Use PEP517 build and install
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 17 11:54:37 UTC 2023 - Daniel Garcia Moreno <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Remove %python3_install prefix and root options, that's included in
|
||||||
|
the macro by default.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 6 17:37:34 UTC 2023 - Axel Braun <axel.braun@gmx.de>
|
Mon Feb 6 17:37:34 UTC 2023 - Axel Braun <axel.braun@gmx.de>
|
||||||
|
|
||||||
|
27
proteus.spec
27
proteus.spec
@ -30,14 +30,15 @@ Source1: http://downloads.tryton.org/%{majorver}/%{name}-%{version}.tar.g
|
|||||||
Source2: https://keybase.io/cedrickrier/pgp_keys.asc?fingerprint=7C5A4360F6DF81ABA91FD54D6FF50AFE03489130#/%{name}.keyring
|
Source2: https://keybase.io/cedrickrier/pgp_keys.asc?fingerprint=7C5A4360F6DF81ABA91FD54D6FF50AFE03489130#/%{name}.keyring
|
||||||
# List of additional build dependencies
|
# List of additional build dependencies
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-defusedxml
|
||||||
BuildRequires: python3-lxml
|
BuildRequires: python3-pip
|
||||||
BuildRequires: python3-psycopg2
|
BuildRequires: python3-python-dateutil
|
||||||
BuildRequires: python3-pydot
|
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
Requires: python3-dateutil
|
BuildRequires: python3-wheel
|
||||||
|
BuildRequires: trytond
|
||||||
|
Requires: python3-defusedxml
|
||||||
|
Requires: python3-python-dateutil
|
||||||
Requires: trytond
|
Requires: trytond
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -47,16 +48,22 @@ Proteus allows you to access Tryton's modules like a client. Useful for automati
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python3_build
|
%python3_pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python3_install --prefix=%_prefix --root=%buildroot
|
%python3_pyproject_install
|
||||||
%fdupes -s %{buildroot}
|
%fdupes %{buildroot}%{python3_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
export PYTHONDONTWRITEBYTECODE=1
|
||||||
|
export PYTHONPATH=%{buildroot}%{python3_sitelib}
|
||||||
|
python3 -m unittest -v
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/proteus
|
||||||
|
%{python3_sitelib}/proteus-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user