openbsd-ports/net/toot/Makefile
sthen d7f0752227 bump all the py3 things, _SYSTEM_VERSION didn't quite work out how
we expected and it's easier|safer to do it this way than fiddle with
pkg_add now. thanks aja for update tests with a quick bulk.
2019-04-28 20:51:26 +00:00

38 lines
1003 B
Makefile

# $OpenBSD: Makefile,v 1.8 2019/04/28 20:51:46 sthen Exp $
COMMENT = interact with Mastodon social networks from the command line
MODPY_EGG_VERSION = 0.21.0
DISTNAME = toot-${MODPY_EGG_VERSION}
REVISION = 0
CATEGORIES = net
HOMEPAGE = https://github.com/ihabunek/toot
MAINTAINER = Klemens Nanni <kn@openbsd.org>
MASTER_SITES = https://github.com/ihabunek/toot/releases/download/${MODPY_EGG_VERSION}/
# GPLv3
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
RUN_DEPENDS = devel/py-future${MODPY_FLAVOR}>=0.16 \
devel/py-wcwidth${MODPY_FLAVOR}>=0.1.7,<2.0 \
www/py-beautifulsoup4${MODPY_FLAVOR}>=4.5.0,<5.0 \
www/py-requests${MODPY_FLAVOR}>=2.13,<3.0
TEST_DEPENDS = ${FULLPKGNAME}:${BUILD_PKGPATH} \
devel/py-test${MODPY_FLAVOR}>=3.0.0 \
devel/py-test-cov${MODPY_FLAVOR}>=2.4.0
MAKE_ENV = LC_CTYPE=C.UTF-8
do-test:
cd ${WRKSRC} && py.test${MODPY_BIN_SUFFIX} --cov=toot tests/
.include <bsd.port.mk>