public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexey Shvetsov" <alexxy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
Date: Thu,  7 Nov 2013 20:05:14 +0000 (UTC)	[thread overview]
Message-ID: <1381367414.adb0978ba3c0bfee82e7df1cb50fee3a25eef219.alexxy@gentoo> (raw)

commit:     adb0978ba3c0bfee82e7df1cb50fee3a25eef219
Author:     Horea Christian <h.chr <AT> mail <DOT> ru>
AuthorDate: Thu Oct 10 01:10:14 2013 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Thu Oct 10 01:10:14 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=adb0978b

Now also copying unused pythontex*.py files

---
 dev-tex/pythontex/pythontex-0.12.ebuild | 25 ++++++++++++++++++-------
 1 file changed, 18 insertions(+), 7 deletions(-)

diff --git a/dev-tex/pythontex/pythontex-0.12.ebuild b/dev-tex/pythontex/pythontex-0.12.ebuild
index 75c2dfe..dd9334a 100644
--- a/dev-tex/pythontex/pythontex-0.12.ebuild
+++ b/dev-tex/pythontex/pythontex-0.12.ebuild
@@ -25,6 +25,8 @@ RDEPEND="${DEPEND}
 
 TEXMF=/usr/share/texmf-site
 
+S="${WORKDIR}"/${PN}
+
 src_prepare() {
 	rm pythontex.sty
 }
@@ -44,6 +46,8 @@ src_install() {
 		python_scriptinto /usr/share/texmf-site/scripts/pythontex/
 		python_newscript pythontex3.py pythontex.py 
 		python_newscript depythontex3.py depythontex.py
+		insinto /usr/share/texmf-site/scripts/${PN}/
+		doins "${S}"/${PN}3.py
 	fi
 	
 	if ! python_is_python3; then
@@ -51,24 +55,31 @@ src_install() {
 		python_newscript pythontex2.py pythontex.py
 		python_doscript pythontex_2to3.py
 		python_newscript depythontex2.py depythontex.py
+		insinto /usr/share/texmf-site/scripts/${PN}/
+		doins "${S}"/${PN}2.py
 	fi
 	
 	insinto /usr/share/texmf-site/scripts/pythontex/
-	doins pythontex_engines.py pythontex_utils.py	
+	dolib "${S}"/pythontex_engines.py 
+	dolib "${S}"/pythontex_utils.py
 
 	insinto /usr/share/texmf-site/tex/latex/pythontex/
-	doins pythontex.sty
+	doins "${S}"/pythontex.sty
 
-	insinto /usr/share/texmf-site/source/latex/pythontex/
-	doins pythontex.dtx pythontex.ins	
+	#insinto /usr/$(get_libdir)/python-exec
+	#doins "${S}"/pythontex_engines.py
 	
+	insinto /usr/share/texmf-site/source/latex/pythontex/
+	doins "${S}"/pythontex.dtx 
+	doins "${S}"/pythontex.ins	
+
 	latex-package_src_install
-	
+
+	dosym /usr/share/texmf-site/scripts/${PN}/${PN}.py /usr/bin/${PN}
+
 	echo "LDPATH=/usr/share/texmf-site/scripts/pythontex/" >> "${T}"/99${PN} || die "Can't write environment variable."
 	doenvd "${T}"/99${PN}
 
 	dodoc README
-	pwd
 	mktexlsr
-	pwd
 }


             reply	other threads:[~2013-11-07 20:05 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-07 20:05 Alexey Shvetsov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-11-07 20:05 [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/ Alexey Shvetsov
2013-11-07 20:05 Alexey Shvetsov
2013-11-07 20:05 Alexey Shvetsov
2013-11-07 20:05 Alexey Shvetsov
2013-11-07 20:05 Alexey Shvetsov
2013-11-07 20:05 Alexey Shvetsov
2013-11-07 20:05 Alexey Shvetsov
2013-11-07 20:05 Alexey Shvetsov
2013-11-07 20:05 Alexey Shvetsov
2013-11-07 20:05 Alexey Shvetsov
2013-11-07 20:05 Alexey Shvetsov
2013-11-07 20:05 Alexey Shvetsov
2013-11-07 20:05 Alexey Shvetsov
2014-01-06 19:27 Justin Lecher
2015-03-09 14:04 Justin Lecher
2015-05-12 11:18 Justin Lecher
2015-06-24  9:51 Justin Lecher
2015-12-08 14:52 Marius Brehler
2015-12-08 14:52 Marius Brehler
2017-03-16 19:35 Justin Lecher
2020-02-10  0:15 Benda XU
2020-03-31  5:18 Horea Christian

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=1381367414.adb0978ba3c0bfee82e7df1cb50fee3a25eef219.alexxy@gentoo \
    --to=alexxy@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