diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-22 06:30:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-22 06:30:44 +0000 |
commit | 5a2cecfc8661e1d3a762adf05cf8eb142cd41710 (patch) | |
tree | 341806a72603cc8845e7e1595289e7a8b9570f2a /dev-perl/ORLite | |
parent | d2bcdab82e5f5f38a8ab54026e8aa94edb1b77a6 (diff) |
Diffstat (limited to 'dev-perl/ORLite')
-rw-r--r-- | dev-perl/ORLite/Manifest | 4 | ||||
-rw-r--r-- | dev-perl/ORLite/ORLite-1.980.0-r2.ebuild | 34 | ||||
-rw-r--r-- | dev-perl/ORLite/files/ORLite-1.98-dot-in-inc.patch | 394 | ||||
-rw-r--r-- | dev-perl/ORLite/files/ORLite-1.98-vacuum.patch | 44 |
4 files changed, 0 insertions, 476 deletions
diff --git a/dev-perl/ORLite/Manifest b/dev-perl/ORLite/Manifest index 5c6265ea78ed..e1b9faab7f67 100644 --- a/dev-perl/ORLite/Manifest +++ b/dev-perl/ORLite/Manifest @@ -1,7 +1,3 @@ -AUX ORLite-1.98-dot-in-inc.patch 9606 BLAKE2B b71a784a9165e3b77c86727f401a8584a7cc068b12be9555e891b6a7da0eb5ed6953d85dad8479f6c832e5ff673174c156cc8ea8e9813918dde508c32b34ff9d SHA512 947130481b5826582b103c8c26100a2c3c78c8615c1349e77509acdd46bd6dbc0a6be57e276208c6100e182bc54a1ecb4c1eb5d06abea6d875561f6b0b3994c2 -AUX ORLite-1.98-vacuum.patch 1140 BLAKE2B 442f699462308d088d484d382ee0f5d0309f5c2bb9222279007ffc292544c18c90a70a79d9eb0c4197e02177583fbf165212a608a79610f340a3e55d228730b3 SHA512 dbb08c789c78fac0762b2cc5f0cc7e05824b6bbebf909bbc12df2b1c453e651e16186c793d014946d12554f7c86da643d51b33dbe44a1fd40a26ce2ae67538c2 -DIST ORLite-1.98.tar.gz 67402 BLAKE2B f2c5c5f3f36932163c1e5033cd4bfcdf2a3172ba2f5b3dc59e03012706520219162eee986fddd423b289f2bb6b5d350e78e94ac1f3dc3060849383d5894fa185 SHA512 1cc2f8352efe2867806611746d78cf8aa9788e2f38eeb9231ab7b4168a3befeecdb1773360a13578758f9172d08f55261e952698a3e8c5a5b8ad5e63939349f9 DIST ORLite-2.00.tar.gz 55424 BLAKE2B 4fa59fb7a0e897c33475de47a1f67a77f29df8cf9577893db7a5731d0351b7c78c2f3abd9049c892491ce2e7b759589cca05d45f21a014022d6c1985aedfb2da SHA512 387abed5ca27b689e0713df2b8a5d119153244f0813590e58481f7e66b1519ebf6e24ce37310ab08376e3544d6b649362765b0100b50ffdf5b8d88659bd0c3fa -EBUILD ORLite-1.980.0-r2.ebuild 644 BLAKE2B cd51f05b40f5fa294aad1a1b84cd47227cf2d5a8368ac531a7d26ecb4d86a3e32339f30bb6b6ad8e89dee668fac5c307035d59e6675cdc389e28cf2507efcf06 SHA512 e13b04a3f75a48cd9a29a49331ca8ba6481fb3dee37663c14f7d3af3e29324611d24ea735cdc3e88416bb29a25bdf5d05bf4162dded567eb8e02549f9936e3ac EBUILD ORLite-2.0.0.ebuild 598 BLAKE2B 839bfd3124af6facab4d667f343a37860a424129ab464b98b38093b7c17911272adce5785e5b2971efb577827d5bd3b00de621b92cd170212dbd707c5cd7985d SHA512 e92fc67537a1747be4b5aa67228887a2ce94d295fd90a58e9fa0288391ea3f055f8bd91f77a07cb8f8bc4bc74b12ef7ee14b4e47bcdfa5a16d7fc938d1b6d755 MISC metadata.xml 384 BLAKE2B 66e46f91012601e4add0f217e8a2085d2e1fef9ff756256e77b7a4355b75d06955f991e6bcfa360cf9c3cf1d2108330b68da1661d1f344a60f9a716818b6746f SHA512 011f4ca8311f62224102810156aa560292986fc236e5022d22d395be3fe38bb92485b706da72afc35eae46f28cdfa4bca5f128db29830e697d72f49144cc1686 diff --git a/dev-perl/ORLite/ORLite-1.980.0-r2.ebuild b/dev-perl/ORLite/ORLite-1.980.0-r2.ebuild deleted file mode 100644 index 697907dc3094..000000000000 --- a/dev-perl/ORLite/ORLite-1.980.0-r2.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DIST_AUTHOR=ADAMK -DIST_VERSION=1.98 -inherit perl-module - -DESCRIPTION="Extremely light weight SQLite-specific ORM" - -SLOT="0" -KEYWORDS="amd64 ~riscv x86" - -RDEPEND=" - >=virtual/perl-File-Path-2.08 - >=virtual/perl-File-Temp-0.20 - >=dev-perl/Params-Util-1 - >=dev-perl/DBI-1.607 - >=dev-perl/DBD-SQLite-1.27 - >=dev-perl/File-Remove-1.40 -" -BDEPEND="${RDEPEND} - test? ( - >=dev-perl/Test-Script-1.06 - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-1.98-dot-in-inc.patch" - "${FILESDIR}/${PN}-1.98-vacuum.patch" -) - -DIST_TEST="do" # Parallel tests broken diff --git a/dev-perl/ORLite/files/ORLite-1.98-dot-in-inc.patch b/dev-perl/ORLite/files/ORLite-1.98-dot-in-inc.patch deleted file mode 100644 index e08be4560ca0..000000000000 --- a/dev-perl/ORLite/files/ORLite-1.98-dot-in-inc.patch +++ /dev/null @@ -1,394 +0,0 @@ -From 8dd424a2c96200a491bea293d38898f9703dfd56 Mon Sep 17 00:00:00 2001 -From: Kent Fredric <kentfredric@gmail.com> -Date: Fri, 7 Jul 2017 11:02:30 +1200 -Subject: [PATCH] Fix tests failing without '.' in @INC - -Note: t/22_overlay.t seems to have some magical behaviour -where previously it loaded t/lib/TableOne.pm by *implication* during -ORLite construction. - -The test code for this needs to be slightly augmented to retain -traditional semantics without radially overhauling the test code. - -Bug: https://rt.cpan.org/Ticket/Display.html?id=122383 ---- - Makefile.PL | 1 + - t/01_compile.t | 2 +- - t/02_basics.t | 2 +- - t/03_fk.t | 2 +- - t/04_readonly.t | 2 +- - t/05_notables.t | 2 +- - t/06_create.t | 2 +- - t/07_pk.t | 2 +- - t/08_prune.t | 2 +- - t/09_badfile.t | 2 +- - t/10_cleanup.t | 2 +- - t/11_cleanup.t | 2 +- - t/12_xs.t | 2 +- - t/13_array_basics.t | 2 +- - t/14_array_fk.t | 2 +- - t/15_array_xs.t | 2 +- - t/16_array_create.t | 2 +- - t/17_cache.t | 2 +- - t/18_update.t | 2 +- - t/19_view.t | 2 +- - t/20_shim.t | 2 +- - t/21_normalize.t | 2 +- - t/22_overlay.t | 10 ++++++---- - t/23_unicode.t | 2 +- - t/24_rowid.t | 2 +- - t/25_blob.t | 2 +- - 26 files changed, 31 insertions(+), 28 deletions(-) - -diff --git a/Makefile.PL b/Makefile.PL -index 5a4610a..c762072 100644 ---- a/Makefile.PL -+++ b/Makefile.PL -@@ -1,3 +1,4 @@ -+use lib '.'; - use inc::Module::Install::DSL 1.06; - - all_from lib/ORLite.pm -diff --git a/t/01_compile.t b/t/01_compile.t -index 9e8d053..05b1cd0 100644 ---- a/t/01_compile.t -+++ b/t/01_compile.t -@@ -10,7 +10,7 @@ BEGIN { - use Test::More tests => 3; - - require_ok( 'ORLite' ); --require_ok( 't::lib::Test' ); -+require_ok( './t/lib/Test.pm' ); - - is( - $ORLite::VERSION, -diff --git a/t/02_basics.t b/t/02_basics.t -index 448e256..3f9df0d 100644 ---- a/t/02_basics.t -+++ b/t/02_basics.t -@@ -11,7 +11,7 @@ BEGIN { - - use Test::More tests => 74; - use File::Spec::Functions ':ALL'; --use t::lib::Test; -+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() } - - SCOPE: { - # Test file -diff --git a/t/03_fk.t b/t/03_fk.t -index 7f5db26..88d57e1 100644 ---- a/t/03_fk.t -+++ b/t/03_fk.t -@@ -9,7 +9,7 @@ BEGIN { - - use Test::More tests => 5; - use File::Spec::Functions ':ALL'; --use t::lib::Test; -+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() } - - - -diff --git a/t/04_readonly.t b/t/04_readonly.t -index c13fcd7..b918fc2 100644 ---- a/t/04_readonly.t -+++ b/t/04_readonly.t -@@ -11,7 +11,7 @@ BEGIN { - - use Test::More tests => 13; - use File::Spec::Functions ':ALL'; --use t::lib::Test; -+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() } - - SCOPE: { - # Test file -diff --git a/t/05_notables.t b/t/05_notables.t -index a5772c5..5f0d867 100644 ---- a/t/05_notables.t -+++ b/t/05_notables.t -@@ -11,7 +11,7 @@ BEGIN { - - use Test::More tests => 5; - use File::Spec::Functions ':ALL'; --use t::lib::Test; -+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() } - - SCOPE: { - # Test file -diff --git a/t/06_create.t b/t/06_create.t -index 9a2735a..cc2ba57 100644 ---- a/t/06_create.t -+++ b/t/06_create.t -@@ -11,7 +11,7 @@ BEGIN { - - use Test::More tests => 25; - use File::Spec::Functions ':ALL'; --use t::lib::Test; -+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() } - - - -diff --git a/t/07_pk.t b/t/07_pk.t -index 49c85ad..072ffa3 100644 ---- a/t/07_pk.t -+++ b/t/07_pk.t -@@ -9,7 +9,7 @@ BEGIN { - - use Test::More tests => 6; - use File::Spec::Functions ':ALL'; --use t::lib::Test; -+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() } - - - ##################################################################### -diff --git a/t/08_prune.t b/t/08_prune.t -index 9ea2ca8..ac95366 100644 ---- a/t/08_prune.t -+++ b/t/08_prune.t -@@ -12,7 +12,7 @@ BEGIN { - use Test::More tests => 7; - use Test::Script; - use File::Remove; --use t::lib::Test; -+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() } - - # Where the test file will be - my $file = test_db(); -diff --git a/t/09_badfile.t b/t/09_badfile.t -index 4d3445e..cf43ff4 100644 ---- a/t/09_badfile.t -+++ b/t/09_badfile.t -@@ -11,7 +11,7 @@ BEGIN { - use Test::More tests => 2; - use Test::Script; - use File::Remove; --use t::lib::Test; -+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() } - - # Where the test file will be - my $file = test_db(); -diff --git a/t/10_cleanup.t b/t/10_cleanup.t -index 75a3cf3..9683624 100644 ---- a/t/10_cleanup.t -+++ b/t/10_cleanup.t -@@ -9,7 +9,7 @@ BEGIN { - - use Test::More tests => 2; - use File::Spec::Functions ':ALL'; --use t::lib::Test; -+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() } - - - ##################################################################### -diff --git a/t/11_cleanup.t b/t/11_cleanup.t -index 7ba7af1..6e95ff7 100644 ---- a/t/11_cleanup.t -+++ b/t/11_cleanup.t -@@ -9,7 +9,7 @@ BEGIN { - - use Test::More tests => 4; - use File::Spec::Functions ':ALL'; --use t::lib::Test; -+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() } - - - ##################################################################### -diff --git a/t/12_xs.t b/t/12_xs.t -index 151b2ed..6a26730 100644 ---- a/t/12_xs.t -+++ b/t/12_xs.t -@@ -19,7 +19,7 @@ BEGIN { - } - } - use File::Spec::Functions ':ALL'; --use t::lib::Test; -+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() } - - - -diff --git a/t/13_array_basics.t b/t/13_array_basics.t -index 71a3d54..62fb167 100644 ---- a/t/13_array_basics.t -+++ b/t/13_array_basics.t -@@ -10,7 +10,7 @@ BEGIN { - - use Test::More tests => 71; - use File::Spec::Functions ':ALL'; --use t::lib::Test; -+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() } - - SCOPE: { - # Test file -diff --git a/t/14_array_fk.t b/t/14_array_fk.t -index fc898b0..842b33c 100644 ---- a/t/14_array_fk.t -+++ b/t/14_array_fk.t -@@ -9,7 +9,7 @@ BEGIN { - - use Test::More tests => 5; - use File::Spec::Functions ':ALL'; --use t::lib::Test; -+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() } - - - -diff --git a/t/15_array_xs.t b/t/15_array_xs.t -index 97402c0..06d5b1b 100644 ---- a/t/15_array_xs.t -+++ b/t/15_array_xs.t -@@ -19,7 +19,7 @@ BEGIN { - } - } - use File::Spec::Functions ':ALL'; --use t::lib::Test; -+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() } - - - -diff --git a/t/16_array_create.t b/t/16_array_create.t -index 817c72a..3123c0c 100644 ---- a/t/16_array_create.t -+++ b/t/16_array_create.t -@@ -11,7 +11,7 @@ BEGIN { - - use Test::More tests => 25; - use File::Spec::Functions ':ALL'; --use t::lib::Test; -+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() } - - - -diff --git a/t/17_cache.t b/t/17_cache.t -index 5a64066..8472373 100644 ---- a/t/17_cache.t -+++ b/t/17_cache.t -@@ -11,7 +11,7 @@ BEGIN { - use Test::More tests => 9; - use File::Spec::Functions ':ALL'; - use File::Remove 'clear'; --use t::lib::Test; -+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() } - - # Where will the cache file be written to - my $orlite_version = $t::lib::Test::VERSION; -diff --git a/t/18_update.t b/t/18_update.t -index 840f9c0..bf3eed6 100644 ---- a/t/18_update.t -+++ b/t/18_update.t -@@ -9,7 +9,7 @@ BEGIN { - - use Test::More tests => 10; - use File::Spec::Functions ':ALL'; --use t::lib::Test; -+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() } - - - -diff --git a/t/19_view.t b/t/19_view.t -index d893b59..120d9e1 100644 ---- a/t/19_view.t -+++ b/t/19_view.t -@@ -11,7 +11,7 @@ BEGIN { - - use Test::More tests => 81; - use File::Spec::Functions ':ALL'; --use t::lib::Test; -+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() } - - # Set up again - my $file = test_db(); -diff --git a/t/20_shim.t b/t/20_shim.t -index 7f47634..3868225 100644 ---- a/t/20_shim.t -+++ b/t/20_shim.t -@@ -9,7 +9,7 @@ BEGIN { - - use Test::More tests => 12; - use File::Spec::Functions ':ALL'; --use t::lib::Test; -+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() } - - - -diff --git a/t/21_normalize.t b/t/21_normalize.t -index 2a6aa83..f703c64 100644 ---- a/t/21_normalize.t -+++ b/t/21_normalize.t -@@ -11,7 +11,7 @@ BEGIN { - - use Test::More tests => 78; - use File::Spec::Functions ':ALL'; --use t::lib::Test; -+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() } - - SCOPE: { - # Test file -diff --git a/t/22_overlay.t b/t/22_overlay.t -index fca2faa..5848d61 100644 ---- a/t/22_overlay.t -+++ b/t/22_overlay.t -@@ -9,7 +9,7 @@ BEGIN { - - use Test::More tests => 7; - use File::Spec::Functions ':ALL'; --use t::lib::Test; -+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() } - - - -@@ -30,9 +30,11 @@ eval <<"END_PERL"; die $@ if $@; - package t::lib; - - use strict; --use ORLite { -- file => '$file', --}; -+BEGIN { -+ require ORLite; -+ local \@INC=(\@INC, '.'); -+ ORLite->import({ file => '$file' }); -+} - - 1; - END_PERL -diff --git a/t/23_unicode.t b/t/23_unicode.t -index a63d50f..b2be363 100644 ---- a/t/23_unicode.t -+++ b/t/23_unicode.t -@@ -17,7 +17,7 @@ BEGIN { - - use utf8; - use File::Spec::Functions ':ALL'; --use t::lib::Test; -+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() } - - - -diff --git a/t/24_rowid.t b/t/24_rowid.t -index a5527f5..5104437 100644 ---- a/t/24_rowid.t -+++ b/t/24_rowid.t -@@ -11,7 +11,7 @@ BEGIN { - - use Test::More tests => 51; - use File::Spec::Functions ':ALL'; --use t::lib::Test; -+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() } - - # Set up the database - my $file = test_db(); -diff --git a/t/25_blob.t b/t/25_blob.t -index 75aa607..b0bdf06 100644 ---- a/t/25_blob.t -+++ b/t/25_blob.t -@@ -9,7 +9,7 @@ BEGIN { - } - use Test::More; - use File::Spec::Functions ':ALL'; --use t::lib::Test; -+BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import() } - - - --- -2.13.1 - diff --git a/dev-perl/ORLite/files/ORLite-1.98-vacuum.patch b/dev-perl/ORLite/files/ORLite-1.98-vacuum.patch deleted file mode 100644 index 25b819c8000b..000000000000 --- a/dev-perl/ORLite/files/ORLite-1.98-vacuum.patch +++ /dev/null @@ -1,44 +0,0 @@ -Description: Fix cleanup in tests. - Since SQLite 3.15, VACUUM either needs no arguments, or the name of an - attached database. - . - From https://sqlite.org/lang_vacuum.html : - Compatibility Warning: The ability to vacuum attached databases was added - in version 3.15.0 (2016-10-14). Prior to that, a schema-name added to the - VACUUM statement would be silently ignored and the "main" schema would be - vacuumed. - . - That means that 'VACUUM ANALYZE' never did what it was probably supposed to - do. - . - Maybe 'VACUUM; ANALYZE' works as well. -- And besides this change in the - testsuite, the documentation for cleanup() in the POD would need to be - updated as well. - . -Origin: vendor -Bug-Debian: https://bugs.debian.org/841545 -Author: gregor herrmann <gregoa@debian.org> -Last-Update: 2016-10-21 - ---- a/t/10_cleanup.t -+++ b/t/10_cleanup.t -@@ -29,7 +29,7 @@ - use strict; - use ORLite { - file => '$file', -- cleanup => 'VACUUM ANALYZE', -+ cleanup => 'VACUUM', - }; - - 1; ---- a/t/11_cleanup.t -+++ b/t/11_cleanup.t -@@ -29,7 +29,7 @@ - use strict; - use ORLite { - file => '$file', -- cleanup => 'VACUUM ANALYZE', -+ cleanup => 'VACUUM', - }; - - 1; |