[gentoo-commits] repo/gentoo:master commit in: dev-perl/HTML-Template-JIT/

2023-06-20 Thread Sam James
commit: a3dadba8215e8681e68342a571ca3bdfab2db233
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun 21 03:51:16 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 21 04:10:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3dadba8

dev-perl/HTML-Template-JIT: update DESCRIPTION

Signed-off-by: Sam James  gentoo.org>

 dev-perl/HTML-Template-JIT/HTML-Template-JIT-0.50.0-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-perl/HTML-Template-JIT/HTML-Template-JIT-0.50.0-r3.ebuild 
b/dev-perl/HTML-Template-JIT/HTML-Template-JIT-0.50.0-r3.ebuild
index 5b7f49b3b86e..54ea822417a9 100644
--- a/dev-perl/HTML-Template-JIT/HTML-Template-JIT-0.50.0-r3.ebuild
+++ b/dev-perl/HTML-Template-JIT/HTML-Template-JIT-0.50.0-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -8,7 +8,7 @@ DIST_VERSION=0.05
 DIST_EXAMPLES=("scripts/benchmark.pl")
 inherit perl-module
 
-DESCRIPTION="a just-in-time compiler for HTML::Template"
+DESCRIPTION="Just-in-time compiler for HTML::Template"
 
 SLOT="0"
 KEYWORDS="amd64 x86"



[gentoo-commits] repo/gentoo:master commit in: dev-perl/HTML-Template-JIT/

2021-05-22 Thread Andreas K. Hüttel
commit: eeb707e27969fc44590bcd3d147505ce6b6afde8
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat May 22 14:56:54 2021 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sat May 22 15:05:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eeb707e2

dev-perl/HTML-Template-JIT: Fix example path

Closes: https://bugs.gentoo.org/703300
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 .../HTML-Template-JIT/HTML-Template-JIT-0.50.0-r3.ebuild | 12 +++-
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/dev-perl/HTML-Template-JIT/HTML-Template-JIT-0.50.0-r3.ebuild 
b/dev-perl/HTML-Template-JIT/HTML-Template-JIT-0.50.0-r3.ebuild
index 6f0a705cd2c..5b7f49b3b86 100644
--- a/dev-perl/HTML-Template-JIT/HTML-Template-JIT-0.50.0-r3.ebuild
+++ b/dev-perl/HTML-Template-JIT/HTML-Template-JIT-0.50.0-r3.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 DIST_AUTHOR=SAMTREGAR
 DIST_VERSION=0.05
-DIST_EXAMPLES=("script/benchmark.pl")
+DIST_EXAMPLES=("scripts/benchmark.pl")
 inherit perl-module
 
 DESCRIPTION="a just-in-time compiler for HTML::Template"
@@ -14,9 +14,11 @@ SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE=""
 
-RDEPEND=">=dev-perl/HTML-Template-2.8
+RDEPEND="
+   >=dev-perl/HTML-Template-2.8
dev-perl/Inline
dev-perl/Inline-C
 "
-DEPEND="${RDEPEND}"
+BDEPEND="${RDEPEND}"
+
 PATCHES=("${FILESDIR}/${P}-no-dot-inc.patch")



[gentoo-commits] repo/gentoo:master commit in: dev-perl/HTML-Template-JIT/

2018-01-05 Thread Mikle Kolyada
commit: 218c2e99e36cf2f54ce4622848e666406b7ea29f
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Jan  5 19:57:56 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Jan  5 19:57:56 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=218c2e99

dev-perl/HTML-Template-JIT: Drop old

Closes: https://bugs.gentoo.org/635464
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 .../HTML-Template-JIT-0.50.0-r1.ebuild | 18 --
 1 file changed, 18 deletions(-)

