commit 9b90303f3fbe418a8162aa2aa0d144bb5c0792d77b91c2e49f9942449b588a26 Author: Markéta Machová Date: Fri Aug 30 11:08:36 2024 +0000 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 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-sqlite-anyio.changes b/python-sqlite-anyio.changes new file mode 100644 index 0000000..afe392a --- /dev/null +++ b/python-sqlite-anyio.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Fri Aug 30 10:42:18 UTC 2024 - Ben Greiner + +- Initial specfile for v0.2.3 required by jupyter crdt packages diff --git a/python-sqlite-anyio.rpmlintrc b/python-sqlite-anyio.rpmlintrc new file mode 100644 index 0000000..0118d7b --- /dev/null +++ b/python-sqlite-anyio.rpmlintrc @@ -0,0 +1,2 @@ +# required and provided from the full python package, hence not in the python metadata +addFilter("python-leftover-require python.*-sqlite3") diff --git a/python-sqlite-anyio.spec b/python-sqlite-anyio.spec new file mode 100644 index 0000000..ba2156e --- /dev/null +++ b/python-sqlite-anyio.spec @@ -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 diff --git a/sqlite_anyio-0.2.3.tar.gz b/sqlite_anyio-0.2.3.tar.gz new file mode 100644 index 0000000..46ce456 --- /dev/null +++ b/sqlite_anyio-0.2.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:12a8b0ececaa63d70d5cc5f91edbd932fc1eca9da70ebce2b31d3a199767b3d3 +size 5409