freebsd-ports/devel/py-mongoengine/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

26 lines
646 B
Makefile

# Created by: Mirko Zinn <mail@derzinn.de>
# $FreeBSD$
PORTNAME= mongoengine
PORTVERSION= 0.10.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wg@FreeBSD.org
COMMENT= Object-Document-Mapper for working with MongoDB
LICENSE= MIT
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}rednose>0:devel/py-rednose@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pymongo>=2.7:databases/pymongo@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils
# bson is provided by pymongo
post-patch:
@${RM} -r ${WRKSRC}/bson
.include <bsd.port.mk>