summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Ryan <anthonyryan1@gmail.com>2017-01-15 16:15:14 -0500
committerKent Fredric <kentnl@gentoo.org>2017-01-17 08:40:05 +1300
commitdd136372dee7b75495a050b7d4e07bdecb39659f (patch)
tree82430e4dfa86add301aec0f45528c5c9fcf46f1a /dev-perl
parentapp-emulation/diskimage-builder: cleanup (diff)
downloadgentoo-dd136372dee7b75495a050b7d4e07bdecb39659f.tar.gz
gentoo-dd136372dee7b75495a050b7d4e07bdecb39659f.tar.bz2
gentoo-dd136372dee7b75495a050b7d4e07bdecb39659f.zip
dev-perl/Test-Regexp: New ebuild
This package contains the testing harness used by dev-perl/Regexp-Common, without this package many of it's tests are skipped even when building with FEATURES="test" Package-Manager: portage-2.3.0 Closes: https://github.com/gentoo/gentoo/pull/3495
Diffstat (limited to 'dev-perl')
-rw-r--r--dev-perl/Test-Regexp/Manifest1
-rw-r--r--dev-perl/Test-Regexp/Test-Regexp-2016060501.0.0.ebuild35
-rw-r--r--dev-perl/Test-Regexp/metadata.xml13
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-perl/Test-Regexp/Manifest b/dev-perl/Test-Regexp/Manifest
new file mode 100644
index 000000000000..c71b3f70785b
--- /dev/null
+++ b/dev-perl/Test-Regexp/Manifest
@@ -0,0 +1 @@
+DIST Test-Regexp-2016060501.tar.gz 18898 SHA256 d59ff798b47b5a8be99f840a9bcf2762d49d2e0c96f51a38c03fe1a41eb4737d SHA512 639d74565fe93950950ed9dda30de5f83b1941d9f06b71dc40e33bd7b5355bba2d0f91afd9355262dc4ec167f39427e06f807e594b97ec74ff11762dea12f411 WHIRLPOOL a9fddf16049269c8c5a72d36d34427fa34b22b8c7a80ad26df467f8dcc2c3f3e728609ebdc7dc677a2add518fcf65ec798ad281f36c81baf5432aaf18386b884
diff --git a/dev-perl/Test-Regexp/Test-Regexp-2016060501.0.0.ebuild b/dev-perl/Test-Regexp/Test-Regexp-2016060501.0.0.ebuild
new file mode 100644
index 000000000000..b2b68e28d603
--- /dev/null
+++ b/dev-perl/Test-Regexp/Test-Regexp-2016060501.0.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit versionator
+
+DIST_AUTHOR=ABIGAIL
+DIST_VERSION=$(get_major_version)
+
+inherit perl-module
+
+DESCRIPTION="Provide commonly requested regular expressions"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="test"
+
+DEPEND="
+ test? ( >=virtual/perl-Test-Simple-1.1.14 )
+ virtual/perl-ExtUtils-MakeMaker
+"
+RDEPEND="
+ virtual/perl-Test-Simple
+ virtual/perl-Exporter
+"
+
+src_test() {
+ # Omit code coverage / documentation tests
+ perl_rm_files t/{950,960,980,981,982}*.t
+
+ perl-module_src_test
+}
diff --git a/dev-perl/Test-Regexp/metadata.xml b/dev-perl/Test-Regexp/metadata.xml
new file mode 100644
index 000000000000..99f79ad0570b
--- /dev/null
+++ b/dev-perl/Test-Regexp/metadata.xml
@@ -0,0 +1,13 @@
+<?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">Test-Regexp</remote-id>
+ <remote-id type="cpan-module">Test::Regexp</remote-id>
+ <remote-id type="github">Abigail/Test-Regexp</remote-id>
+ </upstream>
+</pkgmetadata>