head	1.43;
access;
symbols
	pkgsrc-2026Q1:1.43.0.6
	pkgsrc-2026Q1-base:1.43
	pkgsrc-2025Q4:1.43.0.4
	pkgsrc-2025Q4-base:1.43
	pkgsrc-2025Q3:1.43.0.2
	pkgsrc-2025Q3-base:1.43
	pkgsrc-2025Q2:1.42.0.8
	pkgsrc-2025Q2-base:1.42
	pkgsrc-2025Q1:1.42.0.6
	pkgsrc-2025Q1-base:1.42
	pkgsrc-2024Q4:1.42.0.4
	pkgsrc-2024Q4-base:1.42
	pkgsrc-2024Q3:1.42.0.2
	pkgsrc-2024Q3-base:1.42
	pkgsrc-2024Q2:1.41.0.6
	pkgsrc-2024Q2-base:1.41
	pkgsrc-2024Q1:1.41.0.4
	pkgsrc-2024Q1-base:1.41
	pkgsrc-2023Q4:1.41.0.2
	pkgsrc-2023Q4-base:1.41
	pkgsrc-2023Q3:1.40.0.4
	pkgsrc-2023Q3-base:1.40
	pkgsrc-2023Q2:1.40.0.2
	pkgsrc-2023Q2-base:1.40
	pkgsrc-2023Q1:1.39.0.26
	pkgsrc-2023Q1-base:1.39
	pkgsrc-2022Q4:1.39.0.24
	pkgsrc-2022Q4-base:1.39
	pkgsrc-2022Q3:1.39.0.22
	pkgsrc-2022Q3-base:1.39
	pkgsrc-2022Q2:1.39.0.20
	pkgsrc-2022Q2-base:1.39
	pkgsrc-2022Q1:1.39.0.18
	pkgsrc-2022Q1-base:1.39
	pkgsrc-2021Q4:1.39.0.16
	pkgsrc-2021Q4-base:1.39
	pkgsrc-2021Q3:1.39.0.14
	pkgsrc-2021Q3-base:1.39
	pkgsrc-2021Q2:1.39.0.12
	pkgsrc-2021Q2-base:1.39
	pkgsrc-2021Q1:1.39.0.10
	pkgsrc-2021Q1-base:1.39
	pkgsrc-2020Q4:1.39.0.8
	pkgsrc-2020Q4-base:1.39
	pkgsrc-2020Q3:1.39.0.6
	pkgsrc-2020Q3-base:1.39
	pkgsrc-2020Q2:1.39.0.4
	pkgsrc-2020Q2-base:1.39
	pkgsrc-2020Q1:1.39.0.2
	pkgsrc-2020Q1-base:1.39
	pkgsrc-2019Q4:1.38.0.4
	pkgsrc-2019Q4-base:1.38
	pkgsrc-2019Q3:1.37.0.20
	pkgsrc-2019Q3-base:1.37
	pkgsrc-2019Q2:1.37.0.18
	pkgsrc-2019Q2-base:1.37
	pkgsrc-2019Q1:1.37.0.16
	pkgsrc-2019Q1-base:1.37
	pkgsrc-2018Q4:1.37.0.14
	pkgsrc-2018Q4-base:1.37
	pkgsrc-2018Q3:1.37.0.12
	pkgsrc-2018Q3-base:1.37
	pkgsrc-2018Q2:1.37.0.10
	pkgsrc-2018Q2-base:1.37
	pkgsrc-2018Q1:1.37.0.8
	pkgsrc-2018Q1-base:1.37
	pkgsrc-2017Q4:1.37.0.6
	pkgsrc-2017Q4-base:1.37
	pkgsrc-2017Q3:1.37.0.4
	pkgsrc-2017Q3-base:1.37
	pkgsrc-2017Q2:1.36.0.8
	pkgsrc-2017Q2-base:1.36
	pkgsrc-2017Q1:1.36.0.6
	pkgsrc-2017Q1-base:1.36
	pkgsrc-2016Q4:1.36.0.4
	pkgsrc-2016Q4-base:1.36
	pkgsrc-2016Q3:1.36.0.2
	pkgsrc-2016Q3-base:1.36
	pkgsrc-2016Q2:1.35.0.12
	pkgsrc-2016Q2-base:1.35
	pkgsrc-2016Q1:1.35.0.10
	pkgsrc-2016Q1-base:1.35
	pkgsrc-2015Q4:1.35.0.8
	pkgsrc-2015Q4-base:1.35
	pkgsrc-2015Q3:1.35.0.6
	pkgsrc-2015Q3-base:1.35
	pkgsrc-2015Q2:1.35.0.4
	pkgsrc-2015Q2-base:1.35
	pkgsrc-2015Q1:1.35.0.2
	pkgsrc-2015Q1-base:1.35
	pkgsrc-2014Q4:1.34.0.8
	pkgsrc-2014Q4-base:1.34
	pkgsrc-2014Q3:1.34.0.6
	pkgsrc-2014Q3-base:1.34
	pkgsrc-2014Q2:1.34.0.4
	pkgsrc-2014Q2-base:1.34
	pkgsrc-2014Q1:1.34.0.2
	pkgsrc-2014Q1-base:1.34
	pkgsrc-2013Q4:1.32.0.10
	pkgsrc-2013Q4-base:1.32
	pkgsrc-2013Q3:1.32.0.8
	pkgsrc-2013Q3-base:1.32
	pkgsrc-2013Q2:1.32.0.6
	pkgsrc-2013Q2-base:1.32
	pkgsrc-2013Q1:1.32.0.4
	pkgsrc-2013Q1-base:1.32
	pkgsrc-2012Q4:1.32.0.2
	pkgsrc-2012Q4-base:1.32
	pkgsrc-2012Q3:1.31.0.6
	pkgsrc-2012Q3-base:1.31
	pkgsrc-2012Q2:1.31.0.4
	pkgsrc-2012Q2-base:1.31
	pkgsrc-2012Q1:1.31.0.2
	pkgsrc-2012Q1-base:1.31
	pkgsrc-2011Q4:1.30.0.2
	pkgsrc-2011Q4-base:1.30
	pkgsrc-2011Q3:1.28.0.22
	pkgsrc-2011Q3-base:1.28
	pkgsrc-2011Q2:1.28.0.20
	pkgsrc-2011Q2-base:1.28
	pkgsrc-2011Q1:1.28.0.18
	pkgsrc-2011Q1-base:1.28
	pkgsrc-2010Q4:1.28.0.16
	pkgsrc-2010Q4-base:1.28
	pkgsrc-2010Q3:1.28.0.14
	pkgsrc-2010Q3-base:1.28
	pkgsrc-2010Q2:1.28.0.12
	pkgsrc-2010Q2-base:1.28
	pkgsrc-2010Q1:1.28.0.10
	pkgsrc-2010Q1-base:1.28
	pkgsrc-2009Q4:1.28.0.8
	pkgsrc-2009Q4-base:1.28
	pkgsrc-2009Q3:1.28.0.6
	pkgsrc-2009Q3-base:1.28
	pkgsrc-2009Q2:1.28.0.4
	pkgsrc-2009Q2-base:1.28
	pkgsrc-2009Q1:1.28.0.2
	pkgsrc-2009Q1-base:1.28
	pkgsrc-2008Q4:1.27.0.10
	pkgsrc-2008Q4-base:1.27
	pkgsrc-2008Q3:1.27.0.8
	pkgsrc-2008Q3-base:1.27
	cube-native-xorg:1.27.0.6
	cube-native-xorg-base:1.27
	pkgsrc-2008Q2:1.27.0.4
	pkgsrc-2008Q2-base:1.27
	cwrapper:1.27.0.2
	pkgsrc-2008Q1:1.25.0.2
	pkgsrc-2008Q1-base:1.25
	pkgsrc-2007Q4:1.24.0.16
	pkgsrc-2007Q4-base:1.24
	pkgsrc-2007Q3:1.24.0.14
	pkgsrc-2007Q3-base:1.24
	pkgsrc-2007Q2:1.24.0.12
	pkgsrc-2007Q2-base:1.24
	pkgsrc-2007Q1:1.24.0.10
	pkgsrc-2007Q1-base:1.24
	pkgsrc-2006Q4:1.24.0.8
	pkgsrc-2006Q4-base:1.24
	pkgsrc-2006Q3:1.24.0.6
	pkgsrc-2006Q3-base:1.24
	pkgsrc-2006Q2:1.24.0.4
	pkgsrc-2006Q2-base:1.24
	pkgsrc-2006Q1:1.24.0.2
	pkgsrc-2006Q1-base:1.24
	pkgsrc-2005Q4:1.22.0.2
	pkgsrc-2005Q4-base:1.22
	pkgsrc-2005Q3:1.21.0.4
	pkgsrc-2005Q3-base:1.21
	pkgsrc-2005Q2:1.21.0.2
	pkgsrc-2005Q2-base:1.21
	pkgsrc-2005Q1:1.18.0.2
	pkgsrc-2005Q1-base:1.18
	pkgsrc-2004Q4:1.14.0.2
	pkgsrc-2004Q4-base:1.14
	pkgsrc-2004Q3:1.13.0.2
	pkgsrc-2004Q3-base:1.13
	pkgsrc-2004Q2:1.12.0.2
	pkgsrc-2004Q2-base:1.12
	pkgsrc-2004Q1:1.10.0.4
	pkgsrc-2004Q1-base:1.10
	pkgsrc-2003Q4:1.10.0.2
	pkgsrc-2003Q4-base:1.10
	netbsd-1-6-1:1.6.0.2
	netbsd-1-6-1-base:1.6
	netbsd-1-6:1.3.0.8
	netbsd-1-6-RELEASE-base:1.3
	pkgviews:1.3.0.4
	pkgviews-base:1.3
	buildlink2:1.3.0.2
	buildlink2-base:1.3
	netbsd-1-5-PATCH003:1.3
	netbsd-1-5-PATCH001:1.2
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.43
date	2025.07.15.21.31.51;	author wiz;	state Exp;
branches;
next	1.42;
commitid	HO8UsVjz5IAa9T2G;

