2017-04-16 02:05:48 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.29 2017/04/16 02:05:48 danj Exp $
|
Import of Werkzeug-0.4.1
> Werkzeug started as a simple collection of various utilities for WSGI
> applications and has become one of the most advanced WSGI utility
> modules. It includes a powerful debugger, full featured request and
> response objects, HTTP utilities to handle entity tags, cache control
> headers, HTTP dates, cookie handling, file uploads, a powerful URL
> routing system and a bunch of community contributed addon modules.
>
> Werkzeug is unicode aware and doesn't enforce a specific template
> engine, database adapter or anything else. It doesn't even enforce
> a specific way of handling requests and leaves all that up to the
> developer.
>
> Werkzeug is most useful for end user applications which should work
> on as many server environments as possible (such as blogs, wikis,
> bulletin boards, etc.).
feedback & ok wcmaier@
2009-01-18 20:10:31 +00:00
|
|
|
|
2011-03-09 11:39:01 +00:00
|
|
|
COMMENT = WSGI utility collection
|
Import of Werkzeug-0.4.1
> Werkzeug started as a simple collection of various utilities for WSGI
> applications and has become one of the most advanced WSGI utility
> modules. It includes a powerful debugger, full featured request and
> response objects, HTTP utilities to handle entity tags, cache control
> headers, HTTP dates, cookie handling, file uploads, a powerful URL
> routing system and a bunch of community contributed addon modules.
>
> Werkzeug is unicode aware and doesn't enforce a specific template
> engine, database adapter or anything else. It doesn't even enforce
> a specific way of handling requests and leaves all that up to the
> developer.
>
> Werkzeug is most useful for end user applications which should work
> on as many server environments as possible (such as blogs, wikis,
> bulletin boards, etc.).
feedback & ok wcmaier@
2009-01-18 20:10:31 +00:00
|
|
|
|
2017-04-16 02:05:48 +00:00
|
|
|
MODPY_EGG_VERSION = 0.12.1
|
2011-03-09 11:39:01 +00:00
|
|
|
DISTNAME = Werkzeug-${MODPY_EGG_VERSION}
|
|
|
|
PKGNAME = py-${DISTNAME:L}
|
Import of Werkzeug-0.4.1
> Werkzeug started as a simple collection of various utilities for WSGI
> applications and has become one of the most advanced WSGI utility
> modules. It includes a powerful debugger, full featured request and
> response objects, HTTP utilities to handle entity tags, cache control
> headers, HTTP dates, cookie handling, file uploads, a powerful URL
> routing system and a bunch of community contributed addon modules.
>
> Werkzeug is unicode aware and doesn't enforce a specific template
> engine, database adapter or anything else. It doesn't even enforce
> a specific way of handling requests and leaves all that up to the
> developer.
>
> Werkzeug is most useful for end user applications which should work
> on as many server environments as possible (such as blogs, wikis,
> bulletin boards, etc.).
feedback & ok wcmaier@
2009-01-18 20:10:31 +00:00
|
|
|
|
2011-03-09 11:39:01 +00:00
|
|
|
CATEGORIES = www devel
|
Import of Werkzeug-0.4.1
> Werkzeug started as a simple collection of various utilities for WSGI
> applications and has become one of the most advanced WSGI utility
> modules. It includes a powerful debugger, full featured request and
> response objects, HTTP utilities to handle entity tags, cache control
> headers, HTTP dates, cookie handling, file uploads, a powerful URL
> routing system and a bunch of community contributed addon modules.
>
> Werkzeug is unicode aware and doesn't enforce a specific template
> engine, database adapter or anything else. It doesn't even enforce
> a specific way of handling requests and leaves all that up to the
> developer.
>
> Werkzeug is most useful for end user applications which should work
> on as many server environments as possible (such as blogs, wikis,
> bulletin boards, etc.).
feedback & ok wcmaier@
2009-01-18 20:10:31 +00:00
|
|
|
|
2011-03-09 11:39:01 +00:00
|
|
|
HOMEPAGE = http://werkzeug.pocoo.org/
|
|
|
|
|
2017-02-23 13:03:01 +00:00
|
|
|
MAINTAINER = Daniel Jakots <obsd@chown.me>
|
|
|
|
|
Import of Werkzeug-0.4.1
> Werkzeug started as a simple collection of various utilities for WSGI
> applications and has become one of the most advanced WSGI utility
> modules. It includes a powerful debugger, full featured request and
> response objects, HTTP utilities to handle entity tags, cache control
> headers, HTTP dates, cookie handling, file uploads, a powerful URL
> routing system and a bunch of community contributed addon modules.
>
> Werkzeug is unicode aware and doesn't enforce a specific template
> engine, database adapter or anything else. It doesn't even enforce
> a specific way of handling requests and leaves all that up to the
> developer.
>
> Werkzeug is most useful for end user applications which should work
> on as many server environments as possible (such as blogs, wikis,
> bulletin boards, etc.).
feedback & ok wcmaier@
2009-01-18 20:10:31 +00:00
|
|
|
# BSD
|
2011-03-09 11:39:01 +00:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
Import of Werkzeug-0.4.1
> Werkzeug started as a simple collection of various utilities for WSGI
> applications and has become one of the most advanced WSGI utility
> modules. It includes a powerful debugger, full featured request and
> response objects, HTTP utilities to handle entity tags, cache control
> headers, HTTP dates, cookie handling, file uploads, a powerful URL
> routing system and a bunch of community contributed addon modules.
>
> Werkzeug is unicode aware and doesn't enforce a specific template
> engine, database adapter or anything else. It doesn't even enforce
> a specific way of handling requests and leaves all that up to the
> developer.
>
> Werkzeug is most useful for end user applications which should work
> on as many server environments as possible (such as blogs, wikis,
> bulletin boards, etc.).
feedback & ok wcmaier@
2009-01-18 20:10:31 +00:00
|
|
|
|
2016-05-29 18:08:04 +00:00
|
|
|
GH_ACCOUNT= pallets
|
2015-07-19 01:15:55 +00:00
|
|
|
GH_PROJECT= werkzeug
|
|
|
|
GH_TAGNAME= ${MODPY_EGG_VERSION}
|
|
|
|
|
2011-03-09 11:39:01 +00:00
|
|
|
MODULES = lang/python
|
2013-05-02 20:08:15 +00:00
|
|
|
|
2011-03-09 11:39:01 +00:00
|
|
|
MODPY_SETUPTOOLS = Yes
|
Import of Werkzeug-0.4.1
> Werkzeug started as a simple collection of various utilities for WSGI
> applications and has become one of the most advanced WSGI utility
> modules. It includes a powerful debugger, full featured request and
> response objects, HTTP utilities to handle entity tags, cache control
> headers, HTTP dates, cookie handling, file uploads, a powerful URL
> routing system and a bunch of community contributed addon modules.
>
> Werkzeug is unicode aware and doesn't enforce a specific template
> engine, database adapter or anything else. It doesn't even enforce
> a specific way of handling requests and leaves all that up to the
> developer.
>
> Werkzeug is most useful for end user applications which should work
> on as many server environments as possible (such as blogs, wikis,
> bulletin boards, etc.).
feedback & ok wcmaier@
2009-01-18 20:10:31 +00:00
|
|
|
|
2016-04-16 19:06:25 +00:00
|
|
|
BUILD_DEPENDS = textproc/py-sphinx${MODPY_FLAVOR}
|
Import of Werkzeug-0.4.1
> Werkzeug started as a simple collection of various utilities for WSGI
> applications and has become one of the most advanced WSGI utility
> modules. It includes a powerful debugger, full featured request and
> response objects, HTTP utilities to handle entity tags, cache control
> headers, HTTP dates, cookie handling, file uploads, a powerful URL
> routing system and a bunch of community contributed addon modules.
>
> Werkzeug is unicode aware and doesn't enforce a specific template
> engine, database adapter or anything else. It doesn't even enforce
> a specific way of handling requests and leaves all that up to the
> developer.
>
> Werkzeug is most useful for end user applications which should work
> on as many server environments as possible (such as blogs, wikis,
> bulletin boards, etc.).
feedback & ok wcmaier@
2009-01-18 20:10:31 +00:00
|
|
|
|
2015-12-09 18:25:56 +00:00
|
|
|
TEST_DEPENDS = devel/py-test${MODPY_FLAVOR} \
|
|
|
|
www/py-requests${MODPY_FLAVOR}
|
2015-07-19 01:15:55 +00:00
|
|
|
|
|
|
|
FLAVORS = python3
|
|
|
|
FLAVOR ?=
|
2013-05-02 20:08:15 +00:00
|
|
|
|
2016-04-16 19:06:25 +00:00
|
|
|
MAKE_ENV += PYTHONPATH=${WRKSRC} SPHINXBUILD=${LOCALBASE}/bin/sphinx-build${MODPY_BIN_SUFFIX}
|
|
|
|
|
2016-01-04 12:21:41 +00:00
|
|
|
pre-build:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/tests/test_serving.py
|
|
|
|
|
2011-10-04 09:48:17 +00:00
|
|
|
post-build:
|
2013-05-02 20:08:15 +00:00
|
|
|
@cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} html
|
2011-10-04 09:48:17 +00:00
|
|
|
|
2015-07-19 01:15:55 +00:00
|
|
|
DOCS = ${PREFIX}/share/doc/${MODPY_PY_PREFIX}werkzeug
|
|
|
|
EXAMPLES = ${PREFIX}/share/examples/${MODPY_PY_PREFIX}werkzeug
|
Import of Werkzeug-0.4.1
> Werkzeug started as a simple collection of various utilities for WSGI
> applications and has become one of the most advanced WSGI utility
> modules. It includes a powerful debugger, full featured request and
> response objects, HTTP utilities to handle entity tags, cache control
> headers, HTTP dates, cookie handling, file uploads, a powerful URL
> routing system and a bunch of community contributed addon modules.
>
> Werkzeug is unicode aware and doesn't enforce a specific template
> engine, database adapter or anything else. It doesn't even enforce
> a specific way of handling requests and leaves all that up to the
> developer.
>
> Werkzeug is most useful for end user applications which should work
> on as many server environments as possible (such as blogs, wikis,
> bulletin boards, etc.).
feedback & ok wcmaier@
2009-01-18 20:10:31 +00:00
|
|
|
post-install:
|
2015-07-19 01:15:55 +00:00
|
|
|
${INSTALL_DATA_DIR} ${DOCS}
|
|
|
|
cd ${WRKSRC}/docs/_build/html && pax -rw * ${DOCS}
|
|
|
|
${INSTALL_DATA_DIR} ${EXAMPLES}
|
|
|
|
cd ${WRKSRC}/examples && pax -rw * ${EXAMPLES}
|
Import of Werkzeug-0.4.1
> Werkzeug started as a simple collection of various utilities for WSGI
> applications and has become one of the most advanced WSGI utility
> modules. It includes a powerful debugger, full featured request and
> response objects, HTTP utilities to handle entity tags, cache control
> headers, HTTP dates, cookie handling, file uploads, a powerful URL
> routing system and a bunch of community contributed addon modules.
>
> Werkzeug is unicode aware and doesn't enforce a specific template
> engine, database adapter or anything else. It doesn't even enforce
> a specific way of handling requests and leaves all that up to the
> developer.
>
> Werkzeug is most useful for end user applications which should work
> on as many server environments as possible (such as blogs, wikis,
> bulletin boards, etc.).
feedback & ok wcmaier@
2009-01-18 20:10:31 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|