From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/tex-overlay:main commit in: dev-tex/latex2pydata/
Date: Thu, 21 Nov 2024 17:37:07 +0000 (UTC) [thread overview]
Message-ID: <1732209821.3697ade9fb9bafd3185e4bef2ba965600197086a.flow@gentoo> (raw)
commit: 3697ade9fb9bafd3185e4bef2ba965600197086a
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 21 17:23:41 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Nov 21 17:23:41 2024 +0000
URL: https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=3697ade9
dev-tex/latex2pydata: new package, add 0.4.0
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
dev-tex/latex2pydata/Manifest | 2 +
dev-tex/latex2pydata/latex2pydata-0.4.0.ebuild | 57 ++++++++++++++++++++++++++
dev-tex/latex2pydata/metadata.xml | 8 ++++
3 files changed, 67 insertions(+)
diff --git a/dev-tex/latex2pydata/Manifest b/dev-tex/latex2pydata/Manifest
new file mode 100644
index 0000000..dfb8eda
--- /dev/null
+++ b/dev-tex/latex2pydata/Manifest
@@ -0,0 +1,2 @@
+DIST latex2pydata-0.4.0-explicitly-set-build-backend.patch 1196 BLAKE2B de64d8aa56137407771c5f49347be1725aed643ab3251aacb3c12d23ad7075f9ba3429d9b6c937bcdfb43a3ae56078866ef6d800291d1c796518610954f4d430 SHA512 72f4180f4e5c4a818fc79c59f0c3cf672c764986896a9ea80dc40c58eb5a5587464127d79c4f87226d476145b05bda5f4e13b25f507bee6485eb657817e84f64
+DIST latex2pydata-0.4.0.tar.gz 346788 BLAKE2B 8ff018857f3b3140b1d21cbdca4ec5c73156d724ea5131aa1235343f8308e95af2ebb0f265a3b8a59a3a10adb926a9c93c210e66cc1238e4b8bfe39a979b3ed9 SHA512 41bf2438230a48c52275a3c3988f2e4024cf5939fae4b7309cbd6ac3ee889fc1f9f00e5e862caaf71c53229bb933ba38c86271ede68848c06fd21073ee26630b
diff --git a/dev-tex/latex2pydata/latex2pydata-0.4.0.ebuild b/dev-tex/latex2pydata/latex2pydata-0.4.0.ebuild
new file mode 100644
index 0000000..3a4b2f1
--- /dev/null
+++ b/dev-tex/latex2pydata/latex2pydata-0.4.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 latex-package
+
+DESCRIPTION="Allows LaTeX to save data to files using Python"
+HOMEPAGE="
+ https://github.com/gpoore/latex2pydata
+ https://pypi.org/project/latex2pydata/
+"
+SRC_URI="
+ https://github.com/gpoore/${PN}/archive/refs/tags/latex/v${PV}.tar.gz
+ -> ${P}.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}"
+
+LICENSE="LPPL-1.3c"
+SLOT="0"
+KEYWORDS="~amd64"
+
+PATCHES=(
+ "${DISTDIR}"/${PN}-0.4.0-explicitly-set-build-backend.patch
+)
+
+# DEPEND=">=dev-texlive/texlive-latexextra-2024"
+
+src_compile() {
+ pushd python &> /dev/null || die
+ distutils-r1_src_compile
+ popd &> /dev/null || die
+
+ pushd latex/latex2pydata &> /dev/null || die
+ latex-package_src_compile
+ popd &> /dev/null || die
+}
+
+src_install() {
+ pushd python &> /dev/null || die
+ distutils-r1_src_install
+ docinto python
+ dodoc *.md
+ popd &> /dev/null || die
+
+ pushd latex/latex2pydata &> /dev/null || die
+ latex-package_src_install
+ docinto latex
+ dodoc *.md
+ popd &> /dev/null || die
+}
diff --git a/dev-tex/latex2pydata/metadata.xml b/dev-tex/latex2pydata/metadata.xml
new file mode 100644
index 0000000..d724efd
--- /dev/null
+++ b/dev-tex/latex2pydata/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>tex@gentoo.org</email>
+ <name>Gentoo TeX Project</name>
+ </maintainer>
+</pkgmetadata>
next reply other threads:[~2024-11-21 17:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-21 17:37 Florian Schmaus [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-22 12:09 [gentoo-commits] proj/tex-overlay:main commit in: dev-tex/latex2pydata/ Florian Schmaus
2024-11-22 17:13 Florian Schmaus
2024-11-26 10:45 Florian Schmaus
2024-11-29 9:12 Florian Schmaus
2024-12-06 14:47 Florian Schmaus
2024-12-06 14:47 Florian Schmaus
2024-12-06 14:53 Florian Schmaus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1732209821.3697ade9fb9bafd3185e4bef2ba965600197086a.flow@gentoo \
--to=flow@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox