From 2bb29d4cea69984b61bf1bc19e5e54869f2fbb6d Mon Sep 17 00:00:00 2001 From: "Ronaldo V. Lobato" Date: Thu, 1 May 2025 12:31:13 -0300 Subject: [PATCH] dev-python/latexify-py: add 0.4.4.1 Signed-off-by: Ronaldo V. Lobato --- dev-python/latexify-py/Manifest | 1 + .../latexify-py/latexify-py-0.4.4.1.ebuild | 36 +++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 dev-python/latexify-py/latexify-py-0.4.4.1.ebuild diff --git a/dev-python/latexify-py/Manifest b/dev-python/latexify-py/Manifest index a570fb8038..24e16af5f1 100644 --- a/dev-python/latexify-py/Manifest +++ b/dev-python/latexify-py/Manifest @@ -1 +1,2 @@ DIST latexify_py-0.4.3-post1.gh.tar.gz 78199 BLAKE2B 2292131c5f9eec51c8cf16812d72823076e61ac66320688ba891dea822bcad240a69e932aa7f6f5af54508b1e770a12bf19ac01c29ccee930e1b976670500ef5 SHA512 0c534368827b9776132a6ff7e2bedd6ca70a097ff6abbb22b87399ae17b3b2f04c171e9fae8ecc00103e0f90e367b57c4e832ecbeffad44a9e82a09495ffbaaa +DIST latexify_py-0.4.4.gh.tar.gz 78694 BLAKE2B 330ef2f26cd01f27aef009d2332a2447642c6e5f3759137e7fa4ea69739a3a12baa8ed3ef685ee290cfb62217f518e439c5fe6b20f2482c7486b88797a1d8dac SHA512 b46bbd8a3e3a5b85246b3500430ee5ba119ed8e7ffa7577b9dc2a55f8c205b003505a564b7e88c08cb301838af8e25cf6fc861b1df09ca4ae9b1191bf897ed9f diff --git a/dev-python/latexify-py/latexify-py-0.4.4.1.ebuild b/dev-python/latexify-py/latexify-py-0.4.4.1.ebuild new file mode 100644 index 0000000000..2800797821 --- /dev/null +++ b/dev-python/latexify-py/latexify-py-0.4.4.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..13} pypy3 ) +DISTUTILS_USE_PEP517=hatchling + +inherit distutils-r1 + +DESCRIPTION="Annotate Python source code to get LaTeX expressions" +HOMEPAGE=" + https://pypi.org/project/latexify-py/ + https://github.com/google/latexify_py +" + +# upstream package is called latexify-py (on pypi), but their filename is called latexify_py +# we're using $(ver_cut 1-3) because of this specific postfix version, akin to -r1. remove in next versions +SRC_URI="https://github.com/google/latexify_py/archive/refs/tags/v$(ver_cut 1-3).tar.gz -> ${PN/-/_}-$(ver_cut 1-3).gh.tar.gz" +S="${WORKDIR}/${PN/-/_}-$(ver_cut 1-3)" + +LICENSE="Apache-2.0" +SLOT=0 +KEYWORDS="~amd64" + +RDEPEND=" + ${PYTHON_DEPS} + dev-python/dill[${PYTHON_USEDEP}] +" +DEPEND="${PYTHON_DEPS}" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare +}