From owner-svn-ports-head@freebsd.org Thu Oct 27 21:18:34 2016 Return-Path: Delivered-To: svn-ports-head@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 879E5C244B6; Thu, 27 Oct 2016 21:18:34 +0000 (UTC) (envelope-from jbeich@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 4AD701BE; Thu, 27 Oct 2016 21:18:34 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u9RLIXKd075096; Thu, 27 Oct 2016 21:18:33 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u9RLIXG7075092; Thu, 27 Oct 2016 21:18:33 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201610272118.u9RLIXG7075092@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Thu, 27 Oct 2016 21:18:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r424792 - in head/devel: . py-atomiclong X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2016 21:18:34 -0000 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@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 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