public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-distutils-extra/
Date: Fri, 20 Jan 2017 18:41:22 +0000 (UTC)	[thread overview]
Message-ID: <1484937676.d8980181a9dbdac711c70504984e20c40d9c5fb2.soap@gentoo> (raw)

commit:     d8980181a9dbdac711c70504984e20c40d9c5fb2
Author:     Louis Sautier <sautier.louis <AT> gmail <DOT> com>
AuthorDate: Fri Jan 20 01:05:10 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Jan 20 18:41:16 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8980181

dev-python/python-distutils-extra: bump to 2.39, add py3.5, pypy3

Also update LICENSE, remove useless DISTUTILS_IN_SOURCE_BUILD,
use pytest to exclude broken tests, bump to EAPI=6.

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3555

 dev-python/python-distutils-extra/Manifest         |  1 +
 dev-python/python-distutils-extra/metadata.xml     |  1 +
 .../python-distutils-extra-2.39.ebuild             | 55 ++++++++++++++++++++++
 3 files changed, 57 insertions(+)

diff --git a/dev-python/python-distutils-extra/Manifest b/dev-python/python-distutils-extra/Manifest
index f007fc1..8bf1660 100644
--- a/dev-python/python-distutils-extra/Manifest
+++ b/dev-python/python-distutils-extra/Manifest
@@ -1 +1,2 @@
 DIST python-distutils-extra-2.38.tar.gz 27748 SHA256 3d100d5d3492f40b3e7a6a4500f71290bfa91e2c50dc31ba8e3ff9b5d82ca153 SHA512 bbaea59a8f251f354e6cf3799b67c12225095cc869c7c4e299e719ad7bcfd1292cff99f95ab25f04fb9c3e2432da5ea614ee76154781388c47960fdf2c90a3d7 WHIRLPOOL 10ca7754985aa634aaef7f7fc80777ca4a2b79ecc11e80c48bb2e6c1765cc9f38fbf9696957f974533f50f06db3d1bdb6527f1ed6dbe05619f3d0a17184b885d
+DIST python-distutils-extra-2.39.tar.gz 27389 SHA256 723f24f4d65fc8d99b33a002fbbb3771d4cc9d664c97085bf37f3997ae8063af SHA512 e3b4d1ed22767fb4c6dbbdccef960865b6fda01d18dc38cb8f9357c09c7eabb78466fce053e407a196eca257d07d57c5c1ef47f358a5979c7f22e4b11775124e WHIRLPOOL a485aa70267eaed03dc1174b73ab482ae409aeed5fcbbe82ab4ab377d8a8f91e1fa8aa3b9bb9af8c9b6bc3bc306284974d99943473afdce7f1d6b7322edd0623

diff --git a/dev-python/python-distutils-extra/metadata.xml b/dev-python/python-distutils-extra/metadata.xml
index ea8f049..930ec08 100644
--- a/dev-python/python-distutils-extra/metadata.xml
+++ b/dev-python/python-distutils-extra/metadata.xml
@@ -7,5 +7,6 @@
 	</maintainer>
 	<upstream>
 		<remote-id type="launchpad">python-distutils-extra</remote-id>
+		<bugs-to>https://bugs.launchpad.net/python-distutils-extra</bugs-to>
 	</upstream>
 </pkgmetadata>

diff --git a/dev-python/python-distutils-extra/python-distutils-extra-2.39.ebuild b/dev-python/python-distutils-extra/python-distutils-extra-2.39.ebuild
new file mode 100644
index 00000000..d039db3
--- /dev/null
+++ b/dev-python/python-distutils-extra/python-distutils-extra-2.39.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy{,3} )
+
+inherit distutils-r1
+
+DESCRIPTION="Gettext support, themed icons and scrollkeeper-based documentation in distutils"
+HOMEPAGE="https://launchpad.net/python-distutils-extra"
+SRC_URI="https://launchpad.net/python-distutils-extra/trunk/${PV}/+download/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="test"
+
+DEPEND="
+	dev-python/setuptools[${PYTHON_USEDEP}]
+	test? (
+		dev-python/pytest-runner[${PYTHON_USEDEP}]
+		dev-python/pytest[${PYTHON_USEDEP}]
+	)
+"
+
+DOCS=( doc/{README,FAQ} )
+
+python_prepare_all() {
+	# This line is run when the file is imported
+	# https://bugs.launchpad.net/python-distutils-extra/+bug/1657919
+	sed -i '/^unittest.main()$/d' test/auto.py || die
+
+	distutils-r1_python_prepare_all
+}
+
+python_test() {
+	# 5 tests fail with disabled byte-compilation (they rely on exact
+	# output from python).
+	# The other 4 are broken.
+	py.test -k "not (test_pot_manual or test_pot_auto_explicit or \
+		test_pot_auto or test_modules or test_packages) and not \
+		(test_desktop or test_po or test_policykit or \
+		test_requires_provides)" test/auto.py || \
+		die "tests failed with ${EPYTHON}"
+}
+
+python_install_all() {
+	distutils-r1_python_install_all
+
+	docinto examples
+	dodoc doc/{setup.cfg.example,setup.py.example}
+	docompress -x /usr/share/doc/${PF}/examples
+}


             reply	other threads:[~2017-01-20 18:41 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-20 18:41 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-09 17:41 [gentoo-commits] repo/gentoo:master commit in: dev-python/python-distutils-extra/ Conrad Kostecki
2024-03-09 17:41 Conrad Kostecki
2024-02-10  6:58 Ionen Wolkens
2024-01-25  9:21 Sam James
2024-01-24  4:57 Ionen Wolkens
2024-01-05 13:21 Jakov Smolić
2023-11-24 15:46 Michał Górny
2022-08-28  5:06 WANG Xuerui
2022-07-10 18:50 Michał Górny
2022-07-10 16:56 Sam James
2022-06-18  6:47 Michał Górny
2022-06-05 14:11 Michał Górny
2022-06-05 14:11 Michał Górny
2021-07-01 21:16 Conrad Kostecki
2021-01-08 12:40 Michał Górny
2020-08-02  9:15 Michał Górny
2020-06-22 15:36 Michał Górny
2020-05-11 17:48 Michał Górny
2020-05-11 11:38 Agostino Sarubbo
2020-05-08 17:54 Michał Górny
2020-05-06  7:01 Sergei Trofimovich
2020-04-30 11:58 Michał Górny
2020-04-28 13:10 Agostino Sarubbo
2020-04-28  9:09 Michał Górny
2020-04-28  9:09 Michał Górny
2020-04-28  5:45 Michał Górny
2020-04-27 12:03 Michał Górny
2020-03-28 21:11 Michał Górny
2020-02-12  7:51 Agostino Sarubbo
2019-12-15 13:10 Conrad Kostecki
2019-11-17 20:45 Steve Arnold
2019-10-13 17:52 Joonas Niilola
2019-08-11 19:02 Michał Górny
2019-08-11 19:02 Michał Górny
2017-09-17 21:09 Matt Turner
2017-09-12 23:02 Matt Turner
2017-07-15 17:25 Tobias Klausmann
2017-06-18 10:05 Pacho Ramos
2016-11-09 14:04 Pacho Ramos

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=1484937676.d8980181a9dbdac711c70504984e20c40d9c5fb2.soap@gentoo \
    --to=soap@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