Skip to contentSkip to conversation

perl-datetime-tiny: new package

PATCH New Francois Perrad 2 participants 5 messages Jul 22, 2014 – Jul 23, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 perl-datetime-tiny: new package

---
 package/Config.in                                |  1 +
 package/perl-datetime-tiny/Config.in             |  6 ++++++
 package/perl-datetime-tiny/perl-datetime-tiny.mk | 14 ++++++++++++++
 3 files changed, 21 insertions(+)
 create mode 100644 package/perl-datetime-tiny/Config.in
 create mode 100644 package/perl-datetime-tiny/perl-datetime-tiny.mk
package/Config.in +1 -0
index 703fd3d..aa2f783 100644
@@ -431,6 +431,7 @@ endif
 	source "package/perl/Config.in"
 if BR2_PACKAGE_PERL
 menu "Perl libraries/modules"
+	source "package/perl-datetime-tiny/Config.in"
 	source "package/perl-gd/Config.in"
 	source "package/perl-gdgraph/Config.in"
 	source "package/perl-gdtextutil/Config.in"
package/perl-datetime-tiny/Config.in new file +6 -0
new file mode 100644
index 0000000..e84db8b
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PERL_DATETIME_TINY
+	bool "perl-datetime-tiny"
+	help
+	  A datetime object with as little code as possible
+
+	  https://metacpan.org/release/DateTime-Tiny
package/perl-datetime-tiny/perl-datetime-tiny.mk new file +14 -0
new file mode 100644
index 0000000..8e691a8
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-datetime-tiny
+#
+################################################################################
+
+PERL_DATETIME_TINY_VERSION = 1.04
+PERL_DATETIME_TINY_SOURCE = DateTime-Tiny-$(PERL_DATETIME_TINY_VERSION).tar.gz
+PERL_DATETIME_TINY_SITE = $(BR2_CPAN_MIRROR)/authors/id/A/AD/ADAMK/
+PERL_DATETIME_TINY_DEPENDENCIES = perl
+PERL_DATETIME_TINY_LICENSE = Artistic or GPLv1+
+PERL_DATETIME_TINY_LICENSE_FILES = LICENSE
+
+$(eval $(perl-package))
Signature · 1 line
1.9.1
#1 lore raw

PATCH 2/4 perl-json-tiny: new package

---
 package/Config.in                        |  1 +
 package/perl-json-tiny/Config.in         |  6 ++++++
 package/perl-json-tiny/perl-json-tiny.mk | 14 ++++++++++++++
 3 files changed, 21 insertions(+)
 create mode 100644 package/perl-json-tiny/Config.in
 create mode 100644 package/perl-json-tiny/perl-json-tiny.mk
package/Config.in +1 -0
index aa2f783..b89a98e 100644
@@ -436,6 +436,7 @@ menu "Perl libraries/modules"
 	source "package/perl-gdgraph/Config.in"
 	source "package/perl-gdtextutil/Config.in"
 	source "package/perl-io-socket-ssl/Config.in"
+	source "package/perl-json-tiny/Config.in"
 	source "package/perl-mojolicious/Config.in"
 	source "package/perl-net-ssleay/Config.in"
 	source "package/perl-xml-libxml/Config.in"
package/perl-json-tiny/Config.in new file +6 -0
new file mode 100644
index 0000000..ce943ca
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PERL_JSON_TINY
+	bool "perl-json-tiny"
+	help
+	  Minimalistic JSON. No dependencies.
+
+	  https://metacpan.org/release/JSON-Tiny
package/perl-json-tiny/perl-json-tiny.mk new file +14 -0
new file mode 100644
index 0000000..fd99ee7
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-json-tiny
+#
+################################################################################
+
+PERL_JSON_TINY_VERSION = 0.49
+PERL_JSON_TINY_SOURCE = JSON-Tiny-$(PERL_JSON_TINY_VERSION).tar.gz
+PERL_JSON_TINY_SITE = $(BR2_CPAN_MIRROR)/authors/id/D/DA/DAVIDO/
+PERL_JSON_TINY_DEPENDENCIES = perl
+PERL_JSON_TINY_LICENSE = Artistic-2.0
+PERL_JSON_TINY_LICENSE_FILES = LICENSE
+
+$(eval $(perl-package))
Signature · 1 line
1.9.1
#2 lore raw

PATCH 3/4 perl-path-tiny: new package

In reply to Francois Perrad
---
 package/Config.in                        |  1 +
 package/perl-path-tiny/Config.in         |  6 ++++++
 package/perl-path-tiny/perl-path-tiny.mk | 14 ++++++++++++++
 3 files changed, 21 insertions(+)
 create mode 100644 package/perl-path-tiny/Config.in
 create mode 100644 package/perl-path-tiny/perl-path-tiny.mk
