From owner-svn-ports-all@freebsd.org Mon Jul 30 14:18:04 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 1808A1057C64; Mon, 30 Jul 2018 14:18:04 +0000 (UTC) (envelope-from farrokhi@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 A9A62736A6; Mon, 30 Jul 2018 14:18:03 +0000 (UTC) (envelope-from farrokhi@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 66ABC25696; Mon, 30 Jul 2018 14:18:03 +0000 (UTC) (envelope-from farrokhi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6UEI3bi073794; Mon, 30 Jul 2018 14:18:03 GMT (envelope-from farrokhi@FreeBSD.org) Received: (from farrokhi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6UEI2ce073788; Mon, 30 Jul 2018 14:18:02 GMT (envelope-from farrokhi@FreeBSD.org) Message-Id: <201807301418.w6UEI2ce073788@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: farrokhi set sender to farrokhi@FreeBSD.org using -f From: Babak Farrokhi Date: Mon, 30 Jul 2018 14:18:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475894 - in head/devel: . py-backcall X-SVN-Group: ports-head X-SVN-Commit-Author: farrokhi X-SVN-Commit-Paths: in head/devel: . py-backcall X-SVN-Commit-Revision: 475894 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.27 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: Mon, 30 Jul 2018 14:18:04 -0000 Author: farrokhi Date: Mon Jul 30 14:18:02 2018 New Revision: 475894 URL: https://svnweb.freebsd.org/changeset/ports/475894 Log: New Port: devel/py-backcall: Backwards compatible callback APIs Added: head/devel/py-backcall/ head/devel/py-backcall/Makefile (contents, props changed) head/devel/py-backcall/distinfo (contents, props changed) head/devel/py-backcall/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon Jul 30 14:10:59 2018 (r475893) +++ head/devel/Makefile Mon Jul 30 14:18:02 2018 (r475894) @@ -4363,6 +4363,7 @@ SUBDIR += py-avro SUBDIR += py-babel SUBDIR += py-babelfish + SUBDIR += py-backcall SUBDIR += py-backports SUBDIR += py-backports.csv SUBDIR += py-backports.functools_lru_cache Added: head/devel/py-backcall/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-backcall/Makefile Mon Jul 30 14:18:02 2018 (r475894) @@ -0,0 +1,19 @@ +# Created by: Babak Farrokhi +# $FreeBSD$ + +PORTNAME= backcall +PORTVERSION= 0.1.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= farrokhi@FreeBSD.org +COMMENT= Backwards compatible callback APIs + +LICENSE= BSD3CLAUSE + +NO_ARCH= yes +USES= python +USE_PYTHON= autoplist concurrent distutils + +.include Added: head/devel/py-backcall/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-backcall/distinfo Mon Jul 30 14:18:02 2018 (r475894) @@ -0,0 +1,3 @@ +TIMESTAMP = 1532958667 +SHA256 (backcall-0.1.0.tar.gz) = 38ecd85be2c1e78f77fd91700c76e14667dc21e2713b63876c0eb901196e01e4 +SIZE (backcall-0.1.0.tar.gz) = 9690 Added: head/devel/py-backcall/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-backcall/pkg-descr Mon Jul 30 14:18:02 2018 (r475894) @@ -0,0 +1,9 @@ +If your code lets other people supply callback functions, it's important to +specify the function signature you expect, and check that functions support +that. Adding extra parameters later would break other peoples code unless +you're careful. + +backcall provides a way of specifying the callback signature using a prototype +function + +WWW: https://github.com/takluyver/backcall