File: drop-generate-import-lib-feature.patch

package info (click to toggle)
rpds-py 0.27.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 292 kB
  • sloc: python: 830; makefile: 7
file content (21 lines) | stat: -rw-r--r-- 683 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Colin Watson <cjwatson@debian.org>
Date: Thu, 9 Oct 2025 01:01:25 +0100
Subject: Drop generate-import-lib feature

It's only needed for Windows, and isn't in Debian's pyo3 package.
---
 Cargo.toml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml
index a7e5928..1663947 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,6 +13,4 @@ archery = "1.2.1"
 
 [dependencies.pyo3]
 version = "0.25.1"
-# To build extension for PyPy on Windows, "generate-import-lib" is needed:
-# https://github.com/PyO3/maturin-action/issues/267#issuecomment-2106844429
-features = ["extension-module", "generate-import-lib"]
+features = ["extension-module"]