From 99cc6c48240d39a137bfbd4b67ad24cde027baf9 Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Sun, 19 Feb 2017 23:17:15 +0100 Subject: [PATCH 1/2] removed deprecated ebuild --- app-misc/godep/godep-9999.ebuild | 44 -------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 app-misc/godep/godep-9999.ebuild diff --git a/app-misc/godep/godep-9999.ebuild b/app-misc/godep/godep-9999.ebuild deleted file mode 100644 index 38ba91d..0000000 --- a/app-misc/godep/godep-9999.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="5" - -inherit git-r3 - -RESTRICT="strip" - -DESCRIPTION="native bindings for the FUSE kernel module" -HOMEPAGE="https://github.com/tools/godep" -EGIT_REPO_URI="https://github.com/tools/${PN}.git" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="" -IUSE="" - -DEPEND="dev-lang/go" -RDEPEND="" - -GO_PN="github.com/tools/${PN}" -EGIT_CHECKOUT_DIR="${S}/src/${GO_PN}" - -export GOPATH="${S}" - -src_prepare() { - go get ${GO_PN} -} - -src_compile() { - go build -v -x -work ${GO_PN} || die -} - -src_install() { -# go install -v -x -work ${GO_PN} || die - -dobin ${S}/bin/godep -#insinto /usr/lib/go/ -#doins -r "${S}/pkg" -#insinto /usr/lib/go/src/pkg -#doins -r "${S}/src/." -} From 999ee5cc96e5d2465e5a3e8ddaf9f7a8805b539d Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Sun, 19 Feb 2017 23:19:48 +0100 Subject: [PATCH 2/2] added nipype ebuild for chymeric upstream --- sci-libs/nipype/nipype-9999.ebuild | 52 ++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 sci-libs/nipype/nipype-9999.ebuild diff --git a/sci-libs/nipype/nipype-9999.ebuild b/sci-libs/nipype/nipype-9999.ebuild new file mode 100644 index 0000000..39dfd97 --- /dev/null +++ b/sci-libs/nipype/nipype-9999.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 git-r3 + +DESCRIPTION="Neuroimaging in Python: Pipelines and Interfaces" +HOMEPAGE="http://nipy.sourceforge.net/nipype/" +SRC_URI="" +EGIT_REPO_URI="https://github.com/TheChymera/nipype" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="" +IUSE="test" + +DEPEND=" + dev-python/future[${PYTHON_USEDEP}] + dev-python/prov[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + sci-libs/nibabel[${PYTHON_USEDEP}] + test? ( dev-python/mock[${PYTHON_USEDEP}] ) + $(python_gen_cond_dep 'dev-python/configparser[${PYTHON_USEDEP}]' python2_7) + " +RDEPEND=" + dev-python/networkx[${PYTHON_USEDEP}] + dev-python/pydotplus[${PYTHON_USEDEP}] + dev-python/pygraphviz[${PYTHON_USEDEP}] + dev-python/traits[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + " + +python_prepare_all() { + distutils-r1_python_prepare_all + EXISTING_REQUIRE="setup_requires=\['future', 'configparser'\]" + CORRECTED_REQUIRE="setup_requires=\['future'\]" + sed \ + -e "s/${EXISTING_REQUIRE}/${CORRECTED_REQUIRE}/g" \ + -i setup.py \ + || die "sed setup.py" +} + +python_test() { + nosetests -v || die +}