diff options
Diffstat (limited to 'dev-python/hglib/hglib-0.3.ebuild')
-rw-r--r-- | dev-python/hglib/hglib-0.3.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/hglib/hglib-0.3.ebuild b/dev-python/hglib/hglib-0.3.ebuild new file mode 100644 index 000000000000..61c26744a1fa --- /dev/null +++ b/dev-python/hglib/hglib-0.3.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/hglib/hglib-0.3.ebuild,v 1.1 2013/01/22 13:43:20 idella4 Exp $ + +EAPI=5 +PYTHON_COMPAT="python2_7" +PYTHON_USE_WITH="threads" + +MY_P="python-${P}" +MY_PN="python-${PN}" + +inherit distutils-r1 + +DESCRIPTION="Library for using the Mercurial Command Server from Python" +HOMEPAGE="http://mercurial.selenic.com/" +SRC_URI="mirror://pypi/p/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=">=dev-vcs/mercurial-1.9" +DEPEND="test? ( dev-python/nose )" + +S=${WORKDIR}/${MY_P} + +python_test() { + ${PYTHON} test.py +} |