From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/tablebase-syzygy/
Date: Mon, 27 Jun 2022 07:40:57 +0000 (UTC) [thread overview]
Message-ID: <1656315607.07d0f4c9039b43f1d4697dd891794b3cf24ace95.ulm@gentoo> (raw)
commit: 07d0f4c9039b43f1d4697dd891794b3cf24ace95
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 27 07:39:42 2022 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Jun 27 07:40:07 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07d0f4c9
games-board/tablebase-syzygy: Remove old
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
.../tablebase-syzygy-0_pre20131213-r100.ebuild | 62 ---------------------
.../tablebase-syzygy-0_pre20131213.ebuild | 63 ----------------------
2 files changed, 125 deletions(-)
diff --git a/games-board/tablebase-syzygy/tablebase-syzygy-0_pre20131213-r100.ebuild b/games-board/tablebase-syzygy/tablebase-syzygy-0_pre20131213-r100.ebuild
deleted file mode 100644
index 4bc349060a1a..000000000000
--- a/games-board/tablebase-syzygy/tablebase-syzygy-0_pre20131213-r100.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit check-reqs
-
-DESCRIPTION="Syzygy chess endgame tablebases for up to 6 pieces"
-HOMEPAGE="http://tablebase.sesse.net/
- http://kirill-kryukov.com/chess/tablebases-online/"
-
-tb345=()
-m=(P N B R Q K)
-for ((i=4; i>=0; i--)); do
- tb345+=(K${m[i]}vK) # 2+1
- for ((j=i; j>=0; j--)); do
- tb345+=(K${m[i]}vK${m[j]} K${m[i]}${m[j]}vK) # 2+2, 3+1
- for ((k=4; k>=0; k--)); do
- tb345+=(K${m[i]}${m[j]}vK${m[k]}) # 3+2
- #((k<=i)) || continue
- #for ((l=k; l>=0; l--)); do
- # ((k<i || l<=j)) && tb6+=(K${m[i]}${m[j]}vK${m[k]}${m[l]}) # 3+3
- #done
- ((k<=j)) || continue
- tb345+=(K${m[i]}${m[j]}${m[k]}vK) # 4+1
- #for ((l=4; l>=0; l--)); do
- # tb6+=(K${m[i]}${m[j]}${m[k]}vK${m[l]}) # 4+2
- # ((l<=k)) && tb6+=(K${m[i]}${m[j]}${m[k]}${m[l]}vK) # 5+1
- #done
- done
- done
-done
-
-SRC_URI=""
-for i in "${tb345[@]}"; do
- SRC_URI+="http://tablebase.sesse.net/syzygy/3-4-5/${i}.rtbw "
- SRC_URI+="http://tablebase.sesse.net/syzygy/3-4-5/${i}.rtbz "
-done
-unset i j k m tb345
-
-LICENSE="public-domain" # machine-generated tables
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="6-pieces"
-
-# there is no use-conditional mirror restriction,
-# so depend on another slot of the same package instead
-PDEPEND="6-pieces? ( ~${CATEGORY}/${P}:nofetch )"
-
-S="${WORKDIR}"
-CHECKREQS_DISK_USR="939M"
-CHECKREQS_DISK_BUILD="${CHECKREQS_DISK_USR}"
-
-src_unpack() { :; }
-
-src_install() {
- local f
- insinto /usr/share/${PN}
- for f in ${A}; do
- [[ ${f} = *.rtb[wz] ]] && echo "${DISTDIR}"/${f}
- done | xargs doins
-}
diff --git a/games-board/tablebase-syzygy/tablebase-syzygy-0_pre20131213.ebuild b/games-board/tablebase-syzygy/tablebase-syzygy-0_pre20131213.ebuild
deleted file mode 100644
index 1ede75fed76d..000000000000
--- a/games-board/tablebase-syzygy/tablebase-syzygy-0_pre20131213.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit check-reqs
-
-DESCRIPTION="Syzygy chess endgame tablebases for up to 6 pieces"
-HOMEPAGE="http://tablebase.sesse.net/
- http://kirill-kryukov.com/chess/tablebases-online/"
-
-tb6=()
-m=(P N B R Q K)
-for ((i=4; i>=0; i--)); do
- for ((j=i; j>=0; j--)); do
- for ((k=i; k>=0; k--)); do
- for ((l=k; l>=0; l--)); do
- ((k<i || l<=j)) && tb6+=(K${m[i]}${m[j]}vK${m[k]}${m[l]}) # 3+3
- done
- ((k<=j)) || continue
- for ((l=4; l>=0; l--)); do
- tb6+=(K${m[i]}${m[j]}${m[k]}vK${m[l]}) # 4+2
- ((l<=k)) && tb6+=(K${m[i]}${m[j]}${m[k]}${m[l]}vK) # 5+1
- done
- done
- done
-done
-
-SRC_URI=""
-for i in "${tb6[@]}"; do
- SRC_URI+="${i}.rtbw ${i}.rtbz "
-done
-unset i j k l m tb6
-
-LICENSE="public-domain" # machine-generated tables
-SLOT="nofetch"
-KEYWORDS="amd64 x86"
-RESTRICT="fetch"
-
-RDEPEND="~${CATEGORY}/${P}:0"
-
-S="${WORKDIR}"
-CHECKREQS_DISK_USR="150G"
-CHECKREQS_DISK_BUILD="${CHECKREQS_DISK_USR}"
-
-pkg_nofetch() {
- einfo "Due to their large size, fetching the Syzygy Endgame Tablebases"
- einfo "via BitTorrent is recommended: http://oics.olympuschess.com/tracker/"
- einfo "After downloading, place all K*.rtbw and K*.rtbz files in your"
- einfo "DISTDIR directory."
- einfo "(For the 6-pieces tablebases, there should be" \
- "$(echo ${A} | wc -w) files in total.)"
-}
-
-src_unpack() { :; }
-
-src_install() {
- local f
- insinto /usr/share/${PN}
- for f in ${A}; do
- [[ ${f} = *.rtb[wz] ]] && echo "${DISTDIR}"/${f}
- done | xargs doins
-}
next reply other threads:[~2022-06-27 7:41 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-27 7:40 Ulrich Müller [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-06-04 16:05 [gentoo-commits] repo/gentoo:master commit in: games-board/tablebase-syzygy/ Arthur Zamarin
2023-06-04 9:18 Ulrich Müller
2022-08-02 14:56 Ulrich Müller
2022-06-27 7:34 Agostino Sarubbo
2022-06-15 16:27 Ulrich Müller
2022-06-15 16:25 Ulrich Müller
2018-02-21 0:01 Ulrich Müller
2018-01-29 1:08 Thomas Deutschmann
2018-01-29 1:06 Thomas Deutschmann
2017-11-21 19:27 Ulrich Müller
2017-03-17 8:10 Ulrich Müller
2017-03-09 13:21 Ulrich Müller
2017-03-09 10:32 Ulrich Müller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1656315607.07d0f4c9039b43f1d4697dd891794b3cf24ace95.ulm@gentoo \
--to=ulm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox