Bug 202369 - [MAINTAINER][PATCH] www/calendarserver incompatible with sysutils/py-psutil-3.1.1
Summary: [MAINTAINER][PATCH] www/calendarserver incompatible with sysutils/py-psutil-3...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Pawel Pekala
Keywords: patch
Depends on:
Reported: 2015-08-16 17:46 UTC by Axel.Rau
Modified: 2015-10-09 21:42 UTC (History)
1 user (show)

See Also:

patch against revision 394414 (958 bytes, patch)
2015-08-16 17:46 UTC, Axel.Rau
no flags Details | Diff
poudriere testport on 10.1 (673.33 KB, text/plain)
2015-08-16 17:49 UTC, Axel.Rau
Axel.Rau: maintainer-approval+

Note You need to log in before you can comment on or make changes to this bug.
Description Axel.Rau 2015-08-16 17:46:30 UTC
Created attachment 159930 [details]
patch against revision 394414

After upgradung dependency sysutils/py-psutil to version 3.1.1
calendarserver fails with:
- - -
	  File "/usr/local/lib/python2.7/site-packages/calendarserver/accesslog.py", line 594, in __init__
	    "cpu count"     : psutil.NUM_CPUS if psutil is not None else -1,
	exceptions.AttributeError: 'module' object has no attribute 'NUM_CPUS'
- - -

Use sysutils/py-psutil121 instead.
Patch attached.
Comment 1 Axel.Rau 2015-08-16 17:49:32 UTC
Created attachment 159931 [details]
poudriere testport on 10.1
Comment 2 commit-hook freebsd_committer 2015-10-09 21:42:05 UTC
A commit references this bug:

Author: pawel
Date: Fri Oct  9 21:41:03 UTC 2015
New revision: 398961
URL: https://svnweb.freebsd.org/changeset/ports/398961

  Depend on correct sysutils/py-psutil version to avoid
  runtime problem.

  PR:		202369
  Submitted by:	maintainer