53 lines
1.4 KiB
RPMSpec
53 lines
1.4 KiB
RPMSpec
%global pypi_name tox-current-env
|
|
|
|
Name: python-%{pypi_name}
|
|
Version: 0.0.11
|
|
Release: 1
|
|
Summary: Tox plugin to run tests in current Python environment
|
|
|
|
License: MIT
|
|
URL: https://github.com/fedora-python/tox-current-env
|
|
Source0: %{pypi_source tox-current-env}
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-setuptools
|
|
BuildRequires: python3-pip
|
|
BuildRequires: python3-wheel
|
|
BuildRequires: python3-editables
|
|
BuildRequires: python3-hatch-vcs
|
|
BuildRequires: python3-hatchling
|
|
BuildRequires: python3-virtualenv
|
|
BuildRequires: python3-pytest
|
|
BuildRequires: python3-tox
|
|
|
|
%description
|
|
The tox-current-env plugin allows to run tests in current Python environment.
|
|
|
|
|
|
%package -n python%{python3_pkgversion}-tox-current-env
|
|
Summary: %{summary}
|
|
%{?python_provide:%python_provide python%{python3_pkgversion}-tox-current-env}
|
|
|
|
%description -n python%{python3_pkgversion}-tox-current-env
|
|
The tox-current-env plugin allows to run tests in current Python environment.
|
|
|
|
|
|
%prep
|
|
%autosetup -n tox-current-env-%{version}
|
|
|
|
%build
|
|
%pyproject_build
|
|
|
|
%install
|
|
%pyproject_install
|
|
|
|
%files -n python%{python3_pkgversion}-tox-current-env
|
|
%doc README.rst
|
|
%{python3_sitelib}/tox_current_env
|
|
%{python3_sitelib}/tox_current_env*.dist-info/
|
|
|
|
%changelog
|
|
* Tue May 30 2023 Dongxing Wang <dxwangk@isoftstone.com> - 0.0.11-1
|
|
- Initial package
|