[2/4] python3-pip: New package
Commit Message
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
---
python3-pip/python3-pip.nm | 46 ++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
create mode 100644 python3-pip/python3-pip.nm
new file mode 100644
@@ -0,0 +1,46 @@
+###############################################################################
+# IPFire.org - An Open Source Firewall Solution #
+# Copyright (C) - IPFire Development Team <info@ipfire.org> #
+###############################################################################
+
+name = python3-pip
+version = 22.3.1
+release = 1
+arch = noarch
+thisapp = pip-%{version}
+
+groups = Development/Libraries
+url = https://github.com/pypa/pip/
+license = MIT and Python
+summary = The package installer for Python.
+
+description
+ pip is the Python package installer. It integrates with virtualenv, doesn't
+ do partial installs, can save package state for replaying, can install from
+ non-egg sources, and can install from version control repositories.
+end
+
+source_dl = https://github.com/pypa/pip/archive/refs/tags/%{version}.tar.gz#/
+
+build
+ requires
+ python3
+ python3-devel
+ python3-setuptools
+ python3-wheel
+ end
+
+ export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES = 0
+
+ build
+ %{python3} setup.py build
+ end
+
+ install
+ %{python3} setup.py install
+ end
+end
+
+packages
+ package %{name}
+end