Bump to 0.42.0 sandbox/python3-wheel_0.42.0
authorTizenOpenSource <tizenopensrc@samsung.com>
Tue, 6 Feb 2024 04:20:06 +0000 (13:20 +0900)
committerTizenOpenSource <tizenopensrc@samsung.com>
Tue, 6 Feb 2024 04:20:06 +0000 (13:20 +0900)
Signed-off-by: TizenOpenSource <tizenopensrc@samsung.com>
packaging/python3-wheel.manifest [new file with mode: 0644]
packaging/python3-wheel.spec [new file with mode: 0644]

diff --git a/packaging/python3-wheel.manifest b/packaging/python3-wheel.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-wheel.spec b/packaging/python3-wheel.spec
new file mode 100644 (file)
index 0000000..d279a5c
--- /dev/null
@@ -0,0 +1,42 @@
+Name:           python3-wheel
+Version:        0.42.0
+Release:        0
+Summary:        A built-package format for Python
+License:        MIT
+URL:            https://github.com/pypa/wheel
+Source0:        wheel-%{version}.tar.gz
+Source1001:     %{name}.manifest
+
+BuildRequires:  pkgconfig(python3)
+BuildRequires:  python3-setuptools
+
+BuildArch:      noarch
+
+%description
+A built-package format for Python.
+
+A wheel is a ZIP-format archive with a specially formatted filename
+and the .whl extension. It is designed to contain all the files for a
+PEP 376 compatible install in a way that is very close to the on-disk
+format. Many packages will be properly installed with only the "Unpack"
+step (simply extracting the file onto sys.path), and the unpacked archive
+preserves enough information to "Spread" (copy data and scripts to their
+final locations) at any later time.
+
+%prep
+%setup -q -n wheel-%{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}/wheel/*.py
+%{python3_sitelib}/wheel/__pycache__/*
+%{python3_sitelib}/wheel/cli/*
+%{python3_sitelib}/wheel/vendored/*
+%{python3_sitelib}/wheel-%{version}-py%{python3_version}.egg-info