diff options
author | CoprDistGit <infra@openeuler.org> | 2025-05-16 09:09:34 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-05-16 09:09:34 +0000 |
commit | ef5bdd3fc2da19fdce137cec3c857f05af5f2fc7 (patch) | |
tree | fd6d0186f94e4a4645e6150db18382e386220fdb | |
parent | 735fcbfcc54c414d04f0386dbf30248fec9f678a (diff) |
automatic import of python-tomcli
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-tomcli.spec | 53 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 55 insertions, 0 deletions
@@ -0,0 +1 @@ +/tomcli-0.9.0.tar.gz diff --git a/python-tomcli.spec b/python-tomcli.spec new file mode 100644 index 0000000..43f04de --- /dev/null +++ b/python-tomcli.spec @@ -0,0 +1,53 @@ +%global _empty_manifest_terminate_build 0 +%global pypi_name tomcli + +Name: python-%{pypi_name} +Version: 0.9.0 +Release: 1 +Summary: CLI for working with TOML files. Pronounced "tom clee." +License: MIT +URL: https://git.sr.ht/~gotmax23/tomcli +Source0: %{url}/refs/download/v%{version}/tomcli-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-hatchling + +%global _description %{expand: +CLI for working with TOML files. Pronounced "tom clee."} + +%description %_description + + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} %_description + +%prep +%autosetup -p1 -n %{pypi_name}-%{version} + +%build +%pyproject_build + +%install +%pyproject_install + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.md +%{_bindir}/tomcli +%{_bindir}/tomcli-formatters +%{_bindir}/tomcli-get +%{_bindir}/tomcli-set +%{python3_sitelib}/tomcli +%{python3_sitelib}/tomcli-*.dist-info/ + +%changelog +* Fri May 16 2025 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 0.9.0-1 +- Init package @@ -0,0 +1 @@ +d0d38d1ea0e8d18aae362803e2baf76d tomcli-0.9.0.tar.gz |