svn commit: r410134 - in head/devel: . py-positional

Roman Bogorodskiy novel at FreeBSD.org
Fri Mar 4 16:34:50 UTC 2016


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 at 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


More information about the svn-ports-all mailing list