head	1.24;
access;
symbols
	pkgsrc-2026Q1:1.23.0.6
	pkgsrc-2026Q1-base:1.23
	pkgsrc-2025Q4:1.23.0.4
	pkgsrc-2025Q4-base:1.23
	pkgsrc-2025Q3:1.23.0.2
	pkgsrc-2025Q3-base:1.23
	pkgsrc-2025Q2:1.22.0.2
	pkgsrc-2025Q2-base:1.22
	pkgsrc-2025Q1:1.21.0.4
	pkgsrc-2025Q1-base:1.21
	pkgsrc-2024Q4:1.21.0.2
	pkgsrc-2024Q4-base:1.21
	pkgsrc-2024Q3:1.19.0.2
	pkgsrc-2024Q3-base:1.19
	pkgsrc-2024Q2:1.18.0.4
	pkgsrc-2024Q2-base:1.18
	pkgsrc-2024Q1:1.18.0.2
	pkgsrc-2024Q1-base:1.18
	pkgsrc-2023Q4:1.17.0.2
	pkgsrc-2023Q4-base:1.17
	pkgsrc-2023Q3:1.14.0.2
	pkgsrc-2023Q3-base:1.14
	pkgsrc-2023Q2:1.13.0.2
	pkgsrc-2023Q2-base:1.13
	pkgsrc-2023Q1:1.11.0.4
	pkgsrc-2023Q1-base:1.11
	pkgsrc-2022Q4:1.11.0.2
	pkgsrc-2022Q4-base:1.11
	pkgsrc-2022Q3:1.10.0.2
	pkgsrc-2022Q3-base:1.10
	pkgsrc-2022Q2:1.6.0.2
	pkgsrc-2022Q2-base:1.6
	pkgsrc-2022Q1:1.5.0.2
	pkgsrc-2022Q1-base:1.5
	pkgsrc-2021Q4:1.1.0.18
	pkgsrc-2021Q4-base:1.1
	pkgsrc-2021Q3:1.1.0.16
	pkgsrc-2021Q3-base:1.1
	pkgsrc-2021Q2:1.1.0.14
	pkgsrc-2021Q2-base:1.1
	pkgsrc-2021Q1:1.1.0.12
	pkgsrc-2021Q1-base:1.1
	pkgsrc-2020Q4:1.1.0.10
	pkgsrc-2020Q4-base:1.1
	pkgsrc-2020Q3:1.1.0.8
	pkgsrc-2020Q3-base:1.1
	pkgsrc-2020Q2:1.1.0.6
	pkgsrc-2020Q2-base:1.1
	pkgsrc-2020Q1:1.1.0.2
	pkgsrc-2020Q1-base:1.1
	pkgsrc-2019Q4:1.1.0.4
	pkgsrc-2019Q4-base:1.1;
locks; strict;
comment	@# @;


1.24
date	2026.03.27.09.06.02;	author adam;	state Exp;
branches;
next	1.23;
commitid	8uthNMalpsk6PAzG;

1.23
date	2025.08.31.10.24.56;	author wiz;	state Exp;
branches;
next	1.22;
commitid	u9aP8g6Qw7iIWR8G;

1.22
date	2025.04.12.11.52.49;	author adam;	state Exp;
branches;
next	1.21;
commitid	hvLO3QE61AGKXKQF;

1.21
date	2024.11.11.07.28.23;	author wiz;	state Exp;
branches;
next	1.20;
commitid	1fBDq3LwS98NncxF;

1.20
date	2024.10.03.08.41.44;	author adam;	state Exp;
branches;
next	1.19;
commitid	PnY7Y601L5RU2csF;

1.19
date	2024.08.05.05.37.32;	author adam;	state Exp;
branches;
next	1.18;
commitid	n3qxco2HBegeVAkF;

1.18
date	2024.02.25.15.22.28;	author wiz;	state Exp;
branches;
next	1.17;
commitid	cHMclNtk89jRmPZE;

