From a7465a9bba4de2489b89b6ca9b442d77eb4404f9 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Sat, 6 Aug 2022 02:12:23 +0200 Subject: [PATCH] Initial import (fedora#2111707). --- .gitignore | 1 + python-installer.spec | 58 +++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 60 insertions(+) create mode 100644 .gitignore create mode 100644 python-installer.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ddc90ca --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/installer-0.5.1.tar.gz diff --git a/python-installer.spec b/python-installer.spec new file mode 100644 index 0000000..b154ff6 --- /dev/null +++ b/python-installer.spec @@ -0,0 +1,58 @@ +Name: python-installer +Version: 0.5.1 +Release: 1%{?dist} +Summary: A library for installing Python wheels + +License: MIT +URL: https://github.com/pypa/installer +Source: %{pypi_source installer} + +BuildArch: noarch +BuildRequires: python3-devel + +# For tests +BuildRequires: python3-pytest + +%global _description %{expand: +This is a low-level library for installing a Python package from +a wheel distribution. It provides basic functionality and abstractions +for handling wheels and installing packages from wheels.} + + +%description %_description + +%package -n python3-installer +Summary: %{summary} + +%description -n python3-installer %_description + + +%prep +%autosetup -p1 -n installer-%{version} + +%generate_buildrequires +%pyproject_buildrequires + + +%build +%pyproject_wheel + + +%install +%pyproject_install +%pyproject_save_files installer + + +%check +%pyproject_check_import +%pytest + + +%files -n python3-installer -f %{pyproject_files} +%license LICENSE +%doc CONTRIBUTING.md README.md + + +%changelog +* Thu Jul 28 2022 Charalampos Stratakis - 0.5.1-1 +- Initial package (rhbz#2111707) \ No newline at end of file diff --git a/sources b/sources new file mode 100644 index 0000000..0175c29 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (installer-0.5.1.tar.gz) = fcdbd0001c8b87cb73f49453c7be30c52579eec6d9134b8e9406aab59bfdf7899360fbbe9cc37c9db54356e5408322aea80307d73231b136918f7d2af013afd1