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 36746139695 for ; Fri, 10 Mar 2017 17:24:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B027E0C48; Fri, 10 Mar 2017 17:24:35 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 19B03E0BC5 for ; Fri, 10 Mar 2017 17:24:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CB6F4341236 for ; Fri, 10 Mar 2017 17:24:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3F3B86390 for ; Fri, 10 Mar 2017 17:24:32 +0000 (UTC) From: "Patrick Lauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick Lauer" Message-ID: <1489166668.57263850646bfb0a4666b2c7b1ceee1a6a06c137.patrick@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rope/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/rope/Manifest dev-python/rope/rope-0.10.5.ebuild X-VCS-Directories: dev-python/rope/ X-VCS-Committer: patrick X-VCS-Committer-Name: Patrick Lauer X-VCS-Revision: 57263850646bfb0a4666b2c7b1ceee1a6a06c137 X-VCS-Branch: master Date: Fri, 10 Mar 2017 17:24:32 +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: 0b57ffbb-f626-4044-8265-acc5be8cbe28 X-Archives-Hash: 370b430dc86bc6b543d43b837688c705 commit: 57263850646bfb0a4666b2c7b1ceee1a6a06c137 Author: Patrick Lauer gentoo org> AuthorDate: Fri Mar 10 16:44:32 2017 +0000 Commit: Patrick Lauer gentoo org> CommitDate: Fri Mar 10 17:24:28 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57263850 dev-python/rope: Bump Package-Manager: Portage-2.3.4, Repoman-2.3.2 dev-python/rope/Manifest | 1 + dev-python/rope/rope-0.10.5.ebuild | 44 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-python/rope/Manifest b/dev-python/rope/Manifest index 6a159216c58..3cbf26b8a12 100644 --- a/dev-python/rope/Manifest +++ b/dev-python/rope/Manifest @@ -1 +1,2 @@ DIST rope-0.10.3.tar.gz 226123 SHA256 eb45bea0abcf31a1a12ff087b990060e64244b835582ebc7642e6f7ea1fd65a2 SHA512 1d868aeebd086c3fc199316a71e61a8c46c76d85176557842051bb8f51d090f316df6bb84f766db5a46dc164d3e471eb90465805a102e46acb34e39b2b0ce8b4 WHIRLPOOL 16cd8b80f7f3fe729d1d3b4b5b98fcd5b6f16c818ddd67a9d460fe4947e768febf1425e8d20bf0e47c9d49a58b4ba1acac0e6640d61fc187f84fc843128c591d +DIST rope-0.10.5.tar.gz 243931 SHA256 2ff6099e65798f9e27da5026cc7136b4d9b340fc817031ccb4318f61f448127f SHA512 90a055be51834cc642f06b2bbcad4419d15605393a784a414c069a43816243badcbe5fa131bac48a5899268fcbdc11292c8469d30747614b7c85eebb8f2b6fae WHIRLPOOL bafe308c6f22805256dfe6b8b7e6d11c89afeca51837fac877fd94baa8610386f9e09fd03901271705c8b2fc72754a19e394d6e8999ec6d9f6b23d4cd8791fdd diff --git a/dev-python/rope/rope-0.10.5.ebuild b/dev-python/rope/rope-0.10.5.ebuild new file mode 100644 index 00000000000..cc5138dba16 --- /dev/null +++ b/dev-python/rope/rope-0.10.5.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="Python refactoring library" +HOMEPAGE="https://github.com/python-rope/rope" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc" + +# Dependency for docbuild documentation which is not noted in +# setup.py, using standard docutils builds docs successfully. +DEPEND="doc? ( dev-python/docutils[${PYTHON_USEDEP}] )" + +PATCHES=( "${FILESDIR}/${PN}-0.10.3-doc-syntax-errors.patch" ) + +python_test() { + PYTHONPATH="${BUILD_DIR}/lib:." ${EPYTHON} ropetest/__init__.py +} + +python_compile_all() { + if use doc; then + pushd docs > /dev/null || die + mkdir build || die + local i + for i in ./*.rst; do + rst2html.py $i > ./build/${i/rst/html} || die + done + popd > /dev/null || die + fi +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/build/. ) + distutils-r1_python_install_all +}