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 4F62F1382C5 for ; Wed, 1 Jul 2020 22:02:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 731ACE087C; Wed, 1 Jul 2020 22:02:52 +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 5A0CEE087C for ; Wed, 1 Jul 2020 22:02:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 7BA7F34EFAD for ; Wed, 1 Jul 2020 22:02:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F2A992AF for ; Wed, 1 Jul 2020 22:02:48 +0000 (UTC) From: "David Denoncin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Denoncin" Message-ID: <1593640881.c2bf20b395028a82fb55ebb18031fa9697e577ac.ddenoncin@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pylatex/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/pylatex/Manifest dev-python/pylatex/pylatex-1.3.3.ebuild X-VCS-Directories: dev-python/pylatex/ X-VCS-Committer: ddenoncin X-VCS-Committer-Name: David Denoncin X-VCS-Revision: c2bf20b395028a82fb55ebb18031fa9697e577ac X-VCS-Branch: dev Date: Wed, 1 Jul 2020 22:02:48 +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: 40ebcc65-b5e3-452e-b3fa-3f0e595f7119 X-Archives-Hash: 46e9c899bb15e7670a248b66f170e88a commit: c2bf20b395028a82fb55ebb18031fa9697e577ac Author: David Denoncin gmail com> AuthorDate: Wed Jul 1 22:01:21 2020 +0000 Commit: David Denoncin gmail com> CommitDate: Wed Jul 1 22:01:21 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c2bf20b3 dev-python/pylatex: vbump 1.3.3 Introduce some style change. Also decompress examples. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: David Denoncin gmail.com> dev-python/pylatex/Manifest | 1 + dev-python/pylatex/pylatex-1.3.3.ebuild | 55 +++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/dev-python/pylatex/Manifest b/dev-python/pylatex/Manifest index 1b97c37..193e905 100644 --- a/dev-python/pylatex/Manifest +++ b/dev-python/pylatex/Manifest @@ -1 +1,2 @@ DIST pylatex-1.3.2.tar.gz 300576 BLAKE2B c096c3e182bdc13fc07c1c2b4bf6ce2e52c04fdd91da0c628d88b5fc1655c4236f468fb261b43882a41f38a389ebcc5c5f6248798df6a04e78b0cb9d4c12d2c4 SHA512 c2b7477e3f93f122865f8b68a4312d60b3548601040e51f6a80653bb5b2de8e516bb1f2d6b8ac48a5e0aba8d883c42c58757f6b1cffec5173e8edb071bf25351 +DIST pylatex-1.3.3.tar.gz 300639 BLAKE2B ac8fad8fa7e6e821cda168f3ae8ffb5acec21d688761b153ef2f9383b6a2f2ac7daea65f04389eb1ba3152fc50176d73cb814a78d2b5250ead2c6647eb96635a SHA512 12f51805996d84840f68844b79384ce4d2c29dde4db06f73b8887fe012abeaa4b9c5cf5e449132e626132b50ba26f014a899d548e3c0def25289671fd92e41a6 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 0000000..79de19f --- /dev/null +++ b/dev-python/pylatex/pylatex-1.3.3.ebuild @@ -0,0 +1,55 @@ +# 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_sphinx docs/source dev-python/sphinx_rtd_theme +distutils_enable_tests nose + +BDEPEND+=" + test? ( + ${RDEPEND} + 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 + optfeature "matplotlib support" dev-python/matplotlib + optfeature "numpy support" dev-python/numpy + optfeature "quantities support" dev-python/quantities +}