blob: 28f3095c64d8431d179a84d6daac5fb711a471ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/werkzeug/werkzeug-0.3.1-r1.ebuild,v 1.1 2008/08/04 12:02:26 hoffie Exp $
NEED_PYTHON="2.4"
inherit distutils
MY_P="Werkzeug-${PV}"
DESCRIPTION="Collection of various utilities for WSGI applications"
HOMEPAGE="http://werkzeug.pocoo.org/"
SRC_URI="http://pypi.python.org/packages/source/W/Werkzeug/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND=""
DEPEND=">=dev-python/setuptools-0.6_rc5
test? ( dev-python/py
dev-python/lxml
dev-python/simplejson )"
S="${WORKDIR}/${MY_P}"
src_install() {
DOCS="CHANGES"
distutils_src_install
# Rearraning the docs
rm -rf "${D}/usr/docs"
dodoc docs/src/*
dohtml docs/html/*
}
src_test() {
distutils_python_version
# path gets set correctly in conftest.py
cd tests
py.test || die "tests failed"
}
|