diff options
Diffstat (limited to 'games-board/pychess')
-rw-r--r-- | games-board/pychess/Manifest | 2 | ||||
-rw-r--r-- | games-board/pychess/pychess-1.0.2.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/games-board/pychess/Manifest b/games-board/pychess/Manifest index f985862bf520..681e675189f6 100644 --- a/games-board/pychess/Manifest +++ b/games-board/pychess/Manifest @@ -1,5 +1,7 @@ AUX pychess-gtk-compat.patch 1802 BLAKE2B 9c073b28c9dc2cbfc3e9bc1acce5b091ae6d77869c23a21d06e84fde2e7190ec412aa7d1f4e3a24698816a843ca8525be4f2114c046774ba6daa6aec6765edc7 SHA512 54db9fd66bcbf2e5c4a0d761b72fb461450a75ac32338fc7a7a097bd8e14667bae682a0ecb9e0ad63f9d0ff04892f3b37afe7041c0582bab57f36e64e6d7d65c AUX pychess-setup-no-display.patch 5165 BLAKE2B 897e1b5d01b9192ca969c1d4603a1597a3c3ebbc91783c66f8f8067ef6e1064c5011faeca5684dcb3ad472860ea9c256882f35546d3582837957f3d3c53fec17 SHA512 bc7a975b8069e9a96d8f56e54bb3f7b8e2d1c1eddf89615ad2a45292b5bb1926bbb17341f565129a868787120e501b7c2f6cbe3e059249030ec9dc218a2e320a DIST pychess-1.0.0.tar.gz 12853354 BLAKE2B 1e5f3c219bce10f3cd9e68b873634742d4b673e93adb00cfcc84fcbc6ca5c7ce0534feecca3f8ddce6cd848074b84957db81f8c45841ffd7c4e1007672082840 SHA512 331765d22e2360dba145be5e22677d8676e1c7fcc8486d0e52e379b41c85bab782a5d548b93fe2f19de99ce0ccc4904e02fc8130de679ca534a211b579f1679a +DIST pychess-1.0.2.tar.gz 14571480 BLAKE2B 01ca5d802f651a1f371b32dfbc97ac5c05f3b3fad3c6394209423cdb0fca995ea12254ad98fa94885e3b31a2deb72f63c2df5d0d97258a208c41ff3aab6a8dde SHA512 434f511ead51f1e90381172c894ed8b34fc5fae63e3714395285f6c55aa77dfe2f763e97febd93a3abcbc105f0e7591a9a84276eaae70c80f065a24040bfb083 EBUILD pychess-1.0.0.ebuild 1289 BLAKE2B c6ac6d6892c04e073ce45fdded88062d9e310ff0162642ad62d0f84c44ced29eda067eec6dc8c2f57598aea48a74dce584e6779afa904ca8a7a22245cafe83b7 SHA512 4bb246d780352cef5e0359ac40090e7612f4e879cf07eb7aadef6ecdf465333b579b379de6534a06ad2a038c2127d19cb3c9ae20ddeb12675ff48bf6485e061d +EBUILD pychess-1.0.2.ebuild 1191 BLAKE2B a430a63601a4c4df3fe6bbf3a133677fbdb2f8442d36311b19393bb780220da24a92448da363426270fb45134f93776ef009746480ef2d572a726c5f67da5405 SHA512 a5084bbdc35bca124d814d4faf9ffcad590ef875dd71c9651248ec8f5a46b21cf56d8c404a12735496890286ddfef4f13dcb30747cbd0f3b8dbb252b9b9db8fa MISC metadata.xml 333 BLAKE2B b9ea104e76e26c1fd5cbfd083427ca866c374ed3dbd4b258a61746ddf5cb2956f0483fc91ba1a526f795a56a741a61d6291ad46cb024938b76346006d5aab86f SHA512 c0734172b006a0f01357bf748c53c5191aedfd09213192696e19c009fd2758554eeaf1e26678c2208ad2814725af72dcb3ffe2c55c0626ea24d4a47c600f07da diff --git a/games-board/pychess/pychess-1.0.2.ebuild b/games-board/pychess/pychess-1.0.2.ebuild new file mode 100644 index 000000000000..b082f71cc63b --- /dev/null +++ b/games-board/pychess/pychess-1.0.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8} ) +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_SETUPTOOLS=no +PYTHON_REQ_USE="sqlite" + +inherit xdg distutils-r1 + +DESCRIPTION="A chess client for GNOME" +HOMEPAGE="https://github.com/pychess/pychess" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gstreamer" + +DEPEND=" + $(python_gen_cond_dep ' + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP},sqlite] + dev-python/websockets[${PYTHON_USEDEP}] + ') + gnome-base/librsvg:2 + x11-libs/gtksourceview:3.0 + x11-libs/pango + x11-themes/adwaita-icon-theme + gstreamer? ( + $(python_gen_cond_dep ' + dev-python/gst-python:1.0[${PYTHON_USEDEP}] + ') + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + ) +" + +RDEPEND="${DEPEND}" + +src_install() { + distutils-r1_src_install + + # https://github.com/pychess/pychess/pull/1825 + gunzip -v "${ED}"/usr/share/man/man1/${PN}.1.gz || die +} |