diff mbox series

[11/17] perl-package-stash: new package

Message ID 20180811182749.20924-12-chrismcc@gmail.com
State Changes Requested
Headers show
Series even more perl modules | expand

Commit Message

Christopher McCrory Aug. 11, 2018, 6:27 p.m. UTC
Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
---
 DEVELOPERS                                         |  1 +
 package/Config.in                                  |  1 +
 package/perl-package-stash/Config.in               |  8 ++++++++
 package/perl-package-stash/perl-package-stash.hash |  6 ++++++
 package/perl-package-stash/perl-package-stash.mk   | 15 +++++++++++++++
 5 files changed, 31 insertions(+)
 create mode 100644 package/perl-package-stash/Config.in
 create mode 100644 package/perl-package-stash/perl-package-stash.hash
 create mode 100644 package/perl-package-stash/perl-package-stash.mk

Comments

Francois Perrad Aug. 11, 2018, 7:37 p.m. UTC | #1
2018-08-11 20:27 GMT+02:00 Christopher McCrory <chrismcc@gmail.com>:

> Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
> ---
>  DEVELOPERS                                         |  1 +
>  package/Config.in                                  |  1 +
>  package/perl-package-stash/Config.in               |  8 ++++++++
>  package/perl-package-stash/perl-package-stash.hash |  6 ++++++
>  package/perl-package-stash/perl-package-stash.mk   | 15 +++++++++++++++
>  5 files changed, 31 insertions(+)
>  create mode 100644 package/perl-package-stash/Config.in
>  create mode 100644 package/perl-package-stash/perl-package-stash.hash
>  create mode 100644 package/perl-package-stash/perl-package-stash.mk
>
> diff --git a/DEVELOPERS b/DEVELOPERS
> index 9d7d38ea75..ce2e31461a 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -499,6 +499,7 @@ F:  package/perl-mime-tools
>  F:     package/perl-module-implementation
>  F:     package/perl-module-runtime
>  F:     package/perl-number-bytes-human
> +F:     package/perl-package-stash
>  F:     package/perl-params-util
>  F:     package/perl-sub-install
>  F:     package/perl-sys-meminfo
> diff --git a/package/Config.in b/package/Config.in
> index 1008a651ec..57b22af90e 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -726,6 +726,7 @@ menu "Perl libraries/modules"
>         source "package/perl-net-telnet/Config.in"
>         source "package/perl-netaddr-ip/Config.in"
>         source "package/perl-number-bytes-human/Config.in"
> +       source "package/perl-package-stash/Config.in"
>         source "package/perl-params-util/Config.in"
>         source "package/perl-path-tiny/Config.in"
>         source "package/perl-sub-install/Config.in"
> diff --git a/package/perl-package-stash/Config.in
> b/package/perl-package-stash/Config.in
> new file mode 100644
> index 0000000000..755850f7b6
> --- /dev/null
> +++ b/package/perl-package-stash/Config.in
> @@ -0,0 +1,8 @@
> +config BR2_PACKAGE_PERL_PACKAGE_STASH
> +       bool "perl-package-stash"
> +       select BR2_PACKAGE_PERL_DIST_CHECKCONFLICTS
> +       select BR2_PACKAGE_PERL_MODULE_IMPLEMENTATION
> +       help
> +         routines for manipulating stashes
> +
> +         http://metacpan.org/release/Package-Stash
> diff --git a/package/perl-package-stash/perl-package-stash.hash
> b/package/perl-package-stash/perl-package-stash.hash
> new file mode 100644
> index 0000000000..4d9b202879
> --- /dev/null
> +++ b/package/perl-package-stash/perl-package-stash.hash
> @@ -0,0 +1,6 @@
> +# retrieved by scancpan from http://cpan.metacpan.org/
> +md5    7e47a8261312e1cf3d12bd2007916b66 Package-Stash-0.37.tar.gz
> +sha256 06ab05388f9130cd377c0e1d3e3bafeed6ef6a1e22104571a9e1d7bfac787b2c
> Package-Stash-0.37.tar.gz
> +
> +# computed by scancpan
> +sha256 b4e0637ed96008ddcbf7e0ddeb73967df3d0b4dc62a6b7fdb86eac37018cb12e
> LICENSE
> diff --git a/package/perl-package-stash/perl-package-stash.mk
> b/package/perl-package-stash/perl-package-stash.mk
> new file mode 100644
> index 0000000000..0da733dcbe
> --- /dev/null
> +++ b/package/perl-package-stash/perl-package-stash.mk
> @@ -0,0 +1,15 @@
> +###########################################################
> #####################
> +#
> +# perl-package-stash
> +#
> +###########################################################
> #####################
> +
> +PERL_PACKAGE_STASH_VERSION = 0.37
> +PERL_PACKAGE_STASH_SOURCE = Package-Stash-$(PERL_PACKAGE_
> STASH_VERSION).tar.gz
> +PERL_PACKAGE_STASH_SITE = $(BR2_CPAN_MIRROR)/authors/id/D/DO/DOY
> +PERL_PACKAGE_STASH_DEPENDENCIES = host-perl-dist-checkconflicts
> perl-dist-checkconflicts perl-module-implementation
> +PERL_TEMPLATE_TOOLKIT_CONF_OPTS += TT_XS_ENABLE=n
>
This line (copy&pasted from perl-template-toolkit.mk) has no side effect
here.

Package-Stash and Package-Stash-XS are two separated modules.
They just supply the same feature, with different implementations, one pure
perl and another native XS.
And you could install both or only your prefered without modification of
files generated by scancpan.

François


> +PERL_PACKAGE_STASH_LICENSE = Artistic or GPL-1.0+
> +PERL_PACKAGE_STASH_LICENSE_FILES = LICENSE
> +
> +$(eval $(perl-package))
> --
> 2.14.4
>
>
<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2018-08-11 20:27 GMT+02:00 Christopher McCrory <span dir="ltr">&lt;<a href="mailto:chrismcc@gmail.com" target="_blank">chrismcc@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Signed-off-by: Christopher McCrory &lt;<a href="mailto:chrismcc@gmail.com">chrismcc@gmail.com</a>&gt;<br>
---<br>
 DEVELOPERS                                         |  1 +<br>
 package/Config.in                                  |  1 +<br>
 package/perl-package-stash/<wbr>Config.in               |  8 ++++++++<br>
 package/perl-package-stash/<wbr>perl-package-stash.hash |  6 ++++++<br>
 package/perl-package-stash/<a href="http://perl-package-stash.mk" rel="noreferrer" target="_blank">per<wbr>l-package-stash.mk</a>   | 15 +++++++++++++++<br>
 5 files changed, 31 insertions(+)<br>
 create mode 100644 package/perl-package-stash/<wbr>Config.in<br>
 create mode 100644 package/perl-package-stash/<wbr>perl-package-stash.hash<br>
 create mode 100644 package/perl-package-stash/<a href="http://perl-package-stash.mk" rel="noreferrer" target="_blank">per<wbr>l-package-stash.mk</a><br>
<br>
diff --git a/DEVELOPERS b/DEVELOPERS<br>
index 9d7d38ea75..ce2e31461a 100644<br>
--- a/DEVELOPERS<br>
+++ b/DEVELOPERS<br>
@@ -499,6 +499,7 @@ F:  package/perl-mime-tools<br>
 F:     package/perl-module-<wbr>implementation<br>
 F:     package/perl-module-runtime<br>
 F:     package/perl-number-bytes-<wbr>human<br>
+F:     package/perl-package-stash<br>
 F:     package/perl-params-util<br>
 F:     package/perl-sub-install<br>
 F:     package/perl-sys-meminfo<br>
diff --git a/package/Config.in b/package/Config.in<br>
index 1008a651ec..57b22af90e 100644<br>
--- a/package/Config.in<br>
+++ b/package/Config.in<br>
@@ -726,6 +726,7 @@ menu &quot;Perl libraries/modules&quot;<br>
        source &quot;package/perl-net-telnet/<wbr>Config.in&quot;<br>
        source &quot;package/perl-netaddr-ip/<wbr>Config.in&quot;<br>
        source &quot;package/perl-number-bytes-<wbr>human/Config.in&quot;<br>
+       source &quot;package/perl-package-stash/<wbr>Config.in&quot;<br>
        source &quot;package/perl-params-util/<wbr>Config.in&quot;<br>
        source &quot;package/perl-path-tiny/<wbr>Config.in&quot;<br>
        source &quot;package/perl-sub-install/<wbr>Config.in&quot;<br>
diff --git a/package/perl-package-stash/<wbr>Config.in b/package/perl-package-stash/<wbr>Config.in<br>
new file mode 100644<br>
index 0000000000..755850f7b6<br>
--- /dev/null<br>
+++ b/package/perl-package-stash/<wbr>Config.in<br>
@@ -0,0 +1,8 @@<br>
+config BR2_PACKAGE_PERL_PACKAGE_STASH<br>
+       bool &quot;perl-package-stash&quot;<br>
+       select BR2_PACKAGE_PERL_DIST_<wbr>CHECKCONFLICTS<br>
+       select BR2_PACKAGE_PERL_MODULE_<wbr>IMPLEMENTATION<br>
+       help<br>
+         routines for manipulating stashes<br>
+<br>
+         <a href="http://metacpan.org/release/Package-Stash" rel="noreferrer" target="_blank">http://metacpan.org/release/<wbr>Package-Stash</a><br>
diff --git a/package/perl-package-stash/<wbr>perl-package-stash.hash b/package/perl-package-stash/<wbr>perl-package-stash.hash<br>
new file mode 100644<br>
index 0000000000..4d9b202879<br>
--- /dev/null<br>
+++ b/package/perl-package-stash/<wbr>perl-package-stash.hash<br>
@@ -0,0 +1,6 @@<br>
+# retrieved by scancpan from <a href="http://cpan.metacpan.org/" rel="noreferrer" target="_blank">http://cpan.metacpan.org/</a><br>
+md5    7e47a8261312e1cf3d12bd2007916b<wbr>66 Package-Stash-0.37.tar.gz<br>
+sha256 06ab05388f9130cd377c0e1d3e3baf<wbr>eed6ef6a1e22104571a9e1d7bfac78<wbr>7b2c Package-Stash-0.37.tar.gz<br>
+<br>
+# computed by scancpan<br>
+sha256 b4e0637ed96008ddcbf7e0ddeb7396<wbr>7df3d0b4dc62a6b7fdb86eac37018c<wbr>b12e LICENSE<br>
diff --git a/package/perl-package-stash/<a href="http://perl-package-stash.mk" rel="noreferrer" target="_blank">p<wbr>erl-package-stash.mk</a> b/package/perl-package-stash/<a href="http://perl-package-stash.mk" rel="noreferrer" target="_blank">p<wbr>erl-package-stash.mk</a><br>
new file mode 100644<br>
index 0000000000..0da733dcbe<br>
--- /dev/null<br>
+++ b/package/perl-package-stash/<a href="http://perl-package-stash.mk" rel="noreferrer" target="_blank">p<wbr>erl-package-stash.mk</a><br>
@@ -0,0 +1,15 @@<br>
+#############################<wbr>##############################<wbr>#####################<br>
+#<br>
+# perl-package-stash<br>
+#<br>
+#############################<wbr>##############################<wbr>#####################<br>
+<br>
+PERL_PACKAGE_STASH_VERSION = 0.37<br>
+PERL_PACKAGE_STASH_SOURCE = Package-Stash-$(PERL_PACKAGE_<wbr>STASH_VERSION).tar.gz<br>
+PERL_PACKAGE_STASH_SITE = $(BR2_CPAN_MIRROR)/authors/id/<wbr>D/DO/DOY<br>
+PERL_PACKAGE_STASH_<wbr>DEPENDENCIES = host-perl-dist-checkconflicts perl-dist-checkconflicts perl-module-implementation<br>
+PERL_TEMPLATE_TOOLKIT_CONF_<wbr>OPTS += TT_XS_ENABLE=n<br></blockquote><div>This line (copy&amp;pasted from <a href="http://perl-template-toolkit.mk">perl-template-toolkit.mk</a>) has no side effect here.<br></div><div><br></div><div>Package-Stash and Package-Stash-XS are two separated modules.</div><div>They just supply the same feature, with different implementations, one pure perl and another native XS.<br></div><div>And you could install both or only your prefered without modification of files generated by scancpan.</div><div><br></div><div>François<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
+PERL_PACKAGE_STASH_LICENSE = Artistic or GPL-1.0+<br>
+PERL_PACKAGE_STASH_LICENSE_<wbr>FILES = LICENSE<br>
+<br>
+$(eval $(perl-package))<br>
<span class="HOEnZb"><font color="#888888">-- <br>
2.14.4<br>
<br>
</font></span></blockquote></div><br></div></div>
Christopher McCrory Aug. 11, 2018, 9:31 p.m. UTC | #2
Hello


Sorry for top posting, I'm on my phone


Good catch!  That line is in the wrong file.  I'll fix that when I get home.

On Sat, Aug 11, 2018, 12:37 PM François Perrad <francois.perrad@gadz.org>
wrote:

>
>
> 2018-08-11 20:27 GMT+02:00 Christopher McCrory <chrismcc@gmail.com>:
>
>> Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
>> ---
>>  DEVELOPERS                                         |  1 +
>>  package/Config.in                                  |  1 +
>>  package/perl-package-stash/Config.in               |  8 ++++++++
>>  package/perl-package-stash/perl-package-stash.hash |  6 ++++++
>>  package/perl-package-stash/perl-package-stash.mk   | 15 +++++++++++++++
>>  5 files changed, 31 insertions(+)
>>  create mode 100644 package/perl-package-stash/Config.in
>>  create mode 100644 package/perl-package-stash/perl-package-stash.hash
>>  create mode 100644 package/perl-package-stash/perl-package-stash.mk
>>
>> diff --git a/DEVELOPERS b/DEVELOPERS
>> index 9d7d38ea75..ce2e31461a 100644
>> --- a/DEVELOPERS
>> +++ b/DEVELOPERS
>> @@ -499,6 +499,7 @@ F:  package/perl-mime-tools
>>  F:     package/perl-module-implementation
>>  F:     package/perl-module-runtime
>>  F:     package/perl-number-bytes-human
>> +F:     package/perl-package-stash
>>  F:     package/perl-params-util
>>  F:     package/perl-sub-install
>>  F:     package/perl-sys-meminfo
>> diff --git a/package/Config.in b/package/Config.in
>> index 1008a651ec..57b22af90e 100644
>> --- a/package/Config.in
>> +++ b/package/Config.in
>> @@ -726,6 +726,7 @@ menu "Perl libraries/modules"
>>         source "package/perl-net-telnet/Config.in"
>>         source "package/perl-netaddr-ip/Config.in"
>>         source "package/perl-number-bytes-human/Config.in"
>> +       source "package/perl-package-stash/Config.in"
>>         source "package/perl-params-util/Config.in"
>>         source "package/perl-path-tiny/Config.in"
>>         source "package/perl-sub-install/Config.in"
>> diff --git a/package/perl-package-stash/Config.in
>> b/package/perl-package-stash/Config.in
>> new file mode 100644
>> index 0000000000..755850f7b6
>> --- /dev/null
>> +++ b/package/perl-package-stash/Config.in
>> @@ -0,0 +1,8 @@
>> +config BR2_PACKAGE_PERL_PACKAGE_STASH
>> +       bool "perl-package-stash"
>> +       select BR2_PACKAGE_PERL_DIST_CHECKCONFLICTS
>> +       select BR2_PACKAGE_PERL_MODULE_IMPLEMENTATION
>> +       help
>> +         routines for manipulating stashes
>> +
>> +         http://metacpan.org/release/Package-Stash
>> diff --git a/package/perl-package-stash/perl-package-stash.hash
>> b/package/perl-package-stash/perl-package-stash.hash
>> new file mode 100644
>> index 0000000000..4d9b202879
>> --- /dev/null
>> +++ b/package/perl-package-stash/perl-package-stash.hash
>> @@ -0,0 +1,6 @@
>> +# retrieved by scancpan from http://cpan.metacpan.org/
>> +md5    7e47a8261312e1cf3d12bd2007916b66 Package-Stash-0.37.tar.gz
>> +sha256 06ab05388f9130cd377c0e1d3e3bafeed6ef6a1e22104571a9e1d7bfac787b2c
>> Package-Stash-0.37.tar.gz
>> +
>> +# computed by scancpan
>> +sha256 b4e0637ed96008ddcbf7e0ddeb73967df3d0b4dc62a6b7fdb86eac37018cb12e
>> LICENSE
>> diff --git a/package/perl-package-stash/perl-package-stash.mk
>> b/package/perl-package-stash/perl-package-stash.mk
>> new file mode 100644
>> index 0000000000..0da733dcbe
>> --- /dev/null
>> +++ b/package/perl-package-stash/perl-package-stash.mk
>> @@ -0,0 +1,15 @@
>>
>> +################################################################################
>> +#
>> +# perl-package-stash
>> +#
>>
>> +################################################################################
>> +
>> +PERL_PACKAGE_STASH_VERSION = 0.37
>> +PERL_PACKAGE_STASH_SOURCE =
>> Package-Stash-$(PERL_PACKAGE_STASH_VERSION).tar.gz
>> +PERL_PACKAGE_STASH_SITE = $(BR2_CPAN_MIRROR)/authors/id/D/DO/DOY
>> +PERL_PACKAGE_STASH_DEPENDENCIES = host-perl-dist-checkconflicts
>> perl-dist-checkconflicts perl-module-implementation
>> +PERL_TEMPLATE_TOOLKIT_CONF_OPTS += TT_XS_ENABLE=n
>>
> This line (copy&pasted from perl-template-toolkit.mk) has no side effect
> here.
>
> Package-Stash and Package-Stash-XS are two separated modules.
> They just supply the same feature, with different implementations, one
> pure perl and another native XS.
> And you could install both or only your prefered without modification of
> files generated by scancpan.
>
> François
>
>
>> +PERL_PACKAGE_STASH_LICENSE = Artistic or GPL-1.0+
>> +PERL_PACKAGE_STASH_LICENSE_FILES = LICENSE
>> +
>> +$(eval $(perl-package))
>> --
>> 2.14.4
>>
>>
>
<div dir="auto">Hello<div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Sorry for top posting, I&#39;m on my phone </div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Good catch!  That line is in the wrong file.  I&#39;ll fix that when I get home.</div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, Aug 11, 2018, 12:37 PM François Perrad &lt;<a href="mailto:francois.perrad@gadz.org">francois.perrad@gadz.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2018-08-11 20:27 GMT+02:00 Christopher McCrory <span dir="ltr">&lt;<a href="mailto:chrismcc@gmail.com" target="_blank" rel="noreferrer">chrismcc@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Signed-off-by: Christopher McCrory &lt;<a href="mailto:chrismcc@gmail.com" target="_blank" rel="noreferrer">chrismcc@gmail.com</a>&gt;<br>
---<br>
 DEVELOPERS                                         |  1 +<br>
 package/Config.in                                  |  1 +<br>
 package/perl-package-stash/Config.in               |  8 ++++++++<br>
 package/perl-package-stash/perl-package-stash.hash |  6 ++++++<br>
 package/perl-package-stash/<a href="http://perl-package-stash.mk" rel="noreferrer noreferrer" target="_blank">perl-package-stash.mk</a>   | 15 +++++++++++++++<br>
 5 files changed, 31 insertions(+)<br>
 create mode 100644 package/perl-package-stash/Config.in<br>
 create mode 100644 package/perl-package-stash/perl-package-stash.hash<br>
 create mode 100644 package/perl-package-stash/<a href="http://perl-package-stash.mk" rel="noreferrer noreferrer" target="_blank">perl-package-stash.mk</a><br>
<br>
diff --git a/DEVELOPERS b/DEVELOPERS<br>
index 9d7d38ea75..ce2e31461a 100644<br>
--- a/DEVELOPERS<br>
+++ b/DEVELOPERS<br>
@@ -499,6 +499,7 @@ F:  package/perl-mime-tools<br>
 F:     package/perl-module-implementation<br>
 F:     package/perl-module-runtime<br>
 F:     package/perl-number-bytes-human<br>
+F:     package/perl-package-stash<br>
 F:     package/perl-params-util<br>
 F:     package/perl-sub-install<br>
 F:     package/perl-sys-meminfo<br>
diff --git a/package/Config.in b/package/Config.in<br>
index 1008a651ec..57b22af90e 100644<br>
--- a/package/Config.in<br>
+++ b/package/Config.in<br>
@@ -726,6 +726,7 @@ menu &quot;Perl libraries/modules&quot;<br>
        source &quot;package/perl-net-telnet/Config.in&quot;<br>
        source &quot;package/perl-netaddr-ip/Config.in&quot;<br>
        source &quot;package/perl-number-bytes-human/Config.in&quot;<br>
+       source &quot;package/perl-package-stash/Config.in&quot;<br>
        source &quot;package/perl-params-util/Config.in&quot;<br>
        source &quot;package/perl-path-tiny/Config.in&quot;<br>
        source &quot;package/perl-sub-install/Config.in&quot;<br>
