Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Dec 2013 21:52:33 +0800 (CST)
From:      Gasol Wu <gasol.wu@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/184803: [MAINTAINER] sysutils/py-glances: update to 1.7.3
Message-ID:  <20131216135233.D8E94750300@goingmarry.kkbox.com>
Resent-Message-ID: <201312161400.rBGE00BH061828@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         184803
>Category:       ports
>Synopsis:       [MAINTAINER] sysutils/py-glances: update to 1.7.3
>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:   Mon Dec 16 14:00: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.3
- Depends on ports/184802

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

--- py27-glances-1.7.3.patch begins here ---
diff -ruN /usr/ports/sysutils/py-glances/Makefile ./Makefile
--- /usr/ports/sysutils/py-glances/Makefile	2013-12-02 16:17:14.000000000 +0800
+++ ./Makefile	2013-12-15 22:37:45.000000000 +0800
@@ -1,8 +1,8 @@
 # Created by: Gasol Wu <gasol.wu@gmail.com>
-# $FreeBSD: sysutils/py-glances/Makefile 335466 2013-12-02 08:17:14Z sunpoet $
+# $FreeBSD: sysutils/py-glances/Makefile 327772 2013-09-20 23:05:58Z bapt $
 
 PORTNAME=	glances
-PORTVERSION=	1.7.2
+PORTVERSION=	1.7.3
 CATEGORIES=	sysutils python
 MASTER_SITES=	https://github.com/nicolargo/glances/archive/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +14,7 @@
 LICENSE=	LGPL3
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Jinja2>=2.0.0:${PORTSDIR}/devel/py-Jinja2 \
-		${PYTHON_PKGNAMEPREFIX}psutil>=0.4.1:${PORTSDIR}/sysutils/py-psutil
+		${PYTHON_PKGNAMEPREFIX}psutil>=1.2.1:${PORTSDIR}/sysutils/py-psutil
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 FETCH_ARGS=	-pRr
@@ -41,9 +41,9 @@
 
 post-install:
 	@${MKDIR} ${PREFIX}/etc/glances
-	${INSTALL_DATA} ${WRKSRC}/glances/conf/glances.conf ${PREFIX}/etc/glances/glances.conf.sample
+	${INSTALL_DATA} ${WRKSRC}/conf/glances.conf ${PREFIX}/etc/glances/glances.conf.sample
 .if !defined(NO_INSTALL_MANPAGES)
-	${INSTALL_MAN} ${WRKSRC}/docs/man/glances.1 ${MANPREFIX}/man/man1/
+	${INSTALL_MAN} ${WRKSRC}/man/glances.1 ${MANPREFIX}/man/man1/
 .endif
 .if ${PORT_OPTIONS:MNLS}
 .for lang in ${TRANSLATIONS}
diff -ruN /usr/ports/sysutils/py-glances/distinfo ./distinfo
--- /usr/ports/sysutils/py-glances/distinfo	2013-12-02 16:17:14.000000000 +0800
+++ ./distinfo	2013-12-16 21:45:35.000000000 +0800
@@ -1,2 +1,2 @@
-SHA256 (v1.7.2.tar.gz) = 9bf0b615d546b7ad11d0588cf3e675472612d448fa3acd3ad28f6e1cae20bdf0
-SIZE (v1.7.2.tar.gz) = 1431489
+SHA256 (v1.7.3.tar.gz) = 03a5c8193fd3c91b8249c2501bc612008fa81861c14f82464a10b45d08c4ca4f
+SIZE (v1.7.3.tar.gz) = 1431225
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-12-02 16:17:14.000000000 +0800
+++ ./files/patch-setup.py	2013-12-16 21:45:39.000000000 +0800
@@ -1,24 +1,20 @@
---- ./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']),
-     ('share/doc/glances/images', glob.glob('docs/images/*.png')),
--    ('share/glances/css', glob.glob('glances/data/css/*.css')),
--    ('share/glances/html', glob.glob('glances/data/html/*.html')),
--    ('share/glances/img', glob.glob('glances/data/img/*.png')),
--    ('share/man/man1', ['docs/man/glances.1'])
-+    ('glances/data/css', glob.glob('glances/data/css/*.css')),
-+    ('glances/data/html', glob.glob('glances/data/html/*.html')),
-+    ('glances/data/img', glob.glob('glances/data/img/*.png')),
+--- ./setup.py.orig	2013-12-15 17:23:06.000000000 +0800
++++ ./setup.py	2013-12-16 21:45:25.000000000 +0800
+@@ -9,8 +9,7 @@
+ data_files = [
+     ('share/doc/glances', ['AUTHORS', 'COPYING', 'NEWS', 'README.rst',
+                            'conf/glances.conf', 'docs/glances-doc.html']),
+-    ('share/doc/glances/images', glob.glob('docs/images/*.png')),
+-    ('share/man/man1', ['man/glances.1'])
++    ('share/doc/glances/images', glob.glob('docs/images/*.png'))
  ]
  
  if hasattr(sys, 'real_prefix') or 'bsd' in sys.platform:
-@@ -25,10 +24,6 @@
+@@ -21,10 +20,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']))
+-data_files.append((conf_path, ['conf/glances.conf']))
 -
 -for mo in glob.glob('i18n/*/LC_MESSAGES/*.mo'):
 -    data_files.append((os.path.dirname(mo).replace('i18n/', 'share/locale/'), [mo]))
--- py27-glances-1.7.3.patch ends here ---

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



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