From 009de6da1c43ebdc9ccf2d7f978b3251a331b619 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Wed, 14 Sep 2022 06:29:50 +0200 Subject: [PATCH] - new; build using plain setuptools instead of flit_core --- python3-tomli.spec | 65 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 python3-tomli.spec diff --git a/python3-tomli.spec b/python3-tomli.spec new file mode 100644 index 0000000..874bd29 --- /dev/null +++ b/python3-tomli.spec @@ -0,0 +1,65 @@ +# +# Conditional build: +%bcond_with tests # unit tests (not included in sdist) + +Summary: A lil' TOML parser +Summary(pl.UTF-8): Malutki parser TOML-a +Name: python3-tomli +Version: 2.0.1 +Release: 1 +License: MIT +Group: Libraries/Python +#Source0Download: https://pypi.org/simple/tomli/ +Source0: https://files.pythonhosted.org/packages/source/t/tomli/tomli-%{version}.tar.gz +# Source0-md5: d4341621d423a7ca6822e23d6d52bb9a +URL: https://pypi.org/project/tomli/ +BuildRequires: python3-modules >= 1:3.7 +# TODO: +#BuildRequires: python3-flit_core >= 3.2.0 +BuildRequires: python3-setuptools >= 1:61 +BuildRequires: rpm-pythonprov +BuildRequires: rpmbuild(macros) >= 1.714 +Requires: python3-modules >= 1:3.7 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Tomli is a Python library for parsing TOML. + +Tomli is fully compatible with TOML v1.0.0 +. + +%description -l pl.UTF-8 +Tomli to biblioteka Pythona do analizy TOML-a. + +Tomli jest w pełni zgodny z TOM v1.0.0 . + +%prep +%setup -q -n tomli-%{version} + +# stub for setuptools until we have flit +cat >setup.py <