dev-perl/CDB_File: Bump to version 1.20.0

- EAPI7
- Disable parallel tests
- Add better error handling in src_prepare
- Remove Empty variable assignments

Upstream:
- Fix filedescriptor leak in CDB_File
- Croaks if atomic rewrite of temp file to final file fails
- Optimize cdb_hashadd as an inline macro
- Add support for returning COW PVs

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
This commit is contained in:
Kent Fredric
2020-05-07 03:41:22 +12:00
parent 5d58a96a84
commit fe99d0a245
2 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DIST_AUTHOR=TODDR
DIST_VERSION=1.02
DIST_EXAMPLES=("examples/*")
inherit perl-module
DESCRIPTION="Tie to CDB (Bernstein's constant DB) files"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
BDEPEND="
virtual/perl-ExtUtils-MakeMaker
test? (
dev-perl/B-COW
virtual/perl-File-Temp
virtual/perl-Test-Simple
)
"
# Parallel breaks
DIST_TEST="do"
src_prepare() {
mkdir "${S}/examples" || die "Can't make examples dir"
einfo "Moving bun-x.pl to examples/"
cp "${S}/bun-x.pl" "${S}/examples/" || die "Can't copy example to examples/"
perl_rm_files bun-x.pl
perl-module_src_prepare
}

View File

@@ -1 +1,2 @@
DIST CDB_File-0.99.tar.gz 60141 BLAKE2B a35669ed5f3c2ac6651aca8f62595699956cd1f8a60e280e2cc45a4f8459cfd77ac2d58eb389f8ae753cd95266d0f0e445443ad9f5702a98215b2d9e5fba8cd1 SHA512 eb0cc238af51b7768486dd096141cba527f5d36f28c5c79b7188c4d9c5f9cc3162647725a6dcb1d51f323e95d3a7e88a2c875cd8e671aba424addec5b748294c
DIST CDB_File-1.02.tar.gz 61980 BLAKE2B 435071c501d6b72e077717adce1ed612fc06c6e287382c3beefe34387fe694ae155169a9c45ed84251a8a96bfba00fc6267279f67e0911d594e91b1e8bed66d1 SHA512 301be6f63bb65434bdd93503394514d828be83a1028a3e75b77ca4977c4c1c806c209f338ab2949caaa7c55cab9c263096674f265bc7555385da7e778640faa6