From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7FE731382C5 for ; Thu, 5 Apr 2018 12:31:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88E34E0C87; Thu, 5 Apr 2018 12:31:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 63373E0C87 for ; Thu, 5 Apr 2018 12:31:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EC8C4335C59 for ; Thu, 5 Apr 2018 12:31:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4833C27B for ; Thu, 5 Apr 2018 12:31:05 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1522930852.ad36b2ad4ebe0aeca7b9e8deeb570e8a8fe167f4.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/spec-cleaner/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/spec-cleaner/spec-cleaner-9999.ebuild X-VCS-Directories: dev-util/spec-cleaner/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: ad36b2ad4ebe0aeca7b9e8deeb570e8a8fe167f4 X-VCS-Branch: master Date: Thu, 5 Apr 2018 12:31:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: dcc2aea9-6dc8-490d-aa78-39f95470b19a X-Archives-Hash: 46dc9aa700b59bde46da6f32f7460257 commit: ad36b2ad4ebe0aeca7b9e8deeb570e8a8fe167f4 Author: Michael Vetter iodoru org> AuthorDate: Thu Apr 5 11:31:24 2018 +0000 Commit: Andreas Sturmlechner gentoo 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 }