commit: 5fc7768c3090413f44a99725da26de1f4cc6a4a7 Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Fri Dec 6 14:46:52 2024 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Fri Dec 6 14:49:09 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fc7768c
dev-tex/latex2pydata: add 0.4.1, drop 0.4.0, enable tests Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> dev-tex/latex2pydata/Manifest | 3 +-- ...x2pydata-0.4.0.ebuild => latex2pydata-0.4.1.ebuild} | 18 ++++++++++-------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/dev-tex/latex2pydata/Manifest b/dev-tex/latex2pydata/Manifest index 19f559486028..a0d07076fb13 100644 --- a/dev-tex/latex2pydata/Manifest +++ b/dev-tex/latex2pydata/Manifest @@ -1,2 +1 @@ -DIST latex2pydata-0.4.0-explicitly-set-build-backend.patch 1196 BLAKE2B de64d8aa56137407771c5f49347be1725aed643ab3251aacb3c12d23ad7075f9ba3429d9b6c937bcdfb43a3ae56078866ef6d800291d1c796518610954f4d430 SHA512 72f4180f4e5c4a818fc79c59f0c3cf672c764986896a9ea80dc40c58eb5a5587464127d79c4f87226d476145b05bda5f4e13b25f507bee6485eb657817e84f64 -DIST latex2pydata-0.4.0.gh.tar.gz 346788 BLAKE2B 8ff018857f3b3140b1d21cbdca4ec5c73156d724ea5131aa1235343f8308e95af2ebb0f265a3b8a59a3a10adb926a9c93c210e66cc1238e4b8bfe39a979b3ed9 SHA512 41bf2438230a48c52275a3c3988f2e4024cf5939fae4b7309cbd6ac3ee889fc1f9f00e5e862caaf71c53229bb933ba38c86271ede68848c06fd21073ee26630b +DIST latex2pydata-0.4.1.gh.tar.gz 346867 BLAKE2B cdf9a69d87d8f859016917af47dccb0f85896026ed020bf92a6e45c4326677f8378f3426243ed4a8ef4039b3041d3cb5b0f1f9643bef82ba0465922185431d9e SHA512 25ebaca117c2b09cf510598ed0bc2e7c3a479503bc18c0f36d0dd5723116f308f68e26d9afee2ababe317417aefb8f69f2828ad5ab2c66eab7ee3903d8cfff42 diff --git a/dev-tex/latex2pydata/latex2pydata-0.4.0.ebuild b/dev-tex/latex2pydata/latex2pydata-0.4.1.ebuild similarity index 76% rename from dev-tex/latex2pydata/latex2pydata-0.4.0.ebuild rename to dev-tex/latex2pydata/latex2pydata-0.4.1.ebuild index 902d9b2839ae..ea5369853f6a 100644 --- a/dev-tex/latex2pydata/latex2pydata-0.4.0.ebuild +++ b/dev-tex/latex2pydata/latex2pydata-0.4.1.ebuild @@ -14,24 +14,20 @@ HOMEPAGE=" https://pypi.org/project/latex2pydata/ " SRC_URI=" - https://github.com/gpoore/${PN}/archive/refs/tags/latex/v${PV}.tar.gz + https://github.com/gpoore/${PN}/archive/refs/tags/python/v${PV}.tar.gz -> ${P}.gh.tar.gz - https://github.com/gpoore/latex2pydata/commit/539ea2c24769a509728ac6ba52a20df588576376.patch - -> ${PN}-0.4.0-explicitly-set-build-backend.patch " -S="${WORKDIR}/${PN}-latex-v${PV}" +S="${WORKDIR}/${PN}-python-v${PV}" LICENSE="LPPL-1.3c" SLOT="0" KEYWORDS="~amd64" -PATCHES=( - "${DISTDIR}"/${PN}-0.4.0-explicitly-set-build-backend.patch -) - BDEPEND=">=dev-texlive/texlive-latexextra-2024" +distutils_enable_tests pytest + src_compile() { pushd python > /dev/null || die distutils-r1_src_compile @@ -42,6 +38,12 @@ src_compile() { popd > /dev/null || die } +src_test() { + pushd python > /dev/null || die + distutils-r1_src_test + popd > /dev/null || die +} + src_install() { dodoc README.md