summaryrefslogtreecommitdiff
path: root/chat/tootstream/Makefile
blob: 51391f1735b5c0a64842934459119860dca915f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $NetBSD: Makefile,v 1.12 2020/12/04 20:45:03 nia Exp $

DISTNAME=	tootstream-0.3.8.1
PKGREVISION=	1
CATEGORIES=	chat www
MASTER_SITES=	${MASTER_SITE_GITHUB:=magicalraccoon/}

MAINTAINER=	nia@NetBSD.org
HOMEPAGE=	https://github.com/magicalraccoon/tootstream
COMMENT=	Command line interface for interacting with Mastodon instances
LICENSE=	mit

EXTRACT_USING=	bsdtar
USE_LANGUAGES=	# none

# incompatible with python 2.
# strange locale errors on earlier versions of python 3, related
# to py-click.
PYTHON_VERSIONS_INCOMPATIBLE+=	27 36

DEPENDS+=	${PYPKGPREFIX}-click>=6.7:../../devel/py-click
DEPENDS+=	${PYPKGPREFIX}-colored>=1.3.93:../../textproc/py-colored
DEPENDS+=	${PYPKGPREFIX}-emoji>=0.4.5:../../converters/py-emoji
DEPENDS+=	${PYPKGPREFIX}-humanize>=0.5.1:../../textproc/py-humanize
DEPENDS+=	${PYPKGPREFIX}-mastodon>=1.5.0:../../chat/py-mastodon
DEPENDS+=	${PYPKGPREFIX}-readline-[0-9]*:../../devel/py-readline

.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"