public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/plyr/
Date: Sat, 25 Apr 2020 09:07:29 +0000 (UTC)	[thread overview]
Message-ID: <1587805633.f5e2257f4b80039ca902ca950eacfa4da390a9ac.mgorny@gentoo> (raw)

commit:     f5e2257f4b80039ca902ca950eacfa4da390a9ac
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 25 08:59:01 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Apr 25 09:07:13 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5e2257f

dev-python/plyr: Enable py3.{7,8}, modernize

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/plyr/plyr-1.0.6.ebuild | 35 ++++++++---------------------------
 1 file changed, 8 insertions(+), 27 deletions(-)

diff --git a/dev-python/plyr/plyr-1.0.6.ebuild b/dev-python/plyr/plyr-1.0.6.ebuild
index 06c9e7ac8b3..249cb654b97 100644
--- a/dev-python/plyr/plyr-1.0.6.ebuild
+++ b/dev-python/plyr/plyr-1.0.6.ebuild
@@ -1,8 +1,10 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
-PYTHON_COMPAT=( python3_6 )
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=no
+PYTHON_COMPAT=( python3_{6,7,8} )
 
 inherit distutils-r1 flag-o-matic
 
@@ -13,19 +15,17 @@ DESCRIPTION="A python wrapper for Glyr"
 HOMEPAGE="https://sahib.github.io/python-glyr/intro.html
 	https://github.com/sahib/python-glyr"
 SRC_URI="https://github.com/sahib/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
 
 LICENSE="GPL-3+"
 KEYWORDS="amd64 x86"
 SLOT="0"
-IUSE="doc"
 
-RDEPEND="media-libs/glyr"
+RDEPEND="media-libs/glyr:="
 DEPEND="${RDEPEND}
-	dev-python/cython[${PYTHON_USEDEP}]
-	dev-python/setuptools[${PYTHON_USEDEP}]
-	doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
+	dev-python/cython[${PYTHON_USEDEP}]"
 
-S="${WORKDIR}/${MY_P}"
+distutils_enable_sphinx docs
 
 python_prepare_all() {
 	# Disable test requiring internet connection
@@ -33,25 +33,6 @@ python_prepare_all() {
 	distutils-r1_python_prepare_all
 }
 
-python_compile() {
-	if ! python_is_python3; then
-		local CFLAGS=${CFLAGS}
-		append-cflags -fno-strict-aliasing
-	fi
-	distutils-r1_python_compile
-}
-
-python_compile_all() {
-	if use doc; then
-		emake -C docs html
-	fi
-}
-
 python_test() {
 	"${PYTHON}" -m unittest discover tests || die "Tests fail with ${EPYTHON}"
 }
-
-python_install_all() {
-	use doc && local HTML_DOCS=( docs/build/html/. )
-	distutils-r1_python_install_all
-}


             reply	other threads:[~2020-04-25  9:07 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-25  9:07 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-08-06 12:30 [gentoo-commits] repo/gentoo:master commit in: dev-python/plyr/ Michał Górny
2023-08-06 12:30 Michał Górny
2023-05-04 16:22 Michał Górny
2022-12-02 17:31 Michał Górny
2022-06-05 16:53 Arthur Zamarin
2022-03-15 14:26 Michał Górny
2022-03-15 13:07 Jakov Smolić
2022-03-15 13:07 Jakov Smolić
2022-01-29 20:43 Michał Górny
2021-05-23 11:36 Michał Górny
2020-02-05 19:12 Michał Górny
2018-04-29  6:33 Michał Górny
2018-02-16 20:06 Jonas Stein
2017-04-26 19:37 Michał Górny
2016-04-03 10:19 Ian Delaney
2015-10-31  9:36 Ian Delaney

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=1587805633.f5e2257f4b80039ca902ca950eacfa4da390a9ac.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