Bug 188174 - [MAINTAINER] sysutils/py-glances: update to 1.7.6
Summary: [MAINTAINER] sysutils/py-glances: update to 1.7.6
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-01 17:10 UTC by Gasol Wu
Modified: 2014-04-26 19:34 UTC (History)
0 users

See Also:


Attachments
py-glances-1.7.6.patch (934 bytes, patch)
2014-04-01 17:10 UTC, Gasol Wu
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gasol Wu 2014-04-01 17:10:00 UTC
- Update to 1.7.6

Generated with FreeBSD Port Tools 1.00.2014.03.23 (mode: update, diff: ports)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-04-01 17:10:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sunpoet

sunpoet@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2014-04-03 18:10:18 UTC
State Changed
From-To: open->feedback

Please review http://people.freebsd.org/~sunpoet/py-glances.patch 
Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-04-26 19:13:06 UTC
Author: sunpoet
Date: Sat Apr 26 18:12:55 2014
New Revision: 352316
URL: http://svnweb.freebsd.org/changeset/ports/352316
QAT: https://qat.redports.org/buildarchive/r352316/

Log:
  - Update to 1.7.6
  - While I'm here:
    - Update RUN_DEPENDS: use sysutils/py-psutil
    - Add DOCS to OPTIONS_DEFINE
    - Use USE_PYDISTUTILS=yes
    - Use PLIST_FILES, PLIST_DIRS, PORTDOCS and PYDISTUTILS_AUTOPLIST instead of PLIST
    - Cosmetic change
  
  Changes:	https://github.com/nicolargo/glances/blob/master/NEWS
  PR:		ports/188174
  Submitted by:	Gasol Wu <gasol.wu@gmail.com> (maintainer)

Deleted:
  head/sysutils/py-glances/pkg-plist
Modified:
  head/sysutils/py-glances/Makefile
  head/sysutils/py-glances/distinfo

Modified: head/sysutils/py-glances/Makefile
==============================================================================
--- head/sysutils/py-glances/Makefile	Sat Apr 26 18:12:50 2014	(r352315)
+++ head/sysutils/py-glances/Makefile	Sat Apr 26 18:12:55 2014	(r352316)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	glances
-PORTVERSION=	1.7.5
+PORTVERSION=	1.7.6
 CATEGORIES=	sysutils python
 MASTER_SITES=	https://github.com/nicolargo/glances/archive/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,24 +14,34 @@ COMMENT=	CLI curses based monitoring too
 LICENSE=	LGPL3
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Jinja2>=2.0.0:${PORTSDIR}/devel/py-Jinja2 \
-		${PYTHON_PKGNAMEPREFIX}psutil121>=1.2.1:${PORTSDIR}/sysutils/py-psutil121
+		${PYTHON_PKGNAMEPREFIX}psutil>=2.0.0:${PORTSDIR}/sysutils/py-psutil
 
-OPTIONS_DEFINE=	MANPAGES NLS
+OPTIONS_DEFINE=	DOCS MANPAGES NLS
 OPTIONS_SUB=	yes
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 USE_PYTHON=	yes
-USE_PYDISTUTILS=easy_install
-PYDISTUTILS_PKGNAME=	Glances
+USE_PYDISTUTILS=yes
+PYDISTUTILS_AUTOPLIST=	yes
+
+PLIST_FILES=	bin/glances \
+		%%ETCDIR%%/glances.conf.sample \
+		%%MANPAGES%%man/man1/glances.1.gz \
+		%%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
+PLIST_DIRS=	etc/glances
+PORTDOCS=	*
 
-NLS_TRANSLATIONS=	es fr it pt_BR zh_CN
 NLS_USES=		gettext
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/glances
 	${INSTALL_DATA} ${WRKSRC}/conf/glances.conf ${STAGEDIR}${PREFIX}/etc/glances/glances.conf.sample
 	${INSTALL_MAN} ${WRKSRC}/man/glances.1 ${STAGEDIR}${MANPREFIX}/man/man1/
-.for lang in ${NLS_TRANSLATIONS}
+.for lang in es fr it pt_BR zh_CN
 	${INSTALL_DATA} ${WRKSRC}/i18n/${lang}/LC_MESSAGES/glances.mo \
 		${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/
 .endfor

Modified: head/sysutils/py-glances/distinfo
==============================================================================
--- head/sysutils/py-glances/distinfo	Sat Apr 26 18:12:50 2014	(r352315)
+++ head/sysutils/py-glances/distinfo	Sat Apr 26 18:12:55 2014	(r352316)
@@ -1,2 +1,2 @@
-SHA256 (v1.7.5.tar.gz) = 1598d1c10f1d2b59ea8d90d5be899fd151b4af28640c6daae23258dc76f659fe
-SIZE (v1.7.5.tar.gz) = 591977
+SHA256 (v1.7.6.tar.gz) = 7d026bd6f0289e88a9acd3be813eb5288a2af2216bab7086a58bf560dc781279
+SIZE (v1.7.6.tar.gz) = 592197
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Po-Chuan Hsieh freebsd_committer freebsd_triage 2014-04-26 19:34:17 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!