pkgsrc/devel/py-backcall/Makefile
adam ae42b4e740 py-backcall: added version 0.1.0
Specifications for callback functions passed in to an API

If your code lets other people supply callback functions, it's important to
specify the function signature you expect, and check that functions support
that. Adding extra parameters later would break other peoples code unless
you're careful.

backcall provides a way of specifying the callback signature using a prototype
function.
2018-04-03 11:13:29 +00:00

21 lines
581 B
Makefile

# $NetBSD: Makefile,v 1.1 2018/04/03 11:13:29 adam Exp $
DISTNAME= backcall-0.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=b/backcall/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/takluyver/backcall
COMMENT= Specifications for callback functions passed in to an API
LICENSE= modified-bsd
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
USE_LANGUAGES= # none
do-test:
cd ${WRKSRC}/tests && pytest-${PYVERSSUFFIX}
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"