mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
aeea74f55f
- Update PORTVERSION and distinfo checksum (2.10) - Switch MASTER_SITES to CHEESESHOP (PyPI) - Update RUN_DEPENDS - Mark architecture independent (NO_ARCH) - Patch setup.py/runtests.py so standard test methods work. Tox isn't required. - Modernize test target (do-test: setup.py.test) https://github.com/bartTC/dpaste/blob/v2.10/CHANGELOG
36 lines
888 B
Makefile
36 lines
888 B
Makefile
# 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 \
|
|
${PYTHON_PKGNAMEPREFIX}django-mptt>=0.8.3:www/py-django-mptt \
|
|
${PYTHON_PKGNAMEPREFIX}pygments>=1.6:textproc/py-pygments \
|
|
${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:www/py-requests
|
|
|
|
OPTIONS_DEFINE= MIGRATIONS
|
|
|
|
MIGRATIONS_DESC= Schema and data migration support (via south)
|
|
|
|
MIGRATIONS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}south>=0.8.2:databases/py-south
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
|
|
|
.include <bsd.port.mk>
|