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 3675F138A1A for ; Fri, 23 Jan 2015 18:19:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 98271E08F3; Fri, 23 Jan 2015 18:19:46 +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 F359DE08F3 for ; Fri, 23 Jan 2015 18:19:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 44B9D34071A for ; Fri, 23 Jan 2015 18:19:45 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A4BF910374 for ; Fri, 23 Jan 2015 18:19:42 +0000 (UTC) From: "Christoph Junghans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Christoph Junghans" Message-ID: <1422034725.772923c6077f36d7ecf079be06b9a8c72c1bf915.ottxor@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-python/bokeh/ X-VCS-Repository: proj/sci X-VCS-Files: dev-python/bokeh/bokeh-0.7.1.ebuild X-VCS-Directories: dev-python/bokeh/ X-VCS-Committer: ottxor X-VCS-Committer-Name: Christoph Junghans X-VCS-Revision: 772923c6077f36d7ecf079be06b9a8c72c1bf915 X-VCS-Branch: master Date: Fri, 23 Jan 2015 18:19:42 +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: b1e96d0c-104a-4576-a6ce-c80b74c070cb X-Archives-Hash: 90457a131565ad460fe4abc50fa199f1 commit: 772923c6077f36d7ecf079be06b9a8c72c1bf915 Author: Marius Brehler linux sungazer de> AuthorDate: Fri Jan 23 17:38:45 2015 +0000 Commit: Christoph Junghans gentoo org> CommitDate: Fri Jan 23 17:38:45 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=772923c6 dev-python/bokeh: Replace pkg_postinst by readme.gentoo --- dev-python/bokeh/bokeh-0.7.1.ebuild | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/dev-python/bokeh/bokeh-0.7.1.ebuild b/dev-python/bokeh/bokeh-0.7.1.ebuild index 88d4e69..63072d3 100644 --- a/dev-python/bokeh/bokeh-0.7.1.ebuild +++ b/dev-python/bokeh/bokeh-0.7.1.ebuild @@ -6,7 +6,7 @@ EAPI=5 PYTHON_COMPAT=( python{2_7,3_3,3_4} ) -inherit distutils-r1 +inherit distutils-r1 readme.gentoo DESCRIPTION="Statistical and interactive HTML plots for Python" HOMEPAGE="http://bokeh.pydata.org/" @@ -59,6 +59,8 @@ PATCHES=( "${FILESDIR}"/${P}-setup.patch ) DISTUTILS_NO_PARALLEL_BUILD=1 python_prepare_all() { + DOC_CONTENTS="websockets work only with python2_7" + sed -i -e "s/jsbuild = get_user_jsargs()/jsbuild = False/g" setup.py || die cd bokehjs || die npm install ||die @@ -69,6 +71,8 @@ python_prepare_all() { } python_install_all() { + readme.gentoo_create_doc + use examples && local EXAMPLES=( examples/. ) distutils-r1_python_install_all @@ -82,15 +86,3 @@ python_test() { -e usermodel_test \ || die } - -pkg_postinst() { - elog "websockets work only with python2_7" - local chaco_msg="chaco useflag doesn't affect python targets other than python2_7" - if use chaco; then - if use python_targets_python2_7; then - elog "${chaco_msg}" - else - ewarn "${chaco_msg}" - fi - fi -}