Date: Fri, 4 Mar 2016 16:34:49 +0000 (UTC) From: Roman Bogorodskiy <novel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r410134 - in head/devel: . py-positional Message-ID: <201603041634.u24GYnuG042613@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: novel Date: Fri Mar 4 16:34:48 2016 New Revision: 410134 URL: https://svnweb.freebsd.org/changeset/ports/410134 Log: New port: devel/py-positional positional provides a decorator which enforces only some args may be passed positionally. The idea and some of the code was taken from the oauth2 client of the google-api client. The decorator makes it easy to support Python 3 style key-word only parameters. WWW: https://github.com/morganfainberg/positional Reviewed by: koobs, mat Differential Revision: D5540 Added: head/devel/py-positional/ head/devel/py-positional/Makefile (contents, props changed) head/devel/py-positional/distinfo (contents, props changed) head/devel/py-positional/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Fri Mar 4 16:30:22 2016 (r410133) +++ head/devel/Makefile Fri Mar 4 16:34:48 2016 (r410134) @@ -4222,6 +4222,7 @@ SUBDIR += py-pluggy SUBDIR += py-ply SUBDIR += py-polib + SUBDIR += py-positional SUBDIR += py-posix_ipc SUBDIR += py-pp SUBDIR += py-pqueue Added: head/devel/py-positional/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-positional/Makefile Fri Mar 4 16:34:48 2016 (r410134) @@ -0,0 +1,22 @@ +# $FreeBSD$ + +PORTNAME= positional +PORTVERSION= 1.0.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= novel@FreeBSD.org +COMMENT= Library to enforce positional or key-word arguments + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=1.6:${PORTSDIR}/devel/py-pbr + +NO_ARCH= yes + +USES= python +USE_PYTHON= autoplist distutils + +.include <bsd.port.mk> Added: head/devel/py-positional/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-positional/distinfo Fri Mar 4 16:34:48 2016 (r410134) @@ -0,0 +1,2 @@ +SHA256 (positional-1.0.1.tar.gz) = 54a73f3593c6e30e9cdd0a727503b7c5dddbb75fb78bb681614b08dfde2bc444 +SIZE (positional-1.0.1.tar.gz) = 16398 Added: head/devel/py-positional/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-positional/pkg-descr Fri Mar 4 16:34:48 2016 (r410134) @@ -0,0 +1,8 @@ +positional provides a decorator which enforces only some args may be passed +positionally. The idea and some of the code was taken from the oauth2 client +of the google-api client. + +The decorator makes it easy to support Python 3 style key-word only +parameters. + +WWW: https://github.com/morganfainberg/positional
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603041634.u24GYnuG042613>