diff options
author | kballou <kballou@devnulllabs.io> | 2016-08-23 15:24:43 -0600 |
---|---|---|
committer | kballou <kballou@devnulllabs.io> | 2016-08-24 14:06:45 -0600 |
commit | d23822c5bcd8ce96ee03684590cf2ae9cb9c0025 (patch) | |
tree | 1ca2925e0b070cb1c5017f60c22a2fa474593571 /dev-python/pygoenv/pygoenv-1.7.0.ebuild | |
parent | fe4b75e4ae71eefe59165311e98c1621dfff3c70 (diff) | |
download | pygoenv-d23822c5bcd8ce96ee03684590cf2ae9cb9c0025.tar.gz pygoenv-d23822c5bcd8ce96ee03684590cf2ae9cb9c0025.tar.xz |
Diffstat (limited to 'dev-python/pygoenv/pygoenv-1.7.0.ebuild')
-rw-r--r-- | dev-python/pygoenv/pygoenv-1.7.0.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/pygoenv/pygoenv-1.7.0.ebuild b/dev-python/pygoenv/pygoenv-1.7.0.ebuild new file mode 100644 index 0000000..50549be --- /dev/null +++ b/dev-python/pygoenv/pygoenv-1.7.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 2016 Kenny Ballou +# Distributed under the terms of the GNU General Public License v3 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=(python2_7) + +inherit distutils-r1 + +MY_P=${PN}_${PV} + +DESCRIPTION="Simple environment manager for the Go programming language" +HOMEPAGE="https://github.com/pwoolcoc/goenv" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="test" + +RDEPEND="dev-python/requests[${PYTHON_USEDEP}] + dev-python/docopt[${PYTHON_USEDEP}] + dev-python/clint[${PYTHON_USEDEP}] + test? ( dev-python/nose[${PYTHON_USEDEP}] )" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +src_prepare() { + pushd "${S}" + mv tests goenv/. + popd + distutils-r1_python_prepare_all +} + +python_test() { + nosetests || die +} |