From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 39A0E1384B4 for ; Sun, 3 Jan 2016 15:52:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2D606E087B; Sun, 3 Jan 2016 15:52:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5EDC8E086F for ; Sun, 3 Jan 2016 15:52:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 65E0434069A for ; Sun, 3 Jan 2016 15:52:30 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9CAC3C7B for ; Sun, 3 Jan 2016 15:52:27 +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: <1451835446.93cc803a81446b4ccff4f1018e387735c4d652a0.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/metadata.xml dev-python/urwidtrees/urwidtrees-1.0.1.1.ebuild X-VCS-Directories: dev-python/urwidtrees/ X-VCS-Committer: aidecoe X-VCS-Committer-Name: Amadeusz Piotr Żołnowski X-VCS-Revision: 93cc803a81446b4ccff4f1018e387735c4d652a0 X-VCS-Branch: master Date: Sun, 3 Jan 2016 15:52:27 +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: 65c8068d-1ee1-4a34-a714-a1d15f0eea43 X-Archives-Hash: fa096280e4ee23da269ca227fab3fe1e commit: 93cc803a81446b4ccff4f1018e387735c4d652a0 Author: Amadeusz Żołnowski gentoo org> AuthorDate: Sun Jan 3 15:35:48 2016 +0000 Commit: Amadeusz Piotr Żołnowski gentoo org> CommitDate: Sun Jan 3 15:37:26 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93cc803a dev-python/urwidtrees: Add package It is required for >=mail-client/alot-0.3.7. Package-Manager: portage-2.2.26 dev-python/urwidtrees/Manifest | 1 + dev-python/urwidtrees/metadata.xml | 12 ++++++ dev-python/urwidtrees/urwidtrees-1.0.1.1.ebuild | 50 +++++++++++++++++++++++++ 3 files changed, 63 insertions(+) diff --git a/dev-python/urwidtrees/Manifest b/dev-python/urwidtrees/Manifest new file mode 100644 index 0000000..9e75ffb --- /dev/null +++ b/dev-python/urwidtrees/Manifest @@ -0,0 +1 @@ +DIST urwidtrees-1.0.1.1.tar.gz 12916 SHA256 08a66d0e76e94bc32bc590e35ed283e8a6b0c93adeb431dc576ec0a345f09bfd SHA512 9494cc3c4fe72b468443bbaef0d95f5288ed0dc3a8be00a3bbc261b9b3c4a3752df2f89e439082ed91ba89790c5ad656850d874b5e934cc5a23e87eea8fe4df0 WHIRLPOOL 929d69e4e05fb8e1d68263948b46be5fdc55c480e2678d59d85fa05bd68f795979d97c4fab3f6c8e5d74a71c2375d4805d19f4d44e3def87750dfaad2bdee192 diff --git a/dev-python/urwidtrees/metadata.xml b/dev-python/urwidtrees/metadata.xml new file mode 100644 index 0000000..09adda9 --- /dev/null +++ b/dev-python/urwidtrees/metadata.xml @@ -0,0 +1,12 @@ + + + + + aidecoe@gentoo.org + Amadeusz Żołnowski + + + This is a Widget Container API for the urwid toolkit. It uses a MVC + approach and allows to build trees of widgets. + + diff --git a/dev-python/urwidtrees/urwidtrees-1.0.1.1.ebuild b/dev-python/urwidtrees/urwidtrees-1.0.1.1.ebuild new file mode 100644 index 0000000..c63efff --- /dev/null +++ b/dev-python/urwidtrees/urwidtrees-1.0.1.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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" + +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 +}