[02/18] perl-astro-suntime: new package

Message ID 20180810161502.21598-3-chrismcc@gmail.com
State Accepted
Headers show
Series
  • more perl modules
Related show

Commit Message

Christopher McCrory Aug. 10, 2018, 4:14 p.m.
Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
---
 package/Config.in                                  |  1 +
 package/perl-astro-suntime/Config.in               |  6 ++++++
 package/perl-astro-suntime/perl-astro-suntime.hash |  6 ++++++
 package/perl-astro-suntime/perl-astro-suntime.mk   | 14 ++++++++++++++
 4 files changed, 27 insertions(+)
 create mode 100644 package/perl-astro-suntime/Config.in
 create mode 100644 package/perl-astro-suntime/perl-astro-suntime.hash
 create mode 100644 package/perl-astro-suntime/perl-astro-suntime.mk

Comments

François Perrad Aug. 12, 2018, 4:26 p.m. | #1
2018-08-10 18:14 GMT+02:00 Christopher McCrory <chrismcc@gmail.com>:

> Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
>

Acked-by: Francois Perrad <francois.perrad@gadz.org>

---
>  package/Config.in                                  |  1 +
>  package/perl-astro-suntime/Config.in               |  6 ++++++
>  package/perl-astro-suntime/perl-astro-suntime.hash |  6 ++++++
>  package/perl-astro-suntime/perl-astro-suntime.mk   | 14 ++++++++++++++
>  4 files changed, 27 insertions(+)
>  create mode 100644 package/perl-astro-suntime/Config.in
>  create mode 100644 package/perl-astro-suntime/perl-astro-suntime.hash
>  create mode 100644 package/perl-astro-suntime/perl-astro-suntime.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index 8b80276fb1..97a108535b 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -666,6 +666,7 @@ endif
>  if BR2_PACKAGE_PERL
>  menu "Perl libraries/modules"
>         source "package/perl-appconfig/Config.in"
> +       source "package/perl-astro-suntime/Config.in"
>         source "package/perl-convert-asn1/Config.in"
>         source "package/perl-crypt-blowfish/Config.in"
>         source "package/perl-crypt-cbc/Config.in"
> diff --git a/package/perl-astro-suntime/Config.in
> b/package/perl-astro-suntime/Config.in
> new file mode 100644
> index 0000000000..22e2cb1aa2
> --- /dev/null
> +++ b/package/perl-astro-suntime/Config.in
> @@ -0,0 +1,6 @@
> +config BR2_PACKAGE_PERL_ASTRO_SUNTIME
> +       bool "perl-astro-suntime"
> +       help
> +         A functional module for calculating sunrise/sunset times
> +
> +         https://metacpan.org/release/Astro-SunTime
> diff --git a/package/perl-astro-suntime/perl-astro-suntime.hash
> b/package/perl-astro-suntime/perl-astro-suntime.hash
> new file mode 100644
> index 0000000000..e75293d4fb
> --- /dev/null
> +++ b/package/perl-astro-suntime/perl-astro-suntime.hash
> @@ -0,0 +1,6 @@
> +# retrieved by scancpan from http://cpan.metacpan.org/
> +md5    42cb8c94de8a111ed652196925c22a45 Astro-SunTime-0.06.tar.gz
> +sha256 b4a44fddfc055cc42ee67bfd8939354793da7512ea04f30578d42dc6a701112a
> Astro-SunTime-0.06.tar.gz
> +
> +# computed by scancpan
> +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903
> LICENSE
> diff --git a/package/perl-astro-suntime/perl-astro-suntime.mk
> b/package/perl-astro-suntime/perl-astro-suntime.mk
> new file mode 100644
> index 0000000000..a35291b1db
> --- /dev/null
> +++ b/package/perl-astro-suntime/perl-astro-suntime.mk
> @@ -0,0 +1,14 @@
> +###########################################################
> #####################
> +#
> +# perl-astro-suntime
> +#
> +###########################################################
> #####################
> +
> +PERL_ASTRO_SUNTIME_VERSION = 0.06
> +PERL_ASTRO_SUNTIME_SOURCE = Astro-SunTime-$(PERL_ASTRO_
> SUNTIME_VERSION).tar.gz
> +PERL_ASTRO_SUNTIME_SITE = $(BR2_CPAN_MIRROR)/authors/id/R/RO/ROBF
> +PERL_ASTRO_SUNTIME_DEPENDENCIES = host-perl-module-build
> +PERL_ASTRO_SUNTIME_LICENSE = gpl_3
> +PERL_ASTRO_SUNTIME_LICENSE_FILES = LICENSE
> +
> +$(eval $(perl-package))
> --
> 2.14.4
>
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2018-08-10 18:14 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Signed-off-by: Christopher McCrory &lt;<a href="mailto:chrismcc@gmail.com">chrismcc@gmail.com</a>&gt;<br></blockquote><div><br></div><div>Acked-by: Francois Perrad &lt;<a href="mailto:francois.perrad@gadz.org">francois.perrad@gadz.org</a>&gt;<br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
---<br>
 package/Config.in                                  |  1 +<br>
 package/perl-astro-suntime/<wbr>Config.in               |  6 ++++++<br>
 package/perl-astro-suntime/<wbr>perl-astro-suntime.hash |  6 ++++++<br>
 package/perl-astro-suntime/<a href="http://perl-astro-suntime.mk" rel="noreferrer" target="_blank">per<wbr>l-astro-suntime.mk</a>   | 14 ++++++++++++++<br>
 4 files changed, 27 insertions(+)<br>
 create mode 100644 package/perl-astro-suntime/<wbr>Config.in<br>
 create mode 100644 package/perl-astro-suntime/<wbr>perl-astro-suntime.hash<br>
 create mode 100644 package/perl-astro-suntime/<a href="http://perl-astro-suntime.mk" rel="noreferrer" target="_blank">per<wbr>l-astro-suntime.mk</a><br>
