/[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 - (hide annotations) (download)
Thu Apr 30 15:13:16 2015 UTC (5 years 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 jlec 1.4 # Copyright 1999-2015 Gentoo Foundation
2 slis 1.1 # Distributed under the terms of the GNU General Public License v2
3 slis 1.6 # $Header: $
4 slis 1.1
5     EAPI="5"
6 slis 1.6 PYTHON_COMPAT=( python{2_6,2_7,3_3,3_4} )
7 slis 1.1
8 slis 1.6 inherit distutils-r1
9 jlec 1.4
10 slis 1.6 DESCRIPTION="Fiona is OGR's neat, nimble, no-nonsense API"
11     HOMEPAGE="https://pypi.python.org/pypi/Fiona"
12 slis 1.1
13 slis 1.6 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 slis 1.1
22     LICENSE="BSD"
23     SLOT="0"
24     IUSE="test"
25    
26 slis 1.6 RDEPEND=">=sci-libs/gdal-1.8
27     dev-python/click"
28 slis 1.1 DEPEND="${RDEPEND}
29     dev-python/setuptools[${PYTHON_USEDEP}]
30     dev-python/six[${PYTHON_USEDEP}]
31 slis 1.6 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 slis 1.1
43     python_test() {
44     esetup.py test
45 mgorny 1.2 }

  ViewVC Help
Powered by ViewVC 1.1.20