From cf45e04deb98a88fd9adb9fbbe9d60dd8511ef3a3ccc325d3412ed44d59fdb89 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 13 May 2025 03:18:06 +0000 Subject: [PATCH] - Initial release of 3.3.9. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-stone?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + python-stone.changes | 4 +++ python-stone.spec | 78 ++++++++++++++++++++++++++++++++++++++++++++ stone-3.3.9.tar.gz | 3 ++ 5 files changed, 109 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-stone.changes create mode 100644 python-stone.spec create mode 100644 stone-3.3.9.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-stone.changes b/python-stone.changes new file mode 100644 index 0000000..b8c21cd --- /dev/null +++ b/python-stone.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue May 13 03:17:53 UTC 2025 - Steve Kowalik + +- Initial release of 3.3.9. diff --git a/python-stone.spec b/python-stone.spec new file mode 100644 index 0000000..9ed2856 --- /dev/null +++ b/python-stone.spec @@ -0,0 +1,78 @@ +# +# spec file for package python-stone +# +# Copyright (c) 2025 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: python-stone +Version: 3.3.9 +Release: 0 +Summary: Stone is an interface description language (IDL) for APIs +License: MIT +URL: https://github.com/dropbox/stone +Source: https://github.com/dropbox/stone/archive/refs/tags/v%{version}.tar.gz#/stone-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module Jinja2 >= 3.0.3} +BuildRequires: %{python_module packaging >= 21.0} +BuildRequires: %{python_module ply >= 3.4} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module six >= 1.12.0} +BuildRequires: %{python_module testsuite} +# /SECTION +BuildRequires: fdupes +Requires: python-Jinja2 >= 3.0.3 +Requires: python-packaging >= 21.0 +Requires: python-ply >= 3.4 +Requires: python-six >= 1.12.0 +Requires(post): update-alternatives +Requires(postun): update-alternatives +BuildArch: noarch +%python_subpackages + +%description +Stone is an interface description language (IDL) for APIs. + +%prep +%autosetup -p1 -n stone-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_clone -a %{buildroot}%{_bindir}/stone +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%post +%python_install_alternative stone + +%postun +%python_uninstall_alternative stone + +%files %{python_files} +%doc README.rst +%license LICENSE LICENSE +%python_alternative %{_bindir}/stone +%{python_sitelib}/stone +%{python_sitelib}/stone-%{version}.dist-info + +%changelog diff --git a/stone-3.3.9.tar.gz b/stone-3.3.9.tar.gz new file mode 100644 index 0000000..9ffd156 --- /dev/null +++ b/stone-3.3.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e9a54a81208ac2f3724523c3007492ad3cdb9b6a3eb69ad0d3eac94b1a2e0d69 +size 290882