2c9296d653
Python @deprecated decorator to deprecate old python classes, functions or methods.
24 lines
702 B
Makefile
24 lines
702 B
Makefile
# $NetBSD: Makefile,v 1.1 2022/01/10 17:39:52 adam Exp $
|
|
|
|
DISTNAME= Deprecated-1.2.13
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=d/deprecated/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/tantale/deprecated
|
|
COMMENT= Python decorator to deprecate old python classes, functions or methods
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-wrapt>=1.10:../../devel/py-wrapt
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYTHON_VERSIONED_DEPENDENCIES= test:test
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../lang/python/versioned_dependencies.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|