From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C38AE138359 for ; Sun, 19 Jul 2020 10:43:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DAEC1E0870; Sun, 19 Jul 2020 10:43:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C1F0FE0871 for ; Sun, 19 Jul 2020 10:43:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A8CF534F42E for ; Sun, 19 Jul 2020 10:43:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8C8EE2E0 for ; Sun, 19 Jul 2020 10:43:46 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1595155404.93a0a85dde90da52339416659588b8d541963821.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pylatex/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pylatex/Manifest dev-python/pylatex/metadata.xml dev-python/pylatex/pylatex-1.3.3.ebuild X-VCS-Directories: dev-python/pylatex/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 93a0a85dde90da52339416659588b8d541963821 X-VCS-Branch: master Date: Sun, 19 Jul 2020 10:43:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: de9fc243-a8a2-48fe-b73d-e4b08c3577a4 X-Archives-Hash: c8d2de58e0feac90a3d73006b2764edb commit: 93a0a85dde90da52339416659588b8d541963821 Author: David Denoncin gmail com> AuthorDate: Fri Jul 17 08:44:35 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sun Jul 19 10:43:24 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93a0a85d dev-python/pylatex: new package This package allows the generation of LaTeX files or snippets from python code Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: David Denoncin gmail.com> Closes: https://github.com/gentoo/gentoo/pull/16505 Signed-off-by: Joonas Niilola gentoo.org> dev-python/pylatex/Manifest | 1 + dev-python/pylatex/metadata.xml | 22 ++++++++++++++ dev-python/pylatex/pylatex-1.3.3.ebuild | 54 +++++++++++++++++++++++++++++++++ 3 files changed, 77 insertions(+) diff --git a/dev-python/pylatex/Manifest b/dev-python/pylatex/Manifest new file mode 100644 index 00000000000..9a089da0738 --- /dev/null +++ b/dev-python/pylatex/Manifest @@ -0,0 +1 @@ +DIST pylatex-1.3.3.tar.gz 300639 BLAKE2B ac8fad8fa7e6e821cda168f3ae8ffb5acec21d688761b153ef2f9383b6a2f2ac7daea65f04389eb1ba3152fc50176d73cb814a78d2b5250ead2c6647eb96635a SHA512 12f51805996d84840f68844b79384ce4d2c29dde4db06f73b8887fe012abeaa4b9c5cf5e449132e626132b50ba26f014a899d548e3c0def25289671fd92e41a6 diff --git a/dev-python/pylatex/metadata.xml b/dev-python/pylatex/metadata.xml new file mode 100644 index 00000000000..e2160561b19 --- /dev/null +++ b/dev-python/pylatex/metadata.xml @@ -0,0 +1,22 @@ + + + + + + ddenoncin@gmail.com + David Denoncin + + + proxy-maint@gentoo.org + Proxy Maintainers + + + PyLaTeX is a Python library for creating and compiling LaTeX + files or snippets. The goal of this library is being an easy, + but extensible interface between Python and LaTeX. + + + JelteF/PyLaTeX + pylatex + + diff --git a/dev-python/pylatex/pylatex-1.3.3.ebuild b/dev-python/pylatex/pylatex-1.3.3.ebuild new file mode 100644 index 00000000000..5a39f5d23f1 --- /dev/null +++ b/dev-python/pylatex/pylatex-1.3.3.ebuild @@ -0,0 +1,54 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="PyLaTeX" +MY_P="${MY_PN}-${PV}" + +PYTHON_COMPAT=( python3_{6,7,8,9} ) + +inherit distutils-r1 eutils + +DESCRIPTION="A Python library for creating LaTeX files and snippets" +HOMEPAGE="https://github.com/JelteF/PyLaTeX" +SRC_URI="https://github.com/JelteF/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +RDEPEND=" + dev-python/ordered-set[${PYTHON_USEDEP}] +" + +distutils_enable_tests nose + +BDEPEND+=" + test? ( + dev-python/quantities[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + app-text/texlive + dev-texlive/texlive-latexextra +)" + +S="${WORKDIR}/${MY_P}" + +python_install_all() { + if use examples ; then + dodoc -r examples + docompress -x /usr/share/doc/"${PF}"/examples + fi + + distutils-r1_python_install_all +} + +pkg_postinst() { + elog "Optional dependencies:" + optfeature "compiling generated files" "app-text/texlive dev-texlive/texlive-latexextra dev-texlive/texlive-mathscience" + optfeature "matplotlib support" dev-python/matplotlib + optfeature "numpy support" dev-python/numpy + optfeature "quantities support" dev-python/quantities +}