Skip to content
Snippets Groups Projects
Verified Commit 313d74c8 authored by sunpoet's avatar sunpoet
Browse files

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
parent f208ae5f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
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 <bsd.port.mk>
TIMESTAMP = 1656702468
SHA256 (etils-0.6.0.tar.gz) = 6677241051835d0db11c4947bcad938f57b51ea102290624f892f1e4e51b70e5
SIZE (etils-0.6.0.tar.gz) = 57081
#!/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 <etils@google.com>',
url=None,
packages=packages,
package_data=package_data,
extras_require=extras_require,
python_requires='>=3.7',
)
Etils (eclectic utils) is an open-source collection of utils for python.
WWW: https://github.com/google/etils
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment