void-packages/srcpkgs/python3-jsonschema/patches/0002-don-t-install-tests-an...

31 lines
725 B
Diff

From f44c0f8600c01a97f0a093adeb446b7c68511a33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
<jan.christian@gruenhage.xyz>
Date: Wed, 14 Sep 2022 10:48:39 +0200
Subject: [PATCH 2/2] don't install tests and benchmarks
---
pyproject.toml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/pyproject.toml b/pyproject.toml
index 7ae8318..9dfc3ef 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -5,6 +5,12 @@ build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
+[tool.hatch.build]
+exclude = [
+ "jsonschema/tests",
+ "jsonschema/benchmarks",
+]
+
[project]
name = "jsonschema"
description = "An implementation of JSON Schema validation for Python"
--
2.37.3