Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
system:homeautomation:home-assistant
python-aiosqlite
python-aiosqlite.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-aiosqlite.spec of Package python-aiosqlite
# # spec file for package python-aiosqlite # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 Matthias Fehring <buschmann23@opensuse.org> # # 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() python3-%{**}} %define skip_python2 1 %define skip_python36 1 Name: python-aiosqlite Version: 0.16.0 Release: 0 Summary: AsyncIO Bridge to the Standard Python sqlite3 Module License: MIT Group: Development/Languages/Python URL: https://github.com/jreese/aiosqlite Source: aiosqlite-%{version}.tar.xz Patch1: hack.diff Provides: python3-aiosqlite = %version-%release BuildRequires: python-rpm-macros BuildRequires: fdupes BuildRequires: git BuildRequires: %{python_module setuptools >= 38.6.0} BuildRequires: %{python_module Pygments} BuildRequires: %{python_module flit} BuildRequires: %{python_module pip} BuildRequires: %{python_module typing_extensions} # SECTION test requirements BuildRequires: %{python_module aiounittest} BuildRequires: %{pythons} # /SECTION Requires: python Requires: python-typing_extensions BuildArch: noarch %python_subpackages %description aiosqlite replicates the standard sqlite3 module, but with async versions of all the standard connection and cursor methods, and context managers for automatically closing connections. %prep %setup -q -n aiosqlite-%{version} # hack around flit %patch1 -p1 rm -r .github git config --global user.email "you@example.com" git config --global user.name "Your Name" git commit -m hack . %build %{python_expand rm _current_flavor flit-%{$python_version} build flit-%{$python_version} install } %install %{python_expand mkdir -p %buildroot%{$python_sitelib}/ cp -a /home/abuild/.local/lib/python%{$python_version}/site-packages/* %buildroot%{$python_sitelib}/ } %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %license LICENSE %doc README.rst %{python_sitelib}/* %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