From: Hyunjee Kim Date: Fri, 10 Apr 2020 04:29:48 +0000 (+0900) Subject: Revert "Apply python3 build" X-Git-Tag: accepted/tizen/6.0/base/20201029.105621^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_6.0_base_hotfix;p=platform%2Fupstream%2Fpython-pygments.git Revert "Apply python3 build" This reverts commit c7b53395597001823ea4e89320304284929f103c. Change-Id: I70b7d9944a8589a2f76d092d6b1bb185dc92be44 Signed-off-by: Hyunjee Kim --- diff --git a/packaging/python3-pygments.manifest b/packaging/python3-pygments.manifest deleted file mode 100644 index 017d22d..0000000 --- a/packaging/python3-pygments.manifest +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/packaging/python3-pygments.spec b/packaging/python3-pygments.spec deleted file mode 100644 index 6e0f8c7..0000000 --- a/packaging/python3-pygments.spec +++ /dev/null @@ -1,53 +0,0 @@ -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 - -