From: Hyunjee Kim Date: Fri, 10 Apr 2020 01:48:58 +0000 (+0900) Subject: Revert "Apply python3 build" X-Git-Tag: submit/tizen_base/20200413.010723^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_6.5_base;p=platform%2Fupstream%2Fpython-markdown.git Revert "Apply python3 build" This reverts commit 203fa4e2c9ee1d2f7f4ba1fded22deaf05641556. Change-Id: Ia03e67e7d1108ae1a524edbbee9bb5a3a2e33c6a Signed-off-by: Hyunjee Kim --- diff --git a/packaging/python3-markdown.manifest b/packaging/python3-markdown.manifest deleted file mode 100644 index 017d22d..0000000 --- a/packaging/python3-markdown.manifest +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/packaging/python3-markdown.spec b/packaging/python3-markdown.spec deleted file mode 100644 index 9cd8055..0000000 --- a/packaging/python3-markdown.spec +++ /dev/null @@ -1,51 +0,0 @@ -%define srcname Markdown - -Name: python3-markdown -Version: 3.1.1 -Release: 1 -Summary: Markdown implementation in Python3 -Group: Development/Languages -License: BSD -URL: http://www.freewisdom.org/projects/python-markdown/ -Source0: http://pypi.python.org/packages/source/M/%{srcname}/%{srcname}-%{version}.tar.gz -Source1001: python3-markdown.manifest -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildArch: noarch -BuildRequires: python3-devel -BuildRequires: python3-setuptools -%if 0%{?rhel} -BuildRequires: python3-elementtree -Requires: python3-elementtree -%endif - - -%description -This is a Python3 implementation of John Gruber's Markdown. It is -almost completely compliant with the reference implementation, though -there are a few known issues. - - -%prep -%setup -q -n %{srcname}-%{version} - -# remove shebangs -find markdown -type f -name '*.py' \ - -exec sed -i -e '/^#!/{1D}' {} \; - - -%build -cp %{SOURCE1001} . -%{_bindir}/python3 setup.py build - - -%install -rm -rf %{buildroot} -%{_bindir}/python3 setup.py install -O1 --skip-build --root %{buildroot} --prefix %{_prefix} - - -%files -%manifest %{name}.manifest -%{python3_sitelib}/* -%{_bindir}/markdown_py - -