From owner-svn-ports-all@freebsd.org Sun Mar 25 18:04:10 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1646FF5EEF9; Sun, 25 Mar 2018 18:04:10 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BEFB17139D; Sun, 25 Mar 2018 18:04:09 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B9D21217FA; Sun, 25 Mar 2018 18:04:09 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2PI49FT097379; Sun, 25 Mar 2018 18:04:09 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2PI49q4097375; Sun, 25 Mar 2018 18:04:09 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201803251804.w2PI49q4097375@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 25 Mar 2018 18:04:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r465533 - in head/devel: . py-first X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel: . py-first X-SVN-Commit-Revision: 465533 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Mar 2018 18:04:10 -0000 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 +# $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 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