1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

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
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-12-13 06:40:23 +00:00
parent 839c82b7ec
commit fe463af2ec
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=519973
4 changed files with 40 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1576164450
SHA256 (tinycss2-1.0.2.tar.gz) = 6427d0e3faa0a5e0e8c9f6437e2de26148a7a197a8b0992789f23d9a802788cf
SIZE (tinycss2-1.0.2.tar.gz) = 57728

View File

@ -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