mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 19:36:28 -04:00
New port: devel/py-toolz: Functional standard library for Python
This commit is contained in:
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
|
@ -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
19
devel/py-toolz/Makefile
Normal 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
3
devel/py-toolz/distinfo
Normal 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
12
devel/py-toolz/pkg-descr
Normal 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/
|
Loading…
Add table
Reference in a new issue