60 lines
1.5 KiB
RPMSpec
60 lines
1.5 KiB
RPMSpec
|
|
# Created by pyp2rpm-3.3.9
|
||
|
|
%global pypi_name pyyaml_env_tag
|
||
|
|
%global pypi_version 0.1
|
||
|
|
|
||
|
|
Name: python-%{pypi_name}
|
||
|
|
Version: %{pypi_version}
|
||
|
|
Release: 1
|
||
|
|
Summary: A custom YAML tag for referencing environment variables in YAML files
|
||
|
|
|
||
|
|
License: MIT
|
||
|
|
URL: https://github.com/waylan/pyyaml-env-tag
|
||
|
|
Source0: https://files.pythonhosted.org/packages/fb/8e/da1c6c58f751b70f8ceb1eb25bc25d524e8f14fe16edcce3f4e3ba08629c/pyyaml_env_tag-0.1.tar.gz
|
||
|
|
BuildArch: noarch
|
||
|
|
|
||
|
|
BuildRequires: python3-devel
|
||
|
|
BuildRequires: python3dist(setuptools)
|
||
|
|
BuildRequires: python3-pip
|
||
|
|
BuildRequires: python3-wheel
|
||
|
|
BuildRequires: python3-editables
|
||
|
|
BuildRequires: python3-hatch-vcs
|
||
|
|
BuildRequires: python3-hatchling
|
||
|
|
BuildRequires: python3-virtualenv
|
||
|
|
#check requirements
|
||
|
|
BuildRequires: python3-flit
|
||
|
|
BuildRequires: python3-pyyaml
|
||
|
|
|
||
|
|
%description
|
||
|
|
A custom YAML tag for referencing environment variables in YAML files.
|
||
|
|
|
||
|
|
%package -n python3-%{pypi_name}
|
||
|
|
Summary: %{summary}
|
||
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||
|
|
|
||
|
|
%description -n python3-%{pypi_name}
|
||
|
|
A custom YAML tag for referencing environment variables in YAML files.
|
||
|
|
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -n %{pypi_name}-%{pypi_version}
|
||
|
|
|
||
|
|
%build
|
||
|
|
%pyproject_build
|
||
|
|
|
||
|
|
%install
|
||
|
|
%pyproject_install
|
||
|
|
|
||
|
|
%check
|
||
|
|
%{__python3} setup.py test
|
||
|
|
|
||
|
|
%files -n python3-%{pypi_name}
|
||
|
|
%license LICENSE
|
||
|
|
%doc README.md
|
||
|
|
%{python3_sitelib}/__pycache__/*
|
||
|
|
%{python3_sitelib}/yaml_env_tag.py
|
||
|
|
%{python3_sitelib}/%{pypi_name}-0.1.dist-info
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Tue Jun 20 2023 luolu12 <luluoc@isoftstone.com> - 0.1-1
|
||
|
|
- Initial package.
|