www/py-klein: New port: Micro-framework for developing production-ready web services

Klein is a micro-framework for developing production-ready web
services with Python. It is 'micro' in that it has an incredibly
small API similar to Bottle and Flask. It is not 'micro' in that
it depends on things outside the standard library. This is primarily
because it is built on widely used and well tested components like
Werkzeug and Twisted.

PR:		287125
Approved by:	acm (mentor)
This commit is contained in:
Jesús Daniel Colmenares Oviedo
2025-06-03 13:25:02 -04:00
parent ca3db06188
commit 2dd0ac538f
4 changed files with 41 additions and 0 deletions
+1
View File
@@ -1798,6 +1798,7 @@
SUBDIR += py-jh2
SUBDIR += py-jonpy
SUBDIR += py-kiss-headers
SUBDIR += py-klein
SUBDIR += py-laces
SUBDIR += py-legacy-cgi
SUBDIR += py-lektor
+31
View File
@@ -0,0 +1,31 @@
PORTNAME= klein
DISTVERSION= 24.8.0
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= dtxdf@FreeBSD.org
COMMENT= Micro-framework for developing production-ready web services
WWW= https://pypi.org/project/${PORTNAME} \
https://github.com/twisted/${PORTNAME}
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}incremental>=0:devel/py-incremental@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=0:devel/py-attrs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hyperlink>=0:www/py-hyperlink@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}incremental>=0:devel/py-incremental@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Tubes>=0:textproc/py-Tubes@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}werkzeug>=0:www/py-werkzeug@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}zope.interface>=0:devel/py-zope.interface@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes
.include <bsd.port.mk>
+3
View File
@@ -0,0 +1,3 @@
TIMESTAMP = 1748373054
SHA256 (klein-24.8.0.tar.gz) = 1eef4f583c4f8ef4fc57d8b57753fe6e8935501eb36497bb574064e80e3d0b15
SIZE (klein-24.8.0.tar.gz) = 104368
+6
View File
@@ -0,0 +1,6 @@
Klein is a micro-framework for developing production-ready web
services with Python. It is 'micro' in that it has an incredibly
small API similar to Bottle and Flask. It is not 'micro' in that
it depends on things outside the standard library. This is primarily
because it is built on widely used and well tested components like
Werkzeug and Twisted.