ports/183983: [MAINTAINER] sysutils/py27-glances: update to 1.7.2

Gasol Wu gasol.wu at gmail.com
Fri Nov 15 08:50:01 UTC 2013


>Number:         183983
>Category:       ports
>Synopsis:       [MAINTAINER] sysutils/py27-glances: update to 1.7.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 15 08:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Gasol Wu
>Release:        FreeBSD 9.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD goingmarry 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC
>Description:
- Update to 1.7.2

Generated with FreeBSD Port Tools 0.99_9 (mode: update, diff: ports)
>How-To-Repeat:
>Fix:

--- py27-glances-1.7.2.patch begins here ---
diff -ruN /usr/ports/sysutils/py-glances/Makefile ./Makefile
--- /usr/ports/sysutils/py-glances/Makefile	2013-09-21 07:05:58.000000000 +0800
+++ ./Makefile	2013-11-08 14:56:16.000000000 +0800
@@ -2,7 +2,7 @@
 # $FreeBSD: sysutils/py-glances/Makefile 327772 2013-09-20 23:05:58Z bapt $
 
 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 -ruN /usr/ports/sysutils/py-glances/distinfo ./distinfo
--- /usr/ports/sysutils/py-glances/distinfo	2013-08-23 04:42:45.000000000 +0800
+++ ./distinfo	2013-11-08 14:39:53.000000000 +0800
@@ -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 -ruN /usr/ports/sysutils/py-glances/files/patch-setup.py ./files/patch-setup.py
--- /usr/ports/sysutils/py-glances/files/patch-setup.py	2013-08-23 04:42:45.000000000 +0800
+++ ./files/patch-setup.py	2013-11-08 14:43:32.000000000 +0800
@@ -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']
--- py27-glances-1.7.2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list