diff --git a/dev-perl/HTML-Template-JIT/HTML-Template-JIT-0.50.0-r1.ebuild 
b/dev-perl/HTML-Template-JIT/HTML-Template-JIT-0.50.0-r1.ebuild
deleted file mode 100644
index 12149d4ec28..000
--- a/dev-perl/HTML-Template-JIT/HTML-Template-JIT-0.50.0-r1.ebuild
+++ /dev/null
@@ -1,18 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-MODULE_AUTHOR=SAMTREGAR
-MODULE_VERSION=0.05
-inherit perl-module
-
-DESCRIPTION="a just-in-time compiler for HTML::Template"
-
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-RDEPEND=">=dev-perl/HTML-Template-2.8
-   dev-perl/Inline"
-DEPEND="${RDEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-perl/HTML-Template-JIT/

2018-01-05 Thread Mikle Kolyada
commit: adc71bb4da5343f138eadc93e66d82206597f4ac
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Jan  5 19:55:51 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Jan  5 19:55:51 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adc71bb4

dev-perl/HTML-Template-JIT: Mark stable wrt bug #643246

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-perl/HTML-Template-JIT/HTML-Template-JIT-0.50.0-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-perl/HTML-Template-JIT/HTML-Template-JIT-0.50.0-r3.ebuild 
b/dev-perl/HTML-Template-JIT/HTML-Template-JIT-0.50.0-r3.ebuild
index f0852417630..6f0a705cd2c 100644
--- a/dev-perl/HTML-Template-JIT/HTML-Template-JIT-0.50.0-r3.ebuild
+++ b/dev-perl/HTML-Template-JIT/HTML-Template-JIT-0.50.0-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ inherit perl-module
 DESCRIPTION="a just-in-time compiler for HTML::Template"
 
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE=""
 
 RDEPEND=">=dev-perl/HTML-Template-2.8



[gentoo-commits] repo/gentoo:master commit in: dev-perl/HTML-Template-JIT/

2017-10-25 Thread Kent Fredric
commit: 36af3e644bfec5a69f5adbbf9bf7e9a59a81b0ca
Author: Kent Fredric  gentoo  org>
AuthorDate: Thu Oct 26 00:57:02 2017 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Thu Oct 26 00:57:02 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36af3e64

dev-perl/HTML-Template-JIT: Fix missing RDEP on Inline-C

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 ...mplate-JIT-0.50.0-r2.ebuild => HTML-Template-JIT-0.50.0-r3.ebuild} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-perl/HTML-Template-JIT/HTML-Template-JIT-0.50.0-r2.ebuild 
b/dev-perl/HTML-Template-JIT/HTML-Template-JIT-0.50.0-r3.ebuild
similarity index 91%
rename from dev-perl/HTML-Template-JIT/HTML-Template-JIT-0.50.0-r2.ebuild
rename to dev-perl/HTML-Template-JIT/HTML-Template-JIT-0.50.0-r3.ebuild
index 48f3e10a3e4..f0852417630 100644
--- a/dev-perl/HTML-Template-JIT/HTML-Template-JIT-0.50.0-r2.ebuild
+++ b/dev-perl/HTML-Template-JIT/HTML-Template-JIT-0.50.0-r3.ebuild
@@ -15,6 +15,8 @@ KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 RDEPEND=">=dev-perl/HTML-Template-2.8
-   dev-perl/Inline"
+   dev-perl/Inline
+   dev-perl/Inline-C
+"
 DEPEND="${RDEPEND}"
 PATCHES=("${FILESDIR}/${P}-no-dot-inc.patch")



[gentoo-commits] repo/gentoo:master commit in: dev-perl/HTML-Template-JIT/, dev-perl/HTML-Template-JIT/files/

2017-10-25 Thread Kent Fredric
commit: 5607df38997c6992798a115b4aefbcd96cb17b5f
Author: Kent Fredric  gentoo  org>
AuthorDate: Wed Oct 25 19:48:35 2017 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Wed Oct 25 19:48:55 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5607df38

dev-perl/HTML-Template-JIT: Fix for '.' in @INC bug #635464

- EAPI6
- Enable tests
- Add USE=examples
- Fix runtime broken due to '.' in @INC exposed by enabling tests

