Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
python-roifile
python-roifile.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-roifile.spec of Package python-roifile
# # spec file for package python-roifile # # Copyright (c) 2024 SUSE LLC # # 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 packagename roifile Name: python-roifile Version: 2024.9.15 Release: 0 Summary: Read and write ImageJ ROI format License: BSD-3-Clause URL: https://www.lfd.uci.edu/~gohlke/ Source: https://github.com/cgohlke/roifile/archive/v%{version}.tar.gz#/roifile-%{version}.tar.gz BuildRequires: %{python_module Cython} BuildRequires: %{python_module matplotlib >= 3.2} BuildRequires: %{python_module numpy >= 1.15.1} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module tifffile >= 2020.8.13} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-matplotlib >= 3.2 Requires: python-numpy >= 1.15.1 Requires: python-tifffile >= 2020.8.13 Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch %python_subpackages %description Roifile is a Python library to read, write, create, and plot ImageJ ROIs, an undocumented and ImageJ application specific format to store regions of interest, geometric shapes, paths, text, and whatnot for image overlays. %prep %setup -q -n %{packagename}-%{version} # Fix warning wrong-file-end-of-line-encoding sed -i 's/\r//' README.rst %build %pyproject_wheel %install %pyproject_install %python_clone -a %{buildroot}%{_bindir}/%{packagename} %python_expand %fdupes %{buildroot}%{$python_sitelib} %prepare_alternative %{packagename} %post %python_install_alternative %{packagename} %postun %python_uninstall_alternative %{packagename} %check # Test not given %files %{python_files} %doc README.rst %license LICENSE %python_alternative %{_bindir}/%{packagename} %{python_sitelib}/%{packagename} %{python_sitelib}/%{packagename}-%{version}.dist-info %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor