Date: Mon, 30 Jul 2018 14:18:02 +0000 (UTC) From: Babak Farrokhi <farrokhi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475894 - in head/devel: . py-backcall Message-ID: <201807301418.w6UEI2ce073788@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <farrokhi@FreeBSD.org> +# $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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807301418.w6UEI2ce073788>