summaryrefslogtreecommitdiff
path: root/dev-python/dynd-python/dynd-python-0.7.2.ebuild
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-03-10 13:36:49 +0100
committerDavid Seifert <soap@gentoo.org>2017-03-10 13:43:11 +0100
commitb34fb219a13d3dcccc3cee1186c6aa31015bfe82 (patch)
tree6c0e5cb2aa30e722e08bd48b7c961fa2d6bd5e7e /dev-python/dynd-python/dynd-python-0.7.2.ebuild
parenta6402ff7bead3a378370f31adc9af640ffc8d7bb (diff)
downloadgentoo-b34fb219a13d3dcccc3cee1186c6aa31015bfe82.tar.gz
gentoo-b34fb219a13d3dcccc3cee1186c6aa31015bfe82.tar.bz2
gentoo-b34fb219a13d3dcccc3cee1186c6aa31015bfe82.zip
dev-python/dynd-python: Add py3.6 support
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'dev-python/dynd-python/dynd-python-0.7.2.ebuild')
-rw-r--r--dev-python/dynd-python/dynd-python-0.7.2.ebuild57
1 files changed, 0 insertions, 57 deletions
diff --git a/dev-python/dynd-python/dynd-python-0.7.2.ebuild b/dev-python/dynd-python/dynd-python-0.7.2.ebuild
deleted file mode 100644
index 5912ab5666f2..000000000000
--- a/dev-python/dynd-python/dynd-python-0.7.2.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{4,5} )
-
-inherit distutils-r1
-
-# change each new dynd version, to avoid git in tree dependency
-DYND_PYTHON_GIT_SHA1=8cdef57e71c784d7fe1f3f97a2ce2ce5727a89f1
-
-DESCRIPTION="Python exposure of multidimensionnal array library libdynd"
-HOMEPAGE="http://libdynd.org/"
-SRC_URI="https://github.com/libdynd/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc test"
-
-RDEPEND="
- ~dev-libs/libdynd-${PV}
- dev-python/numpy[${PYTHON_USEDEP}]
-"
-DEPEND="${RDEPEND}
- dev-python/cython[${PYTHON_USEDEP}]
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
- test? ( dev-python/nose[${PYTHON_USEDEP}] )
-"
-
-python_prepare_all() {
- # remove the version mangling from git stuff it requires a git clone
- # rather force set it a configure time
- sed -e "/--dirty/s/ver =.*/ver = 'v${PV}'/" \
- -e '/--always/d' \
- -i setup.py || die
- sed -e "s/get_git.*/set(DYND_PYTHON_GIT_SHA1 ${DYND_PYTHON_GIT_SHA1})/" \
- -e "s/git_describe.*/set(DYND_PYTHON_VERSION_STRING v${PV})/" \
- -e 's|-g -fomit-frame-pointer||' \
- -e 's|-Werror||g' \
- -i CMakeLists.txt || die
-
- distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
- if use doc; then
- emake -C docs html
- HTML_DOCS=( docs/build/html/. )
- fi
-}
-
-python_test() {
- cd "${BUILD_DIR}/lib" || die
- PYTHONPATH=${BUILD_DIR}/lib nosetests -v || die
-}