sysutils/py-glances: Update version 3.1.3=>3.1.4
- Add TEST_DEPENDS and test framework - Update support for python upto 3.6 - Make use of ETCDIR PR: 244983 Approved by: gasol.wu@gmail.com (MAINTAINER)
This commit is contained in:
parent
06d85c9843
commit
c8fffbdc46
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=536654
@ -2,7 +2,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= glances
|
PORTNAME= glances
|
||||||
PORTVERSION= 3.1.3
|
PORTVERSION= 3.1.4
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
CATEGORIES= sysutils python
|
CATEGORIES= sysutils python
|
||||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
@ -15,9 +15,10 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
|||||||
|
|
||||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>=5.3.0:sysutils/py-psutil@${PY_FLAVOR} \
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>=5.3.0:sysutils/py-psutil@${PY_FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}future>=0.15.2:devel/py-future@${PY_FLAVOR}
|
${PYTHON_PKGNAMEPREFIX}future>=0.15.2:devel/py-future@${PY_FLAVOR}
|
||||||
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0.15.2:devel/py-coverage@${PY_FLAVOR}
|
||||||
|
|
||||||
USES= python
|
USES= python:-3.6
|
||||||
USE_PYTHON= autoplist distutils
|
USE_PYTHON= autoplist concurrent distutils
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
|
|
||||||
OPTIONS_DEFINE= DOCS
|
OPTIONS_DEFINE= DOCS
|
||||||
@ -31,8 +32,11 @@ PLIST_FILES= ${ETCDIR}/glances.conf.sample \
|
|||||||
man/man1/glances.1.gz
|
man/man1/glances.1.gz
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/glances
|
@${MKDIR} ${STAGEDIR}${ETCDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/conf/glances.conf ${STAGEDIR}${PREFIX}/etc/glances/glances.conf.sample
|
${INSTALL_DATA} ${WRKSRC}/conf/glances.conf ${STAGEDIR}${ETCDIR}/glances.conf.sample
|
||||||
${INSTALL_MAN} ${WRKSRC}/docs/man/glances.1 ${STAGEDIR}${MANPREFIX}/man/man1/
|
${INSTALL_MAN} ${WRKSRC}/docs/man/glances.1 ${STAGEDIR}${MANPREFIX}/man/man1/
|
||||||
|
|
||||||
|
do-test:
|
||||||
|
@(cd ${WRKSRC} && ${SETENV} coverage-${PYTHON_VER} run --source=glances unitest.py)
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
TIMESTAMP = 1571070873
|
TIMESTAMP = 1584897349
|
||||||
SHA256 (nicolargo-glances-v3.1.3_GH0.tar.gz) = e3e8f9362b82c74427522e82501b47696945251035b35282f9ee4bc533996220
|
SHA256 (nicolargo-glances-v3.1.4_GH0.tar.gz) = bf5ec080b824f724bc2a5a42b6e2dbe9eba3effd60d50f2cf39af7e9bf18f6b7
|
||||||
SIZE (nicolargo-glances-v3.1.3_GH0.tar.gz) = 6759527
|
SIZE (nicolargo-glances-v3.1.4_GH0.tar.gz) = 6770502
|
||||||
|
Loading…
Reference in New Issue
Block a user