diff options
author | 2017-02-26 21:06:06 +0100 | |
---|---|---|
committer | 2017-02-26 21:06:06 +0100 | |
commit | edbaa661861ff8fdcc69b6a6ee240a49ca0d7fdc (patch) | |
tree | 378e0966898d344dd68be0824c16d4ed14960515 | |
parent | Update all metadata.xml files. (diff) | |
download | ulm-edbaa661861ff8fdcc69b6a6ee240a49ca0d7fdc.tar.gz ulm-edbaa661861ff8fdcc69b6a6ee240a49ca0d7fdc.tar.bz2 ulm-edbaa661861ff8fdcc69b6a6ee240a49ca0d7fdc.zip |
games-board/egtb-syzygy: Add pkg_nofetch().
Package-Manager: Portage-2.3.3, Repoman-2.3.1
-rw-r--r-- | games-board/egtb-syzygy/Manifest | 1 | ||||
-rw-r--r-- | games-board/egtb-syzygy/egtb-syzygy-20131213.ebuild | 22 |
2 files changed, 15 insertions, 8 deletions
diff --git a/games-board/egtb-syzygy/Manifest b/games-board/egtb-syzygy/Manifest index 94515f6..0e30e5d 100644 --- a/games-board/egtb-syzygy/Manifest +++ b/games-board/egtb-syzygy/Manifest @@ -1018,4 +1018,3 @@ DIST KRvKP.rtbw 179408 SHA256 3968c2bfced3a5ecfbb54166ec13d4e7b70f3b03c495af4ae8 DIST KRvKP.rtbz 193424 SHA256 6d4b1389832854119df815ff89ed2cb0786e8887f000009f0db3484457f7f6ff SHA512 7920d6e961860b94738b36dbb3cc3ee9771448c3e4a0f1544af79160cb8f8046c9ebe2c80c3183b4c5b3e7eb3be669533bcd2b2274b9b5705ce9a8948b85f65b WHIRLPOOL 542f3cfe981e80ec41fa6c29d915c74abe074e6e4d06266630a4a17719906da89d52a8e5562303eb00f03a1b4958c8c6a64b841e3ea6f7598ac1ecd4e36866e1 DIST KRvKR.rtbw 12944 SHA256 797081b5b3fbac20c4baa5453d68bdae1425b63895f5c9a5ac5c68ea63a97712 SHA512 328639da515a9b36bf6cad80a684c2759e03f8ca7ad78fe7a1e4b1f3ec4c79b418ec74755fa80f86d6523dee43f9e79b4f4e36c56ece06f367850d2a4f39f5c4 WHIRLPOOL 5523cf11921f63c8631dd7247b3454817c1bffb779062ce1b4c57d1cef82b2badf7b893b0bad063f31e95ababfb98feddad1da3e016c754fe3dc5673d42a1ecb DIST KRvKR.rtbz 3408 SHA256 c23fa5a0209204b847232ed49e079c099cf603b43d6ace9e27257793b1839850 SHA512 729068cb50ed6abff51a2b8f4041edfb0d109f163d961db9240a0c74069a7e792f3904a7d712882ad25d356059917a64a84f511914f05c20d41185815f23e3d9 WHIRLPOOL ba8eb4b7f168110093c6beb773afc0d8fae5f12cede7c8b8202dc0035b100183e9b90abf530dfe5eace249a023e58f453a8bab594b137a5555d99e6fd063e8f5 -DIST egtb-syzygy-20131213-README 1206 SHA256 5dab5aa3fb01f68c0a1df512d2e0af8680e142ead7c286b041472878ee1e8f91 SHA512 6e2f796108e8662b28c982a1049799ea0db63ccc93b0219859f6e955699f06ddd8f1395f9b2a2028c9170b853e886e626d52f96186a2c5f999c213f02401e654 WHIRLPOOL 61535ce836576296d7908f90513bb91ff7a48c6367dbc5ee95715ea02d6e22065cd7687c42283e41800264a0549ad80038c1a6d35bf3917a64fb7c485858cdc3 diff --git a/games-board/egtb-syzygy/egtb-syzygy-20131213.ebuild b/games-board/egtb-syzygy/egtb-syzygy-20131213.ebuild index dafb926..ea1a36a 100644 --- a/games-board/egtb-syzygy/egtb-syzygy-20131213.ebuild +++ b/games-board/egtb-syzygy/egtb-syzygy-20131213.ebuild @@ -1,13 +1,14 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 inherit check-reqs DESCRIPTION="Syzygy chess endgame tablebases for up to 6 pieces" -HOMEPAGE="http://tablebase.sesse.net/" +HOMEPAGE="http://tablebase.sesse.net/ + http://kirill-kryukov.com/chess/tablebases-online/" tb345=() tb6=() @@ -31,8 +32,6 @@ for ((i=4; i>=0; i--)); do done done done - -SRC_URI="http://tablebase.sesse.net/README -> ${P}-README" 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" @@ -49,10 +48,20 @@ LICENSE="public-domain" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="tb6" -RESTRICT="mirror" # not on Gentoo mirrors +RESTRICT="mirror tb6? ( fetch )" # not on Gentoo mirrors S="${WORKDIR}" +pkg_nofetch() { + local f + 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 the following files in ${DISTDIR}:" + for f in ${A}; do + einfo "${f}" + done +} + pkg_pretend() { CHECKREQS_DISK_USR=$(usex tb6 "151G" "939M") CHECKREQS_DISK_BUILD="${CHECKREQS_DISK_USR}" @@ -73,5 +82,4 @@ src_install() { for f in ${A}; do [[ ${f} = *.rtb[wz] ]] && echo "${DISTDIR}"/${f} done | xargs doins - newdoc "${DISTDIR}"/${P}-README README } |