From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/line_profiler/
Date: Wed, 23 Sep 2015 10:19:55 +0000 (UTC) [thread overview]
Message-ID: <1442990576.ec6467ba827183d75a60172cef8165a1d7fa67a7.jlec@gentoo> (raw)
commit: ec6467ba827183d75a60172cef8165a1d7fa67a7
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Wed Sep 23 06:42:56 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Sep 23 06:42:56 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ec6467ba
dev-python/line_profiler: Replace symlink
dev-python/line_profiler/line_profiler-1.0.ebuild | 30 +++++++++++++++++++++-
dev-python/line_profiler/line_profiler-9999.ebuild | 11 ++------
2 files changed, 31 insertions(+), 10 deletions(-)
diff --git a/dev-python/line_profiler/line_profiler-1.0.ebuild b/dev-python/line_profiler/line_profiler-1.0.ebuild
deleted file mode 120000
index fb2359a..0000000
--- a/dev-python/line_profiler/line_profiler-1.0.ebuild
+++ /dev/null
@@ -1 +0,0 @@
-line_profiler-9999.ebuild
\ No newline at end of file
diff --git a/dev-python/line_profiler/line_profiler-1.0.ebuild b/dev-python/line_profiler/line_profiler-1.0.ebuild
new file mode 100644
index 0000000..bec34f5
--- /dev/null
+++ b/dev-python/line_profiler/line_profiler-1.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit distutils-r1
+
+DESCRIPTION="Line-by-line profiling for Python"
+HOMEPAGE="https://github.com/rkern/line_profiler"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+KEYWORDS="~amd64"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="test"
+
+DEPEND="
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+ "
+
+python_test() {
+ distutils_install_for_testing
+ cd "${TEST_DIR}"/lib || die
+ cp "${S}"/setup.py "${TEST_DIR}"/lib/ || die
+ cp -r "${S}"/tests "${TEST_DIR}"/lib/ || die
+ py.test || die
+}
diff --git a/dev-python/line_profiler/line_profiler-9999.ebuild b/dev-python/line_profiler/line_profiler-9999.ebuild
index 51b1bd9..52f8cef 100644
--- a/dev-python/line_profiler/line_profiler-9999.ebuild
+++ b/dev-python/line_profiler/line_profiler-9999.ebuild
@@ -5,18 +5,11 @@
EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
-inherit distutils-r1
+inherit distutils-r1 git-r3
DESCRIPTION="Line-by-line profiling for Python"
HOMEPAGE="https://github.com/rkern/line_profiler"
-
-if [ ${PV} == "9999" ] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/rkern/${PN}.git git://github.com/rkern/${PN}.git"
-else
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
+EGIT_REPO_URI="https://github.com/rkern/${PN}.git git://github.com/rkern/${PN}.git"
LICENSE="BSD"
SLOT="0"
next reply other threads:[~2015-09-23 10:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-23 10:19 Justin Lecher [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-11-17 15:46 [gentoo-commits] proj/sci:master commit in: dev-python/line_profiler/ Justin Lecher
2015-08-27 15:01 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=1442990576.ec6467ba827183d75a60172cef8165a1d7fa67a7.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