1.42
date	2024.08.15.22.04.25;	author wiz;	state Exp;
branches;
next	1.41;
commitid	XisM4JGNPxSV3YlF;

1.41
date	2023.10.22.11.34.57;	author wiz;	state Exp;
branches;
next	1.40;
commitid	DyFQXsjvEItv9CJE;

1.40
date	2023.03.29.09.34.07;	author wiz;	state Exp;
branches;
next	1.39;
commitid	dE79P0WicMkX80jE;

1.39
date	2020.01.08.13.44.41;	author joerg;	state Exp;
branches;
next	1.38;
commitid	ARey5SplS2BfkTRB;

1.38
date	2019.11.03.10.18.28;	author rillig;	state Exp;
branches;
next	1.37;
commitid	zgSUHbyByvXhjoJB;

1.37
date	2017.09.03.08.53.08;	author wiz;	state Exp;
branches;
next	1.36;
commitid	EfT0kpQ2wSMtgJ5A;

1.36
date	2016.08.28.15.48.30;	author wiz;	state Exp;
branches;
next	1.35;
commitid	rTBn3EBawNhbu5kz;

1.35
date	2015.02.17.08.08.31;	author wiz;	state Exp;
branches;
next	1.34;
commitid	IPkQDbZiJuMxSkay;

