mirror of
https://github.com/danieldemus/pyp2spec.git
synced 2026-07-29 05:34:22 +02:00
Add python-boutdata test config and expected spec file
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
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 boutdata
|
||||
|
||||
|
||||
%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.
|
||||
@@ -0,0 +1,28 @@
|
||||
pypi_name = "boutdata"
|
||||
python_name = "python-boutdata"
|
||||
module_name = "boutdata"
|
||||
version = "0.1.3"
|
||||
release = "0.2"
|
||||
summary = "Python package for collecting BOUT++ data"
|
||||
license = "LGPLv3+"
|
||||
url = "http://boutproject.github.io"
|
||||
source = "%{pypi_source boutdata}"
|
||||
archive_name = "boutdata"
|
||||
description = '''
|
||||
Python interface for reading bout++ data files.
|
||||
'''
|
||||
manual_build_requires = [
|
||||
"python3dist(setuptools)",
|
||||
"python3dist(setuptools-scm[toml]) >= 3.4",
|
||||
"python3dist(setuptools-scm-git-archive)",
|
||||
"python3dist(pytest)",
|
||||
]
|
||||
|
||||
extra_build_requires = ["runtime"]
|
||||
|
||||
test_method = "pytest"
|
||||
license_files = ["LICENSE"]
|
||||
doc_files = ["README.md"]
|
||||
|
||||
changelog_head = "Fri Sep 18 2020 Package Maintainer <package@maintainer.org>"
|
||||
changelog_msg = "Initial package."
|
||||
Reference in New Issue
Block a user