Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Oct 2014 19:06:14 +0000 (UTC)
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r371156 - head/www/py-django-appmedia
Message-ID:  <201410181906.s9IJ6EKK004681@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Sat Oct 18 19:06:13 2014
New Revision: 371156
URL: https://svnweb.freebsd.org/changeset/ports/371156
QAT: https://qat.redports.org/buildarchive/r371156/

Log:
  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)

Modified:
  head/www/py-django-appmedia/Makefile
  head/www/py-django-appmedia/pkg-descr

Modified: head/www/py-django-appmedia/Makefile
==============================================================================
--- head/www/py-django-appmedia/Makefile	Sat Oct 18 19:04:10 2014	(r371155)
+++ head/www/py-django-appmedia/Makefile	Sat Oct 18 19:06:13 2014	(r371156)
@@ -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 withi
 
 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>

Modified: head/www/py-django-appmedia/pkg-descr
==============================================================================
--- head/www/py-django-appmedia/pkg-descr	Sat Oct 18 19:04:10 2014	(r371155)
+++ head/www/py-django-appmedia/pkg-descr	Sat Oct 18 19:06:13 2014	(r371156)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410181906.s9IJ6EKK004681>