From bf3f97a499f006fcf7863b3f39de92324948d3f6 Mon Sep 17 00:00:00 2001 From: Kubilay Kocak Date: Sun, 2 Feb 2014 10:05:42 +0000 Subject: [PATCH] [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" --- textproc/Makefile | 1 + textproc/py-pyscss/Makefile | 34 ++++++++++++++++++++++++++++++++++ textproc/py-pyscss/distinfo | 2 ++ textproc/py-pyscss/pkg-descr | 4 ++++ 4 files changed, 41 insertions(+) create mode 100644 textproc/py-pyscss/Makefile create mode 100644 textproc/py-pyscss/distinfo create mode 100644 textproc/py-pyscss/pkg-descr diff --git a/textproc/Makefile b/textproc/Makefile index 42c78e4f08ec..7b3ca6db81a1 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -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 diff --git a/textproc/py-pyscss/Makefile b/textproc/py-pyscss/Makefile new file mode 100644 index 000000000000..3f1007e4db80 --- /dev/null +++ b/textproc/py-pyscss/Makefile @@ -0,0 +1,34 @@ +# Created by: Ilya A. Arkhipov +# $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 diff --git a/textproc/py-pyscss/distinfo b/textproc/py-pyscss/distinfo new file mode 100644 index 000000000000..85557b39000c --- /dev/null +++ b/textproc/py-pyscss/distinfo @@ -0,0 +1,2 @@ +SHA256 (pyscss-1.2.0.tar.gz) = 0490325a50ad1e4d8defb6e8f422fa559a1c9f06b84048b2e4897a6e139d5c36 +SIZE (pyscss-1.2.0.tar.gz) = 281058 diff --git a/textproc/py-pyscss/pkg-descr b/textproc/py-pyscss/pkg-descr new file mode 100644 index 000000000000..91169a6bd336 --- /dev/null +++ b/textproc/py-pyscss/pkg-descr @@ -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