1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/net-im/toot/Makefile
Mateusz Piotrowski c5b4143a39 net-im/toot: Update to 0.19.0
Changelog:

- 0.18.0: https://github.com/ihabunek/toot/releases/tag/0.18.0
  - Add support for public, tag and list timelines in toot timeline
  - Add --sensitive and --spoiler-text options to toot post
  - Curses app improvements:
    - Respect sensitive content, require keypress to show
    - Add help modal (press h)
    - Misc rendering improvements

- 0.19.0: https://github.com/ihabunek/toot/releases/tag/0.19.0
  - Add support for replying to a toot
  - Add toot delete command for deleting a toot
  - Add global --quiet flag to silence output
  - Make toot login provide browser login, and toot login_cli log in via
    console. This makes it clear what's the preferred option.
  - Use Idempotency-Key header to prevent multiple toots being posted if
    request is retried
  - Fix a bug where all media would be marked as sensitive

Reviewed by:	krion (mentor)
Approved by:	krion (mentor)
Differential Revision:	https://reviews.freebsd.org/D16826
2018-08-22 09:57:00 +00:00

44 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= toot
DISTVERSION= 0.19.0
CATEGORIES= net-im python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= 0mp@FreeBSD.org
COMMENT= Interact with the Mastodon social network from the command line
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}
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}
USES= python:3.3+
USE_PYTHON= autoplist distutils
USE_GITHUB= yes
GH_ACCOUNT= ihabunek
NO_ARCH= yes
OPTIONS_DEFINE= DOCS
PORTDOCS= CHANGELOG.md README.rst
MAKE_ENV= PATH+=${STAGEDIR}${PREFIX}/bin
TEST_TARGET= coverage
pre-test:
@${REINPLACE_CMD} -e 's|py.test |py.test-${PYTHON_VER} |' ${WRKSRC}/Makefile
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/CHANGELOG.md ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>