Initial import (fedora#2111707).
This commit is contained in:
parent
6ae5419828
commit
a7465a9bba
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/installer-0.5.1.tar.gz
|
58
python-installer.spec
Normal file
58
python-installer.spec
Normal file
@ -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 <cstratak@redhat.com> - 0.5.1-1
|
||||
- Initial package (rhbz#2111707)
|
Loading…
Reference in New Issue
Block a user