forked from pool/python-sqlite3-to-mysql
Accepting request 1288954 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1288954 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sqlite3-to-mysql?expand=0&rev=7
This commit is contained in:
2
_service
2
_service
@@ -2,7 +2,7 @@
|
|||||||
<service mode="manual" name="obs_scm">
|
<service mode="manual" name="obs_scm">
|
||||||
<param name="url">https://github.com/techouse/sqlite3-to-mysql.git</param>
|
<param name="url">https://github.com/techouse/sqlite3-to-mysql.git</param>
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="revision">v2.1.7</param>
|
<param name="revision">v2.4.0</param>
|
||||||
<param name="versionformat">@PARENT_TAG@</param>
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
<param name="versionrewrite-pattern">v(.*)</param>
|
<param name="versionrewrite-pattern">v(.*)</param>
|
||||||
</service>
|
</service>
|
||||||
|
@@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jun 28 12:00:45 UTC 2025 - Enno Gotthold <egotthold@suse.com>
|
||||||
|
|
||||||
|
- Support libalternatives for 16.0 and newer
|
||||||
|
- Update to 2.4.0
|
||||||
|
* add conversion of SQLite custom BOOL data type to MySQL TINYINT(1)
|
||||||
|
* add --mysql-skip-create-tables and --mysql-skip-transfer-data options
|
||||||
|
* fix default parameter parsing
|
||||||
|
* add MySQL 8.4 and MariaDB 11.4 support
|
||||||
|
* fix conversion of SQLite NUMERIC data type with precision and scale to
|
||||||
|
MySQL DECIMAL with precision and scale
|
||||||
|
* fix --mysql-insert-method
|
||||||
|
* modify the existing check_mysql_json_support and check_mysql_fulltext_support
|
||||||
|
to improve detection of MariaDB versions
|
||||||
|
* fix connecting with empty MySQL password
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 29 11:42:15 UTC 2024 - pgajdos@suse.com
|
Mon Jan 29 11:42:15 UTC 2024 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-sqlite3-to-mysql
|
# spec file for package python-sqlite3-to-mysql
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,35 +18,50 @@
|
|||||||
|
|
||||||
%define short_name sqlite3-to-mysql
|
%define short_name sqlite3-to-mysql
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: python-sqlite3-to-mysql
|
Name: python-sqlite3-to-mysql
|
||||||
Version: 2.1.7
|
Version: 2.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A Python tool to transfer data from SQLite 3 to MySQL
|
Summary: A Python tool to transfer data from SQLite 3 to MySQL
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/techouse/sqlite3-to-mysql
|
URL: https://github.com/techouse/sqlite3-to-mysql
|
||||||
Source: %{short_name}-%{version}.tar.gz
|
Source: %{short_name}-%{version}.tar.gz
|
||||||
|
# libalternative
|
||||||
|
%if %{with libalternatives}
|
||||||
|
Requires: alts
|
||||||
|
BuildRequires: alts
|
||||||
|
%else
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
|
%endif
|
||||||
|
# Package Requirements
|
||||||
BuildRequires: %{python_module SQLAlchemy-Utils}
|
BuildRequires: %{python_module SQLAlchemy-Utils}
|
||||||
BuildRequires: %{python_module SQLAlchemy}
|
BuildRequires: %{python_module SQLAlchemy}
|
||||||
BuildRequires: %{python_module docker}
|
BuildRequires: %{python_module docker}
|
||||||
BuildRequires: %{python_module factory_boy}
|
BuildRequires: %{python_module factory_boy}
|
||||||
BuildRequires: %{python_module hatchling}
|
BuildRequires: %{python_module hatchling}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest-timeout}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: docker
|
BuildRequires: docker
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: libmariadb-devel
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-Unidecode >= 1.3.6
|
Requires: python-Unidecode >= 1.3.6
|
||||||
Requires: python-click >= 8.1.3
|
Requires: python-click >= 8.1.3
|
||||||
Requires: python-mysql-connector-python >= 8.2.0
|
Requires: python-mysql-connector-python >= 9.0.0
|
||||||
Requires: python-packaging
|
Requires: python-packaging
|
||||||
|
Requires: python-python-dateutil
|
||||||
Requires: python-pytimeparse2
|
Requires: python-pytimeparse2
|
||||||
Requires: python-simplejson >= 3.19.1
|
Requires: python-simplejson >= 3.19.1
|
||||||
Requires: python-tabulate
|
Requires: python-tabulate
|
||||||
Requires: python-tqdm >= 4.65.0
|
Requires: python-tqdm >= 4.65.0
|
||||||
|
Requires: python-types-python-dateutil
|
||||||
Requires: python-typing_extensions
|
Requires: python-typing_extensions
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(postun): update-alternatives
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module Sphinx}
|
BuildRequires: %{python_module Sphinx}
|
||||||
@@ -54,9 +69,12 @@ BuildRequires: %{python_module click >= 7.0}
|
|||||||
BuildRequires: %{python_module coverage}
|
BuildRequires: %{python_module coverage}
|
||||||
BuildRequires: %{python_module ddt}
|
BuildRequires: %{python_module ddt}
|
||||||
BuildRequires: %{python_module flake8}
|
BuildRequires: %{python_module flake8}
|
||||||
BuildRequires: %{python_module mysql-connector-python >= 8.0.18}
|
BuildRequires: %{python_module mysql-connector-python >= 9.0.0}
|
||||||
BuildRequires: %{python_module packaging >= 20.3}
|
BuildRequires: %{python_module packaging >= 20.3}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest >= 7.3.1}
|
||||||
|
BuildRequires: %{python_module pytest-cov}
|
||||||
|
BuildRequires: %{python_module pytest-mock}
|
||||||
|
BuildRequires: %{python_module pytest-timeout}
|
||||||
BuildRequires: %{python_module pytimeparse >= 1.1.8}
|
BuildRequires: %{python_module pytimeparse >= 1.1.8}
|
||||||
BuildRequires: %{python_module simplejson >= 3.16.0}
|
BuildRequires: %{python_module simplejson >= 3.16.0}
|
||||||
BuildRequires: %{python_module sphinxcontrib-programoutput}
|
BuildRequires: %{python_module sphinxcontrib-programoutput}
|
||||||
@@ -79,6 +97,13 @@ A Python tool to transfer data from SQLite 3 to MySQL
|
|||||||
%python_clone -a %{buildroot}%{_bindir}/sqlite3mysql
|
%python_clone -a %{buildroot}%{_bindir}/sqlite3mysql
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
# We cannot execute the tests here due to python-mysql-connector-python missing
|
||||||
|
# the C-extension.
|
||||||
|
|
||||||
|
%pre
|
||||||
|
# removing old update-alternatives entries
|
||||||
|
%python_libalternatives_reset_alternative sqlite3mysql
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative sqlite3mysql
|
%python_install_alternative sqlite3mysql
|
||||||
|
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e1a35f87ff486353f0d337dcdc799b44b607a25eee78c54d463e587bc511afd8
|
|
||||||
size 207371
|
|
3
sqlite3-to-mysql-2.4.0.obscpio
Normal file
3
sqlite3-to-mysql-2.4.0.obscpio
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c1c197b7a0284a60cdf0ccb7402b1d0adbe75de7459a68a711ad4df0f5204c79
|
||||||
|
size 240139
|
@@ -1,4 +1,4 @@
|
|||||||
name: sqlite3-to-mysql
|
name: sqlite3-to-mysql
|
||||||
version: 2.1.7
|
version: 2.4.0
|
||||||
mtime: 1705180042
|
mtime: 1743058172
|
||||||
commit: 06ef89e5bc7592486759266523d9ebb78da52679
|
commit: 8905a9572c8c20dbc07b1390a506eb6fb1083540
|
||||||
|
Reference in New Issue
Block a user