diff options
author | Kent Fredric <kentnl@gentoo.org> | 2020-05-07 03:41:22 +1200 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2020-05-07 03:41:52 +1200 |
commit | fe99d0a245cd55367756c666fcff0d0bb20b1cde (patch) | |
tree | 4ad1b231c7044fd2fe5ccc74cb7b3724e5c074ff /dev-perl/CDB_File | |
parent | dev-perl/B-COW: Add w/v=0.4.0 (diff) | |
download | gentoo-fe99d0a245cd55367756c666fcff0d0bb20b1cde.tar.gz gentoo-fe99d0a245cd55367756c666fcff0d0bb20b1cde.tar.bz2 gentoo-fe99d0a245cd55367756c666fcff0d0bb20b1cde.zip |
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>
Diffstat (limited to 'dev-perl/CDB_File')
-rw-r--r-- | dev-perl/CDB_File/CDB_File-1.20.0.ebuild | 35 | ||||
-rw-r--r-- | dev-perl/CDB_File/Manifest | 1 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-perl/CDB_File/CDB_File-1.20.0.ebuild b/dev-perl/CDB_File/CDB_File-1.20.0.ebuild new file mode 100644 index 000000000000..9e4a33a6c5fb --- /dev/null +++ b/dev-perl/CDB_File/CDB_File-1.20.0.ebuild @@ -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 +} diff --git a/dev-perl/CDB_File/Manifest b/dev-perl/CDB_File/Manifest index 559f7b617b9a..ebd06c30273a 100644 --- a/dev-perl/CDB_File/Manifest +++ b/dev-perl/CDB_File/Manifest @@ -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 |