From nobody Tue Nov 14 17:17:44 2023 X-Original-To: dev-commits-ports-all@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 4SVCfc3ydXz51YQP; Tue, 14 Nov 2023 17:17:44 +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 4SVCfc3RCQz4RDp; Tue, 14 Nov 2023 17:17:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699982264; 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=fnpEmA+xkT+q+LPAz2Iaj3kwdZxWEaxdEySYeSAUiEw=; b=LqW3WLd1jEs1OlF1TnMuHW5BmubdDko6WlDTc3syRhApUUyVFTw0FHySmgdnC5kfMm5cle nkJD2Jqj12yK2+WztyKBj3rt4+H3GA1kjiIHxwGTxWDSoyjMvKyo4Cgj/5AJsZToycfi5o dT7hrDmFp07BB7ClbNo+RpLJ45kAEwyhUgPjTD9VgWoANTmzI5E8+WJcsTRGr0eFsuPZYI QE0XMvToVzDBLIQSAd8/go2i7Kc2Gw2evpySqTLHAUjx7Id8e8QzMUXis23lP9YkCWvIaq VbCevM7jStOLDGdzMlosel9dXD5oHt8gszVUU0v70QtXzVpPaxPwggfmH2XMHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699982264; 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=fnpEmA+xkT+q+LPAz2Iaj3kwdZxWEaxdEySYeSAUiEw=; b=I6oMom3qFpD8JbfxvkHVI5JtwoPMSZwWTIa+WTujBMiAM6Z24hCj8i7CdtSoakiOxUoN47 2dnvOFvGbaxSdmhywaASUx0XZw+qHoCvxxvSTPK+NKlKnKM5pLwakODABBeyrrFRzsN902 ZLtjeovPbAs336oK+zWq3KmI5wHyvaveM79vur2TpJtg4G2AK+tRCR1DozERpEjOnRpVPO POFaOBe1x2wQDG84OEavA339SMbdr5HsjKreKU/k4T8ohiSgPf7xuHsfc1BGoQi/S9umKU KrB6O29LGK401NAGWhFMApmo8fYlFMHPc6NJScsFZOQX8Sx7I+aAXl7/4vfd1A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699982264; a=rsa-sha256; cv=none; b=wDhsFmO7H8/U5MeNlWAI3ZOfkPLpDlqWrC+0InrEzcrccSw35xbrFo+TXVo7o/6WG6E+OD 6QMV2YhXa08PaVjs1kdRU6BDogE19YgLemdKNT+xvecNF0+NhKJjGKnTnEWBpbH8nK2fAL X8U9L4AOP7tEPJZZQ/Ycokgd/+gTru2d16F5Rl/cDCPrMSult2As1jv33608VVBbTueFFP nmUqpjuV2Ql3dVzTPLvLRYrDRxzsnQfWm+P1bcRDUFJjPy6nWSAyfMGX/aLJJccjPl0zdE C87bCnyr5qIg0L9oG75XtzlJ1F6JFVSTxYWqbfG2GFdH/G0oynbenZLfOV5Drw== 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 4SVCfc2W4NzxM9; Tue, 14 Nov 2023 17:17:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3AEHHi4G056969; Tue, 14 Nov 2023 17:17:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AEHHiuV056966; Tue, 14 Nov 2023 17:17:44 GMT (envelope-from git) Date: Tue, 14 Nov 2023 17:17:44 GMT Message-Id: <202311141717.3AEHHiuV056966@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: a3e20737f4bb - main - textproc/p5-Spreadsheet-ReadGnumeric: Add p5-Spreadsheet-ReadGnumeric 0.4 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: a3e20737f4bb866c4c4c5b71b60ecf829b047d73 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=a3e20737f4bb866c4c4c5b71b60ecf829b047d73 commit a3e20737f4bb866c4c4c5b71b60ecf829b047d73 Author: Po-Chuan Hsieh AuthorDate: 2023-11-14 16:28:12 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-11-14 17:15:29 +0000 textproc/p5-Spreadsheet-ReadGnumeric: Add p5-Spreadsheet-ReadGnumeric 0.4 Given a source of saved Gnumeric data, Spreadsheet::ReadGnumeric parses it and returns the result in the same format as Spreadsheet::Read. In fact, Spreadsheet::Read has a few more bells and whistles, such as transposing the resulting sheets and providing an object-oriented interface to the resulting data, so it may be easier to access this module through Spreadsheet::Read, even if you only want to parse Gnumeric data. Note that Gnumeric only saves raw cell values, and not their formatted versions. In particular, Gnumeric saves formulas, and not formula values, never mind formatted formula values. --- textproc/Makefile | 1 + textproc/p5-Spreadsheet-ReadGnumeric/Makefile | 22 ++++++++++++++++++++++ textproc/p5-Spreadsheet-ReadGnumeric/distinfo | 3 +++ textproc/p5-Spreadsheet-ReadGnumeric/pkg-descr | 10 ++++++++++ textproc/p5-Spreadsheet-ReadGnumeric/pkg-plist | 6 ++++++ 5 files changed, 42 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index cd8a2a5c9e05..58ad29b6ea3e 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -803,6 +803,7 @@ SUBDIR += p5-Spreadsheet-ParseExcel SUBDIR += p5-Spreadsheet-ParseXLSX SUBDIR += p5-Spreadsheet-Read + SUBDIR += p5-Spreadsheet-ReadGnumeric SUBDIR += p5-Spreadsheet-ReadSXC SUBDIR += p5-Spreadsheet-WriteExcel SUBDIR += p5-Spreadsheet-WriteExcel-FromXML diff --git a/textproc/p5-Spreadsheet-ReadGnumeric/Makefile b/textproc/p5-Spreadsheet-ReadGnumeric/Makefile new file mode 100644 index 000000000000..c4edb843c960 --- /dev/null +++ b/textproc/p5-Spreadsheet-ReadGnumeric/Makefile @@ -0,0 +1,22 @@ +PORTNAME= Spreadsheet-ReadGnumeric +PORTVERSION= 0.4 +CATEGORIES= textproc perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Read a Gnumeric file, return Spreadsheet::Read +WWW= https://metacpan.org/dist/Spreadsheet-ReadGnumeric + +LICENSE= ART20 + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-PerlIO-gzip>=0.20:archivers/p5-PerlIO-gzip \ + p5-XML-Parser-Lite>=0.722:textproc/p5-XML-Parser-Lite + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include diff --git a/textproc/p5-Spreadsheet-ReadGnumeric/distinfo b/textproc/p5-Spreadsheet-ReadGnumeric/distinfo new file mode 100644 index 000000000000..79665b8ea2e6 --- /dev/null +++ b/textproc/p5-Spreadsheet-ReadGnumeric/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1699774444 +SHA256 (Spreadsheet-ReadGnumeric-0.4.tar.gz) = e516dcd2c95ccd5ed7c2f289b4f7768e1c1eae1b01e4857ec3f3d0495fa11a53 +SIZE (Spreadsheet-ReadGnumeric-0.4.tar.gz) = 70242 diff --git a/textproc/p5-Spreadsheet-ReadGnumeric/pkg-descr b/textproc/p5-Spreadsheet-ReadGnumeric/pkg-descr new file mode 100644 index 000000000000..8ccf18a6847e --- /dev/null +++ b/textproc/p5-Spreadsheet-ReadGnumeric/pkg-descr @@ -0,0 +1,10 @@ +Given a source of saved Gnumeric data, Spreadsheet::ReadGnumeric parses it and +returns the result in the same format as Spreadsheet::Read. In fact, +Spreadsheet::Read has a few more bells and whistles, such as transposing the +resulting sheets and providing an object-oriented interface to the resulting +data, so it may be easier to access this module through Spreadsheet::Read, even +if you only want to parse Gnumeric data. + +Note that Gnumeric only saves raw cell values, and not their formatted versions. +In particular, Gnumeric saves formulas, and not formula values, never mind +formatted formula values. diff --git a/textproc/p5-Spreadsheet-ReadGnumeric/pkg-plist b/textproc/p5-Spreadsheet-ReadGnumeric/pkg-plist new file mode 100644 index 000000000000..2e5ced339503 --- /dev/null +++ b/textproc/p5-Spreadsheet-ReadGnumeric/pkg-plist @@ -0,0 +1,6 @@ +%%SITE_PERL%%/Spreadsheet/Gnumeric/Base.pm +%%SITE_PERL%%/Spreadsheet/Gnumeric/StyleRegion.pm +%%SITE_PERL%%/Spreadsheet/ReadGnumeric.pm +%%PERL5_MAN3%%/Spreadsheet::Gnumeric::Base.3.gz +%%PERL5_MAN3%%/Spreadsheet::Gnumeric::StyleRegion.3.gz +%%PERL5_MAN3%%/Spreadsheet::ReadGnumeric.3.gz