Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
0f0086685c
!6 Adapting to the pyproject.toml compilation mode
From: @cherry530 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-04-26 08:46:44 +00:00
cherry530
ecc3b7be3b Adapting to the pyproject.toml compilation mode
Signed-off-by: cherry530 <707078654@qq.com>
2023-04-26 16:12:15 +08:00
openeuler-ci-bot
e8a050d803
!5 Update package to version 1.7.3
From: @wubijie123 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2023-03-21 10:40:48 +00:00
wubijie
02a9a14e9f Update package to version 1.7.3 2023-03-20 16:36:12 +08:00
openeuler-ci-bot
ff9f6d05c0
!3 UpdatePackage
From: @Wangjunqi123 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-11-08 11:23:51 +00:00
Wangjunqi123
ad53715f7c update version to 1.7.2 2022-11-08 09:53:49 +08:00
openeuler-ci-bot
8a9cbcc4c5 !2 upgrade version to 1.7.0
From: @run-is-pig
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-01-28 08:52:15 +08:00
yangl777
12d1bf0041 upgrade version to 1.7.0 2021-01-27 17:34:55 +08:00
openeuler-ci-bot
4649ae1c61 !1 add yaml
Merge pull request !1 from cuibb1/master
2020-05-11 21:12:39 +08:00
cuibb1
c9cb210c48 yaml upload 2020-05-09 11:58:41 +08:00
4 changed files with 52 additions and 25 deletions

Binary file not shown.

BIN
dict2xml-1.7.3.tar.gz Normal file

Binary file not shown.

View File

@ -1,43 +1,66 @@
%global pypi_name dict2xml
%global _empty_manifest_terminate_build 0
Name: python-dict2xml
Version: 1.7.3
Release: 2
Summary: Super Simple utility to convert a python dictionary into an xml string
License: MIT
URL: http://github.com/delfick/python-dict2xml
Source0: https://files.pythonhosted.org/packages/59/19/2e36329ad47671bd3701cf5dbb94b09fdc407d9635c75131f200ee6ec7dc/dict2xml-1.7.3.tar.gz
BuildArch: noarch
Name: python-%{pypi_name}
Version: 1.6.1
Release: 1
Summary: Super Simple utility to convert a python dictionary into an xml string
License: MIT
URL: https://github.com/delfick/python-dict2xml
Source0: https://files.pythonhosted.org/packages/ed/28/b169ce37d415e5c924fa4f2b157b051ef9fa5ab25ae94db192f19dd9c6b1/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-pip python3-hatchling python3-hatch-vcs python3-wheel
%global _description \
%description
Super Simple utility to convert a python dictionary into an xml string.
%description %{_description}
%package -n python3-dict2xml
Summary: Super Simple utility to convert a python dictionary into an xml string
Provides: python-dict2xml = %{version}-%{release}
BuildRequires: python3-devel
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-dict2xml
Super Simple utility to convert a python dictionary into an xml string.
%description -n python3-%{pypi_name} %{_description}
%package help
Summary: Development documents and examples for dict2xml
Provides: python3-dict2xml-doc
%description help
Super Simple utility to convert a python dictionary into an xml string.
%prep
%autosetup -n %{pypi_name}-%{version}
%autosetup -n dict2xml-%{version}
%build
%py3_build
%pyproject_build
%install
%py3_install
%pyproject_install dict2xml==%{version}
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
%check
%files -n python3-dict2xml
%{python3_sitelib}/*
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.rst
%{python3_sitelib}/%{pypi_name}/
%{python3_sitelib}/%{pypi_name}-*.egg-info/
%files help
%{_docdir}/*
%changelog
* Wed Apr 26 2023 xu_ping <707078654@qq.com> - 1.7.3-2
- Adapting to the pyproject.toml compilation mode
* Mon Mar 20 2023 wubijie <wubijie@kylinos.cn> - 1.7.3-1
- Update package to version 1.7.3
* Tue Nov 08 2022 wangjunqi <wangjunqi@kylinos.cn> - 1.7.2-1
- Update package to version 1.7.2
* Wed Jan 27 2021 liudabo <liudabo1@huawei.com> - 1.7.0-1
- upgrade version to 1.7.0
* Tue Nov 5 2019 shanshishi <shanshishi@huawei.com> - 1.6.1-1
- Init package

4
python-dict2xml.yaml Normal file
View File

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