pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/py-psutil Changes 5.2.2:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0e5235998d58
branches:  trunk
changeset: 362981:0e5235998d58
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon May 29 16:02:40 2017 +0000

description:
Changes 5.2.2:

Bug fixes
1000: fixed some setup.py warnings.
1002: [SunOS] remove C macro which will not be available on new Solaris versions. (patch by Danek Duvall)
1004: [Linux] Process.io_counters() may raise ValueError.
1006: [Linux] cpu_freq() may return None on some Linux versions does not support the function; now the function is not declared instead.
1009: [Linux] sensors_temperatures() may raise OSError.
1010: [Linux] virtual_memory() may raise ValueError on Ubuntu 14.04.

diffstat:

 sysutils/py-psutil/Makefile |  21 ++++++++++++++-------
 sysutils/py-psutil/PLIST    |   3 ++-
 sysutils/py-psutil/distinfo |  10 +++++-----
 3 files changed, 21 insertions(+), 13 deletions(-)

diffs (65 lines):

diff -r 776982ccd25d -r 0e5235998d58 sysutils/py-psutil/Makefile
--- a/sysutils/py-psutil/Makefile       Mon May 29 16:00:27 2017 +0000
+++ b/sysutils/py-psutil/Makefile       Mon May 29 16:02:40 2017 +0000
@@ -1,19 +1,26 @@
-# $NetBSD: Makefile,v 1.19 2017/01/01 08:27:18 ryoon Exp $
+# $NetBSD: Makefile,v 1.20 2017/05/29 16:02:40 adam Exp $
 
-DISTNAME=      psutil-release-5.0.1
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/-release//}
+DISTNAME=      psutil-5.2.2
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    sysutils
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=giampaolo/}
-GITHUB_PROJECT=        psutil
-GITHUB_TAG=    release-${PKGVERSION_NOREV}
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/psutil/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/giampaolo/psutil
 COMMENT=       Cross-platform process and system utilities module for Python
 LICENSE=       modified-bsd
 
+USE_LANGUAGES=         c
+
+.include "../../lang/python/pyversion.mk"
+
+.if "${PYPKGPREFIX}" == "py27"
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress
+.endif
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-unittest2-[0-9]*:../../devel/py-unittest2
+
 REPLACE_PYTHON=        psutil/*py
-EGG_NAME=      psutil-${PKGVERSION_NOREV}
 
 .include "../../mk/bsd.prefs.mk"
 
diff -r 776982ccd25d -r 0e5235998d58 sysutils/py-psutil/PLIST
--- a/sysutils/py-psutil/PLIST  Mon May 29 16:00:27 2017 +0000
+++ b/sysutils/py-psutil/PLIST  Mon May 29 16:02:40 2017 +0000
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.8 2016/04/29 15:33:57 prlw1 Exp $
+@comment $NetBSD: PLIST,v 1.9 2017/05/29 16:02:40 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/psutil/__init__.py
 ${PYSITELIB}/psutil/__init__.pyc
diff -r 776982ccd25d -r 0e5235998d58 sysutils/py-psutil/distinfo
--- a/sysutils/py-psutil/distinfo       Mon May 29 16:00:27 2017 +0000
+++ b/sysutils/py-psutil/distinfo       Mon May 29 16:02:40 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.17 2017/01/01 08:27:18 ryoon Exp $
+$NetBSD: distinfo,v 1.18 2017/05/29 16:02:40 adam Exp $
 
-SHA1 (psutil-release-5.0.1.tar.gz) = 0cfc35492185bc6ebe768c70ed86a4eb32e25e4f
-RMD160 (psutil-release-5.0.1.tar.gz) = 21d6b30480c6f5cf6d3c7c4921f6982f8f2a3920
-SHA512 (psutil-release-5.0.1.tar.gz) = 2cd6a5ce307e46b395f0cb2c9ac1b849485430798a306f105ad7d4e324abce3e21f36de47b84b243134728c5d34d78816c8a96f2c7b0394eb57633ddd3236d5a
-Size (psutil-release-5.0.1.tar.gz) = 1833258 bytes
+SHA1 (psutil-5.2.2.tar.gz) = e22e2f6abdff051d438626f9a59a8782ace1a63e
+RMD160 (psutil-5.2.2.tar.gz) = bdf3d28e5072b936b86056d8da28524b43de734d
+SHA512 (psutil-5.2.2.tar.gz) = df4878d03a6ff98beb611969edd5a4d704ac269d38dc286d84def3ca271936e03367241470f2a192e0d71d0f64fe1f252223b0d67e964918146334a807d1a997
+Size (psutil-5.2.2.tar.gz) = 348413 bytes



Home | Main Index | Thread Index | Old Index