py-markdown-it-py: add linkify variant and v2.2.0 (#39492)

* [py-markdown-it-py] added linkify variant

* [py-markdown-it-py] added version 2.2.0
This commit is contained in:
Jen Herting 2023-08-18 12:14:15 -04:00 committed by GitHub
parent 3826fe3765
commit 737a6dcc73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,14 +16,20 @@ class PyMarkdownItPy(PythonPackage):
pypi = "markdown-it-py/markdown-it-py-1.1.0.tar.gz" pypi = "markdown-it-py/markdown-it-py-1.1.0.tar.gz"
version("3.0.0", sha256="e3f60a94fa066dc52ec76661e37c851cb232d92f9886b15cb560aaada2df8feb") version("3.0.0", sha256="e3f60a94fa066dc52ec76661e37c851cb232d92f9886b15cb560aaada2df8feb")
version("2.2.0", sha256="7c9a5e412688bc771c67432cbfebcdd686c93ce6484913dccf06cb5a0bea35a1")
version("1.1.0", sha256="36be6bb3ad987bfdb839f5ba78ddf094552ca38ccbd784ae4f74a4e1419fc6e3") version("1.1.0", sha256="36be6bb3ad987bfdb839f5ba78ddf094552ca38ccbd784ae4f74a4e1419fc6e3")
variant("linkify", default=False, description="Linkify support")
depends_on("python@3.8:", when="@2.1:", type=("build", "run")) depends_on("python@3.8:", when="@2.1:", type=("build", "run"))
depends_on("python@3.6:3", when="@:2.0", type=("build", "run")) depends_on("python@3.6:3", when="@:2.0", type=("build", "run"))
depends_on("py-flit-core@3.4:3", when="@2.1:", type="build") depends_on("py-flit-core@3.4:3", when="@2.1:", type="build")
depends_on("py-mdurl@0.1:0", when="@2:", type=("build", "run")) depends_on("py-mdurl@0.1:0", when="@2:", type=("build", "run"))
depends_on("py-linkify-it-py@1.0", when="@1.1.0+linkify", type=("build", "run"))
depends_on("py-linkify-it-py@1:2", when="@2.2:+linkify", type=("build", "run"))
# Historical dependencies # Historical dependencies
depends_on("py-setuptools", when="@:2.0", type="build") depends_on("py-setuptools", when="@:2.0", type="build")
depends_on("py-attrs@19:21", when="@:2.0", type=("build", "run")) depends_on("py-attrs@19:21", when="@:2.0", type=("build", "run"))