www/py-kiss-headers: New port: Parser and serializer for http headers

This commit is contained in:
Yuri Victorovich 2023-01-29 00:35:16 -08:00
parent 0522565b99
commit cf1a4afe00
4 changed files with 38 additions and 0 deletions

View File

@ -1688,6 +1688,7 @@
SUBDIR += py-internetarchive
SUBDIR += py-jonpy
SUBDIR += py-jsonfield
SUBDIR += py-kiss-headers
SUBDIR += py-lektor
SUBDIR += py-lesscpy
SUBDIR += py-libsass

View File

@ -0,0 +1,19 @@
PORTNAME= kiss-headers
DISTVERSION= 2.3.1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Parser and serializer for http headers
WWW= https://ousret.github.io/kiss-headers/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python:3.6+
USE_PYTHON= distutils autoplist pytest
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1674980639
SHA256 (kiss-headers-2.3.1.tar.gz) = 86e80d58da2af71fdb7c3adfe57544442fd0595928a95f6e8a9d490aa6ea29aa
SIZE (kiss-headers-2.3.1.tar.gz) = 77846

View File

@ -0,0 +1,15 @@
kiss-headers is a basic library, small and concise to help get things done
regarding headers in a better way.
Features:
* A backwards-compatible syntax using bracket style.
* Capability to alter headers using simple, human-readable operator
notation + and -.
* Flexibility if headers are from an email or HTTP, use as you need with one
library.
* Ability to parse any object and extract recognized headers from it, it also
supports UTF-8 encoded headers.
* Fully type-annotated.
* Provide great auto-completion in Python interpreter or any capable IDE.
* No dependencies. And never will be.
* 90% test coverage.