mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04: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:
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
|
@ -2,8 +2,7 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= django_compressor
|
PORTNAME= django_compressor
|
||||||
PORTVERSION= 1.1.2
|
PORTVERSION= 1.4
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= www python
|
CATEGORIES= www python
|
||||||
MASTER_SITES= CHEESESHOP
|
MASTER_SITES= CHEESESHOP
|
||||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
|
@ -16,17 +15,18 @@ LICENSE= MIT
|
||||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}versiontools>=1.8.2:${PORTSDIR}/devel/py-versiontools
|
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
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django-appconf>=0.4:${PORTSDIR}/www/py-django-appconf
|
||||||
|
|
||||||
USE_PYTHON= 2
|
USES= python
|
||||||
USE_PYDISTUTILS= yes
|
USE_PYTHON= autoplist distutils
|
||||||
PYDISTUTILS_AUTOPLIST= yes
|
|
||||||
|
|
||||||
OPTIONS_DEFINE= BEAUTIFULSOUP LXML HTML5LIB
|
OPTIONS_DEFINE= BEAUTIFULSOUP LXML HTML5LIB SLIMIT
|
||||||
BEAUTIFULSOUP_DESC= Enable BeautifulSoupParser
|
BEAUTIFULSOUP_DESC= Enable BeautifulSoupParser
|
||||||
LXML_DESC= Enable LxmlParser
|
LXML_DESC= Enable LxmlParser
|
||||||
HTML5LIB_DESC= Enable Html5LibParser
|
HTML5LIB_DESC= Enable Html5LibParser
|
||||||
|
SLIMIT_DESC= Enable SlimIt JavaScript filter
|
||||||
|
|
||||||
BEAUTIFULSOUP_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/BeautifulSoup.py:${PORTSDIR}/www/py-beautifulsoup32
|
BEAUTIFULSOUP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4:${PORTSDIR}/www/py-beautifulsoup
|
||||||
LXML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml
|
LXML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml
|
||||||
HTML5LIB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>0:${PORTSDIR}/www/py-html5lib
|
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>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
SHA256 (django_compressor-1.1.2.tar.gz) = d164a428248fd62af402920bead041fd9622e76bcade80ff6e782788e8aca0bc
|
SHA256 (django_compressor-1.4.tar.gz) = b26034230efcef7d60e5267890eda656dfc49c567f27125d907eee4fe7f9a6ec
|
||||||
SIZE (django_compressor-1.1.2.tar.gz) = 59735
|
SIZE (django_compressor-1.4.tar.gz) = 106778
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
Django Compressor combines and compresses linked and
|
Django Compressor combines and compresses linked and inline Javascript or
|
||||||
inline Javascript or CSS in a Django templates into
|
CSS in a Django template into cacheable static files by using the compress
|
||||||
cacheable static files by using the compress template tag.
|
template tag.
|
||||||
|
|
||||||
WWW: https://github.com/jezdez/django_compressor
|
WWW: https://github.com/jezdez/django_compressor
|
||||||
|
|
Loading…
Add table
Reference in a new issue