!1 Init package for tox compiler and test
From: @desert-sailor Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
a3d68aafae
52
python-tox-current-env.spec
Normal file
52
python-tox-current-env.spec
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
%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
|
||||||
BIN
tox-current-env-0.0.11.tar.gz
Normal file
BIN
tox-current-env-0.0.11.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user