head	1.5;
access;
symbols
	pkgsrc-2022Q3:1.4.0.4
	pkgsrc-2022Q3-base:1.4
	pkgsrc-2022Q2:1.4.0.2
	pkgsrc-2022Q2-base:1.4
	pkgsrc-2022Q1:1.3.0.2
	pkgsrc-2022Q1-base:1.3
	pkgsrc-2021Q4:1.1.0.4
	pkgsrc-2021Q4-base:1.1
	pkgsrc-2021Q3:1.1.0.2
	pkgsrc-2021Q3-base:1.1;
locks; strict;
comment	@# @;


1.5
date	2022.11.30.10.43.00;	author adam;	state dead;
branches;
next	1.4;
commitid	Ij8WzMC8o5SNlI3E;

1.4
date	2022.06.18.21.47.01;	author wiz;	state Exp;
branches;
next	1.3;
commitid	AQPfhXdnA1zlkzID;

1.3
date	2022.01.05.20.47.35;	author wiz;	state Exp;
branches;
next	1.2;
commitid	Kr0JqHrFOvQPgunD;

1.2
date	2022.01.04.20.53.12;	author wiz;	state Exp;
branches;
next	1.1;
commitid	CYyhdK9qtoffkmnD;

1.1
date	2021.07.30.17.37.36;	author adam;	state Exp;
branches;
next	;
commitid	YV2o6rPeUpRik23D;


desc
@@


1.5
log
@Removed devel/py-isort4, devel/py-lama7, also from versioned_dependencies.mk
@
text
@# $NetBSD: Makefile,v 1.4 2022/06/18 21:47:01 wiz Exp $

DISTNAME=	isort-4.3.21
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
PKGREVISION=	2
CATEGORIES=	devel python
MASTER_SITES=	${MASTER_SITE_PYPI:=i/isort/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/timothycrosley/isort
COMMENT=	Python utility / library to sort imports
LICENSE=	mit

PYTHON_VERSIONED_DEPENDENCIES+=	lama
PYTHON_VERSIONED_DEPENDENCIES+=	test:test

USE_PKG_RESOURCES=	yes

.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} == 27
DEPENDS+=	${PYPKGPREFIX}-backports.functools_lru_cache-[0-9]*:../../devel/py-backports.functools_lru_cache
DEPENDS+=	${PYPKGPREFIX}-futures-[0-9]*:../../devel/py-futures
.endif

USE_LANGUAGES=	# none

post-install:
	cd ${DESTDIR}${PREFIX}/bin && \
	${MV} isort isort-${PYVERSSUFFIX} || ${TRUE}

do-test:
	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} test_isort.py

.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
@


1.4
log
@py-isort4: convert lama dependency to versioned_dependencies
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2022/01/05 20:47:35 wiz Exp $
@


1.3
log
@*: set USE_PKG_RESOURCES for more packages
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2022/01/04 20:53:12 wiz Exp $
d14 2
a15 3
DEPENDS+=	${PYPKGPREFIX}-lama-[0-9]*:../../devel/py-lama

PYTHON_VERSIONED_DEPENDENCIES=	test:test
@


1.2
log
@*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2021/07/30 17:37:36 adam Exp $
d5 1
a5 1
PKGREVISION=	1
d18 2
@


1.1
log
@py-isort4: add version 4.3.21

Last version that supports Python 2.7.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2020/05/16 17:13:40 adam Exp $
d5 1
@

