From 3c31d67355b22d3bc4382037cd0b133f63db3bc6 Mon Sep 17 00:00:00 2001 From: Ryan Fox Date: Sun, 14 Nov 2021 11:12:15 -0800 Subject: [PATCH] games-rpg/tuxemon: Bump to 0.4.32 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Ryan Fox --- games-rpg/tuxemon/Manifest | 4 +- games-rpg/tuxemon/tuxemon-0.4.32.ebuild | 56 +++++++++++++++++++++++++ games-rpg/tuxemon/tuxemon-9999.ebuild | 12 +++--- 3 files changed, 66 insertions(+), 6 deletions(-) create mode 100644 games-rpg/tuxemon/tuxemon-0.4.32.ebuild diff --git a/games-rpg/tuxemon/Manifest b/games-rpg/tuxemon/Manifest index 1c6d89d..36f7401 100644 --- a/games-rpg/tuxemon/Manifest +++ b/games-rpg/tuxemon/Manifest @@ -1,4 +1,6 @@ DIST tuxemon-0.4.26.tar.gz 171953512 BLAKE2B a462bd64c16c07afaea12556362d5729ef3a259ef81365aa951250cdba0996841b10325c517f4c352193387378c26225c009b69e45980c7cfadd690e71bef893 SHA512 26f068b62348b22f8914037094efa6a336b1cbd9b8ef856608930f9a227dc3bc2baf794c54c47f6f2541a347a83f970c3f9725dbb4dfa500409446f89928274a +DIST tuxemon-0.4.32.tar.gz 172064739 BLAKE2B 4411792a2fea0d23e4e75958b2b3293b0d612e5e400c078e85f4adb991281338b6c8abd99195f1ce683ac0850ea0e16919a9e7bceb6d626a5a9a45c9ac756610 SHA512 c564393d0745cd3161f7dcdce601261f2132492365c17be586a1c44dc3217f5a457cb28985c4cb49ef9e1c75f101d832a7bdae4260ed417a1f1fe50d992c36d5 EBUILD tuxemon-0.4.26.ebuild 1097 BLAKE2B 2d972dcd1d6b945a7a5017971521a6e8a6a4d7e5352c9651a296fe29cdb63c0006bba8f9ee21cc0b9f412a1c249338f1bff7026f8480e244183e01cfac1c8f66 SHA512 4c57c2585e4b59bb9d8d9531c5349b14c9681b0e8b240f2c17843c4e539eaac17e2619d8c61190e7a55bd47d82a9a7e93270ba4e8f0be8be8d775a2272209c8e -EBUILD tuxemon-9999.ebuild 1097 BLAKE2B 2d972dcd1d6b945a7a5017971521a6e8a6a4d7e5352c9651a296fe29cdb63c0006bba8f9ee21cc0b9f412a1c249338f1bff7026f8480e244183e01cfac1c8f66 SHA512 4c57c2585e4b59bb9d8d9531c5349b14c9681b0e8b240f2c17843c4e539eaac17e2619d8c61190e7a55bd47d82a9a7e93270ba4e8f0be8be8d775a2272209c8e +EBUILD tuxemon-0.4.32.ebuild 1170 BLAKE2B 859b3d747cd4e22332cec56fa0be700163ee62197aa730dacf410e1e6d2d742421a1b58b2210632b7d6c7746c6305295aa7977bbb8b0962e4e3b56757d19c615 SHA512 314c16a3ed7bf44f50489cfe1c6101b676339efcfab39450fbb2e7857677cc635eb811af047781e706b4ee074269699c6682001f80789dae758f7cf2f24fdc1f +EBUILD tuxemon-9999.ebuild 1130 BLAKE2B a876f68c60279f0a491bc3d2fb7e5dedb9ab526c999b5d51e733045241c0b2253c636258307d661e46eca4517f3450610f91fe8e86dd3d5e475d97b19cfcaeea SHA512 bf0c0eb919d8756591890c5976d4780b19d8f49164e7eef10bf2de49d66788feadb956d2f18df2e427abdf13fa9d75677ca88423bf4632b3425b1489a294780b MISC metadata.xml 298 BLAKE2B 80b4d3ad84ca1d1275d4961a2eeffafed2ebaabe0b5823d469743c529907d8249d1db2de625b52cf89de122c527359cf81f51294ff1a12af2975184ac652b5d6 SHA512 8baeda0a500c08319fce01d0fd023808d029cb437f1832961a039951c5188e4bd76943eeab23c7bc47b2285f03dce79b6a14305a8da6d614ca51c5b7c92c177f diff --git a/games-rpg/tuxemon/tuxemon-0.4.32.ebuild b/games-rpg/tuxemon/tuxemon-0.4.32.ebuild new file mode 100644 index 0000000..912432e --- /dev/null +++ b/games-rpg/tuxemon/tuxemon-0.4.32.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6..9} ) +DISTUTILS_USE_SETUPTOOLS=bdepend + +inherit distutils-r1 + +if [[ ${PV} != *9999* ]]; then + MY_PN="Tuxemon" + MY_PV="d13b4f584c7839724a2deb9f7c1df1e01536d022" + MY_P="${MY_PN}-${MY_PV}" + S="${WORKDIR}/${MY_P}" + SRC_URI="https://github.com/Tuxemon/Tuxemon/archive/${MY_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/prompt_toolkit + 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" +} diff --git a/games-rpg/tuxemon/tuxemon-9999.ebuild b/games-rpg/tuxemon/tuxemon-9999.ebuild index 29c9d73..bb5ff7c 100644 --- a/games-rpg/tuxemon/tuxemon-9999.ebuild +++ b/games-rpg/tuxemon/tuxemon-9999.ebuild @@ -1,18 +1,19 @@ -# Copyright 2021 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{6,7,8,9} ) +PYTHON_COMPAT=( python3_{6..9} ) DISTUTILS_USE_SETUPTOOLS=bdepend inherit distutils-r1 if [[ ${PV} != *9999* ]]; then MY_PN="Tuxemon" - MY_P="${MY_PN}-${PV}" + MY_PV="" + MY_P="${MY_PN}-${MY_PV}" S="${WORKDIR}/${MY_P}" - SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/Tuxemon/Tuxemon/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64" else inherit git-r3 @@ -34,6 +35,7 @@ RDEPEND=" dev-python/natsort dev-python/pillow dev-python/requests + dev-python/prompt_toolkit dev-python/pygame dev-python/pytmx dev-python/pyscroll