Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 2013 08:17:15 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335466 - in head/sysutils/py-glances: . files
Message-ID:  <201312020817.rB28HFV6021485@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Dec  2 08:17:14 2013
New Revision: 335466
URL: http://svnweb.freebsd.org/changeset/ports/335466

Log:
  - 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)

Modified:
  head/sysutils/py-glances/Makefile
  head/sysutils/py-glances/distinfo   (contents, props changed)
  head/sysutils/py-glances/files/patch-setup.py   (contents, props changed)
  head/sysutils/py-glances/pkg-plist   (contents, props changed)

Modified: head/sysutils/py-glances/Makefile
==============================================================================
--- head/sysutils/py-glances/Makefile	Mon Dec  2 08:15:31 2013	(r335465)
+++ head/sysutils/py-glances/Makefile	Mon Dec  2 08:17:14 2013	(r335466)
@@ -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}

Modified: head/sysutils/py-glances/distinfo
==============================================================================
--- head/sysutils/py-glances/distinfo	Mon Dec  2 08:15:31 2013	(r335465)
+++ head/sysutils/py-glances/distinfo	Mon Dec  2 08:17:14 2013	(r335466)
@@ -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

Modified: head/sysutils/py-glances/files/patch-setup.py
==============================================================================
--- head/sysutils/py-glances/files/patch-setup.py	Mon Dec  2 08:15:31 2013	(r335465)
+++ head/sysutils/py-glances/files/patch-setup.py	Mon Dec  2 08:17:14 2013	(r335466)
@@ -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']

Modified: head/sysutils/py-glances/pkg-plist
==============================================================================
--- head/sysutils/py-glances/pkg-plist	Mon Dec  2 08:15:31 2013	(r335465)
+++ head/sysutils/py-glances/pkg-plist	Mon Dec  2 08:17:14 2013	(r335466)
@@ -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%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312020817.rB28HFV6021485>