forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request NixOS#337099 from sarahec/scalene-src-build
- Loading branch information
Showing
3 changed files
with
96 additions
and
10 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
pkgs/development/python-modules/scalene/01-manifest-no-git.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
From 4e25ccee2f1eeed1dfdd9356b4fde511a48d9f01 Mon Sep 17 00:00:00 2001 | ||
From: Sarah Clark <[email protected]> | ||
Date: Sat, 24 Aug 2024 11:32:38 -0700 | ||
Subject: [PATCH] Update MANIFEST.in to remove .git references | ||
|
||
--- | ||
MANIFEST.in | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/MANIFEST.in b/MANIFEST.in | ||
index 5ebcb7781..7340b1982 100644 | ||
--- a/MANIFEST.in | ||
+++ b/MANIFEST.in | ||
@@ -1,5 +1,5 @@ | ||
graft vendor/Heap-Layers | ||
-prune vendor/Heap-Layers/.git | ||
+# prune vendor/Heap-Layers/.git | ||
graft vendor/printf | ||
-prune vendor/printf/.git | ||
+# prune vendor/printf/.git | ||
exclude scalene/old/* | ||
|
||
-- |
23 changes: 23 additions & 0 deletions
23
pkgs/development/python-modules/scalene/02-pyproject-unpin-setuptools.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
From 777be9c46c4caed5f3fcde65b70ada4d773f4298 Mon Sep 17 00:00:00 2001 | ||
From: Sarah Clark <[email protected]> | ||
Date: Sat, 24 Aug 2024 11:26:30 -0700 | ||
Subject: [PATCH] Unpin setuptools | ||
|
||
--- | ||
pyproject.toml | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/pyproject.toml b/pyproject.toml | ||
index d17d12dc8..6bf1c7a38 100644 | ||
--- a/pyproject.toml | ||
+++ b/pyproject.toml | ||
@@ -54,7 +54,7 @@ scalene = "scalene.__main__:main" | ||
[build-system] | ||
build-backend = "setuptools.build_meta" | ||
requires = [ | ||
- "setuptools>=65.5.1,<71.0", # Pin to setuptools<71.0 to avoid this bug: https://github.com/pypa/setuptools/issues/4496 | ||
+ "setuptools>=65.5.1", | ||
"setuptools_scm>=8", | ||
"wheel", | ||
"cython", | ||
-- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters