summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJouni Kosonen <jouni.kosonen@tukesoft.com>2016-06-05 15:17:06 +0300
committerMichał Górny <mgorny@gentoo.org>2016-06-08 09:08:02 +0200
commit2b1d931e6146c440cf3eebd77c77c13bd4538078 (patch)
treefe157806a5bb47ab92e4a0767cbedf874f98c88a /dev-db/mycli/mycli-1.7.1.ebuild
parentdev-python/python-sqlparse: add version 0.1.19 (diff)
downloadgentoo-2b1d931e6146c440cf3eebd77c77c13bd4538078.tar.gz
gentoo-2b1d931e6146c440cf3eebd77c77c13bd4538078.tar.bz2
gentoo-2b1d931e6146c440cf3eebd77c77c13bd4538078.zip
dev-db/mycli: add version 1.7.1
Pull-Request: https://github.com/gentoo/gentoo/pull/1616
Diffstat (limited to 'dev-db/mycli/mycli-1.7.1.ebuild')
-rw-r--r--dev-db/mycli/mycli-1.7.1.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-db/mycli/mycli-1.7.1.ebuild b/dev-db/mycli/mycli-1.7.1.ebuild
new file mode 100644
index 000000000000..bfbd20aa8bb0
--- /dev/null
+++ b/dev-db/mycli/mycli-1.7.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+inherit distutils-r1
+
+DESCRIPTION="CLI for MySQL Database with auto-completion and syntax highlighting"
+
+HOMEPAGE="http://mycli.net"
+SRC_URI="https://github.com/dbcli/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="
+ >=dev-python/click-4.1[${PYTHON_USEDEP}]
+ >=dev-python/configobj-5.0.6[${PYTHON_USEDEP}]
+ >=dev-python/prompt_toolkit-1.0.0[${PYTHON_USEDEP}]
+ >=dev-python/pycrypto-2.6.1[${PYTHON_USEDEP}]
+ >=dev-python/pygments-2.0[${PYTHON_USEDEP}]
+ >=dev-python/pymysql-0.6.6[${PYTHON_USEDEP}]
+ >=dev-python/python-sqlparse-0.1.19[${PYTHON_USEDEP}]
+"
+
+src_prepare() {
+ rm mycli/packages/counter.py || die "Could not remove python 2.6 counter.py"
+ distutils-r1_src_prepare
+}