Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:python:backports
python-sqlitedict
python-sqlitedict.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-sqlitedict.spec of Package python-sqlitedict
# # spec file for package python-sqlitedict # # 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-sqlitedict Version: 2.1.0 Release: 0 Summary: Persistent dict in Python backed by sqlite3 License: Apache-2.0 URL: https://github.com/piskvorky/sqlitedict Source: https://files.pythonhosted.org/packages/source/s/sqlitedict/sqlitedict-%{version}.tar.gz BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: %{pythons} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python BuildArch: noarch %python_subpackages %description A wrapper around Python's sqlite3 database with a Pythonic dict-like interface and support for multi-thread access. %prep %setup -q -n sqlitedict-%{version} sed -i -e '/^#!\//, 1d' sqlitedict.py %build %pyproject_wheel %install %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %check %{python_expand # db needs to be regenerated rm -rf tests/db mkdir -p tests/db PYTHONPATH=%{buildroot}%{$python_sitelib} pytest-%{$python_bin_suffix} } %files %{python_files} %license LICENSE.md %doc README.rst %{python_sitelib}/sqlitedict.py %pycache_only %{python_sitelib}/__pycache__/sqlitedict.*.py* %{python_sitelib}/sqlitedict-%{version}.dist-info %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor