Initial import (#1732822)

epel9
Miro Hrončok 6 years ago
commit a00bd6f6e6

3
.gitignore vendored

@ -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

@ -0,0 +1 @@
SHA512 (tox-current-env-0.0.1.tar.gz) = 7ef04ac3b5e8c012f7510e8fa1363b614452a372c73254d92226f7274834fe807ab6dadc52aab7cb1e8aa85e00a73439004e03c1c61969a98fa8e7fabc75e719
Loading…
Cancel
Save