[packages/python3-pytest-fixture-config] - python-pytest-fixture-config.spec updated to 1.8.0 for python 3.6+
qboosh
qboosh at pld-linux.org
Mon Feb 23 05:43:31 CET 2026
commit c9696dca49cb9e83e3d76c92d9446ce0909c0039
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Feb 23 05:42:57 2026 +0100
- python-pytest-fixture-config.spec updated to 1.8.0 for python 3.6+
python-pytest-fixture-config.spec | 120 -------------------------------------
python3-pytest-fixture-config.spec | 61 +++++++++++++++++++
2 files changed, 61 insertions(+), 120 deletions(-)
---
diff --git a/python-pytest-fixture-config.spec b/python-pytest-fixture-config.spec
deleted file mode 100644
index ac498ba..0000000
--- a/python-pytest-fixture-config.spec
+++ /dev/null
@@ -1,120 +0,0 @@
-#
-# Conditional build:
-%bcond_without tests # unit tests
-%bcond_without python2 # CPython 2.x module
-%bcond_with python3 # CPython 3.x module (built from python3-pytest-fixture-config.spec)
-
-Summary: Fixture configuration utils for py.test
-Summary(pl.UTF-8): Narzędzia do konfiguracji osprzętu dla py.test
-Name: python-pytest-fixture-config
-# keep 1.7.x here for python2 support
-Version: 1.7.0
-Release: 7
-License: MIT
-Group: Libraries/Python
-#Source0Download: https://pypi.org/simple/pytest-fixture-config/
-Source0: https://files.pythonhosted.org/packages/source/p/pytest-fixture-config/pytest-fixture-config-%{version}.tar.gz
-# Source0-md5: ddfc66f7246535c2c238c72f3463b138
-URL: https://github.com/manahl/pytest-plugins
-BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.714
-%if %{with python2}
-BuildRequires: python-modules >= 1:2.7
-BuildRequires: python-setuptools
-BuildRequires: python-setuptools_git
-%if %{with tests}
-BuildRequires: python-pytest
-BuildRequires: python-six
-%endif
-%endif
-%if %{with python3}
-BuildRequires: python3-modules >= 1:3.4
-BuildRequires: python3-setuptools
-BuildRequires: python3-setuptools_git
-%if %{with tests}
-BuildRequires: python-pytest
-BuildRequires: python-six
-%endif
-%endif
-Requires: python-modules >= 1:2.7
-BuildArch: noarch
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%description
-Simple configuration objects for Py.test fixtures. Allows you to skip
-tests when their required config variables aren't set.
-
-%description -l pl.UTF-8
-Proste obiekty konfiguracyjne do osprzętu (fixtures) Py.test.
-Pozwalają pomijać testy, kiedy wymagane przez nie zmienne nie są
-ustawione.
-
-%package -n python3-pytest-fixture-config
-Summary: Fixture configuration utils for py.test
-Summary(pl.UTF-8): Narzędzia do konfiguracji osprzętu dla py.test
-Group: Libraries/Python
-Requires: python3-modules >= 1:3.4
-
-%description -n python3-pytest-fixture-config
-Simple configuration objects for Py.test fixtures. Allows you to skip
-tests when their required config variables aren't set.
-
-%description -n python3-pytest-fixture-config -l pl.UTF-8
-Proste obiekty konfiguracyjne do osprzętu (fixtures) Py.test.
-Pozwalają pomijać testy, kiedy wymagane przez nie zmienne nie są
-ustawione.
-
-%prep
-%setup -q -n pytest-fixture-config-%{version}
-
-%build
-%if %{with python2}
-%py_build
-
-%if %{with tests}
-PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-%{__python} -m pytest tests
-%endif
-%endif
-
-%if %{with python3}
-%py3_build
-
-%if %{with tests}
-PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-%{__python3} -m pytest tests
-%endif
-%endif
-
-%install
-rm -rf $RPM_BUILD_ROOT
-
-%if %{with python2}
-%py_install
-
-%py_postclean
-%endif
-
-%if %{with python3}
-%py3_install
-%endif
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%if %{with python2}
-%files
-%defattr(644,root,root,755)
-%doc CHANGES.md LICENSE README.md
-%{py_sitescriptdir}/pytest_fixture_config.py[co]
-%{py_sitescriptdir}/pytest_fixture_config-%{version}-py*.egg-info
-%endif
-
-%if %{with python3}
-%files -n python3-pytest-fixture-config
-%defattr(644,root,root,755)
-%doc CHANGES.md LICENSE README.md
-%{py3_sitescriptdir}/pytest_fixture_config.py
-%{py3_sitescriptdir}/__pycache__/pytest_fixture_config.cpython-*.py[co]
-%{py3_sitescriptdir}/pytest_fixture_config-%{version}-py*.egg-info
-%endif
diff --git a/python3-pytest-fixture-config.spec b/python3-pytest-fixture-config.spec
new file mode 100644
index 0000000..42afb75
--- /dev/null
+++ b/python3-pytest-fixture-config.spec
@@ -0,0 +1,61 @@
+#
+# Conditional build:
+%bcond_without tests # unit tests
+
+Summary: Fixture configuration utils for py.test
+Summary(pl.UTF-8): Narzędzia do konfiguracji osprzętu dla py.test
+Name: python3-pytest-fixture-config
+Version: 1.8.0
+Release: 1
+License: MIT
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/pytest-fixture-config/
+Source0: https://files.pythonhosted.org/packages/source/p/pytest-fixture-config/pytest-fixture-config-%{version}.tar.gz
+# Source0-md5: ac379b6ee12eaa09f87bbacbfb0b7c71
+URL: https://github.com/manahl/pytest-plugins
+BuildRequires: python3-modules >= 1:3.6
+BuildRequires: python3-setuptools
+%if %{with tests}
+BuildRequires: python3-pytest
+BuildRequires: python3-six
+%endif
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.714
+Requires: python3-modules >= 1:3.6
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Simple configuration objects for Py.test fixtures. Allows you to skip
+tests when their required config variables aren't set.
+
+%description -l pl.UTF-8
+Proste obiekty konfiguracyjne do osprzętu (fixtures) Py.test.
+Pozwalają pomijać testy, kiedy wymagane przez nie zmienne nie są
+ustawione.
+
+%prep
+%setup -q -n pytest-fixture-config-%{version}
+
+%build
+%py3_build
+
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+%{__python3} -m pytest tests
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES.md LICENSE README.md
+%{py3_sitescriptdir}/pytest_fixture_config.py
+%{py3_sitescriptdir}/__pycache__/pytest_fixture_config.cpython-*.py[co]
+%{py3_sitescriptdir}/pytest_fixture_config-%{version}-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-pytest-fixture-config.git/commitdiff/c9696dca49cb9e83e3d76c92d9446ce0909c0039
More information about the pld-cvs-commit
mailing list