New port: www/py-django-js-asset: Insert script tags with additional attributes for django.forms.Media

While here, fixed minor sorting probems in www/Makefile.

PR:		227015
Submitted by:	Kai <freebsd_ports@k-worx.org>
This commit is contained in:
Yuri Victorovich 2018-03-27 22:13:15 +00:00
parent 19cc258e44
commit 591c20ec75
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=465768
4 changed files with 31 additions and 2 deletions

View file

@ -1582,6 +1582,7 @@
SUBDIR += py-django-haystack
SUBDIR += py-django-hijack
SUBDIR += py-django-htmlmin
SUBDIR += py-django-js-asset
SUBDIR += py-django-json-rpc
SUBDIR += py-django-jsonfield
SUBDIR += py-django-keyedcache
@ -2028,10 +2029,10 @@
SUBDIR += rubygem-haml-rails-rails4
SUBDIR += rubygem-haml4
SUBDIR += rubygem-hamlit
SUBDIR += rubygem-hamlit26
SUBDIR += rubygem-hamlit-rails
SUBDIR += rubygem-hamlit-rails-rails5
SUBDIR += rubygem-hamlit-rails-rails50
SUBDIR += rubygem-hamlit26
SUBDIR += rubygem-hashicorp-checkpoint
SUBDIR += rubygem-heroku
SUBDIR += rubygem-heroku-api
@ -2204,9 +2205,9 @@
SUBDIR += rubygem-uglifier27
SUBDIR += rubygem-underscore-rails
SUBDIR += rubygem-unicorn
SUBDIR += rubygem-unicorn51
SUBDIR += rubygem-unicorn-worker-killer
SUBDIR += rubygem-unicorn-worker-killer044
SUBDIR += rubygem-unicorn51
SUBDIR += rubygem-url_escape
SUBDIR += rubygem-url_mount
SUBDIR += rubygem-vegas

View file

@ -0,0 +1,21 @@
# $FreeBSD$
PORTNAME= django-js-asset
DISTVERSION= 1.0.0
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= freebsd_ports@k-worx.org
COMMENT= Insert script tags with additional attributes for django.forms.Media
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django>0:www/py-django@${FLAVOR}
USES= python
USE_PYTHON= distutils autoplist
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1522167059
SHA256 (django-js-asset-1.0.0.tar.gz) = 38fc1de7a93a2f667fe7ee34acc53d682bac5ce6c73ac6f0ecb4ff77d0f61f1b
SIZE (django-js-asset-1.0.0.tar.gz) = 4104

View file

@ -0,0 +1,4 @@
Insert script tags with additional attributes (such as "id" and "data" for
CSP-compatible data injection) for the django.forms.Media package.
WWW: https://github.com/matthiask/django-js-asset