aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2018-04-15 07:58:35 +0800
committersunpoet <sunpoet@FreeBSD.org>2018-04-15 07:58:35 +0800
commit80eca4943ce3717ece93733360816a7897fe0481 (patch)
treee3de03708f0c9ea8e9b1fed09b2e380a82181554
parentaad05aa98521de671a63efc6e1e056e58d8b0daa (diff)
downloadfreebsd-ports-gnome-80eca4943ce3717ece93733360816a7897fe0481.tar.gz
freebsd-ports-gnome-80eca4943ce3717ece93733360816a7897fe0481.tar.zst
freebsd-ports-gnome-80eca4943ce3717ece93733360816a7897fe0481.zip
Update to 5.4.4
Changes: https://github.com/giampaolo/psutil/blob/master/HISTORY.rst
-rw-r--r--sysutils/py-psutil/Makefile14
-rw-r--r--sysutils/py-psutil/distinfo6
2 files changed, 13 insertions, 7 deletions
diff --git a/sysutils/py-psutil/Makefile b/sysutils/py-psutil/Makefile
index 39bb479add2b..ef66d50f68df 100644
--- a/sysutils/py-psutil/Makefile
+++ b/sysutils/py-psutil/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= psutil
-PORTVERSION= 5.4.3
+PORTVERSION= 5.4.4
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,8 +13,8 @@ COMMENT= Process utilities module for Python
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}unittest2>=0:devel/py-unittest2@${FLAVOR}
+RUN_DEPENDS= ${PY_ENUM34}
+TEST_DEPENDS= ${PY_IPADDRESS}
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}psutil121
@@ -24,4 +24,10 @@ USES= python
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/psutil/_psutil_bsd.so ${STAGEDIR}${PYTHON_SITELIBDIR}/psutil/_psutil_posix.so
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3300
+TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/py-psutil/distinfo b/sysutils/py-psutil/distinfo
index ff9abecd5eed..67a7fa60fdde 100644
--- a/sysutils/py-psutil/distinfo
+++ b/sysutils/py-psutil/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1514894186
-SHA256 (psutil-5.4.3.tar.gz) = e2467e9312c2fa191687b89ff4bc2ad8843be4af6fb4dc95a7cc5f7d7a327b18
-SIZE (psutil-5.4.3.tar.gz) = 412550
+TIMESTAMP = 1523717880
+SHA256 (psutil-5.4.4.tar.gz) = 5959e33e0fc69742dd22e88bfc7789a1f2e1fc2297794b543119e10cdac8dfb1
+SIZE (psutil-5.4.4.tar.gz) = 417890