public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/xlwt/
Date: Sat,  6 Jun 2020 16:29:40 +0000 (UTC)	[thread overview]
Message-ID: <1591460977.1c0787a4fb9fa423567cf841e4792a3afb3c9bd1.pacho@gentoo> (raw)

commit:     1c0787a4fb9fa423567cf841e4792a3afb3c9bd1
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  6 16:29:26 2020 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Jun  6 16:29:37 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c0787a4

dev-python/xlwt: Support newer python

-r0 also supports newer python, adding them allow reverse deps still neeing
py2 support to coexist with packages needing py > 3.8, while keeping -r1 py3
only for people not having py3 consumers.

Also backport fixes from -r1 ebuild

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 dev-python/xlwt/xlwt-1.3.0.ebuild | 36 +++++-------------------------------
 1 file changed, 5 insertions(+), 31 deletions(-)

diff --git a/dev-python/xlwt/xlwt-1.3.0.ebuild b/dev-python/xlwt/xlwt-1.3.0.ebuild
index f6160030c63..8c36c7f3763 100644
--- a/dev-python/xlwt/xlwt-1.3.0.ebuild
+++ b/dev-python/xlwt/xlwt-1.3.0.ebuild
@@ -2,9 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-
-PYTHON_COMPAT=( python2_7 python3_{6,7} )
-
+PYTHON_COMPAT=( python2_7 python3_{6..9} )
 inherit distutils-r1
 
 DESCRIPTION="Python library to create spreadsheet files compatible with Excel"
@@ -14,37 +12,13 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="amd64 arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-	dev-python/setuptools[${PYTHON_USEDEP}]
-	doc? (
-		>=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}]
-		dev-python/pkginfo[${PYTHON_USEDEP}]
-	)
-	test? ( dev-python/nose[${PYTHON_USEDEP}] )"
-
-# Prevent d'loading in the doc build
-PATCHES=( "${FILESDIR}/${PN}-1.3.0-no-intersphinx.patch" )
-
-python_prepare_all() {
-	# Don't install documentation and examples in site-packages directories.
-	sed -e "/package_data/d" -i setup.py || die
+IUSE="examples"
 
-	distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
-	use doc && emake -C docs html
-}
-
-python_test() {
-	nosetests tests || die "tests failed under ${EPYTHON}}"
-}
+distutils_enable_sphinx docs \
+	dev-python/pkginfo
+distutils_enable_tests nose
 
 python_install_all() {
-	use doc && local HTML_DOCS=( docs/_build/html/. )
 	if use examples; then
 		dodoc -r examples
 		docompress -x /usr/share/doc/${PF}


             reply	other threads:[~2020-06-06 16:29 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-06 16:29 Pacho Ramos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-23 16:51 [gentoo-commits] repo/gentoo:master commit in: dev-python/xlwt/ Michał Górny
2024-05-29 19:47 Petr Vaněk
2023-06-01 14:37 Michał Górny
2023-02-19 19:46 Michał Górny
2023-02-19 19:46 Michał Górny
2023-02-19 19:46 Michał Górny
2022-12-05  5:30 WANG Xuerui
2022-05-19  7:23 Michał Górny
2022-03-31 16:03 Michał Górny
2022-03-31 14:09 Jakov Smolić
2022-02-26  8:34 Michał Górny
2021-09-07 18:34 Sam James
2021-09-06 23:49 Sam James
2021-08-17  1:42 Sam James
2021-07-28 15:58 Sergei Trofimovich
2021-07-12 23:53 Marek Szuba
2021-06-20  1:55 Sam James
2021-05-07 11:58 Michał Górny
2020-09-18 15:53 Michał Górny
2020-06-05 16:24 Michał Górny
2020-05-11 18:33 Mart Raudsepp
2020-05-03 12:30 Agostino Sarubbo
2020-05-03 10:30 Agostino Sarubbo
2020-05-03 10:21 Agostino Sarubbo
2020-05-03 10:12 Agostino Sarubbo
2020-05-03 10:01 Agostino Sarubbo
2020-03-29 12:22 Michał Górny
2020-03-29 12:22 Michał Górny
2020-03-25 14:52 Agostino Sarubbo
2020-03-25 13:27 Agostino Sarubbo
2020-03-25 13:12 Agostino Sarubbo
2020-03-01  3:47 Andrey Grozin
2019-05-08 14:06 Virgil Dupras
2018-03-21  5:55 Markus Meier
2017-12-28 14:03 Sergei Trofimovich
2017-12-28 12:29 Sergei Trofimovich
2017-12-02 20:55 Mike Gilbert
2017-11-30 19:02 Thomas Deutschmann
2017-11-25 21:44 David Seifert
2017-07-29 12:40 Alexis Ballier
2017-05-02 11:58 Michał Górny
2016-12-11  9:14 Justin Lecher
2015-11-12 10:11 Agostino Sarubbo
2015-11-11  9:40 Agostino Sarubbo
2015-11-07 12:09 Markus Meier
2015-10-27 15:20 Agostino Sarubbo
2015-10-19 16:29 Justin Lecher
2015-10-15 12:01 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=1591460977.1c0787a4fb9fa423567cf841e4792a3afb3c9bd1.pacho@gentoo \
    --to=pacho@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