mirror of
https://git.freebsd.org/ports.git
synced 2025-07-16 16:59:17 -04:00
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)
This commit is contained in:
parent
f1661b0973
commit
4aa7926978
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=371156
2 changed files with 4 additions and 6 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue