public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/spec-cleaner/
Date: Thu,  5 Apr 2018 12:31:05 +0000 (UTC)	[thread overview]
Message-ID: <1522930852.ad36b2ad4ebe0aeca7b9e8deeb570e8a8fe167f4.asturm@gentoo> (raw)

commit:     ad36b2ad4ebe0aeca7b9e8deeb570e8a8fe167f4
Author:     Michael Vetter <jubalh <AT> iodoru <DOT> org>
AuthorDate: Thu Apr  5 11:31:24 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Apr  5 12:20:52 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad36b2ad

dev-util/spec-cleaner: EAPI-6 bump, drop python2_7 support

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 dev-util/spec-cleaner/spec-cleaner-9999.ebuild | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/dev-util/spec-cleaner/spec-cleaner-9999.ebuild b/dev-util/spec-cleaner/spec-cleaner-9999.ebuild
index 61a6579ab75..297d0528ae6 100644
--- a/dev-util/spec-cleaner/spec-cleaner-9999.ebuild
+++ b/dev-util/spec-cleaner/spec-cleaner-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{3_4,3_5} )
 EGIT_REPO_URI="https://github.com/openSUSE/spec-cleaner.git"
 inherit distutils-r1
 [[ ${PV} == 9999 ]] && inherit git-r3
@@ -14,20 +14,25 @@ HOMEPAGE="https://github.com/openSUSE/spec-cleaner"
 
 LICENSE="BSD"
 SLOT="0"
-[[ ${PV} != 9999 ]] && \
+[[ ${PV} != 9999 ]] &&
 KEYWORDS="~amd64 ~x86"
 IUSE="test"
 
 DEPEND="
 	test? (
-		dev-python/mock[${PYTHON_USEDEP}]
-		dev-python/nose[${PYTHON_USEDEP}]
+		dev-python/pytest[${PYTHON_USEDEP}]
 	)
 "
 RDEPEND="
 	${PYTHON_DEPS}
+	>=app-arch/rpm-4.11.0.1
 "
 
+PATCHES=(
+	# pytest-runner is only needed in test scenario
+	"${FILESDIR}/${PN}-1.0.6-pytest-runner.patch"
+)
+
 [[ ${PV} != 9999 ]] && S="${WORKDIR}/${PN}-${P}"
 
 src_prepare() {
@@ -39,5 +44,5 @@ src_prepare() {
 }
 
 python_test() {
-	nosetests
+	esetup.py test
 }


             reply	other threads:[~2018-04-05 12:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-05 12:31 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-04-14  8:35 [gentoo-commits] repo/gentoo:master commit in: dev-util/spec-cleaner/ Joonas Niilola
2019-12-13 20:45 David Seifert
2018-06-26 19:04 Pacho Ramos
2018-04-12 19:58 Andreas Sturmlechner
2018-04-05 12:31 Andreas Sturmlechner
2018-04-05 12:31 Andreas Sturmlechner
2018-03-17  9:58 Pacho Ramos
2016-06-08 19:18 Tomas Chvatal
2016-04-24 20:26 Tomas Chvatal
2016-02-17 19:15 Tomas Chvatal
2015-08-09 10:28 Tomas Chvatal

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=1522930852.ad36b2ad4ebe0aeca7b9e8deeb570e8a8fe167f4.asturm@gentoo \
    --to=asturm@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