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 1397B58973 for ; Thu, 4 Feb 2016 18:44:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9831A21C028; Thu, 4 Feb 2016 18:44:37 +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 2582121C028 for ; Thu, 4 Feb 2016 18:44:37 +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 9E69834089F for ; Thu, 4 Feb 2016 18:44:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3AD4811D for ; Thu, 4 Feb 2016 18:44:34 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1454611310.18488317572617e810796e9b0d8a1cee938c9248.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/pychess/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-board/pychess/Manifest games-board/pychess/pychess-0.12.2.ebuild X-VCS-Directories: games-board/pychess/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 18488317572617e810796e9b0d8a1cee938c9248 X-VCS-Branch: master Date: Thu, 4 Feb 2016 18:44:34 +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: 4dd4c5b8-3b64-4a1c-b5ae-2c3ab63a9011 X-Archives-Hash: 118984783d3ebee20f63db3f55a49872 commit: 18488317572617e810796e9b0d8a1cee938c9248 Author: Jan Ziak (⚛) <0xe2.0x9a.0x9b gmail com> AuthorDate: Thu Feb 4 11:07:28 2016 +0000 Commit: Patrice Clement gentoo org> CommitDate: Thu Feb 4 18:41:50 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18488317 games-board/pychess: Version bump. Signed-off-by: Patrice Clement gentoo.org> games-board/pychess/Manifest | 1 + games-board/pychess/pychess-0.12.2.ebuild | 71 +++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/games-board/pychess/Manifest b/games-board/pychess/Manifest index 209e82d..5910da1 100644 --- a/games-board/pychess/Manifest +++ b/games-board/pychess/Manifest @@ -1 +1,2 @@ DIST pychess-0.10.1.tar.gz 1939605 SHA256 8a8ac9fc6a4605d189a9728f55183130b6a304cbf2dc5b2e923297303fe4ae8a SHA512 1000c840954b93bd3720fd3265b6cc0ac33df22373eb965d4ac03d16f7589af3b10bf2ebc28a2ff555b5e4101bffbfe96d52051e6c51a084229a3cc1691f1dd8 WHIRLPOOL 7554456eea487cefe3d8303aacdfa5748345b9682a8c557a2ed53090cc9a5beacc5b2e874db222b75fc03bcaf61dd9d7c3e2df23a13a4db820d4bd34c2f7b66e +DIST pychess-0.12.2.tar.gz 4653011 SHA256 feecabcea35cce0d69100e0c995f0a88d83d1246be512f2348c13e40bff9916e SHA512 d20ff665f47b58dce92ee822c6495fb31b84f19b15e70644cb7caefda837597e075f62cd0aa6bdd36f342d3eaa66174f9fa950800ec77346ef1cccfa7e37c735 WHIRLPOOL 0bca1361412f316f6446579646f1d51d525228a4427137711efdca01c75ed3c769fd83d0c4e942db36daa3dbc22e74dd5410c8a33c06a96458d0755a6fca0131 diff --git a/games-board/pychess/pychess-0.12.2.ebuild b/games-board/pychess/pychess-0.12.2.ebuild new file mode 100644 index 0000000..f77d61e --- /dev/null +++ b/games-board/pychess/pychess-0.12.2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="sqlite" + +inherit fdo-mime gnome2-utils distutils-r1 games + +DESCRIPTION="A chess client for Gnome" +HOMEPAGE="http://pychess.org/" +SRC_URI="http://pychess.org/download/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gstreamer" + +DEPEND="dev-python/librsvg-python + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject:2[${PYTHON_USEDEP}] + dev-python/pygtk:2[${PYTHON_USEDEP}] + dev-python/pygtksourceview:2[${PYTHON_USEDEP}] + gstreamer? ( dev-python/gst-python:0.10[${PYTHON_USEDEP}] ) + dev-python/gconf-python + x11-themes/gnome-icon-theme" +RDEPEND=${DEPEND} + +python_install() { + distutils-r1_python_install --install-scripts="${GAMES_BINDIR}" + + # bug 487706 + sed -i \ + -e "s/@PYTHON@/${EPYTHON}/" \ + "${ED%/}/$(python_get_sitedir)"/${PN}/Players/engineNest.py || die +} + +python_install_all() { + distutils-r1_python_install_all + dodoc AUTHORS README.md + prepgamesdirs +} + +src_prepare() { + distutils-r1_src_prepare +} + +src_compile() { + distutils-r1_src_compile +} + +src_install() { + distutils-r1_src_install +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update + fdo-mime_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + fdo-mime_desktop_database_update +}