FreeBSD Bugzilla – Attachment 145231 Details for
Bug 191386
[NEW] www/py-slimit: A javascript minifier
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Final submission, incorporating feedback and hooking in tests
add-py-slimit-0.8.1.patch (text/plain), 2.75 KB, created by
Melvyn Sopacua
on 2014-08-01 20:46:09 UTC
(
hide
)
Description:
Final submission, incorporating feedback and hooking in tests
Filename:
MIME Type:
Creator:
Melvyn Sopacua
Created:
2014-08-01 20:46:09 UTC
Size:
2.75 KB
patch
obsolete
>diff -r f4bbfda9a89a -r 0567725a4952 www/Makefile >--- a/www/Makefile Wed Jun 25 00:23:40 2014 +0200 >+++ b/www/Makefile Wed Jun 25 07:19:50 2014 +0200 >@@ -1690,6 +1690,7 @@ > SUBDIR += py-selector > SUBDIR += py-selenium > SUBDIR += py-slimmer >+ SUBDIR += py-slimit > SUBDIR += py-slumber > SUBDIR += py-splinter > SUBDIR += py-surl >diff -r 6dcfa7fa1df4 -r 17941224f724 www/py-slimit/Makefile >--- /dev/null Thu Jan 01 00:00:00 1970 +0000 >+++ b/www/py-slimit/Makefile Fri Aug 01 21:45:41 2014 +0200 >@@ -0,0 +1,36 @@ >+# $FreeBSD$ >+ >+PORTNAME= slimit >+PORTVERSION= 0.8.1 >+CATEGORIES= www python >+MASTER_SITES= CHEESESHOP >+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >+ >+MAINTAINER= melvyn@magemana.nl >+COMMENT= JavaScript minifier written in Python >+ >+LICENSE= BSD3CLAUSE >+ >+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>=3.4:${PORTSDIR}/devel/py-ply >+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>=3.4:${PORTSDIR}/devel/py-ply >+ >+USES= zip >+USE_PYTHON= 2 >+USE_PYDISTUTILS= yes >+PYDISTUTILS_AUTOPLIST= yes >+ >+regression-test: build >+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test >+ >+# Reminder to keep testing python 3.x compatibility. >+.ifdef MAINTAINER_MODE >+. include <bsd.port.pre.mk> >+. if ${PYTHON_REL} >= 3 >+BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}six:${PORTSDIR}/devel/py-six >+pre-build: >+ @cd ${WRKSRC} && 2to3-${PYTHON_VER} -w src >+. endif # Python 3 >+. include <bsd.port.post.mk> >+.else # MAINTAINER_MODE >+.include <bsd.port.mk> >+.endif >diff -r 6dcfa7fa1df4 -r 17941224f724 www/py-slimit/distinfo >--- /dev/null Thu Jan 01 00:00:00 1970 +0000 >+++ b/www/py-slimit/distinfo Fri Aug 01 21:45:41 2014 +0200 >@@ -0,0 +1,2 @@ >+SHA256 (slimit-0.8.1.zip) = f433dcef899f166b207b67d91d3f7344659cb33b8259818f084167244e17720b >+SIZE (slimit-0.8.1.zip) = 88217 >diff -r 6dcfa7fa1df4 -r 17941224f724 www/py-slimit/files/patch-setup.py >--- /dev/null Thu Jan 01 00:00:00 1970 +0000 >+++ b/www/py-slimit/files/patch-setup.py Fri Aug 01 21:45:41 2014 +0200 >@@ -0,0 +1,11 @@ >+--- setup.py.orig 2013-03-26 09:09:32.000000000 +0100 >++++ setup.py 2014-08-01 21:18:22.838964037 +0200 >+@@ -52,6 +52,7 @@ >+ """, >+ classifiers=filter(None, classifiers.split('\n')), >+ long_description=read('README.rst') + '\n\n' + read('CHANGES'), >+- extras_require={'test': []} >++ extras_require={'test': []}, >++ test_suite='slimit.tests', >+ ) >+ >diff -r 6dcfa7fa1df4 -r 17941224f724 www/py-slimit/pkg-descr >--- /dev/null Thu Jan 01 00:00:00 1970 +0000 >+++ b/www/py-slimit/pkg-descr Fri Aug 01 21:45:41 2014 +0200 >@@ -0,0 +1,7 @@ >+SlimIt is a JavaScript minifier written in Python. It compiles >+JavaScript into more compact code so that it downloads and runs faster. >+ >+SlimIt also provides a library that includes a JavaScript parser, lexer, >+pretty printer and a tree visitor. >+ >+WWW: http://slimit.readthedocs.org
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
m.r.sopacua
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 191386
:
144137
|
144171
| 145231