A backport of linecache to older supported Pythons. The linecache module allows one to get any line from a Python source file, while attempting to optimize internally, using a cache, the common case where many lines are read from a single file. OK bket phessler
32 lines
635 B
Makefile
32 lines
635 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2020/01/16 13:53:02 pamela Exp $
|
|
|
|
COMMENT = backports of the Python linecache module
|
|
|
|
MODPY_EGG_VERSION = 1.0.0
|
|
|
|
DISTNAME = linecache2-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME}
|
|
|
|
CATEGORIES = devel
|
|
|
|
HOMEPAGE = https://github.com/testing-cabal/linecache2
|
|
|
|
MAINTAINER = Pamela Mosiejczuk <pamela@openbsd.org>
|
|
|
|
# Python Software Foundation License
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_PI = Yes
|
|
MODPY_SETUPTOOLS = Yes
|
|
MODPY_PYTEST = Yes
|
|
MODPY_PYTEST_ARGS = linecache2
|
|
|
|
BUILD_DEPENDS = devel/py-pbr
|
|
|
|
TEST_DEPENDS = devel/py-fixtures \
|
|
devel/py-unittest2
|
|
|
|
.include <bsd.port.mk>
|