Accepting request 1197803 from home:bnavigator:branches:devel:languages:python:jupyter

required by jupyter crdt packages

OBS-URL: https://build.opensuse.org/request/show/1197803
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sqlite-anyio?expand=0&rev=1
This commit is contained in:
2024-08-30 11:08:36 +00:00
committed by Git OBS Bridge
commit 9b90303f3f
6 changed files with 98 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

View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Fri Aug 30 10:42:18 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Initial specfile for v0.2.3 required by jupyter crdt packages

View File

@@ -0,0 +1,2 @@
# required and provided from the full python package, hence not in the python metadata
addFilter("python-leftover-require python.*-sqlite3")

65
python-sqlite-anyio.spec Normal file
View File

@@ -0,0 +1,65 @@
#
# spec file for package python-sqlite-anyio
#
# Copyright (c) 2024 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-sqlite-anyio
Version: 0.2.3
Release: 0
Summary: Asynchronous client for SQLite using AnyIO
License: MIT
URL: https://github.com/davidbrochart/sqlite-anyio
Source0: https://files.pythonhosted.org/packages/source/s/sqlite_anyio/sqlite_anyio-%{version}.tar.gz
Source99: python-sqlite-anyio.rpmlintrc
BuildRequires: %{python_module base > 3.8}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: (python-anyio >= 4.0 with python-anyio < 5)
# This is provided by the full python stack
Requires: python-sqlite3
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module anyio >= 4.0}
BuildRequires: %{python_module pytest >= 8}
BuildRequires: %{python_module sqlite3}
BuildRequires: %{python_module trio >= 0.24.0}
# /SECTION
%python_subpackages
%description
Asynchronous client for SQLite using AnyIO
Originally from https://gist.github.com/agronholm/458637aa569720fb1305cc74347e3e1d
%prep
%autosetup -p1 -n sqlite_anyio-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%{python_sitelib}/sqlite_anyio
%{python_sitelib}/sqlite_anyio-%{version}.dist-info
%changelog

View File

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