diff options
author | Slawek Lis <slis@gentoo.org> | 2015-04-30 15:13:16 +0000 |
---|---|---|
committer | Slawek Lis <slis@gentoo.org> | 2015-04-30 15:13:16 +0000 |
commit | 5fe84e9503087b99c4e1a0567fcf6a8427ed6989 (patch) | |
tree | 2bd52fe27dc7d9d939bc8c26745c57d57c4ca81e /sci-libs | |
parent | Once again binary filename change (#547996) (diff) | |
download | gentoo-2-5fe84e9503087b99c4e1a0567fcf6a8427ed6989.tar.gz gentoo-2-5fe84e9503087b99c4e1a0567fcf6a8427ed6989.tar.bz2 gentoo-2-5fe84e9503087b99c4e1a0567fcf6a8427ed6989.zip |
updated live ebuild
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x55265D89)
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/Fiona/ChangeLog | 5 | ||||
-rw-r--r-- | sci-libs/Fiona/Fiona-9999.ebuild | 41 |
2 files changed, 30 insertions, 16 deletions
diff --git a/sci-libs/Fiona/ChangeLog b/sci-libs/Fiona/ChangeLog index 92fe7f5a9583..e67ee9698403 100644 --- a/sci-libs/Fiona/ChangeLog +++ b/sci-libs/Fiona/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-libs/Fiona # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/Fiona/ChangeLog,v 1.10 2015/04/30 15:00:24 slis Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/Fiona/ChangeLog,v 1.11 2015/04/30 15:13:16 slis Exp $ + + 30 Apr 2015; Sławek Lis <slis@gentoo.org> Fiona-9999.ebuild: + updated live ebuild 30 Apr 2015; Sławek Lis <slis@gentoo.org> Fiona-1.5.1.ebuild, files/scriptname.patch: diff --git a/sci-libs/Fiona/Fiona-9999.ebuild b/sci-libs/Fiona/Fiona-9999.ebuild index 63f698d3ab06..0c24bcfb3fbc 100644 --- a/sci-libs/Fiona/Fiona-9999.ebuild +++ b/sci-libs/Fiona/Fiona-9999.ebuild @@ -1,33 +1,44 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/Fiona/Fiona-9999.ebuild,v 1.5 2015/04/03 12:41:25 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/Fiona/Fiona-9999.ebuild,v 1.6 2015/04/30 15:13:16 slis Exp $ EAPI="5" +PYTHON_COMPAT=( python{2_6,2_7,3_3,3_4} ) -PYTHON_COMPAT=( python2_7 python3_{3,4} ) +inherit distutils-r1 -inherit distutils-r1 git-r3 - -DESCRIPTION="OGR's neat, nimble, no-nonsense API" +DESCRIPTION="Fiona is OGR's neat, nimble, no-nonsense API" HOMEPAGE="https://pypi.python.org/pypi/Fiona" -SRC_URI="" -EGIT_REPO_URI="http://github.com/Toblerity/${PN}.git" + +if [[ ${PV} == "9999" ]] ; then + inherit git-r3 + SRC_URI="" + EGIT_REPO_URI="http://github.com/Toblerity/${PN}.git" +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi LICENSE="BSD" SLOT="0" -KEYWORDS="" IUSE="test" -RDEPEND=" - dev-python/click[${PYTHON_USEDEP}] - >=sci-libs/gdal-1.8[${PYTHON_USEDEP}]" +RDEPEND=">=sci-libs/gdal-1.8 + dev-python/click" DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] - test? ( - dev-python/nose[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - )" + test? ( dev-python/nose ) + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) + ${PYTHON_DEPS}" + +src_prepare() { + epatch "${FILESDIR}/scriptname.patch" +} + +pkg_postinst() { + einfo "Fiona script is installed as /usr/bin/Fiona" +} python_test() { esetup.py test |