public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tex/rubber/
Date: Thu,  3 Dec 2020 11:01:23 +0000 (UTC)	[thread overview]
Message-ID: <1606993280.60d15c8470cf5604cc0994798167898022d5a097.sam@gentoo> (raw)

commit:     60d15c8470cf5604cc0994798167898022d5a097
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  3 11:01:15 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Dec  3 11:01:20 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60d15c84

dev-tex/rubber: post-merge fixups

* Add more test dependencies
* Install dev-tex/pythontex for the appropriate impls
* Test for each Python implementation used
* Style changes (shift order around)

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-tex/rubber/rubber-1.6.0_alpha1.ebuild | 48 +++++++++++++++++--------------
 1 file changed, 27 insertions(+), 21 deletions(-)

diff --git a/dev-tex/rubber/rubber-1.6.0_alpha1.ebuild b/dev-tex/rubber/rubber-1.6.0_alpha1.ebuild
index 630795cc124..725038bd3ae 100644
--- a/dev-tex/rubber/rubber-1.6.0_alpha1.ebuild
+++ b/dev-tex/rubber/rubber-1.6.0_alpha1.ebuild
@@ -13,8 +13,8 @@ if [[ ${PV} == "9999" ]] || [[ -n "${EGIT_COMMIT_ID}" ]]; then
 	EGIT_REPO_URI="https://gitlab.com/latex-rubber/${PN}.git"
 else
 	UPSTREAM_PV=$(ver_rs 3 -)
-	S="${WORKDIR}/${PN}-${UPSTREAM_PV}"
 	SRC_URI="https://gitlab.com/latex-rubber/${PN}/-/archive/${UPSTREAM_PV}/${PN}-${UPSTREAM_PV}.tar.bz2"
+	S="${WORKDIR}/${PN}-${UPSTREAM_PV}"
 	KEYWORDS="~amd64 ~ppc ~x86"
 fi
 
@@ -23,7 +23,6 @@ HOMEPAGE="https://gitlab.com/latex-rubber/rubber"
 
 LICENSE="GPL-3+"
 SLOT="0"
-
 IUSE="test"
 RESTRICT="!test? ( test )"
 
@@ -37,30 +36,20 @@ BDEPEND="
 	${RDEPEND}
 	virtual/texi2dvi
 	test? (
+		app-text/ghostscript-gpl
 		app-text/texlive-core
+		dev-tex/biber
+		dev-tex/biblatex
+		dev-tex/glossaries
+		dev-tex/latex-beamer
+		$(python_gen_cond_dep 'dev-tex/pythontex[${PYTHON_USEDEP}]')
 		dev-texlive/texlive-latexextra
+		dev-texlive/texlive-pstricks
 		media-gfx/asymptote
-		dev-tex/pythontex
 	)
 "
-src_install() {
-	insinto /usr/share/zsh/site-functions
-	newins misc/zsh-completion _rubber
-
-	distutils-r1_src_install
-}
-
-python_install() {
-	local my_install_args=(
-		--mandir="${EPREFIX}/usr/share/man"
-		--infodir="${EPREFIX}/usr/share/info"
-		--docdir="${EPREFIX}/usr/share/doc/${PF}"
-	)
-
-	distutils-r1_python_install "${my_install_args[@]}"
-}
 
-src_test() {
+python_test() {
 	cd tests || die
 
 	# Disable the broken 'combine' test as it uses the 'combine' as a
@@ -93,5 +82,22 @@ src_test() {
 	# ERROR:mpost:I can't read MetaPost's log file, this is wrong.
 	touch metapost-input/disable || die
 
-	./run.sh * || die
+	./run.sh * || die "Tests failed with ${EPYTHON}"
+}
+
+python_install() {
+	local my_install_args=(
+		--mandir="${EPREFIX}/usr/share/man"
+		--infodir="${EPREFIX}/usr/share/info"
+		--docdir="${EPREFIX}/usr/share/doc/${PF}"
+	)
+
+	distutils-r1_python_install "${my_install_args[@]}"
+}
+
+src_install() {
+	insinto /usr/share/zsh/site-functions
+	newins misc/zsh-completion _rubber
+
+	distutils-r1_src_install
 }


             reply	other threads:[~2020-12-03 11:01 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-03 11:01 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-18 10:52 [gentoo-commits] repo/gentoo:master commit in: dev-tex/rubber/ Florian Schmaus
2025-01-18 10:52 Florian Schmaus
2024-12-09 21:00 Florian Schmaus
2024-12-09 21:00 Florian Schmaus
2024-10-25 12:16 Arthur Zamarin
2024-10-25 12:16 Arthur Zamarin
2024-06-03 18:09 Florian Schmaus
2024-05-07 19:24 Sebastian Pipping
2024-04-21 11:38 Ulrich Müller
2024-04-13 14:15 Sebastian Pipping
2024-04-12  8:35 Florian Schmaus
2024-04-10 19:42 Sebastian Pipping
2023-03-31 18:05 Sam James
2023-02-26 14:25 Florian Schmaus
2022-06-08  8:12 Florian Schmaus
2021-10-26  1:21 Yixun Lan
2021-07-01  9:01 Florian Schmaus
2021-07-01  9:01 Florian Schmaus
2021-06-22  6:34 Florian Schmaus
2021-06-08  7:10 Sam James
2020-12-03 11:10 Sam James
2020-12-03  9:16 Sam James
2020-12-03  9:16 Sam James
2020-08-20 10:41 Mikle Kolyada
2020-08-11  7:03 Sergei Trofimovich
2020-08-05 13:53 Agostino Sarubbo
2020-02-08 12:44 Ulrich Müller
2017-01-15 10:33 Pacho Ramos
2017-01-01 12:43 Agostino Sarubbo
2016-01-06  9:45 Alexis Ballier

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=1606993280.60d15c8470cf5604cc0994798167898022d5a097.sam@gentoo \
    --to=sam@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