Mercurial > hgrepos > FreeBSD > ports > www > uwsginl
annotate uwsginl-plugin-tornado3/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 |
| rev | line source |
|---|---|
|
64
87b820419e58
Build the "tornado" plugin for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
1 # Created by: Franz Glasner <freebsd-dev-@dom66.de> |
|
87b820419e58
Build the "tornado" plugin for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
2 |
|
87b820419e58
Build the "tornado" plugin for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
3 PORTNAME= ${UWSGI_NAME}-plugin-${PLUGIN_NAME} |
|
87b820419e58
Build the "tornado" plugin for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
4 |
|
87b820419e58
Build the "tornado" plugin for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
5 COMMENT= Python3 tornado plugin for ${UWSGI_NAME} |
|
87b820419e58
Build the "tornado" plugin for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
6 |
|
87b820419e58
Build the "tornado" plugin for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
7 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tornado>=5.0:devel/py-tornado@${PY_FLAVOR} |
|
87b820419e58
Build the "tornado" plugin for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
8 BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tornado>=5.0:devel/py-tornado@${PY_FLAVOR} |
|
87b820419e58
Build the "tornado" plugin for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
9 |
|
87b820419e58
Build the "tornado" plugin for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
10 PLUGIN_NAME= tornado3 |
|
87b820419e58
Build the "tornado" plugin for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
11 PLUGIN_SOURCE= plugins/tornado |
|
87b820419e58
Build the "tornado" plugin for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
12 |
|
87b820419e58
Build the "tornado" plugin for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
13 MASTERDIR= ${.CURDIR}/../uwsginl-plugin-lang-py3 |
|
87b820419e58
Build the "tornado" plugin for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
14 |
|
87b820419e58
Build the "tornado" plugin for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
15 .include "${MASTERDIR}/Makefile" |
