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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 Revision 1.6
1# Copyright 1999-2015 Gentoo Foundation 1# Copyright 1999-2015 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 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.5 2015/04/03 12:41:25 jlec Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sci-libs/Fiona/Fiona-9999.ebuild,v 1.6 2015/04/30 15:13:16 slis Exp $
4 4
5EAPI="5" 5EAPI="5"
6PYTHON_COMPAT=( python{2_6,2_7,3_3,3_4} )
6 7
7PYTHON_COMPAT=( python2_7 python3_{3,4} ) 8inherit distutils-r1
8 9
9inherit distutils-r1 git-r3 10DESCRIPTION="Fiona is OGR's neat, nimble, no-nonsense API"
11HOMEPAGE="https://pypi.python.org/pypi/Fiona"
10 12
11DESCRIPTION="OGR's neat, nimble, no-nonsense API" 13if [[ ${PV} == "9999" ]] ; then
12HOMEPAGE="https://pypi.python.org/pypi/Fiona" 14 inherit git-r3
13SRC_URI="" 15 SRC_URI=""
14EGIT_REPO_URI="http://github.com/Toblerity/${PN}.git" 16 EGIT_REPO_URI="http://github.com/Toblerity/${PN}.git"
17else
18 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
19 KEYWORDS="~amd64 ~x86"
20fi
15 21
16LICENSE="BSD" 22LICENSE="BSD"
17SLOT="0" 23SLOT="0"
18KEYWORDS=""
19IUSE="test" 24IUSE="test"
20 25
21RDEPEND=" 26RDEPEND=">=sci-libs/gdal-1.8
22 dev-python/click[${PYTHON_USEDEP}] 27 dev-python/click"
23 >=sci-libs/gdal-1.8[${PYTHON_USEDEP}]"
24DEPEND="${RDEPEND} 28DEPEND="${RDEPEND}
25 dev-python/setuptools[${PYTHON_USEDEP}] 29 dev-python/setuptools[${PYTHON_USEDEP}]
26 dev-python/six[${PYTHON_USEDEP}] 30 dev-python/six[${PYTHON_USEDEP}]
27 test? ( 31 test? ( dev-python/nose )
28 dev-python/nose[${PYTHON_USEDEP}]
29 dev-python/pytest[${PYTHON_USEDEP}] 32 test? ( dev-python/pytest[${PYTHON_USEDEP}] )
30 )" 33 ${PYTHON_DEPS}"
34
35src_prepare() {
36 epatch "${FILESDIR}/scriptname.patch"
37}
38
39pkg_postinst() {
40 einfo "Fiona script is installed as /usr/bin/Fiona"
41}
31 42
32python_test() { 43python_test() {
33 esetup.py test 44 esetup.py test
34} 45}

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.20