56 lines
1.7 KiB
RPMSpec
56 lines
1.7 KiB
RPMSpec
%global pypi_name plette
|
|
|
|
Name: python-%{pypi_name}
|
|
Version: 1.0.0
|
|
Release: 1
|
|
Summary: Plette implements Pipfile and Pipfile.lock parsers, generators, and optional validators.
|
|
|
|
License: MIT
|
|
URL: https://github.com/sarugaku/plette
|
|
Source0: %{pypi_source %{pypi_name}}
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-setuptools
|
|
BuildRequires: python3-pip
|
|
BuildRequires: python3-wheel
|
|
BuildRequires: python3-editables
|
|
BuildRequires: python3-hatch-vcs
|
|
BuildRequires: python3-hatchling
|
|
BuildRequires: python3-virtualenv
|
|
BuildRequires: python3-pytest
|
|
|
|
%description
|
|
Plette implements Pipfile and Pipfile.lock parsers, generators, and optional validators to let the user work with them in a structured manner.
|
|
|
|
%package -n python%{python3_pkgversion}-%{pypi_name}
|
|
Summary: %{summary}
|
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
|
|
|
|
%description -n python%{python3_pkgversion}-%{pypi_name}
|
|
Plette implements Pipfile and Pipfile.lock parsers, generators, and optional validators to let the user work with them in a structured manner.
|
|
|
|
|
|
%prep
|
|
%autosetup -n %{pypi_name}-%{version}
|
|
|
|
%build
|
|
%pyproject_build
|
|
|
|
%install
|
|
%pyproject_install
|
|
|
|
%files -n python%{python3_pkgversion}-%{pypi_name}
|
|
%doc README.rst
|
|
%{python3_sitelib}/%{pypi_name}
|
|
%{python3_sitelib}/%{pypi_name}*.dist-info/
|
|
|
|
%changelog
|
|
* Wed Feb 28 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.0.0-1
|
|
- Update package to version 1.0.0
|
|
Rewrite the entire library using dataclasses.
|
|
Add more rigorous testing.
|
|
|
|
* Fri Jun 9 2023 Dongxing Wang <dxwangk@isoftstone.com> - 0.4.4-1
|
|
- Initial package to version 0.4.4 for requirementslib
|