diff --git a/package/perl-package-stash/Config.in b/package/perl-package-stash/Config.in<br>
new file mode 100644<br>
index 0000000000..755850f7b6<br>
--- /dev/null<br>
+++ b/package/perl-package-stash/Config.in<br>
@@ -0,0 +1,8 @@<br>
+config BR2_PACKAGE_PERL_PACKAGE_STASH<br>
+       bool &quot;perl-package-stash&quot;<br>
+       select BR2_PACKAGE_PERL_DIST_CHECKCONFLICTS<br>
+       select BR2_PACKAGE_PERL_MODULE_IMPLEMENTATION<br>
+       help<br>
+         routines for manipulating stashes<br>
+<br>
+         <a href="http://metacpan.org/release/Package-Stash" rel="noreferrer noreferrer" target="_blank">http://metacpan.org/release/Package-Stash</a><br>
diff --git a/package/perl-package-stash/perl-package-stash.hash b/package/perl-package-stash/perl-package-stash.hash<br>
new file mode 100644<br>
index 0000000000..4d9b202879<br>
--- /dev/null<br>
+++ b/package/perl-package-stash/perl-package-stash.hash<br>
@@ -0,0 +1,6 @@<br>
+# retrieved by scancpan from <a href="http://cpan.metacpan.org/" rel="noreferrer noreferrer" target="_blank">http://cpan.metacpan.org/</a><br>
+md5    7e47a8261312e1cf3d12bd2007916b66 Package-Stash-0.37.tar.gz<br>
+sha256 06ab05388f9130cd377c0e1d3e3bafeed6ef6a1e22104571a9e1d7bfac787b2c Package-Stash-0.37.tar.gz<br>
+<br>
+# computed by scancpan<br>
+sha256 b4e0637ed96008ddcbf7e0ddeb73967df3d0b4dc62a6b7fdb86eac37018cb12e LICENSE<br>
diff --git a/package/perl-package-stash/<a href="http://perl-package-stash.mk" rel="noreferrer noreferrer" target="_blank">perl-package-stash.mk</a> b/package/perl-package-stash/<a href="http://perl-package-stash.mk" rel="noreferrer noreferrer" target="_blank">perl-package-stash.mk</a><br>
new file mode 100644<br>
index 0000000000..0da733dcbe<br>
--- /dev/null<br>
+++ b/package/perl-package-stash/<a href="http://perl-package-stash.mk" rel="noreferrer noreferrer" target="_blank">perl-package-stash.mk</a><br>
@@ -0,0 +1,15 @@<br>
+################################################################################<br>
+#<br>
+# perl-package-stash<br>
+#<br>
+################################################################################<br>
+<br>
+PERL_PACKAGE_STASH_VERSION = 0.37<br>
+PERL_PACKAGE_STASH_SOURCE = Package-Stash-$(PERL_PACKAGE_STASH_VERSION).tar.gz<br>
+PERL_PACKAGE_STASH_SITE = $(BR2_CPAN_MIRROR)/authors/id/D/DO/DOY<br>
+PERL_PACKAGE_STASH_DEPENDENCIES = host-perl-dist-checkconflicts perl-dist-checkconflicts perl-module-implementation<br>
+PERL_TEMPLATE_TOOLKIT_CONF_OPTS += TT_XS_ENABLE=n<br></blockquote><div>This line (copy&amp;pasted from <a href="http://perl-template-toolkit.mk" target="_blank" rel="noreferrer">perl-template-toolkit.mk</a>) has no side effect here.<br></div><div><br></div><div>Package-Stash and Package-Stash-XS are two separated modules.</div><div>They just supply the same feature, with different implementations, one pure perl and another native XS.<br></div><div>And you could install both or only your prefered without modification of files generated by scancpan.</div><div><br></div><div>François<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
+PERL_PACKAGE_STASH_LICENSE = Artistic or GPL-1.0+<br>
+PERL_PACKAGE_STASH_LICENSE_FILES = LICENSE<br>
+<br>
+$(eval $(perl-package))<br>
<span class="m_5268578252057533051HOEnZb"><font color="#888888">-- <br>
2.14.4<br>
<br>
</font></span></blockquote></div><br></div></div>
</blockquote></div>
Thomas Petazzoni Aug. 13, 2018, 9:31 p.m. UTC | #3
Hello,

