python-pytoolconfig/python-pytoolconfig.spec

57 lines
1.7 KiB
RPMSpec
Raw Permalink Normal View History

2023-06-26 05:30:12 -04:00
%global _empty_manifest_terminate_build 0
%global pypi_name pytoolconfig
Name: python-%{pypi_name}
2024-03-04 17:24:14 +08:00
Version: 1.3.1
2023-06-26 05:30:12 -04:00
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
2024-03-04 17:24:14 +08:00
Source0: https://files.pythonhosted.org/packages/18/dc/abf70d2c2bcac20e8c71a7cdf6d44e4ddba4edf65acb179248d554d743db/pytoolconfig-1.3.1.tar.gz
2023-06-26 05:30:12 -04:00
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
2024-03-04 17:24:14 +08:00
BuildRequires: python3-hatchling
BuildRequires: python3-virtualenv
BuildRequires: python3-pdm-backend
2023-06-26 05:30:12 -04:00
%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
2024-03-04 17:24:14 +08:00
* Mon Mar 4 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.3.1-1
- Update package with version 1.3.1
Update workflows and tests.
Use trusted publishing and configure Renovate.
Drop 3.7 support and do sys path hack.
2023-06-26 05:30:12 -04:00
* Tue Jun 27 2023 zjyabsa<jyzhangcf@isoftstone.com> - 1.2.5-1
- Initial package