py-vector: add through v1.4.1 (switch to hatchling) (#45527)

This commit is contained in:
Wouter Deconinck 2024-08-05 03:45:57 -05:00 committed by GitHub
parent 530639e15f
commit d3bf1e04fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,16 +12,34 @@ class PyVector(PythonPackage):
homepage = "https://github.com/scikit-hep/vector"
pypi = "vector/vector-0.8.4.tar.gz"
maintainers("wdconinc")
tags = ["hep"]
license("BSD-3-Clause")
version("1.4.1", sha256="15aef8911560db1ea3ffa9dbd5414d0ec575a504a2c3f23ea45170a18994466e")
version("1.3.1", sha256="1a94210c21a5d38d36d0fa36c1afb92c2857ba1d09c824b0d4b8615d51f4f2e5")
version("1.2.0", sha256="23b7ac5bdab273b4f9306167fd86666a3777a52804d0282a556d989130cb57a4")
version("1.1.1", sha256="6957451e59ce508f618335519c53f30ceb88b7053d65f3d166459fd708ed38b5")
version("1.0.0", sha256="4fada4fddaa5c1bd69a5ba296ffd948cccb575ad7abe53d14960f56fe32dd4c1")
version("0.11.0", sha256="fded30643588226f6f8b7ecd1242048ad423d29d4cd77d8000eea277479a0396")
version("0.10.0", sha256="b785678f449de32476f427911248391ddcc7c3582a522a88cbbd50c92dcae490")
version("0.9.0", sha256="67ba72edfecb5523b6f6e25156ddfc691f7588dd5dcd924838e6e3904d038778")
version("0.8.5", sha256="2c7c8b228168b89da5d30d50dbd05452348920559ebe0eb94cfdafa15cdc8378")
version("0.8.4", sha256="ef97bfec0263766edbb74c290401f89921f8d11ae9e4a0ffd904ae40674f1239")
depends_on("python@3.6:", type=("build", "run"))
depends_on("py-setuptools@42:", type="build")
depends_on("py-setuptools-scm@3.4: +toml", type="build")
depends_on("py-wheel", type="build")
depends_on("python@3.7:", type=("build", "run"), when="@0.10:")
depends_on("python@3.8:", type=("build", "run"), when="@1.1:")
with when("@0.9:"):
depends_on("py-hatchling", type="build")
depends_on("py-hatch-vcs", type="build")
with when("@:0.8"):
depends_on("py-setuptools@42:", type="build")
depends_on("py-setuptools-scm@3.4: +toml", type="build")
depends_on("py-wheel", type="build")
depends_on("py-numpy@1.13.3:", type=("build", "run"))
depends_on("py-packaging@19.0:", type=("build", "run"))
depends_on("py-importlib-metadata@0.22:", type=("build", "run"), when="^python@:3.7")
depends_on("py-typing-extensions", type=("build", "run"), when="^python@:3.7")
depends_on("py-importlib-metadata@0.22:", type=("build", "run"), when="@:1.0 ^python@:3.7")
depends_on("py-typing-extensions", type=("build", "run"), when="@:1.0 ^python@:3.7")