aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2016-03-13 19:04:55 +0800
committerkoobs <koobs@FreeBSD.org>2016-03-13 19:04:55 +0800
commitb24de60b3074e82fc9c58ed782c8d8f7644ede72 (patch)
tree5d00f2fd447f793f73c99317081da21452ca8b6c /devel
parentae0f69cd237d9f36d62045fe8463fb48a33967f3 (diff)
downloadfreebsd-ports-gnome-b24de60b3074e82fc9c58ed782c8d8f7644ede72.tar.gz
freebsd-ports-gnome-b24de60b3074e82fc9c58ed782c8d8f7644ede72.tar.zst
freebsd-ports-gnome-b24de60b3074e82fc9c58ed782c8d8f7644ede72.zip
devel/py-decorator: Update to 4.0.9
- Update PORTVERSION and distinfo checksum (4.0.9) - Add LICENSE_FILE - Add test target - Enable NO_ARCH (architecture independent) - Update pkg-descr WWW: URL to match setup.py:url= This change fixes www/py-praw after r410501 [1], which depends on this version (4.0.9) as a minimum. Maintainer email address is currently experience MX lookup failure: Technical details of temporary failure: DNS Error: 132075314 DNS type 'mx' lookup of wizard.volgograd.ru responded with code SERVFAIL [1] https://svnweb.freebsd.org/changeset/ports/410501 PR: 207894 Approved by: portmgr (maintainer email failure) Differential Revision: D5606
Diffstat (limited to 'devel')
-rw-r--r--devel/py-decorator/Makefile8
-rw-r--r--devel/py-decorator/distinfo4
-rw-r--r--devel/py-decorator/pkg-descr2
3 files changed, 10 insertions, 4 deletions
diff --git a/devel/py-decorator/Makefile b/devel/py-decorator/Makefile
index 3c9ffb758578..8403071c689a 100644
--- a/devel/py-decorator/Makefile
+++ b/devel/py-decorator/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= decorator
-PORTVERSION= 4.0.6
+PORTVERSION= 4.0.9
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +11,14 @@ MAINTAINER= dsh@wizard.volgograd.ru
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>
diff --git a/devel/py-decorator/distinfo b/devel/py-decorator/distinfo
index ca2ddb4abee7..883218a18c93 100644
--- a/devel/py-decorator/distinfo
+++ b/devel/py-decorator/distinfo
@@ -1,2 +1,2 @@
-SHA256 (decorator-4.0.6.tar.gz) = 1c6254597777fd003da2e8fb503c3dbf3d9e8f8d55f054709c0e65be3467209c
-SIZE (decorator-4.0.6.tar.gz) = 68855
+SHA256 (decorator-4.0.9.tar.gz) = 90022e83316363788a55352fe39cfbed357aa3a71d90e5f2803a35471de4bba8
+SIZE (decorator-4.0.9.tar.gz) = 68746
diff --git a/devel/py-decorator/pkg-descr b/devel/py-decorator/pkg-descr
index 0b2bafe0246b..17f7c7d3c78c 100644
--- a/devel/py-decorator/pkg-descr
+++ b/devel/py-decorator/pkg-descr
@@ -11,4 +11,4 @@ for the average programmer, and to popularize decorators usage giving
examples of useful decorators, such as memoize, tracing,
redirecting_stdout, locked, etc.
-WWW: https://pypi.python.org/pypi/decorator
+WWW: https://github.com/micheles/decorator