1.17
date	2023.10.31.20.22.54;	author adam;	state Exp;
branches;
next	1.16;
commitid	R2tu7kd7sMu3NOKE;

1.16
date	2023.10.28.19.57.06;	author wiz;	state Exp;
branches;
next	1.15;
commitid	jP8MYROLWZ3yJqKE;

1.15
date	2023.10.26.13.08.49;	author adam;	state Exp;
branches;
next	1.14;
commitid	d3BO8LNMmXj1y8KE;

1.14
date	2023.08.23.05.32.00;	author adam;	state Exp;
branches;
next	1.13;
commitid	qSyani4Qr7KP4SBE;

1.13
date	2023.06.06.12.41.14;	author riastradh;	state Exp;
branches;
next	1.12;
commitid	xhspr6Z8JLQOWSrE;

1.12
date	2023.04.30.18.27.26;	author wiz;	state Exp;
branches;
next	1.11;
commitid	ahWYwDgfYjNa4anE;

1.11
date	2022.09.26.18.50.35;	author adam;	state Exp;
branches;
next	1.10;
commitid	RfTneJVGMEWv8pVD;

1.10
date	2022.08.22.06.52.22;	author adam;	state Exp;
branches;
next	1.9;
commitid	1rvWXp3SdcANhQQD;

1.9
date	2022.08.10.13.53.25;	author adam;	state Exp;
branches;
next	1.8;
commitid	n2OFDUtpikw80lPD;

1.8
date	2022.07.06.07.26.31;	author adam;	state Exp;
branches;
next	1.7;
commitid	oaEK9GjGjqbhZNKD;

1.7
date	2022.07.05.08.12.00;	author adam;	state Exp;
branches;
next	1.6;
commitid	5AZlwZOmT3OGgGKD;

1.6
date	2022.04.27.09.41.34;	author adam;	state Exp;
branches;
next	1.5;
commitid	Ku1dN40cuO32ZOBD;

1.5
date	2022.02.23.23.23.06;	author wiz;	state Exp;
branches;
next	1.4;
commitid	aANO8vrYHGluyNtD;

1.4
date	2022.02.23.08.48.27;	author wiz;	state Exp;
branches;
next	1.3;
commitid	cTZ67FdNwJXtIItD;

1.3
date	2022.02.23.08.22.46;	author adam;	state Exp;
branches;
next	1.2;
commitid	zwhM6q4nKxbtzItD;

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

1.1
date	2019.12.16.01.12.28;	author minskim;	state Exp;
branches;
next	;
commitid	8X3uyX4wRSHpUROB;


desc
@@


1.24
log
@py-setuptools-rust: updated to 1.12.1

1.12.1 (2026-03-26)
- Migrate to trusted publishing.
- Strip target suffix for cargo-zigbuild compatibility.
@
text
@# $NetBSD: Makefile,v 1.23 2025/08/31 10:24:56 wiz Exp $

DISTNAME=	setuptools_rust-1.12.1
PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/_/-/}
CATEGORIES=	devel python
MASTER_SITES=	${MASTER_SITE_PYPI:=s/setuptools-rust/}

MAINTAINER=	minskim@@NetBSD.org
HOMEPAGE=	https://github.com/PyO3/setuptools-rust
COMMENT=	Setuptools plugin for Rust support
LICENSE=	mit

TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools_scm>=6.3.2:../../devel/py-setuptools_scm
DEPENDS+=	${PYPKGPREFIX}-semantic_version>=2.8.2:../../devel/py-semantic_version
DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools

USE_LANGUAGES=	# none

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


1.23
log
@py-setuptools-rust: update to 1.12.0.

## 1.12.0 (2025-08-29)
- Set `PYO3_BUILD_EXTENSION_MODULE` environment variable when
building PyO3 extensions.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2025/04/12 11:52:49 adam Exp $
d3 1
a3 1
DISTNAME=	setuptools_rust-1.12.0
@


