!2 sync package to 21.09 from master

From: @orange-snn
Reviewed-by: @yangzhao_kl
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2021-09-01 02:15:56 +00:00 committed by Gitee
commit 066c27ee26
3 changed files with 47 additions and 0 deletions

BIN
icdiff-2.0.4.tar.gz Normal file

Binary file not shown.

43
python-icdiff.spec Normal file
View File

@ -0,0 +1,43 @@
%define debug_package %{nil}
%define pypi_name icdiff
Name: python-icdiff
Version: 2.0.4
Release: 1
Summary: Dictdiffer is a helper module that helps you to diff and patch dictionaries.
License: PSF
URL: https://www.jefftk.com/icdiff
Source0: https://files.pythonhosted.org/packages/77/6c/d029e50e4ba5c4a357b30875e46f13304873ad8541c61bdd8bbdceda55bd/%{pypi_name}-%{version}.tar.gz
BuildRequires: python3-devel python3-setuptools python3-pytest
%description
Dictdiffer is a helper module that helps you to diff and patch dictionaries.
%package -n python3-%{pypi_name}
Summary: python3 package for dictdiffer.
%description -n python3-%{pypi_name}
Dictdiffer is a helper module that helps you to diff and patch dictionaries.
%prep
%autosetup -n %{pypi_name}-%{version}
%build
%py3_build
%install
%py3_install
%check
%{__python3} setup.py test
%files -n python3-%{pypi_name}
%{_bindir}/*
%{python3_sitelib}/*
%changelog
* Thu Aug 26 2021 orange-snn<songnannan2@huawei.com> - 2.0.4-1
- Package init

4
python-icdiff.yaml Normal file
View File

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