From: "Patrick McLean" <chutzpah@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/webencodings/
Date: Wed, 27 Nov 2019 01:13:45 +0000 (UTC) [thread overview]
Message-ID: <1574817208.e1a0fc5291b91fe024bfa29837b4209846f9ab9e.chutzpah@gentoo> (raw)
commit: e1a0fc5291b91fe024bfa29837b4209846f9ab9e
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Tue Nov 26 22:56:43 2019 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Wed Nov 27 01:13:28 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1a0fc52
dev-python/webencodings: Revbump, add py37
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
...s-0.5.1.ebuild => webencodings-0.5.1-r1.ebuild} | 22 ++++++++--------------
dev-python/webencodings/webencodings-0.5.1.ebuild | 2 ++
2 files changed, 10 insertions(+), 14 deletions(-)
diff --git a/dev-python/webencodings/webencodings-0.5.1.ebuild b/dev-python/webencodings/webencodings-0.5.1-r1.ebuild
similarity index 62%
copy from dev-python/webencodings/webencodings-0.5.1.ebuild
copy to dev-python/webencodings/webencodings-0.5.1-r1.ebuild
index 4b2dbca8302..531b0c2dbcb 100644
--- a/dev-python/webencodings/webencodings-0.5.1.ebuild
+++ b/dev-python/webencodings/webencodings-0.5.1-r1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 )
+PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} pypy{,3} )
inherit distutils-r1
@@ -13,24 +13,18 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE="test"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
-RDEPEND=""
-DEPEND="${RDEPEND}
+BDEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
- test? (
- dev-python/pytest[${PYTHON_USEDEP}]
- )"
+"
+
+distutils_enable_tests pytest
python_prepare_all(){
cat >> setup.cfg <<- EOF
- [pytest]
+ [tool:pytest]
python_files=test*.py
EOF
distutils-r1_python_prepare_all
}
-
-python_test() {
- py.test -v -v || die
-}
diff --git a/dev-python/webencodings/webencodings-0.5.1.ebuild b/dev-python/webencodings/webencodings-0.5.1.ebuild
index 4b2dbca8302..c0ea1069cb8 100644
--- a/dev-python/webencodings/webencodings-0.5.1.ebuild
+++ b/dev-python/webencodings/webencodings-0.5.1.ebuild
@@ -23,6 +23,8 @@ DEPEND="${RDEPEND}
dev-python/pytest[${PYTHON_USEDEP}]
)"
+RESTRICT="!test? ( test )"
+
python_prepare_all(){
cat >> setup.cfg <<- EOF
[pytest]
next reply other threads:[~2019-11-27 1:13 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-27 1:13 Patrick McLean [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-09 19:13 [gentoo-commits] repo/gentoo:master commit in: dev-python/webencodings/ Michał Górny
2023-05-24 8:36 Sam James
2023-03-16 4:13 Michał Górny
2022-06-13 8:23 Michał Górny
2022-06-13 7:07 Agostino Sarubbo
2022-05-11 17:54 Michał Górny
2022-05-11 17:54 Michał Górny
2021-09-25 21:27 James Le Cuirot
2021-05-07 11:58 Michał Górny
2020-07-27 10:02 Michał Górny
2020-05-26 16:23 Michał Górny
2020-05-26 16:23 Michał Górny
2020-03-29 11:51 Michał Górny
2020-03-29 11:51 Michał Górny
2020-03-29 11:51 Michał Górny
2020-03-25 15:27 Agostino Sarubbo
2020-03-25 14:52 Agostino Sarubbo
2020-03-25 13:27 Agostino Sarubbo
2020-03-25 13:12 Agostino Sarubbo
2020-03-25 12:36 Agostino Sarubbo
2020-03-25 12:23 Agostino Sarubbo
2019-11-02 8:19 Mikle Kolyada
2019-01-05 17:19 Mikle Kolyada
2018-07-22 2:14 Mikle Kolyada
2018-07-20 15:53 Tobias Klausmann
2018-07-15 10:25 Sergei Trofimovich
2018-07-14 20:10 Sergei Trofimovich
2018-07-02 21:24 Sergei Trofimovich
2018-06-30 17:55 Sergei Trofimovich
2018-05-17 13:52 Thomas Deutschmann
2018-05-16 8:35 Agostino Sarubbo
2018-02-21 18:03 Michał Górny
2018-02-21 18:03 Michał Górny
2018-01-06 13:39 Michał Górny
2017-12-20 21:53 Sergei Trofimovich
2017-11-23 22:31 Matt Turner
2017-09-22 19:40 Sergei Trofimovich
2017-07-01 11:19 Sergei Trofimovich
2017-05-26 20:56 Mart Raudsepp
2017-05-26 18:36 Markus Meier
2017-05-23 20:00 Michael Weber
2017-05-18 20:00 Michael Weber
2017-05-17 19:22 Markus Meier
2017-05-10 20:10 Jeroen Roovers
2017-05-04 17:13 Zac Medico
2016-06-29 10:46 Patrick Lauer
2016-01-15 10:44 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=1574817208.e1a0fc5291b91fe024bfa29837b4209846f9ab9e.chutzpah@gentoo \
--to=chutzpah@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