summaryrefslogtreecommitdiff
path: root/sci-geosciences/tilecache/tilecache-2.11-r1.ebuild
blob: f52323268ed3d5140ef6e3b34b3f646c529fa816 (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
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5
PYTHON_COMPAT=( python2_7 )

inherit distutils-r1

DESCRIPTION="Web map tile caching system"
HOMEPAGE="http://tilecache.org/"
SRC_URI="http://${PN}.org/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="dev-python/pillow
	dev-python/paste"
DEPEND="${RDEPEND}
	dev-python/setuptools
"

PATCHES=( "${FILESDIR}/tilecache-2.11-pil.patch" )

src_install() {
	distutils-r1_src_install "--debian"
}

python_test() {
	python setup.py test || die "Failed tests"
}