mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
dev-python/latexify-py: add 0.4.4.1
Signed-off-by: Ronaldo V. Lobato <vieira.lobato@gmail.com>
This commit is contained in:
36
dev-python/latexify-py/latexify-py-0.4.4.1.ebuild
Normal file
36
dev-python/latexify-py/latexify-py-0.4.4.1.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user