public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/behaviopy/
Date: Wed, 26 Jan 2022 17:48:38 +0000 (UTC)	[thread overview]
Message-ID: <1643197012.ebf592643df86690bf487221f05b0da15791e9b0.andrewammerlaan@gentoo> (raw)

commit:     ebf592643df86690bf487221f05b0da15791e9b0
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 26 11:36:52 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Jan 26 11:36:52 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=ebf59264

sci-biology/behaviopy: bump to 0.2

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 .../{behaviopy-0.1.ebuild => behaviopy-0.2.ebuild} | 18 ++++-----
 sci-biology/behaviopy/behaviopy-9999.ebuild        | 46 ----------------------
 2 files changed, 8 insertions(+), 56 deletions(-)

diff --git a/sci-biology/behaviopy/behaviopy-0.1.ebuild b/sci-biology/behaviopy/behaviopy-0.2.ebuild
similarity index 77%
rename from sci-biology/behaviopy/behaviopy-0.1.ebuild
rename to sci-biology/behaviopy/behaviopy-0.2.ebuild
index 35bcaab6b..ca6700729 100644
--- a/sci-biology/behaviopy/behaviopy-0.1.ebuild
+++ b/sci-biology/behaviopy/behaviopy-0.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1
 
@@ -13,11 +13,9 @@ SRC_URI="https://github.com/TheChymera/behaviopy/archive/${PV}.tar.gz -> ${P}.ta
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="evaluation test"
+IUSE="evaluation"
 KEYWORDS="~amd64 ~x86"
-RESTRICT="!test? ( test )"
 
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
 RDEPEND="
 	dev-python/matplotlib[${PYTHON_USEDEP}]
 	dev-python/numpy[${PYTHON_USEDEP}]
@@ -25,17 +23,17 @@ RDEPEND="
 	dev-python/seaborn[${PYTHON_USEDEP}]
 	dev-python/statsmodels[${PYTHON_USEDEP}]
 	dev-python/scipy[${PYTHON_USEDEP}]
-	"
+"
 
-src_prepare() {
+python_prepare_all() {
 	if ! use evaluation; then
 		rm behaviopy/evaluation.py || die
 	fi
-	default
+	distutils-r1_python_prepare_all
 }
 
 python_test() {
-	cd behaviopy/examples
+	cd behaviopy/examples || die
 	echo "backend : Agg" > matplotlibrc || die
 	for i in *py; do
 		echo "Executing $i"

diff --git a/sci-biology/behaviopy/behaviopy-9999.ebuild b/sci-biology/behaviopy/behaviopy-9999.ebuild
deleted file mode 100644
index a4c087764..000000000
--- a/sci-biology/behaviopy/behaviopy-9999.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} )
-
-inherit distutils-r1 git-r3
-
-DESCRIPTION="Neuroimaging tools for Python"
-HOMEPAGE="https://github.com/TheChymera/behaviopy"
-SRC_URI=""
-EGIT_REPO_URI="https://github.com/TheChymera/behaviopy"
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="evaluation test"
-KEYWORDS=""
-RESTRICT="!test? ( test )"
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="
-	dev-python/matplotlib[${PYTHON_USEDEP}]
-	dev-python/numpy[${PYTHON_USEDEP}]
-	dev-python/pandas[${PYTHON_USEDEP}]
-	dev-python/seaborn[${PYTHON_USEDEP}]
-	dev-python/statsmodels[${PYTHON_USEDEP}]
-	dev-python/scipy[${PYTHON_USEDEP}]
-	"
-	#evaluation? ( sci-biology/psychopy[${PYTHON_USEDEP}] )
-
-src_prepare() {
-	if ! use evaluation; then
-		rm behaviopy/evaluation.py || die
-	fi
-	default
-}
-
-python_test() {
-	cd behaviopy/examples
-	echo "backend : Agg" > matplotlibrc || die
-	for i in *py; do
-		echo "Executing $i"
-		${EPYTHON} $i || die
-	done
-}


             reply	other threads:[~2022-01-26 17:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-26 17:48 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-02-29  2:06 [gentoo-commits] proj/sci:master commit in: sci-biology/behaviopy/ Horea Christian
2020-12-24 11:00 Horea Christian
2020-09-25  9:10 Horea Christian
2019-04-08  3:22 Horea Christian

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=1643197012.ebf592643df86690bf487221f05b0da15791e9b0.andrewammerlaan@gentoo \
    --to=andrewammerlaan@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