dev-perl/Deliantra: Add w/ version 1.300.0 re bug #458530

Using 1.300.0 because 2.0.0 has some missing files.

Added manual compile test as upstream currently lacks tests.

Bug: https://bugs.gentoo.org/458530
Bug: http://lists.schmorp.de/pipermail/perl/2018q4/000031.html
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
This commit is contained in:
Kent Fredric
2018-11-04 08:18:17 +13:00
parent dd3a03e3e5
commit 3eda83a4e0
3 changed files with 70 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DIST_AUTHOR=MLEHMANN
DIST_VERSION=1.30
DIST_EXAMPLES=("eg/*")
inherit perl-module
DESCRIPTION="Deliantra suppport module to read/write archetypes, maps etc"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
>=dev-perl/AnyEvent-4.0.0
>=dev-perl/Compress-LZF-3.110.0
>=dev-perl/JSON-XS-2.10.0
dev-perl/common-sense
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
"
src_test() {
local MODULES=(
"Deliantra ${DIST_VERSION}"
"Deliantra::Protocol::Base 1.22"
"Deliantra::Protocol::Constants 0.1"
"Deliantra::Map 0.1"
"Deliantra::Data"
"Deliantra::MoveType"
)
perl_has_module "Gtk2" && MODULES+=( "Deliantra::MapWidget" )
local failed=()
for dep in "${MODULES[@]}"; do
ebegin "Compile testing ${dep}"
perl -Mblib="${S}/blib" -M"${dep} ()" -e1
eend $? || failed+=( "$dep" )
done
if [[ ${failed[@]} ]]; then
echo
eerror "One or more modules failed compile:";
for dep in "${failed[@]}"; do
eerror " ${dep}"
done
die "Failing due to module compilation errors";
fi
perl-module_src_test
}

View File

@@ -0,0 +1 @@
DIST Deliantra-1.30.tar.gz 168314 BLAKE2B c4026eab4da5a93647b425c68287a88aea51d3e9b8bec823d1b515ebbff52788efa03577768b4c166a91b29520c8c27596aabfda132ff2141024cc45de8a525d SHA512 30601b0b43b259e39914b12771d4b185228d923f4bb846383ef268776b69ce25d32a638f39c826b810b73e8558c40e8898e2b9b387b44d3ddbc256e80c263deb

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>perl@gentoo.org</email>
<name>Gentoo Perl Project</name>
</maintainer>
<upstream>
<remote-id type="cpan">Deliantra</remote-id>
<remote-id type="cpan-module">Deliantra</remote-id>
<remote-id type="cpan-module">Deliantra::Data</remote-id>
<remote-id type="cpan-module">Deliantra::Map</remote-id>
<remote-id type="cpan-module">Deliantra::MapWidget</remote-id>
<remote-id type="cpan-module">Deliantra::MoveType</remote-id>
<remote-id type="cpan-module">Deliantra::Protocol</remote-id>
<remote-id type="cpan-module">Deliantra::Protocol::Base</remote-id>
<remote-id type="cpan-module">Deliantra::Protocol::Constants</remote-id>
</upstream>
</pkgmetadata>