bbae5a89a4
* Remove obsolete info from pkg-descr while I'm here. Changelog: https://www.django-rest-framework.org/community/release-notes/#3122
27 lines
629 B
Makefile
27 lines
629 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= djangorestframework
|
|
PORTVERSION= 3.12.2
|
|
PORTEPOCH= 1
|
|
CATEGORIES= www python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= kai@FreeBSD.org
|
|
COMMENT= Django REST framework
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=2.2:www/py-django22@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${PY_FLAVOR}
|
|
|
|
USES= python:3.5+
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}djangorestframework3* \
|
|
${PYTHON_PKGNAMEPREFIX}dj31-djangorestframework
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|