From owner-svn-ports-all@freebsd.org Fri Mar 4 16:34:50 2016 Return-Path: Delivered-To: svn-ports-all@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 A439F9DA3F4; Fri, 4 Mar 2016 16:34:50 +0000 (UTC) (envelope-from novel@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 66C35B06; Fri, 4 Mar 2016 16:34:50 +0000 (UTC) (envelope-from novel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u24GYnfP042617; Fri, 4 Mar 2016 16:34:49 GMT (envelope-from novel@FreeBSD.org) Received: (from novel@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u24GYnuG042613; Fri, 4 Mar 2016 16:34:49 GMT (envelope-from novel@FreeBSD.org) Message-Id: <201603041634.u24GYnuG042613@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: novel set sender to novel@FreeBSD.org using -f From: Roman Bogorodskiy Date: Fri, 4 Mar 2016 16:34:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r410134 - in head/devel: . py-positional X-SVN-Group: ports-head 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.21 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: Fri, 04 Mar 2016 16:34:50 -0000 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 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