Bump to 23.3.1 sandbox/python3-pip_23.3.1
authorTizenOpenSource <tizenopensrc@samsung.com>
Tue, 6 Feb 2024 02:05:36 +0000 (11:05 +0900)
committerTizenOpenSource <tizenopensrc@samsung.com>
Tue, 6 Feb 2024 02:05:36 +0000 (11:05 +0900)
Signed-off-by: TizenOpenSource <tizenopensrc@samsung.com>
packaging/python3-pip.manifest [new file with mode: 0644]
packaging/python3-pip.spec [new file with mode: 0644]

diff --git a/packaging/python3-pip.manifest b/packaging/python3-pip.manifest
new file mode 100644 (file)
index 0000000..86dbb26
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+    <request>
+        <domain name="_" />
+    </request>
+</manifest>
diff --git a/packaging/python3-pip.spec b/packaging/python3-pip.spec
new file mode 100644 (file)
index 0000000..58706f5
--- /dev/null
@@ -0,0 +1,41 @@
+Name:           python3-pip
+Version:        23.3.1
+Release:        0
+Summary:        A Python package management system
+License:        MIT
+URL:            https://pip.pypa.io
+Source0:        pip-%{version}.tar.gz
+Source1001:     %{name}.manifest
+
+BuildRequires:  pkgconfig(python3)
+BuildRequires:  python3-setuptools
+
+Requires:       python3-setuptools
+Requires:       python3-packaging
+Requires:       python3-typing_extensions
+
+BuildArch:      noarch
+
+%description
+Pip is a replacement for easy_install. It uses mostly the same techniques for
+finding packages, so packages that were made easy_installable should be
+pip-installable as well.
+
+%prep
+%setup -q -n pip-%{version}
+
+%build
+cp %{SOURCE1001} .
+%{_bindir}/python3 setup.py build
+
+%install
+%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+
+%files 
+%license LICENSE.txt
+%{python3_sitelib}/pip/*.py
+%{python3_sitelib}/pip/py.typed
+%{python3_sitelib}/pip/__pycache__/*
+%{python3_sitelib}/pip/_internal/*
+%{python3_sitelib}/pip/_vendor/*
+%{python3_sitelib}/pip-%{version}-py%{python3_version}.egg-info