1.22
log
@py-setuptools-rust: updated to 1.11.1

1.11.1 (2025-04-04)
Fixed
- Fix finding cargo artifacts when filenames are empty.

1.11.0 (2025-03-14)
Packaging
- Drop support for Python 3.8.
- Support free-threaded Python.
- Support adding custom env vars.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2024/11/11 07:28:23 wiz Exp $
d3 1
a3 1
DISTNAME=	setuptools_rust-1.11.1
@


1.21
log
@py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2024/10/03 08:41:44 adam Exp $
d3 1
a3 1
DISTNAME=	setuptools_rust-1.10.2
d15 1
a15 1
DEPENDS+=	${PYPKGPREFIX}-setuptools>=62.4:../../devel/py-setuptools
@


1.20
log
@py-setuptools-rust: updated to 1.10.2

1.10.2 (2024-10-02)
Fixed
- Fix deprecation warning from use of `wheel.bdist_wheel`.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2024/08/05 05:37:32 adam Exp $
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
@


1.19
log
@py-setuptools-rust: updated to 1.10.1

1.10.1 (2024-08-04)
Fixed
- Fix regression in 1.10.0 where editable builds would be built in release mode

1.10.0 (2024-08-03)
Packaging
- Extend macOS build flags to iOS, tvOS and watchOS.
- Support Python 3.13.

Changed
- Add `SETUPTOOLS_RUST_PEP517_USE_BASE_PYTHON` environment variable to use the base interpreter path when running inside a virtual environment to avoid recompilation when switching between virtual environments.
- Delay import of dependencies until use to avoid import errors during a partially complete install when multiple packages are installing at once.
- Deprecate `--build-temp` argument to `build_rust` command (it does nothing).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2024/02/25 15:22:28 wiz Exp $
d3 1
a3 1
DISTNAME=	setuptools_rust-1.10.1
a19 2
PYTHON_VERSIONS_INCOMPATIBLE=	27

@


1.18
log
@py-setuptools-rust: update to 1.9.0.

## 1.9.0 (2024-02-24)
### Changed
- Deprecate `py_limited_api` option to `RustExtension` in favour
of always using `"auto"` to configure this from `bdist_wheel`.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2023/10/31 20:22:54 adam Exp $
d3 2
a4 2
DISTNAME=	setuptools-rust-1.9.0
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
a16 1
DEPENDS+=	${PYPKGPREFIX}-typing-extensions>=3.7.4.3:../../devel/py-typing-extensions
a21 5
.include "../../lang/python/pyversion.mk"
.if ${PYTHON_VERSION} < 311
DEPENDS+=	${PYPKGPREFIX}-tomli>=1.2.1:../../textproc/py-tomli
.endif

@


1.17
log
@py-setuptools-rust: updated to 1.8.1

1.8.1 (2023-10-30)
Fixed
- Fix regression in `install_extension` crashing since 1.8.0.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2023/10/28 19:57:06 wiz Exp $
d3 1
a3 1
DISTNAME=	setuptools-rust-1.8.1
@


1.16
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.15 2023/10/26 13:08:49 adam Exp $
d3 1
a3 1
DISTNAME=	setuptools-rust-1.8.0
a4 1
PKGREVISION=	1
@


1.15
log
@py-setuptools-rust: updated to 1.8.0

1.8.0 (2023-10-26)

Packaging
- Drop support for Python 3.7.
- Remove direct imports from `pkg_resources`.

Added
- Add support for setting a custom cargo profile with the `SETUPTOOLS_RUST_CARGO_PROFILE` environment variable.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2023/08/23 05:32:00 adam Exp $
d5 1
@


1.14
log
@py-setuptools-rust: updated to 1.7.0

1.7.0 (2023-08-22)

Packaging
- Remove direct imports from `distutils`.
- Include `py.typed` when packaging to denote that setuptools-rust includes type hints.

Added
- Add support for `pyproject.toml` configuration using `[tool.setuptools-rust]` options.

