aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2014-12-31 14:41:03 +0800
committerkoobs <koobs@FreeBSD.org>2014-12-31 14:41:03 +0800
commit874842d7cd700e62b36465559096940103225ba4 (patch)
tree2e4a3e3bc9b32c0f855a2e709aa9056dc117d64e /www
parentda7c990dbb881827dbcb80a4666c090fa0eb86fd (diff)
downloadfreebsd-ports-gnome-874842d7cd700e62b36465559096940103225ba4.tar.gz
freebsd-ports-gnome-874842d7cd700e62b36465559096940103225ba4.tar.zst
freebsd-ports-gnome-874842d7cd700e62b36465559096940103225ba4.zip
www/py-django_compressor: Update to 1.4
- Update to 1.4 - Update Python bits to USES / USE_PYTHON - Extend Python compatibility to 3.x - Add SLIMIT option - Switch BeautifulSoup dependency to 4.x - Update pkg-desc PR: 191387 Submitted by: Melvyn Sopacua <melvyn magemana nl> Approved by: maintainer timeout (4 months)
Diffstat (limited to 'www')
-rw-r--r--www/py-django_compressor/Makefile18
-rw-r--r--www/py-django_compressor/distinfo4
-rw-r--r--www/py-django_compressor/pkg-descr6
3 files changed, 14 insertions, 14 deletions
diff --git a/www/py-django_compressor/Makefile b/www/py-django_compressor/Makefile
index f76885929e56..a4b2a9c80a02 100644
--- a/www/py-django_compressor/Makefile
+++ b/www/py-django_compressor/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= django_compressor
-PORTVERSION= 1.1.2
-PORTREVISION= 1
+PORTVERSION= 1.4
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,17 +15,18 @@ LICENSE= MIT
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}versiontools>=1.8.2:${PORTSDIR}/devel/py-versiontools
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django-appconf>=0.4:${PORTSDIR}/www/py-django-appconf
-USE_PYTHON= 2
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= autoplist distutils
-OPTIONS_DEFINE= BEAUTIFULSOUP LXML HTML5LIB
+OPTIONS_DEFINE= BEAUTIFULSOUP LXML HTML5LIB SLIMIT
BEAUTIFULSOUP_DESC= Enable BeautifulSoupParser
LXML_DESC= Enable LxmlParser
HTML5LIB_DESC= Enable Html5LibParser
+SLIMIT_DESC= Enable SlimIt JavaScript filter
-BEAUTIFULSOUP_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/BeautifulSoup.py:${PORTSDIR}/www/py-beautifulsoup32
-LXML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml
-HTML5LIB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>0:${PORTSDIR}/www/py-html5lib
+BEAUTIFULSOUP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4:${PORTSDIR}/www/py-beautifulsoup
+LXML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml
+HTML5LIB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>0:${PORTSDIR}/www/py-html5lib
+SLIMIT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}slimit>=0.8.1:${PORTSDIR}/www/py-slimit
.include <bsd.port.mk>
diff --git a/www/py-django_compressor/distinfo b/www/py-django_compressor/distinfo
index 3b0772e74384..25fc80f5e820 100644
--- a/www/py-django_compressor/distinfo
+++ b/www/py-django_compressor/distinfo
@@ -1,2 +1,2 @@
-SHA256 (django_compressor-1.1.2.tar.gz) = d164a428248fd62af402920bead041fd9622e76bcade80ff6e782788e8aca0bc
-SIZE (django_compressor-1.1.2.tar.gz) = 59735
+SHA256 (django_compressor-1.4.tar.gz) = b26034230efcef7d60e5267890eda656dfc49c567f27125d907eee4fe7f9a6ec
+SIZE (django_compressor-1.4.tar.gz) = 106778
diff --git a/www/py-django_compressor/pkg-descr b/www/py-django_compressor/pkg-descr
index 23948d911362..e443ba420d32 100644
--- a/www/py-django_compressor/pkg-descr
+++ b/www/py-django_compressor/pkg-descr
@@ -1,5 +1,5 @@
-Django Compressor combines and compresses linked and
-inline Javascript or CSS in a Django templates into
-cacheable static files by using the compress template tag.
+Django Compressor combines and compresses linked and inline Javascript or
+CSS in a Django template into cacheable static files by using the compress
+template tag.
WWW: https://github.com/jezdez/django_compressor