1
0

games-rpg/tuxemon: Remove old

Tag is no longer available from the git repository.

Signed-off-by: Ryan Fox <flewkey@2a03.party>
This commit is contained in:
Ryan Fox 2021-11-15 13:21:29 -08:00
parent 3c31d67355
commit d0c0dd763e
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E

View File

@ -1,54 +0,0 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8,9} )
DISTUTILS_USE_SETUPTOOLS=bdepend
inherit distutils-r1
if [[ ${PV} != *9999* ]]; then
MY_PN="Tuxemon"
MY_P="${MY_PN}-${PV}"
S="${WORKDIR}/${MY_P}"
SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/Tuxemon/Tuxemon.git"
fi
DESCRIPTION="Open source monster-fighting RPG"
HOMEPAGE="https://www.tuxemon.org/"
LICENSE="GPL-3"
SLOT="0"
IUSE="+rumble"
DEPEND="
dev-python/Babel
"
RDEPEND="
${DEPEND}
dev-python/cbor
dev-python/natsort
dev-python/pillow
dev-python/requests
dev-python/pygame
dev-python/pytmx
dev-python/pyscroll
dev-python/neteria
rumble? ( dev-libs/libshake )
"
BDEPEND=""
src_prepare() {
sed -i "s/\/user\/share/\/usr\/share/" "${S}/tuxemon/constants/paths.py"
distutils-r1_src_prepare
}
src_install() {
distutils-r1_src_install
dodir /usr/share/tuxemon
cp -r "${S}/mods" "${D}/usr/share/tuxemon"
}