aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-django-dpaste/Makefile
blob: 1596c5453c63e6cccdbb4c3a7c452db0a92a3f9e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$

PORTNAME=   dpaste
PORTVERSION=    2.10
CATEGORIES= www python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}django-

MAINTAINER= koobs@FreeBSD.org
COMMENT=    Django based pastebin

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE

RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:www/py-django18@${FLAVOR} \
        ${PYTHON_PKGNAMEPREFIX}django-mptt>=0.8.3:www/py-django-mptt@${FLAVOR} \
        ${PYTHON_PKGNAMEPREFIX}pygments>=1.6:textproc/py-pygments@${FLAVOR} \
        ${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:www/py-requests@${FLAVOR}

OPTIONS_DEFINE=     MIGRATIONS

MIGRATIONS_DESC=    Schema and data migration support (via south)

MIGRATIONS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}south>=0.8.2:databases/py-south@${FLAVOR}

USES=       python
USE_PYTHON= autoplist distutils

NO_ARCH=    yes

do-test:
    @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test

.include <bsd.port.mk>