aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-12-02 16:17:14 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-12-02 16:17:14 +0800
commit01f3c666e8f07ea7b52cf28b058d55485b89efc4 (patch)
treedaa90da2f0c0072b51aba08e0cb0be32c6295a84
parentac7c6d49d36036f68377fb0eaa9e2526a98731aa (diff)
downloadfreebsd-ports-gnome-01f3c666e8f07ea7b52cf28b058d55485b89efc4.tar.gz
freebsd-ports-gnome-01f3c666e8f07ea7b52cf28b058d55485b89efc4.tar.zst
freebsd-ports-gnome-01f3c666e8f07ea7b52cf28b058d55485b89efc4.zip
- Update to 1.7.2
Changes: https://github.com/nicolargo/glances/blob/master/NEWS PR: ports/183983 Submitted by: Gasol Wu <gasol.wu@gmail.com> (maintainer)
-rw-r--r--sysutils/py-glances/Makefile2
-rw-r--r--sysutils/py-glances/distinfo4
-rw-r--r--sysutils/py-glances/files/patch-setup.py18
-rw-r--r--sysutils/py-glances/pkg-plist3
4 files changed, 12 insertions, 15 deletions
diff --git a/sysutils/py-glances/Makefile b/sysutils/py-glances/Makefile
index 386849532a25..cb5f05ebb2e3 100644
--- a/sysutils/py-glances/Makefile
+++ b/sysutils/py-glances/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= glances
-PORTVERSION= 1.7.1
+PORTVERSION= 1.7.2
CATEGORIES= sysutils python
MASTER_SITES= https://github.com/nicolargo/glances/archive/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/sysutils/py-glances/distinfo b/sysutils/py-glances/distinfo
index ba4dcbd629c0..3c49730aa056 100644
--- a/sysutils/py-glances/distinfo
+++ b/sysutils/py-glances/distinfo
@@ -1,2 +1,2 @@
-SHA256 (v1.7.1.tar.gz) = a681883dd6add6371e987bac2b2bbb2959f873283d833ec2e6f2e1e3707a5e3c
-SIZE (v1.7.1.tar.gz) = 693211
+SHA256 (v1.7.2.tar.gz) = 9bf0b615d546b7ad11d0588cf3e675472612d448fa3acd3ad28f6e1cae20bdf0
+SIZE (v1.7.2.tar.gz) = 1431489
diff --git a/sysutils/py-glances/files/patch-setup.py b/sysutils/py-glances/files/patch-setup.py
index ffb1f194b86e..0d6b9210364b 100644
--- a/sysutils/py-glances/files/patch-setup.py
+++ b/sysutils/py-glances/files/patch-setup.py
@@ -1,5 +1,5 @@
---- ./setup.py.orig 2013-08-20 19:49:41.000000000 +0800
-+++ ./setup.py 2013-08-23 01:16:53.000000000 +0800
+--- ./setup.py.orig 2013-11-01 17:12:25.000000000 +0800
++++ ./setup.py 2013-11-08 14:42:57.000000000 +0800
@@ -11,10 +11,9 @@
'docs/glances-doc.html',
'glances/conf/glances.conf']),
@@ -14,14 +14,14 @@
]
if hasattr(sys, 'real_prefix') or 'bsd' in sys.platform:
-@@ -23,10 +22,6 @@
- etc_path = os.path.join('/etc', 'glances')
- elif 'darwin' in sys.platform:
- etc_path = os.path.join('/usr/local', 'etc', 'glances')
--data_files.append((etc_path, ['glances/conf/glances.conf']))
+@@ -25,10 +24,6 @@
+ conf_path = os.path.join('/usr/local', 'etc', 'glances')
+ elif 'win32' in sys.platform:
+ conf_path = os.path.join(os.environ.get('APPDATA'), 'glances')
+-data_files.append((conf_path, ['glances/conf/glances.conf']))
-
-for mo in glob.glob('i18n/*/LC_MESSAGES/*.mo'):
- data_files.append((os.path.dirname(mo).replace('i18n/', 'share/locale/'), [mo]))
- setup(
- name='Glances',
+ if sys.platform.startswith('win'):
+ requires = ['psutil>=0.5.1', 'colorconsole==0.6']
diff --git a/sysutils/py-glances/pkg-plist b/sysutils/py-glances/pkg-plist
index e31ff219b10c..0fb0b79be248 100644
--- a/sysutils/py-glances/pkg-plist
+++ b/sysutils/py-glances/pkg-plist
@@ -10,8 +10,6 @@ etc/glances/glances.conf.sample
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/glances/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/glances/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/glances/__init__.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/glances/conf/glances-with-monitored.conf
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/glances/conf/glances.conf
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/glances/data/css/default.css
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/glances/data/html/base.html
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/glances/data/html/default.html
@@ -62,7 +60,6 @@ etc/glances/glances.conf.sample
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/glances/data/html
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/glances/data/img
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/glances/data
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/glances/conf
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/glances
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%