[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / py-virtualenv

File: [cvs.NetBSD.org] / pkgsrc / devel / py-virtualenv / Makefile (download)

Revision 1.72, Mon Jul 24 18:40:03 2023 UTC (7 months, 1 week ago) by adam
Branch: MAIN
Changes since 1.71: +2 -2 lines

py-virtualenv: updated to 20.24.2

Bugfixes - 20.24.2

Upgrade embedded wheels:
- pip to 23.2.1 from 23.2
- wheel to 0.41.0 from 0.40.0

# $NetBSD: Makefile,v 1.72 2023/07/24 18:40:03 adam Exp $

DISTNAME=	virtualenv-20.24.2
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	devel python
MASTER_SITES=	${MASTER_SITE_PYPI:=v/virtualenv/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://virtualenv.pypa.io/
COMMENT=	Virtual Python Environment builder
LICENSE=	mit

TOOL_DEPENDS+=	${PYPKGPREFIX}-hatch-vcs>=0.3:../../devel/py-hatch-vcs
TOOL_DEPENDS+=	${PYPKGPREFIX}-hatchling>=1.14:../../devel/py-hatchling
DEPENDS+=	${PYPKGPREFIX}-distlib>=0.3.6:../../devel/py-distlib
DEPENDS+=	${PYPKGPREFIX}-filelock>=3.11:../../devel/py-filelock
DEPENDS+=	${PYPKGPREFIX}-platformdirs>=3.2:../../misc/py-platformdirs
DEPENDS+=	${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
TEST_DEPENDS+=	${PYPKGPREFIX}-coverage>=6.2:../../devel/py-coverage
TEST_DEPENDS+=	${PYPKGPREFIX}-coverage-enable-subprocess>=1:../../devel/py-coverage-enable-subprocess
TEST_DEPENDS+=	${PYPKGPREFIX}-flaky>=3.7:../../devel/py-flaky
TEST_DEPENDS+=	${PYPKGPREFIX}-packaging>=23.1:../../devel/py-packaging
TEST_DEPENDS+=	${PYPKGPREFIX}-test>=7.3.1:../../devel/py-test
TEST_DEPENDS+=	${PYPKGPREFIX}-test-env>=0.8.1:../../devel/py-test-env
TEST_DEPENDS+=	${PYPKGPREFIX}-test-freezegun>=0.4.6:../../devel/py-test-freezegun
TEST_DEPENDS+=	${PYPKGPREFIX}-test-mock>=3.10:../../devel/py-test-mock
TEST_DEPENDS+=	${PYPKGPREFIX}-test-randomly>=3.12:../../devel/py-test-randomly
TEST_DEPENDS+=	${PYPKGPREFIX}-test-timeout>=2.1:../../devel/py-test-timeout
TEST_DEPENDS+=	${PYPKGPREFIX}-time-machine>=2.9:../../time/py-time-machine

PYTHON_VERSIONS_INCOMPATIBLE=	27

USE_LANGUAGES=	c # for tests

REPLACE_PYTHON=	virtualenv.py

post-install:
	# see patches
	${RM} ${DESTDIR}${PREFIX}/${PYSITELIB}/virtualenv/create/via_global_ref/api.py.orig
	cd ${DESTDIR}${PREFIX}/bin && \
	${MV} virtualenv virtualenv-${PYVERSSUFFIX} || ${TRUE}

# needs 'make install' and USE_LANGUAGES=c
do-test:
	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests

.include "../../lang/python/application.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"