From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-misc/simx/
Date: Sun, 14 Feb 2016 17:32:44 +0000 (UTC) [thread overview]
Message-ID: <1455469704.17a5b8e0de4be077cf57d2f63bfc6b0124d40eb8.jlec@gentoo> (raw)
commit: 17a5b8e0de4be077cf57d2f63bfc6b0124d40eb8
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 14 17:08:24 2016 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Feb 14 17:08:24 2016 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=17a5b8e0
sci-misc/simx: Bump to EAPI=6
* Use git-r3.eclass
Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
sci-misc/simx/simx-0.2.ebuild | 24 ++++++++++--------------
sci-misc/simx/simx-9999.ebuild | 27 ++++++++++++---------------
2 files changed, 22 insertions(+), 29 deletions(-)
diff --git a/sci-misc/simx/simx-0.2.ebuild b/sci-misc/simx/simx-0.2.ebuild
index 232de1a..3dd4e3e 100644
--- a/sci-misc/simx/simx-0.2.ebuild
+++ b/sci-misc/simx/simx-0.2.ebuild
@@ -1,27 +1,20 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit cmake-utils distutils-r1
-if [ "${PV}" = "9999" ]; then
- EGIT_REPO_URI="git://github.com/sim-x/${PN}.git http://github.com/sim-x/${PN}.git"
- inherit git-2
- KEYWORDS=""
-else
- SRC_URI="https://github.com/sim-x/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-
-DESCRIPTION="a library for developing parallel, discrete-event simulations in Python"
+DESCRIPTION="Library for developing parallel, discrete-event simulations in Python"
HOMEPAGE="https://github.com/sim-x"
+SRC_URI="https://github.com/sim-x/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="LGPL-2.1"
+KEYWORDS="~amd64"
IUSE=""
RDEPEND="
@@ -31,7 +24,10 @@ RDEPEND="
DEPEND="${RDEPEND}
dev-util/cmake"
-src_prepare() {
+python_prepare_all() {
# don't do egg install
- sed -i 's/self.do_egg_install()/_install.install.run(self)/' setup.py || die
+ sed \
+ -e 's/self.do_egg_install()/_install.install.run(self)/' \
+ -i setup.py || die
+ distutils-r1_python_prepare_all
}
diff --git a/sci-misc/simx/simx-9999.ebuild b/sci-misc/simx/simx-9999.ebuild
index 232de1a..6054dd4 100644
--- a/sci-misc/simx/simx-9999.ebuild
+++ b/sci-misc/simx/simx-9999.ebuild
@@ -1,27 +1,21 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
PYTHON_COMPAT=( python2_7 )
-inherit cmake-utils distutils-r1
+inherit cmake-utils distutils-r1 git-r3
-if [ "${PV}" = "9999" ]; then
- EGIT_REPO_URI="git://github.com/sim-x/${PN}.git http://github.com/sim-x/${PN}.git"
- inherit git-2
- KEYWORDS=""
-else
- SRC_URI="https://github.com/sim-x/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-
-DESCRIPTION="a library for developing parallel, discrete-event simulations in Python"
+DESCRIPTION="Library for developing parallel, discrete-event simulations in Python"
HOMEPAGE="https://github.com/sim-x"
+SRC_URI=""
+EGIT_REPO_URI="git://github.com/sim-x/${PN}.git http://github.com/sim-x/${PN}.git"
SLOT="0"
LICENSE="LGPL-2.1"
+KEYWORDS=""
IUSE=""
RDEPEND="
@@ -31,7 +25,10 @@ RDEPEND="
DEPEND="${RDEPEND}
dev-util/cmake"
-src_prepare() {
+python_prepare_all() {
# don't do egg install
- sed -i 's/self.do_egg_install()/_install.install.run(self)/' setup.py || die
+ sed \
+ -e 's/self.do_egg_install()/_install.install.run(self)/' \
+ -i setup.py || die
+ distutils-r1_python_prepare_all
}
next reply other threads:[~2016-02-14 17:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-14 17:32 Justin Lecher [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-09-27 18:40 [gentoo-commits] proj/sci:master commit in: sci-misc/simx/ Aisha Tammy
2015-06-05 11:20 Justin Lecher
2014-01-06 18:33 Justin Lecher
2013-10-24 17:03 Christoph Junghans
2013-10-22 1:04 Christoph Junghans
2013-10-22 0:09 Christoph Junghans
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=1455469704.17a5b8e0de4be077cf57d2f63bfc6b0124d40eb8.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