python-tox-pdm/python-tox-pdm.spec

50 lines
1.2 KiB
RPMSpec
Raw Permalink Normal View History

2023-06-24 11:17:36 +08:00
%global _empty_manifest_terminate_build 0
%global pypi_name tox-pdm
Name: python-%{pypi_name}
Version: 0.6.1
Release: 1
Summary: A plugin for tox that utilizes PDM as the package manager and installer.
License: MIT
URL: https://github.com/pdm-project/tox-pdm
Source0: https://files.pythonhosted.org/packages/57/42/c437d69c3b884c58027999e524c91716ac355048284be771d810d80ceed1/tox-pdm-0.6.1.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
BuildRequires: python3-pdm-pep517
%description
A plugin for tox that utilizes PDM as the package manager and installer.
%package -n python3-%{pypi_name}
Summary: %{summary}
%description -n python3-%{pypi_name}
A plugin for tox that utilizes PDM as the package manager and installer.
%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}/tox_pdm
%{python3_sitelib}/tox_pdm*.dist-info/
%changelog
* Sat Jun 24 2023 Dongxing Wang <dxwangk@isoftstone.com> - 0.6.1-1
- Initial package 0.6.1