]> git.pld-linux.org Git - packages/python3-pygments_pytest.git/commitdiff
- python-pygments_pytest.spec updated to 2.1.0 for python 3.6+ auto/th/python3-pygments_pytest-2.1.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 16 Sep 2020 16:56:27 +0000 (18:56 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 16 Sep 2020 16:56:27 +0000 (18:56 +0200)
python-pygments_pytest.spec [deleted file]
python3-pygments_pytest.spec [new file with mode: 0644]

diff --git a/python-pygments_pytest.spec b/python-pygments_pytest.spec
deleted file mode 100644 (file)
index e9cc8ee..0000000
+++ /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 (file)
index 0000000..58b577e
--- /dev/null
@@ -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
This page took 0.167561 seconds and 4 git commands to generate.