public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pylatex/
Date: Wed,  7 Oct 2020 08:41:36 +0000 (UTC)	[thread overview]
Message-ID: <1602060087.1971e0140be8e6d90d43356c3f98af6eed816041.juippis@gentoo> (raw)

commit:     1971e0140be8e6d90d43356c3f98af6eed816041
Author:     David Denoncin <ddenoncin <AT> gmail <DOT> com>
AuthorDate: Wed Sep  2 18:33:17 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Oct  7 08:41:27 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1971e014

dev-python/pylatex: vbump 1.4.0

Use pytest as test runner

Put S variable in right place

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: David Denoncin <ddenoncin <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17388
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-python/pylatex/Manifest             |  1 +
 dev-python/pylatex/pylatex-1.4.0.ebuild | 53 +++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/pylatex/Manifest b/dev-python/pylatex/Manifest
index 9a089da0738..65c065d5f20 100644
--- a/dev-python/pylatex/Manifest
+++ b/dev-python/pylatex/Manifest
@@ -1 +1,2 @@
 DIST pylatex-1.3.3.tar.gz 300639 BLAKE2B ac8fad8fa7e6e821cda168f3ae8ffb5acec21d688761b153ef2f9383b6a2f2ac7daea65f04389eb1ba3152fc50176d73cb814a78d2b5250ead2c6647eb96635a SHA512 12f51805996d84840f68844b79384ce4d2c29dde4db06f73b8887fe012abeaa4b9c5cf5e449132e626132b50ba26f014a899d548e3c0def25289671fd92e41a6
+DIST pylatex-1.4.0.tar.gz 301148 BLAKE2B 4d1fa6add43556b7b2c1ff13b3bc2130d06018499197c3d1f40c9180f4346e774d69c2a356d5eab6c8686957ebafac71a78506553cf7cd3cd57d03c0e0ffffd1 SHA512 0d9ab3e733c50b5a4dd7a6758193645c5532c9153972bbed244e3f7e2d6a946bd36af428197f9cdd1a3256f4cc0db5dc78248973f9b330684ce8651c4a59ad91

diff --git a/dev-python/pylatex/pylatex-1.4.0.ebuild b/dev-python/pylatex/pylatex-1.4.0.ebuild
new file mode 100644
index 00000000000..f7b9a7e488d
--- /dev/null
+++ b/dev-python/pylatex/pylatex-1.4.0.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
+}


             reply	other threads:[~2020-10-07  8:41 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-07  8:41 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-11-25  3:59 [gentoo-commits] repo/gentoo:master commit in: dev-python/pylatex/ Sam James
2023-11-07  5:29 Michał Górny
2023-11-06 21:35 Sam James
2023-11-06 18:18 Michał Górny
2023-10-20  4:42 Michał Górny
2023-02-21  9:29 Sam James
2022-04-25  6:57 Joonas Niilola
2022-04-01 18:22 Florian Schmaus
2022-04-01 18:22 Florian Schmaus
2022-04-01 18:22 Florian Schmaus
2020-12-22 20:06 Michał Górny
2020-12-22 20:06 Michał Górny
2020-12-22 19:02 Sam James
2020-12-22 19:01 Sam James
2020-12-22 18:57 Sam James
2020-11-22  9:11 Joonas Niilola
2020-11-22  9:11 Joonas Niilola
2020-11-10  8:12 Joonas Niilola
2020-11-10  8:12 Joonas Niilola
2020-09-20 20:21 Agostino Sarubbo
2020-09-03 14:29 Thomas Deutschmann
2020-07-19 10:43 Joonas Niilola
2020-07-19 10:43 Joonas Niilola

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=1602060087.1971e0140be8e6d90d43356c3f98af6eed816041.juippis@gentoo \
    --to=juippis@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