Date: Sun, 25 Mar 2018 18:04:09 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r465533 - in head/devel: . py-first Message-ID: <201803251804.w2PI49q4097375@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun Mar 25 18:04:09 2018 New Revision: 465533 URL: https://svnweb.freebsd.org/changeset/ports/465533 Log: 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 Added: head/devel/py-first/ head/devel/py-first/Makefile (contents, props changed) head/devel/py-first/distinfo (contents, props changed) head/devel/py-first/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun Mar 25 17:45:00 2018 (r465532) +++ head/devel/Makefile Sun Mar 25 18:04:09 2018 (r465533) @@ -4438,6 +4438,7 @@ SUBDIR += py-fastnumbers SUBDIR += py-filemagic SUBDIR += py-fileutils + SUBDIR += py-first SUBDIR += py-five.customerize SUBDIR += py-five.formlib SUBDIR += py-five.globalrequest Added: head/devel/py-first/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-first/Makefile Sun Mar 25 18:04:09 2018 (r465533) @@ -0,0 +1,20 @@ +# 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> Added: head/devel/py-first/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-first/distinfo Sun Mar 25 18:04:09 2018 (r465533) @@ -0,0 +1,3 @@ +TIMESTAMP = 1521943705 +SHA256 (first-2.0.1.tar.gz) = 3bb3de3582cb27071cfb514f00ed784dc444b7f96dc21e140de65fe00585c95e +SIZE (first-2.0.1.tar.gz) = 5325 Added: head/devel/py-first/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-first/pkg-descr Sun Mar 25 18:04:09 2018 (r465533) @@ -0,0 +1,7 @@ +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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803251804.w2PI49q4097375>