dev-db/pgcli: new package.
authorGabriel Linder <linder.gabriel@gmail.com>
Fri, 15 Mar 2019 20:31:52 +0000 (21:31 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Tue, 9 Apr 2019 12:52:20 +0000 (14:52 +0200)
Pgcli is an enhanced command line interface for Postgres, with
auto-completion and syntax highlighting.

Signed-off-by: Gabriel Linder <linder.gabriel@gmail.com>
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Closes: https://github.com/gentoo/gentoo/pull/11378
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
dev-db/pgcli/Manifest [new file with mode: 0644]
dev-db/pgcli/metadata.xml [new file with mode: 0644]
dev-db/pgcli/pgcli-2.0.2.ebuild [new file with mode: 0644]
dev-python/pgspecial/Manifest [new file with mode: 0644]
dev-python/pgspecial/metadata.xml [new file with mode: 0644]
dev-python/pgspecial/pgspecial-1.11.5.ebuild [new file with mode: 0644]

diff --git a/dev-db/pgcli/Manifest b/dev-db/pgcli/Manifest
new file mode 100644 (file)
index 0000000..2e35d37
--- /dev/null
@@ -0,0 +1 @@
+DIST pgcli-2.0.2.tar.gz 432325 BLAKE2B 5cbe2be05910d9bfa64e7ac908d636a39ed11f994e0e81cd06afce97510e02be335837b2587653df716beee0d30076f07489ac8e4fb05fbc579bceee8636a470 SHA512 5681effcb36101ce408f7c4dcc881984686d63a6e593bd4f5c2bb3b2d870362c787094895ece027a3ba27d3a4524498b27082da0f25b1b77f23e54b2df6c0501
diff --git a/dev-db/pgcli/metadata.xml b/dev-db/pgcli/metadata.xml
new file mode 100644 (file)
index 0000000..6f3a86a
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>linder.gabriel@gmail.com</email>
+    <name>Gabriel Linder</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>proxy-maint@gentoo.org</email>
+    <name>Proxy Maintainers</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">dbcli/pgcli</remote-id>
+  </upstream>
+</pkgmetadata>
diff --git a/dev-db/pgcli/pgcli-2.0.2.ebuild b/dev-db/pgcli/pgcli-2.0.2.ebuild
new file mode 100644 (file)
index 0000000..e8b5fda
--- /dev/null
@@ -0,0 +1,33 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+inherit distutils-r1
+
+DESCRIPTION="CLI for Postgres with auto-completion and syntax highlighting"
+HOMEPAGE="https://www.pgcli.com https://github.com/dbcli/pgcli"
+SRC_URI="https://github.com/dbcli/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+       <dev-python/prompt_toolkit-2.1.0[${PYTHON_USEDEP}]
+       <dev-python/psycopg-2.8[${PYTHON_USEDEP}]
+       <dev-python/python-sqlparse-0.3.0[${PYTHON_USEDEP}]
+       >=dev-python/cli_helpers-1.0.1[${PYTHON_USEDEP}]
+       >=dev-python/click-4.1[${PYTHON_USEDEP}]
+       >=dev-python/configobj-5.0.6[${PYTHON_USEDEP}]
+       >=dev-python/humanize-0.5.1[${PYTHON_USEDEP}]
+       >=dev-python/keyring-12.2.0[${PYTHON_USEDEP}]
+       >=dev-python/pgspecial-1.11.5[${PYTHON_USEDEP}]
+       >=dev-python/prompt_toolkit-2.0.6[${PYTHON_USEDEP}]
+       >=dev-python/psycopg-2.7.4[${PYTHON_USEDEP}]
+       >=dev-python/pygments-2.0[${PYTHON_USEDEP}]
+       >=dev-python/python-sqlparse-0.2.2[${PYTHON_USEDEP}]
+       >=dev-python/setproctitle-1.1.9[${PYTHON_USEDEP}]
+       dev-python/setuptools[${PYTHON_USEDEP}]
+"
diff --git a/dev-python/pgspecial/Manifest b/dev-python/pgspecial/Manifest
new file mode 100644 (file)
index 0000000..db2a65c
--- /dev/null
@@ -0,0 +1 @@
+DIST pgspecial-1.11.5.tar.gz 43649 BLAKE2B f9b8956cfcd81bba946e0323d584668c82e6fc18a0aa08012c3236636d0ad801f10f786b71707daadafc1274d5733adecf9233871b13bded8fe8e8f41fad0fc9 SHA512 984a09a10a705d91d9b97142eb2502b44b2a79d95cc1ed8596dd2f7f31515028f4c34cc54383d762a73fdefd6e59418f677b020181740b82cebb5d8e77bbc234
diff --git a/dev-python/pgspecial/metadata.xml b/dev-python/pgspecial/metadata.xml
new file mode 100644 (file)
index 0000000..97b02e3
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>linder.gabriel@gmail.com</email>
+    <name>Gabriel Linder</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>proxy-maint@gentoo.org</email>
+    <name>Proxy Maintainers</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">dbcli/pgspecial</remote-id>
+  </upstream>
+</pkgmetadata>
diff --git a/dev-python/pgspecial/pgspecial-1.11.5.ebuild b/dev-python/pgspecial/pgspecial-1.11.5.ebuild
new file mode 100644 (file)
index 0000000..e147eea
--- /dev/null
@@ -0,0 +1,21 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+inherit distutils-r1
+
+DESCRIPTION="Python implementation of postgres meta commands"
+HOMEPAGE="https://github.com/dbcli/pgspecial"
+SRC_URI="https://github.com/dbcli/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+       >=dev-python/click-4.1[${PYTHON_USEDEP}]
+       >=dev-python/python-sqlparse-0.1.19[${PYTHON_USEDEP}]
+       dev-python/setuptools[${PYTHON_USEDEP}]
+"