1.34
date	2014.01.25.10.45.17;	author wiz;	state Exp;
branches;
next	1.33;
commitid	jFdMwV0xAIvkdumx;

1.33
date	2014.01.25.10.30.03;	author wiz;	state Exp;
branches;
next	1.32;
commitid	VOWgk3vYhVXj8umx;

1.32
date	2012.10.31.11.19.31;	author asau;	state Exp;
branches;
next	1.31;

1.31
date	2012.03.22.09.23.07;	author markd;	state Exp;
branches;
next	1.30;

1.30
date	2011.10.16.07.23.48;	author obache;	state Exp;
branches;
next	1.29;

1.29
date	2011.10.16.07.19.33;	author obache;	state Exp;
branches;
next	1.28;

1.28
date	2009.02.09.21.09.20;	author joerg;	state Exp;
branches;
next	1.27;

1.27
date	2008.04.25.18.28.33;	author joerg;	state Exp;
branches;
next	1.26;

1.26
date	2008.04.25.17.53.48;	author joerg;	state Exp;
branches;
next	1.25;

1.25
date	2008.03.03.17.45.36;	author jlam;	state Exp;
branches;
next	1.24;

1.24
date	2006.03.04.21.29.27;	author jlam;	state Exp;
branches;
next	1.23;

1.23
date	2006.02.05.23.08.51;	author joerg;	state Exp;
branches;
next	1.22;

