public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nose_fixes/
Date: Fri, 24 Apr 2020 20:13:11 +0000 (UTC)	[thread overview]
Message-ID: <1587759174.7b51c2cafa9cb9688f3234d1851a2f1682b59c8a.mgorny@gentoo> (raw)

commit:     7b51c2cafa9cb9688f3234d1851a2f1682b59c8a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 24 19:36:20 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Apr 24 20:12:54 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b51c2ca

dev-python/nose_fixes: Enable py3.{7,8}, modernize

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/nose_fixes/nose_fixes-1.3.ebuild | 27 ++++++---------------------
 1 file changed, 6 insertions(+), 21 deletions(-)

diff --git a/dev-python/nose_fixes/nose_fixes-1.3.ebuild b/dev-python/nose_fixes/nose_fixes-1.3.ebuild
index 5abc2100e90..15b6fcc2314 100644
--- a/dev-python/nose_fixes/nose_fixes-1.3.ebuild
+++ b/dev-python/nose_fixes/nose_fixes-1.3.ebuild
@@ -1,9 +1,10 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-PYTHON_COMPAT=( python3_6 pypy3 )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
 
 inherit distutils-r1
 
@@ -14,10 +15,8 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="amd64 x86"
-IUSE="doc"
 
 RDEPEND="
-	dev-python/setuptools[${PYTHON_USEDEP}]
 	dev-python/nose[${PYTHON_USEDEP}]"
 DEPEND="
 	${RDEPEND}
@@ -26,20 +25,6 @@ DEPEND="
 		dev-python/pkginfo[${PYTHON_USEDEP}]
 	)"
 
-python_prepare_all() {
-	sed -e 's:../bin/sphinx-build:/usr/bin/sphinx-build:' -i docs/Makefile || die
-	distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
-	use doc && emake -C docs html
-}
-
-python_install_all() {
-	use doc && local HTML_DOCS=( docs/_build/html/. )
-	distutils-r1_python_install_all
-}
-
-python_test() {
-	nosetests || die
-}
+distutils_enable_sphinx docs \
+	dev-python/pkginfo
+distutils_enable_tests nose


             reply	other threads:[~2020-04-24 20:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-24 20:13 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-05-19 18:09 [gentoo-commits] repo/gentoo:master commit in: dev-python/nose_fixes/ Sam James
2021-03-04  4:19 Sam James
2021-03-04  4:19 Sam James
2020-02-05 16:53 Michał Górny
2017-05-16 12:02 Manuel Rüger
2016-10-11 17:09 Patrice Clement
2016-02-24  9:23 Justin Lecher
2015-09-21  9:55 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=1587759174.7b51c2cafa9cb9688f3234d1851a2f1682b59c8a.mgorny@gentoo \
    --to=mgorny@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