head	1.11;
access;
symbols
	pkgsrc-2026Q2:1.11.0.12
	pkgsrc-2026Q2-base:1.11
	pkgsrc-2026Q1:1.11.0.10
	pkgsrc-2026Q1-base:1.11
	pkgsrc-2025Q4:1.11.0.8
	pkgsrc-2025Q4-base:1.11
	pkgsrc-2025Q3:1.11.0.6
	pkgsrc-2025Q3-base:1.11
	pkgsrc-2025Q2:1.11.0.4
	pkgsrc-2025Q2-base:1.11
	pkgsrc-2025Q1:1.11.0.2
	pkgsrc-2025Q1-base:1.11
	pkgsrc-2024Q4:1.10.0.12
	pkgsrc-2024Q4-base:1.10
	pkgsrc-2024Q3:1.10.0.10
	pkgsrc-2024Q3-base:1.10
	pkgsrc-2024Q2:1.10.0.8
	pkgsrc-2024Q2-base:1.10
	pkgsrc-2024Q1:1.10.0.6
	pkgsrc-2024Q1-base:1.10
	pkgsrc-2023Q4:1.10.0.4
	pkgsrc-2023Q4-base:1.10
	pkgsrc-2023Q3:1.10.0.2
	pkgsrc-2023Q3-base:1.10
	pkgsrc-2023Q2:1.9.0.14
	pkgsrc-2023Q2-base:1.9
	pkgsrc-2023Q1:1.9.0.12
	pkgsrc-2023Q1-base:1.9
	pkgsrc-2022Q4:1.9.0.10
	pkgsrc-2022Q4-base:1.9
	pkgsrc-2022Q3:1.9.0.8
	pkgsrc-2022Q3-base:1.9
	pkgsrc-2022Q2:1.9.0.6
	pkgsrc-2022Q2-base:1.9
	pkgsrc-2022Q1:1.9.0.4
	pkgsrc-2022Q1-base:1.9
	pkgsrc-2021Q4:1.9.0.2
	pkgsrc-2021Q4-base:1.9
	pkgsrc-2021Q3:1.8.0.14
	pkgsrc-2021Q3-base:1.8
	pkgsrc-2021Q2:1.8.0.12
	pkgsrc-2021Q2-base:1.8
	pkgsrc-2021Q1:1.8.0.10
	pkgsrc-2021Q1-base:1.8
	pkgsrc-2020Q4:1.8.0.8
	pkgsrc-2020Q4-base:1.8
	pkgsrc-2020Q3:1.8.0.6
	pkgsrc-2020Q3-base:1.8
	pkgsrc-2020Q2:1.8.0.4
	pkgsrc-2020Q2-base:1.8
	pkgsrc-2020Q1:1.8.0.2
	pkgsrc-2020Q1-base:1.8
	pkgsrc-2019Q4:1.7.0.4
	pkgsrc-2019Q4-base:1.7
	pkgsrc-2019Q3:1.6.0.4
	pkgsrc-2019Q3-base:1.6
	pkgsrc-2019Q2:1.6.0.2
	pkgsrc-2019Q2-base:1.6
	pkgsrc-2019Q1:1.5.0.12
	pkgsrc-2019Q1-base:1.5
	pkgsrc-2018Q4:1.5.0.10
	pkgsrc-2018Q4-base:1.5
	pkgsrc-2018Q3:1.5.0.8
	pkgsrc-2018Q3-base:1.5
	pkgsrc-2018Q2:1.5.0.6
	pkgsrc-2018Q2-base:1.5
	pkgsrc-2018Q1:1.5.0.4
	pkgsrc-2018Q1-base:1.5
	pkgsrc-2017Q4:1.5.0.2
	pkgsrc-2017Q4-base:1.5
	pkgsrc-2017Q3:1.2.0.16
	pkgsrc-2017Q3-base:1.2
	pkgsrc-2017Q2:1.2.0.12
	pkgsrc-2017Q2-base:1.2
	pkgsrc-2017Q1:1.2.0.10
	pkgsrc-2017Q1-base:1.2
	pkgsrc-2016Q4:1.2.0.8
	pkgsrc-2016Q4-base:1.2
	pkgsrc-2016Q3:1.2.0.6
	pkgsrc-2016Q3-base:1.2
	pkgsrc-2016Q2:1.2.0.4
	pkgsrc-2016Q2-base:1.2
	pkgsrc-2016Q1:1.2.0.2
	pkgsrc-2016Q1-base:1.2;