1.22
date	2005.12.05.20.50.07;	author rillig;	state Exp;
branches;
next	1.21;

1.21
date	2005.06.16.06.57.47;	author jlam;	state Exp;
branches;
next	1.20;

1.20
date	2005.06.01.18.02.45;	author jlam;	state Exp;
branches;
next	1.19;

1.19
date	2005.04.11.21.45.37;	author tv;	state Exp;
branches;
next	1.18;

1.18
date	2005.01.23.20.41.46;	author recht;	state Exp;
branches;
next	1.17;

1.17
date	2005.01.13.21.51.42;	author darcy;	state Exp;
branches;
next	1.16;

1.16
date	2005.01.10.16.07.55;	author darcy;	state Exp;
branches;
next	1.15;

1.15
date	2005.01.08.19.40.37;	author perry;	state Exp;
branches;
next	1.14;

1.14
date	2004.10.03.00.13.33;	author tv;	state Exp;
branches;
next	1.13;

1.13
date	2004.07.22.09.16.01;	author recht;	state Exp;
branches;
next	1.12;

1.12
date	2004.05.02.03.55.05;	author snj;	state Exp;
branches;
next	1.11;

1.11
date	2004.04.15.17.58.57;	author drochner;	state Exp;
branches;
next	1.10;

1.10
date	2003.09.02.13.21.30;	author seb;	state Exp;
branches;
next	1.9;

1.9
date	2003.08.04.08.18.58;	author drochner;	state Exp;
branches;
next	1.8;

1.8
date	2003.07.17.21.33.27;	author grant;	state Exp;
branches;
next	1.7;

1.7
date	2003.06.02.01.20.17;	author jschauma;	state Exp;
branches;
next	1.6;

1.6
date	2002.12.10.15.08.20;	author drochner;	state Exp;
branches;
next	1.5;

1.5
date	2002.10.24.21.24.18;	author drochner;	state Exp;
branches;
next	1.4;

1.4
date	2002.09.21.23.46.49;	author jlam;	state Exp;
branches;
next	1.3;

1.3
date	2002.01.29.11.12.47;	author drochner;	state Exp;
branches;
next	1.2;

1.2
date	2001.02.16.14.38.59;	author wiz;	state Exp;
branches;
next	1.1;

1.1
date	2000.12.18.23.52.39;	author tsarna;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.12.18.23.52.39;	author tsarna;	state Exp;
branches;
next	;


desc
@@


1.43
log
@py-idle: remove 3.10 from accepted python versions
@
text
@# $NetBSD: Makefile,v 1.42 2024/08/15 22:04:25 wiz Exp $

PKGNAME=	${PYPKGPREFIX}-idle-${PY_DISTVERSION}
CATEGORIES=	devel python

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://www.python.org/idle/
COMMENT=	IDLE - The Integrated DeveLopment Environment for Python

DEPENDS+=	${PYPKGPREFIX}-Tk-[0-9]*:../../x11/py-Tk

PY_PATCHPLIST=	yes

# srcdist.mk needs to be adapted for distutils removal in 3.12
PYTHON_VERSIONS_ACCEPTED=	311 27

#
# With Python-2.3 and up, the Idle code is part of the base library.
# We just install a wrapper script. Also, threads are required now.
# NOTE: if you add a new version of Python here, add to the following test
#
.include "../../lang/python/extension.mk"

