From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/inference/
Date: Thu, 13 Jun 2013 07:05:11 +0000 (UTC) [thread overview]
Message-ID: <1371105178.574ac2e9dffc4cbcac9a478d5034c14151a5bd8c.jlec@gentoo> (raw)
commit: 574ac2e9dffc4cbcac9a478d5034c14151a5bd8c
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 13 06:32:58 2013 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Jun 13 06:32:58 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=574ac2e9
dev-python/inference: Bump to EAPI=5 and distutils-r1.eclass; make license more restrictive as we cannot check it right now
Package-Manager: portage-2.2.0_alpha179
---
dev-python/inference/ChangeLog | 7 ++++++-
dev-python/inference/inference-0.4.ebuild | 31 ++++++++++++++++---------------
dev-python/inference/metadata.xml | 4 ++--
3 files changed, 24 insertions(+), 18 deletions(-)
diff --git a/dev-python/inference/ChangeLog b/dev-python/inference/ChangeLog
index e8bfcaf..bf5440d 100644
--- a/dev-python/inference/ChangeLog
+++ b/dev-python/inference/ChangeLog
@@ -1,7 +1,12 @@
# ChangeLog for dev-python/inference
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 13 Jun 2013; Justin Lecher <jlec@gentoo.org> inference-0.4.ebuild,
+ metadata.xml:
+ Bump to EAPI=5 and distutils-r1.eclass; make license more restrictive as we
+ cannot check it right now
+
25 Oct 2012; Justin Lecher <jlec@gentoo.org> inference-0.4.ebuild,
metadata.xml:
Move to EAPI=5; correct usage of fortran-2.eclass
diff --git a/dev-python/inference/inference-0.4.ebuild b/dev-python/inference/inference-0.4.ebuild
index bb508aa..4b41fa3 100644
--- a/dev-python/inference/inference-0.4.ebuild
+++ b/dev-python/inference/inference-0.4.ebuild
@@ -1,28 +1,25 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.*"
-DISTUTILS_SRC_TEST="nosetests"
+PYTHON_COMPAT=( python{2_6,2_7} )
-inherit distutils flag-o-matic fortran-2 toolchain-funcs
+inherit distutils-r1 flag-o-matic fortran-2
DESCRIPTION="Collection of Python modules for statistical inference"
HOMEPAGE="http://inference.astro.cornell.edu/"
SRC_URI="${HOMEPAGE}/${P}.tar.gz"
SLOT="0"
-LICENSE="as-is"
+LICENSE="all-rights-reserved"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND="sci-libs/scipy"
+DEPEND="sci-libs/scipy[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}
- dev-python/matplotlib"
+ dev-python/matplotlib[${PYTHON_USEDEP}]"
# buggy tests
RESTRICT="test"
@@ -31,18 +28,22 @@ pkg_setup() {
fortran-2_pkg_setup
}
-src_prepare() {
+python_prepare_all() {
# The usual numpy.distutils hacks when fortran is used
append-ldflags -shared
append-fflags -fPIC
export NUMPY_FCONFIG="config_fc --noopt --noarch"
- distutils_src_prepare
+ distutils-r1_python_prepare_all
}
-src_compile() {
- distutils_src_compile ${NUMPY_CONFIG}
+python_compile() {
+ distutils-r1_python_compile ${NUMPY_CONFIG}
}
-src_install() {
- distutils_src_install ${NUMPY_FCONFIG}
+python_test() {
+ nosetests --verbose --verbosity=3
+}
+
+python_install() {
+ distutils-r1_python_install ${NUMPY_FCONFIG}
}
diff --git a/dev-python/inference/metadata.xml b/dev-python/inference/metadata.xml
index b6797a7..2c89b5d 100644
--- a/dev-python/inference/metadata.xml
+++ b/dev-python/inference/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>sci</herd>
- <longdescription lang="en">
+ <herd>sci</herd>
+ <longdescription lang="en">
The inference package is a collection of Python modules implementing
a variety of methods targeting the statistical inference
problems—and the statistical modeling style—of the physical
next reply other threads:[~2013-06-13 7:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-13 7:05 Justin Lecher [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-09-22 19:47 [gentoo-commits] proj/sci:master commit in: dev-python/inference/ Aisha Tammy
2015-09-21 14:04 Justin Lecher
2012-10-29 11:00 Justin Lecher
2011-06-23 9:31 Justin Lecher
2011-06-21 11:54 Justin Lecher
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=1371105178.574ac2e9dffc4cbcac9a478d5034c14151a5bd8c.jlec@gentoo \
--to=jlec@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