public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Louis Sautier" <sbraz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/inflection/
Date: Wed, 20 Jun 2018 19:09:09 +0000 (UTC)	[thread overview]
Message-ID: <1529521742.1cba96e71a9587c7bebc282c68fefa639d90dc0b.sbraz@gentoo> (raw)

commit:     1cba96e71a9587c7bebc282c68fefa639d90dc0b
Author:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 20 19:07:47 2018 +0000
Commit:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Wed Jun 20 19:09:02 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cba96e7

dev-python/inflection: Support PyPy{,3}, fix DESCRIPTION

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-python/inflection/inflection-0.3.1.ebuild | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/dev-python/inflection/inflection-0.3.1.ebuild b/dev-python/inflection/inflection-0.3.1.ebuild
index 864ac21bea5..b66262a9962 100644
--- a/dev-python/inflection/inflection-0.3.1.ebuild
+++ b/dev-python/inflection/inflection-0.3.1.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+EAPI=7
+PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6}} )
 
 inherit distutils-r1
 
-DESCRIPTION="A port of Ruby on Rails inflector to Python"
+DESCRIPTION="A port of Ruby on Rails' inflector to Python"
 HOMEPAGE="https://github.com/jpvanhal/inflection"
 # PyPI tarballs don't include doc
 # https://github.com/jpvanhal/inflection/pull/12
@@ -28,14 +28,12 @@ DEPEND="
 "
 
 python_compile_all() {
-	use doc && emake -C docs html
+	if use doc; then
+		sphinx-build docs docs/_build/html || die
+		HTML_DOCS=( docs/_build/html/. )
+	fi
 }
 
 python_test() {
 	py.test || die "Tests failed with ${EPYTHON}"
 }
-
-python_install_all() {
-	use doc && local HTML_DOCS=( docs/_build/html/. )
-	distutils-r1_python_install_all
-}


             reply	other threads:[~2018-06-20 19:09 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-20 19:09 Louis Sautier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-27 20:58 [gentoo-commits] repo/gentoo:master commit in: dev-python/inflection/ Michał Górny
2024-06-14 19:07 Michał Górny
2023-05-31 17:43 Michał Górny
2022-06-16  8:05 Michał Górny
2022-05-25 10:58 Andrew Ammerlaan
2021-05-09 11:35 Michał Górny
2020-09-18 15:19 Michał Górny
2020-08-24 13:21 Louis Sautier
2020-06-06 21:08 Louis Sautier
2020-06-06 21:08 Louis Sautier
2020-04-13 12:13 Louis Sautier
2020-02-05 14:38 Michał Górny
2018-07-24 23:41 Louis Sautier
2018-06-20 19:10 Louis Sautier
2017-05-07 20:32 Manuel Rüger
2016-04-29  7:10 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=1529521742.1cba96e71a9587c7bebc282c68fefa639d90dc0b.sbraz@gentoo \
    --to=sbraz@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