Init package with version 2.2.0
This commit is contained in:
parent
cd4edd1886
commit
c60e481bd2
BIN
pytest-enabler-2.2.0.tar.gz
Normal file
BIN
pytest-enabler-2.2.0.tar.gz
Normal file
Binary file not shown.
57
python-pytest-enabler.spec
Normal file
57
python-pytest-enabler.spec
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
%global _empty_manifest_terminate_build 0
|
||||||
|
%global pypi_name pytest-enabler
|
||||||
|
|
||||||
|
Name: python-%{pypi_name}
|
||||||
|
Version: 2.2.0
|
||||||
|
Release: 1
|
||||||
|
Summary: Enable installed pytest plugins.
|
||||||
|
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/jaraco/pytest-enabler
|
||||||
|
Source0: https://files.pythonhosted.org/packages/86/bb/e3c6b15208829a90172a39659bcc52077dbba1c1f23af9d777f66a0490fa/pytest-enabler-2.2.0.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
|
||||||
|
%description
|
||||||
|
The enabler plugin allows configuration of plugins if present,
|
||||||
|
but omits the settings if the plugin is not present.
|
||||||
|
|
||||||
|
%package -n python3-%{pypi_name}
|
||||||
|
Summary: %{summary}
|
||||||
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-pbr
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-wheel
|
||||||
|
BuildRequires: python3-hatchling
|
||||||
|
BuildRequires: python3-toml
|
||||||
|
BuildRequires: python3-jaraco-functools
|
||||||
|
BuildRequires: python3-jaraco-context
|
||||||
|
BuildRequires: python3-importlib-resources
|
||||||
|
|
||||||
|
%description -n python3-%{pypi_name}
|
||||||
|
The enabler plugin allows configuration of plugins if present,
|
||||||
|
but omits the settings if the plugin is not present.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n %{pypi_name}-%{version}
|
||||||
|
|
||||||
|
# Remove upstreams egg info
|
||||||
|
rm -rf *.egg*
|
||||||
|
|
||||||
|
%build
|
||||||
|
%pyproject_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
|
||||||
|
%files -n python3-%{pypi_name}
|
||||||
|
%doc README.rst NEWS.rst
|
||||||
|
%license LICENSE
|
||||||
|
%{python3_sitelib}/pytest_enabler
|
||||||
|
%{python3_sitelib}/pytest_enabler-*.dist-info/
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Jul 6 2023 Dongxing Wang <dxwangk@isoftstone.com> - 2.2.0-1
|
||||||
|
- Initial packaging
|
||||||
Loading…
x
Reference in New Issue
Block a user