diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-20 20:46:08 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-20 20:47:04 +0100 |
| commit | d8a2ecd7e8cae274bf66b92dc64e8ba35cfbaea8 (patch) | |
| tree | 96db75e292d165fa4a5a4c0f0ec827accd5b1d7f | |
| parent | 5d5c30c82ea95fdaea94578b1e48896c96727860 (diff) | |
gnu: python-core-sr-ht: Remove set-version phase.
* gnu/packages/sourcehut.scm (python-core-sr-ht):
[phases]{set-version}: Remove phase.
[native-inputs]: Add python-setuptools-scm.
Change-Id: Ia5c9e35bbc52e3bd82550c18b31f397dc1d172ea
| -rw-r--r-- | gnu/packages/sourcehut.scm | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gnu/packages/sourcehut.scm b/gnu/packages/sourcehut.scm index 5b0f7b8157..3e50a7784a 100644 --- a/gnu/packages/sourcehut.scm +++ b/gnu/packages/sourcehut.scm @@ -51,11 +51,7 @@ (build-system pyproject-build-system) (arguments (list - #:tests? #false ;there are none - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'set-version - (lambda _ (setenv "PKGVER" #$version)))))) + #:tests? #false)) ;there are none (propagated-inputs (list python-alembic python-beautifulsoup4 @@ -73,7 +69,9 @@ python-requests python-sqlalchemy python-sqlalchemy-utils)) - (native-inputs (list python-setuptools)) + (native-inputs + (list python-setuptools + python-setuptools-scm)) (home-page "https://git.sr.ht/~sircmpwn/core.sr.ht") (synopsis "Shared code for all sourcehut projects") (description |
