freebsd-ports/devel/py-first/Makefile
Sunpoet Po-Chuan Hsieh 479dc75220 Add py-first 2.0.1
first is an MIT licensed Python package with a simple function that returns the
first true value from an iterable, or None if there is none. If you need more
power, you can also supply a key function that is used to judge the truth value
of the element or a default value if None doesn’t fit your use case.

WWW: https://pypi.python.org/pypi/first
WWW: https://github.com/hynek/first
2018-03-25 18:04:09 +00:00

21 lines
414 B
Makefile

# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= first
PORTVERSION= 2.0.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Return the first true value of an iterable
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
NO_ARCH= yes
USE_PYTHON= autoplist concurrent distutils
USES= python
.include <bsd.port.mk>