<br>
diff --git a/package/Config.in b/package/Config.in<br>
index 8b80276fb1..97a108535b 100644<br>
--- a/package/Config.in<br>
+++ b/package/Config.in<br>
@@ -666,6 +666,7 @@ endif<br>
 if BR2_PACKAGE_PERL<br>
 menu &quot;Perl libraries/modules&quot;<br>
        source &quot;package/perl-appconfig/<wbr>Config.in&quot;<br>
+       source &quot;package/perl-astro-suntime/<wbr>Config.in&quot;<br>
        source &quot;package/perl-convert-asn1/<wbr>Config.in&quot;<br>
        source &quot;package/perl-crypt-blowfish/<wbr>Config.in&quot;<br>
        source &quot;package/perl-crypt-cbc/<wbr>Config.in&quot;<br>
diff --git a/package/perl-astro-suntime/<wbr>Config.in b/package/perl-astro-suntime/<wbr>Config.in<br>
new file mode 100644<br>
index 0000000000..22e2cb1aa2<br>
--- /dev/null<br>
+++ b/package/perl-astro-suntime/<wbr>Config.in<br>
@@ -0,0 +1,6 @@<br>
+config BR2_PACKAGE_PERL_ASTRO_SUNTIME<br>
+       bool &quot;perl-astro-suntime&quot;<br>
+       help<br>
+         A functional module for calculating sunrise/sunset times<br>
+<br>
+         <a href="https://metacpan.org/release/Astro-SunTime" rel="noreferrer" target="_blank">https://metacpan.org/release/<wbr>Astro-SunTime</a><br>
diff --git a/package/perl-astro-suntime/<wbr>perl-astro-suntime.hash b/package/perl-astro-suntime/<wbr>perl-astro-suntime.hash<br>
new file mode 100644<br>
index 0000000000..e75293d4fb<br>
--- /dev/null<br>
+++ b/package/perl-astro-suntime/<wbr>perl-astro-suntime.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    42cb8c94de8a111ed652196925c22a<wbr>45 Astro-SunTime-0.06.tar.gz<br>
+sha256 b4a44fddfc055cc42ee67bfd893935<wbr>4793da7512ea04f30578d42dc6a701<wbr>112a Astro-SunTime-0.06.tar.gz<br>
+<br>
+# computed by scancpan<br>
+sha256 8ceb4b9ee5adedde47b31e975c1d90<wbr>c73ad27b6b165a1dcd80c7c545eb65<wbr>b903 LICENSE<br>
diff --git a/package/perl-astro-suntime/<a href="http://perl-astro-suntime.mk" rel="noreferrer" target="_blank">p<wbr>erl-astro-suntime.mk</a> b/package/perl-astro-suntime/<a href="http://perl-astro-suntime.mk" rel="noreferrer" target="_blank">p<wbr>erl-astro-suntime.mk</a><br>
new file mode 100644<br>
index 0000000000..a35291b1db<br>
--- /dev/null<br>
+++ b/package/perl-astro-suntime/<a href="http://perl-astro-suntime.mk" rel="noreferrer" target="_blank">p<wbr>erl-astro-suntime.mk</a><br>
@@ -0,0 +1,14 @@<br>
+#############################<wbr>##############################<wbr>#####################<br>
+#<br>
+# perl-astro-suntime<br>
+#<br>
+#############################<wbr>##############################<wbr>#####################<br>
+<br>
+PERL_ASTRO_SUNTIME_VERSION = 0.06<br>
+PERL_ASTRO_SUNTIME_SOURCE = Astro-SunTime-$(PERL_ASTRO_<wbr>SUNTIME_VERSION).tar.gz<br>
+PERL_ASTRO_SUNTIME_SITE = $(BR2_CPAN_MIRROR)/authors/id/<wbr>R/RO/ROBF<br>
+PERL_ASTRO_SUNTIME_<wbr>DEPENDENCIES = host-perl-module-build<br>
+PERL_ASTRO_SUNTIME_LICENSE = gpl_3<br>
+PERL_ASTRO_SUNTIME_LICENSE_<wbr>FILES = LICENSE<br>
+<br>
+$(eval $(perl-package))<br>
<span class="gmail-HOEnZb"><font color="#888888">-- <br>
2.14.4<br>
<br>
______________________________<wbr>_________________<br>
buildroot mailing list<br>
<a href="mailto:buildroot@busybox.net">buildroot@busybox.net</a><br>
<a href="http://lists.busybox.net/mailman/listinfo/buildroot" rel="noreferrer" target="_blank">http://lists.busybox.net/<wbr>mailman/listinfo/buildroot</a><br>
</font></span></blockquote></div><br></div></div>
Thomas Petazzoni Aug. 12, 2018, 9:14 p.m. | #2
Hello,

