FreeBSD Bugzilla – Attachment 147568 Details for
Bug 193843
[PATCH] sysutils/py-glances: update to 2.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Patch file
py-glances-2.1.shar (text/plain), 3.52 KB, created by
Gasol Wu
on 2014-09-22 18:49:07 UTC
(
hide
)
Description:
Patch file
Filename:
MIME Type:
Creator:
Gasol Wu
Created:
2014-09-22 18:49:07 UTC
Size:
3.52 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># py-glances ># py-glances/files ># py-glances/files/patch-setup.py ># py-glances/Makefile ># py-glances/distinfo ># py-glances/pkg-descr ># >echo c - py-glances >mkdir -p py-glances > /dev/null 2>&1 >echo c - py-glances/files >mkdir -p py-glances/files > /dev/null 2>&1 >echo x - py-glances/files/patch-setup.py >sed 's/^X//' >py-glances/files/patch-setup.py << 'a23543c127883ad0c9242e98247e418b' >X--- ./setup.py.orig 2014-06-16 10:56:37.000000000 +0800 >X+++ ./setup.py 2014-06-16 10:57:02.000000000 +0800 >X@@ -11,8 +11,7 @@ >X data_files = [ >X ('share/doc/glances', ['AUTHORS', 'COPYING', 'NEWS', 'README.rst', >X 'conf/glances.conf', 'docs/glances-doc.html']), >X- ('share/doc/glances/images', glob.glob('docs/images/*.png')), >X- ('share/man/man1', ['man/glances.1']) >X+ ('share/doc/glances/images', glob.glob('docs/images/*.png')) >X ] >X >X if hasattr(sys, 'real_prefix') or 'bsd' in sys.platform: >X@@ -23,10 +22,6 @@ >X conf_path = os.path.join('/usr/local', 'etc', 'glances') >X elif 'win32' in sys.platform: >X conf_path = os.path.join(os.environ.get('APPDATA'), 'glances') >X- data_files.append((conf_path, ['conf/glances.conf'])) >X- >X- for mo in glob.glob('i18n/*/LC_MESSAGES/*.mo'): >X- data_files.append((os.path.dirname(mo).replace('i18n/', 'share/locale/'), [mo])) >X >X return data_files >X >a23543c127883ad0c9242e98247e418b >echo x - py-glances/Makefile >sed 's/^X//' >py-glances/Makefile << '587fcf871278dcf15d68c8b765765f0d' >X# Created by: Gasol Wu <gasol.wu@gmail.com> >X# $FreeBSD: head/sysutils/py-glances/Makefile 358223 2014-06-18 07:39:35Z miwi $ >X >XPORTNAME= glances >XPORTVERSION= 2.1 >XCATEGORIES= sysutils python >XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >X >XMAINTAINER= gasol.wu@gmail.com >XCOMMENT= CLI curses based monitoring tool for GNU/Linux and BSD OS >X >XLICENSE= LGPL3 >X >XRUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>=2.1.1:${PORTSDIR}/sysutils/py-psutil >X >XOPTIONS_DEFINE= DOCS NLS >XOPTIONS_SUB= yes >X >XUSE_GITHUB= yes >XGH_ACCOUNT= nicolargo >XGH_TAGNAME= v${PORTVERSION} >XGH_COMMIT= 5e2dadb >X >XUSE_PYTHON= yes >XUSE_PYDISTUTILS=yes >XPYDISTUTILS_AUTOPLIST= yes >X >XPLIST_FILES= %%ETCDIR%%/glances.conf.sample \ >X man/man1/glances.1.gz \ >X %%NLS%%share/locale/de/LC_MESSAGES/glances.mo >XPLIST_DIRS= etc/glances >X >XNLS_USES= gettext >X >Xpost-install: >X @${MKDIR} ${STAGEDIR}${PREFIX}/etc/glances >X ${INSTALL_DATA} ${WRKSRC}/conf/glances.conf ${STAGEDIR}${PREFIX}/etc/glances/glances.conf.sample >X ${INSTALL_MAN} ${WRKSRC}/man/glances.1 ${STAGEDIR}${MANPREFIX}/man/man1/ >X ${INSTALL_DATA} ${WRKSRC}/i18n/de/LC_MESSAGES/glances.mo \ >X ${STAGEDIR}${PREFIX}/share/locale/de/LC_MESSAGES/ >X >X.include <bsd.port.mk> >587fcf871278dcf15d68c8b765765f0d >echo x - py-glances/distinfo >sed 's/^X//' >py-glances/distinfo << '7173f1246e66f60a6ddd8150ed00f6cb' >XSHA256 (glances-2.1.tar.gz) = 7b20021123b53e26696fa9f18edc27746139eb7b07f05a070a0368d8dfe16703 >XSIZE (glances-2.1.tar.gz) = 1779204 >7173f1246e66f60a6ddd8150ed00f6cb >echo x - py-glances/pkg-descr >sed 's/^X//' >py-glances/pkg-descr << 'ea7a2f5e507453fa13c37658c0091b74' >XGlances is a CLI curses based monitoring tool for GNU/Linux and BSD OS. >XUses the PsUtil library to get information from your system. >X >XWWW: http://nicolargo.github.com/glances/ >ea7a2f5e507453fa13c37658c0091b74 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 193843
:
147568
|
148215