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 141D3139694 for ; Mon, 29 May 2017 11:50:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4CBD921C012; Mon, 29 May 2017 11:50:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 1746A21C012 for ; Mon, 29 May 2017 11:50:20 +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 A7DE73416BF for ; Mon, 29 May 2017 11:50:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 42EF47454 for ; Mon, 29 May 2017 11:50:18 +0000 (UTC) From: "Amadeusz Piotr Żołnowski" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Amadeusz Piotr Żołnowski" Message-ID: <1496058553.6e0583fce32d6cef14e36402acfb3254d0e8052e.aidecoe@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/urwidtrees/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/urwidtrees/Manifest dev-python/urwidtrees/urwidtrees-1.0.2.ebuild X-VCS-Directories: dev-python/urwidtrees/ X-VCS-Committer: aidecoe X-VCS-Committer-Name: Amadeusz Piotr Żołnowski X-VCS-Revision: 6e0583fce32d6cef14e36402acfb3254d0e8052e X-VCS-Branch: master Date: Mon, 29 May 2017 11:50:18 +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: dde5884a-aba9-486c-9c16-6b3fbce7f63f X-Archives-Hash: 7fa685edfd4711c385eb76b22cb97c4b commit: 6e0583fce32d6cef14e36402acfb3254d0e8052e Author: Amadeusz Żołnowski gentoo org> AuthorDate: Mon May 29 08:45:16 2017 +0000 Commit: Amadeusz Piotr Żołnowski gentoo org> CommitDate: Mon May 29 11:49:13 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e0583fc dev-python/urwidtrees: Bump version Sources URI has changed from PyPI to GitHub. Package-Manager: Portage-2.3.5, Repoman-2.3.2 dev-python/urwidtrees/Manifest | 1 + dev-python/urwidtrees/urwidtrees-1.0.2.ebuild | 50 +++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-python/urwidtrees/Manifest b/dev-python/urwidtrees/Manifest index 9e75ffbf452..d601d8b05d7 100644 --- a/dev-python/urwidtrees/Manifest +++ b/dev-python/urwidtrees/Manifest @@ -1 +1,2 @@ DIST urwidtrees-1.0.1.1.tar.gz 12916 SHA256 08a66d0e76e94bc32bc590e35ed283e8a6b0c93adeb431dc576ec0a345f09bfd SHA512 9494cc3c4fe72b468443bbaef0d95f5288ed0dc3a8be00a3bbc261b9b3c4a3752df2f89e439082ed91ba89790c5ad656850d874b5e934cc5a23e87eea8fe4df0 WHIRLPOOL 929d69e4e05fb8e1d68263948b46be5fdc55c480e2678d59d85fa05bd68f795979d97c4fab3f6c8e5d74a71c2375d4805d19f4d44e3def87750dfaad2bdee192 +DIST urwidtrees-1.0.2.tar.gz 36082 SHA256 703f4b161b930a26a461a3e3e695f94237ac75e2a52b87613e49093d9aa76034 SHA512 535b99d91154c308260a0ee6490868724ce8dfa89acf3b623c08409ec6e15194d9e94085411dd7796cad98865ed57692a88cbc11540e6523fc371eaf0204ac17 WHIRLPOOL 1ed3afe730855405332afa5813749e6b6400b1accf776d80f4b9a8e98a0d63fa822e7ee4ec4fc81d55f06364447d741f6e473b7eee729229667ea65404abe9c5 diff --git a/dev-python/urwidtrees/urwidtrees-1.0.2.ebuild b/dev-python/urwidtrees/urwidtrees-1.0.2.ebuild new file mode 100644 index 00000000000..26a98d8ca21 --- /dev/null +++ b/dev-python/urwidtrees/urwidtrees-1.0.2.ebuild @@ -0,0 +1,50 @@ +# 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="Tree widgets for urwid" +HOMEPAGE="https://github.com/pazz/urwidtrees" +#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +SRC_URI="https://github.com/pazz/urwidtrees/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" +RDEPEND=">=dev-python/urwid-1.1.0[${PYTHON_USEDEP}]" + +src_prepare() { + find "${S}" -name '*.py' -print0 | xargs -0 -- sed \ + -e '1i# -*- coding: utf-8 -*-' -i || die + + distutils-r1_src_prepare + + local md + for md in *.md; do + mv "${md}" "${md%.md}" + done +} + +src_compile() { + distutils-r1_src_compile + + if use doc; then + pushd docs || die + emake html + popd || die + fi +} + +src_install() { + distutils-r1_src_install + + if use doc; then + dohtml -r docs/build/html/* + fi +}