package/Config.in +1 -0
index b89a98e..40d8ba9 100644
@@ -439,6 +439,7 @@ menu "Perl libraries/modules"
 	source "package/perl-json-tiny/Config.in"
 	source "package/perl-mojolicious/Config.in"
 	source "package/perl-net-ssleay/Config.in"
+	source "package/perl-path-tiny/Config.in"
 	source "package/perl-xml-libxml/Config.in"
 	source "package/perl-xml-namespacesupport/Config.in"
 	source "package/perl-xml-sax-base/Config.in"
package/perl-path-tiny/Config.in new file +6 -0
new file mode 100644
index 0000000..f85e792
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PERL_PATH_TINY
+	bool "perl-path-tiny"
+	help
+	  File path utility
+
+	  https://github.com/dagolden/Path-Tiny
package/perl-path-tiny/perl-path-tiny.mk new file +14 -0
new file mode 100644
index 0000000..7da112d
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-path-tiny
+#
+################################################################################
+
+PERL_PATH_TINY_VERSION = 0.055
+PERL_PATH_TINY_SOURCE = Path-Tiny-$(PERL_PATH_TINY_VERSION).tar.gz
+PERL_PATH_TINY_SITE = $(BR2_CPAN_MIRROR)/authors/id/D/DA/DAGOLDEN/
+PERL_PATH_TINY_DEPENDENCIES = perl
+PERL_PATH_TINY_LICENSE = apache_2_0
+PERL_PATH_TINY_LICENSE_FILES = LICENSE
+
+$(eval $(perl-package))
Signature · 1 line
1.9.1
#3 lore raw

PATCH 4/4 perl-try-tiny: new package

In reply to Francois Perrad
---
 package/Config.in                      |  1 +
 package/perl-try-tiny/Config.in        |  6 ++++++
 package/perl-try-tiny/perl-try-tiny.mk | 14 ++++++++++++++
 3 files changed, 21 insertions(+)
 create mode 100644 package/perl-try-tiny/Config.in
 create mode 100644 package/perl-try-tiny/perl-try-tiny.mk
package/Config.in +1 -0
index 40d8ba9..7c9f3ad 100644
@@ -440,6 +440,7 @@ menu "Perl libraries/modules"
 	source "package/perl-mojolicious/Config.in"
 	source "package/perl-net-ssleay/Config.in"
 	source "package/perl-path-tiny/Config.in"
+	source "package/perl-try-tiny/Config.in"
 	source "package/perl-xml-libxml/Config.in"
 	source "package/perl-xml-namespacesupport/Config.in"
 	source "package/perl-xml-sax-base/Config.in"
package/perl-try-tiny/Config.in new file +6 -0
new file mode 100644
index 0000000..7bd5396
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PERL_TRY_TINY
+	bool "perl-try-tiny"
+	help
+	  minimal try/catch with proper preservation of $@
+
+	  http://metacpan.org/release/Try-Tiny
package/perl-try-tiny/perl-try-tiny.mk new file +14 -0
new file mode 100644
index 0000000..2446cbd
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-try-tiny
+#
+################################################################################
+
+PERL_TRY_TINY_VERSION = 0.22
+PERL_TRY_TINY_SOURCE = Try-Tiny-$(PERL_TRY_TINY_VERSION).tar.gz
+PERL_TRY_TINY_SITE = $(BR2_CPAN_MIRROR)/authors/id/D/DO/DOY/
+PERL_TRY_TINY_DEPENDENCIES = perl
+PERL_TRY_TINY_LICENSE = mit
+PERL_TRY_TINY_LICENSE_FILES = LICENSE
+
+$(eval $(perl-package))
Signature · 1 line
1.9.1
#4 lore raw

PATCH 1/4 perl-datetime-tiny: new package

In reply to Francois Perrad

Dear Francois Perrad,

Quoted 8 lines · Francois Perrad
---
 package/Config.in                                |  1 +
 package/perl-datetime-tiny/Config.in             |  6 ++++++
 package/perl-datetime-tiny/perl-datetime-tiny.mk | 14 ++++++++++++++
 3 files changed, 21 insertions(+)
 create mode 100644 package/perl-datetime-tiny/Config.in
 create mode 100644 package/perl-datetime-tiny/perl-datetime-tiny.mk

Thanks, I've applied your four patches. However, on patches 3 and 4, I had to change the license:

apache_2_0 -> Apache-2.0
mit -> MIT

See http://spdx.org/licenses/ for the list of license codes. You might want to update you scancpan script to take this into account.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com