51 lines
1.5 KiB
RPMSpec
51 lines
1.5 KiB
RPMSpec
%global _empty_manifest_terminate_build 0
|
|
%global pypi_name pytoolconfig
|
|
|
|
Name: python-%{pypi_name}
|
|
Version: 1.2.5
|
|
Release: 1
|
|
Summary: Python Tool Configuration to manage configuration for python tools and add support for a pyproject.toml configuration file.
|
|
|
|
License: LGPL-3.0-or-later
|
|
URL: https://github.com/bageljrkhanofemus/pytoolconfig
|
|
Source0: https://files.pythonhosted.org/packages/aa/ce/ac21cf0549ae05d8924e91f02f8b406e43beb42e605dc732fdf700f8cd8c/pytoolconfig-1.2.5.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-setuptools
|
|
BuildRequires: python3-pip
|
|
BuildRequires: python3-wheel
|
|
BuildRequires: python3-hatchling
|
|
BuildRequires: python3-virtualenv
|
|
BuildRequires: python3-pdm-pep517
|
|
|
|
%description
|
|
Python Tool Configuration to manage configuration for python tools and add support for a pyproject.toml configuration file.
|
|
|
|
%package -n python3-%{pypi_name}
|
|
Summary: %{summary}
|
|
|
|
%description -n python3-%{pypi_name}
|
|
Python Tool Configuration to manage configuration for python tools and add support for a pyproject.toml configuration file.
|
|
|
|
%prep
|
|
%autosetup -p1 -n %{pypi_name}-%{version}
|
|
|
|
%build
|
|
%pyproject_build
|
|
|
|
%install
|
|
%pyproject_install
|
|
|
|
%files -n python3-%{pypi_name}
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{python3_sitelib}/pytoolconfig-*.dist-info/
|
|
%{python3_sitelib}/pytoolconfig
|
|
|
|
%changelog
|
|
* Tue Jun 27 2023 zjyabsa<jyzhangcf@isoftstone.com> - 1.2.5-1
|
|
- Initial package
|
|
|