pkgsrc/www/py-uwsgi/Makefile
wiz 9fe5982d1a py-uwsgi: update to 2.0.20.
Changes

    Switch default python for build to python3 (Riccardo Magliocchetti)
    Add support for PHP 8 (Riccardo Magliocchetti)
    Drop support for PHP < 7 as it is EOL since end of 2018 (Riccardo Magliocchetti)
    Fix segfaults when using –wsgi-env-behavior=holy (Antonio Cuni)
    Replace uwsgi.h system includes in core and proto dirs for Bazel (Serge Bazanski)
    gevent: fix compilation with clang11 (László Károlyi)
    Fix Python 3.9 deprecations warnings (Riccardo Magliocchetti)
    Add trove classifier for Python 3.9 (Adrian)
    Fix message in Log SIGINT/SIGTERM triggered kill_them_all (Delena Malan)
    Support 7 in weekedays as an alias for sunday to match crontab behaviour (Riccardo Magliocchetti)
    Document http-timeout default of 60 seconds (Etienne H)
    Add option to override python sys.executable using py-executable config
    Allow specifying an iteration to uwsgi::add_rb_timer (Luciano Rocha)
    Allow to compile with Python versions with minor version with 2+ digits (Cyrille Pontvieux)
    Take into account new naming for LIBPL since python 3.6 (ilrico)
    Added missing HTTP status codes messages (James Brown)
    Official support for Python 3.10
2022-01-25 10:30:50 +00:00

33 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.52 2022/01/25 10:30:50 wiz Exp $
DISTNAME= uwsgi-2.0.20
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=u/uwsgi/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://uwsgi-docs.readthedocs.io/
COMMENT= Feature-rich WSGI server
LICENSE= gnu-gpl-v2 # with linking exception
USE_TOOLS+= pkg-config
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
EGG_NAME= ${DISTNAME:S/uwsgi/uWSGI/}
.include "options.mk"
INSTALL_ENV+= UWSGI_INCLUDES=${PREFIX}/include SOURCE_DATE_EPOCH=1
INSTALL_ENV+= UWSGI_PROFILE_OVERRIDE="${UWSGI_DEBUG};${UWSGI_JSON};${UWSGI_PCRE};${UWSGI_SSE};${UWSGI_SSL};${UWSGI_UUID};${UWSGI_XML};${UWSGI_YAML}"
INSTALLATION_DIRS+= share/examples/${PYPKGPREFIX}-uwsgi
post-install:
cd ${DESTDIR}${PREFIX}/bin && ${MV} uwsgi uwsgi-${PYVERSSUFFIX} || ${TRUE}
${INSTALL_DATA} ${WRKSRC}/examples/* \
${DESTDIR}${PREFIX}/share/examples/${PYPKGPREFIX}-uwsgi
.include "../../devel/zlib/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"