view uwsginl-plugin-lang-py2/Makefile @ 178:c8ba67c8b1f5

FIX: Refcount bug in the Python plugin -- introduced in Git commit fe44f47. Previously PyList_GetItem() and PyTuple_GetItem() were used: these functions return borrowed referenced. Now -- with PySequence_GetItem() new references are returned: they need to be decrefed.
author Franz Glasner <fzglas.hg@dom66.de>
date Sun, 09 Mar 2025 02:47:17 +0100
parents 4ddf40c2765a
children
line wrap: on
line source

# Created by: Franz Glasner <freebsd-dev@dom66.de>

PORTNAME=	${UWSGI_NAME}-plugin-lang-py2

COMMENT=	Language plugin for Python 2 (OS default)

USES=		python:2.7 gettext-runtime

PLUGIN_NAME=	python2
PLUGIN_SOURCE=	plugins/python

MASTERDIR=	${.CURDIR}/../uwsginl-plugin-lang-py3

.include	"${MASTERDIR}/Makefile"