svn commit: r519973 - in head/textproc: . py-tinycss2
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri Dec 13 06:40:24 UTC 2019
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 at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= tinycss2
+PORTVERSION= 1.0.2
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet at 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
More information about the svn-ports-all
mailing list