This module provides various memoizing collections and decorators, including variants of the Python 3 Standard Library `@lru_cache`_ function decorator. Feedback and OK jasper
32 lines
675 B
Makefile
32 lines
675 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2019/06/06 20:02:50 kn Exp $
|
|
|
|
COMMENT = extensible memoizing collections and decorators
|
|
|
|
MODPY_EGG_VERSION = 3.1.1
|
|
DISTNAME = cachetools-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME}
|
|
|
|
CATEGORIES = devel
|
|
|
|
HOMEPAGE = https://github.com/tkem/cachetools
|
|
|
|
MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_PI = Yes
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
FLAVORS = python3
|
|
FLAVOR ?=
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${MODPY_PY_PREFIX}cachetools/
|
|
${INSTALL_DATA} ${WRKSRC}/README.rst \
|
|
${PREFIX}/share/doc/${MODPY_PY_PREFIX}cachetools/
|
|
|
|
.include <bsd.port.mk>
|