- does not require python-six for build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mysql-to-sqlite3?expand=0&rev=7
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
|
16
_service
Normal file
16
_service
Normal file
@@ -0,0 +1,16 @@
|
||||
<services>
|
||||
<service mode="manual" name="obs_scm">
|
||||
<param name="url">https://github.com/techouse/mysql-to-sqlite3.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="revision">v2.1.6</param>
|
||||
<param name="versionformat">v2.1.6</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
</service>
|
||||
<service mode="manual" name="set_version"/>
|
||||
<service mode="buildtime" name="tar"/>
|
||||
<service mode="buildtime" name="recompress">
|
||||
<param name="compression">gz</param>
|
||||
<param name="file">*.tar</param>
|
||||
</service>
|
||||
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@@ -0,0 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/techouse/mysql-to-sqlite3.git</param>
|
||||
<param name="changesrevision">a4c15807b4014cd75203fa93d5319b1d032269e0</param></service></servicedata>
|
3
mysql-to-sqlite3-2.1.6.obscpio
Normal file
3
mysql-to-sqlite3-2.1.6.obscpio
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0b71b85f2fc8d264ab010d46ffde860a478f238e57083219d80e8313a102ab36
|
||||
size 222731
|
4
mysql-to-sqlite3.obsinfo
Normal file
4
mysql-to-sqlite3.obsinfo
Normal file
@@ -0,0 +1,4 @@
|
||||
name: mysql-to-sqlite3
|
||||
version: 2.1.6
|
||||
mtime: 1702207839
|
||||
commit: a4c15807b4014cd75203fa93d5319b1d032269e0
|
36
python-mysql-to-sqlite3.changes
Normal file
36
python-mysql-to-sqlite3.changes
Normal file
@@ -0,0 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 29 09:04:05 UTC 2024 - pgajdos@suse.com
|
||||
|
||||
- does not require python-six for build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 29 15:08:13 UTC 2023 - egotthold@suse.com
|
||||
|
||||
- Update to version v2.1.6:
|
||||
* [FIX] fix invalid column_type error message
|
||||
* [CHORE] publish first containerized release
|
||||
* [FIX] throw more comprehensive error messages when translating column types
|
||||
* [CHORE] add support for Python 3.12
|
||||
* [CHORE] bump minimum version of MySQL Connector/Python to 8.2.0
|
||||
* [CHORE] drop support for Python 3.7
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 22 08:23:34 UTC 2021 - Enno Gotthold <egotthold@suse.com>
|
||||
|
||||
- Use python-click instead of non existent python-Click as a requirement
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 21 18:05:12 UTC 2021 - Enno Gotthold <egotthold@suse.com>
|
||||
|
||||
- Update to version 1.4.3
|
||||
- Use obscpio instead of .tar.gz
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 4 12:34:51 UTC 2021 - Enno Gotthold <egotthold@suse.com>
|
||||
|
||||
- Update to version 1.3.6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 1 19:14:43 UTC 2020 - Enno Gotthold <egotthold@suse.com>
|
||||
|
||||
- Initial packaging of the tool (1.3.5)
|
88
python-mysql-to-sqlite3.spec
Normal file
88
python-mysql-to-sqlite3.spec
Normal file
@@ -0,0 +1,88 @@
|
||||
#
|
||||
# spec file for package python-mysql-to-sqlite3
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%define short_name mysql-to-sqlite3
|
||||
%define skip_python2 1
|
||||
Name: python-mysql-to-sqlite3
|
||||
Version: 2.1.6
|
||||
Release: 0
|
||||
Summary: A simple Python tool to transfer data from MySQL to SQLite 3
|
||||
License: MIT
|
||||
URL: https://github.com/techouse/mysql-to-sqlite3
|
||||
Source: %{short_name}-%{version}.tar.gz
|
||||
BuildRequires: %{python_module hatchling}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: docker
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-SQLAlchemy
|
||||
BuildRequires: python3-SQLAlchemy-Utils
|
||||
BuildRequires: python3-docker
|
||||
BuildRequires: python3-factory_boy
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module click >= 8.1.3}
|
||||
BuildRequires: %{python_module mysql-connector-python >= 8.2.0}
|
||||
BuildRequires: %{python_module python-slugify >= 7.0.0}
|
||||
BuildRequires: %{python_module pytimeparse >= 1.1.8}
|
||||
BuildRequires: %{python_module simplejson >= 3.19.0}
|
||||
BuildRequires: %{python_module tabulate}
|
||||
BuildRequires: %{python_module tqdm >= 4.35.0}
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
Requires: python-click >= 8.1.3
|
||||
Requires: python-mysql-connector-python >= 8.2.0
|
||||
Requires: python-python-slugify >= 7.0.0
|
||||
Requires: python-pytimeparse2
|
||||
Requires: python-simplejson >= 3.19.0
|
||||
Requires: python-tabulate
|
||||
Requires: python-tqdm >= 4.65.0
|
||||
Requires: python-typing_extensions
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
A simple Python tool to transfer data from MySQL to SQLite 3
|
||||
|
||||
%prep
|
||||
%setup -q -n mysql-to-sqlite3-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/mysql2sqlite
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%post
|
||||
%python_install_alternative mysql2sqlite
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative mysql2sqlite
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%python_alternative %{_bindir}/mysql2sqlite
|
||||
%{python_sitelib}/mysql_to_sqlite3
|
||||
%{python_sitelib}/mysql_to_sqlite3-%{version}*-info
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user