On Fri, 10 Aug 2018 09:14:46 -0700, Christopher McCrory wrote:
> Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
> ---
>  package/Config.in                                  |  1 +
>  package/perl-astro-suntime/Config.in               |  6 ++++++
>  package/perl-astro-suntime/perl-astro-suntime.hash |  6 ++++++
>  package/perl-astro-suntime/perl-astro-suntime.mk   | 14 ++++++++++++++
>  4 files changed, 27 insertions(+)
>  create mode 100644 package/perl-astro-suntime/Config.in
>  create mode 100644 package/perl-astro-suntime/perl-astro-suntime.hash
>  create mode 100644 package/perl-astro-suntime/perl-astro-suntime.mk

I've applied to next. The entry in the DEVELOPERS file was missing.

> +PERL_ASTRO_SUNTIME_VERSION = 0.06
> +PERL_ASTRO_SUNTIME_SOURCE = Astro-SunTime-$(PERL_ASTRO_SUNTIME_VERSION).tar.gz
> +PERL_ASTRO_SUNTIME_SITE = $(BR2_CPAN_MIRROR)/authors/id/R/RO/ROBF
> +PERL_ASTRO_SUNTIME_DEPENDENCIES = host-perl-module-build
> +PERL_ASTRO_SUNTIME_LICENSE = gpl_3

gpl_3 is not correct, it should have been GPL-3.0.

François, is this a bug in scancpan ?

Thanks!

Thomas

Patch

diff --git a/package/Config.in b/package/Config.in
index 8b80276fb1..97a108535b 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -666,6 +666,7 @@  endif
 if BR2_PACKAGE_PERL
 menu "Perl libraries/modules"
 	source "package/perl-appconfig/Config.in"
+	source "package/perl-astro-suntime/Config.in"
 	source "package/perl-convert-asn1/Config.in"
 	source "package/perl-crypt-blowfish/Config.in"
 	source "package/perl-crypt-cbc/Config.in"
diff --git a/package/perl-astro-suntime/Config.in b/package/perl-astro-suntime/Config.in
new file mode 100644
index 0000000000..22e2cb1aa2
--- /dev/null
+++ b/package/perl-astro-suntime/Config.in
@@ -0,0 +1,6 @@ 
+config BR2_PACKAGE_PERL_ASTRO_SUNTIME
+	bool "perl-astro-suntime"
+	help
+	  A functional module for calculating sunrise/sunset times
+
+	  https://metacpan.org/release/Astro-SunTime
diff --git a/package/perl-astro-suntime/perl-astro-suntime.hash b/package/perl-astro-suntime/perl-astro-suntime.hash
new file mode 100644
index 0000000000..e75293d4fb
--- /dev/null
+++ b/package/perl-astro-suntime/perl-astro-suntime.hash
@@ -0,0 +1,6 @@ 
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    42cb8c94de8a111ed652196925c22a45 Astro-SunTime-0.06.tar.gz
+sha256 b4a44fddfc055cc42ee67bfd8939354793da7512ea04f30578d42dc6a701112a Astro-SunTime-0.06.tar.gz
+
+# computed by scancpan
+sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE
diff --git a/package/perl-astro-suntime/perl-astro-suntime.mk b/package/perl-astro-suntime/perl-astro-suntime.mk
new file mode 100644
index 0000000000..a35291b1db
--- /dev/null
+++ b/package/perl-astro-suntime/perl-astro-suntime.mk
@@ -0,0 +1,14 @@ 
+################################################################################
+#
+# perl-astro-suntime
+#
+################################################################################
+
+PERL_ASTRO_SUNTIME_VERSION = 0.06
+PERL_ASTRO_SUNTIME_SOURCE = Astro-SunTime-$(PERL_ASTRO_SUNTIME_VERSION).tar.gz
+PERL_ASTRO_SUNTIME_SITE = $(BR2_CPAN_MIRROR)/authors/id/R/RO/ROBF
+PERL_ASTRO_SUNTIME_DEPENDENCIES = host-perl-module-build
+PERL_ASTRO_SUNTIME_LICENSE = gpl_3
+PERL_ASTRO_SUNTIME_LICENSE_FILES = LICENSE
+
+$(eval $(perl-package))