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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 37DC2158093 for ; Sat, 2 Jul 2022 14:07:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A079E0B19; Sat, 2 Jul 2022 14:07:12 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5ED13E0B19 for ; Sat, 2 Jul 2022 14:07:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5BE3C341CAC for ; Sat, 2 Jul 2022 14:07:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 950374FB for ; Sat, 2 Jul 2022 14:07:09 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1656770736.383c3a48522e0503c2e45a7e3e78aa96c25602bc.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyjsparser/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyjsparser/pyjsparser-2.7.1_p20190421-r1.ebuild dev-python/pyjsparser/pyjsparser-2.7.1_p20190421.ebuild X-VCS-Directories: dev-python/pyjsparser/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 383c3a48522e0503c2e45a7e3e78aa96c25602bc X-VCS-Branch: master Date: Sat, 2 Jul 2022 14:07:09 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6681dd35-d5be-4a4b-bf8a-40d44bfc5269 X-Archives-Hash: f498902ede457ac62967018decbd0916 commit: 383c3a48522e0503c2e45a7e3e78aa96c25602bc Author: Maciej Barć gentoo org> AuthorDate: Sat Jul 2 14:01:56 2022 +0000 Commit: Maciej Barć gentoo org> CommitDate: Sat Jul 2 14:05:36 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=383c3a48 dev-python/pyjsparser: add missing PYTHON_USEDEP for tests bump to EAPI 8; minor style tweaks Signed-off-by: Maciej Barć gentoo.org> ...1.ebuild => pyjsparser-2.7.1_p20190421-r1.ebuild} | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421.ebuild b/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421-r1.ebuild similarity index 58% rename from dev-python/pyjsparser/pyjsparser-2.7.1_p20190421.ebuild rename to dev-python/pyjsparser/pyjsparser-2.7.1_p20190421-r1.ebuild index 9318b52029a1..8b2a6183601a 100644 --- a/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421.ebuild +++ b/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421-r1.ebuild @@ -1,20 +1,18 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 - -MY_COMMIT="5465d037b30e334cb0997f2315ec1e451b8ad4c1" +EAPI=8 +H=5465d037b30e334cb0997f2315ec1e451b8ad4c1 PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="Fast javascript parser based on esprima.js" -HOMEPAGE=" - https://github.com/PiotrDabkowski/pyjsparser/ - https://pypi.org/project/pyjsparser/ -" -SRC_URI="https://github.com/PiotrDabkowski/${PN}/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" +HOMEPAGE="https://github.com/PiotrDabkowski/pyjsparser/ + https://pypi.org/project/pyjsparser/" +SRC_URI="https://github.com/PiotrDabkowski/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/${PN}-${H} RESTRICT="!test? ( test )" LICENSE="MIT" @@ -24,13 +22,11 @@ IUSE="test" BDEPEND=" test? ( - dev-python/js2py - dev-python/pytest + dev-python/js2py[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] ) " -S="${WORKDIR}/${PN}-${MY_COMMIT}" - python_test() { "${EPYTHON}" ./test_runner.py || die "tests failed with ${EPYTHON}" }