diff options
author | rm <rm@FreeBSD.org> | 2014-10-18 19:06:13 +0000 |
---|---|---|
committer | rm <rm@FreeBSD.org> | 2014-10-18 19:06:13 +0000 |
commit | 72faf1c6e3ed13eed1023824f2e53078086e0674 (patch) | |
tree | 1522322aeb528b250bb11b1a8d0b794f8d1da242 | |
parent | 5c44940eb9926fd998da17ee974867181a0f5b47 (diff) | |
download | FreeBSD-ports-72faf1c6e3ed13eed1023824f2e53078086e0674.zip FreeBSD-ports-72faf1c6e3ed13eed1023824f2e53078086e0674.tar.gz |
www/py-django-appmedia: convert to USES=python
- convert to USES=python
- limit python version to 2.x:
"""
File "/usr/local/lib/python3.4/site-packages/appmedia/views.py", line 67
print osp.join(media_dir, path)
^
SyntaxError: invalid syntax
"""
Approved by: portmgr (blanket)
-rw-r--r-- | www/py-django-appmedia/Makefile | 8 | ||||
-rw-r--r-- | www/py-django-appmedia/pkg-descr | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/www/py-django-appmedia/Makefile b/www/py-django-appmedia/Makefile index 703841b..c6d5f01 100644 --- a/www/py-django-appmedia/Makefile +++ b/www/py-django-appmedia/Makefile @@ -5,8 +5,7 @@ PORTNAME= django-appmedia PORTVERSION= 1.0.1 PORTREVISION= 1 CATEGORIES= www python -MASTER_SITES= ${MASTER_SITE_CHEESESHOP} -MASTER_SITE_SUBDIR= source/d/${PORTNAME} +MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kurt.lidl@cello.com @@ -14,8 +13,7 @@ COMMENT= Serve static content from within django app directories RUN_DEPENDS= ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:${PORTSDIR}/www/py-django -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python:2 +USE_PYTHON= autoplist distutils .include <bsd.port.mk> diff --git a/www/py-django-appmedia/pkg-descr b/www/py-django-appmedia/pkg-descr index 9e99e9a..cbea529 100644 --- a/www/py-django-appmedia/pkg-descr +++ b/www/py-django-appmedia/pkg-descr @@ -1,3 +1,3 @@ Support for serving static media from within django app directories -WWW: http://github.com/divio/django-appmedia +WWW: http://github.com/divio/django-appmedia |