Files
gentoo/dev-python/py2neo/py2neo-2.0.9.ebuild
Patrice Clement f8e5373a14 dev-python/py2neo: version bump.
Gentoo-Bug: https://bugs.gentoo.org/600462

Package-Manager: portage-2.3.0
2016-11-25 23:52:33 +01:00

25 lines
620 B
Bash

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python{2_7,3_4} pypy pypy3 )
inherit distutils-r1 vcs-snapshot
DESCRIPTION="A simple and pragmatic library which accesses the Neo4j graph database"
HOMEPAGE="http://py2neo.org"
SRC_URI="https://github.com/nigelsmall/py2neo/archive/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
python_compile() {
# https://github.com/nigelsmall/py2neo/issues/380
python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
distutils-r1_python_compile
}