Initial import (#1732822)
commit
a00bd6f6e6
@ -0,0 +1,3 @@
|
||||
/tox-current-env-*.tar.gz
|
||||
results_python-tox-current-env/
|
||||
*.rpm
|
@ -0,0 +1,58 @@
|
||||
%global pypi_name tox-current-env
|
||||
%global pypi_under tox_current_env
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 0.0.1
|
||||
Release: 1%{?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
|
||||
* Wed Jul 24 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.1-1
|
||||
- Initial package
|
Loading…
Reference in new issue