From nobody Fri Nov 15 09:20:36 2024 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 4XqWhh5l7bz5ctGp; Fri, 15 Nov 2024 09:20:36 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XqWhh4G6Hz4HPG; Fri, 15 Nov 2024 09:20:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731662436; 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=DWAVi+RD1UcDKpEbxADOUdaFCQQnHvLGhcZpptRivGU=; b=QqPzGyfVgKmybSIgPwdInt8fIuMet4jboEkUwYlOIQx4euJ6fPKK94lFcUNH8Q3GuoEx1i TPxoZ3ReCl/AfDjuzCyqSjuRmNwjdqnbJ9Ra4U3N5aNoN3m8iiXOgG3Q5XJJuWtjmB6m/S ps2Ju0/nVu7j+qNtFYm44O+LHsYEGNbqcaDlHOpc6kLe+Qafw3E+1ueJA8Fsw/P+haC/k2 i7Zy6km8norKLrmgs0O4jv2eKbqf1118RVN98EPADg0vzPJvDoqihQGMRX5hkBYbhTplQz adPUxQXNdN8VyOQ+m+otSLm2Vzd0bGGMDRyRZKhMbCt1Rx+VSwMrJdtaxHIzdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731662436; 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=DWAVi+RD1UcDKpEbxADOUdaFCQQnHvLGhcZpptRivGU=; b=mHKAgsc7B/k8U0LjT0Di9iJWFN0y/KtMO9CU6sOD6FfmBryoOTL3WqkBqKsHI6tGDw5+EI qQltpessfIiDo09BWRIu1EKhzf4FnB8IStrf7TVSte2WPzc3VD86iYloq4DcGwDmq5gXdI amw0MEDuqHNOxj91Nsqn27IVb5TNS4ADT5VcJrp/ZfxrxOjvC7Vi9qiWebQb8VTo1ctJrQ mRpVmJ+jyAkRRTcTc1ohENljkGBdYmLftNQKzzzlkUtNj/HFv1Zc9yQgobsIyWbNUK8FqO mHnmT8dO2pjpLw2Iv6pyomyujAFqBrAKrWmYI353gAfMJTN9hZOBTJWPkTH3+A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731662436; a=rsa-sha256; cv=none; b=eX8BG9CW8wC5A71crlAc3a4sNmtXBHDiNWyF9IawQBQBFS35DaMenW7HbwyvPohYVzFrVL RpJ9MdSVqxrXB3LpXayUErzdt7vcdzlYL+L7VsVYDl/c9kJt9lmLTxVVyCjQ4wKOqlO2DI WscIgAsx8zkgh6FHdnKucw+bcY1LzPwqt47vCRhKHkzzsiwQMIg6RdG6ZQlznoSz0QdhKP UIr3swSIlRJYEkdpRvNTjW2YlTcD2Wyt9ZZQZ4U411DLMcsDXaIsHe8Gxqahy95EORFBw+ SpKAWUmlhi4tqlNOEKHH0D9nh6UdWjTASaz9ZsMMbQ2o9BQZvxu2Kgb4NjBtmg== 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 4XqWhh3jRXzHRf; Fri, 15 Nov 2024 09:20:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4AF9Kabg056484; Fri, 15 Nov 2024 09:20:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AF9KaMO056481; Fri, 15 Nov 2024 09:20:36 GMT (envelope-from git) Date: Fri, 15 Nov 2024 09:20:36 GMT Message-Id: <202411150920.4AF9KaMO056481@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: e7b401059d8f - main - devel/py-tabulate2: New port: Pretty-print tabular data in Python (new gen) 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e7b401059d8f6ca23f1c499879ac3f6c57c369e0 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=e7b401059d8f6ca23f1c499879ac3f6c57c369e0 commit e7b401059d8f6ca23f1c499879ac3f6c57c369e0 Author: Yuri Victorovich AuthorDate: 2024-11-15 05:19:22 +0000 Commit: Yuri Victorovich CommitDate: 2024-11-15 09:20:26 +0000 devel/py-tabulate2: New port: Pretty-print tabular data in Python (new gen) --- devel/Makefile | 1 + devel/py-tabulate2/Makefile | 27 +++++++++++++++++++++++++++ devel/py-tabulate2/distinfo | 3 +++ devel/py-tabulate2/pkg-descr | 10 ++++++++++ 4 files changed, 41 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 1e9a4180b102..c926078c07e6 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5929,6 +5929,7 @@ SUBDIR += py-sysv_ipc SUBDIR += py-tables SUBDIR += py-tabulate + SUBDIR += py-tabulate2 SUBDIR += py-tabulator SUBDIR += py-tailer SUBDIR += py-tapi diff --git a/devel/py-tabulate2/Makefile b/devel/py-tabulate2/Makefile new file mode 100644 index 000000000000..be3a81ae20f2 --- /dev/null +++ b/devel/py-tabulate2/Makefile @@ -0,0 +1,27 @@ +PORTNAME= tabulate2 +PORTVERSION= 1.10.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Pretty-print tabular data in Python (new gen) +WWW= https://github.com/RaSan147/python-tabulate + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4.3:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wcwidth>0:devel/py-wcwidth@${PY_FLAVOR} +TEST_DEPENDS= ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wcwidth>0:devel/py-wcwidth@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist concurrent pytest # one test hangs + +NO_ARCH= yes + +.include diff --git a/devel/py-tabulate2/distinfo b/devel/py-tabulate2/distinfo new file mode 100644 index 000000000000..71a3fd237ff5 --- /dev/null +++ b/devel/py-tabulate2/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1731646022 +SHA256 (tabulate2-1.10.0.tar.gz) = 6e3ce430ff41a3d9216134d6455d8072a1b0f608f52f9baf784768e08bf8b444 +SIZE (tabulate2-1.10.0.tar.gz) = 93081 diff --git a/devel/py-tabulate2/pkg-descr b/devel/py-tabulate2/pkg-descr new file mode 100644 index 000000000000..3f85c750c75a --- /dev/null +++ b/devel/py-tabulate2/pkg-descr @@ -0,0 +1,10 @@ +Pretty-print tabular data in Python. + +The main use cases of the library are: + +printing small tables without hassle: just one function call, +formatting is guided by the data itself authoring tabular data for +lightweight plain-text markup: multiple output formats +suitable for further editing or transformation readable presentation of +mixed textual and numeric data: smart column alignment, +configurable number formatting, alignment by a decimal point