From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pep8/
Date: Sun, 2 Aug 2020 09:15:25 +0000 (UTC) [thread overview]
Message-ID: <1596358982.b3e5d7fbdf5e5cba3463154954dd78379f31c614.mgorny@gentoo> (raw)
commit: b3e5d7fbdf5e5cba3463154954dd78379f31c614
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 2 09:03:02 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Aug 2 09:03:02 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3e5d7fb
dev-python/pep8: Recombine impls into a single ebuild
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pep8/pep8-1.7.1-r1.ebuild | 28 ----------------------------
dev-python/pep8/pep8-1.7.1.ebuild | 27 +++++++++------------------
2 files changed, 9 insertions(+), 46 deletions(-)
diff --git a/dev-python/pep8/pep8-1.7.1-r1.ebuild b/dev-python/pep8/pep8-1.7.1-r1.ebuild
deleted file mode 100644
index 66396c091a9..00000000000
--- a/dev-python/pep8/pep8-1.7.1-r1.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{7,8} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Python style guide checker"
-HOMEPAGE="https://github.com/PyCQA/pep8 https://pypi.org/project/pep8/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-
-distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
-distutils_enable_tests pytest
-
-python_prepare_all() {
- # AssertionError: 7 is not false : 7 failure(s)
- sed -i -e 's:test_checkers_testsuite:_&:' \
- testsuite/test_all.py || die
-
- distutils-r1_python_prepare_all
-}
diff --git a/dev-python/pep8/pep8-1.7.1.ebuild b/dev-python/pep8/pep8-1.7.1.ebuild
index c7f91c06a17..b8c60182e65 100644
--- a/dev-python/pep8/pep8-1.7.1.ebuild
+++ b/dev-python/pep8/pep8-1.7.1.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{6,7} pypy3 )
+PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
inherit distutils-r1
@@ -15,23 +15,14 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="doc"
-DEPEND="${RDEPEND}
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
+distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
+distutils_enable_tests pytest
-python_compile_all() {
- use doc && emake -C docs html
-}
-
-python_test() {
- PYTHONPATH="${S}" "${PYTHON}" pep8.py -v --statistics pep8.py || die
- PYTHONPATH="${S}" "${PYTHON}" pep8.py -v --testsuite=testsuite || die
- PYTHONPATH="${S}" "${PYTHON}" pep8.py --doctest -v || die
- esetup.py test
-}
+python_prepare_all() {
+ # AssertionError: 7 is not false : 7 failure(s)
+ sed -i -e 's:test_checkers_testsuite:_&:' \
+ testsuite/test_all.py || die
-python_install_all() {
- use doc && local HTML_DOCS=( docs/_build/html/. )
- distutils-r1_python_install_all
+ distutils-r1_python_prepare_all
}
next reply other threads:[~2020-08-02 9:15 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-02 9:15 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-12-11 12:55 [gentoo-commits] repo/gentoo:master commit in: dev-python/pep8/ Michał Górny
2020-08-02 8:36 Michał Górny
2020-07-17 4:14 Matt Turner
2020-03-28 11:59 Michał Górny
2020-03-28 11:59 Michał Górny
2020-03-28 11:59 Michał Górny
2020-03-28 11:59 Michał Górny
2020-03-25 15:42 Agostino Sarubbo
2020-03-25 14:17 Agostino Sarubbo
2020-01-28 20:02 Andreas Sturmlechner
2019-03-20 18:48 Mikle Kolyada
2019-03-03 11:02 Mikle Kolyada
2019-01-28 0:25 Matthew Thode
2018-07-19 22:04 Patrice Clement
2017-09-28 13:42 Michael Palimaka
2017-07-31 9:33 Tobias Klausmann
2017-07-14 21:35 Alexis Ballier
2017-07-08 13:54 Alexis Ballier
2017-03-22 19:48 Markus Meier
2017-02-27 3:53 Zac Medico
2016-02-09 9:33 Justin Lecher
2016-01-14 9:53 Justin Lecher
2015-11-18 10:19 Agostino Sarubbo
2015-10-31 13:46 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=1596358982.b3e5d7fbdf5e5cba3463154954dd78379f31c614.mgorny@gentoo \
--to=mgorny@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