Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Nov 2017 13:49:07 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r453463 - in head/devel: . py-fastnumbers
Message-ID:  <201711041349.vA4Dn7ij075722@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711041349.vA4Dn7ij075722>