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 1A0AD1396D0 for ; Fri, 22 Sep 2017 13:12:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3FD671FC171; Fri, 22 Sep 2017 13:12:08 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 1E4481FC171 for ; Fri, 22 Sep 2017 13:12:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 3CFEB33BE4E for ; Fri, 22 Sep 2017 13:12:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D8BA58F9D for ; Fri, 22 Sep 2017 13:12:05 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1506085912.66891be3579ad9e3b23be786627286757c2de38c.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/humanize/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/humanize/humanize-0.5.1.ebuild dev-python/humanize/metadata.xml X-VCS-Directories: dev-python/humanize/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 66891be3579ad9e3b23be786627286757c2de38c X-VCS-Branch: master Date: Fri, 22 Sep 2017 13:12:05 +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-Archives-Salt: d5089d24-9f70-4294-9a6e-c445961038f3 X-Archives-Hash: 4e95a173130b63f744f5ad862863c819 commit: 66891be3579ad9e3b23be786627286757c2de38c Author: Louis Sautier gmail com> AuthorDate: Mon Sep 18 08:23:13 2017 +0000 Commit: Patrice Clement gentoo org> CommitDate: Fri Sep 22 13:11:52 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66891be3 dev-python/humanize: add py3.6 and pypy{,3} to PYTHON_COMPAT and add doc support. Package-Manager: Portage-2.3.8, Repoman-2.3.3 Closes: https://github.com/gentoo/gentoo/pull/5729 dev-python/humanize/humanize-0.5.1.ebuild | 19 ++++++++++++++++--- dev-python/humanize/metadata.xml | 1 - 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/dev-python/humanize/humanize-0.5.1.ebuild b/dev-python/humanize/humanize-0.5.1.ebuild index 7d99b12bad0..cddd0815cf3 100644 --- a/dev-python/humanize/humanize-0.5.1.ebuild +++ b/dev-python/humanize/humanize-0.5.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} ) inherit distutils-r1 @@ -16,8 +16,21 @@ SRC_URI="https://github.com/jmoiron/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" +IUSE="doc test" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/mock[${PYTHON_USEDEP}] ) +" + +python_compile_all() { + if use doc; then + cd docs || die + sphinx-build . _build/html || die + HTML_DOCS=( docs/_build/html/. ) + fi +} python_test() { esetup.py test || die "tests failed with ${EPYTHON}" diff --git a/dev-python/humanize/metadata.xml b/dev-python/humanize/metadata.xml index abab48e71c8..1957b0b1230 100644 --- a/dev-python/humanize/metadata.xml +++ b/dev-python/humanize/metadata.xml @@ -4,7 +4,6 @@ sautier.louis@gmail.com Louis Sautier - Proxied maintainer; set to assignee in all bugs proxy-maint@gentoo.org