/[gentoo-x86]/sci-libs/Fiona/Fiona-9999.ebuild
Gentoo

Contents of /sci-libs/Fiona/Fiona-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Jul 6 12:55:45 2014 UTC (5 years, 11 months ago) by mgorny
Branch: MAIN
Changes since 1.1: +3 -5 lines
Clean up obsolete dependencies on virtual/python-argparse and virtual/python-unittest2 (those packages were only required for <=python-2.6).

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/Fiona/Fiona-9999.ebuild,v 1.1 2014/03/03 07:15:54 slis Exp $
4
5 EAPI="5"
6 PYTHON_COMPAT=( python{2_6,2_7,3_3} )
7
8 inherit distutils-r1
9
10 DESCRIPTION="Fiona is OGR's neat, nimble, no-nonsense API"
11 HOMEPAGE="https://pypi.python.org/pypi/Fiona"
12
13 if [[ ${PV} == "9999" ]] ; then
14 inherit git-r3
15 SRC_URI=""
16 EGIT_REPO_URI="http://github.com/Toblerity/${PN}.git"
17 else
18 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
19 KEYWORDS="~amd64 ~x86"
20 fi
21
22 LICENSE="BSD"
23 SLOT="0"
24 IUSE="test"
25
26 RDEPEND=">=sci-libs/gdal-1.8"
27 DEPEND="${RDEPEND}
28 dev-python/setuptools[${PYTHON_USEDEP}]
29 dev-python/six[${PYTHON_USEDEP}]
30 test? ( dev-python/nose )
31 test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
32
33 python_test() {
34 esetup.py test
35 }

  ViewVC Help
Powered by ViewVC 1.1.20