Group :: Development/Python3
RPM: python3-module-toml
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%define pypi_name toml
%def_with check
Name: python3-module-%pypi_name
Version: 0.10.2
Release: alt3
Summary: A Python library for parsing and creating TOML.
License: MIT
Group: Development/Python3
# Source-git: https://github.com/uiri/toml.git
Url: https://pypi.org/project/toml/
Source: %name-%version.tar
Patch: %name-%version-alt.patch
BuildRequires(pre): rpm-build-python3
# build backend and its deps
BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)
%if_with check
BuildRequires: golang-github-burntsushi-toml-test
BuildRequires: python3(numpy)
%endif
BuildArch: noarch
%description
TOML aims to be a minimal configuration file format that's easy to read due to
obvious semantics. TOML is designed to map unambiguously to a hash table. TOML
should be easy to parse into data structures in a wide variety of languages.
This package loads toml file into python dictionary and dump dictionary into
toml file.
%prep
%setup
%patch -p1
%build
%pyproject_build
%install
%pyproject_install
%check
ln -s %_datadir/toml-test toml-test
%tox_check_pyproject
%files
%python3_sitelibdir/toml/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/
%changelog
…
Todas as alterações você pod ver aqui
%define pypi_name toml
%def_with check
Name: python3-module-%pypi_name
Version: 0.10.2
Release: alt3
Summary: A Python library for parsing and creating TOML.
License: MIT
Group: Development/Python3
# Source-git: https://github.com/uiri/toml.git
Url: https://pypi.org/project/toml/
Source: %name-%version.tar
Patch: %name-%version-alt.patch
BuildRequires(pre): rpm-build-python3
# build backend and its deps
BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)
%if_with check
BuildRequires: golang-github-burntsushi-toml-test
BuildRequires: python3(numpy)
%endif
BuildArch: noarch
%description
TOML aims to be a minimal configuration file format that's easy to read due to
obvious semantics. TOML is designed to map unambiguously to a hash table. TOML
should be easy to parse into data structures in a wide variety of languages.
This package loads toml file into python dictionary and dump dictionary into
toml file.
%prep
%setup
%patch -p1
%build
%pyproject_build
%install
%pyproject_install
%check
ln -s %_datadir/toml-test toml-test
%tox_check_pyproject
%files
%python3_sitelibdir/toml/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/
%changelog
…
Todas as alterações você pod ver aqui