New port pyScss: pyScss is a compiler for SCSS flavor of the Sass language, a superset of CSS3 that adds programming capabilities and some other syntactic sugar. Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->koobs I'll take it.
Author: koobs Date: Sun Feb 2 10:05:42 2014 New Revision: 342259 URL: http://svnweb.freebsd.org/changeset/ports/342259 QAT: https://qat.redports.org/buildarchive/r342259/ Log: [NEW PORT] textproc/py-scss: Compiler for SCSS flavor of the Sass language pyScss is a compiler for SCSS flavor of the Sass language, a superset of CSS3 that adds programming capabilities and some other syntactic sugar. WWW: https://github.com/Kronuz/pyScss PR: ports/186268 Submitted by: "Ilya A. Arkhipov" <rum1cro@yandex.ru> Added: head/textproc/py-pyscss/ head/textproc/py-pyscss/Makefile (contents, props changed) head/textproc/py-pyscss/distinfo (contents, props changed) head/textproc/py-pyscss/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Sun Feb 2 09:51:17 2014 (r342258) +++ head/textproc/Makefile Sun Feb 2 10:05:42 2014 (r342259) @@ -1178,6 +1178,7 @@ SUBDIR += py-pyctpp2 SUBDIR += py-pyelasticsearch SUBDIR += py-pygments + SUBDIR += py-pyscss SUBDIR += py-pysrt SUBDIR += py-pystache SUBDIR += py-pyx12 Added: head/textproc/py-pyscss/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-pyscss/Makefile Sun Feb 2 10:05:42 2014 (r342259) @@ -0,0 +1,34 @@ +# Created by: Ilya A. Arkhipov <rum1cro@yandex.ru> +# $FreeBSD$ + +PORTNAME= pyscss +PORTVERSION= 1.2.0 +CATEGORIES= textproc python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= rum1cro@yandex.ru +COMMENT= Compiler for SCSS flavor of the Sass language + +LICENSE= MIT + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six +LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest + +USE_GITHUB= yes +GH_ACCOUNT= Kronuz +GH_COMMIT= 2c10593 +GH_PROJECT= pyScss +GH_TAGNAME= v${PORTVERSION} + +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +USE_PYTHON= yes +USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes + +regression-test: build + @cd ${WRKSRC} && py.test + +.include <bsd.port.mk> Added: head/textproc/py-pyscss/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-pyscss/distinfo Sun Feb 2 10:05:42 2014 (r342259) @@ -0,0 +1,2 @@ +SHA256 (pyscss-1.2.0.tar.gz) = 0490325a50ad1e4d8defb6e8f422fa559a1c9f06b84048b2e4897a6e139d5c36 +SIZE (pyscss-1.2.0.tar.gz) = 281058 Added: head/textproc/py-pyscss/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-pyscss/pkg-descr Sun Feb 2 10:05:42 2014 (r342259) @@ -0,0 +1,4 @@ +pyScss is a compiler for SCSS flavor of the Sass language, a superset of CSS3 +that adds programming capabilities and some other syntactic sugar. + +WWW: https://github.com/Kronuz/pyScss _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Thanks you for your submission Ilya. I've committed the port with the following review items & changes: - Match PORTNAME to upstream name whenever possible - Use PYTHON_PKGNAMEPREFIX to prefix the PORTNAME - Add python as a second category for python ports - No need to mention software name in COMMENT - Use new convention for LIB_DEPENDS (libfoo.so) - Prefer named GitHub repo tags over commit hashes for GH_TAGNAME - Double empty lines in pkg-descr - setup.py says "six" is install_requires. This is a BUILD_DEPENDS Other: setup.py mentions that C extension speedups is optional. An OPTION for this would be nice, whether or not its OPTIONS_DEFAULT. I couldn't get the unit tests to pass with nosetests or py.test (which pyScss requires but does not document). It looks like some of the tests require PIL that arent skipped (but instead fail) when PIL is not installed. [1] [1] 8 failed, 207 passed, 271 skipped, 3 xfailed in 1.91 seconds I've added TEST_DEPENDS and a basic regression-test target to make QA easier for you and other users. It might need some tweaking. If you haven't already, I also recommend creating an account at http://redports.org (ask decke@#redports on IRC to enable it) which makes it very easy to automatically test your future submissions across multiple FreeBSD versions (You can include the redports build URL in your PR's too) Don't hesitate to jump on IRC at #freebsd-python on freenode if you have questions or need help.
State Changed From-To: open->closed New port added, with changes. Thanks Ilya!