commit 90c3bf128eeaa8eb3687f8627035fce0c28d39b8287cb7f8ac0708a5a5d4e0fb Author: Markéta Machová Date: Fri Feb 19 08:26:19 2021 +0000 Accepting request 873637 from home:andythe_great:branches:devel:languages:python This package is a dependency for python-sqlite-utils. OBS-URL: https://build.opensuse.org/request/show/873637 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sqlite-fts4?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-fts4.changes b/python-sqlite-fts4.changes new file mode 100644 index 0000000..6c26e6c --- /dev/null +++ b/python-sqlite-fts4.changes @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Wed Feb 17 14:33:18 UTC 2021 - andy great + +- Initial package release, 1.0.1. +- Skip python2 because python 2 don't support encoding="utf8" in + setup.py diff --git a/python-sqlite-fts4.spec b/python-sqlite-fts4.spec new file mode 100644 index 0000000..fb87a1a --- /dev/null +++ b/python-sqlite-fts4.spec @@ -0,0 +1,58 @@ +# +# spec file for package python-sqlite-fts4 +# +# Copyright (c) 2021 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/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 +Name: python-sqlite-fts4 +Version: 1.0.1 +Release: 0 +Summary: Python functions for working with SQLite FTS4 search +License: Apache-2.0 +URL: https://github.com/simonw/sqlite-fts4 +Source: https://github.com/simonw/sqlite-fts4/archive/%{version}.tar.gz#/sqlite-fts4-%{version}.tar.gz +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: %{pythons} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch +%python_subpackages + +%description +Python functions for working with SQLite FTS4 search + +%prep +%setup -q -n sqlite-fts4-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%license LICENSE +%doc README.md +%{python_sitelib}/sqlite_fts4 +%{python_sitelib}/sqlite_fts4-%{version}-*.egg-info + +%changelog diff --git a/sqlite-fts4-1.0.1.tar.gz b/sqlite-fts4-1.0.1.tar.gz new file mode 100644 index 0000000..e7f3320 --- /dev/null +++ b/sqlite-fts4-1.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a261ece8ddb0c70751660220fa64c19c5b491c76111e3ea3870ca1c1c143dfe5 +size 10786