Marcel Telka
2023-08-07 3671dbcf5ef071cdb7674a8dcdaf3d953d512ff2
Add Geography::Countries Perl module

7 files added
1 files modified
157 ■■■■■ changed files
components/perl/Geography-Countries/Geography-Countries-PERLVER.p5m 33 ●●●●● patch | view | raw | blame | history
components/perl/Geography-Countries/Geography-Countries.license 22 ●●●●● patch | view | raw | blame | history
components/perl/Geography-Countries/Makefile 32 ●●●●● patch | view | raw | blame | history
components/perl/Geography-Countries/manifests/sample-manifest.p5m 33 ●●●●● patch | view | raw | blame | history
components/perl/Geography-Countries/perl-integrate-module.conf 18 ●●●●● patch | view | raw | blame | history
components/perl/Geography-Countries/pkg5 14 ●●●●● patch | view | raw | blame | history
components/perl/Geography-Countries/test/results-all.master 4 ●●●● patch | view | raw | blame | history
tools/perl-version-convert 1 ●●●● patch | view | raw | blame | history
components/perl/Geography-Countries/Geography-Countries-PERLVER.p5m
New file
@@ -0,0 +1,33 @@
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
# This file was automatically generated using perl-integrate-module
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)-$(PLV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
file path=usr/perl5/$(PERLVER)/man/man3perl/Geography::Countries.3perl
file path=usr/perl5/vendor_perl/$(PERLVER)/Geography/Countries.pm
# perl modules are unusable without perl runtime binary
depend type=require fmri=__TBD pkg.debug.depend.file=perl \
    pkg.debug.depend.path=usr/perl5/$(PERLVER)/bin
# Automatically generated dependencies based on distribution metadata
components/perl/Geography-Countries/Geography-Countries.license
New file
@@ -0,0 +1,22 @@
    Copyright (C) 1999, 2009 by Abigail
    Permission is hereby granted, free of charge, to any person obtaining a
    copy of this software and associated documentation files (the
    "Software"), to deal in the Software without restriction, including
    without limitation the rights to use, copy, modify, merge, publish,
    distribute, sublicense, and/or sell copies of the Software, and to
    permit persons to whom the Software is furnished to do so, subject to
    the following conditions:
    The above copyright notice and this permission notice shall be included
    in all copies or substantial portions of the Software.
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
    OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
    IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
    FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
    DEALINGS IN THE SOFTWARE.
components/perl/Geography-Countries/Makefile
New file
@@ -0,0 +1,32 @@
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
# This file was automatically generated using the following command:
#   $WS_TOOLS/perl-integrate-module Geography::Countries
#
BUILD_STYLE = makemaker
include ../../../make-rules/shared-macros.mk
COMPONENT_PERL_MODULE =        Geography::Countries
HUMAN_VERSION =            2009041301
COMPONENT_SUMMARY =        Geography::Countries - 2-letter, 3-letter, and numerical codes for countries.
COMPONENT_CPAN_AUTHOR =        ABIGAIL
COMPONENT_ARCHIVE_HASH =    \
    sha256:48c42e40e8281ba7c981743a854c48e6def2d51eb0925ea6c96e25c74497f20f
COMPONENT_LICENSE =        MIT
include $(WS_MAKE_RULES)/common.mk
# Auto-generated dependencies
PERL_REQUIRED_PACKAGES += runtime/perl
components/perl/Geography-Countries/manifests/sample-manifest.p5m
New file
@@ -0,0 +1,33 @@
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
# Copyright 2023 <contributor>
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)-$(PLV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
file path=usr/perl5/$(PERLVER)/man/man3perl/Geography::Countries.3perl
file path=usr/perl5/vendor_perl/$(PERLVER)/Geography/Countries.pm
# perl modules are unusable without perl runtime binary
depend type=require fmri=__TBD pkg.debug.depend.file=perl \
    pkg.debug.depend.path=usr/perl5/$(PERLVER)/bin
# Automatically generated dependencies based on distribution metadata
components/perl/Geography-Countries/perl-integrate-module.conf
New file
@@ -0,0 +1,18 @@
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
# Copyright 2023 Marcel Telka
#
%hook-no-license%
sed -i -e '/^===/d' "$DISTRIBUTION.license"
USE_DEFAULT_PERL_LICENSE=0
components/perl/Geography-Countries/pkg5
New file
@@ -0,0 +1,14 @@
{
    "dependencies": [
        "runtime/perl-534",
        "runtime/perl-536",
        "runtime/perl-538"
    ],
    "fmris": [
        "library/perl-5/geography-countries-534",
        "library/perl-5/geography-countries-536",
        "library/perl-5/geography-countries-538",
        "library/perl-5/geography-countries"
    ],
    "name": "Geography-Countries"
}
components/perl/Geography-Countries/test/results-all.master
New file
@@ -0,0 +1,4 @@
t/000_tests.t .. ok
All tests successful.
Files=1, Tests=13
Result: PASS
tools/perl-version-convert
@@ -75,6 +75,7 @@
    [[ "$DIST" == "Email-Sender" && "${VERSION:0:2}" == "1." ]] && ((${#VERSION} == 8)) && VER[1]=${VERSION:2:1} && VER[2]=$((1${VERSION:3:5} - 100000)) && VERSION=${VERSION:0:1}
    [[ "$DIST" == "Email-Sender" && "${VERSION:0:2}" != "0." && "${VERSION:3:2}" == "00" ]] && ((${#VERSION} == 5)) && VER[1]=${VERSION:2:1} && VERSION=${VERSION:0:1}
    [[ "$DIST" == "Error" && "${VERSION:0:2}" == "0." ]] && ((${#VERSION} == 7)) && VER[2]=$((1${VERSION:4:3} - 1000)) && VERSION=${VERSION:0:4}
    [[ "$DIST" == "Geography-Countries" ]] && ((${#VERSION} == 10)) && VER[1]=$((1${VERSION:4:2} - 100)) && VER[2]=$((1${VERSION:6:2} - 100)) && VER[3]=$((1${VERSION:8:2} - 100)) && VERSION=${VERSION:0:4}
    [[ "$DIST" == "Log-Dispatch" && "${VERSION:0:2}" == "1." ]] && ((${#VERSION} == 3)) && VERSION=${VERSION}0
    [[ "$DIST" == "Log-Dispatch" && "${VERSION:0:2}" == "1." ]] && ((${#VERSION} == 5)) && VER[2]=$((1${VERSION:4:1} - 10)) && VERSION=${VERSION:0:4}
    [[ "$DIST" == "Mail-AuthenticationResults" && "${VERSION:0:2}" == "1." ]] && ((${#VERSION} == 10)) && VER[1]=$((1${VERSION:2:4} - 10000)) && VER[2]=$((1${VERSION:6:2} - 100)) && VER[3]=$((1${VERSION:8:2} - 100)) && VERSION=${VERSION:0:1}