jlec 15/03/21 17:11:56
Modified: metadata.xml asymptote-2.32.ebuild
asymptote-2.21.ebuild ChangeLog
Removed: asymptote-2.27.ebuild
Log:
use dobin instead of exeinto /usr/bin/ && doexe; drop old
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key
B9D4F231BD1558AB!)
Revision Changes Path
1.7 media-gfx/asymptote/metadata.xml
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/asymptote/metadata.xml?rev=1.7&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/asymptote/metadata.xml?rev=1.7&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/asymptote/metadata.xml?r1=1.6&r2=1.7
Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-gfx/asymptote/metadata.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- metadata.xml 20 Sep 2012 12:16:44 -0000 1.6
+++ metadata.xml 21 Mar 2015 17:11:55 -0000 1.7
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>sci</herd>
- <maintainer>
- <email>[email protected]</email>
- <name>Andrey Grozin</name>
- </maintainer>
- <longdescription lang="en">
+ <herd>sci</herd>
+ <maintainer>
+ <email>[email protected]</email>
+ <name>Andrey Grozin</name>
+ </maintainer>
+ <longdescription lang="en">
Asymptote is a powerful descriptive vector graphics language
that
provides a natural coordinate-based framework for technical
drawing.
Labels and equations are typeset with LaTeX, for high-quality
PostScript
@@ -15,15 +15,15 @@
A major advantage of Asymptote over other graphics packages is
that it
is a programming language, as opposed to just a graphics
program.
</longdescription>
- <use>
- <flag name='boehm-gc'>
+ <use>
+ <flag name="boehm-gc">
Enables using the Boehm-Demers-Weiser conservative
garbage collector
</flag>
- <flag name='sigsegv'>
+ <flag name="sigsegv">
Enables using <pkg>dev-libs/libsigsegv</pkg>
</flag>
- <flag name='offscreen'>
+ <flag name="offscreen">
Enables off-screen rendering
</flag>
- </use>
+ </use>
</pkgmetadata>
1.4 media-gfx/asymptote/asymptote-2.32.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/asymptote/asymptote-2.32.ebuild?rev=1.4&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/asymptote/asymptote-2.32.ebuild?rev=1.4&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/asymptote/asymptote-2.32.ebuild?r1=1.3&r2=1.4
Index: asymptote-2.32.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-gfx/asymptote/asymptote-2.32.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- asymptote-2.32.ebuild 11 Jan 2015 16:27:22 -0000 1.3
+++ asymptote-2.32.ebuild 21 Mar 2015 17:11:55 -0000 1.4
@@ -1,22 +1,29 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/asymptote-2.32.ebuild,v
1.3 2015/01/11 16:27:22 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/asymptote-2.32.ebuild,v
1.4 2015/03/21 17:11:55 jlec Exp $
EAPI=5
+
PYTHON_COMPAT=( python2_7 )
-inherit eutils autotools elisp-common latex-package multilib python-single-r1
+
+inherit autotools elisp-common eutils latex-package multilib python-single-r1
DESCRIPTION="A vector graphics language that provides a framework for
technical drawing"
HOMEPAGE="http://asymptote.sourceforge.net/"
SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
+
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="+boehm-gc doc emacs examples fftw gsl +imagemagick latex offscreen
+opengl python sigsegv svg vim-syntax X"
-REQUIRED_USE="offscreen? ( opengl )"
-RDEPEND=">=sys-libs/readline-4.3-r5
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ offscreen? ( opengl )"
+
+RDEPEND="
>=sys-libs/ncurses-5.4-r5
+ >=sys-libs/readline-4.3-r5:0=
imagemagick? ( media-gfx/imagemagick[png] )
opengl? ( >=media-libs/mesa-8 )
offscreen? ( media-libs/mesa[osmesa] )
@@ -26,12 +33,24 @@
fftw? ( >=sci-libs/fftw-3.0.1 )
gsl? ( sci-libs/gsl )
python? ( ${PYTHON_DEPS} )
- X? ( x11-misc/xdg-utils ${PYTHON_DEPS}
virtual/python-imaging[tk,${PYTHON_USEDEP}] )
- latex? ( virtual/latex-base >=dev-texlive/texlive-latexextra-2013 )
+ X? (
+ ${PYTHON_DEPS}
+ x11-misc/xdg-utils
+ virtual/python-imaging[tk,${PYTHON_USEDEP}]
+ )
+ latex? (
+ virtual/latex-base
+ >=dev-texlive/texlive-latexextra-2013
+ )
emacs? ( virtual/emacs )
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
DEPEND="${RDEPEND}
- doc? ( dev-lang/perl virtual/texi2dvi virtual/latex-base
media-gfx/imagemagick[png] )"
+ doc? (
+ dev-lang/perl
+ media-gfx/imagemagick[png]
+ virtual/texi2dvi
+ virtual/latex-base
+ )"
TEXMF=/usr/share/texmf-site
@@ -62,7 +81,8 @@
src_configure() {
# for the CPPFLAGS see
#
http://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
- econf CPPFLAGS=-DHAVE_SYS_TYPES_H \
+ econf \
+ CPPFLAGS=-DHAVE_SYS_TYPES_H \
CFLAGS="${CXXFLAGS}" \
--disable-gc-debug \
$(use_enable boehm-gc gc system) \
@@ -74,17 +94,17 @@
}
src_compile() {
- emake
+ default
- cd doc
+ cd doc || die
emake asy.1
if use doc; then
# info
einfo "Making info"
emake ${PN}.info
- cd FAQ
+ cd FAQ || die
emake
- cd ..
+ cd .. || die
# pdf
einfo "Making pdf docs"
export VARTEXFONTS="${T}"/fonts
@@ -92,7 +112,7 @@
emake -j1 asymptote.pdf
emake CAD.pdf
fi
- cd ..
+ cd .. || die
if use emacs; then
einfo "Compiling emacs lisp files"
@@ -102,8 +122,7 @@
src_install() {
# the program
- exeinto /usr/bin
- doexe asy
+ dobin asy
# .asy files
insinto /usr/share/${PN}
@@ -115,10 +134,8 @@
# X GUI
if use X; then
- insinto /usr/share/${PN}/GUI
- doins GUI/*.py
- chmod 755 "${ED}"usr/share/${PN}/GUI/xasy.py
- python_fix_shebang "${ED}"usr/share/${PN}/GUI
+ python_scriptinto /usr/share/${PN}/GUI
+ python_doscript GUI/*.py
dosym /usr/share/${PN}/GUI/xasy.py /usr/bin/xasy
doman doc/xasy.1x
fi
@@ -126,36 +143,33 @@
# examples
if use examples; then
insinto /usr/share/${PN}/examples
- doins examples/*.asy \
+ doins \
+ examples/*.asy \
examples/*.eps \
doc/*.asy \
doc/*.csv \
doc/*.dat \
doc/extra/*.asy
- if use X; then
- doins GUI/*.asy
- fi
+ use X && doins GUI/*.asy
+
insinto /usr/share/${PN}/examples/animations
doins examples/animations/*.asy
fi
# LaTeX style
if use latex; then
- cd doc
+ cd doc || die
insinto "${TEXMF}"/tex/latex/${PN}
doins ${PN}.sty asycolors.sty
if use examples; then
insinto /usr/share/${PN}/examples
doins latexusage.tex
fi
- cd ..
+ cd .. || die
fi
# asymptote.py
- if use python; then
- python_moduleinto "$(python_get_sitedir)"
- python_domodule base/${PN}.py
- fi
+ use python && python_domodule base/${PN}.py
# emacs mode
if use emacs; then
@@ -173,14 +187,14 @@
# extra documentation
if use doc; then
- cd doc
+ cd doc || die
doinfo ${PN}.info*
- cd FAQ
+ cd FAQ || die
dodoc asy-faq.ascii
doinfo asy-faq.info
insinto /usr/share/doc/${PF}/html/FAQ
doins asy-faq.html/*
- cd ..
+ cd .. || die
insinto /usr/share/doc/${PF}
doins ${PN}.pdf CAD.pdf
fi
1.4 media-gfx/asymptote/asymptote-2.21.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/asymptote/asymptote-2.21.ebuild?rev=1.4&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/asymptote/asymptote-2.21.ebuild?rev=1.4&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/asymptote/asymptote-2.21.ebuild?r1=1.3&r2=1.4
Index: asymptote-2.21.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-gfx/asymptote/asymptote-2.21.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- asymptote-2.21.ebuild 14 Feb 2013 18:42:28 -0000 1.3
+++ asymptote-2.21.ebuild 21 Mar 2015 17:11:55 -0000 1.4
@@ -1,23 +1,28 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/asymptote-2.21.ebuild,v
1.3 2013/02/14 18:42:28 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/asymptote-2.21.ebuild,v
1.4 2015/03/21 17:11:55 jlec Exp $
EAPI=4
+
SUPPORT_PYTHON_ABIS=1
PYTHON_DEPEND="python? 2"
RESTRICT_PYTHON_ABIS="3.*"
+
inherit eutils autotools elisp-common latex-package multilib python
DESCRIPTION="A vector graphics language that provides a framework for
technical drawing"
HOMEPAGE="http://asymptote.sourceforge.net/"
SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
+
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="+boehm-gc doc emacs examples fftw gsl +imagemagick latex offscreen
+opengl python sigsegv svg vim-syntax X"
+
REQUIRED_USE="offscreen? ( opengl )"
-RDEPEND=">=sys-libs/readline-4.3-r5
+RDEPEND="
+ >=sys-libs/readline-4.3-r5:0
>=sys-libs/ncurses-5.4-r5
imagemagick? ( media-gfx/imagemagick[png] )
opengl? ( >=media-libs/mesa-8 )
@@ -56,7 +61,8 @@
src_configure() {
# for the CPPFLAGS see
#
http://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
- econf CPPFLAGS=-DHAVE_SYS_TYPES_H \
+ econf \
+ CPPFLAGS=-DHAVE_SYS_TYPES_H \
CFLAGS="${CXXFLAGS}" \
--disable-gc-debug \
$(use_enable boehm-gc gc system) \
@@ -70,15 +76,15 @@
src_compile() {
emake
- cd doc
+ cd doc || die
emake asy.1
if use doc; then
# info
einfo "Making info"
emake ${PN}.info
- cd FAQ
+ cd FAQ || die
emake
- cd ..
+ cd .. || die
# pdf
einfo "Making pdf docs"
export VARTEXFONTS="${T}"/fonts
@@ -86,7 +92,7 @@
emake -j1 asymptote.pdf
emake CAD.pdf
fi
- cd ..
+ cd .. || die
if use emacs; then
einfo "Compiling emacs lisp files"
@@ -96,8 +102,7 @@
src_install() {
# the program
- exeinto /usr/bin
- doexe asy
+ dobin asy
# .asy files
insinto /usr/share/${PN}
@@ -111,7 +116,7 @@
if use X; then
exeinto /usr/share/${PN}/GUI
doexe GUI/xasy.py
- rm GUI/xasy.py
+ rm GUI/xasy.py || die
insinto /usr/share/${PN}/GUI
doins GUI/*.py
dosym /usr/share/${PN}/GUI/xasy.py /usr/bin/xasy
@@ -121,29 +126,29 @@
# examples
if use examples; then
insinto /usr/share/${PN}/examples
- doins examples/*.asy \
+ doins \
+ examples/*.asy \
examples/*.eps \
doc/*.asy \
doc/*.csv \
doc/*.dat \
doc/extra/*.asy
- if use X; then
- doins GUI/*.asy
- fi
+ use X && doins GUI/*.asy
+
insinto /usr/share/${PN}/examples/animations
doins examples/animations/*.asy
fi
# LaTeX style
if use latex; then
- cd doc
+ cd doc || die
insinto "${TEXMF}"/tex/latex/${PN}
doins ${PN}.sty asycolors.sty
if use examples; then
insinto /usr/share/${PN}/examples
doins latexusage.tex
fi
- cd ..
+ cd .. || die
fi
# asymptote.py
@@ -171,14 +176,14 @@
# extra documentation
if use doc; then
- cd doc
+ cd doc || die
doinfo ${PN}.info*
- cd FAQ
+ cd FAQ || die
dodoc asy-faq.ascii
doinfo asy-faq.info
insinto /usr/share/doc/${PF}/html/FAQ
doins asy-faq.html/*
- cd ..
+ cd .. || die
insinto /usr/share/doc/${PF}
doins ${PN}.pdf CAD.pdf
fi
1.112 media-gfx/asymptote/ChangeLog
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/asymptote/ChangeLog?rev=1.112&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/asymptote/ChangeLog?rev=1.112&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/asymptote/ChangeLog?r1=1.111&r2=1.112
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-gfx/asymptote/ChangeLog,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -r1.111 -r1.112
--- ChangeLog 11 Jan 2015 16:27:22 -0000 1.111
+++ ChangeLog 21 Mar 2015 17:11:55 -0000 1.112
@@ -1,6 +1,10 @@
# ChangeLog for media-gfx/asymptote
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/ChangeLog,v 1.111
2015/01/11 16:27:22 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/ChangeLog,v 1.112
2015/03/21 17:11:55 jlec Exp $
+
+ 21 Mar 2015; Justin Lecher <[email protected]> -asymptote-2.27.ebuild,
+ asymptote-2.21.ebuild, asymptote-2.32.ebuild, metadata.xml:
+ use dobin instead of exeinto /usr/bin/ && doexe; drop old
11 Jan 2015; Andrey Grozin <[email protected]> asymptote-2.32.ebuild,
+files/asymptote-2.32-ghostscript-9.15.patch: