From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D8B6413888F for ; Thu, 29 Oct 2015 08:20:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 49C1C21C001; Thu, 29 Oct 2015 08:20:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D7FE921C001 for ; Thu, 29 Oct 2015 08:20:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BDA0F340A7F for ; Thu, 29 Oct 2015 08:20:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 25F2219AB for ; Thu, 29 Oct 2015 08:20:18 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1446106815.1722770334dd66d6d560dea77681814e86324b4a.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/scipy/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/scipy/scipy-0.16.1.ebuild sci-libs/scipy/scipy-9999.ebuild X-VCS-Directories: sci-libs/scipy/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 1722770334dd66d6d560dea77681814e86324b4a X-VCS-Branch: master Date: Thu, 29 Oct 2015 08:20:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c19a103e-5b97-4d0a-a070-97d2a2a570a9 X-Archives-Hash: a582fd5ebd5563684a765cf48b10f24e commit: 1722770334dd66d6d560dea77681814e86324b4a Author: Justin Lecher gentoo org> AuthorDate: Thu Oct 29 08:06:58 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Thu Oct 29 08:20:15 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17227703 sci-libs/scipy: Add live ebuild for testing Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher gentoo.org> sci-libs/scipy/scipy-0.16.1.ebuild | 1 + .../{scipy-0.16.1.ebuild => scipy-9999.ebuild} | 25 ++++------------------ 2 files changed, 5 insertions(+), 21 deletions(-) diff --git a/sci-libs/scipy/scipy-0.16.1.ebuild b/sci-libs/scipy/scipy-0.16.1.ebuild index de2289b..7e74f6e 100644 --- a/sci-libs/scipy/scipy-0.16.1.ebuild +++ b/sci-libs/scipy/scipy-0.16.1.ebuild @@ -103,6 +103,7 @@ python_prepare_all() { "${FILESDIR}"/${PN}-0.12.0-blitz.patch "${FILESDIR}"/${PN}-0.12.0-restore-sys-argv.patch "${FILESDIR}"/${P}-glibc-2.22-backport.patch + "${FILESDIR}"/${P}-test-fix-backport.patch ) distutils-r1_python_prepare_all } diff --git a/sci-libs/scipy/scipy-0.16.1.ebuild b/sci-libs/scipy/scipy-9999.ebuild similarity index 82% copy from sci-libs/scipy/scipy-0.16.1.ebuild copy to sci-libs/scipy/scipy-9999.ebuild index de2289b..43f0f3e 100644 --- a/sci-libs/scipy/scipy-0.16.1.ebuild +++ b/sci-libs/scipy/scipy-9999.ebuild @@ -8,21 +8,16 @@ PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) DOC_PV=${PV} -inherit eutils fortran-2 distutils-r1 flag-o-matic multilib toolchain-funcs +inherit eutils fortran-2 distutils-r1 flag-o-matic git-r3 multilib toolchain-funcs DESCRIPTION="Scientific algorithms library for Python" HOMEPAGE="https://www.scipy.org/" -SRC_URI=" - mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz - doc? ( - https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${PV}.zip -> ${PN}-${DOC_PV}-html.zip - https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${PV}.pdf -> ${PN}-${DOC_PV}-ref.pdf - )" +EGIT_REPO_URI="https://github.com/scipy/scipy.git" LICENSE="BSD LGPL-2" SLOT="0" -IUSE="doc sparse test" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="" +IUSE="sparse test" CDEPEND=" >=dev-python/numpy-1.6.2[lapack,${PYTHON_USEDEP}] @@ -34,7 +29,6 @@ DEPEND="${CDEPEND} dev-lang/swig >=dev-python/cython-0.22[${PYTHON_USEDEP}] virtual/pkgconfig - doc? ( app-arch/unzip ) test? ( dev-python/nose[${PYTHON_USEDEP}] ) " @@ -45,13 +39,6 @@ DOCS=( HACKING.rst.txt THANKS.txt ) DISTUTILS_IN_SOURCE_BUILD=1 -src_unpack() { - unpack ${P}.tar.gz - if use doc; then - unzip -qo "${DISTDIR}"/${PN}-${DOC_PV}-html.zip -d html || die - fi -} - pc_incdir() { $(tc-getPKG_CONFIG) --cflags-only-I $@ | \ sed -e 's/^-I//' -e 's/[ ]*-I/:/g' -e 's/[ ]*$//' -e 's|^:||' @@ -96,13 +83,9 @@ python_prepare_all() { lapack_libs = $(pc_libs lapack) EOF - # Drop hashes to force rebuild of cython based .c code - rm cythonize.dat || die - local PATCHES=( "${FILESDIR}"/${PN}-0.12.0-blitz.patch "${FILESDIR}"/${PN}-0.12.0-restore-sys-argv.patch - "${FILESDIR}"/${P}-glibc-2.22-backport.patch ) distutils-r1_python_prepare_all }