head	1.13;
access;
symbols
	pkgsrc-2026Q1:1.13.0.10
	pkgsrc-2026Q1-base:1.13
	pkgsrc-2025Q4:1.13.0.8
	pkgsrc-2025Q4-base:1.13
	pkgsrc-2025Q3:1.13.0.6
	pkgsrc-2025Q3-base:1.13
	pkgsrc-2025Q2:1.13.0.4
	pkgsrc-2025Q2-base:1.13
	pkgsrc-2025Q1:1.13.0.2
	pkgsrc-2025Q1-base:1.13
	pkgsrc-2024Q4:1.12.0.10
	pkgsrc-2024Q4-base:1.12
	pkgsrc-2024Q3:1.12.0.8
	pkgsrc-2024Q3-base:1.12
	pkgsrc-2024Q2:1.12.0.6
	pkgsrc-2024Q2-base:1.12
	pkgsrc-2024Q1:1.12.0.4
	pkgsrc-2024Q1-base:1.12
	pkgsrc-2023Q4:1.12.0.2
	pkgsrc-2023Q4-base:1.12
	pkgsrc-2023Q3:1.11.0.4
	pkgsrc-2023Q3-base:1.11
	pkgsrc-2023Q2:1.11.0.2
	pkgsrc-2023Q2-base:1.11
	pkgsrc-2023Q1:1.10.0.8
	pkgsrc-2023Q1-base:1.10
	pkgsrc-2022Q4:1.10.0.6
	pkgsrc-2022Q4-base:1.10
	pkgsrc-2022Q3:1.10.0.4
	pkgsrc-2022Q3-base:1.10
	pkgsrc-2022Q2:1.10.0.2
	pkgsrc-2022Q2-base:1.10
	pkgsrc-2022Q1:1.9.0.2
	pkgsrc-2022Q1-base:1.9
	pkgsrc-2021Q4:1.4.0.14
	pkgsrc-2021Q4-base:1.4
	pkgsrc-2021Q3:1.4.0.12
	pkgsrc-2021Q3-base:1.4
	pkgsrc-2021Q2:1.4.0.10
	pkgsrc-2021Q2-base:1.4
	pkgsrc-2021Q1:1.4.0.8
	pkgsrc-2021Q1-base:1.4
	pkgsrc-2020Q4:1.4.0.6
	pkgsrc-2020Q4-base:1.4
	pkgsrc-2020Q3:1.4.0.4
	pkgsrc-2020Q3-base:1.4
	pkgsrc-2020Q2:1.4.0.2
	pkgsrc-2020Q2-base:1.4
	pkgsrc-2020Q1:1.3.0.8
	pkgsrc-2020Q1-base:1.3
	pkgsrc-2019Q4:1.3.0.10
	pkgsrc-2019Q4-base:1.3
	pkgsrc-2019Q3:1.3.0.6
	pkgsrc-2019Q3-base:1.3
	pkgsrc-2019Q2:1.3.0.4
	pkgsrc-2019Q2-base:1.3
	pkgsrc-2019Q1:1.3.0.2
	pkgsrc-2019Q1-base:1.3
	pkgsrc-2018Q4:1.2.0.10
	pkgsrc-2018Q4-base:1.2
	pkgsrc-2018Q3:1.2.0.8
	pkgsrc-2018Q3-base:1.2
	pkgsrc-2018Q2:1.2.0.6
	pkgsrc-2018Q2-base:1.2
	pkgsrc-2018Q1:1.2.0.4
	pkgsrc-2018Q1-base:1.2
	pkgsrc-2017Q4:1.2.0.2
	pkgsrc-2017Q4-base:1.2
	pkgsrc-2017Q3:1.1.0.6
	pkgsrc-2017Q3-base:1.1
	pkgsrc-2017Q2:1.1.0.2
	pkgsrc-2017Q2-base:1.1;
locks; strict;
comment	@# @;


1.13
date	2025.02.23.18.48.28;	author wiz;	state Exp;
branches;
next	1.12;
commitid	fHguuzFuvzL8OCKF;

1.12
date	2023.10.28.19.56.59;	author wiz;	state Exp;
branches;
next	1.11;
commitid	jP8MYROLWZ3yJqKE;

1.11
date	2023.06.06.12.41.12;	author riastradh;	state Exp;
branches;
next	1.10;
commitid	xhspr6Z8JLQOWSrE;

1.10
date	2022.04.07.12.39.06;	author adam;	state Exp;
branches;
next	1.9;
commitid	dqPCjj86xhmUBgzD;

1.9
date	2022.01.09.11.58.14;	author wiz;	state Exp;
branches;
next	1.8;
commitid	rxxqjQhfXtIQcXnD;

1.8
date	2022.01.07.11.46.56;	author tnn;	state Exp;
branches;
next	1.7;
commitid	PP2prOP3c56hdHnD;

1.7
date	2022.01.04.20.53.02;	author wiz;	state Exp;
branches;
next	1.6;
commitid	CYyhdK9qtoffkmnD;

1.6
date	2022.01.04.07.13.05;	author wiz;	state Exp;
branches;
next	1.5;
commitid	tQmFzJcIVJOnNhnD;

