1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/comms/py-xmodem/Makefile
Fukang Chen 20695b64ab [NEW PORT]: comms/py-xmodem: XMODEM protocol implementation
Python XMODEM protocol implementation

This is a literal implementation of XMODEM.TXT, XMODEM1K.TXT and
XMODMCRC.TXT, support for YMODEM and ZMODEM is pending. YMODEM should
be fairly easy to implement as it is a hack on top of the XMODEM
protocol using sequence bytes ``0x00`` for sending file names (and some
meta data).

WWW: https://github.com/tehmaze/xmodem

Reviewed by:	koobs
Approved by:	koobs (mentor)
Differential Revision:	https://reviews.freebsd.org/D18626
2018-12-22 05:27:32 +00:00

32 lines
716 B
Makefile

# $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>