forked from pool/python-mycli
Accepting request 1010608 from home:glaubitz:branches:devel:languages:python
- Initial build + Version 1.26.1 OBS-URL: https://build.opensuse.org/request/show/1010608 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mycli?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
|
||||
3
mycli-1.26.1.tar.gz
Normal file
3
mycli-1.26.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8c03035c9b4526dbfa0b0859654e2974a0e77592a9e9b27f40f5a8daae83beb1
|
||||
size 277434
|
||||
5
python-mycli.changes
Normal file
5
python-mycli.changes
Normal file
@@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 09:44:00 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Initial build
|
||||
+ Version 1.26.1
|
||||
90
python-mycli.spec
Normal file
90
python-mycli.spec
Normal file
@@ -0,0 +1,90 @@
|
||||
#
|
||||
# spec file for package python-mycli
|
||||
#
|
||||
# Copyright (c) 2022 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/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-mycli
|
||||
Version: 1.26.1
|
||||
Release: 0
|
||||
Summary: CLI for MySQL Database. With auto-completion and syntax highlighting
|
||||
License: BSD-3-Clause
|
||||
URL: http://mycli.net
|
||||
Source: https://files.pythonhosted.org/packages/source/m/mycli/mycli-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module setuptools}
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module cli-helpers >= 2.2.1}
|
||||
BuildRequires: %{python_module click >= 7.0}
|
||||
BuildRequires: %{python_module configobj >= 5.0.5}
|
||||
BuildRequires: %{python_module cryptography >= 36.0.2}
|
||||
BuildRequires: %{python_module importlib_resources >= 5.0.0}
|
||||
BuildRequires: %{python_module prompt_toolkit >= 3.0.6}
|
||||
BuildRequires: %{python_module pyaes >= 1.6.1}
|
||||
BuildRequires: %{python_module Pygments >= 1.6}
|
||||
BuildRequires: %{python_module PyMySQL >= 0.9.2}
|
||||
BuildRequires: %{python_module pyperclip >= 1.8.1}
|
||||
BuildRequires: %{python_module sqlglot >= 5.1.3}
|
||||
BuildRequires: %{python_module sqlparse >= 0.3.0}
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
Requires: python-cli-helpers >= 2.2.1
|
||||
Requires: python-click >= 7.0
|
||||
Requires: python-configobj >= 5.0.5
|
||||
Requires: python-cryptography >= 36.0.2
|
||||
Requires: python-importlib_resources >= 5.0.0
|
||||
Requires: python-prompt_toolkit >= 3.0.6
|
||||
Requires: python-pyaes >= 1.6.1
|
||||
Requires: python-Pygments >= 1.6
|
||||
Requires: python-PyMySQL >= 0.9.2
|
||||
Requires: python-pyperclip >= 1.8.1
|
||||
Requires: python-sqlglot >= 5.1.3
|
||||
Requires: python-sqlparse >= 0.3.0
|
||||
Suggests: python-paramiko
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
CLI for MySQL Database. With auto-completion and syntax highlighting.
|
||||
|
||||
%prep
|
||||
%setup -q -n mycli-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/mycli
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
# Testsuite currently fails
|
||||
#%%check
|
||||
#%%pyunittest discover -v
|
||||
|
||||
%post
|
||||
%python_install_alternative mycli
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative mycli
|
||||
|
||||
%files %{python_files}
|
||||
%doc AUTHORS.rst README.md changelog.md
|
||||
%license LICENSE.txt
|
||||
%python_alternative %{_bindir}/mycli
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user