!1 Init package to version 0.4.4

From: @desert-sailor 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2023-06-09 08:18:30 +00:00 committed by Gitee
commit 76fdfa0a50
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 54 additions and 0 deletions

BIN
plette-0.4.4.tar.gz Normal file

Binary file not shown.

50
python-plette.spec Normal file
View File

@ -0,0 +1,50 @@
%global pypi_name plette
Name: python-%{pypi_name}
Version: 0.4.4
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
* Fri Jun 9 2023 Dongxing Wang <dxwangk@isoftstone.com> - 0.4.4-1
- Initial package to version 0.4.4 for requirementslib

4
python-plette.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: pypi
src_repo: plette
tag_prefix: ^v
seperator: "."