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 39AFA138334 for ; Mon, 12 Aug 2019 23:29:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A139E0833; Mon, 12 Aug 2019 23:29:25 +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 29271E0833 for ; Mon, 12 Aug 2019 23:29:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 6EAC63499C1 for ; Mon, 12 Aug 2019 23:29:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C3FA6615 for ; Mon, 12 Aug 2019 23:29:20 +0000 (UTC) From: "Louis Sautier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Louis Sautier" Message-ID: <1565652549.93dcca514f05fde16947feac1c6c52d004e0f335.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/deprecation/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/deprecation/Manifest dev-python/deprecation/deprecation-2.0.7.ebuild X-VCS-Directories: dev-python/deprecation/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: 93dcca514f05fde16947feac1c6c52d004e0f335 X-VCS-Branch: master Date: Mon, 12 Aug 2019 23:29:20 +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: 8ae859f8-db03-4054-848f-8743523617fa X-Archives-Hash: 2f70e60f54ef1f2bf06f80dcb2477538 commit: 93dcca514f05fde16947feac1c6c52d004e0f335 Author: Louis Sautier gentoo org> AuthorDate: Mon Aug 12 23:28:23 2019 +0000 Commit: Louis Sautier gentoo org> CommitDate: Mon Aug 12 23:29:09 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93dcca51 dev-python/deprecation: bump to 2.0.7, adds doc Package-Manager: Portage-2.3.71, Repoman-2.3.16 Signed-off-by: Louis Sautier gentoo.org> dev-python/deprecation/Manifest | 1 + dev-python/deprecation/deprecation-2.0.7.ebuild | 43 +++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-python/deprecation/Manifest b/dev-python/deprecation/Manifest index d2de4799983..6f805c69365 100644 --- a/dev-python/deprecation/Manifest +++ b/dev-python/deprecation/Manifest @@ -1,2 +1,3 @@ DIST deprecation-1.0.1.tar.gz 9596 BLAKE2B afc4cb457ce224f120d41944e6eb71c212ef4d40d5a7c5d6d695d31bd105a4a5291daf5d3c7af0f94b58049f7e745e7e5be462495de88c48cabf5a28c22b3637 SHA512 fc35e6516e1617e2baad598a91e5d83ca95ab8a2d6a2753751d6752675de93cb44210109450a2aad9eb52b3c772a8b753c1d42ab2356c6663d2a03c4f779f086 DIST deprecation-2.0.6.tar.gz 13381 BLAKE2B 1f21a4b8bd9293d50e9068762d4f909afe02fb1f7a8f352c5b3d5d10e0da90d122927a97cf060bec626ff8538478f83740dc1d79e050fe43dc27ade8729f26d1 SHA512 69dcf5e07cfc1c746564e03063088cce65690e2b34cffe327d59edad24f00d23cf9904089ab9ff5e67dce2b6b02ed617e53959be4a907074440ddb778576aa2f +DIST deprecation-2.0.7.tar.gz 17077 BLAKE2B da3fb5db53f281c29e2af40335ef4038e37d133563b85d0ea795a314fd9f2d725a98c100aca338dc9ebe60bb1000476e0debcfdc9c4583108004df207cb36747 SHA512 4412e2e95f4aa4b3d5598346a6649c8d945d7401ac2d0fba3b6f6eef567403c8454ebe537e8de646903cd0c2308f48ecb949dae3015ba7617edd2fa3a26ed429 diff --git a/dev-python/deprecation/deprecation-2.0.7.ebuild b/dev-python/deprecation/deprecation-2.0.7.ebuild new file mode 100644 index 00000000000..7b4f8a12a27 --- /dev/null +++ b/dev-python/deprecation/deprecation-2.0.7.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy{,3} python{2_7,3_{5,6,7}} ) + +inherit distutils-r1 + +DESCRIPTION="A library to handle automated deprecations" +HOMEPAGE="https://deprecation.readthedocs.io/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="doc test" + +RDEPEND="dev-python/packaging[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + dev-python/unittest2[${PYTHON_USEDEP}] + ${RDEPEND} + ) +" + +python_prepare_all() { + sed -i "s/, 'sphinx.ext.intersphinx'//" docs/conf.py || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + if use doc; then + sphinx-build docs docs/_build/html || die + HTML_DOCS=( docs/_build/html/. ) + fi +} + +python_test() { + "${EPYTHON}" -m unittest discover -v || die "tests failed with ${EPYTHON}" +}