From nobody Thu Jul 7 12:37:03 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 C2DE110FE642; Thu, 7 Jul 2022 12:37:03 +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 4LdwsC5BZXz3hrr; Thu, 7 Jul 2022 12:37:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657197423; 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=U8Zv3AJs4KsaRL+oai1/Md3AP8LMvhGOSyXoxQjptNI=; b=nJrsuW5f8oWf9K7r5wm5VY99Qv3956AGxXLlPgV1BIV8Ovy4CuHb1Q5If0u/7h9fvx6hzD yxQuwAdPkyVaFdpFCl/BOjXQPc1Xqi+MU+U0I+ci6L5KJ8NSCiOAp3qzIhWLQDJAREMIez 2wm4qYAeNeXZKGNfg8GR/ZWMKeSnUfI4XjyaUlxE5T8kOKYILDjKSfCQUSR+MJrZGQha0O Zv+FqA1Z5upZBYoY1bSirKa2jj73k9MWUnkcmtVCZgcy916D6F2dp7rwqsmOxo0l4UTXJZ TbbgDUTz2ZUrvvzWV3o0vJKuR4gagKAFgEJSt/YpoD7tF0W76RgZhiOAq7FW2A== 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 4LdwsC4H0SzjNL; Thu, 7 Jul 2022 12:37:03 +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 267Cb3QA073942; Thu, 7 Jul 2022 12:37:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 267Cb35x073941; Thu, 7 Jul 2022 12:37:03 GMT (envelope-from git) Date: Thu, 7 Jul 2022 12:37:03 GMT Message-Id: <202207071237.267Cb35x073941@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: 313d74c86b6c - main - devel/py-etils: Add py-etils 0.6.0 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: 313d74c86b6c762830e58a2c9176983bbb3083af Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657197423; 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=U8Zv3AJs4KsaRL+oai1/Md3AP8LMvhGOSyXoxQjptNI=; b=BHEDLPzu0CpbjgybjtoHa61n1mBEetiYmk8YW2PMoJ9LrPDv+XYOsAJsqs0qcsHBuqs+by ncSlH7D9zx4aRdI31hE6KvOaKb3QhfRNAfzlsyvMrzqeHIOJJ9APj4OZHoP10Z6iMeDQl4 af6S29FVcFFJ0THcSRtfC3ApBm+rPjcCIct9jrn2r5H7TnuJFhHZuE2VgZH+w1rhm3j0Hy HMy7iWMQtjit/32pOsIr59KqdXUrBLi+ZPlcgP+RcOfAmN2UnTwTUuRvEtaxWXMFEvjEVO 65It0wazR8FjrQkOBPg6mtaR9x61zJG+uXWHIA29LY35K7OhVXJ5syj74NmVBw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657197423; a=rsa-sha256; cv=none; b=SQh308NglqsZggn/u06rYA5vBE8bxZIv1CZUkkRLCLPwyVHSu7KKvGZgBSkk3b7WvkmJzu s0XImnwbRv1M3AgvaOrAl3YwktecBLlYMDevr2dDXP4h7FN+ieKMlHvzA3qtRH739Goz42 hf0k3M2bgx9YNKLXYASDQq12+s0bMyFNey+quC3BqXgqWGNyTDjFMCZQJsZkY4Kxquhl5/ p9MLIStsY71Ig4PLtbRth7E7pzXBvRAlzdJYQYFH9Tgnhem+Uy8SuwvtEF4q9cEfTrHj2+ +hBfBaEmMwtfp+ZQtikzlIwot+DRuLikwHA5LCpMFKKtfTuePOUMs8qCZGXv0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=313d74c86b6c762830e58a2c9176983bbb3083af commit 313d74c86b6c762830e58a2c9176983bbb3083af Author: Po-Chuan Hsieh AuthorDate: 2022-07-07 12:22:03 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-07-07 12:36:11 +0000 devel/py-etils: Add py-etils 0.6.0 Etils (eclectic utils) is an open-source collection of utils for python. WWW: https://github.com/google/etils --- devel/Makefile | 1 + devel/py-etils/Makefile | 34 ++++++++++++++++++++++++ devel/py-etils/distinfo | 3 +++ devel/py-etils/files/setup.py | 61 +++++++++++++++++++++++++++++++++++++++++++ devel/py-etils/pkg-descr | 3 +++ 5 files changed, 102 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index abb414a12927..fc85bf3b329c 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4450,6 +4450,7 @@ SUBDIR += py-epc SUBDIR += py-epdb SUBDIR += py-epsilon + SUBDIR += py-etils SUBDIR += py-evdev SUBDIR += py-eventlib SUBDIR += py-ewmh diff --git a/devel/py-etils/Makefile b/devel/py-etils/Makefile new file mode 100644 index 000000000000..21c056a19978 --- /dev/null +++ b/devel/py-etils/Makefile @@ -0,0 +1,34 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= etils +PORTVERSION= 0.6.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Collection of common python utils + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +OPTIONS_DEFINE= EPATH EPY +OPTIONS_DEFAULT=EPATH EPY +EPATH_DESC= Pathlib-like API +EPATH_IMPLIES= EPY +EPY_DESC= Collection of generic python utils + +EPATH_RUN_DEPENDS= +EPATH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=0:devel/py-importlib-resources@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}zipp>=0:devel/py-zipp@${PY_FLAVOR} +EPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} + +post-patch: + @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py + +.include diff --git a/devel/py-etils/distinfo b/devel/py-etils/distinfo new file mode 100644 index 000000000000..fc3e4f595a0b --- /dev/null +++ b/devel/py-etils/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1656702468 +SHA256 (etils-0.6.0.tar.gz) = 6677241051835d0db11c4947bcad938f57b51ea102290624f892f1e4e51b70e5 +SIZE (etils-0.6.0.tar.gz) = 57081 diff --git a/devel/py-etils/files/setup.py b/devel/py-etils/files/setup.py new file mode 100644 index 000000000000..d6990535f44c --- /dev/null +++ b/devel/py-etils/files/setup.py @@ -0,0 +1,61 @@ +#!/usr/bin/env python +# setup.py generated by flit for tools that don't yet use PEP 517 + +from distutils.core import setup + +packages = \ +['etils', + 'etils.array_types', + 'etils.ecolab', + 'etils.edc', + 'etils.enp', + 'etils.epath', + 'etils.epy', + 'etils.etqdm', + 'etils.etree'] + +package_data = \ +{'': ['*'], 'etils.epath': ['docs/*']} + +extras_require = \ +{'all': ['etils[array-types]', + 'etils[ecolab]', + 'etils[edc]', + 'etils[enp]', + 'etils[epath]', + 'etils[epy]', + 'etils[etqdm]', + 'etils[etree]', + 'etils[etree-dm]', + 'etils[etree-jax]', + 'etils[etree-tf]'], + 'array-types': ['numpy'], + 'dev': ['pytest', + 'pytest-subtests', + 'pytest-xdist', + 'pylint>=2.6.0', + 'yapf', + 'chex'], + 'ecolab': ['jupyter', 'numpy', 'mediapy', 'etils[enp]'], + 'edc': ['etils[epy]'], + 'enp': ['numpy', 'etils[array-types]'], + 'epath': ['importlib_resources', 'zipp', 'etils[epy]'], + 'epath-no-tf': ['etils[epath]'], + 'epy': ['typing_extensions'], + 'etqdm': ['absl-py', 'tqdm', 'etils[epy]'], + 'etree': ['etils[array_types]', 'etils[epy]', 'etils[enp]', 'etils[etqdm]'], + 'etree-dm': ['dm-tree', 'etils[etree]'], + 'etree-jax': ['jax[cpu]', 'etils[etree]'], + 'etree-tf': ['tf-nightly', 'etils[etree]']} + +setup(name='etils', + version='%%PORTVERSION%%', + description='Collection of common python utils', + author=None, + author_email='Conchylicultor ', + url=None, + packages=packages, + package_data=package_data, + extras_require=extras_require, + python_requires='>=3.7', + ) diff --git a/devel/py-etils/pkg-descr b/devel/py-etils/pkg-descr new file mode 100644 index 000000000000..71d621de7bb9 --- /dev/null +++ b/devel/py-etils/pkg-descr @@ -0,0 +1,3 @@ +Etils (eclectic utils) is an open-source collection of utils for python. + +WWW: https://github.com/google/etils