From owner-svn-ports-all@freebsd.org Sat Nov 4 13:49:08 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5EADBE6EBF4; Sat, 4 Nov 2017 13:49:08 +0000 (UTC) (envelope-from yuri@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 mx1.freebsd.org (Postfix) with ESMTPS id 3B2DF6EC6F; Sat, 4 Nov 2017 13:49:08 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vA4Dn7o4075727; Sat, 4 Nov 2017 13:49:07 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vA4Dn7ij075722; Sat, 4 Nov 2017 13:49:07 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201711041349.vA4Dn7ij075722@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sat, 4 Nov 2017 13:49:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r453463 - in head/devel: . py-fastnumbers X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/devel: . py-fastnumbers X-SVN-Commit-Revision: 453463 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.23 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: Sat, 04 Nov 2017 13:49:08 -0000 Author: yuri Date: Sat Nov 4 13:49:06 2017 New Revision: 453463 URL: https://svnweb.freebsd.org/changeset/ports/453463 Log: New port: devel/py-fastnumbers: Super-fast and clean conversions to numbers PR: 223103 Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D12906 Added: head/devel/py-fastnumbers/ head/devel/py-fastnumbers/Makefile (contents, props changed) head/devel/py-fastnumbers/distinfo (contents, props changed) head/devel/py-fastnumbers/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sat Nov 4 13:35:45 2017 (r453462) +++ head/devel/Makefile Sat Nov 4 13:49:06 2017 (r453463) @@ -4386,6 +4386,7 @@ SUBDIR += py-fasteners SUBDIR += py-fastentrypoints SUBDIR += py-fastimport + SUBDIR += py-fastnumbers SUBDIR += py-filemagic SUBDIR += py-fileutils SUBDIR += py-five.customerize Added: head/devel/py-fastnumbers/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-fastnumbers/Makefile Sat Nov 4 13:49:06 2017 (r453463) @@ -0,0 +1,21 @@ +# $FreeBSD$ + +PORTNAME= fastnumbers +PORTVERSION= 2.0.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Super-fast and clean conversions to numbers + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python +USE_PYTHON= autoplist distutils + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/fastnumbers.so + +.include Added: head/devel/py-fastnumbers/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-fastnumbers/distinfo Sat Nov 4 13:49:06 2017 (r453463) @@ -0,0 +1,3 @@ +TIMESTAMP = 1508392676 +SHA256 (fastnumbers-2.0.1.tar.gz) = ea67263d6360b9294c4bc5924089771d3f003bf6b6343383d700ea9659b506fb +SIZE (fastnumbers-2.0.1.tar.gz) = 299489 Added: head/devel/py-fastnumbers/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-fastnumbers/pkg-descr Sat Nov 4 13:49:06 2017 (r453463) @@ -0,0 +1,9 @@ +py-fastnumbers provides: +* drop-in replacements for the Python built-in int and float that on + average are up to 2x faster +* a set of convenience functions that wrap the above int and float replacements + and provides easy, concise, powerful, fast and flexible error handling +* a set of functions that can be used to rapidly identify if an input could be + converted to int or float + +WWW: https://github.com/SethMMorton/fastnumbers