87f568f059
1.1.2 - Fix a potential crash due to a reference counting error when Python subclasses of ``greenlet.greenlet`` were deallocated. The crash became more common on Python 3.10; on earlier versions, silent memory corruption could result. - Fix a leak of a list object when the last reference to a greenlet was deleted from some other thread than the one to which it belonged. For this to work correctly, you must call a greenlet API like ``getcurrent()`` before the thread owning the greenlet exits: this is a long-standing limitation that can also lead to the leak of a thread's main greenlet if not called; we hope to lift this limitation. Note that in some cases this may also fix leaks of greenlet objects themselves. - Python 3.10: Tracing or profiling into a spawned greenlet didn't work as expected.
19 lines
541 B
Makefile
19 lines
541 B
Makefile
# $NetBSD: Makefile,v 1.14 2021/10/06 11:02:28 adam Exp $
|
|
|
|
DISTNAME= greenlet-1.1.2
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=g/greenlet/}
|
|
|
|
MAINTAINER= kamel.derouiche@gmail.com
|
|
HOMEPAGE= https://github.com/python-greenlet/greenlet
|
|
COMMENT= Lightweight in-process concurrent programming
|
|
LICENSE= mit
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest discover greenlet.tests
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|