[packages/python3-pygments_pytest] - python-pygments_pytest.spec updated to 2.1.0 for python 3.6+

qboosh qboosh at pld-linux.org
Wed Sep 16 18:53:43 CEST 2020


commit 86aa970a05d24cf1fc62dd7928e224a42f646de1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Sep 16 18:56:27 2020 +0200

    - python-pygments_pytest.spec updated to 2.1.0 for python 3.6+

 python-pygments_pytest.spec  | 93 --------------------------------------------
 python3-pygments_pytest.spec | 45 +++++++++++++++++++++
 2 files changed, 45 insertions(+), 93 deletions(-)
---
diff --git a/python-pygments_pytest.spec b/python-pygments_pytest.spec
deleted file mode 100644
index e9cc8ee..0000000
--- a/python-pygments_pytest.spec
+++ /dev/null
@@ -1,93 +0,0 @@
-#
-# Conditional build:
-%bcond_without	python2 # CPython 2.x module
-%bcond_without	python3 # CPython 3.x module
-
-Summary:	A pygments lexer for pytest output
-Summary(pl.UTF-8):	Lexer pygments do wyjścia pytesta
-Name:		python-pygments_pytest
-# keep 1.x here for python2 support
-Version:	1.3.1
-Release:	1
-License:	MIT
-Group:		Libraries/Python
-#Source0Download: https://pypi.org/simple/pygments-pytest/
-Source0:	https://files.pythonhosted.org/packages/source/p/pygments-pytest/pygments_pytest-%{version}.tar.gz
-# Source0-md5:	e51a2e259bfd4eb4f93fc4f626e05e17
-URL:		https://pypi.org/project/pygments-pytest/
-%if %{with python2}
-BuildRequires:	python-modules >= 1:2.5
-BuildRequires:	python-setuptools
-%endif
-%if %{with python3}
-BuildRequires:	python3-modules >= 1:3.2
-BuildRequires:	python3-setuptools
-%endif
-BuildRequires:	rpm-pythonprov
-BuildRequires:	rpmbuild(macros) >= 1.714
-Requires:	python-modules >= 1:2.5
-BuildArch:	noarch
-BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%description
-This library provides a pygments lexer called pytest.
-
-%description -l pl.UTF-8
-Ta biblioteka udostępnia lexer pygments o nazwie pytest.
-
-%package -n python3-pygments_pytest
-Summary:	A pygments lexer for pytest output
-Summary(pl.UTF-8):	Lexer pygments do wyjścia pytesta
-Group:		Libraries/Python
-Requires:	python3-modules >= 1:3.2
-
-%description -n python3-pygments_pytest
-This library provides a pygments lexer called pytest.
-
-%description -n python3-pygments_pytest -l pl.UTF-8
-Ta biblioteka udostępnia lexer pygments o nazwie pytest.
-
-%prep
-%setup -q -n pygments_pytest-%{version}
-
-%build
-%if %{with python2}
-%py_build
-%endif
-
-%if %{with python3}
-%py3_build
-%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 LICENSE README.md
-%{py_sitescriptdir}/pygments_pytest.py[co]
-%{py_sitescriptdir}/pygments_pytest-%{version}-py*.egg-info
-%endif
-
-%if %{with python3}
-%files -n python3-pygments_pytest
-%defattr(644,root,root,755)
-%doc LICENSE README.md
-%{py3_sitescriptdir}/pygments_pytest.py
-%{py3_sitescriptdir}/__pycache__/pygments_pytest.cpython-*.py[co]
-%{py3_sitescriptdir}/pygments_pytest-%{version}-py*.egg-info
-%endif
diff --git a/python3-pygments_pytest.spec b/python3-pygments_pytest.spec
new file mode 100644
index 0000000..58b577e
--- /dev/null
+++ b/python3-pygments_pytest.spec
@@ -0,0 +1,45 @@
+Summary:	A pygments lexer for pytest output
+Summary(pl.UTF-8):	Lexer pygments do wyjścia pytesta
+Name:		python3-pygments_pytest
+Version:	2.1.0
+Release:	1
+License:	MIT
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/pygments-pytest/
+Source0:	https://files.pythonhosted.org/packages/source/p/pygments-pytest/pygments_pytest-%{version}.tar.gz
+# Source0-md5:	e2bbec9570b97e1f2b0483e30ba1721d
+URL:		https://pypi.org/project/pygments-pytest/
+BuildRequires:	python3-modules >= 1:3.6
+BuildRequires:	python3-setuptools
+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
+This library provides a pygments lexer called pytest.
+
+%description -l pl.UTF-8
+Ta biblioteka udostępnia lexer pygments o nazwie pytest.
+
+%prep
+%setup -q -n pygments_pytest-%{version}
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README.md
+%{py3_sitescriptdir}/pygments_pytest.py
+%{py3_sitescriptdir}/__pycache__/pygments_pytest.cpython-*.py[co]
+%{py3_sitescriptdir}/pygments_pytest-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-pygments_pytest.git/commitdiff/86aa970a05d24cf1fc62dd7928e224a42f646de1



More information about the pld-cvs-commit mailing list