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 828B61395E2 for ; Sun, 27 Nov 2016 11:21:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 29814E0B08; Sun, 27 Nov 2016 11:21:14 +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 EE371E0B08 for ; Sun, 27 Nov 2016 11:21:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 CF5C034114A for ; Sun, 27 Nov 2016 11:21:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 44A857E1 for ; Sun, 27 Nov 2016 11:21:11 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1480245610.d8c9e2ca635227c01e742c27895cc1d50cdc0cb1.pacho@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.4.ebuild X-VCS-Directories: games-board/pychess/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: d8c9e2ca635227c01e742c27895cc1d50cdc0cb1 X-VCS-Branch: master Date: Sun, 27 Nov 2016 11:21:11 +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: be5c1409-a2ba-4e34-8549-7d710d879b21 X-Archives-Hash: ed82a081163a3b2f462e20484ba5c349 commit: d8c9e2ca635227c01e742c27895cc1d50cdc0cb1 Author: Pacho Ramos gentoo org> AuthorDate: Sun Nov 27 10:40:13 2016 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Sun Nov 27 11:20:10 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8c9e2ca games-board/pychess: Version bump, fix dependencies Package-Manager: portage-2.3.2 games-board/pychess/Manifest | 1 + games-board/pychess/pychess-0.12.4.ebuild | 72 +++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/games-board/pychess/Manifest b/games-board/pychess/Manifest index 08532d2..6e9d539 100644 --- a/games-board/pychess/Manifest +++ b/games-board/pychess/Manifest @@ -1,2 +1,3 @@ DIST pychess-0.10.1.tar.gz 1939605 SHA256 8a8ac9fc6a4605d189a9728f55183130b6a304cbf2dc5b2e923297303fe4ae8a SHA512 1000c840954b93bd3720fd3265b6cc0ac33df22373eb965d4ac03d16f7589af3b10bf2ebc28a2ff555b5e4101bffbfe96d52051e6c51a084229a3cc1691f1dd8 WHIRLPOOL 7554456eea487cefe3d8303aacdfa5748345b9682a8c557a2ed53090cc9a5beacc5b2e874db222b75fc03bcaf61dd9d7c3e2df23a13a4db820d4bd34c2f7b66e DIST pychess-0.12.3.tar.gz 4666113 SHA256 11d5e2d447bb945283f0239a407d8069b13afd77d3a2d491c9c352f1b7862e67 SHA512 597fd4c28a970df0d2ce3805eedd7530e259c1b60dd4e51bf1c56eb2376fe6256df30f12b077db3c9f1aab8baed06f023696827b57fb0963b9569b613656d4af WHIRLPOOL 295bf01c221b273abc2a60cdfd77a399af75a2e9f2de43188ea744204dad39220f152d7667699290d88b7dd75b26b5262b513f8ab6a114bb171a702ba184319b +DIST pychess-0.12.4.tar.gz 4728410 SHA256 0706861dcea811abb80c8db589494e932b4bab931b2a8799fe53a2bd4b6ac372 SHA512 bf2a6cffca50742fbdfba04bc33807b53e4b7485cb6c9b6bb84816e176fd99f3929dbc8e504b46053cdcd30f691d6df948f5153508b2b6d3504f85a31eaccf62 WHIRLPOOL f488f85aaaafc844afd7911a6b92cfa085b66b476596468077746a42038a029df965ada212d04dea95f617d4bdf533442b84c470400715aa52e2756abc3c2d35 diff --git a/games-board/pychess/pychess-0.12.4.ebuild b/games-board/pychess/pychess-0.12.4.ebuild new file mode 100644 index 00000000..38be978 --- /dev/null +++ b/games-board/pychess/pychess-0.12.4.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="sqlite" + +inherit fdo-mime gnome2-utils distutils-r1 + +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/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + gnome-base/librsvg:2 + x11-libs/gtksourceview:3.0 + x11-libs/pango + x11-themes/adwaita-icon-theme + gstreamer? ( + dev-python/gst-python:1.0 + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 ) +" +RDEPEND=${DEPEND} + +python_install() { + distutils-r1_python_install + + # bug 487706 + sed -i \ + -e "s/@PYTHON@/${EPYTHON}/" \ + "${ED%/}/$(python_get_sitedir)"/${PN}/Players/engineNest.py || die +} + +python_install_all() { + DOCS="AUTHORS README.md" \ + distutils-r1_python_install_all +} + +src_prepare() { + distutils-r1_src_prepare +} + +src_compile() { + distutils-r1_src_compile +} + +src_install() { + distutils-r1_src_install +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + fdo-mime_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + fdo-mime_desktop_database_update +}