Bump to python-setuptools 44.1.1 78/250578/1 accepted/tizen_6.5_base accepted/tizen_6.5_base_tool accepted/tizen_7.0_base accepted/tizen_7.0_base_hotfix accepted/tizen_7.0_base_tool accepted/tizen_7.0_base_tool_hotfix accepted/tizen_8.0_base accepted/tizen_base accepted/tizen_base_tool sandbox/dh0128.kwak/setuptools-44.1.1_20201230 tizen_6.5_base tizen_7.0_base tizen_7.0_base_hotfix tizen_8.0_base tizen_base accepted/tizen/6.5/base/20230714.002653 accepted/tizen/6.5/base/tool/20211027.120825 accepted/tizen/7.0/base/20230714.003101 accepted/tizen/7.0/base/hotfix/20230714.003912 accepted/tizen/7.0/base/tool/20221028.120437 accepted/tizen/7.0/base/tool/hotfix/20221115.084918 accepted/tizen/8.0/base/20231005.045132 accepted/tizen/base/20230714.003510 accepted/tizen/base/tool/20210104.040448 submit/tizen_6.5_base/20211026.180901 submit/tizen_6.5_base/20211027.183101 submit/tizen_6.5_base/20211027.201001 submit/tizen_7.0_base/20221028.201101 submit/tizen_7.0_base_hotfix/20221115.161601 submit/tizen_base/20201229.235236 tizen_6.5.m2_release tizen_7.0_m2_release tizen_8.0_m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Tue, 29 Dec 2020 23:34:54 +0000 (08:34 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Tue, 29 Dec 2020 23:34:54 +0000 (08:34 +0900)
Change-Id: Ied671c789069f1803180ace40571b580697e8201

packaging/python-setuptools.manifest [new file with mode: 0644]
packaging/python-setuptools.spec [new file with mode: 0644]

diff --git a/packaging/python-setuptools.manifest b/packaging/python-setuptools.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/python-setuptools.spec b/packaging/python-setuptools.spec
new file mode 100644 (file)
index 0000000..0ccdf20
--- /dev/null
@@ -0,0 +1,86 @@
+#
+# spec file for package python-setuptools
+#
+# 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:           python-setuptools
+Version:        44.1.1
+Release:        0
+Summary:        Easily download, build, install, upgrade, and uninstall Python packages
+License:        MIT
+Group:          Development/Languages/Python
+Source:         https://pypi.io/packages/source/s/setuptools/setuptools-%{version}.zip
+Source1001:     %{name}.manifest
+
+BuildRequires:  python-devel
+BuildRequires:  python-appdirs
+BuildRequires:  python-packaging
+BuildRequires:  python-six
+BuildRequires:  python-xml
+BuildRequires:  unzip
+
+# needed for SLE
+Requires:       python
+Requires:       python-appdirs
+Requires:       python-packaging
+Requires:       python-six
+Requires:       python-xml
+
+Provides:       python-distribute = %{version}
+Obsoletes:      python-distribute < %{version}
+
+BuildArch:      noarch
+
+%description
+setuptools is a collection of enhancements to the Python distutils that
+allow you to more easily build and distribute Python packages,
+especially ones that have dependencies on other packages.
+
+
+%prep
+%setup -q -n setuptools-%{version}
+find . -type f -name "*.orig" -delete
+
+# fix rpmlint spurious-executable-perm
+chmod -x README.rst
+
+# strip shebangs to fix rpmlint warnings
+# "explain the sed":
+# 1 = first line only
+# s@...@...@ = same as s/.../.../ except with @ instead of /
+# ^ = start; #!/ = shebang leading characters; .* = rest of line; $ = end
+# replace with nothing
+sed -r -i '1s@^#!/.*$@@' setuptools/command/easy_install.py
+
+%build
+cp %{SOURCE1001} .
+python bootstrap.py
+python setup.py build
+
+%install
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%license LICENSE
+%{_bindir}/easy_install*
+%{python_sitelib}/setuptools
+%{python_sitelib}/setuptools-%{version}*-py%{python_version}.egg-info
+%{python_sitelib}/easy_install.py*
+%{python_sitelib}/pkg_resources
+
+%changelog
+