diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-11-18 09:38:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-11-18 09:38:27 +0000 |
commit | 536c3711867ec947c1738f2c4b96f22e4863322d (patch) | |
tree | 697733f5cb713908dcf378e13fd15a798a906a91 /games-board/pychess | |
parent | f65628136faa35d0c4d3b5e7332275c7b35fcd96 (diff) |
gentoo resync : 18.11.2018
Diffstat (limited to 'games-board/pychess')
-rw-r--r-- | games-board/pychess/Manifest | 2 | ||||
-rw-r--r-- | games-board/pychess/pychess-0.99.3.ebuild | 71 |
2 files changed, 73 insertions, 0 deletions
diff --git a/games-board/pychess/Manifest b/games-board/pychess/Manifest index b2b7c0b57f20..8e686a421dca 100644 --- a/games-board/pychess/Manifest +++ b/games-board/pychess/Manifest @@ -1,3 +1,5 @@ DIST pychess-0.12.4.tar.gz 4728410 BLAKE2B 4fd95e85983ce9e7d588e98a27a1695d116f102290942e2c747046ee9e4289b53734dbd949af4f88fc4186fc3e52b9ff41b1e18e2763c5f48b2d371ae22f44fe SHA512 bf2a6cffca50742fbdfba04bc33807b53e4b7485cb6c9b6bb84816e176fd99f3929dbc8e504b46053cdcd30f691d6df948f5153508b2b6d3504f85a31eaccf62 +DIST pychess-0.99.3.tar.gz 12325822 BLAKE2B 603615283a1415b9f06062fc7e1ea0c97be4b9a6c28d959081f3b0fc5f0a4572fb73133e791614a8eb05ac40877ec63d7a6bcb743a9ac4a03de2170b7cf4daa9 SHA512 45f82fecdd9931129d14d8fcfef1de2df2c501f009c4f9cda3c8b699e2b4f35b615eafbd8ccf1cd2554869bfe3ba5aa2eb66d0408f1cb4076a11d43b0401e7c7 EBUILD pychess-0.12.4.ebuild 1309 BLAKE2B 82768b6a1271bc6eeb611d81d9ed59bb117e74101fab3e921acfd5d8c2f835ecf0a531220827ca2ff8b74ff072a93f3b3a11dadd0cccd6805249fd45cdbb8b5b SHA512 dd5c1211739b284af66c1f98fd8ff5256884d333741cd2f60006d9a048729f32c23debc94b5e14cf309a5af7c673b9bd174ca3c4320d2b5c0503604243a176c4 +EBUILD pychess-0.99.3.ebuild 1331 BLAKE2B e39e3ce1a2c920fd98fbe5d365a8ac5a56bf99202dcfe8a78afce08f75ef495514e4ee1a061474c933063d79c25d61aa88797228710ef830ec7089d99a4b9ae3 SHA512 ecad4bc389e517cd3bf48331b32cfa67938e9e8b4ae59c6933e65d339ddc90a75620e33d7d98921afccc5df8aa89a7c7f11c2d3110562033a74a4408784617aa MISC metadata.xml 330 BLAKE2B 15a47bf5f276ac9befdb283d8c69ecb24c91b4ea01cd72afd84227afe207ee7f3abfc037d9bc1c214b5e0091aeae4ea071cfda32d55b25766cc9480a3611ae43 SHA512 0233cc10e31aa616eaab261554b2a730bb8932e3a266943c829a2c1c48f296830ea42217174256816a1bd4d0d4eeebb34e8c615ef2d997ee2d3da512ca97ee5c diff --git a/games-board/pychess/pychess-0.99.3.ebuild b/games-board/pychess/pychess-0.99.3.ebuild new file mode 100644 index 000000000000..cda42d081007 --- /dev/null +++ b/games-board/pychess/pychess-0.99.3.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python3_{4,5,6} ) +PYTHON_REQ_USE="sqlite" + +inherit gnome2-utils distutils-r1 xdg-utils + +DESCRIPTION="A chess client for Gnome" +HOMEPAGE="http://pychess.org/" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${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 + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_mimeinfo_database_update +} |