py-pint: new versions 0.21, 0.22 (#40745)

* py-pint: new versions 0.21, 0.22

* Address feedback

* Fix dumb typo

* Add typing extension requirement
This commit is contained in:
Seth R. Johnson 2023-11-02 15:13:19 -04:00 committed by GitHub
parent b5b94d89d3
commit c2193b5470
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,6 +18,8 @@ class PyPint(PythonPackage):
# any import tests for this package.
import_modules = [] # type: List[str]
version("0.22", sha256="2d139f6abbcf3016cad7d3cec05707fe908ac4f99cf59aedfd6ee667b7a64433")
version("0.21.1", sha256="5d5b6b518d0c5a7ab03a776175db500f1ed1523ee75fb7fafe38af8149431c8d")
version("0.20.1", sha256="387cf04078dc7dfe4a708033baad54ab61d82ab06c4ee3d4922b1e45d5626067")
version("0.18", sha256="8c4bce884c269051feb7abc69dbfd18403c0c764abc83da132e8a7222f8ba801")
version("0.17", sha256="f4d0caa713239e6847a7c6eefe2427358566451fe56497d533f21fb590a3f313")
@ -27,11 +29,14 @@ class PyPint(PythonPackage):
version("0.9", sha256="32d8a9a9d63f4f81194c0014b3b742679dce81a26d45127d9810a68a561fe4e2")
version("0.8.1", sha256="afcf31443a478c32bbac4b00337ee9026a13d0e2ac83d30c79151462513bb0d4")
depends_on("python@3.8:", type=("build", "run"), when="@0.19:")
depends_on("py-setuptools@41:", when="@0.16:", type="build")
depends_on("python@3.9:", when="@0.22:", type=("build", "run"))
depends_on("python@3.8:", when="@0.19:0.21", type=("build", "run"))
depends_on("py-typing-extensions", when="@0.22:", type=("build", "run"))
depends_on("py-setuptools@61:", when="@0.21:", type="build")
depends_on("py-setuptools@41:", when="@0.16:0.20", type="build")
depends_on("py-setuptools@41:", when="@0.11:0.15", type=("build", "run"))
depends_on("py-setuptools", when="@:0.10", type=("build", "run"))
depends_on("py-setuptools-scm@3.4.3:+toml", when="@0.11:", type="build")
depends_on("py-setuptools-scm", when="@0.10", type="build")
depends_on("py-packaging", type=("build", "run"), when="@0.13:18")
depends_on("py-importlib-metadata", type=("build", "run"), when="@0.13:18 ^python@:3.7")
depends_on("py-packaging", when="@0.13:18", type=("build", "run"))
depends_on("py-importlib-metadata", when="@0.13:18 ^python@:3.7", type=("build", "run"))