git: 3a08ec402a18 - main - devel/py-rdata: New port: Read R datasets from Python
Yuri Victorovich <[email protected]> Tue, 04 Aug 2026 20:10:34 +0000
| Newsgroups | gmane.os.freebsd.devel.cvs.ports |
|---|---|
| Message-ID | <[email protected]> |
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=3a08ec402a1887cc54cb8cc262ab311e891f94ac commit 3a08ec402a1887cc54cb8cc262ab311e891f94ac Author: Yuri Victorovich <[email protected]> AuthorDate: 2026-08-04 06:43:20 +0000 Commit: Yuri Victorovich <[email protected]> CommitDate: 2026-08-04 20:10:23 +0000 devel/py-rdata: New port: Read R datasets from Python --- devel/Makefile | 1 + devel/py-rdata/Makefile | 26 ++++++++++++++++++++++++++ devel/py-rdata/distinfo | 3 +++ devel/py-rdata/files/patch-pyproject.toml | 16 ++++++++++++++++ devel/py-rdata/pkg-descr | 3 +++ 5 files changed, 49 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 8b600004b5eb..8258e0a6daeb 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -6093,6 +6093,7 @@ SUBDIR += py-ratelimiter SUBDIR += py-raven SUBDIR += py-rchitect + SUBDIR += py-rdata SUBDIR += py-re-assert SUBDIR += py-readerwriterlock SUBDIR += py-readme-renderer diff --git a/devel/py-rdata/Makefile b/devel/py-rdata/Makefile new file mode 100644 index 000000000000..7f4834775ea4 --- /dev/null +++ b/devel/py-rdata/Makefile @@ -0,0 +1,26 @@ +PORTNAME= rdata +DISTVERSION= 1.1.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= [email protected] +COMMENT= Read R datasets from Python +WWW= https://rdata.readthedocs.io + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>4.4:devel/py-typing-extensions@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}xarray>0:devel/py-xarray@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist concurrent + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-rdata/distinfo b/devel/py-rdata/distinfo new file mode 100644 index 000000000000..346db3d6c3ed --- /dev/null +++ b/devel/py-rdata/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1785732668 +SHA256 (rdata-1.1.0.tar.gz) = 37c8b19e8be82d7d7acb36c6623bfeb7ab1d95d9380ec00a6c063f88b1f50e3a +SIZE (rdata-1.1.0.tar.gz) = 106564 diff --git a/devel/py-rdata/files/patch-pyproject.toml b/devel/py-rdata/files/patch-pyproject.toml new file mode 100644 index 000000000000..b4d9ebff18f1 --- /dev/null +++ b/devel/py-rdata/files/patch-pyproject.toml @@ -0,0 +1,16 @@ +-- Make pyproject.toml valid for the setuptools version in the FreeBSD +-- ports tree. Expand the short-string license form to PEP-621 {text = "..."} +-- and remove the license-files key that older setuptools does not accept. + +--- pyproject.toml.orig 2026-08-03 15:45:26 UTC ++++ pyproject.toml +@@ -3,8 +3,7 @@ requires-python = ">=3.11" + description = "Read R datasets from Python." + readme = "README.rst" + requires-python = ">=3.11" +-license = "MIT" +-license-files = [ "LICENSE" ] ++license = {text = "MIT"} + keywords = [ + "rdata", + "r", diff --git a/devel/py-rdata/pkg-descr b/devel/py-rdata/pkg-descr new file mode 100644 index 000000000000..f8b18ca603e4 --- /dev/null +++ b/devel/py-rdata/pkg-descr @@ -0,0 +1,3 @@ +Read R datasets from Python. + +It parses R .rda and .rds files into pandas-compatible data structures.