summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-18 14:05:27 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-18 23:40:37 +0100
commit8a45672a9e03211d6fd11a38b79b357bd7863dfa (patch)
treedfca3a0e0dcc4d8466f20acdbc69fd3bd883c7ee
parent04467af96069d990180701b48728ecf0ffaf07b7 (diff)
gnu: python-syllables: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-syllables): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-cmudict, python-pytest, python-setuptools. Change-Id: I781f5c52864bff7b8591046ef53ca0ff1c542805 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/python-xyz.scm19
1 files changed, 12 insertions, 7 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 83ce4c125d8..b5680bef041 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -210,6 +210,7 @@
#:use-module (gnu packages crypto)
#:use-module (gnu packages databases)
#:use-module (gnu packages dbm)
+ #:use-module (gnu packages dictionaries)
#:use-module (gnu packages digest)
#:use-module (gnu packages django)
#:use-module (gnu packages djvu)
@@ -15929,13 +15930,17 @@ signatures.")
(package
(name "python-syllables")
(version "1.0.3")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "syllables" version))
- (sha256
- (base32
- "0wkl6h0rg6fbsxfp0a8fnibf3l4l6lbh6z12cvcilgb6qhxzpmv3"))))
- (build-system python-build-system)
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/prosegrinder/python-syllables")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "12yv9d7hmrkw10p2nivk0c9b96rm6040zfif6pj4sm1vg3n8ik6n"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-cmudict python-pytest python-setuptools))
(home-page "https://github.com/prosegrinder/python-syllables")
(synopsis "Package for estimating the number of syllables in a word")
(description