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 52B6413832E for ; Tue, 2 Aug 2016 21:34:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AF01A21C039; Tue, 2 Aug 2016 21:34:41 +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 D802C21C039 for ; Tue, 2 Aug 2016 21:34:40 +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 E1F2C340A8E for ; Tue, 2 Aug 2016 21:34:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AB5018DE for ; Tue, 2 Aug 2016 21:34:35 +0000 (UTC) From: "Austin English" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Austin English" Message-ID: <1470173594.cf76762c1faf6f8095dd26570b5b15d32384d475.wizardedit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/pychess/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-board/pychess/pychess-0.12.3-r1.ebuild X-VCS-Directories: games-board/pychess/ X-VCS-Committer: wizardedit X-VCS-Committer-Name: Austin English X-VCS-Revision: cf76762c1faf6f8095dd26570b5b15d32384d475 X-VCS-Branch: master Date: Tue, 2 Aug 2016 21:34:35 +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: b2cfbf33-4239-4c37-9b10-6ef8bea514a3 X-Archives-Hash: ae71801454d214a55f72d41b12d307b9 commit: cf76762c1faf6f8095dd26570b5b15d32384d475 Author: Austin English gentoo org> AuthorDate: Tue Aug 2 18:09:58 2016 +0000 Commit: Austin English gentoo org> CommitDate: Tue Aug 2 21:33:14 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf76762c games-board/pychess: remove deprecated games eclass Also update to EAPI 6 Gentoo-Bug: https://bugs.gentoo.org/574082 Package-Manager: portage-2.3.0 games-board/pychess/pychess-0.12.3-r1.ebuild | 70 ++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/games-board/pychess/pychess-0.12.3-r1.ebuild b/games-board/pychess/pychess-0.12.3-r1.ebuild new file mode 100644 index 0000000..b7a1b95 --- /dev/null +++ b/games-board/pychess/pychess-0.12.3-r1.ebuild @@ -0,0 +1,70 @@ +# 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/gconf-python + dev-python/librsvg-python + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/pygtk:2[${PYTHON_USEDEP}] + dev-python/pygtksourceview:2[${PYTHON_USEDEP}] + x11-libs/gtksourceview:3.0 + x11-themes/gnome-icon-theme + gstreamer? ( dev-python/gst-python:0.10[${PYTHON_USEDEP}] )" +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 +}