Wang Mingyu 169a8f33ab
libdbi-perl: upgrade 1.644 -> 1.646
0001-Fix-building-on-Fedora-40-with-GCC-14.2.1.patch
removed since it's included in 1.646

License-Update: Copyright year updated to 2025

Changelog:
===========
* Remove "experimental" tag from statistics_info ()
* RT tickets moved to github issues
* Fix install issue
* Move developer tests to xt/
* Make Changes match CPAN::Changes::Spec and regen DBI::Changes from that
* Fixes for modern gcc i.c.w. recent perl
* Small code & doc cleanups for recent perl
* See TODO in `perldoc DBI` to see where you can help with documentation

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-14 08:52:04 -08:00

67 lines
1.9 KiB
BlitzBasic

SUMMARY = "The Perl Database Interface"
DESCRIPTION = "DBI is a database access Application Programming Interface \
(API) for the Perl Language. The DBI API Specification defines a set \
of functions, variables and conventions that provide a consistent \
database interface independent of the actual database being used. \
"
HOMEPAGE = "http://search.cpan.org/dist/DBI/"
SECTION = "libs"
LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
LIC_FILES_CHKSUM = "file://LICENSE;md5=65f65488c774efe1da488e36ad6c4a36"
SRC_URI = "https://cpan.metacpan.org/authors/id/H/HM/HMBRAND/DBI-${PV}.tar.gz"
SRC_URI[sha256sum] = "53ab32ac8c30295a776dde658df22be760936cdca5a3c003a23bda6d829fa184"
S = "${WORKDIR}/DBI-${PV}"
inherit cpan ptest-perl
do_install:prepend() {
# test requires "-T" (taint) command line option
rm -rf ${B}/t/pod-coverage.t
rm -rf ${B}/t/13taint.t
# source of test failure not obvious
rm -rf ${B}/t/85gofer.t
# unclear why there are several duplicates of tests in tarball
rm -rf ${B}/t/z*.t
}
do_install:append() {
sed -i "s:^#!.*:#!/usr/bin/env perl:" ${D}${bindir}/dbiproxy \
${D}${bindir}/dbiprof ${D}${bindir}/dbilogstrip
}
RDEPENDS:${PN}:class-target = " \
perl \
perl-module-carp \
perl-module-exporter \
perl-module-exporter-heavy \
perl-module-dynaloader \
perl-module-io-dir \
perl-module-scalar-util \
perl-module-universal \
"
RDEPENDS:${PN}-ptest = " \
${PN} \
perl-module-b \
perl-module-benchmark \
perl-module-cwd \
perl-module-data-dumper \
perl-module-encode \
perl-module-encode-byte \
perl-module-encode-encoding \
perl-module-file-copy \
perl-module-file-path \
perl-module-lib \
perl-module-perlio \
perl-module-perlio-scalar \
perl-module-perlio-via \
perl-module-sdbm-file \
perl-module-storable \
perl-module-test-more \
perl-module-utf8 \
"
BBCLASSEXTEND = "native"