[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70858] [PATCH 19/32] gnu: python-immutables: Remove python-mypy nat
From: |
Nicolas Graves |
Subject: |
[bug#70858] [PATCH 19/32] gnu: python-immutables: Remove python-mypy native-input. |
Date: |
Fri, 10 May 2024 09:55:23 +0200 |
* gnu/packages/python-xyz.scm (python-immutables):
[origin]: Use git-fetch to use upstream test-data directory.
[build-system]: Move to pyrpoject-build-system.
[native-inputs]: Remove python-mypy.
[arguments]<#:phases>: Add phase to remove python-mypy native-input.
Change-Id: Ie67f634ffecbc3711f354e915b2fab54a1639925
---
gnu/packages/python-xyz.scm | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index dd2b35eb35d..6fc3f0dbb06 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15819,13 +15819,21 @@ (define-public python-immutables
(version "0.18")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "immutables" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/MagicStack/immutables")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1x4cinh0xbl6p6p2yfm2s07mxxy3lf0zzai9gqpydk4482bwfdjk"))))
+ (base32 "1xjbkgls0dqrvpg4yzkdzz6aayizxcv5chjc5gyynk196wyshw4m"))))
(build-system pyproject-build-system)
- (native-inputs (list python-mypy python-pytest
- python-setuptools python-wheel))
+ (arguments
+ (list #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-mypy-dependency
+ (lambda _
+ (delete-file "tests/test_mypy.py")
+ (delete-file "tests/conftest.py"))))))
+ (native-inputs (list python-pytest python-setuptools python-wheel))
(home-page "https://github.com/MagicStack/immutables")
(synopsis "High-performance immutable mapping type for Python")
(description
--
2.41.0
- [bug#70858] [PATCH 13/32] gnu: python-versioneer: Remove python-pycodestyle native-input., (continued)
- [bug#70858] [PATCH 13/32] gnu: python-versioneer: Remove python-pycodestyle native-input., Nicolas Graves, 2024/05/10
- [bug#70858] [PATCH 12/32] build-system/pyproject: Remove python-pycodestyle native-input., Nicolas Graves, 2024/05/10
- [bug#70858] [PATCH 24/32] gnu: python-django-contact-form: Remove python-pytest-cov native-input., Nicolas Graves, 2024/05/10
- [bug#70858] [PATCH 22/32] build-system/pyproject: Remove python-pytest-cov native-input., Nicolas Graves, 2024/05/10
- [bug#70858] [PATCH 32/32] gnu: abjad-ext-ipython: Remove uneeded inputs., Nicolas Graves, 2024/05/10
- [bug#70858] [PATCH 28/32] build-system/pyproject: Remove python-pytest-flake8 native-input., Nicolas Graves, 2024/05/10
- [bug#70858] [PATCH 02/32] build-system/pyproject: Ignore unwanted pytest flags., Nicolas Graves, 2024/05/10
- [bug#70858] [PATCH 05/32] build-system/pyproject: Remove python-flake8 inputs., Nicolas Graves, 2024/05/10
- [bug#70858] [PATCH 07/32] gnu: python-cram: Remove python-coverage native-input., Nicolas Graves, 2024/05/10
- [bug#70858] [PATCH 06/32] build-system/pyproject: Remove python-coverage input., Nicolas Graves, 2024/05/10
- [bug#70858] [PATCH 19/32] gnu: python-immutables: Remove python-mypy native-input.,
Nicolas Graves <=
- [bug#70858] [PATCH 26/32] build-system/pyproject: Remove python-pytest-isort native-input., Nicolas Graves, 2024/05/10
- [bug#70858] [PATCH 29/32] build-system/pyproject: Remove python-pytest-mypy inputs., Nicolas Graves, 2024/05/10