dev-python/derpconf: Add this thumbor dependency
authorW. Trevor King <wking@tremily.us>
Tue, 30 Sep 2014 18:02:45 +0000 (11:02 -0700)
committerW. Trevor King <wking@tremily.us>
Tue, 30 Sep 2014 20:38:25 +0000 (13:38 -0700)
I've submitted the tornado-pyvows -> pyVows dependency change upstream
[1].  I don't know if the package itself is compatible with Python 3,
but the test suite isn't (because pyVows isn't) so I'm sticking with
2.7 in PYTHON_COMPAT.

[1]: https://github.com/globocom/derpconf/pull/11

derpconf-9999.ebuild [new file with mode: 0644]

diff --git a/derpconf-9999.ebuild b/derpconf-9999.ebuild
new file mode 100644 (file)
index 0000000..12f36ad
--- /dev/null
@@ -0,0 +1,39 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+if [[ "${PV}" == "9999" ]]; then
+       inherit git-2
+       EGIT_REPO_URI="git://github.com/globocom/${PN}.git"
+       SRC_URI=""
+else
+       SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+fi
+
+DESCRIPTION="Abstracts configuration file loading"
+HOMEPAGE="https://github.com/globocom/derpconf https://pypi.python.org/pypi/derpconf"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND=""
+DEPEND="
+       dev-python/six[${PYTHON_USEDEP}]
+       test? (
+               dev-python/gevent[${PYTHON_USEDEP}]
+               dev-python/pyvows[${PYTHON_USEDEP}]
+               dev-python/coverage[${PYTHON_USEDEP}]
+               dev-python/colorama[${PYTHON_USEDEP}]
+               dev-python/tox[${PYTHON_USEDEP}]
+       )"
+
+python_test() {
+       make test
+}