15
0
forked from pool/python-stone

- Initial release of 3.3.9.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-stone?expand=0&rev=1
This commit is contained in:
2025-05-13 03:18:06 +00:00
committed by Git OBS Bridge
commit cf45e04deb
5 changed files with 109 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

4
python-stone.changes Normal file
View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Tue May 13 03:17:53 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Initial release of 3.3.9.

78
python-stone.spec Normal file
View File

@@ -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

3
stone-3.3.9.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e9a54a81208ac2f3724523c3007492ad3cdb9b6a3eb69ad0d3eac94b1a2e0d69
size 290882