summaryrefslogtreecommitdiff
path: root/games-board
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-04-16 14:39:02 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-04-16 14:39:02 +0000
commit315eab281df9384904e069f721ab393b49798b60 (patch)
tree860c90a8a0e9c87aa934b10f5637411c85d0793d /games-board
parentd883757a75090a9dd237206324832c21283d5ffc (diff)
downloadbaldeagleos-repo-315eab281df9384904e069f721ab393b49798b60.tar.gz
baldeagleos-repo-315eab281df9384904e069f721ab393b49798b60.tar.xz
baldeagleos-repo-315eab281df9384904e069f721ab393b49798b60.zip
Adding metadata
Diffstat (limited to 'games-board')
-rw-r--r--games-board/gnome-chess/gnome-chess-46.0.ebuild4
-rw-r--r--games-board/pychess/Manifest1
-rw-r--r--games-board/pychess/files/pychess-1.0.5-python3.13.patch16
-rw-r--r--games-board/pychess/pychess-1.0.4.ebuild42
-rw-r--r--games-board/pychess/pychess-1.0.5.ebuild12
-rw-r--r--games-board/scid/Manifest2
-rw-r--r--games-board/scid/metadata.xml1
-rw-r--r--games-board/scid/scid-4.7.0-r1.ebuild106
-rw-r--r--games-board/scid/scid-5.0.2.ebuild24
9 files changed, 42 insertions, 166 deletions
diff --git a/games-board/gnome-chess/gnome-chess-46.0.ebuild b/games-board/gnome-chess/gnome-chess-46.0.ebuild
index f3af7ac07bd4..09f4ad7997cf 100644
--- a/games-board/gnome-chess/gnome-chess-46.0.ebuild
+++ b/games-board/gnome-chess/gnome-chess-46.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -15,7 +15,7 @@ KEYWORDS="amd64 arm64 ~loong ~riscv x86"
RDEPEND="
>=dev-libs/glib-2.44:2
gui-libs/gtk:4
- >=gui-libs/libadwaita-1.0.0:1
+ >=gui-libs/libadwaita-1.5:1
>=gnome-base/librsvg-2.46.0:2
x11-libs/pango
"
diff --git a/games-board/pychess/Manifest b/games-board/pychess/Manifest
index d28cb35c0306..b8ff66cdf3e8 100644
--- a/games-board/pychess/Manifest
+++ b/games-board/pychess/Manifest
@@ -1,2 +1 @@
-DIST pychess-1.0.4.tar.gz 14553786 BLAKE2B 25855090d8d24f75ac519cc3f28f97c82229a72ca1e9c96bdb129271e487ff84b32fd644c953628c917bb2a1f5c71d3feaa18e10883cb207441ecf3c5119c64e SHA512 668fef78352f6aab9dabb3c061403dd7cad4db9b699d4f562820f0ae6732c337ba2aab789ad70c7e01eb3bd6f2602291afd43ddc25826f5f132b4e78b3dba4b4
DIST pychess-1.0.5.tar.gz 14543243 BLAKE2B 1ae3bf93e9f5ecf642c518ccaafe44068094276ed81c9d0b6f6346f94f56acc99359993d5cd75c1f7a20ff94bc3aa66e5c306361706ddcf946b3ea8fdd716513 SHA512 ac5f652706d50fe3c4cbf5d0f91531e6112c5f670de206434b02ded08b17921b5f11ec2d4842209d6d081a198d35cd235d7539f3c012aa6b7093d713aefc4951
diff --git a/games-board/pychess/files/pychess-1.0.5-python3.13.patch b/games-board/pychess/files/pychess-1.0.5-python3.13.patch
new file mode 100644
index 000000000000..6d690082ec67
--- /dev/null
+++ b/games-board/pychess/files/pychess-1.0.5-python3.13.patch
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/952478
+https://github.com/pychess/pychess/issues/2233
+https://github.com/pychess/pychess/commit/8d8431c3e8023adbdffea9782b6f2370bb367673
+--- a/lib/pychess/ic/TimeSeal.py
++++ b/lib/pychess/ic/TimeSeal.py
+@@ -2,3 +2,2 @@
+ import sys
+-import telnetlib
+ import random
+@@ -25,3 +24,5 @@
+ FILLER = b"1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
+-IAC_WONT_ECHO = b"".join([telnetlib.IAC, telnetlib.WONT, telnetlib.ECHO])
++# was: b"".join([telnetlib.IAC, telnetlib.WONT, telnetlib.ECHO])
++# but telnetlib was removed in Python 3.13
++IAC_WONT_ECHO = b"\xff\xfc\x01"
+
diff --git a/games-board/pychess/pychess-1.0.4.ebuild b/games-board/pychess/pychess-1.0.4.ebuild
deleted file mode 100644
index d86516b9bdbb..000000000000
--- a/games-board/pychess/pychess-1.0.4.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_SINGLE_IMPL=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9,10,11,12,13} )
-PYTHON_REQ_USE="sqlite"
-inherit distutils-r1 xdg
-
-DESCRIPTION="GTK chess client"
-HOMEPAGE="https://pychess.github.io/"
-SRC_URI="https://github.com/pychess/pychess/releases/download/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="gstreamer"
-
-RDEPEND="
- $(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},cairo]
- >=dev-python/sqlalchemy-2[${PYTHON_USEDEP},sqlite]
- dev-python/websockets[${PYTHON_USEDEP}]
- gstreamer? ( dev-python/gst-python:1.0[${PYTHON_USEDEP}] )')
- gnome-base/librsvg:2[introspection]
- x11-libs/gtk+:3[introspection]
- x11-libs/gtksourceview:3.0[introspection]
- x11-libs/pango[introspection]
- x11-themes/adwaita-icon-theme"
-BDEPEND="${RDEPEND}" # setup.py fails if introspection deps not found
-
-src_install() {
- distutils-r1_src_install
-
- # https://github.com/pychess/pychess/pull/1825
- gunzip -v "${ED}"/usr/share/man/man1/${PN}.1.gz || die
-}
diff --git a/games-board/pychess/pychess-1.0.5.ebuild b/games-board/pychess/pychess-1.0.5.ebuild
index d86516b9bdbb..7a7609ffb4f0 100644
--- a/games-board/pychess/pychess-1.0.5.ebuild
+++ b/games-board/pychess/pychess-1.0.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -26,14 +26,20 @@ RDEPEND="
dev-python/pygobject:3[${PYTHON_USEDEP},cairo]
>=dev-python/sqlalchemy-2[${PYTHON_USEDEP},sqlite]
dev-python/websockets[${PYTHON_USEDEP}]
- gstreamer? ( dev-python/gst-python:1.0[${PYTHON_USEDEP}] )')
+ gstreamer? ( dev-python/gst-python:1.0[${PYTHON_USEDEP}] )
+ ')
gnome-base/librsvg:2[introspection]
x11-libs/gtk+:3[introspection]
x11-libs/gtksourceview:3.0[introspection]
x11-libs/pango[introspection]
- x11-themes/adwaita-icon-theme"
+ x11-themes/adwaita-icon-theme
+"
BDEPEND="${RDEPEND}" # setup.py fails if introspection deps not found
+PATCHES=(
+ "${FILESDIR}"/${P}-python3.13.patch
+)
+
src_install() {
distutils-r1_src_install
diff --git a/games-board/scid/Manifest b/games-board/scid/Manifest
index 7c855cca0ffb..346bf0440fe1 100644
--- a/games-board/scid/Manifest
+++ b/games-board/scid/Manifest
@@ -1,3 +1 @@
-DIST scid-4.7.0_x64_linux.tar.gz 129771457 BLAKE2B 65ad7b58685a498954ebcf5216287216e2d2805bf0379784195b096c9eb04b333a8bbfb6c020c321b66c63d7bad2cfba724750b4d26f8172f620047219f98a73 SHA512 c9fb6f19741d60fe4952c643240f7e2eaa476eab35379c0a053b35217fe7a4b9ecfbc68edc45df4c9a2354babe8e0ddd2211db014d5396ce9bbb59db531c1179
DIST scid-5.0.2.zip 15661705 BLAKE2B 7d514d0e83b34a873e3c375fc14b83b76df30d7051139a230e82feb21ec7a53308b63a5b5f2ce336443a743014a4f2830dae6bfb9c116b66645aa61d6a67ef6f SHA512 0ccf3833ddc942e0577b5316089019098ba903ecbce011e83e0bf30efcf45fb48bdceb1309160c65bb0fc69696301b00df8d777e860bf31efa44e4aa330e2477
-DIST scid-code-4.7.0.zip 15782104 BLAKE2B f1b927a1b23478d2e27a098e2ec99acb9a2061c373686cfcfa14ac219a1dce47468c3e46b3fe786655792177c86180bbe8e1dc91927b3ad2a80ea9b0bdb17fd3 SHA512 3c43fb8877da4a8dda9c99b1b856fe3f3840c7013041d53c31c8411ecf2e9ccbaf3b7c098e35cb23f5d0d7cac6b7514ca3bfb719fcbc111f5e1ef07f765f2708
diff --git a/games-board/scid/metadata.xml b/games-board/scid/metadata.xml
index f36be2b74e31..900a2abb22d4 100644
--- a/games-board/scid/metadata.xml
+++ b/games-board/scid/metadata.xml
@@ -7,7 +7,6 @@
</maintainer>
<use>
- <flag name="photos">Install collection of player photos (large)</flag>
<flag name="scripts">Install additional python and tcl utility scripts</flag>
</use>
<origin>gentoo-staging</origin>
diff --git a/games-board/scid/scid-4.7.0-r1.ebuild b/games-board/scid/scid-4.7.0-r1.ebuild
deleted file mode 100644
index 6c8aeb1a10c7..000000000000
--- a/games-board/scid/scid-4.7.0-r1.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9,10,11,12,13} )
-inherit cmake desktop optfeature python-single-r1
-
-DESCRIPTION="Shane's Chess Information Database"
-HOMEPAGE="https://scid.sourceforge.net/"
-SRC_URI="
- https://downloads.sourceforge.net/scid/${PN}-code-${PV}.zip
- https://downloads.sourceforge.net/scid/${P}_x64_linux.tar.gz"
-S="${WORKDIR}/${PN}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="photos scripts test"
-REQUIRED_USE="scripts? ( ${PYTHON_REQUIRED_USE} )"
-RESTRICT="!test? ( test )"
-
-COMMON_DEPEND="
- dev-lang/tcl:=
- dev-lang/tk"
-RDEPEND="
- ${COMMON_DEPEND}
- dev-tcltk/tkimg
- scripts? ( ${PYTHON_DEPS} )"
-DEPEND="
- ${COMMON_DEPEND}
- test? ( dev-cpp/gtest )"
-BDEPEND="
- app-arch/unzip
- scripts? ( ${PYTHON_DEPS} )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-4.6.2-pgnfix-python3.patch
- "${FILESDIR}"/${P}-system-gtest.patch
- "${FILESDIR}"/${P}-tcl-start-path.patch
-)
-
-HTML_DOCS=( help/. )
-
-pkg_setup() {
- use scripts && python-single-r1_pkg_setup
-}
-
-src_prepare() {
- cmake_src_prepare
-
- if use scripts; then
- python_fix_shebang scripts/pgnfix.py
-
- # cmake build doesn't use "tkscid" anymore but scripts still do
- sed -i s/tkscid/scid/ scripts/*.tcl || die
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_SHARED_LIBS=off
- -DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr/share
- -DGTEST=$(usex test)
- )
-
- cmake_src_configure
-}
-
-src_test() {
- "${BUILD_DIR}"/gtest/scid_tests || die
-}
-
-src_install() {
- cmake_src_install
-
- dobin "${BUILD_DIR}"/{phalanx-scid,scid,scidlet}
-
- if use scripts; then
- local script
- # install same set of scripts as pre-cmake
- for script in pgnfix.py {sc_{epgn,spell,eco,import},scidpgn,spliteco,spf2spi}.tcl sc_remote.tk; do
- newbin scripts/${script} ${script%.*}
- done
- fi
-
- insinto /usr/share/scid
- doins scid{,_es,_fr}.eco "${WORKDIR}"/${P}/spelling.ssp
- use photos && doins -r "${WORKDIR}"/${P}/photos
-
- newicon resources/svg/scid_app.svg scid.svg
- make_desktop_entry scid Scid
-
- # delete re-located files
- rm -r "${ED}"/usr/share/{bin,scid/{scid,scripts}} || die
-}
-
-pkg_postinst() {
- optfeature "speech support" dev-tcltk/snack
-
- if [[ ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 4.7; then
- elog
- elog "Warning: this version uses ~/.scid4.7 and is incompatible with older ~/.scid"
- elog
- fi
-}
diff --git a/games-board/scid/scid-5.0.2.ebuild b/games-board/scid/scid-5.0.2.ebuild
index a199a4472f3b..b9c1209c9748 100644
--- a/games-board/scid/scid-5.0.2.ebuild
+++ b/games-board/scid/scid-5.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -8,9 +8,10 @@ inherit cmake desktop optfeature python-single-r1
DESCRIPTION="Shane's Chess Information Database"
HOMEPAGE="https://scid.sourceforge.net/"
-SRC_URI="https://sourceforge.net/projects/scid/files/Scid/Scid%205.0/${PN}_src_${PV}.zip/download -> ${P}.zip"
-
-#S="${WORKDIR}/${PN}"
+SRC_URI="
+ https://sourceforge.net/projects/scid/files/Scid/Scid%205.0/${PN}_src_${PV}.zip/download
+ -> ${P}.zip
+"
LICENSE="GPL-2"
SLOT="0"
@@ -21,21 +22,26 @@ RESTRICT="!test? ( test )"
COMMON_DEPEND="
dev-lang/tcl:=
- dev-lang/tk"
+ dev-lang/tk
+"
RDEPEND="
${COMMON_DEPEND}
dev-tcltk/tkimg
- scripts? ( ${PYTHON_DEPS} )"
+ scripts? ( ${PYTHON_DEPS} )
+"
DEPEND="
${COMMON_DEPEND}
- test? ( dev-cpp/gtest )"
+ test? ( dev-cpp/gtest )
+"
BDEPEND="
app-arch/unzip
- scripts? ( ${PYTHON_DEPS} )"
+ scripts? ( ${PYTHON_DEPS} )
+"
PATCHES=(
"${FILESDIR}"/${PN}-4.6.2-pgnfix-python3.patch
"${FILESDIR}"/${PN}-4.7.0-tcl-start-path.patch
+ "${FILESDIR}"/${PN}-4.7.0-system-gtest.patch
)
HTML_DOCS=( help/. )
@@ -86,7 +92,7 @@ src_install() {
make_desktop_entry scid Scid
# delete re-located files
- rm -r "${ED}"/usr/share/{bin,scid/{scid,scripts}} || die
+ rm -r -- "${ED}"/usr/share/{bin,scid/{scid,scripts}} || die
}
pkg_postinst() {