commit: ae10fd6ee5064974005cb4f1d28a1a4109fda9ce
Author: Gerion Entrup <gerion.entrup <AT> flump <DOT> de>
AuthorDate: Sun Nov 3 12:40:54 2024 +0000
Commit: gerion <gerion.entrup <AT> flump <DOT> de>
CommitDate: Sun Nov 3 13:08:26 2024 +0000
URL: https://gitweb.gentoo.org/repo/user/gerislay.git/commit/?id=ae10fd6e
dev-db/mitzasql: add 1.4.4
Signed-off-by: Gerion Entrup <gerion.entrup <AT> flump.de>
dev-db/mitzasql/Manifest | 4 ++++
dev-db/mitzasql/files/exclude-tests.patch | 11 +++++++++++
dev-db/mitzasql/metadata.xml | 11 +++++++++++
dev-db/mitzasql/mitzasql-1.4.4.ebuild | 30 ++++++++++++++++++++++++++++++
4 files changed, 56 insertions(+)
diff --git a/dev-db/mitzasql/Manifest b/dev-db/mitzasql/Manifest
new file mode 100644
index 0000000..7c7166d
--- /dev/null
+++ b/dev-db/mitzasql/Manifest
@@ -0,0 +1,4 @@
+AUX exclude-tests.patch 294 BLAKE2B
ae1c1b7eb3da2b2b60d6127229c4fbad65a16cf479f19a069786f46e0431fc9be1c9c792f92a0d8f0d651f9dfbb6738e3d336836b34862b87c465abe8ce23154
SHA512
48ea17bd0b13765892d6c12d4c2ac956233677bc7585529a01fb564a776dc8e1e92fd83e0d101720c3d19e9f3140b4eacc3a00f672f8de20cdfa5e5189c36b9e
+DIST mitzasql-1.4.4.gh.tar.gz 3347159 BLAKE2B
b72bb1836c31939c0d295136dec183ed13858caba95dfa54167f783fd66167d0610e14c06f271603e9cdc35629dde78c5370ccc2b6001c91e8b1c4d48be95733
SHA512
d1248f6c167a43eb6ad422e8a044b1241e191e2911c4e250762a03cdff680c825bdae2ade5750c6a984499b4281741c922d194d6f0a489fb3a74fbb0d8e24a16
+EBUILD mitzasql-1.4.4.ebuild 878 BLAKE2B
1e8933919e9f37c9d67f441fffd8f3e388fcde51982d8a65b286658ad0081af78b258da9a9245844ccc6f383791dc37e71c0b1eecfa1da2ae32a31ae07e22944
SHA512
eb5f1b9d1ab9d179df2031a9193c6fe05a8b0e5fab47789fcd0cab99e656286d61d406b19a88fdb2415a08cd633b9bae3e0c97fd2196f313a57308d8d6978306
+MISC metadata.xml 336 BLAKE2B
389bafc903ac0eaeb194253f7598e79606f7c5b631c242be5a8b47a2bd903693a39fe8757cc333d1cd11009b24ad4180589093468b760d0a184e5a84398989b8
SHA512
bf6c3d76b0855dd47d2d02b44e76381716c3a1b357c880267c860d55b5e2383fa99a8755e8cb96f5cb33c6995f4d06a07cd4aa215846a442dab71b48f67c03f2
diff --git a/dev-db/mitzasql/files/exclude-tests.patch
b/dev-db/mitzasql/files/exclude-tests.patch
new file mode 100644
index 0000000..b1f8bc4
--- /dev/null
+++ b/dev-db/mitzasql/files/exclude-tests.patch
@@ -0,0 +1,11 @@
+diff --git a/setup.py b/setup.py
+index 5823afc..fba70a3 100644
+--- a/setup.py
++++ b/setup.py
+@@ -58,5 +58,6 @@ setuptools.setup(
+ extras_require={
+ 'clipboard': ['pyperclip ==1.8.1']
+ },
++ excluded_test_packages=["test"],
+ scripts=['bin/mitzasql']
+ )
diff --git a/dev-db/mitzasql/metadata.xml b/dev-db/mitzasql/metadata.xml
new file mode 100644
index 0000000..70c3fce
--- /dev/null
+++ b/dev-db/mitzasql/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>[email protected]</email>
+ <name>Gerion Entrup</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">vladbalmos/mitzasql</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-db/mitzasql/mitzasql-1.4.4.ebuild
b/dev-db/mitzasql/mitzasql-1.4.4.ebuild
new file mode 100644
index 0000000..57891d8
--- /dev/null
+++ b/dev-db/mitzasql/mitzasql-1.4.4.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DESCRIPTION="MySQL command line / text based interface client"
+HOMEPAGE="vladbalmos.github.io/mitzasql/"
+SRC_URI="https://github.com/vladbalmos/mitzasql/archive/refs/tags/${PV}.tar.gz
-> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/urwid[${PYTHON_USEDEP}]
+ dev-python/mysql-connector-python[${PYTHON_USEDEP}]
+ dev-python/appdirs[${PYTHON_USEDEP}]
+ dev-python/pygments[${PYTHON_USEDEP}]
+"
+
+src_prepare() {
+ # tests are going to be installed normally. This should be a bug
upstream.
+ # We "fix" it by removing tests all together. TODO: fix setup.py
properly.
+ rm -r "${S}/tests" || die "Tests could not removed"
+ distutils-r1_python_prepare_all
+}