locks; strict;
comment	@# @;


1.11
date	2025.01.30.12.01.27;	author wiz;	state Exp;
branches;
next	1.10;
commitid	PaxhfqxDqeoakvHF;

1.10
date	2023.08.14.05.24.44;	author wiz;	state Exp;
branches;
next	1.9;
commitid	LOSB79OLVxvXjIAE;

1.9
date	2021.12.08.16.05.21;	author adam;	state Exp;
branches;
next	1.8;
commitid	2PyWjHx5T8rqARjD;

1.8
date	2020.03.08.16.42.28;	author bsiegert;	state Exp;
branches;
next	1.7;
commitid	zwKxhaUg2qJlnCZB;

1.7
date	2019.11.03.19.04.03;	author rillig;	state Exp;
branches;
next	1.6;
commitid	puQpdVbj8afCdrJB;

1.6
date	2019.04.25.07.33.03;	author maya;	state Exp;
branches;
next	1.5;
commitid	1FEMQBEPb9uTxHkB;

1.5
date	2017.11.30.14.41.30;	author hauke;	state Exp;
branches;
next	1.4;
commitid	aByVdEDISbmvm4hA;

1.4
date	2017.11.29.16.34.40;	author hauke;	state Exp;
branches;
next	1.3;
commitid	mT5yhezanzI01XgA;

1.3
date	2017.11.29.15.13.31;	author hauke;	state Exp;
branches;
next	1.2;
commitid	KreWxqzpUlphzWgA;

1.2
date	2016.03.22.19.01.17;	author joerg;	state Exp;
branches;
next	1.1;
commitid	WgttvcgFzxPhFFZy;

1.1
date	2016.01.18.07.54.51;	author agc;	state Exp;
branches;
next	;
commitid	1iEIZr9Hu3nA1oRy;


desc
@@


1.11
log
@micropython: update to 1.24.1.

Fixes the build.

8 years of development, no summary found.
@
text
@# $NetBSD: Makefile,v 1.10 2023/08/14 05:24:44 wiz Exp $

DISTNAME=	micropython-1.24.1
CATEGORIES=	lang
MASTER_SITES=	http://micropython.org/resources/source/
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	agc@@NetBSD.org
HOMEPAGE=	https://micropython.org/
COMMENT=	Embedded version of Python 3
LICENSE=	mit

BUILD_DIRS=	mpy-cross ports/unix
TEST_DIRS=	ports/unix

# as of 1.24.1
# 899 tests performed (28325 individual testcases)
# 656 tests passed
# 79 tests skipped
TEST_TARGET=	test

USE_TOOLS+=	gmake pkg-config

INSTALLATION_DIRS=	bin

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/ports/unix/build-standard/micropython ${DESTDIR}${PREFIX}/bin

.include "../../devel/libffi/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/tool.mk"
.include "../../mk/bsd.pkg.mk"
@


1.10
log
@*: recursive bump for Python 3.11 as new default
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2021/12/08 16:05:21 adam Exp $
d3 1
a3 2
DISTNAME=	micropython-1.9.2
PKGREVISION=	6
d10 1
a10 1
COMMENT=	Embedded version of python 3
d13 2
a14 2
DIST_SUBDIR=	${PKGNAME_NOREV}
BUILD_DIRS=	unix
d16 5
a20 1
USE_TOOLS+=	pax gmake pkg-config
d22 1
a22 1
AUTO_MKDIRS=	yes
d24 1
a24 23
PYTHON_VERSIONS_INCOMPATIBLE=	27
PYTHON_FOR_BUILD_ONLY=		yes

MAKE_ENV+=	PYTHON=${PYTHONBIN:Q}
MAKE_ENV+=	MICROPY_CPYTHON3=${PYTHONBIN:Q}

REPLACE_PYTHON+=	tools/make-frozen.py
REPLACE_PYTHON+=	tests/run-tests

