opnsense-ports/devel/py-pystorm/Makefile
Franco Fichtner 5505c49780 */*: sync with upstream
Taken from: HardenedBSD
2018-06-21 08:02:46 +02:00

30 lines
819 B
Makefile

# Created by: Mark Felder <feld@FreeBSD.org>
# $FreeBSD$
PORTNAME= pystorm
PORTVERSION= 3.1.0
PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= feld@FreeBSD.org
COMMENT= Battle-tested Apache Storm Multi-Lang implementation for Python
LICENSE= APACHE20
USES= python:2.7
USE_PYTHON= autoplist distutils
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}simplejson>0:devel/py-simplejson@${PY_FLAVOR}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}msgpack>0:devel/py-msgpack@${PY_FLAVOR}
NO_ARCH= yes
REINPLACE_ARGS= -i ''
post-patch:
${RM} ${WRKSRC}/test/__init__.py
@${REINPLACE_CMD} -e 's|msgpack-python|msgpack|' ${WRKSRC}/setup.py ${WRKSRC}/pystorm.egg-info/requires.txt
.include <bsd.port.mk>