freebsd-ports/net/py-amqp/Makefile
Sunpoet Po-Chuan Hsieh 9453739cb8 Update to 2.4.1
- Fix LICENSE
- Add LICENSE_FILE
- Add NO_ARCH

Changes:	https://github.com/celery/py-amqp/blob/master/Changelog
PR:		236277
Submitted by:	sunpoet (myself)
Approved by:	maintainer (timeout, 16 days)
2019-03-21 19:41:54 +00:00

29 lines
771 B
Makefile

# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= amqp
PORTVERSION= 2.4.1
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Low-level AMQP client for Python (fork of amqplib)
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}vine>0:devel/py-vine@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes
do-test:
@cd ${WRKSRC}/funtests && ${SETENV} PYTHONPATH=../ ${PYTHON_CMD} run_all.py
.include <bsd.port.mk>