diff --git a/pytest-enabler-2.2.0.tar.gz b/pytest-enabler-2.2.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..587e0bce7988afdedf2cadbd95d71f0bea7a2924 Binary files /dev/null and b/pytest-enabler-2.2.0.tar.gz differ diff --git a/python-pytest-enabler.spec b/python-pytest-enabler.spec new file mode 100644 index 0000000000000000000000000000000000000000..1df972428147d68f65fa707881ad921adc2e922e --- /dev/null +++ b/python-pytest-enabler.spec @@ -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 - 2.2.0-1 +- Initial packaging