From cee80cb9609c827023d22afd3b9fab72d63ab949 Mon Sep 17 00:00:00 2001 From: Hyunjee Kim Date: Thu, 9 Apr 2020 16:11:45 +0900 Subject: [PATCH] Remove packaging files for python3 Change-Id: I7a7b16ac1d7e81a7657a9df69de067e11656e318 Signed-off-by: Hyunjee Kim --- packaging/python3-MarkupSafe.manifest | 5 -- packaging/python3-MarkupSafe.spec | 66 --------------------------- 2 files changed, 71 deletions(-) delete mode 100644 packaging/python3-MarkupSafe.manifest delete mode 100644 packaging/python3-MarkupSafe.spec diff --git a/packaging/python3-MarkupSafe.manifest b/packaging/python3-MarkupSafe.manifest deleted file mode 100644 index 017d22d..0000000 --- a/packaging/python3-MarkupSafe.manifest +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/packaging/python3-MarkupSafe.spec b/packaging/python3-MarkupSafe.spec deleted file mode 100644 index 19d1209..0000000 --- a/packaging/python3-MarkupSafe.spec +++ /dev/null @@ -1,66 +0,0 @@ -# -# spec file for package python-MarkupSafe -# -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. - -# Please submit bugfixes or comments via http://bugs.opensuse.org/ -# - -Name: python3-MarkupSafe -Version: 1.0 -Release: 0 -Url: http://dev.pocoo.org/ -Summary: Implements a XML/HTML/XHTML Markup safe string for Python -License: BSD-3-Clause -Group: Development/Languages/Python -Source: https://pypi.io/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz -Source1001: %{name}.manifest - -BuildRequires: python3-devel -BuildRequires: python3-setuptools - -Provides: python3-markupsafe = %{version} -Obsoletes: python3-markupsafe < %{version} - -%description -Implements a unicode subclass that supports HTML strings. This can be used to -safely encode strings for dynamically generated web pages. - -%prep -%setup -q -n MarkupSafe-%{version} - -%build -cp %{SOURCE1001} . -export CFLAGS="%{optflags}" -%{_bindir}/python3 setup.py build - -%install -%{_bindir}/python3 setup.py install --prefix=%{_prefix} --install-lib=%{python3_sitelib} --root=%{buildroot} - -# Move library -%ifarch x86_64 aarch64 -mkdir -p %{buildroot}%{_libdir}/python%{python3_version}/site-packages/markupsafe -mv %{buildroot}%{python3_sitelib}/markupsafe/_speedups*.so %{buildroot}%{_libdir}/python%{python3_version}/site-packages/markupsafe -%endif - -%remove_docs - -%files -%manifest %{name}.manifest -%defattr(-,root,root,-) -%license LICENSE -%{python3_sitelib}/markupsafe/ -%{python3_sitelib}/MarkupSafe-%{version}-py*.egg-info -%{_libdir}/python%{python3_version}/site-packages/markupsafe/ - -%changelog - -- 2.34.1