annotate uwsginl-plugin-greenlet39/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 c32cf35cb4da
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
62
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
1 # Created by: Franz Glasner <freebsd-dev-@dom66.de>
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
2
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
3 PORTNAME= ${UWSGI_NAME}-plugin-${PLUGIN_NAME}
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
4
142
c32cf35cb4da Prepare gevent and greenlet plugins for Python 3.9
Franz Glasner <fzglas.hg@dom66.de>
parents: 132
diff changeset
5 COMMENT= Python3.9 gevent plugin for ${UWSGI_NAME}
62
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
6
142
c32cf35cb4da Prepare gevent and greenlet plugins for Python 3.9
Franz Glasner <fzglas.hg@dom66.de>
parents: 132
diff changeset
7 USES= python:3.9 gettext-runtime
62
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
8
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
9 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}greenlet>=0.4:devel/py-greenlet@${PY_FLAVOR}
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
10 BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}greenlet>=0.4:devel/py-greenlet@${PY_FLAVOR}
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
11
142
c32cf35cb4da Prepare gevent and greenlet plugins for Python 3.9
Franz Glasner <fzglas.hg@dom66.de>
parents: 132
diff changeset
12 PLUGIN_NAME= greenlet39
62
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
13 PLUGIN_SOURCE= plugins/greenlet
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
14
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
15 MASTERDIR= ${.CURDIR}/../uwsginl-plugin-lang-py3
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
16
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
17 .include "${MASTERDIR}/Makefile"