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:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1748373054
|
||||
SHA256 (klein-24.8.0.tar.gz) = 1eef4f583c4f8ef4fc57d8b57753fe6e8935501eb36497bb574064e80e3d0b15
|
||||
SIZE (klein-24.8.0.tar.gz) = 104368
|
||||
@@ -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.
|
||||
Reference in New Issue
Block a user