mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
gnu: Drop setting SETUPTOOLS_SCM_PRETEND_VERSION in some packages.
* gnu/packages/astronomy.scm (python-asdf-compression) (python-asdf-fits-schemas, python-cdflib, python-sunkit-spex): * gnu/packages/bioinformatics.scm (python-whatshap, python-mudata) (python-pyfaidx, python-ctxcore, scvelo): * gnu/packages/bootloaders.scm (dtc): * gnu/packages/check.scm (python-pytest-xdist, python-pytest-forked): * gnu/packages/databases.scm (python-fastparquet): * gnu/packages/disk.scm (greaseweazle-host-tools): * gnu/packages/docker.scm (python-docker): * gnu/packages/finance.scm (python-ledgerblue): * gnu/packages/fontutils.scm (python-compreffor) (python-defcon-bootstrap, nototools): * gnu/packages/games.scm (sc-controller): * gnu/packages/machine-learning.scm (python-botorch): * gnu/packages/music.scm (python-pylast): * gnu/packages/package-management.scm (conda): * gnu/packages/python-build.scm (python-exceptiongroup): * gnu/packages/python-science.scm (python-dask-image) (python-distributed, python-osqp): * gnu/packages/python-web.scm (python-branca, python-smart-open): * gnu/packages/python-xyz.scm (python-conda-content-trust) (python-menuinst, python-isort, python-pyclibrary) (python-pyclipper, python-csb43-0.10, python-orgparse) (python-deepmerge, python-scooby, python-uuid6): * gnu/packages/radio.scm (nanovna-saver): * gnu/packages/sphinx.scm (python-sphinx-autodoc-typehints): [arguments]: Remove phases setting SETUPTOOLS_SCM_PRETEND_VERSION. * gnu/packages/python-xyz.scm (python-bagit) [arguments]: Refactor manual 'check phase into #:test-flags. Change-Id: I0713d6603f982a7f956d02fc3b85a384f4dd6ce4 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
ce72716b88
commit
5be1f7a8cd
27 changed files with 52 additions and 675 deletions
|
|
@ -2296,13 +2296,6 @@ Astropy objects.")
|
|||
(sha256
|
||||
(base32 "0fd2d5raglp1nwjy0hr3kckk518xrph451zymlw58jgwg5l1vq3m"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(native-inputs
|
||||
(list python-numpy
|
||||
python-pytest
|
||||
|
|
@ -2377,12 +2370,7 @@ implementation package such as asdf-astropy.")
|
|||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:tests? #f ; cycle with python-asdf
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" "0.0.1"))))))
|
||||
#:tests? #f)) ; cycle with python-asdf
|
||||
(native-inputs
|
||||
(list python-setuptools
|
||||
python-setuptools-scm
|
||||
|
|
@ -3727,9 +3715,6 @@ bad pixel tracking throughout the reduction process.")
|
|||
(lambda _
|
||||
(substitute* "pyproject.toml"
|
||||
((" --cov=cdflib --cov-report=xml") ""))))
|
||||
(add-before 'build 'set-env-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
|
||||
(add-before 'check 'set-home-env
|
||||
(lambda _
|
||||
(setenv "HOME" (getcwd)))))))
|
||||
|
|
@ -4039,14 +4024,7 @@ lens models possibly obtained from different modeling codes.")
|
|||
(sha256
|
||||
(base32 "0rnp1myhilkcr7mnv6x3cmxqjn0adgmb89crszn536qphsisyc35"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
;; tests: 51 passed
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-env-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
;; tests: 51 passed
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
python-scipy
|
||||
|
|
@ -4396,9 +4374,6 @@ help you search, obtain and use DKIST data as part of your Python software.")
|
|||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-env-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
|
||||
(add-before 'check 'build-extensions
|
||||
(lambda _
|
||||
;; Cython extensions have to be built before running the tests.
|
||||
|
|
@ -4689,14 +4664,7 @@ tools for astronomers.")
|
|||
(sha256
|
||||
(base32 "0g548pca43iwpq1641w3jzrb3rk2kqjf5gcjbcymfpdif1982zv2"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
;; tests: 163 passed, 3 skipped, 4 xfailed
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-env-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
;; tests: 163 passed, 3 skipped, 4 xfailed
|
||||
(native-inputs
|
||||
(list python-cython
|
||||
python-numpy
|
||||
|
|
@ -4764,14 +4732,6 @@ exitinction laws found in the literature.")
|
|||
(sha256
|
||||
(base32 "0lj8vb3b2s7m56bs4am6856w8vdlyi4p86gj7hlkncfngsgx1f8v"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-env-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
|
||||
#$(version-major+minor+point version)))))))
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
python-setuptools
|
||||
|
|
@ -5202,9 +5162,6 @@ across many files.")
|
|||
(substitute* "pyproject.toml"
|
||||
;; ipython>=4.0,<9.0
|
||||
((">=4.0,<9\\.0") ">=4.0"))))
|
||||
(add-before 'build 'set-env-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
|
||||
(add-before 'check 'prepare-x
|
||||
(lambda _
|
||||
(system "Xvfb &")
|
||||
|
|
@ -6237,9 +6194,6 @@ supports only the basic features of the original.")
|
|||
#:tests? #f
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
|
||||
(add-after 'unpack 'relax-requirements
|
||||
(lambda _
|
||||
(substitute* "pyproject.toml"
|
||||
|
|
@ -6600,10 +6554,7 @@ Astronomy.")
|
|||
(substitute* "pyproject.toml"
|
||||
(("'ipywidgets',") "")
|
||||
(("'jupyter',") "")
|
||||
(("'notebook',") ""))))
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(("'notebook',") "")))))))
|
||||
(native-inputs
|
||||
(list python-cython
|
||||
python-hatch-vcs
|
||||
|
|
@ -7460,9 +7411,6 @@ N-Chilada and RAMSES AMR outputs.")
|
|||
(substitute* "setup.cfg"
|
||||
((".*pypeit_install_ql_calibs.*") "")
|
||||
((".*pypeit_ql_multislit.*") ""))))
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
|
||||
(add-after 'install 'include-package-data
|
||||
;; XXX: PyPI archive provides pypeit/data but during build from
|
||||
;; Git it's ignored for some reason, add it manually.
|
||||
|
|
@ -7801,10 +7749,7 @@ natively in Siril.")
|
|||
(lambda _
|
||||
(substitute* "pyproject.toml"
|
||||
(("scipy < 1.15") "scipy")
|
||||
(("numpy < 2") "numpy")))) ; no constain on master branch
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(("numpy < 2") "numpy"))))))) ; no constain on master branch
|
||||
(native-inputs
|
||||
(list nss-certs-for-test
|
||||
python-hatch-vcs
|
||||
|
|
@ -7859,9 +7804,6 @@ memory usage, improving performance and run in parallel with MPI.")
|
|||
;; tests: 189 passed, 213 skipped, 3 xfailed
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" "2.0.0")))
|
||||
(add-before 'check 'set-env-data-path
|
||||
(lambda _
|
||||
(setenv "PYSYN_CDBS" (string-append #$output "/crds")))))))
|
||||
|
|
@ -7908,9 +7850,6 @@ spectra, and data.")
|
|||
#~(list "--pyargs" "pyvo")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
|
||||
(add-after 'install 'include-package-data
|
||||
;; FIXME: Check why pyproject-build-system ignores coping some
|
||||
;; package data files during build/install phases.
|
||||
|
|
@ -8396,13 +8335,7 @@ pipelines.")
|
|||
"romancal/source_catalog/tests/test_source_catalog.py"
|
||||
"romancal/stpipe/tests/test_core.py"))
|
||||
;; SystemExit: -1
|
||||
"-k" "not test_inject_sources and not test_grid_injection")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
|
||||
#$(version-major+minor+point version)))))))
|
||||
"-k" "not test_inject_sources and not test_grid_injection")))
|
||||
(native-inputs
|
||||
(list nss-certs-for-test
|
||||
python-ci-watson
|
||||
|
|
@ -8599,13 +8532,7 @@ well as ephemerides services
|
|||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-flags #~(list "test.py")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
|
||||
#$(package-version this-package)))))))
|
||||
#:test-flags #~(list "test.py")))
|
||||
(native-inputs
|
||||
(list python-cython
|
||||
python-pytest
|
||||
|
|
@ -9092,9 +9019,6 @@ owners/operators, academia and other entities.")
|
|||
"-k" "not test_init_line_list")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
|
||||
(add-before 'check 'set-home
|
||||
(lambda _
|
||||
;; Relax matplotlib warning: ... because the default path
|
||||
|
|
@ -9286,7 +9210,6 @@ about the underlying principles, see
|
|||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'preparations
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)
|
||||
;; Use our own libraries in place of bundles.
|
||||
(setenv "USE_SYSTEM_QD" "1"))))))
|
||||
(native-inputs
|
||||
|
|
@ -9345,8 +9268,7 @@ spherical polygons that represent arbitrary regions of the sky.")
|
|||
(display
|
||||
(string-append "__version__ = \""
|
||||
#$(package-version this-package)
|
||||
"\""))))
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
"\"")))))))))
|
||||
(native-inputs
|
||||
(list python-cython
|
||||
python-extension-helpers
|
||||
|
|
@ -9717,13 +9639,7 @@ Telescope Science Institute} image array manipulation functions.")
|
|||
(arguments
|
||||
(list
|
||||
#:test-flags
|
||||
#~(list "--pyargs" "stsci.imagestats")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
|
||||
#$(version-major+minor+point version)))))))
|
||||
#~(list "--pyargs" "stsci.imagestats")))
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
python-setuptools
|
||||
|
|
@ -10076,13 +9992,7 @@ and @code{astropy}.")
|
|||
(list
|
||||
;; TODO: tests require some remove data, findout how to run bare minmal
|
||||
;; unit tests withou it.
|
||||
#:tests? #f
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
|
||||
#$(version-major+minor+point version)))))))
|
||||
#:tests? #f))
|
||||
(native-inputs
|
||||
(list python-setuptools
|
||||
python-setuptools-scm))
|
||||
|
|
|
|||
|
|
@ -4420,9 +4420,6 @@ files.")
|
|||
"and not test_matrix"))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'pretend-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$base-version)))
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? test-flags #:allow-other-keys)
|
||||
(when tests?
|
||||
|
|
@ -6063,13 +6060,6 @@ with MOFA+ in Python.")
|
|||
(base32
|
||||
"17s1w3746d35pcwr97ynhr7s5hfk76vsfcinwyqynx9k3xxi9br4"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'pretend-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(propagated-inputs
|
||||
(list python-anndata python-h5py python-pandas))
|
||||
(native-inputs
|
||||
|
|
@ -6962,9 +6952,6 @@ accessing bigWig files.")
|
|||
"--deselect=schema_salad/tests/test_makedoc.py::test_detect_changes_in_html")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
|
||||
(add-after 'unpack 'relax-requirements
|
||||
(lambda _
|
||||
;; Mistune dependency is too strict mistune>=3,<3.1 .
|
||||
|
|
@ -7230,10 +7217,6 @@ documents.")
|
|||
(lambda _
|
||||
(substitute* "setup.py"
|
||||
(("== 1.5.1") "> 1.5.1")))) ; prov
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
;; Set exact version.
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
|
||||
(add-after 'unpack 'patch-tests
|
||||
(lambda _
|
||||
(substitute* '("tests/subgraph/env-tool2.cwl"
|
||||
|
|
@ -19866,9 +19849,6 @@ implementation differs in these ways:
|
|||
"test_qc_metrics_no_log1p[dask_array_sparse]")))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
|
||||
(add-before 'check 'pre-check
|
||||
(lambda _
|
||||
;; Numba needs a writable dir to cache functions.
|
||||
|
|
@ -20327,12 +20307,7 @@ bgzipped text file that contains a pair of genomic coordinates per line.")
|
|||
(arguments
|
||||
(list
|
||||
;; tests: 107 failed, 54 passed, 8 skipped, 7 xfailed, 14 errors
|
||||
#:tests? #f ;most of them need remote data
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
#:tests? #f)) ;most of them need remote data
|
||||
(native-inputs
|
||||
(list python-biopython
|
||||
python-fsspec
|
||||
|
|
@ -22040,15 +22015,6 @@ updated much more frequently.")
|
|||
(base32
|
||||
"0nv4lc46cnzpg5gcdxrsv7b4srmkq55zl3rcadw5pn3yyz5fzd2k"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'pretend-version
|
||||
;; The version string is usually derived via setuptools-scm, but
|
||||
;; it doesn't work without the .git directory.
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(propagated-inputs
|
||||
(list python-cytoolz
|
||||
python-frozendict
|
||||
|
|
@ -24375,9 +24341,6 @@ aligner.")
|
|||
#~(list "tests/core")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
|
||||
;; Numba needs a writable dir to cache functions.
|
||||
(add-before 'check 'set-numba-cache-dir
|
||||
(lambda _
|
||||
|
|
|
|||
|
|
@ -801,10 +801,6 @@ The SUBDIR argument defaults to \"efi/Guix\", as it is also the case for
|
|||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'preparations
|
||||
(lambda _
|
||||
;; The version string is usually derived via setuptools-scm, but
|
||||
;; without the git metadata available this fails.
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)
|
||||
|
||||
;; Needed by setup.py.
|
||||
(setenv "DESTDIR" "/")
|
||||
|
||||
|
|
|
|||
|
|
@ -2097,15 +2097,7 @@ timeout has been exceeded.")
|
|||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
;; See <https://github.com/pytest-dev/pytest-forked/issues/88>.
|
||||
(list #:tests? #f
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'pretend-version
|
||||
;; The version string is usually derived via setuptools-scm,
|
||||
;; but without the git metadata available, the version string
|
||||
;; is set to '0.0.0'.
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(list #:tests? #f))
|
||||
(native-inputs
|
||||
;; XXX: The bootstrap variant of Pytest is used to ensure the
|
||||
;; 'hypothesis' plugin is not in the environment (due to
|
||||
|
|
@ -2504,12 +2496,7 @@ executed.")
|
|||
"trigger_warning_about_no_current_"
|
||||
"event_loop_being_set")
|
||||
"test_warns_when_scope_argument_is_present")
|
||||
" and not "))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
" and not "))))
|
||||
(native-inputs
|
||||
(list python-setuptools
|
||||
python-setuptools-scm))
|
||||
|
|
|
|||
|
|
@ -5537,9 +5537,6 @@ other traditional Python scientific computing packages.")
|
|||
(lambda _
|
||||
(substitute* "setup.py"
|
||||
(("^.*\"git\", \"status\".*$") ""))))
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
|
||||
(add-before 'check 'remove-local-source
|
||||
(lambda _
|
||||
(copy-recursively "fastparquet/test" "test")
|
||||
|
|
|
|||
|
|
@ -861,9 +861,6 @@ and can dramatically shorten the lifespan of the drive if left unchecked.")
|
|||
#:tests? #f ;XXX: root access is required, see: <scripts/tests/test.sh>
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'setuptools-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
|
||||
(add-after 'install 'install-udev-rules
|
||||
(lambda _
|
||||
(install-file "scripts/49-greaseweazle.rules"
|
||||
|
|
|
|||
|
|
@ -215,16 +215,7 @@ projects.")
|
|||
(arguments
|
||||
(list
|
||||
;; Integration tests need a running Docker daemon.
|
||||
#:test-flags #~(list "--ignore" "tests/integration")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'pretend-version
|
||||
;; The version string is usually derived via setuptools-scm,
|
||||
;; but without the git metadata available, the version string
|
||||
;; is set to '0.0.0'.
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
|
||||
#$(package-version this-package)))))))
|
||||
#:test-flags #~(list "--ignore" "tests/integration")))
|
||||
(native-inputs (list python-hatch-vcs python-hatchling python-pytest))
|
||||
(inputs
|
||||
(list python-requests python-urllib3))
|
||||
|
|
|
|||
|
|
@ -1230,13 +1230,7 @@ of Bitcoin BIP-0039.")
|
|||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:tests? #f
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'pretend-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
|
||||
#$version))))))
|
||||
#:tests? #f))
|
||||
(native-inputs (list python-setuptools python-setuptools-scm python-wheel))
|
||||
(propagated-inputs (list python-bleak
|
||||
python-pyelftools
|
||||
|
|
|
|||
|
|
@ -541,12 +541,7 @@ Kit for OpenType (AFDKO) @command{tx} tool.")
|
|||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-flags #~(list "--pyargs" "compreffor")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
#:test-flags #~(list "--pyargs" "compreffor")))
|
||||
(native-inputs
|
||||
(list python-cython
|
||||
python-pytest
|
||||
|
|
@ -650,13 +645,6 @@ to generate OpenType font binaries from Unified Font Objects (UFOs).")
|
|||
(sha256
|
||||
(base32 "0g8vpwn4flg0rj7ar8wl9xlpjhcgiz01p56fzkjdlf2jqb36akyy"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(propagated-inputs (list python-fonttools-minimal))
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
|
|
@ -781,10 +769,7 @@ process. FontParts is the successor of RoboFab.")
|
|||
(substitute* "freetype/raw.py"
|
||||
(("ctypes.util.find_library\\('freetype'\\)")
|
||||
(format #f "'~a/~a'" #$(this-package-input "freetype")
|
||||
"lib/libfreetype.so")))))
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
"lib/libfreetype.so"))))))))
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
python-setuptools
|
||||
|
|
@ -812,15 +797,6 @@ high-level API is bound.")
|
|||
(base32
|
||||
"193h5ixq9p9m2kwz8srfw61rzgqg6gishlndqm759cymwax0cibi"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'pretend-version
|
||||
;; The version string is usually derived via setuptools-scm, but
|
||||
;; without the git metadata available this fails.
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(native-inputs
|
||||
(list python-setuptools-scm
|
||||
python-setuptools
|
||||
|
|
@ -894,9 +870,6 @@ different scripts and languages.")
|
|||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
|
||||
(add-after 'unpack 'unbundle-opentype-sanitizer
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "setup.py"
|
||||
|
|
@ -1141,12 +1114,7 @@ tools can generate partial instances.
|
|||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-backend #~'unittest
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
#:test-backend #~'unittest))
|
||||
(native-inputs (list python-setuptools python-setuptools-scm unzip))
|
||||
(home-page "https://github.com/unified-font-object/ufoNormalizer")
|
||||
(synopsis "Script to normalize @acronym{UFO, Unified Font Object} data")
|
||||
|
|
@ -1992,13 +1960,6 @@ API-compatible with defcon.")
|
|||
(sha256
|
||||
(base32 "1zx4xas6qcpp54d1vcfy5wjv17aazkpfmb7hkjy99g47xsi6crrh"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(propagated-inputs (list python-fontpens-bootstrap python-fonttools))
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
|
|
@ -2044,9 +2005,6 @@ UFO3 as described by the UFO font format.")
|
|||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'pretend-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(with-directory-excursion "tests"
|
||||
|
|
|
|||
|
|
@ -13105,9 +13105,6 @@ Jongg tiles from the playing field by taking one matching pair at a time.")
|
|||
;; Installing udev rules errors out. Install them manually later
|
||||
(substitute* "setup.py"
|
||||
((".*lib/udev.*") ""))))
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
|
||||
(add-after 'unpack 'remove-bundled-libraries
|
||||
(lambda _
|
||||
(delete-file "scc/lib/jsonencoder.py")
|
||||
|
|
|
|||
|
|
@ -2775,9 +2775,6 @@ from multiple records.")
|
|||
;; dask[array]>=2025.1.0 # github.com/SciTools/iris/issues/6264
|
||||
;; TODO: Update python-dask to >=2025.1.0 to fix referenced bug.
|
||||
((">=2025.1.0") ""))))
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
|
||||
(add-after 'unpack 'delete-failing-test-files
|
||||
(lambda _
|
||||
(with-directory-excursion "lib/iris/tests"
|
||||
|
|
|
|||
|
|
@ -394,7 +394,6 @@ graphs in Python.")
|
|||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'find-igraph
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)
|
||||
(substitute* "setup.py"
|
||||
(("/usr/include/igraph")
|
||||
(string-append #$(this-package-input "igraph")
|
||||
|
|
@ -694,13 +693,6 @@ of millions of nodes (as long as they can fit in memory).")
|
|||
(sha256
|
||||
(base32 "0p46g8drpnsciphy3iagrkagzh8hi3l5xmdab00q9z812bwdb951"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'pretend-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(native-inputs
|
||||
(list pkg-config
|
||||
python-ddt
|
||||
|
|
|
|||
|
|
@ -1239,12 +1239,7 @@ basic geometries.")
|
|||
"test_Q_difference"
|
||||
"test_Q_intersection"
|
||||
"test_Q_union"
|
||||
"test_Q_xor")))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
"test_Q_xor")))))
|
||||
(propagated-inputs (list python-fonttools-minimal python-pyclipper))
|
||||
(native-inputs
|
||||
(list python-defcon-bootstrap
|
||||
|
|
|
|||
|
|
@ -1948,14 +1948,6 @@ purposes.")
|
|||
(sha256
|
||||
(base32 "0z7nwnvqh3hbbccf7v56398aiiwqs68kyrgc5vsmmh1cp4pwrgnb"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list #:phases
|
||||
#~(modify-phases %standard-phases
|
||||
;; LookupError: Error getting the version from source `vcs`:
|
||||
;; setuptools-scm was unable to detect version for <...>
|
||||
(add-after 'unpack 'pretend-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
python-hatchling
|
||||
|
|
|
|||
|
|
@ -6380,16 +6380,7 @@ linear algebra routines needed for structured matrices (or operators).")
|
|||
" and not test_emsemble_map_saas"
|
||||
" and not test_negative_fixed_features")
|
||||
;; Requires optional 'pfns' dependency.
|
||||
"--ignore=test_community/")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'pretend-version
|
||||
;; The version string is usually derived via setuptools-scm,
|
||||
;; but without the git metadata available, the version string
|
||||
;; is set to '0.0.0'.
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
|
||||
#$(package-version this-package)))))))
|
||||
"--ignore=test_community/")))
|
||||
(propagated-inputs (list python-gpytorch
|
||||
python-linear-operator
|
||||
python-multipledispatch
|
||||
|
|
|
|||
|
|
@ -4186,13 +4186,6 @@ Standard Recording Code} (ISRCs) from audio CDs and submit them to
|
|||
(sha256
|
||||
(base32 "1i3mgxhrr3nbfrg3ppv6qvf3py0p46wa2h36nnfjw2m5bhjd6rhx"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
python-flaky
|
||||
|
|
|
|||
|
|
@ -1591,9 +1591,6 @@ manage (install/update) them for you.")
|
|||
(substitute* "conda/base/constants.py"
|
||||
(("DEFAULT_SOLVER: Final = \"libmamba\"")
|
||||
"DEFAULT_SOLVER: Final = \"classic\""))))
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
|
||||
(add-before 'check 'pre-check
|
||||
(lambda _
|
||||
;; TODO: Package libsolv, libmamba, and conda-libmamba-solver:
|
||||
|
|
|
|||
|
|
@ -1356,12 +1356,7 @@ reflected in the package visible to Python, without needing a reinstall.")
|
|||
(arguments
|
||||
(list
|
||||
#:tests? #f ;to keep dependencies to a minimum
|
||||
#:build-backend "setuptools.build_meta"
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
#:build-backend "setuptools.build_meta"))
|
||||
(native-inputs
|
||||
(list python-flit-scm))
|
||||
(propagated-inputs
|
||||
|
|
@ -1781,13 +1776,6 @@ module with a few extra procedures.")
|
|||
(sha256
|
||||
(base32 "12bj9za1yp0yn0ppya6a4kwgmh7hvmw64x7ivp4y0sbv20r0vfdq"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(native-inputs
|
||||
(list python-pytest-bootstrap
|
||||
python-setuptools-bootstrap
|
||||
|
|
|
|||
|
|
@ -2222,9 +2222,6 @@ Changes over @code{nose}:
|
|||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
|
||||
;; Patch based on
|
||||
;; https://github.com/aio-libs/pytest-aiohttp/pull/115/files
|
||||
(add-after 'unpack 'create-pytest-ini
|
||||
|
|
@ -2520,12 +2517,7 @@ failures per test.")
|
|||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:tests? #f ;tests require network access
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
#:tests? #f)) ;tests require network access
|
||||
(native-inputs
|
||||
(list python-pytest-bootstrap
|
||||
python-setuptools-scm
|
||||
|
|
@ -3088,13 +3080,6 @@ applicative benchmarking purposes.")
|
|||
(sha256
|
||||
(base32 "0ikwiwp9ycgg7px78nxdkqvg7j97krb6vzqlb8fq8fvbwrj4q4v2"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(native-inputs (list python-pytest python-setuptools python-setuptools-scm
|
||||
python-setuptools-declarative-requirements
|
||||
python-wheel))
|
||||
|
|
@ -3120,13 +3105,6 @@ import them in their actual tests to use them.")
|
|||
(sha256
|
||||
(base32 "151xx48dahbh7yx2a9cr9f2iy2i6f7s3zsm4zn5apvgl9qmjhkk7"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(propagated-inputs (list python-pytest))
|
||||
(native-inputs
|
||||
(list git-minimal
|
||||
|
|
@ -3262,13 +3240,6 @@ access to test session metadata.")
|
|||
(sha256
|
||||
(base32 "0rq4mb1ycs3l1mpl682ybycvywmf4cp3vlrv9r1a9d2cb6qdwz8r"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(native-inputs
|
||||
(list python-hatch-vcs
|
||||
python-hatchling
|
||||
|
|
|
|||
|
|
@ -1069,10 +1069,7 @@ generator")
|
|||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'use-system-zopfli
|
||||
(lambda _
|
||||
(setenv "USE_SYSTEM_ZOPFLI" "1")))
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(setenv "USE_SYSTEM_ZOPFLI" "1"))))))
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
python-setuptools
|
||||
|
|
|
|||
|
|
@ -326,9 +326,6 @@ possibility to differentiate functions that contain matrix functions as
|
|||
(lambda _
|
||||
(substitute* "pyproject.toml"
|
||||
(("--doctest-modules") ""))))
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
|
||||
;; Numba needs a writable dir to cache functions.
|
||||
(add-before 'check 'set-numba-cache-dir
|
||||
(lambda _
|
||||
|
|
@ -706,16 +703,7 @@ but have now been adjusted using the viscm tool to be perceptually uniform.")
|
|||
" and not test_extended_overplotting[png]"
|
||||
" and not test_reverse_overplotting[png]"
|
||||
" and not test_arviz[png]"
|
||||
" and not test_range_fig_arg[png]"))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'pretend-version
|
||||
;; XXX: Make sure you're either building from a fully intact git
|
||||
;; repository or PyPI tarballs. Most other sources (such as GitHub's
|
||||
;; tarballs, a git checkout without the .git folder) don't contain
|
||||
;; the necessary metadata and will not work.
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
" and not test_range_fig_arg[png]"))))
|
||||
(propagated-inputs
|
||||
(list python-matplotlib))
|
||||
(native-inputs
|
||||
|
|
@ -835,9 +823,6 @@ optimization problems in Python.")
|
|||
(lambda _
|
||||
(substitute* "pyproject.toml"
|
||||
((".*--cov-config=pyproject.toml.*") ""))))
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
|
||||
(add-before 'check 'remove-local-source
|
||||
(lambda _
|
||||
(delete-file-recursively "dask"))))))
|
||||
|
|
@ -895,10 +880,7 @@ run on top of the dynamic task schedulers.")
|
|||
(add-after 'unpack 'fix-pytest-config
|
||||
(lambda _
|
||||
(substitute* "pyproject.toml"
|
||||
(("--flake8") ""))))
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(("--flake8") "")))))))
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
python-pytest-timeout
|
||||
|
|
@ -1045,10 +1027,7 @@ interoperability offered by HDF5.")
|
|||
(add-after 'unpack 'fix-pytest-config
|
||||
(lambda _
|
||||
(substitute* "pyproject.toml"
|
||||
(("--cov-config.*") ""))))
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(("--cov-config.*") "")))))))
|
||||
(native-inputs
|
||||
(list python-setuptools
|
||||
python-setuptools-scm-next))
|
||||
|
|
@ -2315,10 +2294,7 @@ web, by sharing data and other research outputs.")
|
|||
(format #f "SOURCE_DIR ~a"
|
||||
(string-append (getcwd) "/osqp")))
|
||||
(("GIT_TAG v1.0.0")
|
||||
""))))
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
"")))))))
|
||||
(native-inputs
|
||||
(list cmake-minimal
|
||||
osqp
|
||||
|
|
@ -2765,14 +2741,7 @@ automated with the minimum of fuss and the least effort.")
|
|||
(sha256
|
||||
(base32 "0v7l6qbxgclz644fq1vmakfasxcdhg1g019b5w47hlxqw8fx0ipl"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
;; tests: 190 passed, 1 xfailed, 28 warnings
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
;; tests: 190 passed, 1 xfailed, 28 warnings
|
||||
(native-inputs
|
||||
(list python-hatch-vcs
|
||||
python-hatchling
|
||||
|
|
@ -3231,13 +3200,7 @@ the following purposes in mind:
|
|||
;; tests: 1013 passed, 105 warnings
|
||||
#:test-flags
|
||||
#~(list "--durations=10" ;to help in spotting long running tests
|
||||
"--numprocesses" (number->string (min 4 (parallel-job-count))))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
|
||||
#$(version-major+minor version)))))))
|
||||
"--numprocesses" (number->string (min 4 (parallel-job-count))))))
|
||||
(propagated-inputs
|
||||
(list python-ecos
|
||||
python-joblib
|
||||
|
|
@ -5448,12 +5411,6 @@ multiple-axes, polar charts, and bubble charts.")
|
|||
'infix)))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'pretend-version
|
||||
;; The version string is usually derived via setuptools-scm, but
|
||||
;; without the git metadata available, the version string is set to
|
||||
;; '999'.
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
|
||||
(add-before 'check 'pre-check
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
;; The data files are referenced by the tests but they are not
|
||||
|
|
|
|||
|
|
@ -9230,16 +9230,7 @@ library to create slugs from unicode strings while keeping it DRY.")
|
|||
;; This file requires Selenium.
|
||||
(list #:test-flags #~(list "--ignore" "tests/test_iframe.py"
|
||||
;; This test passes but is very slow.
|
||||
"-k" "not test_color_brewer_extendability")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'pretend-version
|
||||
;; The version string is usually derived via setuptools-scm,
|
||||
;; but without the git metadata available, the version string
|
||||
;; is set to '0.0.0'.
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
|
||||
#$(package-version this-package)))))))
|
||||
"-k" "not test_color_brewer_extendability")))
|
||||
(propagated-inputs (list python-jinja2))
|
||||
(native-inputs
|
||||
(list python-numpy
|
||||
|
|
@ -12140,12 +12131,7 @@ Python.")
|
|||
"--deselect=tests/test_smart_open.py::ParseUriTest::test_gs_uri_contains_question_mark"
|
||||
"--deselect=tests/test_smart_open.py::ParseUriTest::test_gs_uri_contains_slash"
|
||||
"--deselect=tests/test_smart_open.py::ParseUriTest::test_scheme"
|
||||
"--ignore=tests/test_gcs.py")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
"--ignore=tests/test_gcs.py")))
|
||||
(propagated-inputs
|
||||
(list python-azure-common
|
||||
python-azure-core
|
||||
|
|
|
|||
|
|
@ -692,10 +692,7 @@ templates language.")
|
|||
(add-after 'unpack 'fix-pytest-config
|
||||
(lambda _
|
||||
(substitute* "setup.cfg"
|
||||
(("--cov.*") ""))))
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(("--cov.*") "")))))))
|
||||
(native-inputs
|
||||
(list python-hatch-vcs
|
||||
python-hatchling
|
||||
|
|
@ -1765,12 +1762,7 @@ for Python.")
|
|||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:tests? #f ;tests need conda
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'pretend-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
#:tests? #f)) ;tests need conda
|
||||
(native-inputs
|
||||
(list python-setuptools
|
||||
python-setuptools-scm))
|
||||
|
|
@ -5010,15 +5002,6 @@ module and then similar looking characters are removed.")
|
|||
(sha256
|
||||
(base32 "07m4c87pavpdak1lx4bvdz43y2wwzm6fc54x947cssgwqz8mw3zp"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'pretend-version
|
||||
;; Indicate version to setuptools-scm
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
|
||||
#$(package-version this-package)))))))
|
||||
(native-inputs (list python-pytest
|
||||
python-setuptools
|
||||
python-setuptools-scm
|
||||
|
|
@ -6149,12 +6132,7 @@ your Python package version as a calendar version.")
|
|||
;; package for in Guix.
|
||||
"--ignore=test/test_interface_canalystii.py"
|
||||
;; These tests fail with "OSError: [Errno 19] No such device".
|
||||
"-k" "not BasicTestUdpMulticastBusIPv")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
"-k" "not BasicTestUdpMulticastBusIPv")))
|
||||
(propagated-inputs (list python-packaging python-wrapt))
|
||||
(native-inputs
|
||||
(list ;; python-canalystii ; Not packed yet
|
||||
|
|
@ -6422,17 +6400,6 @@ of primitive data types like @code{char}, @code{int}, etc.")
|
|||
(sha256
|
||||
(base32 "0ldqdsvkvy7vmplyiqcfqqwbh8v88ha98hgdrnlm09g4qbylh5d4"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
;; TODO: Build documentation, it's failing with error:
|
||||
;; importlib.metadata.PackageNotFoundError: No package metadata was
|
||||
;; found for cantools.
|
||||
;; See: https://github.com/eerimoq/cantools/issues/190.
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(native-inputs
|
||||
(list python-freezegun
|
||||
python-parameterized
|
||||
|
|
@ -7651,14 +7618,7 @@ defined.")
|
|||
(list "not test_only_pyproject"
|
||||
"test_no_setup_py"
|
||||
"test_limited_api")
|
||||
" and not "))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
;; LookupError: setuptools-scm was unable to detect version for
|
||||
;; /tmp/guix-build-python-extension-helpers-1.2.0.drv-0/source.
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
" and not "))))
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
python-setuptools-scm))
|
||||
|
|
@ -7828,16 +7788,6 @@ processing tasks.")
|
|||
(base32
|
||||
"0ij0fk4w0jyyj44ij3i2j1nfa0d7dk783w9r25cpwjkpn690xqfx"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'pretend-version
|
||||
;; The version string is usually derived via setuptools-scm, but
|
||||
;; without the git metadata available, the version string is set to
|
||||
;; '999'.
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(propagated-inputs
|
||||
(list python-matplotlib python-numpy python-pandas python-scipy))
|
||||
(native-inputs
|
||||
|
|
@ -8949,14 +8899,6 @@ logic-free templating system Mustache.")
|
|||
(sha256
|
||||
(base32 "02q03smvfz6x8v45s6qcgh1r2plpcam7ra24ikgqlmq005w7nhv3"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
|
||||
#$(assoc-ref properties 'upstream-version)))))))
|
||||
(native-inputs (list python-hatchling python-hatch-vcs python-pytest))
|
||||
(inputs (list python-html5lib
|
||||
python-importlib-metadata
|
||||
|
|
@ -9561,13 +9503,6 @@ to deprecate classes, functions or methods.")
|
|||
(sha256
|
||||
(base32 "0c5qp69qfkfcp8lfmfh0a2rcb1azsrlrc525qd8blnkrmz2mmayz"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(propagated-inputs
|
||||
(list python-pyjwt
|
||||
python-pynacl
|
||||
|
|
@ -10052,16 +9987,6 @@ for visual regression testing purposes.")
|
|||
(sha256
|
||||
(base32 "1z9d660jnv72jn8qzpa9hddpv5f953js8i75hfhkcw68vmdfndnr"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'pretend-version
|
||||
;; The version string is usually derived via setuptools-scm, but
|
||||
;; without the git metadata available, the version string is set to
|
||||
;; '0.0.0'.
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(native-inputs (list python-pytest
|
||||
python-setuptools
|
||||
python-setuptools-scm
|
||||
|
|
@ -10112,13 +10037,6 @@ via the SCP1 protocol, as implemented by the OpenSSH @command{scp} program.")
|
|||
(sha256
|
||||
(base32 "1pcnhib881p0vgm0s8jj6inzzs98raz70sc2z6m6wlgrj9ivv5jj"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(propagated-inputs (list python-jaraco-context))
|
||||
(native-inputs
|
||||
(list python-path
|
||||
|
|
@ -12061,12 +11979,6 @@ comparison.
|
|||
" and not "))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'pretend-version
|
||||
;; The version string is usually derived via setuptools-scm, but
|
||||
;; without the git metadata available, the version string is set to
|
||||
;; '0.0.0'.
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
|
||||
(add-after 'unpack 'patch-commands
|
||||
(lambda _
|
||||
(substitute* "lib/matplotlib/tests/test_animation.py"
|
||||
|
|
@ -12806,13 +12718,6 @@ Python list with elements of type @code{PIL.Image} (from the
|
|||
(sha256
|
||||
(base32 "0hpnb63xp8yaflah3i1z5azh6mg36rz0liy27km47417w2q72v0c"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(native-inputs
|
||||
(list pybind11
|
||||
python-attrs
|
||||
|
|
@ -14359,12 +14264,7 @@ releases.")
|
|||
(list
|
||||
#:test-flags
|
||||
;; Ignore doctests.
|
||||
#~(list "--ignore-glob=jaraco/vcs/*.py")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
#~(list "--ignore-glob=jaraco/vcs/*.py")))
|
||||
(propagated-inputs (list python-jaraco-classes
|
||||
python-jaraco-path
|
||||
python-jaraco-versioning
|
||||
|
|
@ -14398,13 +14298,6 @@ Python.")
|
|||
(sha256
|
||||
(base32 "12svnpa5sl3r5lci9bybzy5gb8pd4clfkl65x5hsap00ada2w91r"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(propagated-inputs (list python-packaging))
|
||||
(native-inputs
|
||||
(list python-pytest python-setuptools python-setuptools-scm))
|
||||
|
|
@ -17001,14 +16894,6 @@ reading and writing MessagePack data.")
|
|||
(sha256
|
||||
(base32 "1rxjgzh0p069ncsr2986rn32vhdqyq35irbqg2559jh18456mkca"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'pretend-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
|
||||
#$(package-version this-package)))))))
|
||||
(native-inputs (list python-cython-0 python-pytest python-setuptools-scm
|
||||
python-setuptools))
|
||||
(home-page "https://github.com/fonttools/openstep-plist")
|
||||
|
|
@ -17665,12 +17550,7 @@ is binding LibSass.")
|
|||
;; the network and fail.
|
||||
"and not test_pkg_imported "
|
||||
"and not test_pkg_loaded_from_alternate_index "
|
||||
"and not test_pkg_loaded_from_url "))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'pretend-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
"and not test_pkg_loaded_from_url "))))
|
||||
(native-inputs
|
||||
(list python-nbformat
|
||||
python-pygments
|
||||
|
|
@ -19154,10 +19034,6 @@ friendly JSON encoder, decorators for retries and logging.")
|
|||
;; tests: 466 passed, 614 skipped, 4 xfailed, 11 xpassed, 1 warning
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-verion
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
|
||||
#$(version-major+minor+point version))))
|
||||
(add-before 'check 'pre-check
|
||||
(lambda _
|
||||
;; Unset PYTHONDONTWRITEBYTECODE to match the expectations of a
|
||||
|
|
@ -19696,12 +19572,7 @@ for the module to work under Python 3.3.")
|
|||
"test_iter_lines_error"
|
||||
"test_quoting"
|
||||
"test_copy_move_delete")
|
||||
" and not "))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
" and not "))))
|
||||
(native-inputs
|
||||
(list procps
|
||||
python-psutil
|
||||
|
|
@ -24334,16 +24205,11 @@ package attempts to address the shortcomings of @code{isodate}.")
|
|||
"test_requirements_finder"
|
||||
"test_sort_configurable_sort_issue_1732"
|
||||
"test_sort_imports_error_handling")
|
||||
" and not "))
|
||||
" and not "))))
|
||||
;; TODO: Package example plugins separately, available in PyPI:
|
||||
;; - example_isort_formatting_plugin
|
||||
;; - example_isort_sorting_plugin
|
||||
;; - example_shared_isort_profile
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'pretend-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(native-inputs
|
||||
(list python-colorama
|
||||
python-hatch-vcs
|
||||
|
|
@ -24937,16 +24803,7 @@ and integration into other projects.")
|
|||
"12qfqha70vhc8pclq0kzv7xk0i44ramnlkphybv7419vdl4aay40"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list #:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'pretend-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
|
||||
#$(package-version this-package))))
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "pytest" "-vv" "test.py")))))))
|
||||
(list #:test-flags #~(list "test.py")))
|
||||
(native-inputs
|
||||
(list python-pytest python-setuptools python-setuptools-scm python-wheel))
|
||||
(home-page "https://libraryofcongress.github.io/bagit-python/")
|
||||
|
|
@ -25638,13 +25495,6 @@ Rust Python extensions implemented with @code{PyO3} or @code{rust-cpython}.")
|
|||
(sha256
|
||||
(base32 "1sza6n2fg8zml0v1s5zwzrlsb79s2abn1n4pr1l8r15al4g9z0c6"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" "0.2.2"))))))
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
python-setuptools
|
||||
|
|
@ -25677,9 +25527,6 @@ definitions to simplify the use of C bindings.")
|
|||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
|
||||
(add-before 'build 'cythonize-sources
|
||||
(lambda _
|
||||
(with-directory-excursion "src/pyclipper"
|
||||
|
|
@ -27577,12 +27424,7 @@ values. Partd excels at shuffling operations.")
|
|||
"test_gist_public_one_file"
|
||||
;; Test hangs
|
||||
"test_processes")
|
||||
" and not "))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
" and not "))))
|
||||
(propagated-inputs
|
||||
(list python-aiohttp python-libarchive-c python-requests python-tqdm))
|
||||
(native-inputs
|
||||
|
|
@ -28271,16 +28113,7 @@ Python 2 or 3.")
|
|||
;; Requires geodatasets package.
|
||||
" and not test_timedynamic_geo_json"
|
||||
;; AssertionError.
|
||||
" and not test_minimap"))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'pretend-version
|
||||
;; The version string is usually derived via setuptools-scm,
|
||||
;; but without the git metadata available, the version string
|
||||
;; is set to '0.0.0'.
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
|
||||
#$(package-version this-package)))))))
|
||||
" and not test_minimap"))))
|
||||
(propagated-inputs
|
||||
(list python-branca
|
||||
python-jinja2
|
||||
|
|
@ -29489,13 +29322,6 @@ we can stop writing custom parsers for syslog-type records.")
|
|||
(sha256
|
||||
(base32 "0vfakncq87s6g67mqihjf32xarphd75c03ammvgavladz0pqhlg4"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(propagated-inputs (list python-json-logger))
|
||||
(native-inputs (list python-mock python-pytest python-setuptools
|
||||
python-setuptools-scm))
|
||||
|
|
@ -29732,13 +29558,6 @@ information for your operating system.")
|
|||
(sha256
|
||||
(base32 "1wkgbwr0hdvafbhbqjibca06rxqbp95gg6rfd3ba6rkgl4g85i5z"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(propagated-inputs
|
||||
(list python-canonicaljson
|
||||
python-importlib-metadata
|
||||
|
|
@ -29955,13 +29774,6 @@ happened, and what caused it.")
|
|||
(sha256
|
||||
(base32 "01x14j1pliyxvcx8hlwlwfchn893ddkxxpxbyqhyh6hjyag2ammd"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(native-inputs
|
||||
(list nss-certs-for-test
|
||||
python-certifi
|
||||
|
|
@ -30128,9 +29940,6 @@ cryptographically signed ones).")
|
|||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
|
||||
(add-after 'unpack 'relax-requirements
|
||||
(lambda _
|
||||
(delete-file "pytest.ini")
|
||||
|
|
@ -32931,13 +32740,6 @@ worry whether all dependencies that use LooseVersion have migrated.")
|
|||
(sha256
|
||||
(base32 "07a1gkvc5p3qi55vczhicz3k5bs1c6jdkw6vrrnxrygg357fabh5"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
python-setuptools
|
||||
|
|
@ -33140,14 +32942,7 @@ a Python program in an customizable and pythonic way.")
|
|||
(sha256
|
||||
(base32 "030lncdmrcvzgp8v1jw04snnplqxlwf3vikzd0a3jbk5sgrp2cih"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
;; tests: 15102 passed, 36 skipped, 5489 warnings
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
;; tests: 15102 passed, 36 skipped, 5489 warnings
|
||||
(native-inputs
|
||||
(list python-lxml
|
||||
python-pytest
|
||||
|
|
@ -33177,6 +32972,7 @@ spreadsheet), CSV, TSV, XLS, XLSX (Microsoft Excel spreadsheet), and YAML.")
|
|||
(inherit python-csb43)
|
||||
(name "python-csb43")
|
||||
(version "0.10.1")
|
||||
;; tests: 15493 passed, 37 skipped, 7447 warnings
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
|
|
@ -33185,15 +32981,7 @@ spreadsheet), CSV, TSV, XLS, XLSX (Microsoft Excel spreadsheet), and YAML.")
|
|||
(commit version)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0frxcclz7scpndrr7ygqy6k41bcwgwam26yk7n1cnwyim2wkaykd"))))
|
||||
(arguments
|
||||
(list
|
||||
;; tests: 15493 passed, 37 skipped, 7447 warnings
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))))
|
||||
(base32 "0frxcclz7scpndrr7ygqy6k41bcwgwam26yk7n1cnwyim2wkaykd"))))))
|
||||
|
||||
(define-public python-febelfin-coda
|
||||
(package
|
||||
|
|
@ -33553,13 +33341,7 @@ Python @code{set} interface.")
|
|||
"--deselect=src/orgparse/tests/test_data.py::test_data[01_attributes]"
|
||||
"--deselect=src/orgparse/tests/test_data.py::test_data[03_repeated_tasks]"
|
||||
"--deselect=src/orgparse/tests/test_data.py::test_data[04_logbook]"
|
||||
"--deselect=src/orgparse/tests/test_misc.py::test_level_0_timestamps")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
|
||||
#$version))))))
|
||||
"--deselect=src/orgparse/tests/test_misc.py::test_level_0_timestamps")))
|
||||
(native-inputs (list python-hatchling python-hatch-vcs python-pytest))
|
||||
(home-page "https://github.com/karlicoss/orgparse")
|
||||
(synopsis "Emacs Org mode parser in Python")
|
||||
|
|
@ -34667,13 +34449,6 @@ other.")
|
|||
(sha256
|
||||
(base32 "06hagzg8ccmjzqvszdxb52jgx5il8a1jdz41n4dpkyyjsfg7fi2b"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(native-inputs
|
||||
(list python-setuptools-scm
|
||||
python-pytest
|
||||
|
|
@ -34773,12 +34548,7 @@ written in C.")
|
|||
;; FileNotFoundError: [Errno 2] No such file or directory: 'time'
|
||||
"--deselect=tests/test_scooby.py::test_import_time"
|
||||
;; Errored
|
||||
"--deselect=tests/test_scooby.py::test_cli")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
"--deselect=tests/test_scooby.py::test_cli")))
|
||||
(native-inputs
|
||||
(list python-beautifulsoup4
|
||||
python-numpy
|
||||
|
|
@ -38940,13 +38710,6 @@ parsing UK postcodes.")
|
|||
(sha256
|
||||
(base32 "0m1sixmqynlalsw50af5mv5q4gpz2052d1p2ig9hr7yqmdvqcz6p"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(native-inputs
|
||||
(list python-freezegun
|
||||
python-hatch-fancy-pypi-readme
|
||||
|
|
@ -39190,12 +38953,7 @@ multiple Unicode code points, e.g. \"G\" + acute-accent)
|
|||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:tests? #f ;requires network
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
#:tests? #f)) ;requires network
|
||||
(native-inputs
|
||||
(list python-setuptools
|
||||
python-setuptools-scm))
|
||||
|
|
@ -39568,12 +39326,7 @@ which make common patterns shorter and easier.")
|
|||
#:test-flags
|
||||
;; Test is time based: AssertionError: 13987034766.015247 !=
|
||||
;; 13987034766.01471 within 3 places (0.000537872314453125 difference)
|
||||
#~(list "--deselect=test/test_uuid6.py::UUIDTests::test_time")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
#~(list "--deselect=test/test_uuid6.py::UUIDTests::test_time")))
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
python-setuptools
|
||||
|
|
|
|||
|
|
@ -2223,12 +2223,7 @@ modes:
|
|||
(inputs
|
||||
(list python-numpy python-pyqt-6 python-pyserial python-scipy))
|
||||
(arguments
|
||||
(list #:tests? #f
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(list #:tests? #f))
|
||||
(home-page "https://github.com/NanoVNA-Saver/nanovna-saver")
|
||||
(synopsis "GUI for NanoVNA devices")
|
||||
(description
|
||||
|
|
|
|||
|
|
@ -1334,12 +1334,7 @@ enabled web server.")
|
|||
;; website.
|
||||
#~(list "--deselect=tests/test_sphinx_autodoc_typehints.py::test_format_annotation"
|
||||
;; Assertions are not equal.
|
||||
"--deselect=tests/test_sphinx_autodoc_typehints.py::test_always_use_bars_union")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
"--deselect=tests/test_sphinx_autodoc_typehints.py::test_always_use_bars_union")))
|
||||
(native-inputs
|
||||
(list python-hatch-vcs
|
||||
python-hatchling
|
||||
|
|
|
|||
|
|
@ -887,13 +887,6 @@ need OpenSSH binaries to be installed.")
|
|||
(sha256
|
||||
(base32 "1igcjjsaa2x4zbdwzrybv077kghjair3ighs9jdmgsa7wj66pcaf"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
(native-inputs
|
||||
(list python-importlib-metadata
|
||||
python-mock-ssh-server
|
||||
|
|
|
|||
|
|
@ -7683,12 +7683,7 @@ Instagram and YouTube.")
|
|||
;; exit status 2.
|
||||
"--deselect=tests/test_linkchecker.py::TestLinkchecker::test_linkchecker"
|
||||
;; FileNotFoundError: [Errno 2] No such file or directory: 'msgfmt'
|
||||
"--deselect=tests/test_po.py::TestPo::test_pos")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||
"--deselect=tests/test_po.py::TestPo::test_pos")))
|
||||
(native-inputs
|
||||
(list python-hatch-vcs
|
||||
python-hatchling
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue