net-mgmt/py-napalm-logs: Update to 0.9
* Switch to GitHub for a while to make use of the test suite. * Add a "do-test" target to make future QA easier. Changelog since 0.7: https://napalm-logs.com/en/latest/releases/0.9.0.html https://napalm-logs.com/en/latest/releases/0.8.0.html MFH: 2020Q2 (blanket: Fix runtime issues with Python 3.7)
This commit is contained in:
parent
0db9c603b2
commit
c42c38a01e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=531190
2 changed files with 11 additions and 7 deletions
|
@ -1,10 +1,8 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= napalm-logs
|
||||
DISTVERSION= 0.7.0
|
||||
PORTREVISION= 1
|
||||
DISTVERSION= 0.9.0
|
||||
CATEGORIES= net-mgmt python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= kai@FreeBSD.org
|
||||
|
@ -17,8 +15,11 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pynacl>0:security/py-pynacl@${PY_FLAVOR} \
|
|||
${PYTHON_PKGNAMEPREFIX}u-msgpack-python>0:devel/py-u-msgpack-python@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}prometheus-client>0:net-mgmt/py-prometheus-client@${PY_FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USES= python:-3.7
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= napalm-automation
|
||||
USE_PYTHON= distutils concurrent autoplist
|
||||
|
||||
NO_ARCH= yes
|
||||
|
@ -29,4 +30,7 @@ post-patch:
|
|||
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
|
||||
${WRKSRC}/napalm_logs/config/__init__.py
|
||||
|
||||
do-test:
|
||||
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -c /dev/null
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1541147625
|
||||
SHA256 (napalm-logs-0.7.0.tar.gz) = d6e7c0c0f88148a1ec41dfe1c5f31894ba0d3ca722f7bcacf7f8a2f4f0d24f28
|
||||
SIZE (napalm-logs-0.7.0.tar.gz) = 47728
|
||||
TIMESTAMP = 1585471862
|
||||
SHA256 (napalm-automation-napalm-logs-0.9.0_GH0.tar.gz) = d3946e2defe5acd7354023b3cd05ff7d149f95ca398ba088559fb1d11525dd99
|
||||
SIZE (napalm-automation-napalm-logs-0.9.0_GH0.tar.gz) = 845405
|
||||
|
|
Loading…
Reference in a new issue