+++ /dev/null
-Name: python3-pygments
-Version: 1.1.1
-Release: 1
-Summary: A syntax highlighting engine written in Python3
-
-Group: Development/Libraries
-License: BSD
-URL: http://pygments.org/
-Source0: %{name}-%{version}.tar.gz
-Source1001: python3-pygments.manifest
-
-BuildArch: noarch
-BuildRequires: python3-devel, python3-setuptools
-Requires: python3-setuptools
-
-
-%description
-Pygments is a syntax highlighting engine written in Python3. That means, it
-will take source code (or other markup) in a supported language and output
-a processed version (in different formats) containing syntax highlighting
-markup.
-
-
-%prep
-%setup -q
-
-
-%build
-cp %{SOURCE1001} .
-%{_bindir}/python3 setup.py build
-%{__sed} -i 's/\r//' LICENSE
-
-
-%install
-
-%if 0%{?suse_version}
-%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
-%else
-%{_bindir}/python3 setup.py install -O1 --skip-build --root %{buildroot} --prefix=%{_prefix}
-%endif
-
-%if 0%{?suse_version}
-%files -f INSTALLED_FILES
-%manifest %{name}.manifest
-%else
-%files
-%manifest %{name}.manifest
-%{python3_sitelib}/*
-%endif
-# For noarch packages: sitelib
-%{_bindir}/pygmentize
-
-