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 D1D4B138336 for ; Thu, 27 Dec 2018 06:58:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 719A7E09C7; Thu, 27 Dec 2018 06:58:27 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 2F471E09C7 for ; Thu, 27 Dec 2018 06:58:27 +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 926C4335C8C for ; Thu, 27 Dec 2018 06:58:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 503264FA for ; Thu, 27 Dec 2018 06:58:23 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1545893868.6407a8ffa6f7ba5242b9719c6bb633c424d826cb.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyte/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyte/Manifest dev-python/pyte/pyte-0.8.0-r1.ebuild dev-python/pyte/pyte-0.8.0.ebuild X-VCS-Directories: dev-python/pyte/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: 6407a8ffa6f7ba5242b9719c6bb633c424d826cb X-VCS-Branch: master Date: Thu, 27 Dec 2018 06:58:23 +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: 2629ab02-cc14-4ab3-9f35-d9265239e449 X-Archives-Hash: 7631c8b2303f7f83c2d1ed3404f9d8f8 commit: 6407a8ffa6f7ba5242b9719c6bb633c424d826cb Author: Tim Harder gentoo org> AuthorDate: Thu Dec 27 06:21:50 2018 +0000 Commit: Tim Harder gentoo org> CommitDate: Thu Dec 27 06:57:48 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6407a8ff dev-python/pyte: add python3_7 support Also, bump to EAPI 7 and use github tarball to fix tests. Signed-off-by: Tim Harder gentoo.org> dev-python/pyte/Manifest | 2 +- .../pyte/{pyte-0.8.0.ebuild => pyte-0.8.0-r1.ebuild} | 16 ++++++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/dev-python/pyte/Manifest b/dev-python/pyte/Manifest index f9b730c9b52..da77e9b99cc 100644 --- a/dev-python/pyte/Manifest +++ b/dev-python/pyte/Manifest @@ -1,2 +1,2 @@ DIST pyte-0.5.2.tar.gz 42719 BLAKE2B 00995c8427ade8a44dbc6dea4bea058431adb1409fbddc90b70ecd3cf4968632d66e4f21140ca5c071ea927208d40ed55606cf2d604f931970f99128c2b2dba8 SHA512 da903b31bb67e60bc8271c162f3429871d0def039cec5f63f07764fce1994236063876eb069a88783a4c7d8b0eac0646549c00f2a51ab8630287d852f05f4b0d -DIST pyte-0.8.0.tar.gz 50415 BLAKE2B 8e707d8dd598d4b76b281de1481d238448f6ed07daa962647e61e7f5ad62da67a08112db7e21cb3522e5719514975a9b01ec06ff1cf2222590e02d9ff434369e SHA512 b1c23206f32c49ab509ac9bd4e042b043478cae35594c52c8389f5a5ba15cd0895315c42be5a0f2992b3aaa918ae282e43e88e72798a0b600307860f6df06465 +DIST pyte-0.8.0.tar.gz 91320 BLAKE2B b973050912c7d3b67393208a5b17f382705fe78964528e003b71addc12586353a3a9c7eeb68c224dfb945b5f9d3b52823cd254885dd5ac6901be119583a71a2e SHA512 c488fd0a61c1dc34b27e12ed9ba1109bb2c331626c982da06e7540bdd168008cb5106a17c71e60e38c493f2dd9f21ba3cf05118928744dfa192d62e511b4c4e8 diff --git a/dev-python/pyte/pyte-0.8.0.ebuild b/dev-python/pyte/pyte-0.8.0-r1.ebuild similarity index 56% rename from dev-python/pyte/pyte-0.8.0.ebuild rename to dev-python/pyte/pyte-0.8.0-r1.ebuild index 7de14fd4a96..9c9700af2e5 100644 --- a/dev-python/pyte/pyte-0.8.0.ebuild +++ b/dev-python/pyte/pyte-0.8.0-r1.ebuild @@ -1,15 +1,17 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} ) inherit distutils-r1 DESCRIPTION="Simple VTXXX-compatible terminal emulator" HOMEPAGE="https://pypi.org/project/pyte/ https://github.com/selectel/pyte" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +# use github tarball as pypi is missing test data +SRC_URI="https://github.com/selectel/pyte/archive/${PV}.tar.gz -> ${P}.tar.gz" SLOT="0" LICENSE="LGPL-3" @@ -18,15 +20,17 @@ IUSE="test" RDEPEND="dev-python/wcwidth[${PYTHON_USEDEP}]" DEPEND="${RDEPEND} - dev-python/pytest-runner[${PYTHON_USEDEP}] dev-python/setuptools_scm[${PYTHON_USEDEP}] test? ( dev-python/pytest[${PYTHON_USEDEP}] ) " python_prepare_all() { + # run pytest directly for tests + sed -i '/setup_requires=\["pytest-runner"\]/d' setup.py || die + distutils-r1_python_prepare_all } python_test() { - esetup.py test --verbose + py.test -v || die "tests failed with ${EPYTHON}" }