diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-10-12 15:59:58 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-14 09:13:42 +0100 |
| commit | 9c080ce786d59ccec8c7b6f3456765fb5d8bd72f (patch) | |
| tree | ed87baf9ac910f1761b7adec76612bb5e24fd3ff /gnu | |
| parent | 12371a0b4ac8f043efa862ecfa5fd05e9a518381 (diff) | |
gnu: Add python-jaraco-vcs.
* gnu/packages/python-xyz.scm (python-jaraco-vcs): New variable.
Change-Id: Ib029198d3e7dc629b221ac0133385850667b2d0b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c13399eac91..fecc5c21580 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14226,6 +14226,47 @@ removal, line continuation, indentation, comment processing, identifier processing, values parsing, case insensitive comparison, and more.") (license license:expat))) +(define-public python-jaraco-vcs + (package + (name "python-jaraco-vcs") + (version "2.4.1") + (source + (origin + (method git-fetch) + (uri (git-reference (url "https://github.com/jaraco/jaraco.vcs") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 (base32 "1n9f0l4zp8dbbq2ha93bd9z6gb9y7gsmbd4jkl5gcm51qpsq4vpm")))) + (build-system pyproject-build-system) + (arguments + (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)))))) + (propagated-inputs (list python-jaraco-classes + python-jaraco-path + python-jaraco-versioning + python-more-itertools + python-packaging + python-dateutil + python-tempora)) + (native-inputs (list python-pygments + python-pytest + python-pytest-home + python-setuptools + python-setuptools-scm)) + (home-page "https://github.com/jaraco/jaraco.vcs") + (synopsis "Utilities for working with VCS repositories") + (description + "This package provides facilities for working with VCS repositories in +Python.") + (license license:expat))) + (define-public python-pypytools (package (name "python-pypytools") |
