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 3AB78138359 for ; Sun, 22 Nov 2020 09:11:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 60E5EE077C; Sun, 22 Nov 2020 09:11:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 4C193E077C for ; Sun, 22 Nov 2020 09:11:56 +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 1AFF4340E23 for ; Sun, 22 Nov 2020 09:11:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8D81B468 for ; Sun, 22 Nov 2020 09:11:53 +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: <1606036304.4c6ec2c7b70f40cda50ee192b58f39c7467f801f.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/pylatex-1.4.1.ebuild X-VCS-Directories: dev-python/pylatex/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 4c6ec2c7b70f40cda50ee192b58f39c7467f801f X-VCS-Branch: master Date: Sun, 22 Nov 2020 09:11:53 +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: c7578f12-0b97-4135-bfdc-a22f9b4cee94 X-Archives-Hash: a5d9f43bc809dd7899ee7d93fd0a12d4 commit: 4c6ec2c7b70f40cda50ee192b58f39c7467f801f Author: David Denoncin gmail com> AuthorDate: Tue Nov 17 21:14:49 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sun Nov 22 09:11:44 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c6ec2c7 dev-python/pylatex: vbump 1.4.1 Package-Manager: Portage-3.0.8, Repoman-2.3.23 Signed-off-by: David Denoncin gmail.com> Closes: https://github.com/gentoo/gentoo/pull/18309 Signed-off-by: Joonas Niilola gentoo.org> dev-python/pylatex/Manifest | 1 + dev-python/pylatex/pylatex-1.4.1.ebuild | 53 +++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-python/pylatex/Manifest b/dev-python/pylatex/Manifest index af0110d4768..772b2cf8d0a 100644 --- a/dev-python/pylatex/Manifest +++ b/dev-python/pylatex/Manifest @@ -1 +1,2 @@ DIST pylatex-1.4.0.tar.gz 301148 BLAKE2B 4d1fa6add43556b7b2c1ff13b3bc2130d06018499197c3d1f40c9180f4346e774d69c2a356d5eab6c8686957ebafac71a78506553cf7cd3cd57d03c0e0ffffd1 SHA512 0d9ab3e733c50b5a4dd7a6758193645c5532c9153972bbed244e3f7e2d6a946bd36af428197f9cdd1a3256f4cc0db5dc78248973f9b330684ce8651c4a59ad91 +DIST pylatex-1.4.1.tar.gz 301482 BLAKE2B c68c8bbf70c5099b3c3146922afe94dcf4f90bfc8644fa165ee27835f4a24642645f9849f2f9fd69656dc07dcc4807869275aacf33a1e5b9c59e539801f8e821 SHA512 55a5734e4d239cef4bcaafa0ba64eea013ba3e86d137de5a5f8311d70c949d783e2e7aad24d39d16a6febbe4bddc34e47248068e1328fe3f95f39a7c7019a3a9 diff --git a/dev-python/pylatex/pylatex-1.4.1.ebuild b/dev-python/pylatex/pylatex-1.4.1.ebuild new file mode 100644 index 00000000000..f7b9a7e488d --- /dev/null +++ b/dev-python/pylatex/pylatex-1.4.1.ebuild @@ -0,0 +1,53 @@ +# 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 optfeature + +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" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +RDEPEND=" + dev-python/ordered-set[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +BDEPEND+=" + test? ( + dev-python/quantities[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + app-text/texlive + dev-texlive/texlive-latexextra + )" + +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 +}