/[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.1 - (hide annotations) (download)
Mon Mar 3 07:15:54 2014 UTC (6 years, 3 months ago) by slis
Branch: MAIN
Added Fiona package

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x55265D89)

1 slis 1.1 # Copyright 1999-2014 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
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     virtual/python-argparse[${PYTHON_USEDEP}]
31     test? ( dev-python/nose )
32     test? ( dev-python/pytest[${PYTHON_USEDEP}] )
33     test? ( virtual/python-unittest2[${PYTHON_USEDEP}] )"
34    
35     python_test() {
36     esetup.py test
37     }

  ViewVC Help
Powered by ViewVC 1.1.20