Init package with version 2.2.0

This commit is contained in:
desert-sailor 2023-07-06 06:55:19 +08:00
parent cd4edd1886
commit c60e481bd2
2 changed files with 57 additions and 0 deletions

BIN
pytest-enabler-2.2.0.tar.gz Normal file

Binary file not shown.

View 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