forked from pool/python-sqlite3-to-mysql
Accepting request 860448 from home:SchoolGuy
Initial submission as a devel project. Please feel free to add me as a maintainer. OBS-URL: https://build.opensuse.org/request/show/860448 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sqlite3-to-mysql?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
9
python-sqlite3-to-mysql.changes
Normal file
9
python-sqlite3-to-mysql.changes
Normal file
@@ -0,0 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 4 12:33:40 UTC 2021 - Enno Gotthold <egotthold@suse.com>
|
||||
|
||||
- Update to version 1.3.11
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 1 17:42:41 UTC 2020 - Enno Gotthold <egotthold@suse.com>
|
||||
|
||||
- Packaging of Version 1.3.10
|
90
python-sqlite3-to-mysql.spec
Normal file
90
python-sqlite3-to-mysql.spec
Normal file
@@ -0,0 +1,90 @@
|
||||
#
|
||||
# spec file for package python-sqlite3-to-mysql
|
||||
#
|
||||
# Copyright (c) 2020 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/
|
||||
#
|
||||
|
||||
|
||||
%define skip_python2 1
|
||||
Name: python-sqlite3-to-mysql
|
||||
Version: 1.3.11
|
||||
Release: 0
|
||||
Summary: A simple Python tool to transfer data from SQLite 3 to MySQL
|
||||
License: MIT
|
||||
URL: https://github.com/techouse/sqlite3-to-mysql
|
||||
Source: https://files.pythonhosted.org/packages/source/s/sqlite3-to-mysql/sqlite3-to-mysql-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: docker
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python3-docker
|
||||
BuildRequires: python3-SQLAlchemy
|
||||
BuildRequires: python3-SQLAlchemy-Utils
|
||||
BuildRequires: python3-factory_boy
|
||||
BuildRequires: python3-pytest-timeout
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module click >= 7.0}
|
||||
BuildRequires: %{python_module mysql-connector-python >= 8.0.18}
|
||||
BuildRequires: %{python_module packaging >= 20.3}
|
||||
BuildRequires: %{python_module pytimeparse >= 1.1.8}
|
||||
BuildRequires: %{python_module simplejson >= 3.16.0}
|
||||
BuildRequires: %{python_module six >= 1.12.0}
|
||||
BuildRequires: %{python_module tabulate}
|
||||
BuildRequires: %{python_module tqdm >= 4.35.0}
|
||||
BuildRequires: %{python_module coverage}
|
||||
BuildRequires: %{python_module flake8}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module ddt}
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
BuildRequires: %{python_module sphinxcontrib-programoutput}
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
Requires: python-click >= 7.0
|
||||
Requires: python-mysql-connector-python >= 8.0.18
|
||||
Requires: python-packaging >= 20.3
|
||||
Requires: python-pytimeparse >= 1.1.8
|
||||
Requires: python-simplejson >= 3.16.0
|
||||
Requires: python-six >= 1.12.0
|
||||
Requires: python-tabulate
|
||||
Requires: python-tqdm >= 4.35.0
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
A simple Python tool to transfer data from SQLite 3 to MySQL
|
||||
|
||||
%prep
|
||||
%setup -q -n sqlite3-to-mysql-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/sqlite3mysql
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
|
||||
%post
|
||||
%python_install_alternative sqlite3mysql
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative sqlite3mysql
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%python_alternative %{_bindir}/sqlite3mysql
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
3
sqlite3-to-mysql-1.3.11.tar.gz
Normal file
3
sqlite3-to-mysql-1.3.11.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1ac7c68667f19750af8c162a775ee9d927cb72a97ed355e769df9b7eaf4202c4
|
||||
size 29743
|
Reference in New Issue
Block a user