pkgsrc/devel/py-line_profiler/Makefile
adam dacb825804 py-line_profiler: updated to 2.1.2
2.1:
ENH: Add support for Python 3.5 coroutines
ENH: Documentation updates
ENH: CI for most recent Python versions (3.5, 3.6, 3.6-dev, 3.7-dev, nightly)
ENH: Add timer unit argument for output time granularity spec
2018-01-31 13:42:32 +00:00

30 lines
769 B
Makefile

# $NetBSD: Makefile,v 1.4 2018/01/31 13:42:32 adam Exp $
DISTNAME= line_profiler-2.1.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=l/line_profiler/}
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= https://github.com/rkern/line_profiler
COMMENT= Python line-by-line profiler
LICENSE= modified-bsd
USE_LANGUAGES= c
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} kernprof kernprof${PYVERSSUFFIX} || ${TRUE}
PYTHON_VERSIONED_DEPENDENCIES= ipython
.include "../../lang/python/pyversion.mk"
PLIST_VARS+= py35
.if "${PYPKGPREFIX}" != "py27" && "${PYPKGPREFIX}" != "py34"
PLIST.py35= yes
.endif
.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"