From: W. Trevor King Date: Tue, 30 Sep 2014 18:02:45 +0000 (-0700) Subject: dev-python/derpconf: Add this thumbor dependency X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=69a9490c0accbdbdec683a2cb0a53cca0e5160e9;p=wtk-overlay.git dev-python/derpconf: Add this thumbor dependency 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 --- 69a9490c0accbdbdec683a2cb0a53cca0e5160e9 diff --git a/derpconf-9999.ebuild b/derpconf-9999.ebuild new file mode 100644 index 0000000..12f36ad --- /dev/null +++ b/derpconf-9999.ebuild @@ -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 +}