net-im/toot: Update to 0.21.0

- Add new runtime dependencies
- Add more toot tests to the makefile
- Changelogs:
  - https://github.com/ihabunek/toot/releases/tag/0.20.0
  - https://github.com/ihabunek/toot/releases/tag/0.21.0

Reviewed by:	krion
Approved by:	krion (mentor)
Differential Revision:	https://reviews.freebsd.org/D19377
This commit is contained in:
Mateusz Piotrowski 2019-02-27 09:36:25 +00:00
parent e99ed03273
commit 129fcd6d8c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=494038
2 changed files with 8 additions and 6 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= toot
DISTVERSION= 0.19.0
DISTVERSION= 0.21.0
CATEGORIES= net-im python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -12,7 +12,8 @@ LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.5.0:www/py-beautifulsoup@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.13:www/py-requests@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}requests>=2.13:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wcwidth>=0.1.7:devel/py-wcwidth@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.5.0:www/py-beautifulsoup@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-cov>=2.4.0:devel/py-pytest-cov@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>=3.0.0:devel/py-pytest@${PY_FLAVOR}
@ -30,10 +31,11 @@ OPTIONS_DEFINE= DOCS
PORTDOCS= CHANGELOG.md README.rst
MAKE_ENV= PATH+=${STAGEDIR}${PREFIX}/bin
TEST_TARGET= coverage
TEST_TARGET= coverage test
pre-test:
@${REINPLACE_CMD} -e 's|py.test |py.test-${PYTHON_VER} |' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|pytest |pytest-${PYTHON_VER} |' ${WRKSRC}/Makefile
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1534367575
SHA256 (ihabunek-toot-0.19.0_GH0.tar.gz) = 90d76442a85a6597edfa3dc5edaf5a506fc5912577381f67ffecc092e64bafdf
SIZE (ihabunek-toot-0.19.0_GH0.tar.gz) = 151092
TIMESTAMP = 1551131323
SHA256 (ihabunek-toot-0.21.0_GH0.tar.gz) = 23f66db6535b71e03c33a6b5499125302963a6c6f567233eeeb0559bb7232697
SIZE (ihabunek-toot-0.21.0_GH0.tar.gz) = 181838