mirror of
https://github.com/danieldemus/pyp2spec.git
synced 2026-07-29 05:34:22 +02:00
58 lines
1.1 KiB
RPMSpec
58 lines
1.1 KiB
RPMSpec
Name: python-boutdata
|
|
Version: 0.1.3
|
|
Release: 0.2%{?dist}
|
|
Summary: Python package for collecting BOUT++ data
|
|
|
|
License: LGPLv3+
|
|
URL: http://boutproject.github.io
|
|
Source0: %{pypi_source boutdata}
|
|
|
|
BuildArch: noarch
|
|
BuildRequires: python3-devel
|
|
|
|
%global _description %{expand:
|
|
Python interface for reading bout++ data files.
|
|
}
|
|
|
|
BuildRequires: python3dist(setuptools)
|
|
BuildRequires: python3dist(setuptools-scm[toml]) >= 3.4
|
|
BuildRequires: python3dist(setuptools-scm-git-archive)
|
|
BuildRequires: python3dist(pytest)
|
|
|
|
%description %_description
|
|
|
|
%package -n python3-boutdata
|
|
Summary: %{summary}
|
|
|
|
%description -n python3-boutdata %_description
|
|
|
|
|
|
%prep
|
|
%autosetup -p1 -n boutdata-%{version}
|
|
|
|
|
|
%generate_buildrequires
|
|
%pyproject_buildrequires -r
|
|
|
|
|
|
%build
|
|
%pyproject_wheel
|
|
|
|
|
|
%install
|
|
%pyproject_install
|
|
%pyproject_save_files '*' +auto
|
|
|
|
|
|
%check
|
|
%pytest
|
|
|
|
|
|
%files -n python3-boutdata -f %{pyproject_files}
|
|
%doc README.md
|
|
%license LICENSE
|
|
|
|
|
|
%changelog
|
|
* Fri Sep 18 2020 Package Maintainer <package@maintainer.org> - 0.1.3-0.2
|
|
- Initial package. |