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 02FDC138350 for ; Sat, 29 Feb 2020 21:41:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D8C51E09AE; Sat, 29 Feb 2020 21:41:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 A7C5BE09AE for ; Sat, 29 Feb 2020 21:41:56 +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 2365634F0A2 for ; Sat, 29 Feb 2020 21:41:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C286310A for ; Sat, 29 Feb 2020 21:41:52 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1583012330.c043dfccbb7b30f722eb4e7e267225558db130c7.sping@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/doublex/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/doublex/Manifest dev-python/doublex/doublex-1.9.2.ebuild X-VCS-Directories: dev-python/doublex/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: c043dfccbb7b30f722eb4e7e267225558db130c7 X-VCS-Branch: master Date: Sat, 29 Feb 2020 21:41:52 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 05ee4c8e-7863-4a24-9a88-e303787408df X-Archives-Hash: 18f6a70dabce9d7d3f78e18d59d3a46d commit: c043dfccbb7b30f722eb4e7e267225558db130c7 Author: Sebastian Pipping gentoo org> AuthorDate: Sat Feb 29 21:32:53 2020 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Sat Feb 29 21:38:50 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c043dfcc dev-python/doublex: 1.9.2 + EAPI 7 + py37 Bug: https://bugs.gentoo.org/711092 Signed-off-by: Sebastian Pipping gentoo.org> Package-Manager: Portage-2.3.84, Repoman-2.3.20 dev-python/doublex/Manifest | 1 + dev-python/doublex/doublex-1.9.2.ebuild | 42 +++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-python/doublex/Manifest b/dev-python/doublex/Manifest index b75a1fe16d9..61bc4b3c915 100644 --- a/dev-python/doublex/Manifest +++ b/dev-python/doublex/Manifest @@ -1 +1,2 @@ DIST doublex-1.8.1.tar.gz 69685 BLAKE2B 38f80ac0cf68dc2401eaa8051542c91d382e9ba22ed229b3c12a192f0b180b33a5660e54f647b2273401500a3292619d918dde9b0f685807217bca40e1aafbfc SHA512 30d2b572862370da8402cc2cfa5481d3278f0fefd2d5b2f5be126a793c8e165df0e2ae6089ba321e71d994f14024b882933c1523f7a0b9e341bf75644b49e073 +DIST doublex-1.9.2.tar.gz 80246 BLAKE2B 7fc1c4e6d117bee13e7125b634293aa7c9d1016c9cd5201f047143bcb1fae1e9607bf0a030cbaa2d6eb930474babe29aaf244433aba57ae4325a3a43af2fdf56 SHA512 0278f756930b0d5c3da676e3908ccc17b919c14f740aace3002f5117fa341ac52fe16fdaa2c3b36029757dd1dc2f36d8d35cdc8664fcfdbcafd4809d2fc969b0 diff --git a/dev-python/doublex/doublex-1.9.2.ebuild b/dev-python/doublex/doublex-1.9.2.ebuild new file mode 100644 index 00000000000..6c9f288231a --- /dev/null +++ b/dev-python/doublex/doublex-1.9.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# tests are failing with Python 3.8 +# https://bitbucket.org/DavidVilla/python-doublex/issues/5/support-for-python-36-36-38-tests-failing +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 vcs-snapshot + +DESCRIPTION="Python test doubles" +HOMEPAGE="https://bitbucket.org/DavidVilla/python-doublex" +SRC_URI="https://bitbucket.org/DavidVilla/python-${PN}/get/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc test" +RESTRICT="!test? ( test )" + +CDEPEND="dev-python/pyhamcrest[${PYTHON_USEDEP}]" +DEPEND=" + ${CDEPEND} + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/nose[${PYTHON_USEDEP}] ) +" +RDEPEND="${CDEPEND}" + +distutils_enable_tests setup.py + +python_compile_all() { + use doc && emake -C docs +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + + distutils-r1_python_install_all + + rm "${ED}"/usr/README.rst || die "Couldn't remove spurious README.rst" +}