pkgsrc/lang/py-py3c/Makefile
adam 421e68daa4 py-py3c: updated to 1.3
v1.3

Compatibility:
Tested with Python 3.9.0

Additions:
To help avoid compiler warning about uninitialized members, extra members are added to the PyModuleDef structure for Python 2: m_slots, m_traverse, m_clear and m_free. Under Python 2, they must be set to NULL (usually by continuing to leave them out).
2021-02-14 15:02:11 +00:00

20 lines
557 B
Makefile

# $NetBSD: Makefile,v 1.2 2021/02/14 15:02:11 adam Exp $
DISTNAME= py3c-1.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= lang python
# PyPI version does not have anything useful as of 1.3
#MASTER_SITES= ${MASTER_SITE_PYPI:=p/py3c/}
MASTER_SITES= ${MASTER_SITE_GITHUB:=encukou/}
GITHUB_PROJECT= py3c
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/encukou/py3c
COMMENT= Python compatibility headers
LICENSE= mit
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"