svn commit: r424792 - in head/devel: . py-atomiclong

Jan Beich jbeich at FreeBSD.org
Thu Oct 27 21:18:34 UTC 2016


Author: jbeich
Date: Thu Oct 27 21:18:32 2016
New Revision: 424792
URL: https://svnweb.freebsd.org/changeset/ports/424792

Log:
  devel/py-atomiclong: add new port
  
  Based on:	ports-mgmt/py-pytoport output
  
  AtomicLong was born out of the need for fast thread-safe counters in Python.
  Its value is a C long which can be incremented, decremented, and set atomically.
  
  WWW: https://pypi.python.org/pypi/atomiclong

Added:
  head/devel/py-atomiclong/
  head/devel/py-atomiclong/Makefile   (contents, props changed)
  head/devel/py-atomiclong/distinfo   (contents, props changed)
  head/devel/py-atomiclong/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile   (contents, props changed)

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Thu Oct 27 21:08:56 2016	(r424791)
+++ head/devel/Makefile	Thu Oct 27 21:18:32 2016	(r424792)
@@ -4014,6 +4014,7 @@
     SUBDIR += py-aspyct
     SUBDIR += py-astroid
     SUBDIR += py-asyncio
+    SUBDIR += py-atomiclong
     SUBDIR += py-atomicwrites
     SUBDIR += py-attrs
     SUBDIR += py-avro

Added: head/devel/py-atomiclong/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-atomiclong/Makefile	Thu Oct 27 21:18:32 2016	(r424792)
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME=	atomiclong
+PORTVERSION=	0.1.1
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	jbeich at FreeBSD.org
+COMMENT=	AtomicLong type using CFFI
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest
+
+NO_ARCH=	yes
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+post-patch:
+	@${REINPLACE_CMD} '/setup_requires/d' ${WRKSRC}/${PYSETUP}
+
+do-test:
+	@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
+
+.include <bsd.port.mk>

Added: head/devel/py-atomiclong/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-atomiclong/distinfo	Thu Oct 27 21:18:32 2016	(r424792)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1477478547
+SHA256 (atomiclong-0.1.1.tar.gz) = cb1378c4cd676d6f243641c50e277504abf45f70f1ea76e446efcdbb69624bbe
+SIZE (atomiclong-0.1.1.tar.gz) = 5057

Added: head/devel/py-atomiclong/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-atomiclong/pkg-descr	Thu Oct 27 21:18:32 2016	(r424792)
@@ -0,0 +1,4 @@
+AtomicLong was born out of the need for fast thread-safe counters in Python.
+Its value is a C long which can be incremented, decremented, and set atomically.
+
+WWW: https://pypi.python.org/pypi/atomiclong


More information about the svn-ports-all mailing list