diff options
Diffstat (limited to 'dev-perl/Class-DBI-mysql')
-rw-r--r-- | dev-perl/Class-DBI-mysql/Class-DBI-mysql-1.0.0-r2.ebuild | 47 | ||||
-rw-r--r-- | dev-perl/Class-DBI-mysql/Manifest | 3 | ||||
-rw-r--r-- | dev-perl/Class-DBI-mysql/metadata.xml | 12 |
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-perl/Class-DBI-mysql/Class-DBI-mysql-1.0.0-r2.ebuild b/dev-perl/Class-DBI-mysql/Class-DBI-mysql-1.0.0-r2.ebuild new file mode 100644 index 000000000000..2dcd8f3af81b --- /dev/null +++ b/dev-perl/Class-DBI-mysql/Class-DBI-mysql-1.0.0-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=TMTM +DIST_VERSION=1.00 +inherit perl-module + +DESCRIPTION="Extensions to Class::DBI for MySQL" + +LICENSE="|| ( GPL-3 GPL-2 )" # GPL-2+ +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="dev-perl/Class-DBI + dev-perl/DBD-mysql" +DEPEND="${RDEPEND}" + +src_test() { + local MODULES=( + "Class::DBI::mysql ${DIST_VERSION}" + ) + local failed=() + for dep in "${MODULES[@]}"; do + ebegin "Compile testing ${dep}" + perl -Mblib="${S}" -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 + if [[ -n "${DBD_MYSQL_DBNAME}" ]]; then + perl_rm_files t/pod-coverage.t t/pod.t + perl-module_src_test + else + ewarn "Functional testing of this package requires user intervention." + ewarn "For details, see:" + ewarn "https://wiki.gentoo.org/Project:Perl/maint-notes/dev-perl/Class-DBI-mysql" + fi +} diff --git a/dev-perl/Class-DBI-mysql/Manifest b/dev-perl/Class-DBI-mysql/Manifest new file mode 100644 index 000000000000..7c83d70ab47c --- /dev/null +++ b/dev-perl/Class-DBI-mysql/Manifest @@ -0,0 +1,3 @@ +DIST Class-DBI-mysql-1.00.tar.gz 6411 BLAKE2B 9105265fd43f61c58f2763847f36ad2e9d01974f23d0cbf76d5224f59daca2bf3dd52924e187090ed5581be8ed64cb9a9f37b54c079f680e01886311c29cdfcb SHA512 4b8ba9b092f7331a37d7d708a77ac301512ee9b10bd1b4fea2a73a876fca737be4709ab821701ff45a1f007aa3a952a82bbe72e7894707fe89ba4a66108cc08a +EBUILD Class-DBI-mysql-1.0.0-r2.ebuild 1101 BLAKE2B e4188603786637e2a44017fd83fe99ff2e3dcd36095a7f1197d196db608acec7833380481bb2e987a6a269ca454b0f663cb19bb9185462f7b78fb4fd51f324dd SHA512 ff06404b760e67291db8433882b9ee74e460e5d19fe87850555194c1342e75f5a75c533f288a4787e043b7be4a698c8e0700eb2dad6a12e1fb356afb37184b10 +MISC metadata.xml 403 BLAKE2B 7f93396c4cd8eaf55d10af074e7cf2bf556aafadc9787ff591bf26279f55ac81b0fa59a27658a0e699004d4251747896f008389fe8e1c17781192b31e44d0fa1 SHA512 98395fcfb54a140fa5b115b9dc48d12e26f30f3e7ad7a618720dc1ccce18074ecd3844d28327a296b4cc0199b37e4693d57e93f7317986754a7e5e3da6c12f86 diff --git a/dev-perl/Class-DBI-mysql/metadata.xml b/dev-perl/Class-DBI-mysql/metadata.xml new file mode 100644 index 000000000000..85ddf18718e5 --- /dev/null +++ b/dev-perl/Class-DBI-mysql/metadata.xml @@ -0,0 +1,12 @@ +<?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">Class-DBI-mysql</remote-id> + <remote-id type="cpan-module">Class::DBI::mysql</remote-id> + </upstream> +</pkgmetadata> |