1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

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)
This commit is contained in:
Kubilay Kocak 2014-12-31 06:41:03 +00:00
parent 23384aba46
commit 7f2f46eed2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=375871
3 changed files with 14 additions and 14 deletions

View File

@ -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>

View File

@ -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

View File

@ -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