Bug: https://bugs.gentoo.org/635464
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 .../HTML-Template-JIT-0.50.0-r2.ebuild | 20 +++
 .../HTML-Template-JIT-0.50.0-no-dot-inc.patch  | 61 ++
 2 files changed, 81 insertions(+)

diff --git a/dev-perl/HTML-Template-JIT/HTML-Template-JIT-0.50.0-r2.ebuild 
b/dev-perl/HTML-Template-JIT/HTML-Template-JIT-0.50.0-r2.ebuild
new file mode 100644
index 000..48f3e10a3e4
--- /dev/null
+++ b/dev-perl/HTML-Template-JIT/HTML-Template-JIT-0.50.0-r2.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=SAMTREGAR
+DIST_VERSION=0.05
+DIST_EXAMPLES=("script/benchmark.pl")
+inherit perl-module
+
+DESCRIPTION="a just-in-time compiler for HTML::Template"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-perl/HTML-Template-2.8
+   dev-perl/Inline"
+DEPEND="${RDEPEND}"
+PATCHES=("${FILESDIR}/${P}-no-dot-inc.patch")

diff --git 
a/dev-perl/HTML-Template-JIT/files/HTML-Template-JIT-0.50.0-no-dot-inc.patch 
b/dev-perl/HTML-Template-JIT/files/HTML-Template-JIT-0.50.0-no-dot-inc.patch
new file mode 100644
index 000..624e579a618
--- /dev/null
+++ b/dev-perl/HTML-Template-JIT/files/HTML-Template-JIT-0.50.0-no-dot-inc.patch
@@ -0,0 +1,61 @@
+From efbee2adfeb592240e1c84326ece8c90c239bbee Mon Sep 17 00:00:00 2001
+From: Kent Fredric 
+Date: Thu, 26 Oct 2017 08:26:53 +1300
+Subject: Fix compiling templates under Perl 5.26 without '.' in @INC
+
+Perl 5.26 changes the default contents of @INC to no longer include
+".", which is required for "require q[foo.tpl]" semantics.
+
+This breakage is invisible in tests  due to a workaround P5P put in
+place to avoid breaking tests, by setting PERL_USE_UNSAFE_INC=1 in
+Test::Harness and CPAN installers, which makes '.' re-appear in @INC
+during installation, while still being silently broken in production.
+
+This fix works by relying on the mechanic of require() to *NOT* consult
+@INC if $path is either an absolute, or a "./" prefixed relative path,
+by converting it to an absolute path just before requiring it.
+
+Bug: https://rt.cpan.org/Ticket/Display.html?id=123380
+Bug: https://bugs.gentoo.org/635464
+---
+ JIT.pm  | 2 +-
+ JIT/Compiler.pm | 3 ++-
+ 2 files changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/JIT.pm b/JIT.pm
+index 9e5a6be..1e2afc8 100644
+--- a/JIT.pm
 b/JIT.pm
+@@ -63,7 +63,7 @@ sub new {
+ 
+   # try to load the module and return package handle if successful
+   my $result;
+-  eval { $result = require $package_path; };
++  eval { $result = require File::Spec->rel2abs($package_path); };
+   if ($result) {
+ $package->clear_params(); # need to clear out params from prior run
+ return $package;
+diff --git a/JIT/Compiler.pm b/JIT/Compiler.pm
+index 6ef3e02..bc1e05f 100644
+--- a/JIT/Compiler.pm
 b/JIT/Compiler.pm
+@@ -9,6 +9,7 @@ our $VERSION = '0.01';
+ use HTML::Template;
+ use Carp qw(croak confess);
+ use File::Path qw(mkpath rmtree);
++use File::Spec;
+ 
+ sub compile {
+   my %args = @_;
+@@ -53,7 +54,7 @@ sub compile {
+ 
+   # try to load the module and return package handle if successful
+   my $result;
+-  eval { $result = require $self->{package_path}; };
++  eval { $result = require File::Spec->rel2abs($self->{package_path}); };
+   return 1 if $result;
+ 
+   # don't leave failed compiles lying around unless we're debuging
+-- 
+2.14.3
+