!1 Init package for python-mkdocs-material import
From: @desert-sailor Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
42f0840e64
BIN
hatch_requirements_txt-0.4.0.tar.gz
Normal file
BIN
hatch_requirements_txt-0.4.0.tar.gz
Normal file
Binary file not shown.
49
python-hatch-requirements-txt.spec
Normal file
49
python-hatch-requirements-txt.spec
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
%global _empty_manifest_terminate_build 0
|
||||||
|
%global pypi_name hatch-requirements-txt
|
||||||
|
%global source_name hatch_requirements_txt
|
||||||
|
|
||||||
|
Name: python-%{pypi_name}
|
||||||
|
Version: 0.4.0
|
||||||
|
Release: 1
|
||||||
|
Summary: Hatchling plugin to read project dependencies from requirements.txt.
|
||||||
|
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/repo-helper/hatch-requirements-txt
|
||||||
|
Source0: https://files.pythonhosted.org/packages/03/a9/478750388ddf54be886abb7cdb032e3b5a23c8886a8b1953fb66cd98c908/hatch_requirements_txt-0.4.0.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-wheel
|
||||||
|
BuildRequires: python3-hatchling
|
||||||
|
|
||||||
|
%description
|
||||||
|
Hatchling plugin to read project dependencies from requirements.txt.
|
||||||
|
|
||||||
|
|
||||||
|
%package -n python3-%{pypi_name}
|
||||||
|
Summary: %{summary}
|
||||||
|
|
||||||
|
%description -n python3-%{pypi_name}
|
||||||
|
Hatchling plugin to read project dependencies from requirements.txt.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n %{source_name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%pyproject_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
|
||||||
|
%files -n python3-%{pypi_name}
|
||||||
|
%doc README.rst
|
||||||
|
%license LICENSE
|
||||||
|
%{python3_sitelib}/hatch_requirements_txt
|
||||||
|
%{python3_sitelib}/hatch_requirements_txt*.dist-info/
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Jun 25 2023 Dongxing Wang <dxwangk@isoftstone.com> - 0.4.0-1
|
||||||
|
- Initial package
|
||||||
Loading…
x
Reference in New Issue
Block a user