summaryrefslogtreecommitdiff
path: root/games-board/pychess
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-board/pychess
reinit the tree, so we can have metadata
Diffstat (limited to 'games-board/pychess')
-rw-r--r--games-board/pychess/Manifest5
-rw-r--r--games-board/pychess/metadata.xml11
-rw-r--r--games-board/pychess/pychess-0.12.4.ebuild71
3 files changed, 87 insertions, 0 deletions
diff --git a/games-board/pychess/Manifest b/games-board/pychess/Manifest
new file mode 100644
index 000000000000..21e7e286535d
--- /dev/null
+++ b/games-board/pychess/Manifest
@@ -0,0 +1,5 @@
+DIST pychess-0.12.4.tar.gz 4728410 SHA256 0706861dcea811abb80c8db589494e932b4bab931b2a8799fe53a2bd4b6ac372 SHA512 bf2a6cffca50742fbdfba04bc33807b53e4b7485cb6c9b6bb84816e176fd99f3929dbc8e504b46053cdcd30f691d6df948f5153508b2b6d3504f85a31eaccf62 WHIRLPOOL f488f85aaaafc844afd7911a6b92cfa085b66b476596468077746a42038a029df965ada212d04dea95f617d4bdf533442b84c470400715aa52e2756abc3c2d35
+EBUILD pychess-0.12.4.ebuild 1307 SHA256 ff04df2e375d30d14f9c0e7927952fde691f54b1ff8932427deab04f2f5d78cc SHA512 8ba65d898dfe8207fbe146716be3785c075e059e550ec54338cf3545be4309664f7f26a3fbaae56e319e27dafa7bd3656c0f0b26fe5391af0a8658ec1ec7b936 WHIRLPOOL 0a23290500fbb61121fc1c82c0cd2cad003f269ba9b1b297299ca67faf26098d35d211b86f808ce33727585951a97d5bd290711e5cdc0e176ff659974d7952c4
+MISC ChangeLog 4294 SHA256 7ec0fc7c2ba700732791ad0b6bfd601693cc5e0976e989a934c2389054ff6cce SHA512 52079835b421eca81c480f7b57bbba2bfa62eda493d3d3c0ff860446ff52d6b1bd81c3a945afd928070dc9b07ca40bcd8b96314a4f0dde47957e151cd9133508 WHIRLPOOL b42124df37d56100cb8a4cbc7e2b3ec03a0d3f948b19b499880fd434a15e679962348c7a624ed89acaf51962b418cec69adc6debf807d40df07e71809e257772
+MISC ChangeLog-2015 4093 SHA256 fe214c94a476dd7c56deb19a1ff984c2d165e6e6c7480299724d5924183cee75 SHA512 fe6574fea2eff00c0ebceca9f998e724c5b4a257d36e5cdbc9809e77a68c46c4f773abce094d675707a3d0fb83334f91ee42dd5fd73d60c1005eb6cf9ee0c8e8 WHIRLPOOL 7dc5c5a43db56d5a2b99f499efa330a97d2d5c47d07d9f52634eac89fc8ffc9dc9b2a466caf63ec14780cb2227f78a5383cb6784a31aaad11278eb35a2ecbcdd
+MISC metadata.xml 330 SHA256 6d389e1106b04b26482a64e1b7bd755724590aeaee31ff7cce24f67d37563b51 SHA512 0233cc10e31aa616eaab261554b2a730bb8932e3a266943c829a2c1c48f296830ea42217174256816a1bd4d0d4eeebb34e8c615ef2d997ee2d3da512ca97ee5c WHIRLPOOL 74689dd6fefc63e9aa243d374909eec07343e7c9d2041d942275ab58237c9c928ba95bfb30d95a9230345e65dd97f1f83ee666a91ad7dbd495206f708831a748
diff --git a/games-board/pychess/metadata.xml b/games-board/pychess/metadata.xml
new file mode 100644
index 000000000000..852efafb3934
--- /dev/null
+++ b/games-board/pychess/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="google-code">pychess</remote-id>
+ </upstream>
+</pkgmetadata>
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 000000000000..bb680cdab1bc
--- /dev/null
+++ b/games-board/pychess/pychess-0.12.4.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}