#1 Merge branch 'master' into epel8
Merged 2 months ago by jcaratzas. Opened 2 months ago by jcaratzas.
rpms/ jcaratzas/python-pygments-pytest epel8  into  epel8

file added
+1

@@ -0,0 +1,1 @@ 

+ /pygments-pytest-*.tar.gz

@@ -0,0 +1,70 @@ 

+ %global pypi_name pygments_pytest

+ %global dash_name pygments-pytest

+ 

+ # this is BRed by pytest, so we need to run without tests when bootstrapping

+ # also pygments-ansi-color is not available in Fedora yet

+ %bcond_with tests

+ 

+ Name:           python-%{dash_name}

+ Version:        1.2.0

+ Release:        4%{?dist}

+ Summary:        A pygments lexer for pytest output

+ License:        MIT

+ URL:            https://github.com/asottile/pygments-pytest

+ Source0:        %{url}/archive/v%{version}/%{dash_name}-%{version}.tar.gz

+ BuildArch:      noarch

+ 

+ BuildRequires:  python3-devel

+ BuildRequires:  python3-setuptools

+ %if %{with tests}

+ BuildRequires:  python3-pygments

+ BuildRequires:  python3-pygments-ansi-color

+ BuildRequires:  python3-pytest

+ %endif

+ 

+ %description

+ This library provides a pygments lexer called pytest.

+ This library also provides a sphinx extension.

+ 

+ %package -n     python3-%{dash_name}

+ Summary:        %{summary}

+ %{?python_provide:%python_provide python3-%{pypi_name}}

+ 

+ %description -n python3-%{dash_name}

+ This library provides a pygments lexer called pytest.

+ This library also provides a sphinx extension.

+ 

+ 

+ %prep

+ %autosetup -n %{dash_name}-%{version}

+ 

+ %build

+ %py3_build

+ 

+ %install

+ %py3_install

+ 

+ %if %{with tests}

+ %check

+ %{__python3} -m pytest -v

+ %endif

+ 

+ %files -n python3-%{dash_name}

+ %license LICENSE

+ %doc README.md

+ %{python3_sitelib}/__pycache__/*

+ %{python3_sitelib}/%{pypi_name}.py

+ %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/

+ 

+ %changelog

+ * Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.0-4

+ - Rebuilt for Python 3.8.0rc1 (#1748018)

+ 

+ * Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.0-3

+ - Rebuilt for Python 3.8

+ 

+ * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

+ 

+ * Tue Mar 12 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.0-1

+ - Initial package

file added
+1

@@ -0,0 +1,1 @@ 

+ SHA512 (pygments-pytest-1.2.0.tar.gz) = 955a07affd76cb6ca1b4175dc05e217d21831397912b41454a9d89cda134602de80f68d46f131b4db1c269d8a5bd01ea42609ff83830d36a280141a453e0edc3

The work in master builds correctly for EPEL8. I am also kindly requesting permission to this repo so that I can push directly to the EPEL8 branch in the future and help maintain this package.

The following build in Copr succeeded for EPEL8 with the merged changes: https://copr.fedorainfracloud.org/coprs/ktdreyer/ceph-el8/build/1088677/

Please proceed with bugzilla override PR and merge at will.

Pull-Request has been merged by jcaratzas

2 months ago