2013-03-16 01:43:23 +04:00
|
|
|
# Copyright 1999-2013 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2013-07-08 22:59:25 +04:00
|
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-python/manuel/manuel-1.7.1.ebuild,v 1.4 2013/07/08 15:58:31 idella4 Exp $
|
2013-03-16 01:43:23 +04:00
|
|
|
|
|
|
|
EAPI=5
|
2013-07-08 22:59:25 +04:00
|
|
|
PYTHON_COMPAT=( python2_{6,7} python{3_1,3_2,3_3} pypy{1_9,2_0} )
|
2013-03-16 01:43:23 +04:00
|
|
|
|
2013-05-10 18:53:08 +04:00
|
|
|
inherit distutils-r1 eutils
|
2013-03-16 01:43:23 +04:00
|
|
|
|
|
|
|
DESCRIPTION="Manuel lets you build tested documentation."
|
|
|
|
HOMEPAGE="https://github.com/benji-york/manuel/ http://pypi.python.org/pypi/manuel"
|
|
|
|
# A snapshot was required since upstream missed out half the source
|
|
|
|
SRC_URI="http://dev.gentoo.org/~idella4/tarballs/${P}-20130316.tar.bz2"
|
|
|
|
|
|
|
|
LICENSE="ZPL"
|
|
|
|
SLOT="0"
|
2013-03-17 19:32:59 +04:00
|
|
|
KEYWORDS="~amd64 ~x86"
|
2013-07-08 22:59:25 +04:00
|
|
|
IUSE=""
|
2013-03-16 01:43:23 +04:00
|
|
|
|
|
|
|
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
|
|
|
|
DEPEND="${RDEPEND}
|
|
|
|
dev-python/setuptools[${PYTHON_USEDEP}]"
|
2013-07-08 22:59:25 +04:00
|
|
|
# Required to run tests
|
|
|
|
DISTUTILS_IN_SOURCE_BUILD=1
|
2013-03-16 01:43:23 +04:00
|
|
|
|
|
|
|
DOCS=( CHANGES.txt )
|
|
|
|
|
2013-07-08 22:59:25 +04:00
|
|
|
PATCHES=( "${FILESDIR}"/${PN}-1.7-rm_zope_test.patch )
|
2013-03-16 01:43:23 +04:00
|
|
|
|
|
|
|
python_test() {
|
2013-07-08 22:59:25 +04:00
|
|
|
PYTHONPATH=src/ esetup.py test
|
2013-03-16 01:43:23 +04:00
|
|
|
}
|