[Midnightbsd-cvs] mports [24124] trunk/devel: add port
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Mon Sep 3 12:12:43 EDT 2018
Revision: 24124
http://svnweb.midnightbsd.org/mports/?rev=24124
Author: laffer1
Date: 2018-09-03 12:12:43 -0400 (Mon, 03 Sep 2018)
Log Message:
-----------
add port
Modified Paths:
--------------
trunk/devel/Makefile
Added Paths:
-----------
trunk/devel/py-decorator/
trunk/devel/py-decorator/Makefile
trunk/devel/py-decorator/distinfo
trunk/devel/py-decorator/pkg-descr
Modified: trunk/devel/Makefile
===================================================================
--- trunk/devel/Makefile 2018-09-03 16:11:35 UTC (rev 24123)
+++ trunk/devel/Makefile 2018-09-03 16:12:43 UTC (rev 24124)
@@ -486,6 +486,7 @@
SUBDIR += py-darcsver
SUBDIR += py-dateutil
SUBDIR += py-dbus
+SUBDIR += py-decorator
SUBDIR += py-enum34
SUBDIR += py-fileutils
SUBDIR += py-funcsigs
Added: trunk/devel/py-decorator/Makefile
===================================================================
--- trunk/devel/py-decorator/Makefile (rev 0)
+++ trunk/devel/py-decorator/Makefile 2018-09-03 16:12:43 UTC (rev 24124)
@@ -0,0 +1,23 @@
+# $MidnightBSD$
+
+PORTNAME= decorator
+PORTVERSION= 4.3.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Better living through Python with decorators
+
+LICENSE= mit
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+USES= python
+USE_PYTHON= distutils autoplist
+
+NO_ARCH= yes
+
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
+.include <bsd.port.mk>
Property changes on: trunk/devel/py-decorator/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py-decorator/distinfo
===================================================================
--- trunk/devel/py-decorator/distinfo (rev 0)
+++ trunk/devel/py-decorator/distinfo 2018-09-03 16:12:43 UTC (rev 24124)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1528763132
+SHA256 (decorator-4.3.0.tar.gz) = c39efa13fbdeb4506c476c9b3babf6a718da943dab7811c206005a4a956c080c
+SIZE (decorator-4.3.0.tar.gz) = 33758
Property changes on: trunk/devel/py-decorator/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py-decorator/pkg-descr
===================================================================
--- trunk/devel/py-decorator/pkg-descr (rev 0)
+++ trunk/devel/py-decorator/pkg-descr 2018-09-03 16:12:43 UTC (rev 24124)
@@ -0,0 +1,14 @@
+As of now, writing custom decorators correctly requires some
+experience and it is not as easy as it could be. For instance, typical
+implementations of decorators involve nested functions, and we all
+know that flat is better than nested. Moreover, typical
+implementations of decorators do not preserve the signature of
+decorated functions, thus confusing both documentation tools and
+developers.
+
+The aim of the decorator module it to simplify the usage of decorators
+for the average programmer, and to popularize decorators usage giving
+examples of useful decorators, such as memoize, tracing,
+redirecting_stdout, locked, etc.
+
+WWW: https://github.com/micheles/decorator
Property changes on: trunk/devel/py-decorator/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list