diff options
author | CoprDistGit <infra@openeuler.org> | 2024-01-28 06:54:10 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-01-28 06:54:10 +0000 |
commit | 821346db563ea25e3ec5bf4d39c38337e8bffb78 (patch) | |
tree | 25c3a1e2e2d6558b715c36e733f2c9cfd9933b4b /python-hatch-fancy-pypi-readme.spec | |
parent | 749c386b1c3fdd1f9e353c89ef77ed20d9050add (diff) |
automatic import of python-hatch-fancy-pypi-readmeopeneuler23.09openeuler22.03_LTS_SP2
Diffstat (limited to 'python-hatch-fancy-pypi-readme.spec')
-rw-r--r-- | python-hatch-fancy-pypi-readme.spec | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/python-hatch-fancy-pypi-readme.spec b/python-hatch-fancy-pypi-readme.spec new file mode 100644 index 0000000..c228ae5 --- /dev/null +++ b/python-hatch-fancy-pypi-readme.spec @@ -0,0 +1,51 @@ +%global _empty_manifest_terminate_build 0 +%global pypi_name hatch-fancy-pypi-readme +%global source_name hatch_fancy_pypi_readme + +Name: python-%{pypi_name} +Version: 23.1.0 +Release: 1 +Summary: An MIT-licensed metadata plugin for Hatch to help user to have fancy PyPI readmes. + +License: MIT +URL: https://github.com/hynek/hatch-fancy-pypi-readme +Source0: https://files.pythonhosted.org/packages/85/a6/58d585eba4321bf2e7a4d1ed2af141c99d88c1afa4b751926be160f09325/hatch_fancy_pypi_readme-23.1.0.tar.gz +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 + +%description +An MIT-licensed metadata plugin for Hatch to help user to have fancy PyPI readmes. + +%package -n python3-%{pypi_name} +Summary: %{summary} + +%description -n python3-%{pypi_name} +An MIT-licensed metadata plugin for Hatch to help user to have fancy PyPI readmes. + +%prep +%autosetup -p1 -n %{source_name}-%{version} + +%build +%pyproject_build + +%install +%pyproject_install + +%files -n python3-%{pypi_name} +%doc README.md +%license LICENSE.txt +%{_bindir}/hatch-fancy-pypi-readme +%{python3_sitelib}/%{source_name} +%{python3_sitelib}/%{source_name}*.dist-info/ + +%changelog +* Wed Jun 21 2023 zjyabsa <jyzhangcf@isoftstone.com> - 23.1.0-1 +- Initial package |