forked from pool/python-lancet-ioam
		
	- Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lancet-ioam?expand=0&rev=5
This commit is contained in:
		| @@ -1,3 +1,8 @@ | |||||||
|  | ------------------------------------------------------------------- | ||||||
|  | Fri May 30 09:38:39 UTC 2025 - Markéta Machová <mmachova@suse.com> | ||||||
|  |  | ||||||
|  | - Convert to pip-based build | ||||||
|  |  | ||||||
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ||||||
| Tue Dec  4 12:49:53 UTC 2018 - Matej Cepl <mcepl@suse.com> | Tue Dec  4 12:49:53 UTC 2018 - Matej Cepl <mcepl@suse.com> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| # | # | ||||||
| # spec file for package python-lancet-ioam | # spec file for package python-lancet-ioam | ||||||
| # | # | ||||||
| # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. | # Copyright (c) 2025 SUSE LLC | ||||||
| # | # | ||||||
| # 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 | ||||||
| @@ -16,7 +16,6 @@ | |||||||
| # | # | ||||||
|  |  | ||||||
|  |  | ||||||
| %{?!python_module:%define python_module() python-%{**} python3-%{**}} |  | ||||||
| %bcond_without test | %bcond_without test | ||||||
| Name:           python-lancet-ioam | Name:           python-lancet-ioam | ||||||
| Version:        0.9.0 | Version:        0.9.0 | ||||||
| @@ -24,9 +23,11 @@ Release:        0 | |||||||
| Summary:        Launch jobs, organize the output, and dissect the results | Summary:        Launch jobs, organize the output, and dissect the results | ||||||
| License:        BSD-3-Clause | License:        BSD-3-Clause | ||||||
| Group:          Development/Languages/Python | Group:          Development/Languages/Python | ||||||
| Url:            http://ioam.github.com/lancet/ | URL:            http://ioam.github.com/lancet/ | ||||||
| Source:         https://files.pythonhosted.org/packages/source/l/lancet-ioam/lancet-ioam-%{version}.tar.gz | Source:         https://files.pythonhosted.org/packages/source/l/lancet-ioam/lancet-ioam-%{version}.tar.gz | ||||||
|  | BuildRequires:  %{python_module pip} | ||||||
| BuildRequires:  %{python_module setuptools} | BuildRequires:  %{python_module setuptools} | ||||||
|  | BuildRequires:  %{python_module wheel} | ||||||
| BuildRequires:  fdupes | BuildRequires:  fdupes | ||||||
| BuildRequires:  python-rpm-macros | BuildRequires:  python-rpm-macros | ||||||
| Recommends:     python-Pillow | Recommends:     python-Pillow | ||||||
| @@ -34,7 +35,6 @@ Recommends:     python-holoviews | |||||||
| Recommends:     python-numpy | Recommends:     python-numpy | ||||||
| Recommends:     python-pandas | Recommends:     python-pandas | ||||||
| BuildArch:      noarch | BuildArch:      noarch | ||||||
|  |  | ||||||
| %python_subpackages | %python_subpackages | ||||||
|  |  | ||||||
| %description | %description | ||||||
| @@ -49,19 +49,18 @@ plotting, tuning, or analysis. Lancet helps you extract the | |||||||
| information you care about from potentially enormous volumes of data | information you care about from potentially enormous volumes of data | ||||||
| generated by such parameter exploration. | generated by such parameter exploration. | ||||||
|  |  | ||||||
|  |  | ||||||
| %prep | %prep | ||||||
| %setup -q -n lancet-ioam-%{version} | %setup -q -n lancet-ioam-%{version} | ||||||
|  |  | ||||||
| %build | %build | ||||||
| %python_build | %pyproject_wheel | ||||||
|  |  | ||||||
| %install | %install | ||||||
| %python_install | %pyproject_install | ||||||
| %python_expand %fdupes %{buildroot}%{$python_sitelib} | %python_expand %fdupes %{buildroot}%{$python_sitelib} | ||||||
|  |  | ||||||
| %files %{python_files} | %files %{python_files} | ||||||
| %defattr(-,root,root,-) | %{python_sitelib}/lancet[-_]ioam | ||||||
| %{python_sitelib}/* | %{python_sitelib}/lancet[-_]ioam-%{version}*-info | ||||||
|  |  | ||||||
| %changelog | %changelog | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user