freebsd-ports/www/py-django-tastypie/Makefile
Martin Wilke 0004cc0c2e - Switch forgotten ports over to py-django18
- Fix PYTHON_PKGNAMEPREFIX

Reported by:    antoinebot
2016-01-16 11:19:09 +00:00

29 lines
712 B
Makefile

# Created by: William Grzybowski <william88@gmail.com>
# $FreeBSD$
PORTNAME= django-tastypie
PORTVERSION= 0.12.1
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wg@FreeBSD.org
COMMENT= Create REST API for Django apps
LICENSE= BSD3CLAUSE
MY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mimeparse>=0.1.4:${PORTSDIR}/devel/py-mimeparse \
${PYTHON_PKGNAMEPREFIX}dateutil>=2.1:${PORTSDIR}/devel/py-dateutil
BUILD_DEPENDS= ${MY_DEPENDS}
RUN_DEPENDS?= ${MY_DEPENDS} \
${PYTHON_PKGNAMEPREFIX}django18>=1.5:${PORTSDIR}/www/py-django18
USES= python
USE_PYTHON= distutils autoplist
CONFLICTS_INSTALL= ${PKGNAMEPREFIX}${PORTNAME}16
.include <bsd.port.mk>