From nobody Fri Dec 30 09:07:51 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Njztc1VBwz2kc76; Fri, 30 Dec 2022 09:07:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Njztb70BYz3q9r; Fri, 30 Dec 2022 09:07:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672391272; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+ieVsgTzaGoWhqqkxTqhdW6tASMXLn76RLVaCsIEmiM=; b=MpgbSuTqwzhHp6xOUjUSiz/oax0jpQYAvAMxT8Aaci5mY4kOxhhoe9ajWttKjSW1GI1vLE cHm04Yuy/RNiIAeNQOCZbErRWCVgpFZMQiAkA/ejwEVsMnwo/HhgnLsZIFu6q/Gtc8hzR5 GV/vry4f8mxjS0RYRvAY0QA2PddqtrGfJDX+tli1Z0XpVuGOhjiHJePnpYApHhaTtiM0gU /uWh7rBaq09lAdKoQnmmjcATcv6OWohVTJ0M5lgUMNJw3iRaZrv3GNoF6UNBWkM9kmqsJ+ u7DqOr0dKV9bXQKKyfQO5MdZRTW7Q3y6AwJi842azUA2V2bxLit+3XFRUu4DJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672391272; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+ieVsgTzaGoWhqqkxTqhdW6tASMXLn76RLVaCsIEmiM=; b=hwfTFli21BzBxm4SbyQ6kXJ1sumxuy/EZSiW+3VqHbdW3LqmZsikb+YyvxYxAYmZxuz2S/ 801/gr/mtK1tmyrNF7Xni+hULf7voSq3KqBnmIWIepR2AM/T5732pnayX3pofCml3SIEWr 5PAWxMnCeBpW+tu+Wv89pM2K9uCxmZPlpgQ5waNnmFiGCRenM6cQRd9i4hqDk6wqDpGzvn 0DlEpdN577xt7jV2Ho/1JTUA87HXO8CKVKZh7eusKHMpnYqifVeIfdp8isrfWyv55bYUWR Z1LjxC+WraeZlsW2XvbLwq6fCydm0WzYjkGuog9OCSvMzg0rIPIY1JoOzH/C3Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672391272; a=rsa-sha256; cv=none; b=pl0+OYirBWzA2Y753H4QiJcu6XNmVM1nVWmpTSg3g27GqyquWwZq/su/6TM7n8IVPAiCEP 2YEgQg0O4ohB0iCGUPzfs0DR3EzXy6OITFF8VNwcscRUDwOmceC5R3ez/uGxuCZoQTU49Y T1tALw4Xm2WGy+CQqQVlhjGzhB0lMcjssyFroyAB0cvqhxmlUvOBJwFYOMl9/hvScFn2aj 6HoB8/vanOIJyInfwmeLcRHIO2gfUAWMKnMpQc0eU1m4V3X96ZqDUaYOURtjUOIU9MN1b4 L350wppWGUD0GgzPUFg7R/fG5cMowUvdTaSd0bKBbEZaEWvh5Go8FEOm/z2Kfg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Njztb5yCTz138X; Fri, 30 Dec 2022 09:07:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2BU97pgd099096; Fri, 30 Dec 2022 09:07:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BU97pDu099095; Fri, 30 Dec 2022 09:07:51 GMT (envelope-from git) Date: Fri, 30 Dec 2022 09:07:51 GMT Message-Id: <202212300907.2BU97pDu099095@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: a6a8beb91d72 - main - science/p5-Geo-Coordinates-Transform: Add p5-Geo-Coordinates-Transform 0.10 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a6a8beb91d722617499cb2f7db717298d51b91d6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=a6a8beb91d722617499cb2f7db717298d51b91d6 commit a6a8beb91d722617499cb2f7db717298d51b91d6 Author: Po-Chuan Hsieh AuthorDate: 2022-12-30 08:36:10 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-12-30 09:04:00 +0000 science/p5-Geo-Coordinates-Transform: Add p5-Geo-Coordinates-Transform 0.10 There are several formats used to present geographic coordinates. Geo::Coordinates::Transform converts a list of provided latitude and longitude coordinates in any of the three formats above (mixed input is ok) and converts to the desired format. Note that special characters or non-numerical characters such as " will throw an warning and return NaN for that list item. In addition, the input does not interpert N,S,W,E designators but expects coordinates to be in positive or negative representation. Format of the output can be controlled via input arguments in the constructor. The arguments are expected to be in the form of a hash reference. --- science/Makefile | 1 + science/p5-Geo-Coordinates-Transform/Makefile | 19 +++++++++++++++++++ science/p5-Geo-Coordinates-Transform/distinfo | 3 +++ science/p5-Geo-Coordinates-Transform/pkg-descr | 12 ++++++++++++ science/p5-Geo-Coordinates-Transform/pkg-plist | 2 ++ 5 files changed, 37 insertions(+) diff --git a/science/Makefile b/science/Makefile index 4d6572989c77..e0461a394c02 100644 --- a/science/Makefile +++ b/science/Makefile @@ -259,6 +259,7 @@ SUBDIR += p5-Geo-Calc SUBDIR += p5-Geo-Coordinates-Converter SUBDIR += p5-Geo-Coordinates-Converter-iArea + SUBDIR += p5-Geo-Coordinates-Transform SUBDIR += p5-Geo-WebService-Elevation-USGS SUBDIR += p5-Mcstas-Tools SUBDIR += p5-PerlMol diff --git a/science/p5-Geo-Coordinates-Transform/Makefile b/science/p5-Geo-Coordinates-Transform/Makefile new file mode 100644 index 000000000000..1c3e6294d480 --- /dev/null +++ b/science/p5-Geo-Coordinates-Transform/Makefile @@ -0,0 +1,19 @@ +PORTNAME= Geo-Coordinates-Transform +PORTVERSION= 0.10 +CATEGORIES= science perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Transform Latitude/Longitude between various different coordinate functions +WWW= https://metacpan.org/dist/Geo-Coordinates-Transform + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include diff --git a/science/p5-Geo-Coordinates-Transform/distinfo b/science/p5-Geo-Coordinates-Transform/distinfo new file mode 100644 index 000000000000..10808eea3947 --- /dev/null +++ b/science/p5-Geo-Coordinates-Transform/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1669057507 +SHA256 (Geo-Coordinates-Transform-0.10.tar.gz) = d4cfee41cded0e06cf7e5ab5f5f35f54c3c28f89cf4287e6b306f5fb2c9446c6 +SIZE (Geo-Coordinates-Transform-0.10.tar.gz) = 4319 diff --git a/science/p5-Geo-Coordinates-Transform/pkg-descr b/science/p5-Geo-Coordinates-Transform/pkg-descr new file mode 100644 index 000000000000..7711ddfe0dea --- /dev/null +++ b/science/p5-Geo-Coordinates-Transform/pkg-descr @@ -0,0 +1,12 @@ +There are several formats used to present geographic coordinates. + +Geo::Coordinates::Transform converts a list of provided latitude and longitude +coordinates in any of the three formats above (mixed input is ok) and converts +to the desired format. Note that special characters or non-numerical characters +such as " will throw an warning and return NaN for that list item. + +In addition, the input does not interpert N,S,W,E designators but expects +coordinates to be in positive or negative representation. + +Format of the output can be controlled via input arguments in the constructor. +The arguments are expected to be in the form of a hash reference. diff --git a/science/p5-Geo-Coordinates-Transform/pkg-plist b/science/p5-Geo-Coordinates-Transform/pkg-plist new file mode 100644 index 000000000000..01c0e32c7b33 --- /dev/null +++ b/science/p5-Geo-Coordinates-Transform/pkg-plist @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Geo/Coordinates/Transform.pm +%%PERL5_MAN3%%/Geo::Coordinates::Transform.3.gz