SUBST_CLASSES+=			fix-paths
SUBST_STAGE.fix-paths=		pre-configure
SUBST_MESSAGE.fix-paths=	Fixing absolute paths.
SUBST_FILES.fix-paths=		unix/main.c
SUBST_SED.fix-paths=		-e 's,%PREFIX%,${PREFIX},g'

pre-configure:
	cd ${WRKSRC}/lib/axtls && ${GMAKE} clean

pre-build:
	cd ${WRKSRC}/unix && ${GMAKE} axtls

do-test:
	cd ${WRKSRC}/unix && env ${MAKE_ENV} ${GMAKE} test
d27 1
a27 1
	${INSTALL_PROGRAM} ${WRKSRC}/unix/micropython ${DESTDIR}${PREFIX}/bin
d31 1
@


1.9
log
@revbump for icu and libffi
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2020/03/08 16:42:28 bsiegert Exp $
d4 1
a4 1
PKGREVISION=	5
@


1.8
log
@Revbump packages depending on libffi after .so version change.

Requested by Matthias Ferdinand and Oskar on pkgsrc-users.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2019/11/03 19:04:03 rillig Exp $
d4 1
a4 1
PKGREVISION=	4
@


1.7
log
@lang: align variable assignments

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

No manual corrections.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2019/04/25 07:33:03 maya Exp $
d4 1
a4 1
PKGREVISION=	3
@


1.6
log
@PKGREVISION bump for anything using python without a PYPKGPREFIX.

This is a semi-manual PKGREVISION bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2017/11/30 14:41:30 hauke Exp $
d22 1
a22 1
PYTHON_FOR_BUILD_ONLY=	yes
d30 5
a34 5
SUBST_CLASSES+=                 fix-paths
SUBST_STAGE.fix-paths=          pre-configure
SUBST_MESSAGE.fix-paths=        Fixing absolute paths.
SUBST_FILES.fix-paths=          unix/main.c
SUBST_SED.fix-paths=            -e 's,%PREFIX%,${PREFIX},g'
@


1.5
log
@Adjust default package path for pkgsrc build.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2017/11/29 16:34:40 hauke Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.4
log
@Clean up PLIST.

Since we install the one built file in the package Makefile, no need
to patch the dist install target.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2017/11/29 15:13:31 hauke Exp $
d4 1
a4 1
PKGREVISION=	1
d30 6
@


1.3
log
@Update lang/micropython to v1.9.2.

Changes are many, but upstream does not maintain a changelog.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2016/03/22 19:01:17 joerg Exp $
d4 1
@


1.2
log
@Requires Python for build. Fix UB on left shift of negative values.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2016/01/18 07:54:51 agc Exp $
d3 1
a3 1
DISTNAME=	micropython-1.5.2
d5 2
a6 2
MASTER_SITES=	${MASTER_SITE_GITHUB:=micropython/}
GITHUB_TAG=	v1.5.2
d10 1
a10 1
COMMENT=	Embedded version of python
d16 1
a16 1
USE_TOOLS+=	gmake pkg-config
d20 5
a24 1
MAKE_FLAGS+=	PYTHON=${PYTHONBIN}
d27 4
d32 8
a39 1
PYTHON_FOR_BUILD_ONLY=	yes
@


1.1
log
@Add micropython-1.5.2, a python 3.4 implementation, to the Packages Collection.

	This is the MicroPython project, which aims to put an implementation
	of Python 3.x on microcontrollers and small embedded systems.

	WARNING:  this project is in beta stage and is subject to changes of
	the code-base, including project-wide name changes and API changes.

	MicroPython implements the entire Python 3.4 syntax (including
	exceptions, "with", "yield from", etc.).  The following core datatypes
	are provided:  str (including basic Unicode support), bytes,
	bytearray, tuple, list, dict, set, frozenset, array.array,
	collections.namedtuple, classes and instances.  Builtin modules
	include sys, time, and struct.  Note that only subset of Python 3.4
	functionality is implemented for the data types and modules.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2015/12/05 21:26:09 adam Exp $
a12 1
WRKSRC=		${WRKDIR}/${DISTNAME}/unix
d14 1
d20 6
d27 1
a27 1

@

