You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.5 KiB
65 lines
1.5 KiB
%global pypi_name tox-current-env
|
|
%global pypi_under tox_current_env
|
|
|
|
Name: python-%{pypi_name}
|
|
Version: 0.0.2
|
|
Release: 2%{?dist}
|
|
Summary: Tox plugin to run tests in current Python environment
|
|
|
|
License: MIT
|
|
URL: https://github.com/fedora-python/tox-current-env
|
|
Source0: %{pypi_source}
|
|
BuildArch: noarch
|
|
|
|
# Don't use %%pyproject_buildrequires to avoid a build dependency loop.
|
|
BuildRequires: python3-devel
|
|
BuildRequires: pyproject-rpm-macros
|
|
BuildRequires: python3dist(setuptools)
|
|
BuildRequires: python3dist(wheel)
|
|
|
|
%description
|
|
The tox-current-env plugin allows to run tests in current Python environment.
|
|
|
|
|
|
%package -n python3-%{pypi_name}
|
|
Summary: %{summary}
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
|
%description -n python3-%{pypi_name}
|
|
The tox-current-env plugin allows to run tests in current Python environment.
|
|
|
|
|
|
%prep
|
|
%autosetup -n %{pypi_name}-%{version}
|
|
|
|
|
|
%build
|
|
%pyproject_wheel
|
|
|
|
|
|
%install
|
|
%pyproject_install
|
|
|
|
|
|
#check
|
|
# the tests currently only work within actual tox and with various Python
|
|
# versions installed, so we skip them.
|
|
|
|
|
|
%files -n python3-%{pypi_name}
|
|
%license LICENSE
|
|
%doc README.rst
|
|
%{python3_sitelib}/%{pypi_under}/
|
|
%{python3_sitelib}/%{pypi_under}-%{version}.dist-info/
|
|
|
|
|
|
%changelog
|
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.2-2
|
|
- Rebuilt for Python 3.8
|
|
|
|
* Mon Aug 12 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.2-1
|
|
- Update to 0.0.2
|
|
|
|
* Wed Jul 24 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.1-1
|
|
- Initial package
|