.if ${PYTHON_VERSION} != 207
IDLE_NAME=	idle3
.else
IDLE_NAME=	idle
.endif

REPLACE_PYTHON=		Tools/scripts/${IDLE_NAME}
NO_BUILD=		yes
INSTALLATION_DIRS=	bin

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/Tools/scripts/${IDLE_NAME} \
		${DESTDIR}${PREFIX}/bin/idle${PYVERSSUFFIX}

.include "../../lang/python/srcdist.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
@


1.42
log
@*: remove support for Python < 3.10

in a quest to fix pbulk
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2023/10/22 11:34:57 wiz Exp $
d15 1
a15 1
PYTHON_VERSIONS_ACCEPTED=	311 310 27
@


1.41
log
@py-Tk: disable for Python 3.12

tk will not be a default dependency of the batteries-included Python packages,
and srcdist.mk needs to be switched from distutils to some other method of
installing the modules separately. Until this is done, there is no py-Tk
for Python 3.12.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2023/03/29 09:34:07 wiz Exp $
d15 1
a15 1
PYTHON_VERSIONS_ACCEPTED=	311 310 39 38 27
@


1.40
log
@*: use PYTHON_VERSION instead of _PYTHON_VERSION
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2020/01/08 13:44:41 joerg Exp $
d14 3
@


1.39
log
@Always extract the full Python distfile for modules.

This retires an old "optimisation" that over time has created more
problems than it solved, including various questions from users about
the ignored patch failures.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2019/11/03 10:18:28 rillig Exp $
d21 1
a21 1
.if ${_PYTHON_VERSION} >= 31
@


1.38
log
@devel/py-*: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2017/09/03 08:53:08 wiz Exp $
a13 7
# ignore errors due to missing files (EXTRACT_ELEMENTS!)
do-patch:
	(cd ${WRKSRC}; \
	for f in ${PATCHDIR}/patch-*;do \
	${PATCH} --batch <$$f || ${TRUE}; \
	done)

a26 1
EXTRACT_ELEMENTS=	${PYSUBDIR}/Tools/scripts/${IDLE_NAME}
@


1.37
log
@Follow some redirects.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2016/08/28 15:48:30 wiz Exp $
d35 2
a36 2
REPLACE_PYTHON= Tools/scripts/${IDLE_NAME}
NO_BUILD=	yes
@


1.36
log
@Remove unnecessary PLIST_SUBST and FILES_SUBST that are now provided
by the infrastructure.

Mark a couple more packages as not ready for python-3.x.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2015/02/17 08:08:31 wiz Exp $
d7 1
a7 1
HOMEPAGE=	http://www.python.org/idle/
@


1.35
log
@Use ${PY_DISTVERSION} in PKGNAME instead of 0.
Noted by mef on pkgsrc-users.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2014/01/25 10:45:17 wiz Exp $
a12 1
PLIST_SUBST+=	PYVERSSUFFIX=${PYVERSSUFFIX:Q}
@


1.34
log
@No need to have two variables for the same logic.
Replace PYTHON_PATCH_SCRIPTS with REPLACE_PYTHON.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2014/01/25 10:30:03 wiz Exp $
d3 1
a3 2
PKGNAME=	${PYPKGPREFIX}-idle-0
PKGREVISION=	2
@


1.33
log
@Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE=  33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE=  33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.

Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.

Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.

Whitespace cleanups and other nits corrected, where necessary.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2012/10/31 11:19:31 asau Exp $
d37 1
a37 1
PYTHON_PATCH_SCRIPTS= Tools/scripts/${IDLE_NAME}
@


1.32
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 2
# $NetBSD: Makefile,v 1.31 2012/03/22 09:23:07 markd Exp $
#
a12 2
PYTHON_VERSIONS_INCLUDE_3X=	yes

@


1.31
log
@Make work with python31.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2011/10/16 07:23:48 obache Exp $
a13 2
PKG_DESTDIR_SUPPORT=	user-destdir

@


