aboutsummaryrefslogtreecommitdiffstats
path: root/comms/py-xmodem/Makefile
blob: c3fbd6ab16dd52ea07c38fa995234fabc36fbbfe (plain) (blame)
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
30
31
# $FreeBSD$

PORTNAME=   xmodem
DISTVERSION=    0.4.5
CATEGORIES= comms python
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= loader@FreeBSD.org
COMMENT=    XMODEM protocol implementation

LICENSE=    MIT

TEST_DEPENDS=   ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
        ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
        ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR} \
        lrz:comms/lrzsz

USES=       python
USE_GITHUB= yes
USE_PYTHON= autoplist concurrent distutils

GH_ACCOUNT= tehmaze
NO_ARCH=    yes

post-patch:
    @${REINPLACE_CMD} -e "s|'doc'|'${DOCSDIR}'|" ${WRKSRC}/setup.py

do-test:
    @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest

.include <bsd.port.mk>