Bump to 1.0.0 sandbox/python3-pyproject_hooks_1.0.0
authorTizenOpenSource <tizenopensrc@samsung.com>
Tue, 6 Feb 2024 03:55:25 +0000 (12:55 +0900)
committerTizenOpenSource <tizenopensrc@samsung.com>
Tue, 6 Feb 2024 03:55:25 +0000 (12:55 +0900)
Signed-off-by: TizenOpenSource <tizenopensrc@samsung.com>
packaging/python3-pyproject_hooks.manifest [new file with mode: 0644]
packaging/python3-pyproject_hooks.spec [new file with mode: 0644]

diff --git a/packaging/python3-pyproject_hooks.manifest b/packaging/python3-pyproject_hooks.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-pyproject_hooks.spec b/packaging/python3-pyproject_hooks.spec
new file mode 100644 (file)
index 0000000..8e6b4c3
--- /dev/null
@@ -0,0 +1,39 @@
+Name:           python3-pyproject_hooks
+Version:        1.0.0
+Release:        0
+Summary:        Wrappers to call pyproject.toml-based build backend hooks
+License:        MIT
+URL:            https://github.com/pypa/pyproject-hooks
+Source0:        build-%{version}.tar.gz
+Source1001:     %{name}.manifest
+
+BuildRequires:  pkgconfig(python3)
+BuildRequires:  python3-setuptools
+
+BuildArch:      noarch
+
+%description
+This is a low-level library for calling build-backends in ``pyproject.toml``-based project.
+It provides the basic functionality to help write tooling that generates distribution files from Python projects.
+
+If you want a tool that builds Python packages, you'll want to use https://github.com/pypa/build instead.
+This is an underlying piece for `pip`, `build` and other "build frontends" use to call "build backends" within them.
+
+Note: The ``pep517`` project has been replaced by this project (low level) and the ``build`` project (high level).
+
+%prep
+%setup -q -n pyproject_hooks-%{version}
+
+%build
+cp %{SOURCE1001} .
+%{_bindir}/python3 setup.py build
+
+%install
+%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+
+%files 
+%license LICENSE
+%{python3_sitelib}/pyproject_hooks/*.py
+%{python3_sitelib}/pyproject_hooks/__pycache__/*
+%{python3_sitelib}/pyproject_hooks/_in_process/*
+%{python3_sitelib}/pyproject_hooks-%{version}-py%{python3_version}.egg-info