File: use-python-jid-not-rust.patch

package info (click to toggle)
slixmpp 1.11.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,384 kB
  • sloc: python: 41,133; xml: 1,183; makefile: 120
file content (28 lines) | stat: -rw-r--r-- 739 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
22
23
24
25
26
27
28
Description: Stay with Python implementation of JID, Rust needs new crate
Origin: upstream
Bug-Debian: https://bugs.debian.org/1099131
Last-Update: 2025-03-26
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -40,17 +40,8 @@
 xep-0454 = ["cryptography"]
 safer-xml-parsing = ["defusedxml"]
 
-[tool.maturin]
-module-name = "slixmpp.jid"
-python-packages = ["slixmpp"]
-python-source = "."
-
-[tool.uv]
-cache-keys = [{file = "pyproject.toml"}, {file = "rust/Cargo.toml"}, {file = "**/*.rs"}]
-
-[build-system]
-requires = ["maturin>=1.0,<2.0"]
-build-backend = "maturin"
+[tool.setuptools.packages.find]
+include = ["slixmpp"]
 
 [dependency-groups]
 dev = ["mypy>=1.14.1"]