New port: devel/py-toolz: Functional standard library for Python

This commit is contained in:
Yuri Victorovich 2018-03-29 21:06:16 +00:00
parent 2ba5005caa
commit f8e32f885c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=465929
4 changed files with 35 additions and 0 deletions

View file

@ -4980,6 +4980,7 @@
SUBDIR += py-tinyarray
SUBDIR += py-tinyrpc
SUBDIR += py-tipper
SUBDIR += py-toolz
SUBDIR += py-tooz
SUBDIR += py-toposort
SUBDIR += py-total-ordering

19
devel/py-toolz/Makefile Normal file
View file

@ -0,0 +1,19 @@
# $FreeBSD$
PORTNAME= toolz
DISTVERSION= 0.9.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Functional standard library for Python
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= python
USE_PYTHON= distutils autoplist
NO_ARCH= yes
.include <bsd.port.mk>

3
devel/py-toolz/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1522357087
SHA256 (toolz-0.9.0.tar.gz) = 929f0a7ea7f61c178bd951bdae93920515d3fbdbafc8e6caf82d752b9b3b31c9
SIZE (toolz-0.9.0.tar.gz) = 45544

12
devel/py-toolz/pkg-descr Normal file
View file

@ -0,0 +1,12 @@
toolz is implemented in three parts:
* itertoolz, for operations on iterables.
Examples: groupby, unique, interpose,
* functoolz, for higher-order functions.
Examples: memoize, curry, compose
* dicttoolz, for operations on dictionaries.
Examples: assoc, update-in, merge.
These functions come from the legacy of functional languages for list
processing. They interoperate well to accomplish common complex tasks.
WWW: http://github.com/pytoolz/toolz/