!1 Init package with version 2023.10.18

From: @desert-sailor 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2023-11-02 07:57:32 +00:00 committed by Gitee
commit ae433fa2b8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1,63 @@
%global _empty_manifest_terminate_build 0
Name: python-trove-classifiers
Version: 2023.10.18
Release: 1
Summary: Canonical source for classifiers on PyPI (pypi.org).
License: Apache-2.0
URL: https://github.com/pypa/trove-classifiers
Source0: https://files.pythonhosted.org/packages/5b/fa/49b6a09e4f389d4d9406d2947a685de1462ffb676ea6e61c50905e27b0f4/trove-classifiers-2023.10.18.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
%description
Canonical source for classifiers on PyPI (pypi.org).
%package -n python3-trove-classifiers
Summary: Canonical source for classifiers on PyPI (pypi.org).
Provides: python-trove-classifiers
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-hatchling
%description -n python3-trove-classifiers
Canonical source for classifiers on PyPI (pypi.org).
%package help
Summary: Development documents and examples for trove-classifiers
Provides: python3-trove-classifiers-doc
%description help
Development documents and examples for trove-classifiers.
%prep
%autosetup -n trove-classifiers-%{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
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
%files -n python3-trove-classifiers
%doc README.md
%license LICENSE
%{python3_sitelib}/trove_classifiers
%{python3_sitelib}/trove_classifiers*.dist-info/
%files help
%{_docdir}/*
%changelog
* Thu Nov 2 2023 Dongxing Wang <dxwangk@isoftstone.com> - 2023.10.18-1
- Init package

Binary file not shown.