Package init
This commit is contained in:
commit
2d40978d0e
BIN
pyaml-19.4.1.tar.gz
Normal file
BIN
pyaml-19.4.1.tar.gz
Normal file
Binary file not shown.
45
python-pyaml.spec
Normal file
45
python-pyaml.spec
Normal file
@ -0,0 +1,45 @@
|
||||
%global pypi_name pyaml
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 19.4.1
|
||||
Release: 1
|
||||
Summary: PyYAML-based python module to produce pretty and readable YAML-serialized data
|
||||
License: WTFPL
|
||||
URL: https://github.com/clearlinux-pkgs/pyaml
|
||||
Source0: https://files.pythonhosted.org/packages/bf/0c/bf62f049446da78498eb607bc8cbb0604cf1e8d618f2f733e538dcb6e0bc/%{pypi_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-devel
|
||||
Requires: python3-PyYAML
|
||||
|
||||
%global _description \
|
||||
Python module to produce formatted YAML-serialized data
|
||||
|
||||
|
||||
%description %{_description}
|
||||
|
||||
%package -n python3-%{pypi_name}
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||
|
||||
%description -n python3-%{pypi_name} %{_description}
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pypi_name}-%{version}
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
|
||||
%files -n python3-%{pypi_name}
|
||||
%license COPYING
|
||||
%doc README.rst
|
||||
%{python3_sitelib}/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Nov 7 2019 caomeng <caomeng5@huawei.com> - 19.4.1-1
|
||||
- Init package
|
||||
Loading…
x
Reference in New Issue
Block a user