1.30
log
@simplify PLIST handling.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2011/10/16 07:19:33 obache Exp $
d16 2
d35 8
a42 2
EXTRACT_ELEMENTS=	${PYSUBDIR}/Tools/scripts/idle
PYTHON_PATCH_SCRIPTS= Tools/scripts/idle
d47 1
a47 1
	${INSTALL_SCRIPT} ${WRKSRC}/Tools/scripts/idle \
@


1.29
log
@No need to buildlink with py-Tk, simple DEPENDS is sufficient.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2009/02/09 21:09:20 joerg Exp $
a15 1
PLIST_SRC=	${WRKDIR}/.PLIST_SRC
a40 1
	${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
@


1.28
log
@Remove Python 2.1 support.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2008/04/25 18:28:33 joerg Exp $
d12 2
a45 1
.include "../../x11/py-Tk/buildlink3.mk"
@


1.27
log
@Remove removed Python versions.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2008/04/25 17:53:48 joerg Exp $
a29 1
PYTHON_VERSIONS_ACCEPTED=	25 24 23 21
a30 21
.if (${PYPKGPREFIX} != "py23") && (${PYPKGPREFIX} != "py24") && (${PYPKGPREFIX} != "py25")

EXTRACT_ELEMENTS=	${PYSUBDIR}/Tools/idle/*
PYTHON_PATCH_SCRIPTS=	Tools/idle/idle.py
INSTALLATION_DIRS=	bin ${PYSITELIB}

do-build:
	${PYTHONBIN} ${LOCALBASE}/${PYLIB}/compileall.py ${WRKSRC}/Tools/idle

do-install:
	${CP} -r ${WRKSRC}/Tools/idle ${DESTDIR}${PREFIX}/${PYSITELIB}
	${CHMOD} +x ${DESTDIR}${PREFIX}/${PYSITELIB}/idle/idle.py
	${LN} -sf ${PREFIX}/${PYSITELIB}/idle/idle.py \
		${DESTDIR}${PREFIX}/bin/idle${PYVERSSUFFIX}
	${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
	(cd ${DESTDIR}${PREFIX}; ${FIND} ${PYSITELIB}/idle -type f -print \
		>>${PLIST_SRC})
	(cd ${DESTDIR}${PREFIX}; ${FIND} -d ${PYSITELIB}/idle -type d -print | \
		${SED} -e "s/^/@@dirrm /" >>${PLIST_SRC})

.else # py23 and up
a41 2
.endif # py23 and up

@


1.26
log
@Update for Python 2.5.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2008/03/03 17:45:36 jlam Exp $
d30 1
a30 1
PYTHON_VERSIONS_ACCEPTED=	25 24 23 22 21 20
@


1.25
log
@Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2006/03/04 21:29:27 jlam Exp $
d30 1
a30 1
PYTHON_VERSIONS_ACCEPTED=	24 23 22 21 20
d32 1
a32 1
.if (${PYPKGPREFIX} != "py23") && (${PYPKGPREFIX} != "py24")
@


1.24
log
@Point MAINTAINER to pkgsrc-users@@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2006/02/05 23:08:51 joerg Exp $
d12 2
d42 2
a43 2
	${CP} -r ${WRKSRC}/Tools/idle ${PREFIX}/${PYSITELIB}
	${CHMOD} +x ${PREFIX}/${PYSITELIB}/idle/idle.py
d45 1
a45 1
		${PREFIX}/bin/idle${PYVERSSUFFIX}
d47 1
a47 1
	(cd ${PREFIX}; ${FIND} ${PYSITELIB}/idle -type f -print \
d49 1
a49 1
	(cd ${PREFIX}; ${FIND} -d ${PYSITELIB}/idle -type d -print | \
d61 1
a61 1
		${PREFIX}/bin/idle${PYVERSSUFFIX}
@


1.23
log
@Recursive revision bump / recommended bump for gettext ABI change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2005/12/05 20:50:07 rillig Exp $
d8 1
a8 1
MAINTAINER=	tech-pkg@@NetBSD.org
@


1.22
log
@Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2005/06/16 06:57:47 jlam Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.21
log
@Create directories before installing files into them.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2005/06/01 18:02:45 jlam Exp $
d14 1
a14 1
PLIST_SUBST+=	PYVERSSUFFIX=${PYVERSSUFFIX}
@


1.20
log
@Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2005/04/11 21:45:37 tv Exp $
d34 1
d55 1
@


1.19
log
@Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2005/01/23 20:41:46 recht Exp $
a11 2
USE_X11=	yes

@


1.18
log
@Build Python with thread support by default and turn the existing
python*-pth packages into meta-packages which will install the non-pth
packages. Bump PKGREVISIONs on the non-pth versions to propagate the
thread change, but leave the *-pth versions untouched to not affect
existing installations.
Sync all PYTHON_VERSIONS_AFFECTED lines in package Makefiles.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2005/01/13 21:51:42 darcy Exp $
a12 1
USE_BUILDLINK3=	yes
@


1.17
log
@The last change did not work.  The PREFIX variable was not evaluated until
after the .if.  Changed it back but added more comments about it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2005/01/10 16:07:55 darcy Exp $
d31 1
a31 1
PYTHON_VERSIONS_ACCEPTED=	24pth 23pth 22pth 22 21pth 21 20pth 20
d33 1
a33 1
.if (${PYPKGPREFIX} != "py23pth") && (${PYPKGPREFIX} != "py24pth")
d52 1
a52 1
.else # py23pth and up
d63 1
a63 1
.endif # py23pth and up
@


1.16
log
@Clean up the test for the version of Python.
Use ${TRUE} instead of true.
Reorder a few lines.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2005/01/08 19:40:37 perry Exp $
d27 1
a27 1
# With Python-2.3, the Idle code is part of the base library.
d29 1
d32 2
a33 1
.if !exists(${PREFIX}/${PYLIB}/idlelib/)
d52 1
a52 1
.else # py23pth
a64 1
.include "../../lang/python/extension.mk"
@


1.15
log
@Make idle work with python 24pth

Note that this probably should be done more cleanly but I'm not clear
on how that would be done best.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2004/10/03 00:13:33 tv Exp $
d23 1
a23 1
	${PATCH} --batch <$$f || true; \
d30 2
a31 3
PYTHON_VERSIONS_ACCEPTED=	20 20pth 21 21pth 22 22pth 23pth 24pth
.include "../../lang/python/extension.mk"
.if (${PYPKGPREFIX} != "py23pth") && (${PYPKGPREFIX} != "py24pth")
d61 1
a61 1
.endif # py23pth
d63 1
@


1.14
log
@Libtool fix for PR pkg/26633, and other issues.  Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2004/07/22 09:16:01 recht Exp $
d30 1
a30 1
PYTHON_VERSIONS_ACCEPTED=	20 20pth 21 21pth 22 22pth 23pth
d32 1
a32 1
.if ${PYPKGPREFIX} != "py23pth"
@


1.13
log
@add python as category
ok'd a while back at pkgsrcCon by agc and wiz
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2004/05/02 03:55:05 snj Exp $
d5 1
@


1.12
log
@Convert to buildlink3.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2004/04/15 17:58:57 drochner Exp $
d5 1
a5 1
CATEGORIES=	devel
@


1.11
log
@sanity: PYTHON_PATCH_SCRIPTS is already relative to ${WRKSRC}
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2003/09/02 13:21:30 seb Exp $
d12 1
a12 1
USE_BUILDLINK2=	yes
d65 1
a65 1
.include "../../x11/py-Tk/buildlink2.mk"
@


1.10
log
@Fix PYTHON_PATCH_SCRIPTS: pathnames listed should be relative to ${WRKSRC}.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2003/08/04 08:18:58 drochner Exp $
d53 1
a53 1
PYTHON_PATCH_SCRIPTS= ${WRKSRC}/Tools/scripts/idle
@


1.9
log
@Deal with the changed layout of the "Idle" IDE stuff in Python-2.3:
All the meat coms with the base installation; we just install a small
wrapper here.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2003/07/17 21:33:27 grant Exp $
d34 1
a34 1
PYTHON_PATCH_SCRIPTS= ${WRKSRC}/Tools/idle/idle.py
@


1.8
log
@s/netbsd.org/NetBSD.org/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2003/06/02 01:20:17 jschauma Exp $
a13 3
EXTRACT_ELEMENTS=	${PYSUBDIR}/Tools/idle/*

PYTHON_PATCH_SCRIPTS= ${WRKSRC}/Tools/idle/idle.py
d25 11
d50 13
a62 1
.include "../../lang/python/extension.mk"
@


1.7
log
@Use tech-pkg@@ in favor of packages@@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2002/12/10 15:08:20 drochner Exp $
d7 1
a7 1
MAINTAINER=	tech-pkg@@netbsd.org
@


1.6
log
@for the Python-version-selection magic to work properly, extension.mk
must be pulled in before srcdist.mk
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2002/10/24 21:24:18 drochner Exp $
d7 1
a7 1
MAINTAINER=	packages@@netbsd.org
@


1.5
log
@
convert to buildlink2
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2002/09/21 23:46:49 jlam Exp $
d42 1
a43 1
.include "../../lang/python/extension.mk"
@


1.4
log
@Strip the ".buildlink" from the names of the python application and
extension Makefile fragments, because they really don't have anything to
do with the buildlink[12] frameworks.  Change all the Makefiles that use
application.buildlink.mk and extension.buildlink.mk to use application.mk
and extension.mk instead.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2002/01/29 11:12:47 drochner Exp $
d12 1
d42 1
d45 1
a45 2
.include "../../lang/python/srcdist.mk"
.include "../../x11/py-Tk/buildlink.mk"
@


1.3
log
@convert to new Python framework
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2001/02/16 14:38:59 wiz Exp $
d41 2
a42 2
.include "../../lang/python/extension.buildlink.mk"
.include "../../lang/python/application.buildlink.mk"
@


1.2
log
@Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 2000/12/18 23:52:39 tsarna Exp $
d4 1
a4 2
DISTNAME=	${PY_DISTNAME}
PKGNAME=	py-idle-0.6
a5 1
MASTER_SITES=	${PY_MASTER_SITES}
d11 1
a11 1
DEPENDS+=	py-Tk>=${PY_VERSION}:../../x11/py-Tk
d13 1
a13 2
USE_X11=	yes
WRKSRC=		${WRKDIR}/Python-${PY_VERSION}/Tools
d15 11
a25 1
EXTRACT_ELEMENTS=	Python-${PY_VERSION}/Tools/idle/*
d28 1
a28 1
	${PY_COMPILEDIR} ${WRKSRC}/idle
d31 14
a44 15
	${INSTALL_SCRIPT_DIR} ${PY_LIBDIR}/idle
	${INSTALL_SCRIPT_DIR} ${PY_LIBDIR}/idle/Icons
	${INSTALL_DATA} ${WRKSRC}/idle/*.py ${PY_LIBDIR}/idle
	${INSTALL_DATA} ${WRKSRC}/idle/*.pyc ${PY_LIBDIR}/idle
	${INSTALL_DATA} ${WRKSRC}/idle/*.txt ${PY_LIBDIR}/idle
	${INSTALL_DATA} ${WRKSRC}/idle/ChangeLog ${PY_LIBDIR}/idle
	${INSTALL_DATA} ${WRKSRC}/idle/Icons/* ${PY_LIBDIR}/idle/Icons
	${INSTALL_SCRIPT} ${WRKSRC}/idle/BrowserControl.py ${PY_LIBDIR}/idle
	${INSTALL_SCRIPT} ${WRKSRC}/idle/idle.py ${PY_LIBDIR}/idle

post-install:
	${LN} -s ${PY_LIBDIR}/idle/idle.py \
		${LOCALBASE}/bin/idle

.include "../../lang/python/Makefile.inc"
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
d11 1
@


1.1.1.1
log
@added py-idle from Jeff Rizzo in PR#11686

IDLE is the Integrated Development Environment for Python.
@
text
@@