Fixed
- Fix `plat_name` handling in the case `bdist_wheel.plat_name` is set via configuration file (e.g., `setup.cfg`).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2023/06/06 12:41:14 riastradh Exp $
d3 1
a3 1
DISTNAME=	setuptools-rust-1.7.0
@


1.13
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.12 2023/04/30 18:27:26 wiz Exp $
d3 1
a3 1
DISTNAME=	setuptools-rust-1.6.0
d13 2
d18 2
a19 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools_scm>=6.3.2:../../devel/py-setuptools_scm
d23 4
a26 1
USE_LANGUAGES=	# none
d28 1
a28 1
.include "../../lang/python/egg.mk"
@


1.12
log
@py-setuptools-rust: update to 1.6.0.

## 1.6.0 (2023-04-27)
### Changed
- Prefer passing `--crate-type` option to cargo if "toolchain >= 1.64". [#322](https://github.com/PyO3/setuptools-rust/pull/322)

### Fixed
- Fix a bug where rebuilding the library would cause any running processes using it to segfault. [#295](https://github.com/PyO3/setuptools-rust/pull/295)
- Fix `setup.cfg` format for compatibility with "poetry==1.4.0". [#319](https://github.com/PyO3/setuptools-rust/pull/319)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2022/09/26 18:50:35 adam Exp $
d16 1
a16 1
BUILD_DEPENDS+=	${PYPKGPREFIX}-setuptools_scm>=6.3.2:../../devel/py-setuptools_scm
@


1.11
log
@py-setuptools-rust: updated to 1.5.2

1.5.2
Fixed
- Fix regression in `dylib` build artifacts not being found since 1.5.0.
- Fix regression in sdist missing examples and other supplementary files since 1.5.0.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2022/08/22 06:52:22 adam Exp $
d3 1
a3 1
DISTNAME=	setuptools-rust-1.5.2
@


1.10
log
@py-setuptools-rust: updated to 1.5.1

1.5.1 (2022-08-14)
Fixed
- Fix regression in `get_lib_name` crashing since 1.5.0.
- Fix regression in `Binding.Exec` builds with multiple executables not finding built executables since 1.5.0.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2022/08/10 13:53:25 adam Exp $
d3 1
a3 1
DISTNAME=	setuptools-rust-1.5.1
@


1.9
log
@py-setuptools-rust: updated to 1.5.0

1.5.0

Added
- Add support for extension modules built for wasm32-unknown-emscripten with Pyodide.

Changed
- Locate cdylib artifacts by handling messages from cargo instead of searching target dir (fixes build on MSYS2).
- No longer guess cross-compile environment using `HOST_GNU_TYPE` / `BUILD_GNU_TYPE` sysconfig variables.

Fixed
- Fix RustBin build without wheel.
- Fix RustBin setuptools install
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2022/07/06 07:26:31 adam Exp $
d3 1
a3 1
DISTNAME=	setuptools-rust-1.5.0
@


1.8
log
@py-setuptools-rust: updated to 1.4.1

v1.4.1
Fix crash when checking Rust version.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2022/07/05 08:12:00 adam Exp $
d3 1
a3 1
DISTNAME=	setuptools-rust-1.4.1
@


1.7
log
@py-setuptools-rust: updated to 1.4.0

1.4.0 (2022-07-05)

Packaging
- Increase minimum `setuptools` version to 62.4.

Added
- Add `cargo_manifest_args` to support locked, frozen and offline builds.
- Add `RustBin` for packaging binaries in scripts data directory.

Changed
- `Exec` binding `RustExtension` with `script=True` is deprecated in favor of `RustBin`.
- Errors while calling `cargo metadata` are now reported back to the user
- `quiet` option will now suppress output of `cargo metadata`.
- `setuptools-rust` will now match `cargo` behavior of not setting `--target` when the selected target is the rust host.
- Deprecate `native` option of `RustExtension`.

Fixed
- If the sysconfig for `BLDSHARED` has no flags, `setuptools-rust` won't crash anymore.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2022/04/27 09:41:34 adam Exp $
d3 1
a3 1
DISTNAME=	setuptools-rust-1.4.0
@


1.6
log
@py-setuptools-rust: updated to 1.3.0

1.3.0 (2022-04-26)

Packaging
- Increase minimum `setuptools` version to 58.

Fixed
- Fix crash when `python-distutils-extra` linux package is installed.
- Fix sdist built with vendored dependencies on Windows having incorrect cargo config.

1.2.0 (2022-03-22)
Packaging
- Drop support for Python 3.6.

Added
- Add support for `kebab-case` executable names.
- Add support for custom cargo profiles.

Fixed
- Fix building macOS arm64 wheel with cibuildwheel.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2022/02/23 23:23:06 wiz Exp $
d3 1
a3 1
DISTNAME=	setuptools-rust-1.3.0
d14 1
a14 1
DEPENDS+=	${PYPKGPREFIX}-setuptools>=46.1:../../devel/py-setuptools
@


1.5
log
@py-setuptools-rust: mark as not for python 2.7

Dependencies in new enough versions are not available for it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2022/02/23 08:48:27 wiz Exp $
d3 1
a3 1
DISTNAME=	setuptools-rust-1.1.2
@


1.4
log
@py-setuptools-rust: add missing build dependency; fix path
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2022/02/23 08:22:46 adam Exp $
d18 2
@


1.3
log
@py-setuptools-rust: updated to 1.1.2

1.1.2 (2021-12-05)

Changed

Removed dependency on tomli to simplify installation.
Improve error messages on invalid inputs to rust_extensions keyword.


1.1.1 (2021-12-01)

Fixed

Fix regression from setuptools-rust 1.1.0 which broke builds for the x86_64-unknown-linux-musl target.
Fix --target command line option being unable to take a value.
Fix regression from setuptools-rust 1.0.0 which broke builds on arm64 macos conda builds.
Fix regression from setuptools-rust 1.1.0 which incorrectly converted library extension suffixes to the "abi3" suffix when py_limited_api was unspecified.


1.1.0 (2021-11-30)

Added

Add support for cross-compiling using cross.

Fixed

Fix incompatibility with Python 3.6.0 using default values for NamedTuple classes.
Stop forcing the msvc Rust toolchain for Windows environments using the gnu toolchain.



1.0.0 (2021-11-21)

Added

Add --target command line option for specifying target triple.
Add new default "auto" setting for RustExtension.py_limited_api.
Support very verbose cargo build.rs output.

Changed

Switch to tomli dependency.

Removed

Remove test_rust command. (python setup.py test is deprecated.)
Remove check_rust command.
Move tomlgen_rust command to separate setuptools-rust-tomlgen package.

Fixed

Use info from sysconfig when cross-compiling.
Put Rust extension module binary under build/lib.* directory.
Fix Exec binding with console scripts.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2022/01/04 20:53:38 wiz Exp $
d14 1
a14 1
DEPENDS+=	${PYPKGPREFIX}-setuptools>=46.1:../../devel/py-semantic_version
d16 1
@


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 2019/12/16 01:12:28 minskim Exp $
d3 1
a3 1
DISTNAME=	setuptools-rust-0.10.6
d5 2
a6 5
PKGREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GITHUB:=PyO3/}
GITHUB_PROJECT=	setuptools-rust
GITHUB_TAG=	v${PKGVERSION_NOREV}
d13 5
a17 2
DEPENDS+=	${PYPKGPREFIX}-semantic_version>=2.6.0:../../devel/py-semantic_version
DEPENDS+=	${PYPKGPREFIX}-toml>=0.9.0:../../textproc/py-toml
@


1.1
log
@devel/py-setuptools-rust: Import version 0.10.6

Setuptools helpers for rust Python extensions implemented with PyO3
and rust-cpython.
@
text
@d1 1
a1 1
# $NetBSD$
d5 1
@

