git: a3e20737f4bb - main - textproc/p5-Spreadsheet-ReadGnumeric: Add p5-Spreadsheet-ReadGnumeric 0.4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Nov 2023 17:17:44 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=a3e20737f4bb866c4c4c5b71b60ecf829b047d73 commit a3e20737f4bb866c4c4c5b71b60ecf829b047d73 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-11-14 16:28:12 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> 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 <bsd.port.mk> 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