mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -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
|
PORTVERSION= 1.0.1
|
||||||
PORTREVISION= 1
|
PORTREVISION= 1
|
||||||
CATEGORIES= www python
|
CATEGORIES= www python
|
||||||
MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
|
MASTER_SITES= CHEESESHOP
|
||||||
MASTER_SITE_SUBDIR= source/d/${PORTNAME}
|
|
||||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
|
|
||||||
MAINTAINER= kurt.lidl@cello.com
|
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
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:${PORTSDIR}/www/py-django
|
||||||
|
|
||||||
USE_PYTHON= yes
|
USES= python:2
|
||||||
USE_PYDISTUTILS= yes
|
USE_PYTHON= autoplist distutils
|
||||||
PYDISTUTILS_AUTOPLIST= yes
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue