summaryrefslogtreecommitdiff
path: root/dev-python/python-consul
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/python-consul')
-rw-r--r--dev-python/python-consul/Manifest3
-rw-r--r--dev-python/python-consul/metadata.xml11
-rw-r--r--dev-python/python-consul/python-consul-1.1.0.ebuild32
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/python-consul/Manifest b/dev-python/python-consul/Manifest
new file mode 100644
index 000000000000..61cf166e851f
--- /dev/null
+++ b/dev-python/python-consul/Manifest
@@ -0,0 +1,3 @@
+DIST python-consul-1.1.0.tar.gz 27548878 BLAKE2B d048419b1e1a29dbc56b0b24aa4da011c80b0a9aa5b46cf6e0dc6c7156e7a53a51c9f58ce1dac942236c7a16aec6c6c5f52d214eb52f3d87762fff4fae162a8d SHA512 502baea07753efcf4012e2a337acaae78be60c2ac7a36d3ad50054259db71ff6297acf76314659d2c3cf9b1ff3a2d609244f07c0640b51623a76f8244880b890
+EBUILD python-consul-1.1.0.ebuild 814 BLAKE2B d73f3afde02b727c992af3c31d44922da439abe15577b8fb61a847b6821b3dcaad8d2fb5c66a544ae4b4501dc900c7644103e5c3dd291408ee849319887c9eac SHA512 c00a759c9af7915a79f0f05e1eafa8965cf1eac9e6a95f2a1945ba259142caa468c44fa1215a54611d96b0c500cb3c447382ac8e8a55e4c72574e1564e5dac47
+MISC metadata.xml 343 BLAKE2B e43ff67db4013c7476521ae4d82f31bf39620bc87cf8edac7a3dd6915eb360125499adabbd7a077ea21344e9661f5544d446fac6a39085a974a17311496a9930 SHA512 4b7eb7240f9d504990d9783a7b08f5a555f52d2cb32173989eb483fbdd8c4d0fb0c727aa6e18d56b354007d8b8c12266b3e0412efa6fb2d3228c87e91364202a
diff --git a/dev-python/python-consul/metadata.xml b/dev-python/python-consul/metadata.xml
new file mode 100644
index 000000000000..42bd80dcbaea
--- /dev/null
+++ b/dev-python/python-consul/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mrueg@gentoo.org</email>
+ <name>Manuel RĂ¼ger</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">cablehead/python-consul</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/python-consul/python-consul-1.1.0.ebuild b/dev-python/python-consul/python-consul-1.1.0.ebuild
new file mode 100644
index 000000000000..414d22a70c4d
--- /dev/null
+++ b/dev-python/python-consul/python-consul-1.1.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_5 python3_6 )
+inherit distutils-r1
+
+DESCRIPTION="Python client for Consul"
+HOMEPAGE="https://github.com/cablehead/python-consul/"
+SRC_URI="https://github.com/cablehead/python-consul/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.0[${PYTHON_USEDEP}]
+ >=dev-python/six-1.4[${PYTHON_USEDEP}]
+ dev-python/twisted[${PYTHON_USEDEP}]
+ >=dev-python/treq-16[${PYTHON_USEDEP}]
+ www-servers/tornado[${PYTHON_USEDEP}]"
+DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}]
+ ${RDEPEND} )"
+
+# needs pytest-twisted
+RESTRICT="test"
+
+python_test() {
+ py.test -v || die
+}