From nobody Fri Aug 26 13:48:51 2022 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 4MDh4z5HbNz4b8BM; Fri, 26 Aug 2022 13:48:51 +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 4MDh4z4lvvz46Rf; Fri, 26 Aug 2022 13:48:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661521731; 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=qhtQtVtuxU02W1tXfTEWq6fBkyvHjQNsDRdR8ucoviU=; b=AxfTo7vsfv8aCO0hN+9bfbDWvs9ReXK9nBigSRIywY5LlTLWgGgGZx+FovmGvv9117azah QGskXEkj4cM4Ivwxe+as2l/EN5VEoN+g/3uTlxUmLgkbBG7BJ2lSQu4Ty+6611Nf+f52tB +Q7vvrfzRKHKBNjnph5Xly62xPZIxHqYgFjXik2SA9MPnlQDcJSocJg45D6NcsaCPcBc/J QCh/AoPyf+S0Q2bkLj2XMkzB0vaMUx6Sau2ddgygrCE6zd5HFu3N4m1EUWFV+m4j/SdZzv dLBUsqmg5sOqiW6gH0+9qgUMhNqTTdCqXYanwtxFYIPS3DN2pE9sl996PD/xQA== 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 4MDh4z3cWRzQFb; Fri, 26 Aug 2022 13:48: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 27QDmpRm096057; Fri, 26 Aug 2022 13:48:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27QDmp6L096056; Fri, 26 Aug 2022 13:48:51 GMT (envelope-from git) Date: Fri, 26 Aug 2022 13:48:51 GMT Message-Id: <202208261348.27QDmp6L096056@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Tobias C. Berner" Subject: git: 58df67cee573 - main - math/readstat: new port - ead (and write) data sets from SAS, Stata, and SPSS 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: tcberner X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 58df67cee573cda430507ec9a02b46793bf4e4bb Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661521731; 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=qhtQtVtuxU02W1tXfTEWq6fBkyvHjQNsDRdR8ucoviU=; b=GFl/vhDKiwiebLXVxj1JSPby+PKm/hQReNra1Bywm6L45Cytbr11MFxrn2oVWJ/rlL+t/t soXUrxVXm3pq5atgGqBlRmaJxkp55IzRiK8Q45Z0FBURtKEaB7gU53wN/Ng8GZlrUVSTYA Q6R2SP33qIOdZaiizzNyJ4h1ZTY/P3xKS3fMiiFAaBqqgf8FJCczFAgL/YHLf8pMGDAMoM Cmp32LsOXVMjytjfGTFU28tF9UvxQvsTy1RUMecm7I2qKp/Y6efBippZ4OOdm2SwkZ0aIz SgxbSlx5Y6XQ+KxrnTW7rKG2C8Y/LQs/KSfMB3JIZXCb03L/8fRuIeXkdLrmUg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661521731; a=rsa-sha256; cv=none; b=hK+mBdaelUMFAs8ezIlcxCx7fdiHAyNrIlwG6NJmfH5X/nBzWqUnSCcRfb5k/3WXfwLtuH Sk76FKkoWq7cr3qYc+qsqKrIilNjoFIWKA10q8yPPoVP9TPdxOOgDlEMthJv5jVECgDzCW /fe3AjeRHN6apQZ4rCNV5e8a33muTD+W2cXOlNwyUGjvhfSOrINKbXTRsiOFT4SE52NO/i 0QoKzvqaNp6BMaWkDaioAMh4esrq2x6v3go6lX7JONLWm7HhpuyVvhAhmE8oBnn9V4NGnH iOf0b1AMmrOmfUpXSPwLo+RtEPnNP2/NE+3F/Z1Rq24UJdXbWJj1kWkNiLg7Sw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=58df67cee573cda430507ec9a02b46793bf4e4bb commit 58df67cee573cda430507ec9a02b46793bf4e4bb Author: Tobias C. Berner AuthorDate: 2022-08-26 08:29:17 +0000 Commit: Tobias C. Berner CommitDate: 2022-08-26 13:48:29 +0000 math/readstat: new port - ead (and write) data sets from SAS, Stata, and SPSS Originally developed for Wizard, ReadStat is a command-line tool and MIT-licensed C library for reading files from popular stats packages. Supported data formats include: * SAS: SAS7BDAT (binary file) and XPORT (transport file) * Stata: DTA (binary file) versions 104-119 * SPSS: POR (portable file), SAV (binary file), and ZSAV (compressed binary) Supported metadata formats include: * SAS: SAS7BCAT (catalog file) and .sas (command file) * Stata: .dct (dictionary file) * SPSS: .sps (command file) There is also write support for all the data formats, but not the metadata formats. The produced SAS7BDAT files still cannot be read by SAS, but feel free to contribute your binary-format expertise here. WWW: https://github.com/WizardMac/ReadStat --- math/Makefile | 1 + math/readstat/Makefile | 14 ++++++++++++++ math/readstat/distinfo | 3 +++ math/readstat/pkg-descr | 19 +++++++++++++++++++ math/readstat/pkg-plist | 8 ++++++++ 5 files changed, 45 insertions(+) diff --git a/math/Makefile b/math/Makefile index 34f6640e4e5a..9e44df632a50 100644 --- a/math/Makefile +++ b/math/Makefile @@ -1011,6 +1011,7 @@ SUBDIR += randlib SUBDIR += rankwidth SUBDIR += rapid + SUBDIR += readstat SUBDIR += reduce SUBDIR += reduce-psl SUBDIR += reed-solomon diff --git a/math/readstat/Makefile b/math/readstat/Makefile new file mode 100644 index 000000000000..e31b78dd2ec1 --- /dev/null +++ b/math/readstat/Makefile @@ -0,0 +1,14 @@ +PORTNAME= readstat +DISTVERSION= 1.1.8 +CATEGORIES= math kde +MASTER_SITES= https://github.com/WizardMac/ReadStat/releases/download/v${DISTVERSION}/ + +MAINTAINER= kde@FreeBSD.org +COMMENT= Read (and write) data sets from SAS, Stata, and SPSS + +LICENSE= MIT + +USES= libtool +HAS_CONFIGURE= yes + +.include diff --git a/math/readstat/distinfo b/math/readstat/distinfo new file mode 100644 index 000000000000..569b483c82ee --- /dev/null +++ b/math/readstat/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1661500384 +SHA256 (readstat-1.1.8.tar.gz) = b18a0d68059d9665491e53838b3ca89b06c3bdaa3b0a11d4ba87d830b743e178 +SIZE (readstat-1.1.8.tar.gz) = 615498 diff --git a/math/readstat/pkg-descr b/math/readstat/pkg-descr new file mode 100644 index 000000000000..f71ef2df99f0 --- /dev/null +++ b/math/readstat/pkg-descr @@ -0,0 +1,19 @@ +Originally developed for Wizard, ReadStat is a command-line tool and +MIT-licensed C library for reading files from popular stats packages. Supported +data formats include: + + * SAS: SAS7BDAT (binary file) and XPORT (transport file) + * Stata: DTA (binary file) versions 104-119 + * SPSS: POR (portable file), SAV (binary file), and ZSAV (compressed binary) + +Supported metadata formats include: + + * SAS: SAS7BCAT (catalog file) and .sas (command file) + * Stata: .dct (dictionary file) + * SPSS: .sps (command file) + +There is also write support for all the data formats, but not the metadata +formats. The produced SAS7BDAT files still cannot be read by SAS, but feel free +to contribute your binary-format expertise here. + +WWW: https://github.com/WizardMac/ReadStat diff --git a/math/readstat/pkg-plist b/math/readstat/pkg-plist new file mode 100644 index 000000000000..1f6f16cc8e26 --- /dev/null +++ b/math/readstat/pkg-plist @@ -0,0 +1,8 @@ +bin/extract_metadata +bin/readstat +include/readstat.h +lib/libreadstat.so +lib/libreadstat.so.1 +lib/libreadstat.so.1.1.8 +share/man/man1/extract_metadata.1.gz +share/man/man1/readstat.1.gz