Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Commit

Permalink
[update to 5.4.8] [aix] improve compilation on AIX, better support fo…
Browse files Browse the repository at this point in the history
…r gcc/g++ + fix cpu metrics (#1320)

Alex Manuskin (1):
      Add parsing for /sys/class/thermal (#1345)

E. M. Bray (1):
      Refactored ps() function in test_posix (#1341)

Giampaolo Rodola (28):
      make test more robust
      remove failing test
      remove failing test assertions
      add download badge
      travis: add python 3.7 build
      also include PYPY (or try to :P)
      #1332 - update HISTORY
      fix #1343: document Process.as_dict() attrs values
      #1341: move open() utilities/wrappers in _common.py
      use memory tolerance in occasionally failing test
      catch UnicodeEncodeError on print()
      Fix decoding error in tests
      #1284, #1345 - give credits to @amanusk
      give credits to @alxchk for #1346 (sunOS)
      give CREDITS for #1320 to @truthbk
      fix different travis failures
      fix #715: do not print exception on import time in case cpu_times() fails.
      fix travis
      skip test on PYPY + Travis
      travis: disable pypy; se py 3.7 on osx
      travis / osx: set py 3.6
      fix #1277 / osx / virtual_memory: 'available' and 'used' memory were not calculated properly
      #1197 / linux / cpu_freq(): parse /proc/cpuinfo in case /sys/devices/system/cpu fs is not available
      refactor hasattr() checks as global constants
      fix #1307: [Linux] disk_partitions() does not honour PROCFS_PATH
      fix #1004: Process.io_counters() may raise ValueError
      sensors_temperatures() / linux: convert defaultdict to dict
      pre release

Jaime Fullaondo (1):
      [aix] improve compilation on AIX, better support for gcc/g++ + fix cpu metrics (#1320)

Jon Dufresne (1):
      Correct capitalization of PyPI (#1337)

alxchk (1):
      Fix giampaolo/psutil#1346 (#1347)

sylvainduchesne (1):
      Fix random 0xC0000001 errors when querying for Connections (#1335)

yanok (1):
      make psutil_debug() aware of PSUTIL_DEBUG (#1332)
  • Loading branch information
fenrus75 authored and djklimes committed Oct 31, 2018
1 parent 73b0b94 commit d893c74
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 22 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME := psutil
URL = https://files.pythonhosted.org/packages/7d/9a/1e93d41708f8ed2b564395edfa3389f0fd6d567597401c2e5e2775118d8b/psutil-5.4.7.tar.gz
URL = https://files.pythonhosted.org/packages/e3/58/0eae6e4466e5abf779d7e2b71fac7fba5f59e00ea36ddb3ed690419ccb0f/psutil-5.4.8.tar.gz
ARCHIVES =

include ../common/Makefile.common
4 changes: 3 additions & 1 deletion options.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = psutil
url = https://files.pythonhosted.org/packages/7d/9a/1e93d41708f8ed2b564395edfa3389f0fd6d567597401c2e5e2775118d8b/psutil-5.4.7.tar.gz
url = https://files.pythonhosted.org/packages/e3/58/0eae6e4466e5abf779d7e2b71fac7fba5f59e00ea36ddb3ed690419ccb0f/psutil-5.4.8.tar.gz
archives =
giturl = https://github.com/giampaolo/psutil.git

Expand All @@ -21,6 +21,8 @@ broken_parallel_build = false
compat = false
# set conservative build flags
conservative_flags = false
# dev package requires the extras to be installed
dev_requires_extras = false
# pass -ffast-math to compiler
fast-math = false
# optimize build for speed over size
Expand Down
32 changes: 16 additions & 16 deletions psutil.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
# Generated by: autospec.py
#
Name : psutil
Version : 5.4.7
Release : 56
URL : https://files.pythonhosted.org/packages/7d/9a/1e93d41708f8ed2b564395edfa3389f0fd6d567597401c2e5e2775118d8b/psutil-5.4.7.tar.gz
Source0 : https://files.pythonhosted.org/packages/7d/9a/1e93d41708f8ed2b564395edfa3389f0fd6d567597401c2e5e2775118d8b/psutil-5.4.7.tar.gz
Version : 5.4.8
Release : 57
URL : https://files.pythonhosted.org/packages/e3/58/0eae6e4466e5abf779d7e2b71fac7fba5f59e00ea36ddb3ed690419ccb0f/psutil-5.4.8.tar.gz
Source0 : https://files.pythonhosted.org/packages/e3/58/0eae6e4466e5abf779d7e2b71fac7fba5f59e00ea36ddb3ed690419ccb0f/psutil-5.4.8.tar.gz
Summary : Cross-platform lib for process and system monitoring in Python.
Group : Development/Tools
License : BSD-3-Clause
Requires: psutil-python3
Requires: psutil-license
Requires: psutil-python
Requires: psutil-license = %{version}-%{release}
Requires: psutil-python = %{version}-%{release}
Requires: psutil-python3 = %{version}-%{release}
BuildRequires : buildreq-distutils3
BuildRequires : procps-ng

Expand All @@ -31,7 +31,7 @@ license components for the psutil package.
%package python
Summary: python components for the psutil package.
Group: Default
Requires: psutil-python3
Requires: psutil-python3 = %{version}-%{release}

%description python
python components for the psutil package.
Expand All @@ -47,21 +47,21 @@ python3 components for the psutil package.


%prep
%setup -q -n psutil-5.4.7
%setup -q -n psutil-5.4.8

%build
export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C
export SOURCE_DATE_EPOCH=1534288072
python3 setup.py build -b py3
export SOURCE_DATE_EPOCH=1540905122
python3 setup.py build

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/doc/psutil
cp LICENSE %{buildroot}/usr/share/doc/psutil/LICENSE
python3 -tt setup.py build -b py3 install --root=%{buildroot}
mkdir -p %{buildroot}/usr/share/package-licenses/psutil
cp LICENSE %{buildroot}/usr/share/package-licenses/psutil/LICENSE
python3 -tt setup.py build install --root=%{buildroot}
echo ----[ mark ]----
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
echo ----[ mark ]----
Expand All @@ -70,8 +70,8 @@ echo ----[ mark ]----
%defattr(-,root,root,-)

%files license
%defattr(-,root,root,-)
/usr/share/doc/psutil/LICENSE
%defattr(0644,root,root,0755)
/usr/share/package-licenses/psutil/LICENSE

%files python
%defattr(-,root,root,-)
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
56
57
2 changes: 1 addition & 1 deletion upstream
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4c7c8cb5a4915eb7148a1080030f9097be87d3e4/psutil-5.4.7.tar.gz
7d6e5e8532a619fca7ea90863f1edc5997799055/psutil-5.4.8.tar.gz
3 changes: 1 addition & 2 deletions whatrequires
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# This file contains recursive sources that require this package
gjs
glances
mozjs
mozjs38
mozjs52
ostree
mozjs60

0 comments on commit d893c74

Please sign in to comment.