8ea6444c5e
1.2.1: Bugfixes - When given an IPv6 address in X-Forwarded-For or Forwarded for= waitress was placing the IP address in REMOTE_ADDR with brackets: [2001:db8::0], this does not match the requirements in the CGI spec which REMOTE_ADDR was lifted from. Waitress will now place the bare IPv6 address in REMOTE_ADDR: 2001:db8::0.
23 lines
676 B
Makefile
23 lines
676 B
Makefile
# $NetBSD: Makefile,v 1.6 2019/01/29 14:30:03 adam Exp $
|
|
|
|
DISTNAME= waitress-1.2.1
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= www python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=w/waitress/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/Pylons/waitress
|
|
COMMENT= Production-quality pure-Python WSGI server
|
|
LICENSE= zpl-2.1
|
|
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} waitress-serve waitress-serve-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|