On Sat, 11 Aug 2018 14:31:23 -0700, Christopher McCrory wrote:

> Good catch!  That line is in the wrong file.  I'll fix that when I get home.

I have marked this patch as Changes Requested in our patch tracking
system. Please send a new version.

Thanks,

Thomas
diff mbox series

Patch

diff --git a/DEVELOPERS b/DEVELOPERS
index 9d7d38ea75..ce2e31461a 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -499,6 +499,7 @@  F:	package/perl-mime-tools
 F:	package/perl-module-implementation
 F:	package/perl-module-runtime
 F:	package/perl-number-bytes-human
+F:	package/perl-package-stash
 F:	package/perl-params-util
 F:	package/perl-sub-install
 F:	package/perl-sys-meminfo
diff --git a/package/Config.in b/package/Config.in
index 1008a651ec..57b22af90e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -726,6 +726,7 @@  menu "Perl libraries/modules"
 	source "package/perl-net-telnet/Config.in"
 	source "package/perl-netaddr-ip/Config.in"
 	source "package/perl-number-bytes-human/Config.in"
+	source "package/perl-package-stash/Config.in"
 	source "package/perl-params-util/Config.in"
 	source "package/perl-path-tiny/Config.in"
 	source "package/perl-sub-install/Config.in"
diff --git a/package/perl-package-stash/Config.in b/package/perl-package-stash/Config.in
new file mode 100644
index 0000000000..755850f7b6
--- /dev/null
+++ b/package/perl-package-stash/Config.in
@@ -0,0 +1,8 @@ 
+config BR2_PACKAGE_PERL_PACKAGE_STASH
+	bool "perl-package-stash"
+	select BR2_PACKAGE_PERL_DIST_CHECKCONFLICTS
+	select BR2_PACKAGE_PERL_MODULE_IMPLEMENTATION
+	help
+	  routines for manipulating stashes
+
+	  http://metacpan.org/release/Package-Stash
diff --git a/package/perl-package-stash/perl-package-stash.hash b/package/perl-package-stash/perl-package-stash.hash
new file mode 100644
index 0000000000..4d9b202879
--- /dev/null
+++ b/package/perl-package-stash/perl-package-stash.hash
@@ -0,0 +1,6 @@ 
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    7e47a8261312e1cf3d12bd2007916b66 Package-Stash-0.37.tar.gz
+sha256 06ab05388f9130cd377c0e1d3e3bafeed6ef6a1e22104571a9e1d7bfac787b2c Package-Stash-0.37.tar.gz
+
+# computed by scancpan
+sha256 b4e0637ed96008ddcbf7e0ddeb73967df3d0b4dc62a6b7fdb86eac37018cb12e LICENSE
diff --git a/package/perl-package-stash/perl-package-stash.mk b/package/perl-package-stash/perl-package-stash.mk
new file mode 100644
index 0000000000..0da733dcbe
--- /dev/null
+++ b/package/perl-package-stash/perl-package-stash.mk
@@ -0,0 +1,15 @@ 
+################################################################################
+#
+# perl-package-stash
+#
+################################################################################
+
+PERL_PACKAGE_STASH_VERSION = 0.37
+PERL_PACKAGE_STASH_SOURCE = Package-Stash-$(PERL_PACKAGE_STASH_VERSION).tar.gz
+PERL_PACKAGE_STASH_SITE = $(BR2_CPAN_MIRROR)/authors/id/D/DO/DOY
+PERL_PACKAGE_STASH_DEPENDENCIES = host-perl-dist-checkconflicts perl-dist-checkconflicts perl-module-implementation
+PERL_TEMPLATE_TOOLKIT_CONF_OPTS += TT_XS_ENABLE=n
+PERL_PACKAGE_STASH_LICENSE = Artistic or GPL-1.0+
+PERL_PACKAGE_STASH_LICENSE_FILES = LICENSE
+
+$(eval $(perl-package))