* [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
@ 2013-11-07 20:05 Alexey Shvetsov
0 siblings, 0 replies; 23+ messages in thread
From: Alexey Shvetsov @ 2013-11-07 20:05 UTC (permalink / raw
To: gentoo-commits
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
}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
@ 2013-11-07 20:05 Alexey Shvetsov
0 siblings, 0 replies; 23+ messages in thread
From: Alexey Shvetsov @ 2013-11-07 20:05 UTC (permalink / raw
To: gentoo-commits
commit: 31f9ceb484ba9cc81c96c715ef4e10cf634a92d5
Author: Horea Christian <h.chr <AT> mail <DOT> ru>
AuthorDate: Tue Oct 8 00:57:38 2013 +0000
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Tue Oct 8 00:57:38 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=31f9ceb4
Use mktexlsr as per upstream instructions (should help latex detect files)
---
dev-tex/pythontex/pythontex-0.12.ebuild | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dev-tex/pythontex/pythontex-0.12.ebuild b/dev-tex/pythontex/pythontex-0.12.ebuild
index fa59ae9..75c2dfe 100644
--- a/dev-tex/pythontex/pythontex-0.12.ebuild
+++ b/dev-tex/pythontex/pythontex-0.12.ebuild
@@ -68,5 +68,7 @@ src_install() {
doenvd "${T}"/99${PN}
dodoc README
-
+ pwd
+ mktexlsr
+ pwd
}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
@ 2013-11-07 20:05 Alexey Shvetsov
0 siblings, 0 replies; 23+ messages in thread
From: Alexey Shvetsov @ 2013-11-07 20:05 UTC (permalink / raw
To: gentoo-commits
commit: 6864243a1f42f828c0dcbd6f9281d1d4568726d2
Author: Horea Christian <h.chr <AT> mail <DOT> ru>
AuthorDate: Sun Oct 20 22:04:05 2013 +0000
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Sun Oct 20 22:04:05 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=6864243a
Finally working ebuilds (tested on multilib AND no-multilib)
---
dev-tex/pythontex/pythontex-0.12.ebuild | 3 ++-
dev-tex/pythontex/pythontex-9999.ebuild | 1 -
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-tex/pythontex/pythontex-0.12.ebuild b/dev-tex/pythontex/pythontex-0.12.ebuild
index 3f91516..7f85e66 100644
--- a/dev-tex/pythontex/pythontex-0.12.ebuild
+++ b/dev-tex/pythontex/pythontex-0.12.ebuild
@@ -48,7 +48,8 @@ src_install() {
python_newscript depythontex2.py depythontex.py
fi
- python_moduleinto /usr/lib64/python-exec/python2.7
+ python_export PYTHON_SCRIPTDIR
+ python_moduleinto ${PYTHON_SCRIPTDIR} # it looks for modules here, submitted a patch for future versions.
python_domodule "${S}"/pythontex_engines.py
python_domodule "${S}"/pythontex_utils.py
diff --git a/dev-tex/pythontex/pythontex-9999.ebuild b/dev-tex/pythontex/pythontex-9999.ebuild
index 240c4be..56127cb 100644
--- a/dev-tex/pythontex/pythontex-9999.ebuild
+++ b/dev-tex/pythontex/pythontex-9999.ebuild
@@ -47,7 +47,6 @@ src_install() {
python_newscript depythontex2.py depythontex.py
fi
- python_moduleinto /usr/lib64/python-exec/python2.7
python_domodule "${S}"/pythontex_engines.py
python_domodule "${S}"/pythontex_utils.py
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
@ 2013-11-07 20:05 Alexey Shvetsov
0 siblings, 0 replies; 23+ messages in thread
From: Alexey Shvetsov @ 2013-11-07 20:05 UTC (permalink / raw
To: gentoo-commits
commit: c10a1a01b9febe9a3f5363849be0d8a5086f90f3
Author: Horea Christian <h.chr <AT> mail <DOT> ru>
AuthorDate: Sun Oct 20 22:24:21 2013 +0000
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Sun Oct 20 22:24:21 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=c10a1a01
Fixed latex output destination (no longer /dev/null)
---
dev-tex/pythontex/pythontex-0.12.ebuild | 2 +-
dev-tex/pythontex/pythontex-9999.ebuild | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dev-tex/pythontex/pythontex-0.12.ebuild b/dev-tex/pythontex/pythontex-0.12.ebuild
index 7f85e66..453931b 100644
--- a/dev-tex/pythontex/pythontex-0.12.ebuild
+++ b/dev-tex/pythontex/pythontex-0.12.ebuild
@@ -32,7 +32,7 @@ src_prepare() {
src_compile() {
ebegin "Compiling ${PN}"
- latex ${PN}.ins extra >/dev/null || die "Building style from ${PN}.ins failed"
+ latex ${PN}.ins extra >${T}/build-latex.log || die "Building style from ${PN}.ins failed"
eend
sed -i -e '1i#!/usr/bin/env python' depythontex2.py || die "adding shebang failed!"
sed -i -e '1i#!/usr/bin/env python' depythontex3.py || die "adding shebang failed!"
diff --git a/dev-tex/pythontex/pythontex-9999.ebuild b/dev-tex/pythontex/pythontex-9999.ebuild
index 56127cb..9635d55 100644
--- a/dev-tex/pythontex/pythontex-9999.ebuild
+++ b/dev-tex/pythontex/pythontex-9999.ebuild
@@ -31,8 +31,9 @@ src_prepare() {
}
src_compile() {
+ pwd
ebegin "Compiling ${PN}"
- latex ${PN}.ins extra >/dev/null || die "Building style from ${PN}.ins failed"
+ latex ${PN}.ins extra >${T}/build-latex.log || die "Building style from ${PN}.ins failed"
eend
}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
@ 2013-11-07 20:05 Alexey Shvetsov
0 siblings, 0 replies; 23+ messages in thread
From: Alexey Shvetsov @ 2013-11-07 20:05 UTC (permalink / raw
To: gentoo-commits
commit: 75724311f67f206376ebdcfd5caa4c5e30681ea3
Author: Horea Christian <h.chr <AT> mail <DOT> ru>
AuthorDate: Sun Oct 13 18:01:46 2013 +0000
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Sun Oct 13 18:01:46 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=75724311
Created live ebuild to benefit from some fixes to the package which became obvious while writing the ebuildt.
---
dev-tex/pythontex/pythontex-9999.ebuild | 65 +++++++++++++++++++++++++++++++++
1 file changed, 65 insertions(+)
diff --git a/dev-tex/pythontex/pythontex-9999.ebuild b/dev-tex/pythontex/pythontex-9999.ebuild
new file mode 100644
index 0000000..240c4be
--- /dev/null
+++ b/dev-tex/pythontex/pythontex-9999.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/envlab/envlab-1.2-r1.ebuild,v 1.18 2012/05/09 17:16:08 aballier Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_2,3_3} )
+
+inherit latex-package python-single-r1 git-2
+
+DESCRIPTION="Fast Access to Python from within LaTeX"
+HOMEPAGE="https://github.com/gpoore/pythontex"
+EGIT_REPO_URI="https://github.com/TheChymera/pythontex.git"
+SRC_URI=""
+
+
+SLOT="0"
+LICENSE="LPPL-1.3 BSD"
+KEYWORDS=""
+IUSE="highlighting"
+
+DEPEND="app-text/texlive
+ ${PYTHON_DEPS}"
+
+RDEPEND="${DEPEND}
+ highlighting? ( dev-python/pygments[${PYTHON_USEDEP}] )"
+
+src_prepare() {
+ S="${WORKDIR}/${P}/${PN}"
+ cd ${S}
+}
+
+src_compile() {
+ ebegin "Compiling ${PN}"
+ latex ${PN}.ins extra >/dev/null || die "Building style from ${PN}.ins failed"
+ eend
+}
+
+src_install() {
+ python_optimize .
+ if python_is_python3; then
+ #python_scriptinto /usr/share/texmf-site/scripts/${PN}/
+ python_newscript pythontex3.py pythontex.py
+ python_newscript depythontex3.py depythontex.py
+ else python_newscript pythontex2.py pythontex.py
+ python_doscript pythontex_2to3.py
+ python_newscript depythontex2.py depythontex.py
+ fi
+
+ python_moduleinto /usr/lib64/python-exec/python2.7
+ python_domodule "${S}"/pythontex_engines.py
+ python_domodule "${S}"/pythontex_utils.py
+
+ insinto /usr/share/texmf-site/tex/latex/pythontex/
+ doins "${S}"/pythontex.sty
+
+ insinto /usr/share/texmf-site/source/latex/pythontex/
+ doins "${S}"/pythontex.dtx
+ doins "${S}"/pythontex.ins
+
+ latex-package_src_install
+
+ dodoc README
+ mktexlsr
+}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
@ 2013-11-07 20:05 Alexey Shvetsov
0 siblings, 0 replies; 23+ messages in thread
From: Alexey Shvetsov @ 2013-11-07 20:05 UTC (permalink / raw
To: gentoo-commits
commit: 5b9f8a0f39d25c5e72c7140963db34451ff3706f
Author: Horea Christian <h.chr <AT> mail <DOT> ru>
AuthorDate: Thu Oct 10 01:14:18 2013 +0000
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Thu Oct 10 01:14:18 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=5b9f8a0f
No more symlink
---
dev-tex/pythontex/pythontex-0.12.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-tex/pythontex/pythontex-0.12.ebuild b/dev-tex/pythontex/pythontex-0.12.ebuild
index dd9334a..2a56ed0 100644
--- a/dev-tex/pythontex/pythontex-0.12.ebuild
+++ b/dev-tex/pythontex/pythontex-0.12.ebuild
@@ -75,7 +75,7 @@ src_install() {
latex-package_src_install
- dosym /usr/share/texmf-site/scripts/${PN}/${PN}.py /usr/bin/${PN}
+ #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}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
@ 2013-11-07 20:05 Alexey Shvetsov
0 siblings, 0 replies; 23+ messages in thread
From: Alexey Shvetsov @ 2013-11-07 20:05 UTC (permalink / raw
To: gentoo-commits
commit: 95fe57dfd4679104741f00e85f53deb0188bcda3
Author: TheChymera <h.chr <AT> mail <DOT> ru>
AuthorDate: Fri Oct 11 10:18:53 2013 +0000
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Fri Oct 11 10:18:53 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=95fe57df
concatenated if statements, added keywords, various minor improvements
---
dev-tex/pythontex/pythontex-0.12.ebuild | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/dev-tex/pythontex/pythontex-0.12.ebuild b/dev-tex/pythontex/pythontex-0.12.ebuild
index cc20d1c..6eeaadd 100644
--- a/dev-tex/pythontex/pythontex-0.12.ebuild
+++ b/dev-tex/pythontex/pythontex-0.12.ebuild
@@ -9,11 +9,12 @@ PYTHON_COMPAT=( python{2_7,3_2,3_3} )
inherit latex-package python-single-r1
S="${WORKDIR}/${PN}"
-LICENSE="LPPL-1.3 BSD"
DESCRIPTION="Fast Access to Python from within LaTeX"
HOMEPAGE="https://github.com/gpoore/pythontex"
SRC_URI="https://github.com/gpoore/pythontex/raw/master/package_downloads/${PN}_${PV}.zip https://github.com/gpoore/pythontex/raw/master/package_downloads/old_versions/${PN}_${PV}.zip"
+
SLOT="0"
+LICENSE="LPPL-1.3 BSD"
KEYWORDS="~amd64"
IUSE="highlighting"
@@ -28,7 +29,7 @@ TEXMF=/usr/share/texmf-site
S="${WORKDIR}"/${PN}
src_prepare() {
- rm pythontex.sty
+ rm pythontex.sty || die "Could not remove pythontex.sty!"
}
src_compile() {
@@ -48,9 +49,7 @@ src_install() {
python_newscript depythontex3.py depythontex.py
insinto /usr/share/texmf-site/scripts/${PN}/
doins "${S}"/${PN}3.py
- fi
-
- if ! python_is_python3; then
+ else ! python_is_python3;
python_scriptinto /usr/share/texmf-site/scripts/${PN}/
python_newscript pythontex2.py pythontex.py
python_doscript pythontex_2to3.py
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
@ 2013-11-07 20:05 Alexey Shvetsov
0 siblings, 0 replies; 23+ messages in thread
From: Alexey Shvetsov @ 2013-11-07 20:05 UTC (permalink / raw
To: gentoo-commits
commit: 8ab8f26a8eaba19780ff83ccda6cee608711ad67
Author: Horea Christian <h.chr <AT> mail <DOT> ru>
AuthorDate: Sun Oct 13 18:01:09 2013 +0000
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Sun Oct 13 18:01:09 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=8ab8f26a
Finally works on all tested machines (creating the scripts normally, and the modules in the directory suggested by upstream)
---
dev-tex/pythontex/pythontex-0.12.ebuild | 22 ++--------------------
1 file changed, 2 insertions(+), 20 deletions(-)
diff --git a/dev-tex/pythontex/pythontex-0.12.ebuild b/dev-tex/pythontex/pythontex-0.12.ebuild
index 6eeaadd..3f91516 100644
--- a/dev-tex/pythontex/pythontex-0.12.ebuild
+++ b/dev-tex/pythontex/pythontex-0.12.ebuild
@@ -8,7 +8,6 @@ PYTHON_COMPAT=( python{2_7,3_2,3_3} )
inherit latex-package python-single-r1
-S="${WORKDIR}/${PN}"
DESCRIPTION="Fast Access to Python from within LaTeX"
HOMEPAGE="https://github.com/gpoore/pythontex"
SRC_URI="https://github.com/gpoore/pythontex/raw/master/package_downloads/${PN}_${PV}.zip https://github.com/gpoore/pythontex/raw/master/package_downloads/old_versions/${PN}_${PV}.zip"
@@ -27,7 +26,6 @@ RDEPEND="${DEPEND}
TEXMF=/usr/share/texmf-site
S="${WORKDIR}"/${PN}
-
src_prepare() {
rm pythontex.sty || die "Could not remove pythontex.sty!"
}
@@ -36,7 +34,6 @@ src_compile() {
ebegin "Compiling ${PN}"
latex ${PN}.ins extra >/dev/null || die "Building style from ${PN}.ins failed"
eend
- sed -i -e '1i#!/usr/bin/env python' depythontex.py || die "adding shebang failed!"
sed -i -e '1i#!/usr/bin/env python' depythontex2.py || die "adding shebang failed!"
sed -i -e '1i#!/usr/bin/env python' depythontex3.py || die "adding shebang failed!"
}
@@ -44,41 +41,26 @@ src_compile() {
src_install() {
python_optimize .
if python_is_python3; then
- 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}/
- doins "${S}"/${PN}3.py
- else ! python_is_python3;
- python_scriptinto /usr/share/texmf-site/scripts/${PN}/
- python_newscript pythontex2.py pythontex.py
+ else 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
- python_moduleinto /usr/share/texmf-site/scripts/pythontex/
+ python_moduleinto /usr/lib64/python-exec/python2.7
python_domodule "${S}"/pythontex_engines.py
python_domodule "${S}"/pythontex_utils.py
insinto /usr/share/texmf-site/tex/latex/pythontex/
doins "${S}"/pythontex.sty
- #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
- #which env-updatedosym /usr/share/texmf-site/scripts/${PN}/${PN}.py /usr/bin/${PN}
-
- echo "PATH=/usr/share/texmf-site/scripts/pythontex/" >> "${T}"/99${PN} || die "Can't write environment variable."
- doenvd "${T}"/99${PN}
-
dodoc README
mktexlsr
}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
@ 2013-11-07 20:05 Alexey Shvetsov
0 siblings, 0 replies; 23+ messages in thread
From: Alexey Shvetsov @ 2013-11-07 20:05 UTC (permalink / raw
To: gentoo-commits
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
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
@ 2013-11-07 20:05 Alexey Shvetsov
0 siblings, 0 replies; 23+ messages in thread
From: Alexey Shvetsov @ 2013-11-07 20:05 UTC (permalink / raw
To: gentoo-commits
commit: 8381ae46ccb33445352711a216c1f01dfd02f792
Author: Horea Christian <h.chr <AT> mail <DOT> ru>
AuthorDate: Mon Oct 21 23:58:04 2013 +0000
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Mon Oct 21 23:58:04 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=8381ae46
added missing deps
---
dev-tex/pythontex/pythontex-0.12.ebuild | 2 ++
dev-tex/pythontex/pythontex-9999.ebuild | 2 ++
2 files changed, 4 insertions(+)
diff --git a/dev-tex/pythontex/pythontex-0.12.ebuild b/dev-tex/pythontex/pythontex-0.12.ebuild
index e8c8003..ca691a9 100644
--- a/dev-tex/pythontex/pythontex-0.12.ebuild
+++ b/dev-tex/pythontex/pythontex-0.12.ebuild
@@ -21,6 +21,8 @@ DEPEND="app-text/texlive
${PYTHON_DEPS}"
RDEPEND="${DEPEND}
+ dev-texlive/texlive-xetex
+ >=dev-python/matplotlib-1.2.0
highlighting? ( dev-python/pygments[${PYTHON_USEDEP}] )"
TEXMF=/usr/share/texmf-site
diff --git a/dev-tex/pythontex/pythontex-9999.ebuild b/dev-tex/pythontex/pythontex-9999.ebuild
index d1439f4..befcf78 100644
--- a/dev-tex/pythontex/pythontex-9999.ebuild
+++ b/dev-tex/pythontex/pythontex-9999.ebuild
@@ -24,6 +24,8 @@ DEPEND="app-text/texlive
${PYTHON_DEPS}"
RDEPEND="${DEPEND}
+ dev-texlive/texlive-xetex
+ >=dev-python/matplotlib-1.2.0
highlighting? ( dev-python/pygments[${PYTHON_USEDEP}] )"
src_prepare() {
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
@ 2013-11-07 20:05 Alexey Shvetsov
0 siblings, 0 replies; 23+ messages in thread
From: Alexey Shvetsov @ 2013-11-07 20:05 UTC (permalink / raw
To: gentoo-commits
commit: 4e48bd8d4ed00415ef8b9f0b9db1371e4ec24a38
Author: TheChymera <h.chr <AT> mail <DOT> ru>
AuthorDate: Mon Oct 21 10:01:54 2013 +0000
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Mon Oct 21 10:01:54 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=4e48bd8d
removed cd call in src_prepare and added REQUIRED_USE for python.
---
dev-tex/pythontex/pythontex-0.12.ebuild | 3 ++-
dev-tex/pythontex/pythontex-9999.ebuild | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dev-tex/pythontex/pythontex-0.12.ebuild b/dev-tex/pythontex/pythontex-0.12.ebuild
index 453931b..e8c8003 100644
--- a/dev-tex/pythontex/pythontex-0.12.ebuild
+++ b/dev-tex/pythontex/pythontex-0.12.ebuild
@@ -48,7 +48,8 @@ src_install() {
python_newscript depythontex2.py depythontex.py
fi
- python_export PYTHON_SCRIPTDIR
+ python_export PYTHON_SCRIPTDIR
+ echo ${PYTHON_SCRIPTDIR}
python_moduleinto ${PYTHON_SCRIPTDIR} # it looks for modules here, submitted a patch for future versions.
python_domodule "${S}"/pythontex_engines.py
python_domodule "${S}"/pythontex_utils.py
diff --git a/dev-tex/pythontex/pythontex-9999.ebuild b/dev-tex/pythontex/pythontex-9999.ebuild
index 9635d55..d1439f4 100644
--- a/dev-tex/pythontex/pythontex-9999.ebuild
+++ b/dev-tex/pythontex/pythontex-9999.ebuild
@@ -18,6 +18,7 @@ SLOT="0"
LICENSE="LPPL-1.3 BSD"
KEYWORDS=""
IUSE="highlighting"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="app-text/texlive
${PYTHON_DEPS}"
@@ -27,7 +28,6 @@ RDEPEND="${DEPEND}
src_prepare() {
S="${WORKDIR}/${P}/${PN}"
- cd ${S}
}
src_compile() {
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
@ 2013-11-07 20:05 Alexey Shvetsov
0 siblings, 0 replies; 23+ messages in thread
From: Alexey Shvetsov @ 2013-11-07 20:05 UTC (permalink / raw
To: gentoo-commits
commit: 619e295bdd9f9059baaffb0fb72045b5dcb1a626
Author: Horea Christian <h.chr <AT> mail <DOT> ru>
AuthorDate: Wed Oct 23 20:43:27 2013 +0000
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Wed Oct 23 20:43:27 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=619e295b
completed merging lines
---
dev-tex/pythontex/pythontex-0.12.ebuild | 6 ++----
dev-tex/pythontex/pythontex-9999.ebuild | 2 +-
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/dev-tex/pythontex/pythontex-0.12.ebuild b/dev-tex/pythontex/pythontex-0.12.ebuild
index 9bc4532..0ff97a1 100644
--- a/dev-tex/pythontex/pythontex-0.12.ebuild
+++ b/dev-tex/pythontex/pythontex-0.12.ebuild
@@ -53,15 +53,13 @@ src_install() {
python_export PYTHON_SCRIPTDIR
echo ${PYTHON_SCRIPTDIR}
python_moduleinto ${PYTHON_SCRIPTDIR} # it looks for modules here, submitted a patch for future versions.
- python_domodule "${S}"/pythontex_engines.py
- python_domodule "${S}"/pythontex_utils.py
+ python_domodule "${S}"/pythontex_engines.py "${S}"/pythontex_utils.py
insinto /usr/share/texmf-site/tex/latex/pythontex/
doins "${S}"/pythontex.sty
insinto /usr/share/texmf-site/source/latex/pythontex/
- doins "${S}"/pythontex.dtx
- doins "${S}"/pythontex.ins
+ doins "${S}"/pythontex.dtx "${S}"/pythontex.ins
latex-package_src_install
diff --git a/dev-tex/pythontex/pythontex-9999.ebuild b/dev-tex/pythontex/pythontex-9999.ebuild
index 11fcab7..669af4e 100644
--- a/dev-tex/pythontex/pythontex-9999.ebuild
+++ b/dev-tex/pythontex/pythontex-9999.ebuild
@@ -56,7 +56,7 @@ src_install() {
doins "${S}"/pythontex.sty
insinto /usr/share/texmf-site/source/latex/pythontex/
- doins "${S}"/pythontex.dtx "${S}"/pythontex.ins
+ doins "${S}"/pythontex.dtx "${S}"/pythontex.ins
latex-package_src_install
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
@ 2013-11-07 20:05 Alexey Shvetsov
0 siblings, 0 replies; 23+ messages in thread
From: Alexey Shvetsov @ 2013-11-07 20:05 UTC (permalink / raw
To: gentoo-commits
commit: a4c0bd5b7efb0c339046bf53dd3f143104260272
Author: Horea Christian <h.chr <AT> mail <DOT> ru>
AuthorDate: Wed Oct 23 20:39:34 2013 +0000
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Wed Oct 23 20:39:34 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=a4c0bd5b
added python usedep and merged domodule nd doinstall lines
---
dev-tex/pythontex/pythontex-0.12.ebuild | 2 +-
dev-tex/pythontex/pythontex-9999.ebuild | 8 +++-----
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/dev-tex/pythontex/pythontex-0.12.ebuild b/dev-tex/pythontex/pythontex-0.12.ebuild
index ca691a9..9bc4532 100644
--- a/dev-tex/pythontex/pythontex-0.12.ebuild
+++ b/dev-tex/pythontex/pythontex-0.12.ebuild
@@ -22,7 +22,7 @@ DEPEND="app-text/texlive
RDEPEND="${DEPEND}
dev-texlive/texlive-xetex
- >=dev-python/matplotlib-1.2.0
+ >=dev-python/matplotlib-1.2.0[${PYTHON_USEDEP}]
highlighting? ( dev-python/pygments[${PYTHON_USEDEP}] )"
TEXMF=/usr/share/texmf-site
diff --git a/dev-tex/pythontex/pythontex-9999.ebuild b/dev-tex/pythontex/pythontex-9999.ebuild
index befcf78..11fcab7 100644
--- a/dev-tex/pythontex/pythontex-9999.ebuild
+++ b/dev-tex/pythontex/pythontex-9999.ebuild
@@ -25,7 +25,7 @@ DEPEND="app-text/texlive
RDEPEND="${DEPEND}
dev-texlive/texlive-xetex
- >=dev-python/matplotlib-1.2.0
+ >=dev-python/matplotlib-1.2.0[${PYTHON_USEDEP}]
highlighting? ( dev-python/pygments[${PYTHON_USEDEP}] )"
src_prepare() {
@@ -50,15 +50,13 @@ src_install() {
python_newscript depythontex2.py depythontex.py
fi
- python_domodule "${S}"/pythontex_engines.py
- python_domodule "${S}"/pythontex_utils.py
+ python_domodule "${S}"/pythontex_engines.py "${S}"/pythontex_utils.py
insinto /usr/share/texmf-site/tex/latex/pythontex/
doins "${S}"/pythontex.sty
insinto /usr/share/texmf-site/source/latex/pythontex/
- doins "${S}"/pythontex.dtx
- doins "${S}"/pythontex.ins
+ doins "${S}"/pythontex.dtx "${S}"/pythontex.ins
latex-package_src_install
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
@ 2013-11-07 20:05 Alexey Shvetsov
0 siblings, 0 replies; 23+ messages in thread
From: Alexey Shvetsov @ 2013-11-07 20:05 UTC (permalink / raw
To: gentoo-commits
commit: e0b6a70404cee171e1f9d8642885a2aa232ba782
Author: Horea Christian <h.chr <AT> mail <DOT> ru>
AuthorDate: Thu Oct 31 02:42:17 2013 +0000
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Thu Oct 31 02:42:17 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=e0b6a704
Switched git repo to upstream instead of my fork (he implemented most of my patches, wants to keep pythontex.sty for some reason).
---
dev-tex/pythontex/pythontex-9999.ebuild | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dev-tex/pythontex/pythontex-9999.ebuild b/dev-tex/pythontex/pythontex-9999.ebuild
index 669af4e..67c1a5d 100644
--- a/dev-tex/pythontex/pythontex-9999.ebuild
+++ b/dev-tex/pythontex/pythontex-9999.ebuild
@@ -10,7 +10,7 @@ inherit latex-package python-single-r1 git-2
DESCRIPTION="Fast Access to Python from within LaTeX"
HOMEPAGE="https://github.com/gpoore/pythontex"
-EGIT_REPO_URI="https://github.com/TheChymera/pythontex.git"
+EGIT_REPO_URI="https://github.com/gpoore/pythontex.git"
SRC_URI=""
@@ -30,6 +30,8 @@ RDEPEND="${DEPEND}
src_prepare() {
S="${WORKDIR}/${P}/${PN}"
+ cd ${S}
+ rm pythontex.sty || die "Could not remove pre-compiled pythontex.sty!"
}
src_compile() {
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
@ 2014-01-06 19:27 Justin Lecher
0 siblings, 0 replies; 23+ messages in thread
From: Justin Lecher @ 2014-01-06 19:27 UTC (permalink / raw
To: gentoo-commits
commit: 0d8761a16aaa1a556fd724a1cb7ada300762401a
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 6 19:09:11 2014 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Jan 6 19:09:11 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=0d8761a1
dev-tex/pythontex: Switch from git-2 to git-r3
Package-Manager: portage-2.2.8
---
dev-tex/pythontex/ChangeLog | 8 ++++++++
dev-tex/pythontex/metadata.xml | 8 ++++++++
dev-tex/pythontex/pythontex-0.12.ebuild | 24 +++++++++++++-----------
dev-tex/pythontex/pythontex-9999.ebuild | 33 ++++++++++++++++-----------------
4 files changed, 45 insertions(+), 28 deletions(-)
diff --git a/dev-tex/pythontex/ChangeLog b/dev-tex/pythontex/ChangeLog
new file mode 100644
index 0000000..c0fb531
--- /dev/null
+++ b/dev-tex/pythontex/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for dev-tex/pythontex
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 06 Jan 2014; Justin Lecher <jlec@gentoo.org> pythontex-0.12.ebuild,
+ pythontex-9999.ebuild, +metadata.xml:
+ Switch from git-2 to git-r3
+
diff --git a/dev-tex/pythontex/metadata.xml b/dev-tex/pythontex/metadata.xml
new file mode 100644
index 0000000..1087ec9
--- /dev/null
+++ b/dev-tex/pythontex/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <use>
+ <flag name="highlighting">PLEASE FIX MY DESCRIPTION</flag>
+ </use>
+</pkgmetadata>
diff --git a/dev-tex/pythontex/pythontex-0.12.ebuild b/dev-tex/pythontex/pythontex-0.12.ebuild
index 0ff97a1..6d50f2f 100644
--- a/dev-tex/pythontex/pythontex-0.12.ebuild
+++ b/dev-tex/pythontex/pythontex-0.12.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tex/envlab/envlab-1.2-r1.ebuild,v 1.18 2012/05/09 17:16:08 aballier Exp $
@@ -17,9 +17,10 @@ LICENSE="LPPL-1.3 BSD"
KEYWORDS="~amd64"
IUSE="highlighting"
-DEPEND="app-text/texlive
- ${PYTHON_DEPS}"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+DEPEND="${PYTHON_DEPS}
+ app-text/texlive"
RDEPEND="${DEPEND}
dev-texlive/texlive-xetex
>=dev-python/matplotlib-1.2.0[${PYTHON_USEDEP}]
@@ -34,7 +35,7 @@ src_prepare() {
src_compile() {
ebegin "Compiling ${PN}"
- latex ${PN}.ins extra >${T}/build-latex.log || die "Building style from ${PN}.ins failed"
+ latex ${PN}.ins extra > "${T}"/build-latex.log || die "Building style from ${PN}.ins failed"
eend
sed -i -e '1i#!/usr/bin/env python' depythontex2.py || die "adding shebang failed!"
sed -i -e '1i#!/usr/bin/env python' depythontex3.py || die "adding shebang failed!"
@@ -42,24 +43,25 @@ src_compile() {
src_install() {
python_optimize .
- if python_is_python3; then
- python_newscript pythontex3.py pythontex.py
+ if python_is_python3; then
+ python_newscript pythontex3.py pythontex.py
python_newscript depythontex3.py depythontex.py
- else python_newscript pythontex2.py pythontex.py
+ else
+ python_newscript pythontex2.py pythontex.py
python_doscript pythontex_2to3.py
python_newscript depythontex2.py depythontex.py
fi
-
+
python_export PYTHON_SCRIPTDIR
- echo ${PYTHON_SCRIPTDIR}
- python_moduleinto ${PYTHON_SCRIPTDIR} # it looks for modules here, submitted a patch for future versions.
+
+ python_moduleinto ${PYTHON_SCRIPTDIR}
python_domodule "${S}"/pythontex_engines.py "${S}"/pythontex_utils.py
insinto /usr/share/texmf-site/tex/latex/pythontex/
doins "${S}"/pythontex.sty
insinto /usr/share/texmf-site/source/latex/pythontex/
- doins "${S}"/pythontex.dtx "${S}"/pythontex.ins
+ doins "${S}"/pythontex.dtx "${S}"/pythontex.ins
latex-package_src_install
diff --git a/dev-tex/pythontex/pythontex-9999.ebuild b/dev-tex/pythontex/pythontex-9999.ebuild
index 67c1a5d..7ac96aa 100644
--- a/dev-tex/pythontex/pythontex-9999.ebuild
+++ b/dev-tex/pythontex/pythontex-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tex/envlab/envlab-1.2-r1.ebuild,v 1.18 2012/05/09 17:16:08 aballier Exp $
@@ -6,23 +6,22 @@ EAPI=5
PYTHON_COMPAT=( python{2_7,3_2,3_3} )
-inherit latex-package python-single-r1 git-2
+inherit latex-package python-single-r1 git-r3
DESCRIPTION="Fast Access to Python from within LaTeX"
HOMEPAGE="https://github.com/gpoore/pythontex"
-EGIT_REPO_URI="https://github.com/gpoore/pythontex.git"
SRC_URI=""
-
+EGIT_REPO_URI="https://github.com/gpoore/pythontex.git"
SLOT="0"
LICENSE="LPPL-1.3 BSD"
KEYWORDS=""
IUSE="highlighting"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-DEPEND="app-text/texlive
- ${PYTHON_DEPS}"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+DEPEND="${PYTHON_DEPS}
+ app-text/texlive"
RDEPEND="${DEPEND}
dev-texlive/texlive-xetex
>=dev-python/matplotlib-1.2.0[${PYTHON_USEDEP}]
@@ -30,38 +29,38 @@ RDEPEND="${DEPEND}
src_prepare() {
S="${WORKDIR}/${P}/${PN}"
- cd ${S}
+ cd "${S}" || die
rm pythontex.sty || die "Could not remove pre-compiled pythontex.sty!"
}
src_compile() {
- pwd
ebegin "Compiling ${PN}"
- latex ${PN}.ins extra >${T}/build-latex.log || die "Building style from ${PN}.ins failed"
+ latex ${PN}.ins extra > "${T}"/build-latex.log || die "Building style from ${PN}.ins failed"
eend
}
src_install() {
python_optimize .
- if python_is_python3; then
+ if python_is_python3; then
#python_scriptinto /usr/share/texmf-site/scripts/${PN}/
- python_newscript pythontex3.py pythontex.py
+ python_newscript pythontex3.py pythontex.py
python_newscript depythontex3.py depythontex.py
- else python_newscript pythontex2.py pythontex.py
+ else
+ python_newscript pythontex2.py pythontex.py
python_doscript pythontex_2to3.py
python_newscript depythontex2.py depythontex.py
fi
-
+
python_domodule "${S}"/pythontex_engines.py "${S}"/pythontex_utils.py
insinto /usr/share/texmf-site/tex/latex/pythontex/
doins "${S}"/pythontex.sty
-
+
insinto /usr/share/texmf-site/source/latex/pythontex/
- doins "${S}"/pythontex.dtx "${S}"/pythontex.ins
+ doins "${S}"/pythontex.dtx "${S}"/pythontex.ins
latex-package_src_install
dodoc README
- mktexlsr
+ mktexlsr || die
}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
@ 2015-03-09 14:04 Justin Lecher
0 siblings, 0 replies; 23+ messages in thread
From: Justin Lecher @ 2015-03-09 14:04 UTC (permalink / raw
To: gentoo-commits
commit: 6de5dbd94259c5955fdfdcd2510f034ea444097d
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 9 14:04:08 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Mar 9 14:04:08 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=6de5dbd9
dev-tex/pythontex: Version BUmp
Package-Manager: portage-2.2.18
dev-tex/pythontex/ChangeLog | 9 ++++-
dev-tex/pythontex/pythontex-0.12.ebuild | 70 ---------------------------------
dev-tex/pythontex/pythontex-0.14.ebuild | 57 +++++++++++++++++++++++++++
dev-tex/pythontex/pythontex-9999.ebuild | 50 ++++++++++-------------
4 files changed, 85 insertions(+), 101 deletions(-)
diff --git a/dev-tex/pythontex/ChangeLog b/dev-tex/pythontex/ChangeLog
index c0fb531..1ea18de 100644
--- a/dev-tex/pythontex/ChangeLog
+++ b/dev-tex/pythontex/ChangeLog
@@ -1,8 +1,13 @@
# ChangeLog for dev-tex/pythontex
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*pythontex-0.14 (09 Mar 2015)
+
+ 09 Mar 2015; Justin Lecher <jlec@gentoo.org> +pythontex-0.14.ebuild,
+ -pythontex-0.12.ebuild, pythontex-9999.ebuild:
+ dev-tex/pythontex: Version BUmp
+
06 Jan 2014; Justin Lecher <jlec@gentoo.org> pythontex-0.12.ebuild,
pythontex-9999.ebuild, +metadata.xml:
Switch from git-2 to git-r3
-
diff --git a/dev-tex/pythontex/pythontex-0.12.ebuild b/dev-tex/pythontex/pythontex-0.12.ebuild
deleted file mode 100644
index 9cd7cac..0000000
--- a/dev-tex/pythontex/pythontex-0.12.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-PYTHON_COMPAT=( python{2_7,3_2,3_3} )
-
-inherit latex-package python-single-r1
-
-DESCRIPTION="Fast Access to Python from within LaTeX"
-HOMEPAGE="https://github.com/gpoore/pythontex"
-SRC_URI="https://github.com/gpoore/pythontex/raw/master/package_downloads/${PN}_${PV}.zip https://github.com/gpoore/pythontex/raw/master/package_downloads/old_versions/${PN}_${PV}.zip"
-
-SLOT="0"
-LICENSE="LPPL-1.3 BSD"
-KEYWORDS="~amd64"
-IUSE="highlighting"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="${PYTHON_DEPS}
- app-text/texlive"
-RDEPEND="${DEPEND}
- dev-texlive/texlive-xetex
- >=dev-python/matplotlib-1.2.0[${PYTHON_USEDEP}]
- highlighting? ( dev-python/pygments[${PYTHON_USEDEP}] )"
-
-TEXMF=/usr/share/texmf-site
-
-S="${WORKDIR}"/${PN}
-src_prepare() {
- rm pythontex.sty || die "Could not remove pythontex.sty!"
-}
-
-src_compile() {
- ebegin "Compiling ${PN}"
- latex ${PN}.ins extra > "${T}"/build-latex.log || die "Building style from ${PN}.ins failed"
- eend
- sed -i -e '1i#!/usr/bin/env python' depythontex2.py || die "adding shebang failed!"
- sed -i -e '1i#!/usr/bin/env python' depythontex3.py || die "adding shebang failed!"
-}
-
-src_install() {
- python_optimize .
- if python_is_python3; then
- python_newscript pythontex3.py pythontex.py
- python_newscript depythontex3.py depythontex.py
- else
- python_newscript pythontex2.py pythontex.py
- python_doscript pythontex_2to3.py
- python_newscript depythontex2.py depythontex.py
- fi
-
- python_export PYTHON_SCRIPTDIR
-
- python_moduleinto ${PYTHON_SCRIPTDIR}
- python_domodule "${S}"/pythontex_engines.py "${S}"/pythontex_utils.py
-
- insinto /usr/share/texmf-site/tex/latex/pythontex/
- doins "${S}"/pythontex.sty
-
- insinto /usr/share/texmf-site/source/latex/pythontex/
- doins "${S}"/pythontex.dtx "${S}"/pythontex.ins
-
- latex-package_src_install
-
- dodoc README
- mktexlsr
-}
diff --git a/dev-tex/pythontex/pythontex-0.14.ebuild b/dev-tex/pythontex/pythontex-0.14.ebuild
new file mode 100644
index 0000000..252dcdc
--- /dev/null
+++ b/dev-tex/pythontex/pythontex-0.14.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,4} )
+
+inherit latex-package python-r1
+
+DESCRIPTION="Fast Access to Python from within LaTeX"
+HOMEPAGE="https://github.com/gpoore/pythontex"
+SRC_URI="https://github.com/gpoore/pythontex/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="LPPL-1.3 BSD"
+KEYWORDS="~amd64"
+IUSE="highlighting"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+ dev-texlive/texlive-latex"
+RDEPEND="${DEPEND}
+ dev-texlive/texlive-xetex
+ >=dev-python/matplotlib-1.2.0[${PYTHON_USEDEP}]
+ highlighting? ( dev-python/pygments[${PYTHON_USEDEP}] )"
+
+TEXMF=/usr/share/texmf-site
+
+src_compile() {
+ cd ${PN} || die
+ ebegin "Compiling ${PN}"
+ rm ${PN}.sty || die
+ latex ${PN}.ins extra || die
+ eend
+}
+
+src_install() {
+ dodoc ${PN}/README "${S}"/*rst ${PN}_quickstart/*
+
+ cd ${PN} || die
+
+ installation() {
+ if python_is_python3; then
+ python_domodule {de,}${PN}3.py
+ else
+ python_domodule {de,}${PN}2.py
+ fi
+ python_domodule ${PN}_{engines,utils}.py
+ python_doscript {de,}${PN}.py syncpdb.py
+ python_optimize
+ }
+ python_foreach_impl installation
+
+ latex-package_src_doinstall ${PN}.{dtx,ins,sty}
+}
diff --git a/dev-tex/pythontex/pythontex-9999.ebuild b/dev-tex/pythontex/pythontex-9999.ebuild
index 5e7ac36..92b36ac 100644
--- a/dev-tex/pythontex/pythontex-9999.ebuild
+++ b/dev-tex/pythontex/pythontex-9999.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
-PYTHON_COMPAT=( python{2_7,3_2,3_3} )
+PYTHON_COMPAT=( python2_7 python3_{3,4} )
-inherit latex-package python-single-r1 git-r3
+inherit latex-package python-r1 git-r3
DESCRIPTION="Fast Access to Python from within LaTeX"
HOMEPAGE="https://github.com/gpoore/pythontex"
@@ -21,46 +21,38 @@ IUSE="highlighting"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}
- app-text/texlive"
+ dev-texlive/texlive-latex"
RDEPEND="${DEPEND}
dev-texlive/texlive-xetex
>=dev-python/matplotlib-1.2.0[${PYTHON_USEDEP}]
highlighting? ( dev-python/pygments[${PYTHON_USEDEP}] )"
-src_prepare() {
- S="${WORKDIR}/${P}/${PN}"
- cd "${S}" || die
- rm pythontex.sty || die "Could not remove pre-compiled pythontex.sty!"
-}
+TEXMF=/usr/share/texmf-site
src_compile() {
+ cd ${PN} || die
ebegin "Compiling ${PN}"
- latex ${PN}.ins extra > "${T}"/build-latex.log || die "Building style from ${PN}.ins failed"
+ rm ${PN}.sty || die
+ latex ${PN}.ins extra || die
eend
}
src_install() {
- python_optimize .
+ dodoc ${PN}/README "${S}"/*rst ${PN}_quickstart/*
+
+ cd ${PN} || die
+
+ installation() {
if python_is_python3; then
- #python_scriptinto /usr/share/texmf-site/scripts/${PN}/
- python_newscript pythontex3.py pythontex.py
- python_newscript depythontex3.py depythontex.py
+ python_domodule {de,}${PN}3.py
else
- python_newscript pythontex2.py pythontex.py
- python_doscript pythontex_2to3.py
- python_newscript depythontex2.py depythontex.py
+ python_domodule {de,}${PN}2.py
fi
+ python_domodule ${PN}_{engines,utils}.py
+ python_doscript {de,}${PN}.py syncpdb.py
+ python_optimize
+ }
+ python_foreach_impl installation
- python_domodule "${S}"/pythontex_engines.py "${S}"/pythontex_utils.py
-
- insinto /usr/share/texmf-site/tex/latex/pythontex/
- doins "${S}"/pythontex.sty
-
- insinto /usr/share/texmf-site/source/latex/pythontex/
- doins "${S}"/pythontex.dtx "${S}"/pythontex.ins
-
- latex-package_src_install
-
- dodoc README
- mktexlsr || die
+ latex-package_src_doinstall ${PN}.{dtx,ins,sty}
}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
@ 2015-05-12 11:18 Justin Lecher
0 siblings, 0 replies; 23+ messages in thread
From: Justin Lecher @ 2015-05-12 11:18 UTC (permalink / raw
To: gentoo-commits
commit: a6372f0b12ae1e55d8bcce29c3b2d673e752b639
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue May 12 11:18:22 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue May 12 11:18:22 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=a6372f0b
dev-tex/pythontex: Fix installation of latex files, bug #548534
Package-Manager: portage-2.2.18
dev-tex/pythontex/ChangeLog | 6 ++++++
.../pythontex/{pythontex-0.14.ebuild => pythontex-0.14-r1.ebuild} | 2 +-
dev-tex/pythontex/pythontex-9999.ebuild | 8 ++++----
3 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/dev-tex/pythontex/ChangeLog b/dev-tex/pythontex/ChangeLog
index 23ecc71..a608dfc 100644
--- a/dev-tex/pythontex/ChangeLog
+++ b/dev-tex/pythontex/ChangeLog
@@ -2,6 +2,12 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*pythontex-0.14-r1 (12 May 2015)
+
+ 12 May 2015; Justin Lecher <jlec@gentoo.org> +pythontex-0.14-r1.ebuild,
+ -pythontex-0.14.ebuild, pythontex-9999.ebuild:
+ dev-tex/pythontex: Fix installation of latex files, bug #548534
+
*pythontex-0.14 (09 Mar 2015)
09 Mar 2015; Justin Lecher <jlec@gentoo.org> +pythontex-0.14.ebuild,
diff --git a/dev-tex/pythontex/pythontex-0.14.ebuild b/dev-tex/pythontex/pythontex-0.14-r1.ebuild
similarity index 96%
rename from dev-tex/pythontex/pythontex-0.14.ebuild
rename to dev-tex/pythontex/pythontex-0.14-r1.ebuild
index 252dcdc..d49ef7f 100644
--- a/dev-tex/pythontex/pythontex-0.14.ebuild
+++ b/dev-tex/pythontex/pythontex-0.14-r1.ebuild
@@ -53,5 +53,5 @@ src_install() {
}
python_foreach_impl installation
- latex-package_src_doinstall ${PN}.{dtx,ins,sty}
+ latex-package_src_doinstall dtx ins sty
}
diff --git a/dev-tex/pythontex/pythontex-9999.ebuild b/dev-tex/pythontex/pythontex-9999.ebuild
index 92b36ac..c9c5388 100644
--- a/dev-tex/pythontex/pythontex-9999.ebuild
+++ b/dev-tex/pythontex/pythontex-9999.ebuild
@@ -43,16 +43,16 @@ src_install() {
cd ${PN} || die
installation() {
- if python_is_python3; then
+ if python_is_python3; then
python_domodule {de,}${PN}3.py
- else
+ else
python_domodule {de,}${PN}2.py
- fi
+ fi
python_domodule ${PN}_{engines,utils}.py
python_doscript {de,}${PN}.py syncpdb.py
python_optimize
}
python_foreach_impl installation
- latex-package_src_doinstall ${PN}.{dtx,ins,sty}
+ latex-package_src_doinstall dtx ins sty
}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
@ 2015-06-24 9:51 Justin Lecher
0 siblings, 0 replies; 23+ messages in thread
From: Justin Lecher @ 2015-06-24 9:51 UTC (permalink / raw
To: gentoo-commits
commit: 95b3c1245a1ad4dc7236b1ee3bb04ae1744979d1
Author: Horea Christian <h.chr <AT> mail <DOT> ru>
AuthorDate: Mon Jun 22 14:33:39 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Jun 22 14:33:39 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=95b3c124
pruned deps
Package-Manager: portage-2.2.20
dev-tex/pythontex/ChangeLog | 4 ++++
dev-tex/pythontex/pythontex-0.14-r1.ebuild | 3 +--
dev-tex/pythontex/pythontex-9999.ebuild | 3 +--
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/dev-tex/pythontex/ChangeLog b/dev-tex/pythontex/ChangeLog
index 7f6f08c..f839346 100644
--- a/dev-tex/pythontex/ChangeLog
+++ b/dev-tex/pythontex/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 22 Jun 2015; Horea Christian <h.chr@mail.ru> pythontex-0.14-r1.ebuild,
+ pythontex-9999.ebuild:
+ pruned deps
+
05 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
dev-tex/pythontex: Add github to remote-id in metadata.xml
diff --git a/dev-tex/pythontex/pythontex-0.14-r1.ebuild b/dev-tex/pythontex/pythontex-0.14-r1.ebuild
index d49ef7f..6754b94 100644
--- a/dev-tex/pythontex/pythontex-0.14-r1.ebuild
+++ b/dev-tex/pythontex/pythontex-0.14-r1.ebuild
@@ -22,8 +22,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}
dev-texlive/texlive-latex"
RDEPEND="${DEPEND}
- dev-texlive/texlive-xetex
- >=dev-python/matplotlib-1.2.0[${PYTHON_USEDEP}]
+ dev-texlive/texlive-latex
highlighting? ( dev-python/pygments[${PYTHON_USEDEP}] )"
TEXMF=/usr/share/texmf-site
diff --git a/dev-tex/pythontex/pythontex-9999.ebuild b/dev-tex/pythontex/pythontex-9999.ebuild
index c9c5388..6df654a 100644
--- a/dev-tex/pythontex/pythontex-9999.ebuild
+++ b/dev-tex/pythontex/pythontex-9999.ebuild
@@ -23,8 +23,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}
dev-texlive/texlive-latex"
RDEPEND="${DEPEND}
- dev-texlive/texlive-xetex
- >=dev-python/matplotlib-1.2.0[${PYTHON_USEDEP}]
+ dev-texlive/texlive-latex
highlighting? ( dev-python/pygments[${PYTHON_USEDEP}] )"
TEXMF=/usr/share/texmf-site
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
@ 2015-12-08 14:52 Marius Brehler
0 siblings, 0 replies; 23+ messages in thread
From: Marius Brehler @ 2015-12-08 14:52 UTC (permalink / raw
To: gentoo-commits
commit: 22a205be750486f3baa6a9fb39e64449c97bac8c
Author: Horea Christian <h.chr <AT> mail <DOT> ru>
AuthorDate: Mon Dec 7 12:33:50 2015 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Mon Dec 7 12:33:50 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=22a205be
dev-tex/pythontex: fixed access violation
Package-Manager: portage-2.2.26
dev-tex/pythontex/ChangeLog | 25 +++----------------------
dev-tex/pythontex/pythontex-0.14-r1.ebuild | 2 +-
dev-tex/pythontex/pythontex-9999.ebuild | 2 +-
3 files changed, 5 insertions(+), 24 deletions(-)
diff --git a/dev-tex/pythontex/ChangeLog b/dev-tex/pythontex/ChangeLog
index b283f70..27ac054 100644
--- a/dev-tex/pythontex/ChangeLog
+++ b/dev-tex/pythontex/ChangeLog
@@ -2,25 +2,6 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Id$
- 22 Jun 2015; Horea Christian <h.chr@mail.ru> pythontex-0.14-r1.ebuild,
- pythontex-9999.ebuild:
- pruned deps
-
- 05 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
- dev-tex/pythontex: Add github to remote-id in metadata.xml
-
-*pythontex-0.14-r1 (12 May 2015)
-
- 12 May 2015; Justin Lecher <jlec@gentoo.org> +pythontex-0.14-r1.ebuild,
- -pythontex-0.14.ebuild, pythontex-9999.ebuild:
- dev-tex/pythontex: Fix installation of latex files, bug #548534
-
-*pythontex-0.14 (09 Mar 2015)
-
- 09 Mar 2015; Justin Lecher <jlec@gentoo.org> +pythontex-0.14.ebuild,
- -pythontex-0.12.ebuild, pythontex-9999.ebuild:
- dev-tex/pythontex: Version Bump
-
- 06 Jan 2014; Justin Lecher <jlec@gentoo.org> pythontex-0.12.ebuild,
- pythontex-9999.ebuild, +metadata.xml:
- Switch from git-2 to git-r3
+ 07 Dec 2015; Horea Christian <h.chr@mail.ru> -ChangeLog,
+ pythontex-0.14-r1.ebuild, pythontex-9999.ebuild:
+ dev-tex/pythontex: fixed access violation
diff --git a/dev-tex/pythontex/pythontex-0.14-r1.ebuild b/dev-tex/pythontex/pythontex-0.14-r1.ebuild
index d6c8bef..33ba193 100644
--- a/dev-tex/pythontex/pythontex-0.14-r1.ebuild
+++ b/dev-tex/pythontex/pythontex-0.14-r1.ebuild
@@ -31,7 +31,7 @@ src_compile() {
cd ${PN} || die
ebegin "Compiling ${PN}"
rm ${PN}.sty || die
- latex ${PN}.ins extra || die
+ VARTEXFONTS="${T}/fonts" latex ${PN}.ins extra || die
eend
}
diff --git a/dev-tex/pythontex/pythontex-9999.ebuild b/dev-tex/pythontex/pythontex-9999.ebuild
index 5cfce90..69c2654 100644
--- a/dev-tex/pythontex/pythontex-9999.ebuild
+++ b/dev-tex/pythontex/pythontex-9999.ebuild
@@ -32,7 +32,7 @@ src_compile() {
cd ${PN} || die
ebegin "Compiling ${PN}"
rm ${PN}.sty || die
- latex ${PN}.ins extra || die
+ VARTEXFONTS="${T}/fonts" latex ${PN}.ins extra || die
eend
}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
@ 2015-12-08 14:52 Marius Brehler
0 siblings, 0 replies; 23+ messages in thread
From: Marius Brehler @ 2015-12-08 14:52 UTC (permalink / raw
To: gentoo-commits
commit: 4d7d52bc4d20164540963e1bbf0d36362c337a26
Author: Horea Christian <h.chr <AT> mail <DOT> ru>
AuthorDate: Mon Dec 7 12:35:26 2015 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Mon Dec 7 12:35:26 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=4d7d52bc
fixed broken Changelog
dev-tex/pythontex/ChangeLog | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/dev-tex/pythontex/ChangeLog b/dev-tex/pythontex/ChangeLog
index 27ac054..871e260 100644
--- a/dev-tex/pythontex/ChangeLog
+++ b/dev-tex/pythontex/ChangeLog
@@ -5,3 +5,29 @@
07 Dec 2015; Horea Christian <h.chr@mail.ru> -ChangeLog,
pythontex-0.14-r1.ebuild, pythontex-9999.ebuild:
dev-tex/pythontex: fixed access violation
+
+ 18 Oct 2015; <chymera@gentoo.org> pythontex-9999.ebuild:
+ dev-tex/pythontex: trying to fix access violation
+
+ 22 Jun 2015; Horea Christian <h.chr@mail.ru> pythontex-0.14-r1.ebuild,
+ pythontex-9999.ebuild:
+ pruned deps
+
+ 05 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
+ dev-tex/pythontex: Add github to remote-id in metadata.xml
+
+*pythontex-0.14-r1 (12 May 2015)
+
+ 12 May 2015; Justin Lecher <jlec@gentoo.org> +pythontex-0.14-r1.ebuild,
+ -pythontex-0.14.ebuild, pythontex-9999.ebuild:
+ dev-tex/pythontex: Fix installation of latex files, bug #548534
+
+*pythontex-0.14 (09 Mar 2015)
+
+ 09 Mar 2015; Justin Lecher <jlec@gentoo.org> +pythontex-0.14.ebuild,
+ -pythontex-0.12.ebuild, pythontex-9999.ebuild:
+ dev-tex/pythontex: Version Bump
+
+ 06 Jan 2014; Justin Lecher <jlec@gentoo.org> pythontex-0.12.ebuild,
+ pythontex-9999.ebuild, +metadata.xml:
+ Switch from git-2 to git-r3
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
@ 2017-03-16 19:35 Justin Lecher
0 siblings, 0 replies; 23+ messages in thread
From: Justin Lecher @ 2017-03-16 19:35 UTC (permalink / raw
To: gentoo-commits
commit: 9217b2bb0616bc135f4b33e790227e9af57d3c76
Author: Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Sat Mar 11 16:11:07 2017 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Mar 11 16:11:07 2017 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=9217b2bb
dev-tex/pythontex: version bump (#736)
* dev-tex/pythontex: version bump
Package-Manager: Portage-2.3.3, Repoman-2.3.1
* dev-tex/pythontex: migrated to EAPI 6
Package-Manager: Portage-2.3.3, Repoman-2.3.1
dev-tex/pythontex/pythontex-0.15.ebuild | 55 +++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/dev-tex/pythontex/pythontex-0.15.ebuild b/dev-tex/pythontex/pythontex-0.15.ebuild
new file mode 100644
index 000000000..6526b9fc6
--- /dev/null
+++ b/dev-tex/pythontex/pythontex-0.15.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+
+inherit latex-package python-r1
+
+DESCRIPTION="Fast Access to Python from within LaTeX"
+HOMEPAGE="https://github.com/gpoore/pythontex"
+SRC_URI="https://github.com/gpoore/pythontex/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="LPPL-1.3 BSD"
+KEYWORDS="~amd64"
+IUSE="highlighting"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+ >=dev-texlive/texlive-latex-2016"
+RDEPEND="${DEPEND}
+ >=dev-texlive/texlive-latex-2016
+ highlighting? ( dev-python/pygments[${PYTHON_USEDEP}] )"
+
+TEXMF=/usr/share/texmf-site
+
+src_compile() {
+ cd ${PN} || die
+ ebegin "Compiling ${PN}"
+ rm ${PN}.sty || die
+ VARTEXFONTS="${T}/fonts" latex ${PN}.ins extra || die
+ eend
+}
+
+src_install() {
+ dodoc ${PN}/README "${S}"/*rst ${PN}_quickstart/*
+
+ cd ${PN} || die
+
+ installation() {
+ if python_is_python3; then
+ python_domodule {de,}${PN}3.py
+ else
+ python_domodule {de,}${PN}2.py
+ fi
+ python_domodule ${PN}_{engines,utils}.py
+ python_doscript {de,}${PN}.py syncpdb.py
+ python_optimize
+ }
+ python_foreach_impl installation
+
+ latex-package_src_doinstall dtx ins sty
+}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
@ 2020-02-10 0:15 Benda XU
0 siblings, 0 replies; 23+ messages in thread
From: Benda XU @ 2020-02-10 0:15 UTC (permalink / raw
To: gentoo-commits
commit: a5646b8ed7f4741c0bfa7512aef38d5e72392907
Author: Marcin Woźniak <y0rune <AT> aol <DOT> com>
AuthorDate: Sun Feb 9 12:26:48 2020 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Mon Feb 10 00:13:50 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=a5646b8e
dev-tex/pythontex: bump to 0.17 and drop old.
Bump to EAPI=7.
Closes: https://github.com/gentoo/sci/pull/940
Closes: https://bugs.gentoo.org/708832
Package-Manager: Portage-2.3.85, Repoman-2.3.18
Signed-off-by: Marcin Woźniak <y0rune <AT> aol.com>
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
dev-tex/pythontex/metadata.xml | 2 +-
dev-tex/pythontex/pythontex-0.14-r1.ebuild | 55 ----------------------
...pythontex-0.15.ebuild => pythontex-0.17.ebuild} | 12 ++---
dev-tex/pythontex/pythontex-9999.ebuild | 12 ++---
4 files changed, 9 insertions(+), 72 deletions(-)
diff --git a/dev-tex/pythontex/metadata.xml b/dev-tex/pythontex/metadata.xml
index 02c7c504c..419fac610 100644
--- a/dev-tex/pythontex/metadata.xml
+++ b/dev-tex/pythontex/metadata.xml
@@ -6,7 +6,7 @@
<name>Gentoo Science Project</name>
</maintainer>
<use>
- <flag name="highlighting">PLEASE FIX MY DESCRIPTION</flag>
+ <flag name="highlighting">enable code highlight</flag>
</use>
<upstream>
<remote-id type="github">gpoore/pythontex</remote-id>
diff --git a/dev-tex/pythontex/pythontex-0.14-r1.ebuild b/dev-tex/pythontex/pythontex-0.14-r1.ebuild
deleted file mode 100644
index 63645e881..000000000
--- a/dev-tex/pythontex/pythontex-0.14-r1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 python3_{3,4} )
-
-inherit latex-package python-r1
-
-DESCRIPTION="Fast Access to Python from within LaTeX"
-HOMEPAGE="https://github.com/gpoore/pythontex"
-SRC_URI="https://github.com/gpoore/pythontex/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-SLOT="0"
-LICENSE="LPPL-1.3 BSD"
-KEYWORDS="~amd64"
-IUSE="highlighting"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="${PYTHON_DEPS}
- dev-texlive/texlive-latex"
-RDEPEND="${DEPEND}
- dev-texlive/texlive-latex
- highlighting? ( dev-python/pygments[${PYTHON_USEDEP}] )"
-
-TEXMF=/usr/share/texmf-site
-
-src_compile() {
- cd ${PN} || die
- ebegin "Compiling ${PN}"
- rm ${PN}.sty || die
- VARTEXFONTS="${T}/fonts" latex ${PN}.ins extra || die
- eend
-}
-
-src_install() {
- dodoc ${PN}/README "${S}"/*rst ${PN}_quickstart/*
-
- cd ${PN} || die
-
- installation() {
- if python_is_python3; then
- python_domodule {de,}${PN}3.py
- else
- python_domodule {de,}${PN}2.py
- fi
- python_domodule ${PN}_{engines,utils}.py
- python_doscript {de,}${PN}.py syncpdb.py
- python_optimize
- }
- python_foreach_impl installation
-
- latex-package_src_doinstall dtx ins sty
-}
diff --git a/dev-tex/pythontex/pythontex-0.15.ebuild b/dev-tex/pythontex/pythontex-0.17.ebuild
similarity index 83%
rename from dev-tex/pythontex/pythontex-0.15.ebuild
rename to dev-tex/pythontex/pythontex-0.17.ebuild
index 6526b9fc6..06e33d11a 100644
--- a/dev-tex/pythontex/pythontex-0.15.ebuild
+++ b/dev-tex/pythontex/pythontex-0.17.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-PYTHON_COMPAT=( python2_7 python3_{4,5} )
+PYTHON_COMPAT=( python3_{6,7} )
inherit latex-package python-r1
@@ -40,11 +40,7 @@ src_install() {
cd ${PN} || die
installation() {
- if python_is_python3; then
- python_domodule {de,}${PN}3.py
- else
- python_domodule {de,}${PN}2.py
- fi
+ python_domodule {de,}${PN}3.py
python_domodule ${PN}_{engines,utils}.py
python_doscript {de,}${PN}.py syncpdb.py
python_optimize
diff --git a/dev-tex/pythontex/pythontex-9999.ebuild b/dev-tex/pythontex/pythontex-9999.ebuild
index b5bc2fd02..9866a0fdb 100644
--- a/dev-tex/pythontex/pythontex-9999.ebuild
+++ b/dev-tex/pythontex/pythontex-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-PYTHON_COMPAT=( python2_7 python3_{3,4} )
+PYTHON_COMPAT=( python3_{6,7} )
inherit latex-package python-r1 git-r3
@@ -41,11 +41,7 @@ src_install() {
cd ${PN} || die
installation() {
- if python_is_python3; then
- python_domodule {de,}${PN}3.py
- else
- python_domodule {de,}${PN}2.py
- fi
+ python_domodule {de,}${PN}3.py
python_domodule ${PN}_{engines,utils}.py
python_doscript {de,}${PN}.py syncpdb.py
python_optimize
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/
@ 2020-03-31 5:18 Horea Christian
0 siblings, 0 replies; 23+ messages in thread
From: Horea Christian @ 2020-03-31 5:18 UTC (permalink / raw
To: gentoo-commits
commit: dc103ac662cb6fe80403f76fc6fbcb1e7d19f569
Author: Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Tue Mar 31 05:17:22 2020 +0000
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Tue Mar 31 05:17:22 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=dc103ac6
dev-tex/pythontex: removed duplicated package
better maintained version available in Gentoo Main
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdfafe0e4cbb664b050ba7c2ff9ba2baa3aa3a08
Signed-off-by: Horea Christian <chr <AT> chymera.eu>
dev-tex/pythontex/metadata.xml | 14 ---------
dev-tex/pythontex/pythontex-0.17.ebuild | 51 --------------------------------
dev-tex/pythontex/pythontex-9999.ebuild | 52 ---------------------------------
3 files changed, 117 deletions(-)
diff --git a/dev-tex/pythontex/metadata.xml b/dev-tex/pythontex/metadata.xml
deleted file mode 100644
index 419fac610..000000000
--- a/dev-tex/pythontex/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sci@gentoo.org</email>
- <name>Gentoo Science Project</name>
- </maintainer>
- <use>
- <flag name="highlighting">enable code highlight</flag>
- </use>
- <upstream>
- <remote-id type="github">gpoore/pythontex</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/dev-tex/pythontex/pythontex-0.17.ebuild b/dev-tex/pythontex/pythontex-0.17.ebuild
deleted file mode 100644
index 06e33d11a..000000000
--- a/dev-tex/pythontex/pythontex-0.17.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2020 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7} )
-
-inherit latex-package python-r1
-
-DESCRIPTION="Fast Access to Python from within LaTeX"
-HOMEPAGE="https://github.com/gpoore/pythontex"
-SRC_URI="https://github.com/gpoore/pythontex/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-SLOT="0"
-LICENSE="LPPL-1.3 BSD"
-KEYWORDS="~amd64"
-IUSE="highlighting"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="${PYTHON_DEPS}
- >=dev-texlive/texlive-latex-2016"
-RDEPEND="${DEPEND}
- >=dev-texlive/texlive-latex-2016
- highlighting? ( dev-python/pygments[${PYTHON_USEDEP}] )"
-
-TEXMF=/usr/share/texmf-site
-
-src_compile() {
- cd ${PN} || die
- ebegin "Compiling ${PN}"
- rm ${PN}.sty || die
- VARTEXFONTS="${T}/fonts" latex ${PN}.ins extra || die
- eend
-}
-
-src_install() {
- dodoc ${PN}/README "${S}"/*rst ${PN}_quickstart/*
-
- cd ${PN} || die
-
- installation() {
- python_domodule {de,}${PN}3.py
- python_domodule ${PN}_{engines,utils}.py
- python_doscript {de,}${PN}.py syncpdb.py
- python_optimize
- }
- python_foreach_impl installation
-
- latex-package_src_doinstall dtx ins sty
-}
diff --git a/dev-tex/pythontex/pythontex-9999.ebuild b/dev-tex/pythontex/pythontex-9999.ebuild
deleted file mode 100644
index 9866a0fdb..000000000
--- a/dev-tex/pythontex/pythontex-9999.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2020 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7} )
-
-inherit latex-package python-r1 git-r3
-
-DESCRIPTION="Fast Access to Python from within LaTeX"
-HOMEPAGE="https://github.com/gpoore/pythontex"
-SRC_URI=""
-EGIT_REPO_URI="https://github.com/gpoore/pythontex.git"
-
-SLOT="0"
-LICENSE="LPPL-1.3 BSD"
-KEYWORDS=""
-IUSE="highlighting"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="${PYTHON_DEPS}
- dev-texlive/texlive-latex"
-RDEPEND="${DEPEND}
- dev-texlive/texlive-latex
- highlighting? ( dev-python/pygments[${PYTHON_USEDEP}] )"
-
-TEXMF=/usr/share/texmf-site
-
-src_compile() {
- cd ${PN} || die
- ebegin "Compiling ${PN}"
- rm ${PN}.sty || die
- VARTEXFONTS="${T}/fonts" latex ${PN}.ins extra || die
- eend
-}
-
-src_install() {
- dodoc ${PN}/README "${S}"/*rst ${PN}_quickstart/*
-
- cd ${PN} || die
-
- installation() {
- python_domodule {de,}${PN}3.py
- python_domodule ${PN}_{engines,utils}.py
- python_doscript {de,}${PN}.py syncpdb.py
- python_optimize
- }
- python_foreach_impl installation
-
- latex-package_src_doinstall dtx ins sty
-}
^ permalink raw reply related [flat|nested] 23+ messages in thread
end of thread, other threads:[~2020-03-31 5:18 UTC | newest]
Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-07 20:05 [gentoo-commits] proj/sci:master commit in: dev-tex/pythontex/ Alexey Shvetsov
-- strict thread matches above, loose matches on Subject: below --
2020-03-31 5:18 Horea Christian
2020-02-10 0:15 Benda XU
2017-03-16 19:35 Justin Lecher
2015-12-08 14:52 Marius Brehler
2015-12-08 14:52 Marius Brehler
2015-06-24 9:51 Justin Lecher
2015-05-12 11:18 Justin Lecher
2015-03-09 14:04 Justin Lecher
2014-01-06 19:27 Justin Lecher
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
2013-11-07 20:05 Alexey Shvetsov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox