summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2023-03-12 15:44:51 -0400
committerGitHub <noreply@github.com>2023-03-12 20:44:51 +0100
commit55870efbccd3eb4438099287648382895cb6ed39 (patch)
tree809f2a8fa828da199136f165c0864dfe7acab501
parentc38b46395496f0d3ea05fb0b3d4acb90f3cab001 (diff)
downloadspack-55870efbccd3eb4438099287648382895cb6ed39.tar.gz
spack-55870efbccd3eb4438099287648382895cb6ed39.tar.bz2
spack-55870efbccd3eb4438099287648382895cb6ed39.tar.xz
spack-55870efbccd3eb4438099287648382895cb6ed39.zip
New package: py-inflect (#35942)
Co-authored-by: Alex C Leute <aclrc@sporcsubmit.rc.rit.edu> Co-authored-by: qwertos <qwertos@users.noreply.github.com>
-rw-r--r--var/spack/repos/builtin/packages/py-inflect/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-inflect/package.py b/var/spack/repos/builtin/packages/py-inflect/package.py
new file mode 100644
index 0000000000..a57fb13192
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-inflect/package.py
@@ -0,0 +1,24 @@
+# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack.package import *
+
+
+class PyInflect(PythonPackage):
+ """inflect.py - Correctly generate plurals, singular nouns, ordinals,
+ indefinite articles; convert numbers to words."""
+
+ homepage = "https://github.com/jaraco/inflect"
+ pypi = "inflect/inflect-5.0.2.tar.gz"
+
+ version("6.0.2", sha256="f1a6bcb0105046f89619fde1a7d044c612c614c2d85ef182582d9dc9b86d309a")
+ version("5.0.2", sha256="d284c905414fe37c050734c8600fe170adfb98ba40f72fc66fed393f5b8d5ea0")
+
+ depends_on("python@3.6:", type=("build", "run"))
+ depends_on("python@3.7:", type=("build", "run"), when="@6.0.2:")
+ depends_on("py-setuptools@42:", type="build")
+ depends_on("py-setuptools@56:", type="build", when="@6.0.2:")
+ depends_on("py-setuptools-scm+toml@3.4.1:", type="build")
+ depends_on("py-pydantic@1.9.1:", type=("build", "run"), when="@6.0.2:")