summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2018-11-04 08:18:17 +1300
committerKent Fredric <kentnl@gentoo.org>2018-11-04 08:36:33 +1300
commit3eda83a4e0de9ecd660c06386033d8d1c6e1a66a (patch)
tree9d8f884b3c3c945e3e469e2817959433e6628a31 /dev-perl/Deliantra
parentdev-perl/Compress-LZF: Add w/ version 3.800.0 re bug #458530 (diff)
downloadgentoo-3eda83a4e0de9ecd660c06386033d8d1c6e1a66a.tar.gz
gentoo-3eda83a4e0de9ecd660c06386033d8d1c6e1a66a.tar.bz2
gentoo-3eda83a4e0de9ecd660c06386033d8d1c6e1a66a.zip
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>
Diffstat (limited to 'dev-perl/Deliantra')
-rw-r--r--dev-perl/Deliantra/Deliantra-1.300.0.ebuild50
-rw-r--r--dev-perl/Deliantra/Manifest1
-rw-r--r--dev-perl/Deliantra/metadata.xml19
3 files changed, 70 insertions, 0 deletions
diff --git a/dev-perl/Deliantra/Deliantra-1.300.0.ebuild b/dev-perl/Deliantra/Deliantra-1.300.0.ebuild
new file mode 100644
index 000000000000..fdd9a030c862
--- /dev/null
+++ b/dev-perl/Deliantra/Deliantra-1.300.0.ebuild
@@ -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
+}
diff --git a/dev-perl/Deliantra/Manifest b/dev-perl/Deliantra/Manifest
new file mode 100644
index 000000000000..4c0441d1f816
--- /dev/null
+++ b/dev-perl/Deliantra/Manifest
@@ -0,0 +1 @@
+DIST Deliantra-1.30.tar.gz 168314 BLAKE2B c4026eab4da5a93647b425c68287a88aea51d3e9b8bec823d1b515ebbff52788efa03577768b4c166a91b29520c8c27596aabfda132ff2141024cc45de8a525d SHA512 30601b0b43b259e39914b12771d4b185228d923f4bb846383ef268776b69ce25d32a638f39c826b810b73e8558c40e8898e2b9b387b44d3ddbc256e80c263deb
diff --git a/dev-perl/Deliantra/metadata.xml b/dev-perl/Deliantra/metadata.xml
new file mode 100644
index 000000000000..97e6edfc6518
--- /dev/null
+++ b/dev-perl/Deliantra/metadata.xml
@@ -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>