aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2016-10-02 23:38:56 +0800
committerantoine <antoine@FreeBSD.org>2016-10-02 23:38:56 +0800
commit454441e6df990e5c1a17fd815f4dfb7ab1d7413d (patch)
tree90a09a0902eb6984930001e04076b6984971dfbe /devel
parenta932714d7d4211940dd89c28457783bf93874c42 (diff)
downloadfreebsd-ports-gnome-454441e6df990e5c1a17fd815f4dfb7ab1d7413d.tar.gz
freebsd-ports-gnome-454441e6df990e5c1a17fd815f4dfb7ab1d7413d.tar.zst
freebsd-ports-gnome-454441e6df990e5c1a17fd815f4dfb7ab1d7413d.zip
Update to 1.3
Diffstat (limited to 'devel')
-rw-r--r--devel/py-jdcal/Makefile9
-rw-r--r--devel/py-jdcal/distinfo5
2 files changed, 10 insertions, 4 deletions
diff --git a/devel/py-jdcal/Makefile b/devel/py-jdcal/Makefile
index d7ada04a41ac..99311fdb93a6 100644
--- a/devel/py-jdcal/Makefile
+++ b/devel/py-jdcal/Makefile
@@ -1,8 +1,7 @@
-# Created by: antoine@FreeBSD.org
# $FreeBSD$
PORTNAME= jdcal
-PORTVERSION= 1.2
+PORTVERSION= 1.3
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +10,14 @@ MAINTAINER= antoine@FreeBSD.org
COMMENT= Module converting between Julian dates and calendar dates
LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest
USES= python
USE_PYTHON= distutils autoplist
+do-test:
+ @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} test_jdcal.py)
+
.include <bsd.port.mk>
diff --git a/devel/py-jdcal/distinfo b/devel/py-jdcal/distinfo
index f1528de267e6..c68fcda04cd9 100644
--- a/devel/py-jdcal/distinfo
+++ b/devel/py-jdcal/distinfo
@@ -1,2 +1,3 @@
-SHA256 (jdcal-1.2.tar.gz) = 5ebedb58b95ebabd30f56abef65139c6f69ec1687cf1d2f3a7c503f9a2cdfa4d
-SIZE (jdcal-1.2.tar.gz) = 7059
+TIMESTAMP = 1475421840
+SHA256 (jdcal-1.3.tar.gz) = b760160f8dc8cc51d17875c6b663fafe64be699e10ce34b6a95184b5aa0fdc9e
+SIZE (jdcal-1.3.tar.gz) = 7433