Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 2019 06:40:23 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r519973 - in head/textproc: . py-tinycss2
Message-ID:  <201912130640.xBD6eNiR002189@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Dec 13 06:40:23 2019
New Revision: 519973
URL: https://svnweb.freebsd.org/changeset/ports/519973

Log:
  Add py-tinycss2 1.0.2
  
  tinycss2 is a low-level CSS parser and generator: it can parse strings, return
  Python objects representing tokens and blocks, and generate CSS strings
  corresponding to these objects.
  
  Based on the CSS Syntax Level 3 specification, tinycss2 knows the grammar of CSS
  but doesn't know specific rules, properties or values supported in various CSS
  modules.
  
  WWW: https://github.com/Kozea/tinycss2

Added:
  head/textproc/py-tinycss2/
  head/textproc/py-tinycss2/Makefile   (contents, props changed)
  head/textproc/py-tinycss2/distinfo   (contents, props changed)
  head/textproc/py-tinycss2/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Fri Dec 13 06:40:17 2019	(r519972)
+++ head/textproc/Makefile	Fri Dec 13 06:40:23 2019	(r519973)
@@ -1402,6 +1402,7 @@
     SUBDIR += py-textfsm
     SUBDIR += py-texttable
     SUBDIR += py-tinycss
+    SUBDIR += py-tinycss2
     SUBDIR += py-toml
     SUBDIR += py-toronado
     SUBDIR += py-towncrier

Added: head/textproc/py-tinycss2/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-tinycss2/Makefile	Fri Dec 13 06:40:23 2019	(r519973)
@@ -0,0 +1,27 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	tinycss2
+PORTVERSION=	1.0.2
+CATEGORIES=	textproc python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Low-level CSS parser for Python
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}webencodings>=0.4:converters/py-webencodings@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-isort>=0:devel/py-pytest-isort@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-flake8>=0:devel/py-pytest-flake8@${PY_FLAVOR}
+
+USES=		python:3.5+
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/textproc/py-tinycss2/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-tinycss2/distinfo	Fri Dec 13 06:40:23 2019	(r519973)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1576164450
+SHA256 (tinycss2-1.0.2.tar.gz) = 6427d0e3faa0a5e0e8c9f6437e2de26148a7a197a8b0992789f23d9a802788cf
+SIZE (tinycss2-1.0.2.tar.gz) = 57728

Added: head/textproc/py-tinycss2/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-tinycss2/pkg-descr	Fri Dec 13 06:40:23 2019	(r519973)
@@ -0,0 +1,9 @@
+tinycss2 is a low-level CSS parser and generator: it can parse strings, return
+Python objects representing tokens and blocks, and generate CSS strings
+corresponding to these objects.
+
+Based on the CSS Syntax Level 3 specification, tinycss2 knows the grammar of CSS
+but doesn't know specific rules, properties or values supported in various CSS
+modules.
+
+WWW: https://github.com/Kozea/tinycss2



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912130640.xBD6eNiR002189>