1.5
date	2022.01.01.16.19.25;	author ryoon;	state Exp;
branches;
next	1.4;
commitid	4dme57zWDS9QUWmD;

1.4
date	2020.05.16.17.13.40;	author adam;	state Exp;
branches;
next	1.3;
commitid	O1XdZN37EtIelu8C;

1.3
date	2019.01.22.10.48.14;	author adam;	state Exp;
branches;
next	1.2;
commitid	DCNqbC6LbIfyDL8B;

1.2
date	2017.10.17.18.06.44;	author adam;	state Exp;
branches;
next	1.1;
commitid	NHauYD3yF0pHUqbA;

1.1
date	2017.04.23.05.13.03;	author markd;	state Exp;
branches;
next	;
commitid	vLEbtHGHCZUWjCOz;


desc
@@


1.13
log
@py-entrypoints: adapt for flit_core 3.11.

Bump PKGREVISION.
@
text
@# $NetBSD: Makefile,v 1.12 2023/10/28 19:56:59 wiz Exp $

DISTNAME=	entrypoints-0.4
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
PKGREVISION=	2
CATEGORIES=	devel python
MASTER_SITES=	${MASTER_SITE_PYPI:=e/entrypoints/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/takluyver/entrypoints
COMMENT=	Discover and load entry points from installed packages
LICENSE=	mit

TOOL_DEPENDS+=	${PYPKGPREFIX}-flit_core>=3.11:../../devel/py-flit_core
TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test

USE_LANGUAGES=	# none

do-test:
	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests

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


1.12
log
@python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2023/06/06 12:41:12 riastradh Exp $
d5 1
a5 1
PKGREVISION=	1
d14 1
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-flit_core>=2:../../devel/py-flit_core
a18 2
PYTHON_VERSIONS_INCOMPATIBLE=	27

@


1.11
log
@Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.

Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).

No change to BUILD_DEPENDS as used correctly inside buildlink3.

As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2022/04/07 12:39:06 adam Exp $
d5 1
@


1.10
log
@py-entrypoints: updated to 0.4

0.4:
Unknown changes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2022/01/09 11:58:14 wiz Exp $
d13 1
a13 1
BUILD_DEPENDS+=	${PYPKGPREFIX}-flit_core>=2:../../devel/py-flit_core
@


1.9
log
@egg.mk: remove --single-version-externally-managed

setuptools has this as default when --root is used (since version 0.6a11).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2022/01/07 11:46:56 tnn Exp $
d3 1
a3 1
DISTNAME=	entrypoints-0.3
a4 1
PKGREVISION=	2
d13 2
a14 1
PYTHON_VERSIONED_DEPENDENCIES=	test:test
d16 1
a16 4
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} == 27
DEPENDS+=	${PYPKGPREFIX}-configparser>=3.5:../../devel/py-configparser
.endif
d18 1
a18 1
USE_LANGUAGES=	# none
d21 1
a21 1
	cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
d23 1
a23 2
.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
@


1.8
log
@fix typo
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2022/01/04 20:53:02 wiz Exp $
a26 5

.if ${PYPKGPREFIX} == "py27"
_PYSETUPTOOLSINSTALLARGS:=	${_PYSETUPTOOLSINSTALLARGS:N--single-version-externally-managed}
.endif

@


1.7
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.6 2022/01/04 07:13:05 wiz Exp $
d29 1
a29 1
_PYSETUPTOOLSINSTALLARGS:=	${PYSETUPTOOLSINSTALLARGS:N--single-version-externally-managed}
@


1.6
log
@*: fix packaging with python 2.7
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2022/01/01 16:19:25 ryoon Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.5
log
@py-entrypoints: Use egg.mk to fix packaging

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2020/05/16 17:13:40 adam Exp $
d27 5
@


1.4
log
@pytest from versioned deps.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2019/01/22 10:48:14 adam Exp $
d5 1
d26 1
a26 1
.include "../../lang/python/distutils.mk"
@


1.3
log
@py-entrypoints: updated to 0.3

0.3:
Unknown changes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2017/10/17 18:06:44 adam Exp $
d13 1
a13 1
TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
d26 1
@


1.2
log
@py-entrypoints: update to 0.2.3

0.2.3:
Bug fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2017/04/23 05:13:03 markd Exp $
d3 1
a3 1
DISTNAME=	entrypoints-0.2.3
d13 1
a13 1
.include "../../lang/python/distutils.mk"
d15 2
a16 1
.if ${PYPKGPREFIX} == py27
d22 4
@


1.1
log
@Add py-entrypoints 0.2.2

Discover and load entry points from installed packages.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2016/06/09 02:06:18 markd Exp $
d3 1
a3 1
DISTNAME=	entrypoints-0.2.2
d5 2
a6 3
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GITHUB:=takluyver/}
GITHUB_PROJECT=	entrypoints
d13 1
a13 4
NO_BUILD=	yes
PY_PATCHPLIST=	yes

.include "../../lang/python/extension.mk"
d16 1
a16 1
DEPENDS+=	${PYPKGPREFIX}-configparser-[0-9]*:../../devel/py-configparser
a20 4
do-install:
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${PYSITELIB}
	${INSTALL_DATA} ${WRKSRC}/entrypoints.py ${DESTDIR}${PREFIX}/${PYSITELIB}

@

