/[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.6 - (show annotations) (download)
Thu Apr 30 15:13:16 2015 UTC (5 years, 1 month ago) by slis
Branch: MAIN
Changes since 1.5: +26 -15 lines
updated live ebuild

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

1 # Copyright 1999-2015 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,3_4} )
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 dev-python/click"
28 DEPEND="${RDEPEND}
29 dev-python/setuptools[${PYTHON_USEDEP}]
30 dev-python/six[${PYTHON_USEDEP}]
31 test? ( dev-python/nose )
32 test? ( dev-python/pytest[${PYTHON_USEDEP}] )
33 ${PYTHON_DEPS}"
34
35 src_prepare() {
36 epatch "${FILESDIR}/scriptname.patch"
37 }
38
39 pkg_postinst() {
40 einfo "Fiona script is installed as /usr/bin/Fiona"
41 }
42
43 python_test() {
44 esetup.py test
45 }

  ViewVC Help
Powered by ViewVC 1.1.20