From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-640490-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 8F01A138247
	for <garchives@archives.gentoo.org>; Thu,  7 Nov 2013 20:05:21 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 5CDFAE0AB5;
	Thu,  7 Nov 2013 20:05:18 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 97334E0AAC
	for <gentoo-commits@lists.gentoo.org>; Thu,  7 Nov 2013 20:05:17 +0000 (UTC)
Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163])
	(using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 9CF3433F1A0
	for <gentoo-commits@lists.gentoo.org>; Thu,  7 Nov 2013 20:05:16 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by hornbill.gentoo.org (Postfix) with ESMTP id 2BA6BE54D7
	for <gentoo-commits@lists.gentoo.org>; Thu,  7 Nov 2013 20:05:15 +0000 (UTC)
From: "Alexey Shvetsov" <alexxy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Alexey Shvetsov" <alexxy@gentoo.org>
Message-ID: <1381394194.15c28cdceb3d5e24c6f5be9557594e814b09bef1.alexxy@gentoo>
Subject: [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
X-VCS-Repository: proj/sci
X-VCS-Files: dev-tex/pythontex/pythontex-0.12.ebuild
X-VCS-Directories: dev-tex/pythontex/
X-VCS-Committer: alexxy
X-VCS-Committer-Name: Alexey Shvetsov
X-VCS-Revision: 15c28cdceb3d5e24c6f5be9557594e814b09bef1
X-VCS-Branch: master
Date: Thu,  7 Nov 2013 20:05:15 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: a296b532-4318-4884-b838-7c3e0272a460
X-Archives-Hash: dc32bb52df429353ed15e3f8827df590

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

Still trying to get my environment variables to work

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

diff --git a/dev-tex/pythontex/pythontex-0.12.ebuild b/dev-tex/pythontex/pythontex-0.12.ebuild
index 2a56ed0..cc20d1c 100644
--- a/dev-tex/pythontex/pythontex-0.12.ebuild
+++ b/dev-tex/pythontex/pythontex-0.12.ebuild
@@ -43,7 +43,7 @@ src_compile() {
 src_install() {
 	python_optimize .
 	if python_is_python3; then 
-		python_scriptinto /usr/share/texmf-site/scripts/pythontex/
+		python_scriptinto /usr/share/texmf-site/scripts/${PN}/
 		python_newscript pythontex3.py pythontex.py 
 		python_newscript depythontex3.py depythontex.py
 		insinto /usr/share/texmf-site/scripts/${PN}/
@@ -51,7 +51,7 @@ src_install() {
 	fi
 	
 	if ! python_is_python3; then
-		python_scriptinto /usr/share/texmf-site/scripts/pythontex/
+		python_scriptinto /usr/share/texmf-site/scripts/${PN}/
 		python_newscript pythontex2.py pythontex.py
 		python_doscript pythontex_2to3.py
 		python_newscript depythontex2.py depythontex.py
@@ -59,9 +59,9 @@ src_install() {
 		doins "${S}"/${PN}2.py
 	fi
 	
-	insinto /usr/share/texmf-site/scripts/pythontex/
-	dolib "${S}"/pythontex_engines.py 
-	dolib "${S}"/pythontex_utils.py
+	python_moduleinto /usr/share/texmf-site/scripts/pythontex/
+	python_domodule "${S}"/pythontex_engines.py 
+	python_domodule "${S}"/pythontex_utils.py
 
 	insinto /usr/share/texmf-site/tex/latex/pythontex/
 	doins "${S}"/pythontex.sty
@@ -75,9 +75,9 @@ src_install() {
 
 	latex-package_src_install
 
-	#dosym /usr/share/texmf-site/scripts/${PN}/${PN}.py /usr/bin/${PN}
+	#which env-updatedosym /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."
+	echo "PATH=/usr/share/texmf-site/scripts/pythontex/" >> "${T}"/99${PN} || die "Can't write environment variable."
 	doenvd "${T}"/99${PN}
 
 	dodoc README