public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sebastien Fabbro" <bicatali@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-visualization/yt/
Date: Tue, 26 Nov 2013 22:30:54 +0000 (UTC)	[thread overview]
Message-ID: <1385493218.1603e651b8b1159088ed75dc0738e326171f054d.bicatali@gentoo> (raw)

commit:     1603e651b8b1159088ed75dc0738e326171f054d
Author:     Kacper Kowalik (Xarthisius) <xarthisius <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 26 19:13:38 2013 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Tue Nov 26 19:13:38 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=1603e651

[sci-visualization/yt] version bump

---
 .../yt/{yt-9999.ebuild => yt-2.6.ebuild}           | 25 +++++++++++++---------
 sci-visualization/yt/yt-9999.ebuild                | 16 ++++++++++----
 2 files changed, 27 insertions(+), 14 deletions(-)

diff --git a/sci-visualization/yt/yt-9999.ebuild b/sci-visualization/yt/yt-2.6.ebuild
similarity index 67%
copy from sci-visualization/yt/yt-9999.ebuild
copy to sci-visualization/yt/yt-2.6.ebuild
index 39886ce..52a3490 100644
--- a/sci-visualization/yt/yt-9999.ebuild
+++ b/sci-visualization/yt/yt-2.6.ebuild
@@ -1,22 +1,20 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
 EAPI=5
-
 PYTHON_COMPAT=( python2_7 )
-EHG_REPO_URI="https://bitbucket.org/yt_analysis/yt"
-EHG_REVISION="yt"
+DISTUTILS_IN_SOURCE_BUILD=1
 
-inherit distutils-r1 mercurial
+inherit distutils-r1 flag-o-matic
 
 DESCRIPTION="Astrophysical Simulation Analysis and Vizualization package"
 HOMEPAGE="http://yt-project.org/"
-SRC_URI=""
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
-LICENSE="GPL-3"
+LICENSE="BSD"
 SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64 ~x86"
 IUSE="test"
 
 CDEPEND="media-libs/freetype
@@ -30,12 +28,19 @@ RDEPEND="${CDEPEND}
 	dev-python/matplotlib[${PYTHON_USEDEP}]
 	dev-python/sympy[${PYTHON_USEDEP}]"
 DEPEND="${CDEPEND}
-    dev-python/Forthon[${PYTHON_USEDEP}]
+	dev-python/Forthon[${PYTHON_USEDEP}]
 	>=dev-python/cython-0.19[${PYTHON_USEDEP}]
 	>=dev-python/setuptools-0.7[${PYTHON_USEDEP}]
 	test? ( ${RDEPEND}
 		dev-python/nose[${PYTHON_USEDEP}]
-    )"
+	)"
+
+src_prepare() {
+	append-flags -fno-strict-aliasing
+	sed -i setup.py \
+		-e 's:build/lib:../../../&:' || die
+	distutils-r1_src_prepare
+}
 
 # TODO
 #python_test() {

diff --git a/sci-visualization/yt/yt-9999.ebuild b/sci-visualization/yt/yt-9999.ebuild
index 39886ce..c556f4e 100644
--- a/sci-visualization/yt/yt-9999.ebuild
+++ b/sci-visualization/yt/yt-9999.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
 EAPI=5
 
 PYTHON_COMPAT=( python2_7 )
+DISTUTILS_IN_SOURCE_BUILD=1
 EHG_REPO_URI="https://bitbucket.org/yt_analysis/yt"
 EHG_REVISION="yt"
 
@@ -14,7 +15,7 @@ DESCRIPTION="Astrophysical Simulation Analysis and Vizualization package"
 HOMEPAGE="http://yt-project.org/"
 SRC_URI=""
 
-LICENSE="GPL-3"
+LICENSE="BSD"
 SLOT="0"
 KEYWORDS=""
 IUSE="test"
@@ -30,12 +31,19 @@ RDEPEND="${CDEPEND}
 	dev-python/matplotlib[${PYTHON_USEDEP}]
 	dev-python/sympy[${PYTHON_USEDEP}]"
 DEPEND="${CDEPEND}
-    dev-python/Forthon[${PYTHON_USEDEP}]
+	dev-python/Forthon[${PYTHON_USEDEP}]
 	>=dev-python/cython-0.19[${PYTHON_USEDEP}]
 	>=dev-python/setuptools-0.7[${PYTHON_USEDEP}]
 	test? ( ${RDEPEND}
 		dev-python/nose[${PYTHON_USEDEP}]
-    )"
+	)"
+
+src_prepare() {
+	append-flags -fno-strict-aliasing
+	sed -i setup.py \
+		-e 's:build/lib:../../../&:' || die
+	distutils-r1_src_prepare
+}
 
 # TODO
 #python_test() {


             reply	other threads:[~2013-11-26 22:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-26 22:30 Sebastien Fabbro [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-09-29  1:37 [gentoo-commits] proj/sci:master commit in: sci-visualization/yt/ Aisha Tammy
2020-09-27 15:26 Aisha Tammy
2013-11-27 12:18 Kacper Kowalik
2013-11-27 12:18 Kacper Kowalik
2013-11-26 22:30 Sebastien Fabbro
2013-08-30  7:28 Kacper Kowalik
2013-02-21  8:30 Kacper Kowalik
2012-07-17  3:14 Kacper Kowalik
2012-01-25 17:27 Kacper Kowalik
2012-01-17 10:39 Kacper Kowalik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1385493218.1603e651b8b1159088ed75dc0738e326171f054d.bicatali@gentoo \
    --to=bicatali@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox