Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Aug 2013 01:38:16 +0800 (CST)
From:      Gasol Wu <gasol.wu@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/181465: [MAINTAINER] sysutils/py27-glances: update to 1.7.1
Message-ID:  <20130822173816.DD813750105@goingmarry.kkbox.com>
Resent-Message-ID: <201308221750.r7MHo0mQ006755@freefall.freebsd.org>

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

>Number:         181465
>Category:       ports
>Synopsis:       [MAINTAINER] sysutils/py27-glances: update to 1.7.1
>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:   Thu Aug 22 17:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Gasol Wu
>Release:        FreeBSD 9.1-RELEASE-p5 amd64
>Organization:
>Environment:
System: FreeBSD goingmarry 9.1-RELEASE-p5 FreeBSD 9.1-RELEASE-p5 #0: Sat Jul 27 01:14:23 UTC 2013
>Description:
- Update to 1.7.1

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

--- py27-glances-1.7.1.patch begins here ---
diff -ruN /usr/ports/sysutils/py-glances/Makefile ./Makefile
--- /usr/ports/sysutils/py-glances/Makefile	2012-11-29 04:20:09.000000000 +0800
+++ ./Makefile	2013-08-23 01:25:45.000000000 +0800
@@ -2,10 +2,11 @@
 # $FreeBSD: ports/sysutils/py-glances/Makefile,v 1.3 2012/11/28 20:20:09 svnexp Exp $
 
 PORTNAME=	glances
-PORTVERSION=	1.5.1
+PORTVERSION=	1.7.1
 CATEGORIES=	sysutils python
-MASTER_SITES=	https://github.com/downloads/nicolargo/glances/
+MASTER_SITES=	https://github.com/nicolargo/glances/archive/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	v${PORTVERSION}
 
 MAINTAINER=	gasol.wu@gmail.com
 COMMENT=	CLI curses based monitoring tool for GNU/Linux and BSD OS
@@ -15,12 +16,40 @@
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Jinja2>=2.0.0:${PORTSDIR}/devel/py-Jinja2 \
 		${PYTHON_PKGNAMEPREFIX}psutil>=0.4.1:${PORTSDIR}/sysutils/py-psutil
 
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 FETCH_ARGS=	-pRr
 USE_PYTHON=	2.6+
 USE_PYDISTUTILS=easy_install
 PYDISTUTILS_PKGNAME=	Glances
 
-PLIST_FILES=	bin/glances \
-		%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+OPTIONS_DEFINE=	NLS
+OPTIONS_DEFAULT=	${OPTIONS_DEFINE}
 
-.include <bsd.port.mk>
+.if !defined(NO_INSTALL_MANPAGES)
+MAN1=		glances.1
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if ${PORT_OPTIONS:MNLS}
+USES+=		gettext
+PLIST_SUB+=	NLS=""
+TRANSLATIONS=	es fr it pt_BR zh_CN
+.else
+PLIST_SUB+=	NLS="@comment "
+.endif
+
+post-install:
+	${MKDIR} ${PREFIX}/etc/glances
+	${INSTALL_DATA} ${WRKSRC}/glances/conf/glances.conf ${PREFIX}/etc/glances/
+.if !defined(NO_INSTALL_MANPAGES)
+	${INSTALL_MAN} ${WRKSRC}/docs/man/glances.1 ${MANPREFIX}/man/man1/
+.endif
+.if ${PORT_OPTIONS:MNLS}
+.for lang in ${TRANSLATIONS}
+	${INSTALL_DATA} ${WRKSRC}/i18n/${lang}/LC_MESSAGES/glances.mo \
+		${PREFIX}/share/locale/${lang}/LC_MESSAGES/
+.endfor
+.endif
+
+.include <bsd.port.post.mk>
diff -ruN /usr/ports/sysutils/py-glances/distinfo ./distinfo
--- /usr/ports/sysutils/py-glances/distinfo	2012-11-29 04:20:10.000000000 +0800
+++ ./distinfo	2013-08-22 16:35:50.000000000 +0800
@@ -1,2 +1,2 @@
-SHA256 (glances-1.5.1.tar.gz) = a2d503510506014d1b417dddeab1f0a1022990ba54e0c7dd89da7b20f50d0583
-SIZE (glances-1.5.1.tar.gz) = 647418
+SHA256 (v1.7.1.tar.gz) = a681883dd6add6371e987bac2b2bbb2959f873283d833ec2e6f2e1e3707a5e3c
+SIZE (v1.7.1.tar.gz) = 693211
diff -ruN /usr/ports/sysutils/py-glances/files/patch-setup.py ./files/patch-setup.py
--- /usr/ports/sysutils/py-glances/files/patch-setup.py	1970-01-01 08:00:00.000000000 +0800
+++ ./files/patch-setup.py	2013-08-23 01:17:00.000000000 +0800
@@ -0,0 +1,27 @@
+--- ./setup.py.orig	2013-08-20 19:49:41.000000000 +0800
++++ ./setup.py	2013-08-23 01:16:53.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')),
+ ]
+ 
+ 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']))
+-
+-for mo in glob.glob('i18n/*/LC_MESSAGES/*.mo'):
+-    data_files.append((os.path.dirname(mo).replace('i18n/', 'share/locale/'), [mo]))
+ 
+ setup(
+     name='Glances',
diff -ruN /usr/ports/sysutils/py-glances/pkg-descr ./pkg-descr
--- /usr/ports/sysutils/py-glances/pkg-descr	2012-09-22 21:53:22.000000000 +0800
+++ ./pkg-descr	2013-08-22 16:00:58.000000000 +0800
@@ -1,4 +1,4 @@
 Glances is a CLI curses based monitoring tool for GNU/Linux and BSD OS.
 Glances uses the PsUtil library to get information from your system.
 
-WWW:	http://nicolargo.github.com/glances
+WWW: http://nicolargo.github.com/glances
diff -ruN /usr/ports/sysutils/py-glances/pkg-plist ./pkg-plist
--- /usr/ports/sysutils/py-glances/pkg-plist	1970-01-01 08:00:00.000000000 +0800
+++ ./pkg-plist	2013-08-23 01:30:08.000000000 +0800
@@ -0,0 +1,78 @@
+bin/glances
+etc/glances/glances.conf
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/entry_points.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
+%%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
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/glances/data/img/bg.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/glances/glances.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/glances/glances.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/glances/glances.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/AUTHORS
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/COPYING
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/NEWS
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/README.rst
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/glances-doc.html
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/glances.conf
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/images/battery.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/images/client-connected.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/images/client-disconnected.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/images/cpu-wide.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/images/cpu.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/images/diskio.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/images/footer.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/images/fs.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/images/glances-white-256.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/images/hddtemp.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/images/header.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/images/load.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/images/logs.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/images/mem-wide.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/images/mem.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/images/monitored.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/images/network.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/images/per-cpu.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/images/processlist-wide.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/images/processlist.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/images/screenshot-wide.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/images/screenshot.png
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/images/sensors.png
+%%NLS%%share/locale/es/LC_MESSAGES/glances.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/glances.mo
+%%NLS%%share/locale/it/LC_MESSAGES/glances.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/glances.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/glances.mo
+@dirrm etc/glances
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances/images
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/glances
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/glances/data/css
+@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%%
+%%NLS%%@dirrmtry share/locale/zh_CN/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/zh_CN
+%%NLS%%@dirrmtry share/locale/pt_BR/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/pt_BR
+%%NLS%%@dirrmtry share/locale/it/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/it
+%%NLS%%@dirrmtry share/locale/fr/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/fr
+%%NLS%%@dirrmtry share/locale/es/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/es
--- py27-glances-1.7.1.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?20130822173816.DD813750105>