Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
ce5538e13a
!9 Fix license classifier in pyproject.toml
From: @teng-lei0416 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2024-05-08 13:01:01 +00:00
滕磊
12b0cfd7ad Fix license classifier in pyproject.toml 2024-05-08 17:37:45 +08:00
openeuler-ci-bot
db885004fa
!6 Update package to version 3.0.0
From: @ccdxx 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2023-06-26 09:53:49 +00:00
chendexi
e4d8255ee8 Update package to version 3.0.0
Signed-off-by: chendexi <chendexi@kylinos.cn>

add source

fix build error

Signed-off-by: chendexi <chendexi@kylinos.cn>

add setup

use pyproject instead

add buildrequire

add buildrequire
2023-06-26 10:06:44 +08:00
openeuler-ci-bot
98adf699c1
!5 Modify compliance irregularities
From: @lauk001 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-12-19 12:47:36 +00:00
lauk001
232f073e45 Modify compliance irregularities 2022-12-09 13:44:23 +08:00
openeuler-ci-bot
407d97f164
!4 upgrade version to 2.0.4
From: @dingdingaaaaa 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2022-12-08 06:38:31 +00:00
dingdingaaaaa
2610acbdf5 Upgrade version to 2.0.4 2022-12-07 11:22:28 +08:00
openeuler-ci-bot
da0e74ebf6 !3 Add spec and source packages
From: @zhangy1317
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
2021-07-21 09:34:11 +00:00
zhangy1317
cad330fa6c add spec and tar 2021-07-19 15:01:53 +08:00
3 changed files with 92 additions and 0 deletions

View File

@ -0,0 +1,25 @@
From cfbd063cc36a3ff483e3c22533e2ae2d057ac47d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=BB=95=E7=A3=8A?= Diego Jorquera
Date: Wed, 8 May 2024 17:21:51 +0800
Subject: [PATCH] Fix license classifier in pyproject.toml
---
pyproject.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyproject.toml b/pyproject.toml
index 85bdc78..f5ef8f3 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -23,7 +23,7 @@ classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Pytest",
"Intended Audience :: Developers",
- "License :: OSI Approved :: MIT License",
+ "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Natural Language :: English",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
--
2.43.0

Binary file not shown.

View File

@ -0,0 +1,67 @@
%global _empty_manifest_terminate_build 0
Name: python-pytest-metadata
Version: 3.0.0
Release: 2
Summary: pytest plugin for test session metadata
License: MPL-2.0
URL: https://github.com/pytest-dev/pytest-metadata
Source0: https://files.pythonhosted.org/packages/fa/0a/2d380e69561a2fea3f395ef2504461cdb52387fba780d13796bfddc6a416/pytest_metadata-3.0.0.tar.gz
BuildArch: noarch
%description
pytest plugin for test session metadata
%package -n python3-pytest-metadata
Summary: pytest plugin for test session metadata
Provides: python-pytest-metadata
BuildRequires: python3-devel
BuildRequires: python3-pip python3-wheel python3-hatchling python3-hatch-vcs
BuildRequires: python3-pbr
Requires: python3-pytest
Patch0001: 0001-Fix-license-classifier-in-pyproject.toml.patch
%description -n python3-pytest-metadata
pytest plugin for test session metadata
%package help
Summary: Development documents and examples for pytest-metadata
Provides: python3-pytest-metadata-doc
%description help
pytest plugin for test session metadata
%prep
%autosetup -n pytest_metadata-%{version}
%build
%pyproject_build
%install
%pyproject_install
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
%files -n python3-pytest-metadata
%{python3_sitelib}/*
%files help
%{_docdir}/*
%changelog
* Tue May 7 2024 tenglei <tenglei@kylinos.cn> - 3.0.0-2
- Fix license classifier in pyproject.toml
* Wed Jun 21 2023 chendexi <chendexi@kylinos.cn> - 3.0.0-1
- Update package to version 3.0.0
* Fri Dec 09 2022 liukuo <liukuo@kylinos.cn> - 2.0.4-2
- License compliance rectification
* Wed Dec 07 2022 dingdingaaaaa <dingziwei@kylinos.cn> - 2.0.4-1
- Upgrade version to 2.0.4
* Fri Jul 09 2021 openstack-sig <openstack@openeuler.org>
- Package Spec generated