* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2015-10-02 9:41 Justin Lecher
0 siblings, 0 replies; 61+ messages in thread
From: Justin Lecher @ 2015-10-02 9:41 UTC (permalink / raw
To: gentoo-commits
commit: 777e1ce1a63ffa99d56f0b4f47f76dec7925ac88
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 2 07:57:55 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Oct 2 09:41:13 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=777e1ce1
media-gfx/asymptote: Add missing slot operator
Package-Manager: portage-2.2.22
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.32.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/asymptote/asymptote-2.32.ebuild b/media-gfx/asymptote/asymptote-2.32.ebuild
index 41b0a1f..d15bd1c 100644
--- a/media-gfx/asymptote/asymptote-2.32.ebuild
+++ b/media-gfx/asymptote/asymptote-2.32.ebuild
@@ -22,7 +22,7 @@ REQUIRED_USE="
offscreen? ( opengl )"
RDEPEND="
- >=sys-libs/ncurses-5.4-r5
+ >=sys-libs/ncurses-5.4-r5:0=
>=sys-libs/readline-4.3-r5:0=
imagemagick? ( media-gfx/imagemagick[png] )
opengl? ( >=media-libs/mesa-8 )
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2015-11-10 11:45 Agostino Sarubbo
0 siblings, 0 replies; 61+ messages in thread
From: Agostino Sarubbo @ 2015-11-10 11:45 UTC (permalink / raw
To: gentoo-commits
commit: c36a7ebf82cf954d6341ef2fb2b02919271fd63e
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 10 11:44:57 2015 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Nov 10 11:44:57 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c36a7ebf
media-gfx/asymptote: amd64 stable wrt bug #551374
Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="amd64"
media-gfx/asymptote/asymptote-2.32.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/asymptote/asymptote-2.32.ebuild b/media-gfx/asymptote/asymptote-2.32.ebuild
index d15bd1c..034b46c 100644
--- a/media-gfx/asymptote/asymptote-2.32.ebuild
+++ b/media-gfx/asymptote/asymptote-2.32.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+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="
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2015-11-11 9:54 Agostino Sarubbo
0 siblings, 0 replies; 61+ messages in thread
From: Agostino Sarubbo @ 2015-11-11 9:54 UTC (permalink / raw
To: gentoo-commits
commit: d82e6a11a95d1212410ace5825bd8d0ea6d23f3e
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 11 09:52:39 2015 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Nov 11 09:52:39 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d82e6a11
media-gfx/asymptote: x86 stable wrt bug #551374
Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="x86"
media-gfx/asymptote/asymptote-2.32.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/asymptote/asymptote-2.32.ebuild b/media-gfx/asymptote/asymptote-2.32.ebuild
index fcbf4ba..f171369 100644
--- a/media-gfx/asymptote/asymptote-2.32.ebuild
+++ b/media-gfx/asymptote/asymptote-2.32.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+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="
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2017-07-02 8:07 Justin Lecher
0 siblings, 0 replies; 61+ messages in thread
From: Justin Lecher @ 2017-07-02 8:07 UTC (permalink / raw
To: gentoo-commits
commit: 050f85c575e395a82b1029675a86739dab961946
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 2 08:06:39 2017 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Jul 2 08:07:25 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=050f85c5
media-gfx/asymptote: Bump to EAPI=6
Package-Manager: Portage-2.3.6-prefix, Repoman-2.3.2
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.41.ebuild | 25 ++++++++++++++-----------
1 file changed, 14 insertions(+), 11 deletions(-)
diff --git a/media-gfx/asymptote/asymptote-2.41.ebuild b/media-gfx/asymptote/asymptote-2.41.ebuild
index f48cbea6178..b0de1fb4946 100644
--- a/media-gfx/asymptote/asymptote-2.41.ebuild
+++ b/media-gfx/asymptote/asymptote-2.41.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
PYTHON_COMPAT=( python2_7 )
-inherit autotools elisp-common eutils latex-package multilib python-single-r1
+inherit autotools elisp-common latex-package multilib python-single-r1
DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
HOMEPAGE="http://asymptote.sourceforge.net/"
@@ -53,24 +53,27 @@ DEPEND="${RDEPEND}
TEXMF=/usr/share/texmf-site
+PATCHES=(
+ # gc.h -> gc/gc.h
+ "${FILESDIR}/${P}-configure-ac.patch"
+
+ # Changing pdf, ps, image viewers to xdg-open
+ "${FILESDIR}/${P}-xdg-utils.patch"
+
+ # Bug #322473
+ "${FILESDIR}/${P}-info.patch"
+)
+
pkg_setup() {
(use python || use X) && python-single-r1_pkg_setup
}
src_prepare() {
- # gc.h -> gc/gc.h
- epatch "${FILESDIR}/${P}-configure-ac.patch"
-
sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
-i configure.ac \
|| die "sed configure.ac failed"
- # Changing pdf, ps, image viewers to xdg-open
- epatch "${FILESDIR}/${P}-xdg-utils.patch"
-
- # Bug #322473
- epatch "${FILESDIR}/${P}-info.patch"
-
+ default
eautoreconf
}
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2017-07-06 14:25 Andrey Grozin
0 siblings, 0 replies; 61+ messages in thread
From: Andrey Grozin @ 2017-07-06 14:25 UTC (permalink / raw
To: gentoo-commits
commit: eea20b7cd774d9f514ced48e87375ad9db75fbfd
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 6 14:24:40 2017 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Thu Jul 6 14:24:40 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eea20b7c
media-gfx/asymptote: added missing dependency on ghostscript
Bug: 623066
Package-Manager: Portage-2.3.6, Repoman-2.3.2
media-gfx/asymptote/asymptote-2.41-r1.ebuild | 214 +++++++++++++++++++++++++++
1 file changed, 214 insertions(+)
diff --git a/media-gfx/asymptote/asymptote-2.41-r1.ebuild b/media-gfx/asymptote/asymptote-2.41-r1.ebuild
new file mode 100644
index 00000000000..4dc9ef30750
--- /dev/null
+++ b/media-gfx/asymptote/asymptote-2.41-r1.ebuild
@@ -0,0 +1,214 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools elisp-common 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 test vim-syntax X"
+
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ offscreen? ( opengl )"
+
+RDEPEND="
+ >=sys-libs/ncurses-5.4-r5:0=
+ >=sys-libs/readline-4.3-r5:0=
+ imagemagick? ( media-gfx/imagemagick[png] )
+ opengl? ( >=media-libs/mesa-8 )
+ offscreen? ( media-libs/mesa[osmesa] )
+ svg? ( app-text/dvisvgm )
+ sigsegv? ( dev-libs/libsigsegv )
+ boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
+ fftw? ( >=sci-libs/fftw-3.0.1 )
+ gsl? ( sci-libs/gsl )
+ python? ( ${PYTHON_DEPS} )
+ X? (
+ ${PYTHON_DEPS}
+ x11-misc/xdg-utils
+ dev-python/pillow[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
+ media-gfx/imagemagick[png]
+ virtual/texi2dvi
+ virtual/latex-base
+ app-text/ghostscript-gpl )
+ test? ( app-text/ghostscript-gpl )"
+
+TEXMF=/usr/share/texmf-site
+
+PATCHES=(
+ # gc.h -> gc/gc.h
+ "${FILESDIR}/${P}-configure-ac.patch"
+
+ # Changing pdf, ps, image viewers to xdg-open
+ "${FILESDIR}/${P}-xdg-utils.patch"
+
+ # Bug #322473
+ "${FILESDIR}/${P}-info.patch"
+)
+
+pkg_setup() {
+ (use python || use X) && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
+ -i configure.ac \
+ || die "sed configure.ac failed"
+
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # for the CPPFLAGS see
+ # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
+ econf \
+ CPPFLAGS=-DHAVE_SYS_TYPES_H \
+ CFLAGS="${CXXFLAGS}" \
+ --disable-gc-debug \
+ $(use_enable boehm-gc gc system) \
+ $(use_enable fftw) \
+ $(use_enable gsl) \
+ $(use_enable opengl gl) \
+ $(use_enable offscreen) \
+ $(use_enable sigsegv)
+}
+
+src_compile() {
+ default
+
+ cd doc || die
+ emake asy.1
+ if use doc; then
+ # info
+ einfo "Making info"
+ emake ${PN}.info
+ cd FAQ || die
+ emake
+ cd .. || die
+ # pdf
+ einfo "Making pdf docs"
+ export VARTEXFONTS="${T}"/fonts
+ # see bug #260606
+ emake -j1 asymptote.pdf
+ emake CAD.pdf
+ fi
+ cd .. || die
+
+ if use emacs; then
+ einfo "Compiling emacs lisp files"
+ elisp-compile base/*.el
+ fi
+}
+
+src_install() {
+ # the program
+ dobin asy
+
+ # .asy files
+ insinto /usr/share/${PN}
+ doins base/*.asy
+
+ # documentation
+ dodoc BUGS ChangeLog README ReleaseNotes TODO
+ doman doc/asy.1
+
+ # X GUI
+ if use X; then
+ 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
+
+ # examples
+ if use examples; then
+ insinto /usr/share/${PN}/examples
+ doins \
+ examples/*.asy \
+ examples/*.eps \
+ doc/*.asy \
+ doc/*.csv \
+ doc/*.dat \
+ doc/extra/*.asy
+ use X && doins GUI/*.asy
+
+ insinto /usr/share/${PN}/examples/animations
+ doins examples/animations/*.asy
+ fi
+
+ # LaTeX style
+ if use latex; then
+ 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 .. || die
+ fi
+
+ # asymptote.py
+ use python && python_domodule base/${PN}.py
+
+ # emacs mode
+ if use emacs; then
+ elisp-install ${PN} base/*.el base/*.elc
+ elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+ fi
+
+ # vim syntax
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles/syntax
+ doins base/asy.vim
+ insinto /usr/share/vim/vimfiles/ftdetect
+ doins "${FILESDIR}"/asy-ftd.vim
+ fi
+
+ # extra documentation
+ if use doc; then
+ cd doc || die
+ doinfo ${PN}.info*
+ cd FAQ || die
+ dodoc asy-faq.ascii
+ doinfo asy-faq.info
+ insinto /usr/share/doc/${PF}/html/FAQ
+ doins asy-faq.html/*
+ cd .. || die
+ insinto /usr/share/doc/${PF}
+ doins ${PN}.pdf CAD.pdf
+ fi
+}
+
+pkg_postinst() {
+ use latex && latex-package_rehash
+ use emacs && elisp-site-regen
+
+ elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
+ elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
+}
+
+pkg_postrm() {
+ use latex && latex-package_rehash
+ use emacs && elisp-site-regen
+}
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2017-07-06 14:28 Andrey Grozin
0 siblings, 0 replies; 61+ messages in thread
From: Andrey Grozin @ 2017-07-06 14:28 UTC (permalink / raw
To: gentoo-commits
commit: a798c3d16c34d848f52e765f5ae1f5a07a76af9d
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 6 14:27:42 2017 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Thu Jul 6 14:27:42 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a798c3d1
media-gfx/asymptote: cleaning 2.41
Package-Manager: Portage-2.3.6, Repoman-2.3.2
media-gfx/asymptote/asymptote-2.41.ebuild | 213 ------------------------------
1 file changed, 213 deletions(-)
diff --git a/media-gfx/asymptote/asymptote-2.41.ebuild b/media-gfx/asymptote/asymptote-2.41.ebuild
deleted file mode 100644
index b0de1fb4946..00000000000
--- a/media-gfx/asymptote/asymptote-2.41.ebuild
+++ /dev/null
@@ -1,213 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit autotools elisp-common 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="
- ${PYTHON_REQUIRED_USE}
- offscreen? ( opengl )"
-
-RDEPEND="
- >=sys-libs/ncurses-5.4-r5:0=
- >=sys-libs/readline-4.3-r5:0=
- imagemagick? ( media-gfx/imagemagick[png] )
- opengl? ( >=media-libs/mesa-8 )
- offscreen? ( media-libs/mesa[osmesa] )
- svg? ( app-text/dvisvgm )
- sigsegv? ( dev-libs/libsigsegv )
- boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
- fftw? ( >=sci-libs/fftw-3.0.1 )
- gsl? ( sci-libs/gsl )
- python? ( ${PYTHON_DEPS} )
- X? (
- ${PYTHON_DEPS}
- x11-misc/xdg-utils
- dev-python/pillow[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
- media-gfx/imagemagick[png]
- virtual/texi2dvi
- virtual/latex-base
- )"
-
-TEXMF=/usr/share/texmf-site
-
-PATCHES=(
- # gc.h -> gc/gc.h
- "${FILESDIR}/${P}-configure-ac.patch"
-
- # Changing pdf, ps, image viewers to xdg-open
- "${FILESDIR}/${P}-xdg-utils.patch"
-
- # Bug #322473
- "${FILESDIR}/${P}-info.patch"
-)
-
-pkg_setup() {
- (use python || use X) && python-single-r1_pkg_setup
-}
-
-src_prepare() {
- sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
- -i configure.ac \
- || die "sed configure.ac failed"
-
- default
- eautoreconf
-}
-
-src_configure() {
- # for the CPPFLAGS see
- # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
- econf \
- CPPFLAGS=-DHAVE_SYS_TYPES_H \
- CFLAGS="${CXXFLAGS}" \
- --disable-gc-debug \
- $(use_enable boehm-gc gc system) \
- $(use_enable fftw) \
- $(use_enable gsl) \
- $(use_enable opengl gl) \
- $(use_enable offscreen) \
- $(use_enable sigsegv)
-}
-
-src_compile() {
- default
-
- cd doc || die
- emake asy.1
- if use doc; then
- # info
- einfo "Making info"
- emake ${PN}.info
- cd FAQ || die
- emake
- cd .. || die
- # pdf
- einfo "Making pdf docs"
- export VARTEXFONTS="${T}"/fonts
- # see bug #260606
- emake -j1 asymptote.pdf
- emake CAD.pdf
- fi
- cd .. || die
-
- if use emacs; then
- einfo "Compiling emacs lisp files"
- elisp-compile base/*.el
- fi
-}
-
-src_install() {
- # the program
- dobin asy
-
- # .asy files
- insinto /usr/share/${PN}
- doins base/*.asy
-
- # documentation
- dodoc BUGS ChangeLog README ReleaseNotes TODO
- doman doc/asy.1
-
- # X GUI
- if use X; then
- 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
-
- # examples
- if use examples; then
- insinto /usr/share/${PN}/examples
- doins \
- examples/*.asy \
- examples/*.eps \
- doc/*.asy \
- doc/*.csv \
- doc/*.dat \
- doc/extra/*.asy
- use X && doins GUI/*.asy
-
- insinto /usr/share/${PN}/examples/animations
- doins examples/animations/*.asy
- fi
-
- # LaTeX style
- if use latex; then
- 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 .. || die
- fi
-
- # asymptote.py
- use python && python_domodule base/${PN}.py
-
- # emacs mode
- if use emacs; then
- elisp-install ${PN} base/*.el base/*.elc
- elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
- fi
-
- # vim syntax
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins base/asy.vim
- insinto /usr/share/vim/vimfiles/ftdetect
- doins "${FILESDIR}"/asy-ftd.vim
- fi
-
- # extra documentation
- if use doc; then
- cd doc || die
- doinfo ${PN}.info*
- cd FAQ || die
- dodoc asy-faq.ascii
- doinfo asy-faq.info
- insinto /usr/share/doc/${PF}/html/FAQ
- doins asy-faq.html/*
- cd .. || die
- insinto /usr/share/doc/${PF}
- doins ${PN}.pdf CAD.pdf
- fi
-}
-
-pkg_postinst() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-
- elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
- elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
-}
-
-pkg_postrm() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-}
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2017-11-26 23:02 David Seifert
0 siblings, 0 replies; 61+ messages in thread
From: David Seifert @ 2017-11-26 23:02 UTC (permalink / raw
To: gentoo-commits
commit: 8676ed5b6e6c17fa82355a52691725a33b34e45f
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 26 11:56:45 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Nov 26 23:01:52 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8676ed5b
media-gfx/asymptote: [QA] Consistent whitespace in metadata.xml
media-gfx/asymptote/metadata.xml | 40 +++++++++++++++++-----------------------
1 file changed, 17 insertions(+), 23 deletions(-)
diff --git a/media-gfx/asymptote/metadata.xml b/media-gfx/asymptote/metadata.xml
index c700a1d698d..fee8887be49 100644
--- a/media-gfx/asymptote/metadata.xml
+++ b/media-gfx/asymptote/metadata.xml
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>grozin@gentoo.org</email>
- <name>Andrey Grozin</name>
- </maintainer>
- <maintainer type="project">
- <email>sci@gentoo.org</email>
- <name>Gentoo Science Project</name>
- </maintainer>
- <longdescription lang="en">
+ <maintainer type="person">
+ <email>grozin@gentoo.org</email>
+ <name>Andrey Grozin</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</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
@@ -18,18 +18,12 @@
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">
- Enables using the Boehm-Demers-Weiser conservative garbage collector
- </flag>
- <flag name="sigsegv">
- Enables using <pkg>dev-libs/libsigsegv</pkg>
- </flag>
- <flag name="offscreen">
- Enables off-screen rendering
- </flag>
- </use>
- <upstream>
- <remote-id type="sourceforge">asymptote</remote-id>
- </upstream>
+ <use>
+ <flag name="boehm-gc">Enables using the Boehm-Demers-Weiser conservative garbage collector</flag>
+ <flag name="sigsegv">Enables using <pkg>dev-libs/libsigsegv</pkg></flag>
+ <flag name="offscreen">Enables off-screen rendering</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">asymptote</remote-id>
+ </upstream>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2017-12-12 18:39 Thomas Deutschmann
0 siblings, 0 replies; 61+ messages in thread
From: Thomas Deutschmann @ 2017-12-12 18:39 UTC (permalink / raw
To: gentoo-commits
commit: f2d272ed9ef2bb5face0576b153c20eb8deb5a93
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 12 17:44:40 2017 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Tue Dec 12 18:38:50 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2d272ed
media-gfx/asymptote: x86 stable (bug #636080)
Package-Manager: Portage-2.3.16, Repoman-2.3.6
media-gfx/asymptote/asymptote-2.41-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/asymptote/asymptote-2.41-r1.ebuild b/media-gfx/asymptote/asymptote-2.41-r1.ebuild
index 87c3bab4778..7980506076f 100644
--- a/media-gfx/asymptote/asymptote-2.41-r1.ebuild
+++ b/media-gfx/asymptote/asymptote-2.41-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+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 test vim-syntax X"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2017-12-17 5:18 Andrey Grozin
0 siblings, 0 replies; 61+ messages in thread
From: Andrey Grozin @ 2017-12-17 5:18 UTC (permalink / raw
To: gentoo-commits
commit: 6d40b274932fc95e35bf593725d21218c7b6a498
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 17 05:17:57 2017 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Sun Dec 17 05:17:57 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d40b274
media-gfx/asymptote: cleaning old
Package-Manager: Portage-2.3.18, Repoman-2.3.6
media-gfx/asymptote/Manifest | 1 -
media-gfx/asymptote/asymptote-2.32.ebuild | 213 ------------------------------
2 files changed, 214 deletions(-)
diff --git a/media-gfx/asymptote/Manifest b/media-gfx/asymptote/Manifest
index 350f84b0254..380dd1d36e3 100644
--- a/media-gfx/asymptote/Manifest
+++ b/media-gfx/asymptote/Manifest
@@ -1,2 +1 @@
-DIST asymptote-2.32.src.tgz 1794495 BLAKE2B 3a633ba56159c1d67c667c2eff14840e539bcce38d2667175ec6ceb2ee4f271af3c0e24b8b1d1562e3919734dcb02431e4ca95d145dc42a3c144e1c291fadb03 SHA512 a0663f1768cb4340bb6e9224d4fbc6e2f8b41501b1f59793d84db2e0f99b9ff071d3dd8fa5c4715c1874f8ef1af713a54b27de37ff40d8ca042f0f48579a57f9
DIST asymptote-2.41.src.tgz 3516426 BLAKE2B d4623609be58566e32de82c5c47f635ed737459fa27cd2da0622d639cd8207fc69988a7ecbf82993b051435fbf223c1f1178d213aea258a2b57fd3a698eee9cb SHA512 93f737a44b085c2290c4553c765cf49679820e6623bc5b6d0229818409868876275d6f0571abeb76033955fa95ee594e37d10c9901c54755b085e36760fd96cb
diff --git a/media-gfx/asymptote/asymptote-2.32.ebuild b/media-gfx/asymptote/asymptote-2.32.ebuild
deleted file mode 100644
index 62de0fa52ae..00000000000
--- a/media-gfx/asymptote/asymptote-2.32.ebuild
+++ /dev/null
@@ -1,213 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-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="
- ${PYTHON_REQUIRED_USE}
- offscreen? ( opengl )"
-
-RDEPEND="
- >=sys-libs/ncurses-5.4-r5:0=
- >=sys-libs/readline-4.3-r5:0=
- imagemagick? ( media-gfx/imagemagick[png] )
- opengl? ( >=media-libs/mesa-8 )
- offscreen? ( media-libs/mesa[osmesa] )
- svg? ( app-text/dvisvgm )
- sigsegv? ( dev-libs/libsigsegv )
- boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
- fftw? ( >=sci-libs/fftw-3.0.1 )
- gsl? ( sci-libs/gsl )
- python? ( ${PYTHON_DEPS} )
- X? (
- ${PYTHON_DEPS}
- x11-misc/xdg-utils
- dev-python/pillow[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
- media-gfx/imagemagick[png]
- virtual/texi2dvi
- virtual/latex-base
- )"
-
-TEXMF=/usr/share/texmf-site
-
-pkg_setup() {
- (use python || use X) && python-single-r1_pkg_setup
-}
-
-src_prepare() {
- # Fixing sigsegv enabling
- epatch "${FILESDIR}/${P}-configure-ac.patch"
- einfo "Patching configure.ac"
- sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
- -i configure.ac \
- || die "sed configure.ac failed"
-
- # Changing pdf, ps, image viewers to xdg-open
- epatch "${FILESDIR}/${P}-xdg-utils.patch"
-
- # Bug #322473
- epatch "${FILESDIR}/${P}-info.patch"
-
- # Bug #528632 - fix from https://www.archlinux.org/packages/extra/x86_64/asymptote/
- epatch "${FILESDIR}/${P}-ghostscript-9.15.patch"
-
- eautoreconf
-}
-
-src_configure() {
- # for the CPPFLAGS see
- # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
- econf \
- CPPFLAGS=-DHAVE_SYS_TYPES_H \
- CFLAGS="${CXXFLAGS}" \
- --disable-gc-debug \
- $(use_enable boehm-gc gc system) \
- $(use_enable fftw) \
- $(use_enable gsl) \
- $(use_enable opengl gl) \
- $(use_enable offscreen) \
- $(use_with sigsegv)
-}
-
-src_compile() {
- default
-
- cd doc || die
- emake asy.1
- if use doc; then
- # info
- einfo "Making info"
- emake ${PN}.info
- cd FAQ || die
- emake
- cd .. || die
- # pdf
- einfo "Making pdf docs"
- export VARTEXFONTS="${T}"/fonts
- # see bug #260606
- emake -j1 asymptote.pdf
- emake CAD.pdf
- fi
- cd .. || die
-
- if use emacs; then
- einfo "Compiling emacs lisp files"
- elisp-compile base/*.el
- fi
-}
-
-src_install() {
- # the program
- dobin asy
-
- # .asy files
- insinto /usr/share/${PN}
- doins base/*.asy
-
- # documentation
- dodoc BUGS ChangeLog README ReleaseNotes TODO
- doman doc/asy.1
-
- # X GUI
- if use X; then
- 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
-
- # examples
- if use examples; then
- insinto /usr/share/${PN}/examples
- doins \
- examples/*.asy \
- examples/*.eps \
- doc/*.asy \
- doc/*.csv \
- doc/*.dat \
- doc/extra/*.asy
- use X && doins GUI/*.asy
-
- insinto /usr/share/${PN}/examples/animations
- doins examples/animations/*.asy
- fi
-
- # LaTeX style
- if use latex; then
- 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 .. || die
- fi
-
- # asymptote.py
- use python && python_domodule base/${PN}.py
-
- # emacs mode
- if use emacs; then
- elisp-install ${PN} base/*.el base/*.elc
- elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
- fi
-
- # vim syntax
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins base/asy.vim
- insinto /usr/share/vim/vimfiles/ftdetect
- doins "${FILESDIR}"/asy-ftd.vim
- fi
-
- # extra documentation
- if use doc; then
- cd doc || die
- doinfo ${PN}.info*
- cd FAQ || die
- dodoc asy-faq.ascii
- doinfo asy-faq.info
- insinto /usr/share/doc/${PF}/html/FAQ
- doins asy-faq.html/*
- cd .. || die
- insinto /usr/share/doc/${PF}
- doins ${PN}.pdf CAD.pdf
- fi
-}
-
-pkg_postinst() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-
- elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
- elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
-}
-
-pkg_postrm() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-}
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2019-04-04 12:37 Andrey Grozin
0 siblings, 0 replies; 61+ messages in thread
From: Andrey Grozin @ 2019-04-04 12:37 UTC (permalink / raw
To: gentoo-commits
commit: 24683424729435ce57c3292f69688e1f578e6350
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 4 12:37:17 2019 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Thu Apr 4 12:37:17 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24683424
media-gfx/asymptote: add missing dependences
Closes: https://bugs.gentoo.org/show_bug.cgi?id=682434
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.48-r1.ebuild | 214 +++++++++++++++++++++++++++
1 file changed, 214 insertions(+)
diff --git a/media-gfx/asymptote/asymptote-2.48-r1.ebuild b/media-gfx/asymptote/asymptote-2.48-r1.ebuild
new file mode 100644
index 00000000000..6a39f53426e
--- /dev/null
+++ b/media-gfx/asymptote/asymptote-2.48-r1.ebuild
@@ -0,0 +1,214 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{5,6,7} )
+
+inherit autotools elisp-common latex-package multilib python-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 test vim-syntax X"
+
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ offscreen? ( opengl )
+ doc? ( boehm-gc )"
+
+RDEPEND="
+ >=sys-libs/ncurses-5.4-r5:0=
+ >=sys-libs/readline-4.3-r5:0=
+ imagemagick? ( media-gfx/imagemagick[png] )
+ opengl? ( media-libs/mesa media-libs/freeglut media-libs/glew:0 media-libs/glm )
+ offscreen? ( media-libs/mesa[osmesa] )
+ svg? ( app-text/dvisvgm )
+ sigsegv? ( dev-libs/libsigsegv )
+ boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
+ fftw? ( >=sci-libs/fftw-3.0.1 )
+ gsl? ( sci-libs/gsl )
+ python? ( ${PYTHON_DEPS} )
+ X? (
+ ${PYTHON_DEPS}
+ dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,svg]
+ dev-python/numpy
+ dev-python/pycson
+ >=gnome-base/librsvg-2.40
+ )
+ 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
+ media-gfx/imagemagick[png]
+ virtual/texi2dvi
+ virtual/latex-base
+ app-text/ghostscript-gpl )
+ test? ( app-text/ghostscript-gpl )"
+
+TEXMF=/usr/share/texmf-site
+
+PATCHES=(
+ # gc.h -> gc/gc.h
+ "${FILESDIR}/${P}-configure-ac.patch"
+
+ # Changing pdf, ps, image viewers to xdg-open
+ "${FILESDIR}/${P}-xdg-utils.patch"
+
+ # Bug #322473
+ "${FILESDIR}/${P}-info.patch"
+)
+
+src_prepare() {
+ sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
+ -i configure.ac \
+ || die "sed configure.ac failed"
+
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # for the CPPFLAGS see
+ # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
+ econf \
+ CPPFLAGS=-DHAVE_SYS_TYPES_H \
+ CFLAGS="${CXXFLAGS}" \
+ --disable-gc-debug \
+ $(use_enable boehm-gc gc system) \
+ $(use_enable fftw) \
+ $(use_enable gsl) \
+ $(use_enable opengl gl) \
+ $(use_enable offscreen) \
+ $(use_enable sigsegv)
+}
+
+src_compile() {
+ default
+
+ cd doc || die
+ emake asy.1
+ if use doc; then
+ # info
+ einfo "Making info"
+ emake ${PN}.info
+ cd FAQ || die
+ emake
+ cd .. || die
+ # pdf
+ einfo "Making pdf docs"
+ export VARTEXFONTS="${T}"/fonts
+ # see bug #260606
+ emake -j1 asymptote.pdf
+ emake CAD.pdf
+ fi
+ cd .. || die
+
+ if use emacs; then
+ einfo "Compiling emacs lisp files"
+ elisp-compile base/*.el
+ fi
+}
+
+src_install() {
+ # the program
+ dobin asy
+
+ # .asy files
+ insinto /usr/share/${PN}
+ doins base/*.asy
+
+ # documentation
+ dodoc BUGS ChangeLog README ReleaseNotes TODO
+ doman doc/asy.1
+
+ # X GUI
+ if use X; then
+ insinto /usr/share/${PN}
+ doins -r GUI
+ chmod +x "${D}"usr/share/${PN}/GUI/xasy.py
+ dosym /usr/share/${PN}/GUI/xasy.py /usr/bin/xasy
+ doman doc/xasy.1x
+ fi
+
+ # examples
+ if use examples; then
+ insinto /usr/share/${PN}/examples
+ doins \
+ examples/*.asy \
+ examples/*.eps \
+ doc/*.asy \
+ doc/*.csv \
+ doc/*.dat \
+ doc/extra/*.asy
+ insinto /usr/share/${PN}/examples/animations
+ doins examples/animations/*.asy
+ fi
+
+ # LaTeX style
+ if use latex; then
+ 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 .. || die
+ fi
+
+ # asymptote.py
+ if use python; then
+ python_foreach_impl python_domodule base/${PN}.py
+ fi
+
+ # emacs mode
+ if use emacs; then
+ elisp-install ${PN} base/*.el base/*.elc
+ elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+ fi
+
+ # vim syntax
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles/syntax
+ doins base/asy.vim
+ insinto /usr/share/vim/vimfiles/ftdetect
+ doins "${FILESDIR}"/asy-ftd.vim
+ fi
+
+ # extra documentation
+ if use doc; then
+ cd doc || die
+ doinfo ${PN}.info*
+ cd FAQ || die
+ dodoc asy-faq.ascii
+ doinfo asy-faq.info
+ insinto /usr/share/doc/${PF}/html/FAQ
+ doins asy-faq.html/*
+ cd .. || die
+ insinto /usr/share/doc/${PF}
+ doins ${PN}.pdf CAD.pdf
+ fi
+}
+
+pkg_postinst() {
+ use latex && latex-package_rehash
+ use emacs && elisp-site-regen
+
+ elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
+ elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
+}
+
+pkg_postrm() {
+ use latex && latex-package_rehash
+ use emacs && elisp-site-regen
+}
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2019-04-04 12:39 Andrey Grozin
0 siblings, 0 replies; 61+ messages in thread
From: Andrey Grozin @ 2019-04-04 12:39 UTC (permalink / raw
To: gentoo-commits
commit: fa17ec2cd2d6fcbd8a0b7912df62aa3e09987530
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 4 12:39:34 2019 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Thu Apr 4 12:39:34 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa17ec2c
media-gfx/asymptote: cleaning old
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.48.ebuild | 214 ------------------------------
1 file changed, 214 deletions(-)
diff --git a/media-gfx/asymptote/asymptote-2.48.ebuild b/media-gfx/asymptote/asymptote-2.48.ebuild
deleted file mode 100644
index 3941b97d615..00000000000
--- a/media-gfx/asymptote/asymptote-2.48.ebuild
+++ /dev/null
@@ -1,214 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_{5,6,7} )
-
-inherit autotools elisp-common latex-package multilib python-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 test vim-syntax X"
-
-REQUIRED_USE="
- ${PYTHON_REQUIRED_USE}
- offscreen? ( opengl )
- doc? ( boehm-gc )"
-
-RDEPEND="
- >=sys-libs/ncurses-5.4-r5:0=
- >=sys-libs/readline-4.3-r5:0=
- imagemagick? ( media-gfx/imagemagick[png] )
- opengl? ( >=media-libs/mesa-8 )
- offscreen? ( media-libs/mesa[osmesa] )
- svg? ( app-text/dvisvgm )
- sigsegv? ( dev-libs/libsigsegv )
- boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
- fftw? ( >=sci-libs/fftw-3.0.1 )
- gsl? ( sci-libs/gsl )
- python? ( ${PYTHON_DEPS} )
- X? (
- ${PYTHON_DEPS}
- dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,svg]
- dev-python/numpy
- dev-python/pycson
- >=gnome-base/librsvg-2.40
- )
- 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
- media-gfx/imagemagick[png]
- virtual/texi2dvi
- virtual/latex-base
- app-text/ghostscript-gpl )
- test? ( app-text/ghostscript-gpl )"
-
-TEXMF=/usr/share/texmf-site
-
-PATCHES=(
- # gc.h -> gc/gc.h
- "${FILESDIR}/${P}-configure-ac.patch"
-
- # Changing pdf, ps, image viewers to xdg-open
- "${FILESDIR}/${P}-xdg-utils.patch"
-
- # Bug #322473
- "${FILESDIR}/${P}-info.patch"
-)
-
-src_prepare() {
- sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
- -i configure.ac \
- || die "sed configure.ac failed"
-
- default
- eautoreconf
-}
-
-src_configure() {
- # for the CPPFLAGS see
- # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
- econf \
- CPPFLAGS=-DHAVE_SYS_TYPES_H \
- CFLAGS="${CXXFLAGS}" \
- --disable-gc-debug \
- $(use_enable boehm-gc gc system) \
- $(use_enable fftw) \
- $(use_enable gsl) \
- $(use_enable opengl gl) \
- $(use_enable offscreen) \
- $(use_enable sigsegv)
-}
-
-src_compile() {
- default
-
- cd doc || die
- emake asy.1
- if use doc; then
- # info
- einfo "Making info"
- emake ${PN}.info
- cd FAQ || die
- emake
- cd .. || die
- # pdf
- einfo "Making pdf docs"
- export VARTEXFONTS="${T}"/fonts
- # see bug #260606
- emake -j1 asymptote.pdf
- emake CAD.pdf
- fi
- cd .. || die
-
- if use emacs; then
- einfo "Compiling emacs lisp files"
- elisp-compile base/*.el
- fi
-}
-
-src_install() {
- # the program
- dobin asy
-
- # .asy files
- insinto /usr/share/${PN}
- doins base/*.asy
-
- # documentation
- dodoc BUGS ChangeLog README ReleaseNotes TODO
- doman doc/asy.1
-
- # X GUI
- if use X; then
- insinto /usr/share/${PN}
- doins -r GUI
- chmod +x "${D}"usr/share/${PN}/GUI/xasy.py
- dosym /usr/share/${PN}/GUI/xasy.py /usr/bin/xasy
- doman doc/xasy.1x
- fi
-
- # examples
- if use examples; then
- insinto /usr/share/${PN}/examples
- doins \
- examples/*.asy \
- examples/*.eps \
- doc/*.asy \
- doc/*.csv \
- doc/*.dat \
- doc/extra/*.asy
- insinto /usr/share/${PN}/examples/animations
- doins examples/animations/*.asy
- fi
-
- # LaTeX style
- if use latex; then
- 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 .. || die
- fi
-
- # asymptote.py
- if use python; then
- python_foreach_impl python_domodule base/${PN}.py
- fi
-
- # emacs mode
- if use emacs; then
- elisp-install ${PN} base/*.el base/*.elc
- elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
- fi
-
- # vim syntax
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins base/asy.vim
- insinto /usr/share/vim/vimfiles/ftdetect
- doins "${FILESDIR}"/asy-ftd.vim
- fi
-
- # extra documentation
- if use doc; then
- cd doc || die
- doinfo ${PN}.info*
- cd FAQ || die
- dodoc asy-faq.ascii
- doinfo asy-faq.info
- insinto /usr/share/doc/${PF}/html/FAQ
- doins asy-faq.html/*
- cd .. || die
- insinto /usr/share/doc/${PF}
- doins ${PN}.pdf CAD.pdf
- fi
-}
-
-pkg_postinst() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-
- elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
- elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
-}
-
-pkg_postrm() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-}
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2019-11-12 7:31 Michał Górny
0 siblings, 0 replies; 61+ messages in thread
From: Michał Górny @ 2019-11-12 7:31 UTC (permalink / raw
To: gentoo-commits
commit: fa6c86ca013b32e312e2f677a2fa073f2133c419
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 12 07:09:03 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Nov 12 07:31:55 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa6c86ca
media-gfx/asymptote: [QA] Fix AbsoluteSymlink
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.60.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/asymptote/asymptote-2.60.ebuild b/media-gfx/asymptote/asymptote-2.60.ebuild
index 8436bb74de0..bef7be52b54 100644
--- a/media-gfx/asymptote/asymptote-2.60.ebuild
+++ b/media-gfx/asymptote/asymptote-2.60.ebuild
@@ -134,7 +134,7 @@ src_install() {
insinto /usr/share/${PN}
doins -r GUI
chmod +x "${D}"usr/share/${PN}/GUI/xasy.py
- dosym /usr/share/${PN}/GUI/xasy.py /usr/bin/xasy
+ dosym ../share/${PN}/GUI/xasy.py /usr/bin/xasy
doman doc/xasy.1x
fi
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2019-11-12 7:31 Michał Górny
0 siblings, 0 replies; 61+ messages in thread
From: Michał Górny @ 2019-11-12 7:31 UTC (permalink / raw
To: gentoo-commits
commit: abddf65d13df885809726eeb40ffdf80829e98d2
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 12 07:08:38 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Nov 12 07:31:54 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abddf65d
media-gfx/asymptote: [QA] Fix BadInsIntoDir
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.60.ebuild | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/media-gfx/asymptote/asymptote-2.60.ebuild b/media-gfx/asymptote/asymptote-2.60.ebuild
index 22a6d01b693..8436bb74de0 100644
--- a/media-gfx/asymptote/asymptote-2.60.ebuild
+++ b/media-gfx/asymptote/asymptote-2.60.ebuild
@@ -187,14 +187,12 @@ src_install() {
if use doc; then
cd doc || die
doinfo ${PN}.info*
+ dodoc ${PN}.pdf CAD.pdf
cd FAQ || die
dodoc asy-faq.ascii
doinfo asy-faq.info
- insinto /usr/share/doc/${PF}/html/FAQ
- doins asy-faq.html/*
- cd .. || die
- insinto /usr/share/doc/${PF}
- doins ${PN}.pdf CAD.pdf
+ docinto html/FAQ
+ dodoc asy-faq.html/*
fi
}
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2019-11-12 7:31 Michał Górny
0 siblings, 0 replies; 61+ messages in thread
From: Michał Górny @ 2019-11-12 7:31 UTC (permalink / raw
To: gentoo-commits
commit: 9d85210e39cd10820692c7920029f4137dda17bb
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 12 07:05:46 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Nov 12 07:31:53 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d85210e
media-gfx/asymptote: [QA] Fix MissingTestRestrict
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.41-r1.ebuild | 1 +
media-gfx/asymptote/asymptote-2.47.ebuild | 1 +
media-gfx/asymptote/asymptote-2.48-r1.ebuild | 1 +
media-gfx/asymptote/asymptote-2.49.ebuild | 1 +
media-gfx/asymptote/asymptote-2.60.ebuild | 1 +
5 files changed, 5 insertions(+)
diff --git a/media-gfx/asymptote/asymptote-2.41-r1.ebuild b/media-gfx/asymptote/asymptote-2.41-r1.ebuild
index 217c37ad125..a9cac441133 100644
--- a/media-gfx/asymptote/asymptote-2.41-r1.ebuild
+++ b/media-gfx/asymptote/asymptote-2.41-r1.ebuild
@@ -15,6 +15,7 @@ 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 test vim-syntax X"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
diff --git a/media-gfx/asymptote/asymptote-2.47.ebuild b/media-gfx/asymptote/asymptote-2.47.ebuild
index a22f7884257..77448ad6545 100644
--- a/media-gfx/asymptote/asymptote-2.47.ebuild
+++ b/media-gfx/asymptote/asymptote-2.47.ebuild
@@ -15,6 +15,7 @@ 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 test vim-syntax X"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
diff --git a/media-gfx/asymptote/asymptote-2.48-r1.ebuild b/media-gfx/asymptote/asymptote-2.48-r1.ebuild
index 24ae7be985c..2c4a4f4d889 100644
--- a/media-gfx/asymptote/asymptote-2.48-r1.ebuild
+++ b/media-gfx/asymptote/asymptote-2.48-r1.ebuild
@@ -15,6 +15,7 @@ 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 test vim-syntax X"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
diff --git a/media-gfx/asymptote/asymptote-2.49.ebuild b/media-gfx/asymptote/asymptote-2.49.ebuild
index d424b071ff4..22a6d01b693 100644
--- a/media-gfx/asymptote/asymptote-2.49.ebuild
+++ b/media-gfx/asymptote/asymptote-2.49.ebuild
@@ -15,6 +15,7 @@ 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 test vim-syntax X"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
diff --git a/media-gfx/asymptote/asymptote-2.60.ebuild b/media-gfx/asymptote/asymptote-2.60.ebuild
index d424b071ff4..22a6d01b693 100644
--- a/media-gfx/asymptote/asymptote-2.60.ebuild
+++ b/media-gfx/asymptote/asymptote-2.60.ebuild
@@ -15,6 +15,7 @@ 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 test vim-syntax X"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2020-01-04 2:38 Andrey Grozin
0 siblings, 0 replies; 61+ messages in thread
From: Andrey Grozin @ 2020-01-04 2:38 UTC (permalink / raw
To: gentoo-commits
commit: 8e2fe72dd992802d976efeeac3b213f0d1c5d6a8
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 4 02:38:17 2020 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Sat Jan 4 02:38:17 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e2fe72d
media-gfx/asymptote: fix install with USE=examples
Closes: https://bugs.gentoo.org/show_bug.cgi?id=704384
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.61.ebuild | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/media-gfx/asymptote/asymptote-2.61.ebuild b/media-gfx/asymptote/asymptote-2.61.ebuild
index 8d329c6d405..8518a6a3999 100644
--- a/media-gfx/asymptote/asymptote-2.61.ebuild
+++ b/media-gfx/asymptote/asymptote-2.61.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -143,7 +143,6 @@ src_install() {
insinto /usr/share/${PN}/examples
doins \
examples/*.asy \
- examples/*.eps \
doc/*.asy \
doc/*.csv \
doc/*.dat \
@@ -160,6 +159,8 @@ src_install() {
if use examples; then
insinto /usr/share/${PN}/examples
doins latexusage.tex
+ insinto /usr/share/${PN}/examples/animations
+ doins ../examples/animations/*.tex
fi
cd .. || die
fi
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2020-01-08 8:15 Agostino Sarubbo
0 siblings, 0 replies; 61+ messages in thread
From: Agostino Sarubbo @ 2020-01-08 8:15 UTC (permalink / raw
To: gentoo-commits
commit: c2871600bc204ca27caff34edbd8f2bc4823743c
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 8 08:15:20 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Jan 8 08:15:20 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2871600
media-gfx/asymptote: amd64 stable wrt bug #704902
Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.61.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/asymptote/asymptote-2.61.ebuild b/media-gfx/asymptote/asymptote-2.61.ebuild
index b4db9c2f4e3..d01ff45b753 100644
--- a/media-gfx/asymptote/asymptote-2.61.ebuild
+++ b/media-gfx/asymptote/asymptote-2.61.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+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 test vim-syntax X"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2020-01-19 17:00 Mikle Kolyada
0 siblings, 0 replies; 61+ messages in thread
From: Mikle Kolyada @ 2020-01-19 17:00 UTC (permalink / raw
To: gentoo-commits
commit: 2820b5abd86c5ff89132ab25e23a1f221be7ecc5
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 19 16:58:32 2020 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Jan 19 16:58:32 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2820b5ab
media-gfx/asymptote: oirt to EAPI=7
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.61.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/media-gfx/asymptote/asymptote-2.61.ebuild b/media-gfx/asymptote/asymptote-2.61.ebuild
index bd19e8e0995..b37f0cb3853 100644
--- a/media-gfx/asymptote/asymptote-2.61.ebuild
+++ b/media-gfx/asymptote/asymptote-2.61.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
PYTHON_COMPAT=( python3_{6,7} )
-inherit autotools elisp-common latex-package multilib python-r1
+inherit autotools elisp-common latex-package python-r1
DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
HOMEPAGE="http://asymptote.sourceforge.net/"
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2020-01-19 18:16 Mikle Kolyada
0 siblings, 0 replies; 61+ messages in thread
From: Mikle Kolyada @ 2020-01-19 18:16 UTC (permalink / raw
To: gentoo-commits
commit: 6e876ac9450b38557a8464b7a4738ccb5eac48bb
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 19 18:15:35 2020 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Jan 19 18:15:35 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e876ac9
media-gfx/asymptote: fix MissingSlash
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.61.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/asymptote/asymptote-2.61.ebuild b/media-gfx/asymptote/asymptote-2.61.ebuild
index b37f0cb3853..90caa2a0498 100644
--- a/media-gfx/asymptote/asymptote-2.61.ebuild
+++ b/media-gfx/asymptote/asymptote-2.61.ebuild
@@ -133,7 +133,7 @@ src_install() {
if use X; then
insinto /usr/share/${PN}
doins -r GUI
- chmod +x "${D}"usr/share/${PN}/GUI/xasy.py
+ chmod +x "${D}"/usr/share/${PN}/GUI/xasy.py
dosym ../share/${PN}/GUI/xasy.py /usr/bin/xasy
doman doc/xasy.1x
fi
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2020-08-16 11:38 Andrey Grozin
0 siblings, 0 replies; 61+ messages in thread
From: Andrey Grozin @ 2020-08-16 11:38 UTC (permalink / raw
To: gentoo-commits
commit: 4259517049cab11f21a9d34859f4b9e7ceadc51e
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 16 11:37:55 2020 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Sun Aug 16 11:37:55 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42595170
media-gfx/asymptote: fix typos
Closes: https://bugs.gentoo.org/737234
Closes: https://bugs.gentoo.org/737278
Package-Manager: Portage-3.0.2, Repoman-2.3.23
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.67.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/media-gfx/asymptote/asymptote-2.67.ebuild b/media-gfx/asymptote/asymptote-2.67.ebuild
index bc080339db0..581f8fb50a4 100644
--- a/media-gfx/asymptote/asymptote-2.67.ebuild
+++ b/media-gfx/asymptote/asymptote-2.67.ebuild
@@ -151,7 +151,7 @@ src_install() {
doc/*.asy \
doc/*.csv \
doc/*.dat \
- dec/pixel.pdf \
+ doc/pixel.pdf \
doc/extra/*.asy
insinto /usr/share/${PN}/examples/animations
doins examples/animations/*.asy
@@ -187,7 +187,7 @@ src_install() {
insinto /usr/share/vim/vimfiles/syntax
doins base/asy.vim
insinto /usr/share/vim/vimfiles/ftdetect
- doins "${FILESDIR}"/asy-filetype.vim
+ doins base/asy_filetype.vim
fi
# extra documentation
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2020-08-17 7:01 Agostino Sarubbo
0 siblings, 0 replies; 61+ messages in thread
From: Agostino Sarubbo @ 2020-08-17 7:01 UTC (permalink / raw
To: gentoo-commits
commit: 6ce26962c6ee0a4eacc5c3d33057b6c0ecb4cd86
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 17 07:00:26 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Aug 17 07:00:26 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ce26962
media-gfx/asymptote: amd64 stable wrt bug #736734
Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.65.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/asymptote/asymptote-2.65.ebuild b/media-gfx/asymptote/asymptote-2.65.ebuild
index 4c2242fc198..82ccfe7dbec 100644
--- a/media-gfx/asymptote/asymptote-2.65.ebuild
+++ b/media-gfx/asymptote/asymptote-2.65.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+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 test vim-syntax X"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2020-08-18 11:22 Agostino Sarubbo
0 siblings, 0 replies; 61+ messages in thread
From: Agostino Sarubbo @ 2020-08-18 11:22 UTC (permalink / raw
To: gentoo-commits
commit: ce0f71f396bd264c7f2ef8223e50d4bb679da06e
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 18 11:20:53 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Aug 18 11:20:53 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce0f71f3
media-gfx/asymptote: x86 stable wrt bug #736734
Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.65.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/asymptote/asymptote-2.65.ebuild b/media-gfx/asymptote/asymptote-2.65.ebuild
index 82ccfe7dbec..be68de6d52c 100644
--- a/media-gfx/asymptote/asymptote-2.65.ebuild
+++ b/media-gfx/asymptote/asymptote-2.65.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+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 test vim-syntax X"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2020-10-09 13:47 Conrad Kostecki
0 siblings, 0 replies; 61+ messages in thread
From: Conrad Kostecki @ 2020-10-09 13:47 UTC (permalink / raw
To: gentoo-commits
commit: 9cebb058474c31aaacc443f2af7384accea1cf4e
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sat Sep 26 14:25:08 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Oct 9 13:45:33 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cebb058
media-gfx/asymptote: use HTTPS
Closes: https://github.com/gentoo/gentoo/pull/17681
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.61.ebuild | 2 +-
media-gfx/asymptote/asymptote-2.62.ebuild | 2 +-
media-gfx/asymptote/asymptote-2.65.ebuild | 2 +-
media-gfx/asymptote/asymptote-2.67.ebuild | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/media-gfx/asymptote/asymptote-2.61.ebuild b/media-gfx/asymptote/asymptote-2.61.ebuild
index 90caa2a0498..0117ea06a1d 100644
--- a/media-gfx/asymptote/asymptote-2.61.ebuild
+++ b/media-gfx/asymptote/asymptote-2.61.ebuild
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{6,7} )
inherit autotools elisp-common latex-package python-r1
DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
-HOMEPAGE="http://asymptote.sourceforge.net/"
+HOMEPAGE="https://asymptote.sourceforge.io/"
SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
LICENSE="GPL-3"
diff --git a/media-gfx/asymptote/asymptote-2.62.ebuild b/media-gfx/asymptote/asymptote-2.62.ebuild
index 5f683b025c1..af22df7d3e9 100644
--- a/media-gfx/asymptote/asymptote-2.62.ebuild
+++ b/media-gfx/asymptote/asymptote-2.62.ebuild
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{6,7} )
inherit autotools elisp-common latex-package python-r1
DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
-HOMEPAGE="http://asymptote.sourceforge.net/"
+HOMEPAGE="https://asymptote.sourceforge.io/"
SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
LICENSE="GPL-3"
diff --git a/media-gfx/asymptote/asymptote-2.65.ebuild b/media-gfx/asymptote/asymptote-2.65.ebuild
index be68de6d52c..99fe53927a8 100644
--- a/media-gfx/asymptote/asymptote-2.65.ebuild
+++ b/media-gfx/asymptote/asymptote-2.65.ebuild
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{6,7,8} )
inherit autotools elisp-common latex-package python-r1
DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
-HOMEPAGE="http://asymptote.sourceforge.net/"
+HOMEPAGE="https://asymptote.sourceforge.io/"
SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
LICENSE="GPL-3"
diff --git a/media-gfx/asymptote/asymptote-2.67.ebuild b/media-gfx/asymptote/asymptote-2.67.ebuild
index 581f8fb50a4..1e7593538a8 100644
--- a/media-gfx/asymptote/asymptote-2.67.ebuild
+++ b/media-gfx/asymptote/asymptote-2.67.ebuild
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{6,7,8} )
inherit autotools elisp-common latex-package python-r1
DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
-HOMEPAGE="http://asymptote.sourceforge.net/"
+HOMEPAGE="https://asymptote.sourceforge.io/"
SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
LICENSE="GPL-3"
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2021-01-03 1:23 Sam James
0 siblings, 0 replies; 61+ messages in thread
From: Sam James @ 2021-01-03 1:23 UTC (permalink / raw
To: gentoo-commits
commit: 2b7fb90ca326e7242ed7bf3a4307bb9431b90216
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 3 01:23:29 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 3 01:23:29 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b7fb90c
media-gfx/asymptote: Stabilize 2.68 amd64, #762322
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.68.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/media-gfx/asymptote/asymptote-2.68.ebuild b/media-gfx/asymptote/asymptote-2.68.ebuild
index 1e7593538a8..6aa632707f5 100644
--- a/media-gfx/asymptote/asymptote-2.68.ebuild
+++ b/media-gfx/asymptote/asymptote-2.68.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+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 test vim-syntax X"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2021-01-06 14:07 Fabian Groffen
0 siblings, 0 replies; 61+ messages in thread
From: Fabian Groffen @ 2021-01-06 14:07 UTC (permalink / raw
To: gentoo-commits
commit: ccf1b2de50ed155115e6010ff0196b766e357ea9
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 6 14:01:52 2021 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Wed Jan 6 14:01:52 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccf1b2de
media-gfx/asymptote: drop x86-macos
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.65.ebuild | 4 ++--
media-gfx/asymptote/asymptote-2.67.ebuild | 4 ++--
media-gfx/asymptote/asymptote-2.68.ebuild | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/media-gfx/asymptote/asymptote-2.65.ebuild b/media-gfx/asymptote/asymptote-2.65.ebuild
index 99fe53927a8..45793e847ff 100644
--- a/media-gfx/asymptote/asymptote-2.65.ebuild
+++ b/media-gfx/asymptote/asymptote-2.65.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="+boehm-gc doc emacs examples fftw gsl +imagemagick latex offscreen +opengl python sigsegv svg test vim-syntax X"
RESTRICT="!test? ( test )"
diff --git a/media-gfx/asymptote/asymptote-2.67.ebuild b/media-gfx/asymptote/asymptote-2.67.ebuild
index 1e7593538a8..02579b89ccd 100644
--- a/media-gfx/asymptote/asymptote-2.67.ebuild
+++ b/media-gfx/asymptote/asymptote-2.67.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="+boehm-gc doc emacs examples fftw gsl +imagemagick latex offscreen +opengl python sigsegv svg test vim-syntax X"
RESTRICT="!test? ( test )"
diff --git a/media-gfx/asymptote/asymptote-2.68.ebuild b/media-gfx/asymptote/asymptote-2.68.ebuild
index 6aa632707f5..c885b25144f 100644
--- a/media-gfx/asymptote/asymptote-2.68.ebuild
+++ b/media-gfx/asymptote/asymptote-2.68.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="+boehm-gc doc emacs examples fftw gsl +imagemagick latex offscreen +opengl python sigsegv svg test vim-syntax X"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2021-02-21 9:49 Sam James
0 siblings, 0 replies; 61+ messages in thread
From: Sam James @ 2021-02-21 9:49 UTC (permalink / raw
To: gentoo-commits
commit: 7688930fa5afa147038c3f81413f78d7e78ae676
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 21 09:49:48 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 21 09:49:48 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7688930f
media-gfx/asymptote: Keyword 2.68 ppc, #766150
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.68.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/asymptote/asymptote-2.68.ebuild b/media-gfx/asymptote/asymptote-2.68.ebuild
index dbca9e562e8..55f17d507ae 100644
--- a/media-gfx/asymptote/asymptote-2.68.ebuild
+++ b/media-gfx/asymptote/asymptote-2.68.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="+boehm-gc doc emacs examples fftw gsl +imagemagick latex offscreen +opengl python sigsegv svg test vim-syntax X"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2021-03-08 16:15 Andrey Grozin
0 siblings, 0 replies; 61+ messages in thread
From: Andrey Grozin @ 2021-03-08 16:15 UTC (permalink / raw
To: gentoo-commits
commit: 12553697934d92b19251f926c7647d632188a307
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 8 16:14:44 2021 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Mon Mar 8 16:14:44 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12553697
media-gfx/asymptote: xasy is working again
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.69-r1.ebuild | 236 +++++++++++++++++++++++++++
media-gfx/asymptote/metadata.xml | 1 +
2 files changed, 237 insertions(+)
diff --git a/media-gfx/asymptote/asymptote-2.69-r1.ebuild b/media-gfx/asymptote/asymptote-2.69-r1.ebuild
new file mode 100644
index 00000000000..6c8517ffb9c
--- /dev/null
+++ b/media-gfx/asymptote/asymptote-2.69-r1.ebuild
@@ -0,0 +1,236 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit autotools elisp-common latex-package python-r1
+
+DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
+HOMEPAGE="https://asymptote.sourceforge.io/"
+SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex offscreen +opengl python sigsegv svg test vim-syntax X"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ offscreen? ( opengl )
+ doc? ( boehm-gc )"
+
+RDEPEND="
+ >=sys-libs/ncurses-5.4-r5:0=
+ >=sys-libs/readline-4.3-r5:0=
+ net-libs/libtirpc
+ imagemagick? ( media-gfx/imagemagick[png] )
+ opengl? ( media-libs/mesa[X(+)] media-libs/freeglut media-libs/glew:0 media-libs/glm )
+ offscreen? ( media-libs/mesa[osmesa] )
+ svg? ( app-text/dvisvgm )
+ sigsegv? ( dev-libs/libsigsegv )
+ boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
+ fftw? ( >=sci-libs/fftw-3.0.1 )
+ gsl? ( sci-libs/gsl )
+ python? ( ${PYTHON_DEPS} )
+ curl? ( net-misc/curl )
+ X? (
+ ${PYTHON_DEPS}
+ dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,svg]
+ dev-python/numpy
+ dev-python/pycson
+ >=gnome-base/librsvg-2.40
+ )
+ latex? (
+ virtual/latex-base
+ >=dev-texlive/texlive-latexextra-2013
+ )
+ context? ( dev-texlive/texlive-context )
+ emacs? ( >=app-editors/emacs-23.1:* )
+ vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ doc? (
+ media-gfx/imagemagick[png]
+ virtual/texi2dvi
+ virtual/latex-base
+ app-text/ghostscript-gpl )
+ test? ( app-text/ghostscript-gpl )"
+
+TEXMF=/usr/share/texmf-site
+
+PATCHES=(
+ # Changing pdf, ps, image viewers to xdg-open
+ "${FILESDIR}/${P}-xdg-utils.patch"
+
+ # Bug #322473
+ "${FILESDIR}/${P}-info.patch"
+)
+
+src_prepare() {
+ sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
+ -i configure.ac \
+ || die "sed configure.ac failed"
+
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # for the CPPFLAGS see
+ # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
+ econf \
+ CPPFLAGS=-DHAVE_SYS_TYPES_H \
+ CFLAGS="${CXXFLAGS}" \
+ --disable-gc-debug \
+ --disable-gc-full-debug \
+ --with-latex=/usr/share/texmf-site/tex/latex \
+ --with-context=/usr/share/texmf-site/tex/context \
+ $(use_enable boehm-gc gc system) \
+ $(use_enable curl) \
+ $(use_enable fftw) \
+ $(use_enable gsl) \
+ $(use_enable opengl gl) \
+ $(use_enable offscreen) \
+ $(use_enable sigsegv)
+}
+
+src_compile() {
+ default
+
+ cd doc || die
+ emake asy.1
+ einfo "Making info"
+ cd png || die
+ emake ${PN}.info
+ cd .. || die
+ if use doc; then
+ cd FAQ || die
+ emake
+ cd .. || die
+ # pdf
+ einfo "Making pdf docs"
+ export VARTEXFONTS="${T}"/fonts
+ # see bug #260606
+ emake -j1 asymptote.pdf
+ emake CAD.pdf asy-latex.pdf asyRefCard.pdf
+ fi
+ cd .. || die
+
+ if use emacs; then
+ einfo "Compiling emacs lisp files"
+ elisp-compile base/*.el
+ fi
+}
+
+src_install() {
+ # the program
+ dobin asy
+
+ # .asy files
+ insinto /usr/share/${PN}
+ doins -r base/*.asy base/*.js base/*.sh base/*.ps base/shaders base/webgl
+ chmod 755 "${D}"/usr/share/${PN}/shaders/*
+
+ # documentation
+ dodoc README ReleaseNotes ChangeLog
+ cd doc || die
+ doman asy.1
+ doinfo png/${PN}.info
+ if use doc; then
+ dodoc FAQ/asy-faq.ascii
+ dodoc CAD.pdf asy-latex.pdf asyRefCard.pdf asymptote.pdf
+ fi
+ cd .. || die
+
+ # asymptote.py
+ if use python; then
+ python_moduleinto ${PN}
+ python_foreach_impl python_domodule aspy.py
+ python_foreach_impl python_domodule base/${PN}.py
+ fi
+
+ # X GUI
+ if use X; then
+ cd GUI || die
+ python_setup
+ sed -e 1d -i xasy.py
+ echo "#!/usr/bin/env ${EPYTHON}" > xasy1
+ cat xasy1 xasy.py > xasy
+ rm xasy1 xasy.py
+ mv xasy xasy.py
+ cd .. || die
+ python_domodule GUI
+ chmod 755 "${D}/$(python_get_sitedir)/${PN}/GUI/xasy.py"
+ dosym "$(python_get_sitedir)/${PN}/GUI/xasy.py" /usr/bin/xasy
+ doman doc/xasy.1x
+ fi
+
+ # examples
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins \
+ examples/*.asy \
+ examples/*.views \
+ examples/*.dat \
+ examples/*.bib \
+ examples/*.png \
+ examples/*.pdb1 \
+ doc/*.asy \
+ doc/*.csv \
+ doc/*.dat \
+ doc/pixel.pdf \
+ doc/extra/*.asy
+ insinto /usr/share/${PN}/examples/animations
+ doins examples/animations/*.asy
+ fi
+
+ # LaTeX style
+ if use latex; then
+ cd doc || die
+ insinto "${TEXMF}"/tex/latex/${PN}
+ doins *.sty latexmkrc
+ if use examples; then
+ insinto /usr/share/${PN}/examples
+ doins latexusage.tex externalprc.tex
+ insinto /usr/share/${PN}/examples/animations
+ doins ../examples/animations/*.tex
+ fi
+ cd .. || die
+ fi
+
+ # ConTeXt
+ if use context; then
+ insinto /usr/share/texmf-site/tex/context
+ doins doc/colo-asy.tex
+ fi
+
+ # emacs mode
+ if use emacs; then
+ elisp-install ${PN} base/*.el base/*.elc asy-keywords.el
+ elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+ fi
+
+ # vim syntax
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles/syntax
+ doins base/asy.vim
+ insinto /usr/share/vim/vimfiles/ftdetect
+ doins base/asy_filetype.vim
+ fi
+}
+
+pkg_postinst() {
+ use latex && latex-package_rehash
+ use emacs && elisp-site-regen
+
+ elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
+ elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
+}
+
+pkg_postrm() {
+ use latex && latex-package_rehash
+ use emacs && elisp-site-regen
+}
diff --git a/media-gfx/asymptote/metadata.xml b/media-gfx/asymptote/metadata.xml
index 0f12983bc2f..9a6acb07f78 100644
--- a/media-gfx/asymptote/metadata.xml
+++ b/media-gfx/asymptote/metadata.xml
@@ -20,6 +20,7 @@
</longdescription>
<use>
<flag name="boehm-gc">Enables using the Boehm-Demers-Weiser conservative garbage collector</flag>
+ <flag name="context">Enables support for ConTeXt format (<pkg>dev-texlive/texlive-context</pkg>)</flag>
<flag name="curl">Enables running remote programs via <pkg>net-misc/curl</pkg></flag>
<flag name="sigsegv">Enables using <pkg>dev-libs/libsigsegv</pkg></flag>
<flag name="offscreen">Enables off-screen rendering</flag>
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2021-03-08 16:18 Andrey Grozin
0 siblings, 0 replies; 61+ messages in thread
From: Andrey Grozin @ 2021-03-08 16:18 UTC (permalink / raw
To: gentoo-commits
commit: d6e1cbfb83ab6b6073f6ba7e0cad430f1eea7132
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 8 16:18:10 2021 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Mon Mar 8 16:18:10 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6e1cbfb
media-gfx/asymptote: clean 2.69
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.69-r1.ebuild | 2 +-
media-gfx/asymptote/asymptote-2.69.ebuild | 205 ---------------------------
2 files changed, 1 insertion(+), 206 deletions(-)
diff --git a/media-gfx/asymptote/asymptote-2.69-r1.ebuild b/media-gfx/asymptote/asymptote-2.69-r1.ebuild
index 6c8517ffb9c..d28738382b1 100644
--- a/media-gfx/asymptote/asymptote-2.69-r1.ebuild
+++ b/media-gfx/asymptote/asymptote-2.69-r1.ebuild
@@ -139,7 +139,7 @@ src_install() {
cd doc || die
doman asy.1
doinfo png/${PN}.info
- if use doc; then
+ if use doc; then
dodoc FAQ/asy-faq.ascii
dodoc CAD.pdf asy-latex.pdf asyRefCard.pdf asymptote.pdf
fi
diff --git a/media-gfx/asymptote/asymptote-2.69.ebuild b/media-gfx/asymptote/asymptote-2.69.ebuild
deleted file mode 100644
index b7b0b25d288..00000000000
--- a/media-gfx/asymptote/asymptote-2.69.ebuild
+++ /dev/null
@@ -1,205 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit autotools elisp-common latex-package python-r1
-
-DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
-HOMEPAGE="https://asymptote.sourceforge.io/"
-SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="+boehm-gc curl doc emacs examples fftw gsl +imagemagick latex offscreen +opengl python sigsegv svg test vim-syntax"
-# FIXME: xasy is currently broken
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
- ${PYTHON_REQUIRED_USE}
- offscreen? ( opengl )
- doc? ( boehm-gc )"
-
-RDEPEND="
- >=sys-libs/ncurses-5.4-r5:0=
- >=sys-libs/readline-4.3-r5:0=
- net-libs/libtirpc
- imagemagick? ( media-gfx/imagemagick[png] )
- opengl? ( media-libs/mesa media-libs/freeglut media-libs/glew:0 media-libs/glm )
- offscreen? ( media-libs/mesa[osmesa] )
- svg? ( app-text/dvisvgm )
- sigsegv? ( dev-libs/libsigsegv )
- boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
- fftw? ( >=sci-libs/fftw-3.0.1 )
- gsl? ( sci-libs/gsl )
- python? ( ${PYTHON_DEPS} )
- curl? ( net-misc/curl )
- latex? (
- virtual/latex-base
- >=dev-texlive/texlive-latexextra-2013
- )
- emacs? ( >=app-editors/emacs-23.1:* )
- vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
-DEPEND="${RDEPEND}
- doc? (
- dev-lang/perl
- media-gfx/imagemagick[png]
- virtual/texi2dvi
- virtual/latex-base
- app-text/ghostscript-gpl )
- test? ( app-text/ghostscript-gpl )"
-
-TEXMF=/usr/share/texmf-site
-
-PATCHES=(
- # Changing pdf, ps, image viewers to xdg-open
- "${FILESDIR}/${P}-xdg-utils.patch"
-
- # Bug #322473
- "${FILESDIR}/${P}-info.patch"
-)
-
-src_prepare() {
- sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
- -i configure.ac \
- || die "sed configure.ac failed"
-
- default
- eautoreconf
-}
-
-src_configure() {
- # for the CPPFLAGS see
- # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
- econf \
- CPPFLAGS=-DHAVE_SYS_TYPES_H \
- CFLAGS="${CXXFLAGS}" \
- --disable-gc-debug \
- $(use_enable boehm-gc gc system) \
- $(use_enable curl) \
- $(use_enable fftw) \
- $(use_enable gsl) \
- $(use_enable opengl gl) \
- $(use_enable offscreen) \
- $(use_enable sigsegv)
-}
-
-src_compile() {
- default
-
- cd doc || die
- emake asy.1
- if use doc; then
- # info
- einfo "Making info"
- emake ${PN}.info
- cd FAQ || die
- emake
- cd .. || die
- # pdf
- einfo "Making pdf docs"
- export VARTEXFONTS="${T}"/fonts
- # see bug #260606
- emake -j1 asymptote.pdf
- emake CAD.pdf
- fi
- cd .. || die
-
- if use emacs; then
- einfo "Compiling emacs lisp files"
- elisp-compile base/*.el
- fi
-}
-
-src_install() {
- # the program
- dobin asy
-
- # .asy files
- insinto /usr/share/${PN}
- doins -r base/*.asy base/shaders base/webgl
-
- # documentation
- dodoc BUGS ChangeLog README ReleaseNotes TODO
- doman doc/asy.1
-
- # examples
- if use examples; then
- insinto /usr/share/${PN}/examples
- doins \
- examples/*.asy \
- examples/*.views \
- examples/*.dat \
- examples/*.bib \
- examples/piicon.png \
- examples/100d.pdb1 \
- doc/*.asy \
- doc/*.csv \
- doc/*.dat \
- doc/pixel.pdf \
- doc/extra/*.asy
- insinto /usr/share/${PN}/examples/animations
- doins examples/animations/*.asy
- fi
-
- # LaTeX style
- if use latex; then
- 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 externalprc.tex
- insinto /usr/share/${PN}/examples/animations
- doins ../examples/animations/*.tex
- fi
- cd .. || die
- fi
-
- # asymptote.py
- if use python; then
- python_foreach_impl python_domodule base/${PN}.py
- fi
-
- # emacs mode
- if use emacs; then
- elisp-install ${PN} base/*.el base/*.elc asy-keywords.el
- elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
- fi
-
- # vim syntax
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins base/asy.vim
- insinto /usr/share/vim/vimfiles/ftdetect
- doins base/asy_filetype.vim
- fi
-
- # extra documentation
- if use doc; then
- cd doc || die
- doinfo ${PN}.info*
- dodoc ${PN}.pdf CAD.pdf
- cd FAQ || die
- dodoc asy-faq.ascii
- doinfo asy-faq.info
- docinto html/FAQ
- dodoc asy-faq.html/*
- fi
-}
-
-pkg_postinst() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-
- elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
- elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
-}
-
-pkg_postrm() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-}
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2021-03-09 12:37 Andrey Grozin
0 siblings, 0 replies; 61+ messages in thread
From: Andrey Grozin @ 2021-03-09 12:37 UTC (permalink / raw
To: gentoo-commits
commit: 38917c14689ecd6656b1d52555a70c1f0293c7bf
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 9 12:37:18 2021 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Tue Mar 9 12:37:18 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38917c14
media-gfx/asymptote: a minor ebuild improvement
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.69-r1.ebuild | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/media-gfx/asymptote/asymptote-2.69-r1.ebuild b/media-gfx/asymptote/asymptote-2.69-r1.ebuild
index d28738382b1..11723a29a48 100644
--- a/media-gfx/asymptote/asymptote-2.69-r1.ebuild
+++ b/media-gfx/asymptote/asymptote-2.69-r1.ebuild
@@ -170,8 +170,8 @@ src_install() {
# examples
if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins \
+ docinto examples
+ dodoc \
examples/*.asy \
examples/*.views \
examples/*.dat \
@@ -183,8 +183,8 @@ src_install() {
doc/*.dat \
doc/pixel.pdf \
doc/extra/*.asy
- insinto /usr/share/${PN}/examples/animations
- doins examples/animations/*.asy
+ docinto examples/animations
+ dodoc examples/animations/*.asy
fi
# LaTeX style
@@ -193,10 +193,10 @@ src_install() {
insinto "${TEXMF}"/tex/latex/${PN}
doins *.sty latexmkrc
if use examples; then
- insinto /usr/share/${PN}/examples
- doins latexusage.tex externalprc.tex
- insinto /usr/share/${PN}/examples/animations
- doins ../examples/animations/*.tex
+ docinto examples
+ dodoc latexusage.tex externalprc.tex
+ docinto examples/animations
+ dodoc ../examples/animations/*.tex
fi
cd .. || die
fi
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2021-05-06 10:04 Sam James
0 siblings, 0 replies; 61+ messages in thread
From: Sam James @ 2021-05-06 10:04 UTC (permalink / raw
To: gentoo-commits
commit: 5ad7e09d137f6926f3762416797222c4fbb84f21
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu May 6 10:03:52 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May 6 10:03:52 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ad7e09d
media-gfx/asymptote: Stabilize 2.70 amd64, #788457
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.70.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/asymptote/asymptote-2.70.ebuild b/media-gfx/asymptote/asymptote-2.70.ebuild
index 11723a29a48..44a6b9d73b4 100644
--- a/media-gfx/asymptote/asymptote-2.70.ebuild
+++ b/media-gfx/asymptote/asymptote-2.70.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex offscreen +opengl python sigsegv svg test vim-syntax X"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2021-05-06 10:06 Sam James
0 siblings, 0 replies; 61+ messages in thread
From: Sam James @ 2021-05-06 10:06 UTC (permalink / raw
To: gentoo-commits
commit: 5783ae7fd9712f3d21dbce67f43ec76e6adcae05
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu May 6 10:05:56 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May 6 10:05:56 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5783ae7f
media-gfx/asymptote: Stabilize 2.70 x86, #788457
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.70.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/asymptote/asymptote-2.70.ebuild b/media-gfx/asymptote/asymptote-2.70.ebuild
index 44a6b9d73b4..494c8467ccb 100644
--- a/media-gfx/asymptote/asymptote-2.70.ebuild
+++ b/media-gfx/asymptote/asymptote-2.70.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex offscreen +opengl python sigsegv svg test vim-syntax X"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2021-06-02 22:36 Sam James
0 siblings, 0 replies; 61+ messages in thread
From: Sam James @ 2021-06-02 22:36 UTC (permalink / raw
To: gentoo-commits
commit: 174aa8810ec8c05b12e00cc03e0e154b93fd5148
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 2 21:21:10 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 2 21:50:22 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=174aa881
media-gfx/asymptote: subscribe to sci-libs/gsl subslot
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../{asymptote-2.69-r1.ebuild => asymptote-2.69-r2.ebuild} | 10 +++++-----
.../{asymptote-2.70.ebuild => asymptote-2.70-r1.ebuild} | 10 +++++-----
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/media-gfx/asymptote/asymptote-2.69-r1.ebuild b/media-gfx/asymptote/asymptote-2.69-r2.ebuild
similarity index 98%
rename from media-gfx/asymptote/asymptote-2.69-r1.ebuild
rename to media-gfx/asymptote/asymptote-2.69-r2.ebuild
index 11723a29a48..b603beb6086 100644
--- a/media-gfx/asymptote/asymptote-2.69-r1.ebuild
+++ b/media-gfx/asymptote/asymptote-2.69-r2.ebuild
@@ -25,15 +25,15 @@ REQUIRED_USE="
RDEPEND="
>=sys-libs/ncurses-5.4-r5:0=
>=sys-libs/readline-4.3-r5:0=
- net-libs/libtirpc
+ net-libs/libtirpc:=
imagemagick? ( media-gfx/imagemagick[png] )
opengl? ( media-libs/mesa[X(+)] media-libs/freeglut media-libs/glew:0 media-libs/glm )
offscreen? ( media-libs/mesa[osmesa] )
svg? ( app-text/dvisvgm )
sigsegv? ( dev-libs/libsigsegv )
boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
- fftw? ( >=sci-libs/fftw-3.0.1 )
- gsl? ( sci-libs/gsl )
+ fftw? ( >=sci-libs/fftw-3.0.1:= )
+ gsl? ( sci-libs/gsl:= )
python? ( ${PYTHON_DEPS} )
curl? ( net-misc/curl )
X? (
@@ -42,11 +42,11 @@ RDEPEND="
dev-python/numpy
dev-python/pycson
>=gnome-base/librsvg-2.40
- )
+ )
latex? (
virtual/latex-base
>=dev-texlive/texlive-latexextra-2013
- )
+ )
context? ( dev-texlive/texlive-context )
emacs? ( >=app-editors/emacs-23.1:* )
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
diff --git a/media-gfx/asymptote/asymptote-2.70.ebuild b/media-gfx/asymptote/asymptote-2.70-r1.ebuild
similarity index 98%
rename from media-gfx/asymptote/asymptote-2.70.ebuild
rename to media-gfx/asymptote/asymptote-2.70-r1.ebuild
index 494c8467ccb..e69b83cc7ba 100644
--- a/media-gfx/asymptote/asymptote-2.70.ebuild
+++ b/media-gfx/asymptote/asymptote-2.70-r1.ebuild
@@ -25,15 +25,15 @@ REQUIRED_USE="
RDEPEND="
>=sys-libs/ncurses-5.4-r5:0=
>=sys-libs/readline-4.3-r5:0=
- net-libs/libtirpc
+ net-libs/libtirpc:=
imagemagick? ( media-gfx/imagemagick[png] )
opengl? ( media-libs/mesa[X(+)] media-libs/freeglut media-libs/glew:0 media-libs/glm )
offscreen? ( media-libs/mesa[osmesa] )
svg? ( app-text/dvisvgm )
sigsegv? ( dev-libs/libsigsegv )
boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
- fftw? ( >=sci-libs/fftw-3.0.1 )
- gsl? ( sci-libs/gsl )
+ fftw? ( >=sci-libs/fftw-3.0.1:= )
+ gsl? ( sci-libs/gsl:= )
python? ( ${PYTHON_DEPS} )
curl? ( net-misc/curl )
X? (
@@ -42,11 +42,11 @@ RDEPEND="
dev-python/numpy
dev-python/pycson
>=gnome-base/librsvg-2.40
- )
+ )
latex? (
virtual/latex-base
>=dev-texlive/texlive-latexextra-2013
- )
+ )
context? ( dev-texlive/texlive-context )
emacs? ( >=app-editors/emacs-23.1:* )
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2021-08-12 3:10 Yixun Lan
0 siblings, 0 replies; 61+ messages in thread
From: Yixun Lan @ 2021-08-12 3:10 UTC (permalink / raw
To: gentoo-commits
commit: aa8d3495401a064515fc8607326179540481f9e2
Author: Alex Fan <alexfanqi <AT> yahoo <DOT> com>
AuthorDate: Thu Aug 12 00:35:48 2021 +0000
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Aug 12 02:54:19 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa8d3495
media-gfx/asymptote: keyword 2.70-r1 for ~riscv
Signed-off-by: Alex Fan <alexfanqi <AT> yahoo.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.70-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/asymptote/asymptote-2.70-r1.ebuild b/media-gfx/asymptote/asymptote-2.70-r1.ebuild
index e69b83cc7ba..f4fbcf92ed4 100644
--- a/media-gfx/asymptote/asymptote-2.70-r1.ebuild
+++ b/media-gfx/asymptote/asymptote-2.70-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~ppc ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex offscreen +opengl python sigsegv svg test vim-syntax X"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2021-10-06 8:33 Jakov Smolić
0 siblings, 0 replies; 61+ messages in thread
From: Jakov Smolić @ 2021-10-06 8:33 UTC (permalink / raw
To: gentoo-commits
commit: 54fd9f4e171ad021d992a562cd3ee1437753b9ac
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 6 08:24:23 2021 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Wed Oct 6 08:31:41 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54fd9f4e
media-gfx/asymptote: drop 2.69-r2
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
media-gfx/asymptote/Manifest | 1 -
media-gfx/asymptote/asymptote-2.69-r2.ebuild | 236 ---------------------------
2 files changed, 237 deletions(-)
diff --git a/media-gfx/asymptote/Manifest b/media-gfx/asymptote/Manifest
index 6248930645c..36369ef5915 100644
--- a/media-gfx/asymptote/Manifest
+++ b/media-gfx/asymptote/Manifest
@@ -1,2 +1 @@
-DIST asymptote-2.69.src.tgz 4673601 BLAKE2B 9734ffec10c9c0b8053598402a4eb81a3ed8a48f8ce8e58d1720442be26e25fe7778d6d47cd2d29dae61183d15aaa456bca430ab98e951844c8210484226e67f SHA512 a1b746600b4e6880350e57adeb3a3228d10b1b0c1db11ee0e750545cf8023716eec92253c0cd0980747f72c16fd0097f25ee688657168f24a0def106260e0791
DIST asymptote-2.70.src.tgz 4674495 BLAKE2B 126b2e99222e6ae438aaef89df00b8eae19118c3ef42d2fab0b0117f343911939e680d22e903b784213186a5d2eeeecb112afba1467562e7127c34de4bc66773 SHA512 24d60af361e3f0309a896ce8163da6fc0a9d6587efe726c5acf874dcb74f4d51b4bad8146a615ff54173ef06dac53117fd1cc09c77940271adc9f64cac6bcfe6
diff --git a/media-gfx/asymptote/asymptote-2.69-r2.ebuild b/media-gfx/asymptote/asymptote-2.69-r2.ebuild
deleted file mode 100644
index b603beb6086..00000000000
--- a/media-gfx/asymptote/asymptote-2.69-r2.ebuild
+++ /dev/null
@@ -1,236 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit autotools elisp-common latex-package python-r1
-
-DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
-HOMEPAGE="https://asymptote.sourceforge.io/"
-SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex offscreen +opengl python sigsegv svg test vim-syntax X"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
- ${PYTHON_REQUIRED_USE}
- offscreen? ( opengl )
- doc? ( boehm-gc )"
-
-RDEPEND="
- >=sys-libs/ncurses-5.4-r5:0=
- >=sys-libs/readline-4.3-r5:0=
- net-libs/libtirpc:=
- imagemagick? ( media-gfx/imagemagick[png] )
- opengl? ( media-libs/mesa[X(+)] media-libs/freeglut media-libs/glew:0 media-libs/glm )
- offscreen? ( media-libs/mesa[osmesa] )
- svg? ( app-text/dvisvgm )
- sigsegv? ( dev-libs/libsigsegv )
- boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
- fftw? ( >=sci-libs/fftw-3.0.1:= )
- gsl? ( sci-libs/gsl:= )
- python? ( ${PYTHON_DEPS} )
- curl? ( net-misc/curl )
- X? (
- ${PYTHON_DEPS}
- dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,svg]
- dev-python/numpy
- dev-python/pycson
- >=gnome-base/librsvg-2.40
- )
- latex? (
- virtual/latex-base
- >=dev-texlive/texlive-latexextra-2013
- )
- context? ( dev-texlive/texlive-context )
- emacs? ( >=app-editors/emacs-23.1:* )
- vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
-DEPEND="${RDEPEND}
- dev-lang/perl
- doc? (
- media-gfx/imagemagick[png]
- virtual/texi2dvi
- virtual/latex-base
- app-text/ghostscript-gpl )
- test? ( app-text/ghostscript-gpl )"
-
-TEXMF=/usr/share/texmf-site
-
-PATCHES=(
- # Changing pdf, ps, image viewers to xdg-open
- "${FILESDIR}/${P}-xdg-utils.patch"
-
- # Bug #322473
- "${FILESDIR}/${P}-info.patch"
-)
-
-src_prepare() {
- sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
- -i configure.ac \
- || die "sed configure.ac failed"
-
- default
- eautoreconf
-}
-
-src_configure() {
- # for the CPPFLAGS see
- # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
- econf \
- CPPFLAGS=-DHAVE_SYS_TYPES_H \
- CFLAGS="${CXXFLAGS}" \
- --disable-gc-debug \
- --disable-gc-full-debug \
- --with-latex=/usr/share/texmf-site/tex/latex \
- --with-context=/usr/share/texmf-site/tex/context \
- $(use_enable boehm-gc gc system) \
- $(use_enable curl) \
- $(use_enable fftw) \
- $(use_enable gsl) \
- $(use_enable opengl gl) \
- $(use_enable offscreen) \
- $(use_enable sigsegv)
-}
-
-src_compile() {
- default
-
- cd doc || die
- emake asy.1
- einfo "Making info"
- cd png || die
- emake ${PN}.info
- cd .. || die
- if use doc; then
- cd FAQ || die
- emake
- cd .. || die
- # pdf
- einfo "Making pdf docs"
- export VARTEXFONTS="${T}"/fonts
- # see bug #260606
- emake -j1 asymptote.pdf
- emake CAD.pdf asy-latex.pdf asyRefCard.pdf
- fi
- cd .. || die
-
- if use emacs; then
- einfo "Compiling emacs lisp files"
- elisp-compile base/*.el
- fi
-}
-
-src_install() {
- # the program
- dobin asy
-
- # .asy files
- insinto /usr/share/${PN}
- doins -r base/*.asy base/*.js base/*.sh base/*.ps base/shaders base/webgl
- chmod 755 "${D}"/usr/share/${PN}/shaders/*
-
- # documentation
- dodoc README ReleaseNotes ChangeLog
- cd doc || die
- doman asy.1
- doinfo png/${PN}.info
- if use doc; then
- dodoc FAQ/asy-faq.ascii
- dodoc CAD.pdf asy-latex.pdf asyRefCard.pdf asymptote.pdf
- fi
- cd .. || die
-
- # asymptote.py
- if use python; then
- python_moduleinto ${PN}
- python_foreach_impl python_domodule aspy.py
- python_foreach_impl python_domodule base/${PN}.py
- fi
-
- # X GUI
- if use X; then
- cd GUI || die
- python_setup
- sed -e 1d -i xasy.py
- echo "#!/usr/bin/env ${EPYTHON}" > xasy1
- cat xasy1 xasy.py > xasy
- rm xasy1 xasy.py
- mv xasy xasy.py
- cd .. || die
- python_domodule GUI
- chmod 755 "${D}/$(python_get_sitedir)/${PN}/GUI/xasy.py"
- dosym "$(python_get_sitedir)/${PN}/GUI/xasy.py" /usr/bin/xasy
- doman doc/xasy.1x
- fi
-
- # examples
- if use examples; then
- docinto examples
- dodoc \
- examples/*.asy \
- examples/*.views \
- examples/*.dat \
- examples/*.bib \
- examples/*.png \
- examples/*.pdb1 \
- doc/*.asy \
- doc/*.csv \
- doc/*.dat \
- doc/pixel.pdf \
- doc/extra/*.asy
- docinto examples/animations
- dodoc examples/animations/*.asy
- fi
-
- # LaTeX style
- if use latex; then
- cd doc || die
- insinto "${TEXMF}"/tex/latex/${PN}
- doins *.sty latexmkrc
- if use examples; then
- docinto examples
- dodoc latexusage.tex externalprc.tex
- docinto examples/animations
- dodoc ../examples/animations/*.tex
- fi
- cd .. || die
- fi
-
- # ConTeXt
- if use context; then
- insinto /usr/share/texmf-site/tex/context
- doins doc/colo-asy.tex
- fi
-
- # emacs mode
- if use emacs; then
- elisp-install ${PN} base/*.el base/*.elc asy-keywords.el
- elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
- fi
-
- # vim syntax
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins base/asy.vim
- insinto /usr/share/vim/vimfiles/ftdetect
- doins base/asy_filetype.vim
- fi
-}
-
-pkg_postinst() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-
- elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
- elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
-}
-
-pkg_postrm() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-}
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2022-01-03 5:18 Andrey Grozin
0 siblings, 0 replies; 61+ messages in thread
From: Andrey Grozin @ 2022-01-03 5:18 UTC (permalink / raw
To: gentoo-commits
commit: 13016242e070982c828fd29d4255664a485b6940
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 3 05:18:22 2022 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Mon Jan 3 05:18:22 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13016242
media-gfx/asymptote: bump to 2.74
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
media-gfx/asymptote/Manifest | 1 +
media-gfx/asymptote/asymptote-2.74.ebuild | 242 ++++++++++++++++++++++++++++++
media-gfx/asymptote/metadata.xml | 1 +
3 files changed, 244 insertions(+)
diff --git a/media-gfx/asymptote/Manifest b/media-gfx/asymptote/Manifest
index 36369ef5915d..015b9466d61b 100644
--- a/media-gfx/asymptote/Manifest
+++ b/media-gfx/asymptote/Manifest
@@ -1 +1,2 @@
DIST asymptote-2.70.src.tgz 4674495 BLAKE2B 126b2e99222e6ae438aaef89df00b8eae19118c3ef42d2fab0b0117f343911939e680d22e903b784213186a5d2eeeecb112afba1467562e7127c34de4bc66773 SHA512 24d60af361e3f0309a896ce8163da6fc0a9d6587efe726c5acf874dcb74f4d51b4bad8146a615ff54173ef06dac53117fd1cc09c77940271adc9f64cac6bcfe6
+DIST asymptote-2.74.src.tgz 12510904 BLAKE2B 8c899f44c8572594fc1526204cfb8f4c3d503dcbd32ebf713eb507ab03966eb335fff8d1b071b568d226588e8b99a6c494b14602d30d1f654cb68b52874ff12e SHA512 cc9a4e6f4ceca5ed356b8ec0dd2d21c23fe19d28492e42cb9cc020759886aedcac1f909c35f6759a1cc6b2f8a2fe6569cc9f5e4686da139188354551e21c183b
diff --git a/media-gfx/asymptote/asymptote-2.74.ebuild b/media-gfx/asymptote/asymptote-2.74.ebuild
new file mode 100644
index 000000000000..78ed3422c1b1
--- /dev/null
+++ b/media-gfx/asymptote/asymptote-2.74.ebuild
@@ -0,0 +1,242 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit autotools elisp-common latex-package python-r1
+
+DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
+HOMEPAGE="https://asymptote.sourceforge.io/"
+SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ offscreen? ( opengl )
+ doc? ( boehm-gc )"
+
+RDEPEND="
+ >=sys-libs/ncurses-5.4-r5:0=
+ >=sys-libs/readline-4.3-r5:0=
+ net-libs/libtirpc:=
+ imagemagick? ( media-gfx/imagemagick[png] )
+ opengl? ( media-libs/mesa[X(+)] media-libs/freeglut media-libs/glew:0 media-libs/glm )
+ offscreen? ( media-libs/mesa[osmesa] )
+ svg? ( app-text/dvisvgm )
+ sigsegv? ( dev-libs/libsigsegv )
+ boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
+ fftw? ( >=sci-libs/fftw-3.0.1:= )
+ gsl? ( sci-libs/gsl:= )
+ python? ( ${PYTHON_DEPS} )
+ curl? ( net-misc/curl )
+ lsp? (
+ dev-libs/boost
+ dev-libs/rapidjson
+ dev-libs/utfcpp
+ )
+ X? (
+ ${PYTHON_DEPS}
+ dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,svg]
+ dev-python/numpy
+ dev-python/pycson
+ >=gnome-base/librsvg-2.40
+ )
+ latex? (
+ virtual/latex-base
+ >=dev-texlive/texlive-latexextra-2013
+ )
+ context? ( dev-texlive/texlive-context )
+ emacs? ( >=app-editors/emacs-23.1:* )
+ vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ doc? (
+ media-gfx/imagemagick[png]
+ virtual/texi2dvi
+ virtual/latex-base
+ app-text/ghostscript-gpl )
+ test? ( app-text/ghostscript-gpl )"
+
+TEXMF=/usr/share/texmf-site
+
+PATCHES=(
+ # Changing pdf, ps, image viewers to xdg-open
+ "${FILESDIR}/${PN}-2.70-xdg-utils.patch"
+
+ # Bug #322473
+ "${FILESDIR}/${PN}-2.70-info.patch"
+)
+
+src_prepare() {
+ sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
+ -i configure.ac \
+ || die "sed configure.ac failed"
+
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # for the CPPFLAGS see
+ # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
+ econf \
+ CPPFLAGS=-DHAVE_SYS_TYPES_H \
+ CFLAGS="${CXXFLAGS}" \
+ --disable-gc-debug \
+ --disable-gc-full-debug \
+ --with-latex=/usr/share/texmf-site/tex/latex \
+ --with-context=/usr/share/texmf-site/tex/context \
+ $(use_enable boehm-gc gc system) \
+ $(use_enable curl) \
+ $(use_enable lsp) \
+ $(use_enable fftw) \
+ $(use_enable gsl) \
+ $(use_enable opengl gl) \
+ $(use_enable offscreen) \
+ $(use_enable sigsegv)
+}
+
+src_compile() {
+ default
+
+ cd doc || die
+ emake asy.1
+ einfo "Making info"
+ cd png || die
+ emake ${PN}.info
+ cd .. || die
+ if use doc; then
+ cd FAQ || die
+ emake
+ cd .. || die
+ # pdf
+ einfo "Making pdf docs"
+ export VARTEXFONTS="${T}"/fonts
+ # see bug #260606
+ emake -j1 asymptote.pdf
+ emake CAD.pdf asy-latex.pdf asyRefCard.pdf
+ fi
+ cd .. || die
+
+ if use emacs; then
+ einfo "Compiling emacs lisp files"
+ elisp-compile base/*.el
+ fi
+}
+
+src_install() {
+ # the program
+ dobin asy
+
+ # .asy files
+ insinto /usr/share/${PN}
+ doins -r base/*.asy base/*.js base/*.sh base/*.ps base/shaders base/webgl
+ chmod 755 "${D}"/usr/share/${PN}/shaders/*
+
+ # documentation
+ dodoc README ReleaseNotes ChangeLog
+ cd doc || die
+ doman asy.1
+ doinfo png/${PN}.info
+ if use doc; then
+ dodoc FAQ/asy-faq.ascii
+ dodoc CAD.pdf asy-latex.pdf asyRefCard.pdf asymptote.pdf
+ fi
+ cd .. || die
+
+ # asymptote.py
+ if use python; then
+ python_moduleinto ${PN}
+ python_foreach_impl python_domodule aspy.py
+ python_foreach_impl python_domodule base/${PN}.py
+ fi
+
+ # X GUI
+ if use X; then
+ cd GUI || die
+ python_setup
+ sed -e 1d -i xasy.py
+ echo "#!/usr/bin/env ${EPYTHON}" > xasy1
+ cat xasy1 xasy.py > xasy
+ rm xasy1 xasy.py
+ mv xasy xasy.py
+ cd .. || die
+ python_domodule GUI
+ chmod 755 "${D}/$(python_get_sitedir)/${PN}/GUI/xasy.py"
+ dosym "$(python_get_sitedir)/${PN}/GUI/xasy.py" /usr/bin/xasy
+ doman doc/xasy.1x
+ fi
+
+ # examples
+ if use examples; then
+ docinto examples
+ dodoc \
+ examples/*.asy \
+ examples/*.views \
+ examples/*.dat \
+ examples/*.bib \
+ examples/*.png \
+ examples/*.pdb1 \
+ doc/*.asy \
+ doc/*.csv \
+ doc/*.dat \
+ doc/pixel.pdf \
+ doc/extra/*.asy
+ docinto examples/animations
+ dodoc examples/animations/*.asy
+ fi
+
+ # LaTeX style
+ if use latex; then
+ cd doc || die
+ insinto "${TEXMF}"/tex/latex/${PN}
+ doins *.sty latexmkrc
+ if use examples; then
+ docinto examples
+ dodoc latexusage.tex externalprc.tex
+ docinto examples/animations
+ dodoc ../examples/animations/*.tex
+ fi
+ cd .. || die
+ fi
+
+ # ConTeXt
+ if use context; then
+ insinto /usr/share/texmf-site/tex/context
+ doins doc/colo-asy.tex
+ fi
+
+ # emacs mode
+ if use emacs; then
+ elisp-install ${PN} base/*.el base/*.elc asy-keywords.el
+ elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+ fi
+
+ # vim syntax
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles/syntax
+ doins base/asy.vim
+ insinto /usr/share/vim/vimfiles/ftdetect
+ doins base/asy_filetype.vim
+ fi
+}
+
+pkg_postinst() {
+ use latex && latex-package_rehash
+ use emacs && elisp-site-regen
+
+ elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
+ elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
+}
+
+pkg_postrm() {
+ use latex && latex-package_rehash
+ use emacs && elisp-site-regen
+}
diff --git a/media-gfx/asymptote/metadata.xml b/media-gfx/asymptote/metadata.xml
index e9eec6f0fe79..ae70c43a3e24 100644
--- a/media-gfx/asymptote/metadata.xml
+++ b/media-gfx/asymptote/metadata.xml
@@ -22,6 +22,7 @@
<flag name="boehm-gc">Enables using the Boehm-Demers-Weiser conservative garbage collector</flag>
<flag name="context">Enables support for ConTeXt format (<pkg>dev-texlive/texlive-context</pkg>)</flag>
<flag name="curl">Enables running remote programs via <pkg>net-misc/curl</pkg></flag>
+ <flag name="lsp">Enables Language Server Protocol</flag>
<flag name="sigsegv">Enables using <pkg>dev-libs/libsigsegv</pkg></flag>
<flag name="offscreen">Enables off-screen rendering</flag>
</use>
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2022-02-02 7:30 Andrey Grozin
0 siblings, 0 replies; 61+ messages in thread
From: Andrey Grozin @ 2022-02-02 7:30 UTC (permalink / raw
To: gentoo-commits
commit: 8c49c2ddfd139c58f3847e3a2b77491d30916162
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 2 07:29:12 2022 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Wed Feb 2 07:29:50 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c49c2dd
media-gfx/asymptote: bump to 2.77
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
media-gfx/asymptote/Manifest | 1 +
media-gfx/asymptote/asymptote-2.77.ebuild | 242 ++++++++++++++++++++++++++++++
2 files changed, 243 insertions(+)
diff --git a/media-gfx/asymptote/Manifest b/media-gfx/asymptote/Manifest
index 015b9466d61b..ad8e023d17b7 100644
--- a/media-gfx/asymptote/Manifest
+++ b/media-gfx/asymptote/Manifest
@@ -1,2 +1,3 @@
DIST asymptote-2.70.src.tgz 4674495 BLAKE2B 126b2e99222e6ae438aaef89df00b8eae19118c3ef42d2fab0b0117f343911939e680d22e903b784213186a5d2eeeecb112afba1467562e7127c34de4bc66773 SHA512 24d60af361e3f0309a896ce8163da6fc0a9d6587efe726c5acf874dcb74f4d51b4bad8146a615ff54173ef06dac53117fd1cc09c77940271adc9f64cac6bcfe6
DIST asymptote-2.74.src.tgz 12510904 BLAKE2B 8c899f44c8572594fc1526204cfb8f4c3d503dcbd32ebf713eb507ab03966eb335fff8d1b071b568d226588e8b99a6c494b14602d30d1f654cb68b52874ff12e SHA512 cc9a4e6f4ceca5ed356b8ec0dd2d21c23fe19d28492e42cb9cc020759886aedcac1f909c35f6759a1cc6b2f8a2fe6569cc9f5e4686da139188354551e21c183b
+DIST asymptote-2.77.src.tgz 12519133 BLAKE2B afbd80b076348a12314a14511db4b369d8382b8da49b64b05e3d0c1c3f2546aa042a307b5f3eacbc3ecd7fd1b34d9aa34f83fd67c4d0bc240e44c49b058c9786 SHA512 1597543429a906927e20a2903c1a687ec19ef9467f6893760eed1896139379a964601ff057c8d3fd20b7bfbf0364827f53e768cc1d82498d078e3a69f88addec
diff --git a/media-gfx/asymptote/asymptote-2.77.ebuild b/media-gfx/asymptote/asymptote-2.77.ebuild
new file mode 100644
index 000000000000..f36cb494507d
--- /dev/null
+++ b/media-gfx/asymptote/asymptote-2.77.ebuild
@@ -0,0 +1,242 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit autotools elisp-common latex-package python-r1
+
+DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
+HOMEPAGE="https://asymptote.sourceforge.io/"
+SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ offscreen? ( opengl )
+ doc? ( boehm-gc )"
+
+RDEPEND="
+ >=sys-libs/ncurses-5.4-r5:0=
+ >=sys-libs/readline-4.3-r5:0=
+ net-libs/libtirpc:=
+ imagemagick? ( media-gfx/imagemagick[png] )
+ opengl? ( media-libs/mesa[X(+)] media-libs/freeglut media-libs/glew:0 media-libs/glm )
+ offscreen? ( media-libs/mesa[osmesa] )
+ svg? ( app-text/dvisvgm )
+ sigsegv? ( dev-libs/libsigsegv )
+ boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
+ fftw? ( >=sci-libs/fftw-3.0.1:= )
+ gsl? ( sci-libs/gsl:= )
+ python? ( ${PYTHON_DEPS} )
+ curl? ( net-misc/curl )
+ lsp? (
+ dev-libs/boost
+ dev-libs/rapidjson
+ dev-libs/utfcpp
+ )
+ X? (
+ ${PYTHON_DEPS}
+ dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,svg]
+ dev-python/numpy
+ dev-python/pycson
+ >=gnome-base/librsvg-2.40
+ )
+ latex? (
+ virtual/latex-base
+ >=dev-texlive/texlive-latexextra-2013
+ )
+ context? ( dev-texlive/texlive-context )
+ emacs? ( >=app-editors/emacs-23.1:* )
+ vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ doc? (
+ media-gfx/imagemagick[png]
+ virtual/texi2dvi
+ virtual/latex-base
+ app-text/ghostscript-gpl )
+ test? ( app-text/ghostscript-gpl )"
+
+TEXMF=/usr/share/texmf-site
+
+PATCHES=(
+ # Changing pdf, ps, image viewers to xdg-open
+ "${FILESDIR}/${PN}-2.70-xdg-utils.patch"
+
+ # Bug #322473
+ "${FILESDIR}/${PN}-2.70-info.patch"
+)
+
+src_prepare() {
+ sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
+ -i configure.ac \
+ || die "sed configure.ac failed"
+
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # for the CPPFLAGS see
+ # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
+ econf \
+ CPPFLAGS=-DHAVE_SYS_TYPES_H \
+ CFLAGS="${CXXFLAGS}" \
+ --disable-gc-debug \
+ --disable-gc-full-debug \
+ --with-latex=/usr/share/texmf-site/tex/latex \
+ --with-context=/usr/share/texmf-site/tex/context \
+ $(use_enable boehm-gc gc system) \
+ $(use_enable curl) \
+ $(use_enable lsp) \
+ $(use_enable fftw) \
+ $(use_enable gsl) \
+ $(use_enable opengl gl) \
+ $(use_enable offscreen) \
+ $(use_enable sigsegv)
+}
+
+src_compile() {
+ default
+
+ cd doc || die
+ emake asy.1
+ einfo "Making info"
+ cd png || die
+ emake ${PN}.info
+ cd .. || die
+ if use doc; then
+ cd FAQ || die
+ emake
+ cd .. || die
+ # pdf
+ einfo "Making pdf docs"
+ export VARTEXFONTS="${T}"/fonts
+ # see bug #260606
+ emake -j1 asymptote.pdf
+ emake CAD.pdf asy-latex.pdf asyRefCard.pdf
+ fi
+ cd .. || die
+
+ if use emacs; then
+ einfo "Compiling emacs lisp files"
+ elisp-compile base/*.el
+ fi
+}
+
+src_install() {
+ # the program
+ dobin asy
+
+ # .asy files
+ insinto /usr/share/${PN}
+ doins -r base/*.asy base/*.js base/*.sh base/*.ps base/shaders base/webgl
+ chmod 755 "${D}"/usr/share/${PN}/shaders/*
+
+ # documentation
+ dodoc README ReleaseNotes ChangeLog
+ cd doc || die
+ doman asy.1
+ doinfo png/${PN}.info
+ if use doc; then
+ dodoc FAQ/asy-faq.ascii
+ dodoc CAD.pdf asy-latex.pdf asyRefCard.pdf asymptote.pdf
+ fi
+ cd .. || die
+
+ # asymptote.py
+ if use python; then
+ python_moduleinto ${PN}
+ python_foreach_impl python_domodule aspy.py
+ python_foreach_impl python_domodule base/${PN}.py
+ fi
+
+ # X GUI
+ if use X; then
+ cd GUI || die
+ python_setup
+ sed -e 1d -i xasy.py
+ echo "#!/usr/bin/env ${EPYTHON}" > xasy1
+ cat xasy1 xasy.py > xasy
+ rm xasy1 xasy.py
+ mv xasy xasy.py
+ cd .. || die
+ python_domodule GUI
+ chmod 755 "${D}/$(python_get_sitedir)/${PN}/GUI/xasy.py"
+ dosym "$(python_get_sitedir)/${PN}/GUI/xasy.py" /usr/bin/xasy
+ doman doc/xasy.1x
+ fi
+
+ # examples
+ if use examples; then
+ docinto examples
+ dodoc \
+ examples/*.asy \
+ examples/*.views \
+ examples/*.dat \
+ examples/*.bib \
+ examples/*.png \
+ examples/*.pdb1 \
+ doc/*.asy \
+ doc/*.csv \
+ doc/*.dat \
+ doc/pixel.pdf \
+ doc/extra/*.asy
+ docinto examples/animations
+ dodoc examples/animations/*.asy
+ fi
+
+ # LaTeX style
+ if use latex; then
+ cd doc || die
+ insinto "${TEXMF}"/tex/latex/${PN}
+ doins *.sty latexmkrc
+ if use examples; then
+ docinto examples
+ dodoc latexusage.tex externalprc.tex
+ docinto examples/animations
+ dodoc ../examples/animations/*.tex
+ fi
+ cd .. || die
+ fi
+
+ # ConTeXt
+ if use context; then
+ insinto /usr/share/texmf-site/tex/context
+ doins doc/colo-asy.tex
+ fi
+
+ # emacs mode
+ if use emacs; then
+ elisp-install ${PN} base/*.el base/*.elc asy-keywords.el
+ elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+ fi
+
+ # vim syntax
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles/syntax
+ doins base/asy.vim
+ insinto /usr/share/vim/vimfiles/ftdetect
+ doins base/asy_filetype.vim
+ fi
+}
+
+pkg_postinst() {
+ use latex && latex-package_rehash
+ use emacs && elisp-site-regen
+
+ elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
+ elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
+}
+
+pkg_postrm() {
+ use latex && latex-package_rehash
+ use emacs && elisp-site-regen
+}
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2022-02-08 12:30 Andrey Grozin
0 siblings, 0 replies; 61+ messages in thread
From: Andrey Grozin @ 2022-02-08 12:30 UTC (permalink / raw
To: gentoo-commits
commit: e67a23e4f6f41afcb68a1133279e302e50687193
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 8 12:30:44 2022 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Tue Feb 8 12:30:44 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e67a23e4
media-gfx/asymptote: bump to 2.78
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
media-gfx/asymptote/Manifest | 1 +
media-gfx/asymptote/asymptote-2.78.ebuild | 242 ++++++++++++++++++++++++++++++
2 files changed, 243 insertions(+)
diff --git a/media-gfx/asymptote/Manifest b/media-gfx/asymptote/Manifest
index ad8e023d17b7..5787d8e4b9b0 100644
--- a/media-gfx/asymptote/Manifest
+++ b/media-gfx/asymptote/Manifest
@@ -1,3 +1,4 @@
DIST asymptote-2.70.src.tgz 4674495 BLAKE2B 126b2e99222e6ae438aaef89df00b8eae19118c3ef42d2fab0b0117f343911939e680d22e903b784213186a5d2eeeecb112afba1467562e7127c34de4bc66773 SHA512 24d60af361e3f0309a896ce8163da6fc0a9d6587efe726c5acf874dcb74f4d51b4bad8146a615ff54173ef06dac53117fd1cc09c77940271adc9f64cac6bcfe6
DIST asymptote-2.74.src.tgz 12510904 BLAKE2B 8c899f44c8572594fc1526204cfb8f4c3d503dcbd32ebf713eb507ab03966eb335fff8d1b071b568d226588e8b99a6c494b14602d30d1f654cb68b52874ff12e SHA512 cc9a4e6f4ceca5ed356b8ec0dd2d21c23fe19d28492e42cb9cc020759886aedcac1f909c35f6759a1cc6b2f8a2fe6569cc9f5e4686da139188354551e21c183b
DIST asymptote-2.77.src.tgz 12519133 BLAKE2B afbd80b076348a12314a14511db4b369d8382b8da49b64b05e3d0c1c3f2546aa042a307b5f3eacbc3ecd7fd1b34d9aa34f83fd67c4d0bc240e44c49b058c9786 SHA512 1597543429a906927e20a2903c1a687ec19ef9467f6893760eed1896139379a964601ff057c8d3fd20b7bfbf0364827f53e768cc1d82498d078e3a69f88addec
+DIST asymptote-2.78.src.tgz 15274780 BLAKE2B 0c99aff54df79eabdf059cc0bb2cdd0832d7cc7ae83a2e3ab08116aa6bc75de44f7adfa096b7ed832fc96cd9db0bb41a490a8c5fd29716ad9a7852e52a98ad2b SHA512 dcc27ce608cb72b3979a87bd6e312774008a225b0936027c11bf1862e21dce5db6de9bf5db14c85ba1f7ed25ec77c3a57e2ecf58a73b46315daca11777910c24
diff --git a/media-gfx/asymptote/asymptote-2.78.ebuild b/media-gfx/asymptote/asymptote-2.78.ebuild
new file mode 100644
index 000000000000..f36cb494507d
--- /dev/null
+++ b/media-gfx/asymptote/asymptote-2.78.ebuild
@@ -0,0 +1,242 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit autotools elisp-common latex-package python-r1
+
+DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
+HOMEPAGE="https://asymptote.sourceforge.io/"
+SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ offscreen? ( opengl )
+ doc? ( boehm-gc )"
+
+RDEPEND="
+ >=sys-libs/ncurses-5.4-r5:0=
+ >=sys-libs/readline-4.3-r5:0=
+ net-libs/libtirpc:=
+ imagemagick? ( media-gfx/imagemagick[png] )
+ opengl? ( media-libs/mesa[X(+)] media-libs/freeglut media-libs/glew:0 media-libs/glm )
+ offscreen? ( media-libs/mesa[osmesa] )
+ svg? ( app-text/dvisvgm )
+ sigsegv? ( dev-libs/libsigsegv )
+ boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
+ fftw? ( >=sci-libs/fftw-3.0.1:= )
+ gsl? ( sci-libs/gsl:= )
+ python? ( ${PYTHON_DEPS} )
+ curl? ( net-misc/curl )
+ lsp? (
+ dev-libs/boost
+ dev-libs/rapidjson
+ dev-libs/utfcpp
+ )
+ X? (
+ ${PYTHON_DEPS}
+ dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,svg]
+ dev-python/numpy
+ dev-python/pycson
+ >=gnome-base/librsvg-2.40
+ )
+ latex? (
+ virtual/latex-base
+ >=dev-texlive/texlive-latexextra-2013
+ )
+ context? ( dev-texlive/texlive-context )
+ emacs? ( >=app-editors/emacs-23.1:* )
+ vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ doc? (
+ media-gfx/imagemagick[png]
+ virtual/texi2dvi
+ virtual/latex-base
+ app-text/ghostscript-gpl )
+ test? ( app-text/ghostscript-gpl )"
+
+TEXMF=/usr/share/texmf-site
+
+PATCHES=(
+ # Changing pdf, ps, image viewers to xdg-open
+ "${FILESDIR}/${PN}-2.70-xdg-utils.patch"
+
+ # Bug #322473
+ "${FILESDIR}/${PN}-2.70-info.patch"
+)
+
+src_prepare() {
+ sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
+ -i configure.ac \
+ || die "sed configure.ac failed"
+
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # for the CPPFLAGS see
+ # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
+ econf \
+ CPPFLAGS=-DHAVE_SYS_TYPES_H \
+ CFLAGS="${CXXFLAGS}" \
+ --disable-gc-debug \
+ --disable-gc-full-debug \
+ --with-latex=/usr/share/texmf-site/tex/latex \
+ --with-context=/usr/share/texmf-site/tex/context \
+ $(use_enable boehm-gc gc system) \
+ $(use_enable curl) \
+ $(use_enable lsp) \
+ $(use_enable fftw) \
+ $(use_enable gsl) \
+ $(use_enable opengl gl) \
+ $(use_enable offscreen) \
+ $(use_enable sigsegv)
+}
+
+src_compile() {
+ default
+
+ cd doc || die
+ emake asy.1
+ einfo "Making info"
+ cd png || die
+ emake ${PN}.info
+ cd .. || die
+ if use doc; then
+ cd FAQ || die
+ emake
+ cd .. || die
+ # pdf
+ einfo "Making pdf docs"
+ export VARTEXFONTS="${T}"/fonts
+ # see bug #260606
+ emake -j1 asymptote.pdf
+ emake CAD.pdf asy-latex.pdf asyRefCard.pdf
+ fi
+ cd .. || die
+
+ if use emacs; then
+ einfo "Compiling emacs lisp files"
+ elisp-compile base/*.el
+ fi
+}
+
+src_install() {
+ # the program
+ dobin asy
+
+ # .asy files
+ insinto /usr/share/${PN}
+ doins -r base/*.asy base/*.js base/*.sh base/*.ps base/shaders base/webgl
+ chmod 755 "${D}"/usr/share/${PN}/shaders/*
+
+ # documentation
+ dodoc README ReleaseNotes ChangeLog
+ cd doc || die
+ doman asy.1
+ doinfo png/${PN}.info
+ if use doc; then
+ dodoc FAQ/asy-faq.ascii
+ dodoc CAD.pdf asy-latex.pdf asyRefCard.pdf asymptote.pdf
+ fi
+ cd .. || die
+
+ # asymptote.py
+ if use python; then
+ python_moduleinto ${PN}
+ python_foreach_impl python_domodule aspy.py
+ python_foreach_impl python_domodule base/${PN}.py
+ fi
+
+ # X GUI
+ if use X; then
+ cd GUI || die
+ python_setup
+ sed -e 1d -i xasy.py
+ echo "#!/usr/bin/env ${EPYTHON}" > xasy1
+ cat xasy1 xasy.py > xasy
+ rm xasy1 xasy.py
+ mv xasy xasy.py
+ cd .. || die
+ python_domodule GUI
+ chmod 755 "${D}/$(python_get_sitedir)/${PN}/GUI/xasy.py"
+ dosym "$(python_get_sitedir)/${PN}/GUI/xasy.py" /usr/bin/xasy
+ doman doc/xasy.1x
+ fi
+
+ # examples
+ if use examples; then
+ docinto examples
+ dodoc \
+ examples/*.asy \
+ examples/*.views \
+ examples/*.dat \
+ examples/*.bib \
+ examples/*.png \
+ examples/*.pdb1 \
+ doc/*.asy \
+ doc/*.csv \
+ doc/*.dat \
+ doc/pixel.pdf \
+ doc/extra/*.asy
+ docinto examples/animations
+ dodoc examples/animations/*.asy
+ fi
+
+ # LaTeX style
+ if use latex; then
+ cd doc || die
+ insinto "${TEXMF}"/tex/latex/${PN}
+ doins *.sty latexmkrc
+ if use examples; then
+ docinto examples
+ dodoc latexusage.tex externalprc.tex
+ docinto examples/animations
+ dodoc ../examples/animations/*.tex
+ fi
+ cd .. || die
+ fi
+
+ # ConTeXt
+ if use context; then
+ insinto /usr/share/texmf-site/tex/context
+ doins doc/colo-asy.tex
+ fi
+
+ # emacs mode
+ if use emacs; then
+ elisp-install ${PN} base/*.el base/*.elc asy-keywords.el
+ elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+ fi
+
+ # vim syntax
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles/syntax
+ doins base/asy.vim
+ insinto /usr/share/vim/vimfiles/ftdetect
+ doins base/asy_filetype.vim
+ fi
+}
+
+pkg_postinst() {
+ use latex && latex-package_rehash
+ use emacs && elisp-site-regen
+
+ elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
+ elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
+}
+
+pkg_postrm() {
+ use latex && latex-package_rehash
+ use emacs && elisp-site-regen
+}
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2022-02-08 12:33 Andrey Grozin
0 siblings, 0 replies; 61+ messages in thread
From: Andrey Grozin @ 2022-02-08 12:33 UTC (permalink / raw
To: gentoo-commits
commit: 5cc171db72f822cab0cf2f86025f2303366d61e4
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 8 12:32:39 2022 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Tue Feb 8 12:33:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cc171db
media-gfx/asymptote: remove old version
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
media-gfx/asymptote/Manifest | 1 -
media-gfx/asymptote/asymptote-2.74.ebuild | 242 ------------------------------
2 files changed, 243 deletions(-)
diff --git a/media-gfx/asymptote/Manifest b/media-gfx/asymptote/Manifest
index 5787d8e4b9b0..0e636ffcfdeb 100644
--- a/media-gfx/asymptote/Manifest
+++ b/media-gfx/asymptote/Manifest
@@ -1,4 +1,3 @@
DIST asymptote-2.70.src.tgz 4674495 BLAKE2B 126b2e99222e6ae438aaef89df00b8eae19118c3ef42d2fab0b0117f343911939e680d22e903b784213186a5d2eeeecb112afba1467562e7127c34de4bc66773 SHA512 24d60af361e3f0309a896ce8163da6fc0a9d6587efe726c5acf874dcb74f4d51b4bad8146a615ff54173ef06dac53117fd1cc09c77940271adc9f64cac6bcfe6
-DIST asymptote-2.74.src.tgz 12510904 BLAKE2B 8c899f44c8572594fc1526204cfb8f4c3d503dcbd32ebf713eb507ab03966eb335fff8d1b071b568d226588e8b99a6c494b14602d30d1f654cb68b52874ff12e SHA512 cc9a4e6f4ceca5ed356b8ec0dd2d21c23fe19d28492e42cb9cc020759886aedcac1f909c35f6759a1cc6b2f8a2fe6569cc9f5e4686da139188354551e21c183b
DIST asymptote-2.77.src.tgz 12519133 BLAKE2B afbd80b076348a12314a14511db4b369d8382b8da49b64b05e3d0c1c3f2546aa042a307b5f3eacbc3ecd7fd1b34d9aa34f83fd67c4d0bc240e44c49b058c9786 SHA512 1597543429a906927e20a2903c1a687ec19ef9467f6893760eed1896139379a964601ff057c8d3fd20b7bfbf0364827f53e768cc1d82498d078e3a69f88addec
DIST asymptote-2.78.src.tgz 15274780 BLAKE2B 0c99aff54df79eabdf059cc0bb2cdd0832d7cc7ae83a2e3ab08116aa6bc75de44f7adfa096b7ed832fc96cd9db0bb41a490a8c5fd29716ad9a7852e52a98ad2b SHA512 dcc27ce608cb72b3979a87bd6e312774008a225b0936027c11bf1862e21dce5db6de9bf5db14c85ba1f7ed25ec77c3a57e2ecf58a73b46315daca11777910c24
diff --git a/media-gfx/asymptote/asymptote-2.74.ebuild b/media-gfx/asymptote/asymptote-2.74.ebuild
deleted file mode 100644
index 78ed3422c1b1..000000000000
--- a/media-gfx/asymptote/asymptote-2.74.ebuild
+++ /dev/null
@@ -1,242 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit autotools elisp-common latex-package python-r1
-
-DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
-HOMEPAGE="https://asymptote.sourceforge.io/"
-SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
- ${PYTHON_REQUIRED_USE}
- offscreen? ( opengl )
- doc? ( boehm-gc )"
-
-RDEPEND="
- >=sys-libs/ncurses-5.4-r5:0=
- >=sys-libs/readline-4.3-r5:0=
- net-libs/libtirpc:=
- imagemagick? ( media-gfx/imagemagick[png] )
- opengl? ( media-libs/mesa[X(+)] media-libs/freeglut media-libs/glew:0 media-libs/glm )
- offscreen? ( media-libs/mesa[osmesa] )
- svg? ( app-text/dvisvgm )
- sigsegv? ( dev-libs/libsigsegv )
- boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
- fftw? ( >=sci-libs/fftw-3.0.1:= )
- gsl? ( sci-libs/gsl:= )
- python? ( ${PYTHON_DEPS} )
- curl? ( net-misc/curl )
- lsp? (
- dev-libs/boost
- dev-libs/rapidjson
- dev-libs/utfcpp
- )
- X? (
- ${PYTHON_DEPS}
- dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,svg]
- dev-python/numpy
- dev-python/pycson
- >=gnome-base/librsvg-2.40
- )
- latex? (
- virtual/latex-base
- >=dev-texlive/texlive-latexextra-2013
- )
- context? ( dev-texlive/texlive-context )
- emacs? ( >=app-editors/emacs-23.1:* )
- vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
-DEPEND="${RDEPEND}
- dev-lang/perl
- doc? (
- media-gfx/imagemagick[png]
- virtual/texi2dvi
- virtual/latex-base
- app-text/ghostscript-gpl )
- test? ( app-text/ghostscript-gpl )"
-
-TEXMF=/usr/share/texmf-site
-
-PATCHES=(
- # Changing pdf, ps, image viewers to xdg-open
- "${FILESDIR}/${PN}-2.70-xdg-utils.patch"
-
- # Bug #322473
- "${FILESDIR}/${PN}-2.70-info.patch"
-)
-
-src_prepare() {
- sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
- -i configure.ac \
- || die "sed configure.ac failed"
-
- default
- eautoreconf
-}
-
-src_configure() {
- # for the CPPFLAGS see
- # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
- econf \
- CPPFLAGS=-DHAVE_SYS_TYPES_H \
- CFLAGS="${CXXFLAGS}" \
- --disable-gc-debug \
- --disable-gc-full-debug \
- --with-latex=/usr/share/texmf-site/tex/latex \
- --with-context=/usr/share/texmf-site/tex/context \
- $(use_enable boehm-gc gc system) \
- $(use_enable curl) \
- $(use_enable lsp) \
- $(use_enable fftw) \
- $(use_enable gsl) \
- $(use_enable opengl gl) \
- $(use_enable offscreen) \
- $(use_enable sigsegv)
-}
-
-src_compile() {
- default
-
- cd doc || die
- emake asy.1
- einfo "Making info"
- cd png || die
- emake ${PN}.info
- cd .. || die
- if use doc; then
- cd FAQ || die
- emake
- cd .. || die
- # pdf
- einfo "Making pdf docs"
- export VARTEXFONTS="${T}"/fonts
- # see bug #260606
- emake -j1 asymptote.pdf
- emake CAD.pdf asy-latex.pdf asyRefCard.pdf
- fi
- cd .. || die
-
- if use emacs; then
- einfo "Compiling emacs lisp files"
- elisp-compile base/*.el
- fi
-}
-
-src_install() {
- # the program
- dobin asy
-
- # .asy files
- insinto /usr/share/${PN}
- doins -r base/*.asy base/*.js base/*.sh base/*.ps base/shaders base/webgl
- chmod 755 "${D}"/usr/share/${PN}/shaders/*
-
- # documentation
- dodoc README ReleaseNotes ChangeLog
- cd doc || die
- doman asy.1
- doinfo png/${PN}.info
- if use doc; then
- dodoc FAQ/asy-faq.ascii
- dodoc CAD.pdf asy-latex.pdf asyRefCard.pdf asymptote.pdf
- fi
- cd .. || die
-
- # asymptote.py
- if use python; then
- python_moduleinto ${PN}
- python_foreach_impl python_domodule aspy.py
- python_foreach_impl python_domodule base/${PN}.py
- fi
-
- # X GUI
- if use X; then
- cd GUI || die
- python_setup
- sed -e 1d -i xasy.py
- echo "#!/usr/bin/env ${EPYTHON}" > xasy1
- cat xasy1 xasy.py > xasy
- rm xasy1 xasy.py
- mv xasy xasy.py
- cd .. || die
- python_domodule GUI
- chmod 755 "${D}/$(python_get_sitedir)/${PN}/GUI/xasy.py"
- dosym "$(python_get_sitedir)/${PN}/GUI/xasy.py" /usr/bin/xasy
- doman doc/xasy.1x
- fi
-
- # examples
- if use examples; then
- docinto examples
- dodoc \
- examples/*.asy \
- examples/*.views \
- examples/*.dat \
- examples/*.bib \
- examples/*.png \
- examples/*.pdb1 \
- doc/*.asy \
- doc/*.csv \
- doc/*.dat \
- doc/pixel.pdf \
- doc/extra/*.asy
- docinto examples/animations
- dodoc examples/animations/*.asy
- fi
-
- # LaTeX style
- if use latex; then
- cd doc || die
- insinto "${TEXMF}"/tex/latex/${PN}
- doins *.sty latexmkrc
- if use examples; then
- docinto examples
- dodoc latexusage.tex externalprc.tex
- docinto examples/animations
- dodoc ../examples/animations/*.tex
- fi
- cd .. || die
- fi
-
- # ConTeXt
- if use context; then
- insinto /usr/share/texmf-site/tex/context
- doins doc/colo-asy.tex
- fi
-
- # emacs mode
- if use emacs; then
- elisp-install ${PN} base/*.el base/*.elc asy-keywords.el
- elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
- fi
-
- # vim syntax
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins base/asy.vim
- insinto /usr/share/vim/vimfiles/ftdetect
- doins base/asy_filetype.vim
- fi
-}
-
-pkg_postinst() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-
- elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
- elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
-}
-
-pkg_postrm() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-}
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2022-04-06 13:54 Andrey Grozin
0 siblings, 0 replies; 61+ messages in thread
From: Andrey Grozin @ 2022-04-06 13:54 UTC (permalink / raw
To: gentoo-commits
commit: 47cd537aed7a9223ee957a1c24f04b4b0ca26729
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 6 13:53:41 2022 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Wed Apr 6 13:54:03 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47cd537a
media-gfx/asymptote: bump to 2.80
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
media-gfx/asymptote/Manifest | 1 +
media-gfx/asymptote/asymptote-2.80.ebuild | 242 ++++++++++++++++++++++++++++++
2 files changed, 243 insertions(+)
diff --git a/media-gfx/asymptote/Manifest b/media-gfx/asymptote/Manifest
index 0e636ffcfdeb..40dfa13c5991 100644
--- a/media-gfx/asymptote/Manifest
+++ b/media-gfx/asymptote/Manifest
@@ -1,3 +1,4 @@
DIST asymptote-2.70.src.tgz 4674495 BLAKE2B 126b2e99222e6ae438aaef89df00b8eae19118c3ef42d2fab0b0117f343911939e680d22e903b784213186a5d2eeeecb112afba1467562e7127c34de4bc66773 SHA512 24d60af361e3f0309a896ce8163da6fc0a9d6587efe726c5acf874dcb74f4d51b4bad8146a615ff54173ef06dac53117fd1cc09c77940271adc9f64cac6bcfe6
DIST asymptote-2.77.src.tgz 12519133 BLAKE2B afbd80b076348a12314a14511db4b369d8382b8da49b64b05e3d0c1c3f2546aa042a307b5f3eacbc3ecd7fd1b34d9aa34f83fd67c4d0bc240e44c49b058c9786 SHA512 1597543429a906927e20a2903c1a687ec19ef9467f6893760eed1896139379a964601ff057c8d3fd20b7bfbf0364827f53e768cc1d82498d078e3a69f88addec
DIST asymptote-2.78.src.tgz 15274780 BLAKE2B 0c99aff54df79eabdf059cc0bb2cdd0832d7cc7ae83a2e3ab08116aa6bc75de44f7adfa096b7ed832fc96cd9db0bb41a490a8c5fd29716ad9a7852e52a98ad2b SHA512 dcc27ce608cb72b3979a87bd6e312774008a225b0936027c11bf1862e21dce5db6de9bf5db14c85ba1f7ed25ec77c3a57e2ecf58a73b46315daca11777910c24
+DIST asymptote-2.80.src.tgz 15054879 BLAKE2B bf1a569b1d752775630d6b775eed3119fba3327cd87af3963c13ec98269980a0d856cfedfe6271bea6a4e33ce58cbb0ae7aaafb0993351dbaa521d362ef41289 SHA512 cf79951c10fa327bf827c244ed9eed63c1229affe34786f5d397ec9f78df789c63f321ad548fa68fe9980c968262c16bcac4be5cef8898aaa9b89fde8a67d68d
diff --git a/media-gfx/asymptote/asymptote-2.80.ebuild b/media-gfx/asymptote/asymptote-2.80.ebuild
new file mode 100644
index 000000000000..5cb69e1f28af
--- /dev/null
+++ b/media-gfx/asymptote/asymptote-2.80.ebuild
@@ -0,0 +1,242 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit autotools elisp-common latex-package python-r1
+
+DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
+HOMEPAGE="https://asymptote.sourceforge.io/"
+SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ offscreen? ( opengl )
+ doc? ( boehm-gc )"
+
+RDEPEND="
+ >=sys-libs/ncurses-5.4-r5:0=
+ >=sys-libs/readline-4.3-r5:0=
+ net-libs/libtirpc:=
+ imagemagick? ( media-gfx/imagemagick[png] )
+ opengl? ( media-libs/mesa[X(+)] media-libs/freeglut media-libs/glew:0 media-libs/glm )
+ offscreen? ( media-libs/mesa[osmesa] )
+ svg? ( app-text/dvisvgm )
+ sigsegv? ( dev-libs/libsigsegv )
+ boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
+ fftw? ( >=sci-libs/fftw-3.0.1:= )
+ gsl? ( sci-libs/gsl:= )
+ python? ( ${PYTHON_DEPS} )
+ curl? ( net-misc/curl )
+ lsp? (
+ dev-libs/boost
+ dev-libs/rapidjson
+ dev-libs/utfcpp
+ )
+ X? (
+ ${PYTHON_DEPS}
+ dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,svg]
+ dev-python/numpy
+ dev-python/pycson
+ >=gnome-base/librsvg-2.40
+ )
+ latex? (
+ virtual/latex-base
+ >=dev-texlive/texlive-latexextra-2013
+ )
+ context? ( dev-texlive/texlive-context )
+ emacs? ( >=app-editors/emacs-23.1:* )
+ vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ doc? (
+ media-gfx/imagemagick[png]
+ virtual/texi2dvi
+ virtual/latex-base
+ app-text/ghostscript-gpl )
+ test? ( app-text/ghostscript-gpl )"
+
+TEXMF=/usr/share/texmf-site
+
+PATCHES=(
+ # Changing pdf, ps, image viewers to xdg-open
+ "${FILESDIR}/${PN}-2.70-xdg-utils.patch"
+
+ # Bug #322473
+ "${FILESDIR}/${PN}-2.70-info.patch"
+)
+
+src_prepare() {
+ sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
+ -i configure.ac \
+ || die "sed configure.ac failed"
+
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # for the CPPFLAGS see
+ # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
+ econf \
+ CPPFLAGS=-DHAVE_SYS_TYPES_H \
+ CFLAGS="${CXXFLAGS}" \
+ --disable-gc-debug \
+ --disable-gc-full-debug \
+ --with-latex=/usr/share/texmf-site/tex/latex \
+ --with-context=/usr/share/texmf-site/tex/context \
+ $(use_enable boehm-gc gc system) \
+ $(use_enable curl) \
+ $(use_enable lsp) \
+ $(use_enable fftw) \
+ $(use_enable gsl) \
+ $(use_enable opengl gl) \
+ $(use_enable offscreen) \
+ $(use_enable sigsegv)
+}
+
+src_compile() {
+ default
+
+ cd doc || die
+ emake asy.1
+ einfo "Making info"
+ cd png || die
+ emake ${PN}.info
+ cd .. || die
+ if use doc; then
+ cd FAQ || die
+ emake
+ cd .. || die
+ # pdf
+ einfo "Making pdf docs"
+ export VARTEXFONTS="${T}"/fonts
+ # see bug #260606
+ emake -j1 asymptote.pdf
+ emake CAD.pdf asy-latex.pdf asyRefCard.pdf
+ fi
+ cd .. || die
+
+ if use emacs; then
+ einfo "Compiling emacs lisp files"
+ elisp-compile base/*.el
+ fi
+}
+
+src_install() {
+ # the program
+ dobin asy
+
+ # .asy files
+ insinto /usr/share/${PN}
+ doins -r base/*.asy base/*.js base/*.sh base/*.ps base/shaders base/webgl
+ chmod 755 "${D}"/usr/share/${PN}/shaders/*
+
+ # documentation
+ dodoc README ReleaseNotes ChangeLog
+ cd doc || die
+ doman asy.1
+ doinfo png/${PN}.info
+ if use doc; then
+ dodoc FAQ/asy-faq.ascii
+ dodoc CAD.pdf asy-latex.pdf asyRefCard.pdf asymptote.pdf
+ fi
+ cd .. || die
+
+ # asymptote.py
+ if use python; then
+ python_moduleinto ${PN}
+ python_foreach_impl python_domodule aspy.py
+ python_foreach_impl python_domodule base/${PN}.py
+ fi
+
+ # X GUI
+ if use X; then
+ cd GUI || die
+ python_setup
+ sed -e 1d -i xasy.py
+ echo "#!/usr/bin/env ${EPYTHON}" > xasy1
+ cat xasy1 xasy.py > xasy
+ rm xasy1 xasy.py
+ mv xasy xasy.py
+ cd .. || die
+ python_domodule GUI
+ chmod 755 "${D}/$(python_get_sitedir)/${PN}/GUI/xasy.py"
+ dosym "$(python_get_sitedir)/${PN}/GUI/xasy.py" /usr/bin/xasy
+ doman doc/xasy.1x
+ fi
+
+ # examples
+ if use examples; then
+ docinto examples
+ dodoc \
+ examples/*.asy \
+ examples/*.views \
+ examples/*.dat \
+ examples/*.bib \
+ examples/*.png \
+ examples/*.pdb1 \
+ doc/*.asy \
+ doc/*.csv \
+ doc/*.dat \
+ doc/pixel.pdf \
+ doc/extra/*.asy
+ docinto examples/animations
+ dodoc examples/animations/*.asy
+ fi
+
+ # LaTeX style
+ if use latex; then
+ cd doc || die
+ insinto "${TEXMF}"/tex/latex/${PN}
+ doins *.sty latexmkrc
+ if use examples; then
+ docinto examples
+ dodoc latexusage.tex externalprc.tex
+ docinto examples/animations
+ dodoc ../examples/animations/*.tex
+ fi
+ cd .. || die
+ fi
+
+ # ConTeXt
+ if use context; then
+ insinto /usr/share/texmf-site/tex/context
+ doins doc/colo-asy.tex
+ fi
+
+ # emacs mode
+ if use emacs; then
+ elisp-install ${PN} base/*.el base/*.elc asy-keywords.el
+ elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+ fi
+
+ # vim syntax
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles/syntax
+ doins base/asy.vim
+ insinto /usr/share/vim/vimfiles/ftdetect
+ doins base/asy_filetype.vim
+ fi
+}
+
+pkg_postinst() {
+ use latex && latex-package_rehash
+ use emacs && elisp-site-regen
+
+ elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
+ elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
+}
+
+pkg_postrm() {
+ use latex && latex-package_rehash
+ use emacs && elisp-site-regen
+}
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2022-06-09 7:34 Agostino Sarubbo
0 siblings, 0 replies; 61+ messages in thread
From: Agostino Sarubbo @ 2022-06-09 7:34 UTC (permalink / raw
To: gentoo-commits
commit: cd52a578065e9615e21bae5eae627cea92c1c98f
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 9 07:34:28 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Jun 9 07:34:28 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd52a578
media-gfx/asymptote: amd64 stable wrt bug #850274
Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.78.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/asymptote/asymptote-2.78.ebuild b/media-gfx/asymptote/asymptote-2.78.ebuild
index f36cb494507d..db91d8125040 100644
--- a/media-gfx/asymptote/asymptote-2.78.ebuild
+++ b/media-gfx/asymptote/asymptote-2.78.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2022-06-09 7:39 Agostino Sarubbo
0 siblings, 0 replies; 61+ messages in thread
From: Agostino Sarubbo @ 2022-06-09 7:39 UTC (permalink / raw
To: gentoo-commits
commit: f3d633bf8dfc75184faedbddc5e336a652ded30e
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 9 07:39:24 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Jun 9 07:39:43 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3d633bf
media-gfx/asymptote: x86 stable wrt bug #850274
Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.78.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/asymptote/asymptote-2.78.ebuild b/media-gfx/asymptote/asymptote-2.78.ebuild
index db91d8125040..7117ff27b9a0 100644
--- a/media-gfx/asymptote/asymptote-2.78.ebuild
+++ b/media-gfx/asymptote/asymptote-2.78.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~ppc ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2022-06-16 13:51 Andrey Grozin
0 siblings, 0 replies; 61+ messages in thread
From: Andrey Grozin @ 2022-06-16 13:51 UTC (permalink / raw
To: gentoo-commits
commit: b7195466ace1df5b1ab73cd1d33383cb4bb7467c
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 16 13:51:23 2022 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Thu Jun 16 13:51:23 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7195466
media-gfx/asymptote: remove old versions
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
media-gfx/asymptote/Manifest | 2 -
media-gfx/asymptote/asymptote-2.70-r1.ebuild | 236 --------------------------
media-gfx/asymptote/asymptote-2.77.ebuild | 242 ---------------------------
3 files changed, 480 deletions(-)
diff --git a/media-gfx/asymptote/Manifest b/media-gfx/asymptote/Manifest
index 40dfa13c5991..58b1cdfa984c 100644
--- a/media-gfx/asymptote/Manifest
+++ b/media-gfx/asymptote/Manifest
@@ -1,4 +1,2 @@
-DIST asymptote-2.70.src.tgz 4674495 BLAKE2B 126b2e99222e6ae438aaef89df00b8eae19118c3ef42d2fab0b0117f343911939e680d22e903b784213186a5d2eeeecb112afba1467562e7127c34de4bc66773 SHA512 24d60af361e3f0309a896ce8163da6fc0a9d6587efe726c5acf874dcb74f4d51b4bad8146a615ff54173ef06dac53117fd1cc09c77940271adc9f64cac6bcfe6
-DIST asymptote-2.77.src.tgz 12519133 BLAKE2B afbd80b076348a12314a14511db4b369d8382b8da49b64b05e3d0c1c3f2546aa042a307b5f3eacbc3ecd7fd1b34d9aa34f83fd67c4d0bc240e44c49b058c9786 SHA512 1597543429a906927e20a2903c1a687ec19ef9467f6893760eed1896139379a964601ff057c8d3fd20b7bfbf0364827f53e768cc1d82498d078e3a69f88addec
DIST asymptote-2.78.src.tgz 15274780 BLAKE2B 0c99aff54df79eabdf059cc0bb2cdd0832d7cc7ae83a2e3ab08116aa6bc75de44f7adfa096b7ed832fc96cd9db0bb41a490a8c5fd29716ad9a7852e52a98ad2b SHA512 dcc27ce608cb72b3979a87bd6e312774008a225b0936027c11bf1862e21dce5db6de9bf5db14c85ba1f7ed25ec77c3a57e2ecf58a73b46315daca11777910c24
DIST asymptote-2.80.src.tgz 15054879 BLAKE2B bf1a569b1d752775630d6b775eed3119fba3327cd87af3963c13ec98269980a0d856cfedfe6271bea6a4e33ce58cbb0ae7aaafb0993351dbaa521d362ef41289 SHA512 cf79951c10fa327bf827c244ed9eed63c1229affe34786f5d397ec9f78df789c63f321ad548fa68fe9980c968262c16bcac4be5cef8898aaa9b89fde8a67d68d
diff --git a/media-gfx/asymptote/asymptote-2.70-r1.ebuild b/media-gfx/asymptote/asymptote-2.70-r1.ebuild
deleted file mode 100644
index f4fbcf92ed4e..000000000000
--- a/media-gfx/asymptote/asymptote-2.70-r1.ebuild
+++ /dev/null
@@ -1,236 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit autotools elisp-common latex-package python-r1
-
-DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
-HOMEPAGE="https://asymptote.sourceforge.io/"
-SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex offscreen +opengl python sigsegv svg test vim-syntax X"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
- ${PYTHON_REQUIRED_USE}
- offscreen? ( opengl )
- doc? ( boehm-gc )"
-
-RDEPEND="
- >=sys-libs/ncurses-5.4-r5:0=
- >=sys-libs/readline-4.3-r5:0=
- net-libs/libtirpc:=
- imagemagick? ( media-gfx/imagemagick[png] )
- opengl? ( media-libs/mesa[X(+)] media-libs/freeglut media-libs/glew:0 media-libs/glm )
- offscreen? ( media-libs/mesa[osmesa] )
- svg? ( app-text/dvisvgm )
- sigsegv? ( dev-libs/libsigsegv )
- boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
- fftw? ( >=sci-libs/fftw-3.0.1:= )
- gsl? ( sci-libs/gsl:= )
- python? ( ${PYTHON_DEPS} )
- curl? ( net-misc/curl )
- X? (
- ${PYTHON_DEPS}
- dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,svg]
- dev-python/numpy
- dev-python/pycson
- >=gnome-base/librsvg-2.40
- )
- latex? (
- virtual/latex-base
- >=dev-texlive/texlive-latexextra-2013
- )
- context? ( dev-texlive/texlive-context )
- emacs? ( >=app-editors/emacs-23.1:* )
- vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
-DEPEND="${RDEPEND}
- dev-lang/perl
- doc? (
- media-gfx/imagemagick[png]
- virtual/texi2dvi
- virtual/latex-base
- app-text/ghostscript-gpl )
- test? ( app-text/ghostscript-gpl )"
-
-TEXMF=/usr/share/texmf-site
-
-PATCHES=(
- # Changing pdf, ps, image viewers to xdg-open
- "${FILESDIR}/${P}-xdg-utils.patch"
-
- # Bug #322473
- "${FILESDIR}/${P}-info.patch"
-)
-
-src_prepare() {
- sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
- -i configure.ac \
- || die "sed configure.ac failed"
-
- default
- eautoreconf
-}
-
-src_configure() {
- # for the CPPFLAGS see
- # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
- econf \
- CPPFLAGS=-DHAVE_SYS_TYPES_H \
- CFLAGS="${CXXFLAGS}" \
- --disable-gc-debug \
- --disable-gc-full-debug \
- --with-latex=/usr/share/texmf-site/tex/latex \
- --with-context=/usr/share/texmf-site/tex/context \
- $(use_enable boehm-gc gc system) \
- $(use_enable curl) \
- $(use_enable fftw) \
- $(use_enable gsl) \
- $(use_enable opengl gl) \
- $(use_enable offscreen) \
- $(use_enable sigsegv)
-}
-
-src_compile() {
- default
-
- cd doc || die
- emake asy.1
- einfo "Making info"
- cd png || die
- emake ${PN}.info
- cd .. || die
- if use doc; then
- cd FAQ || die
- emake
- cd .. || die
- # pdf
- einfo "Making pdf docs"
- export VARTEXFONTS="${T}"/fonts
- # see bug #260606
- emake -j1 asymptote.pdf
- emake CAD.pdf asy-latex.pdf asyRefCard.pdf
- fi
- cd .. || die
-
- if use emacs; then
- einfo "Compiling emacs lisp files"
- elisp-compile base/*.el
- fi
-}
-
-src_install() {
- # the program
- dobin asy
-
- # .asy files
- insinto /usr/share/${PN}
- doins -r base/*.asy base/*.js base/*.sh base/*.ps base/shaders base/webgl
- chmod 755 "${D}"/usr/share/${PN}/shaders/*
-
- # documentation
- dodoc README ReleaseNotes ChangeLog
- cd doc || die
- doman asy.1
- doinfo png/${PN}.info
- if use doc; then
- dodoc FAQ/asy-faq.ascii
- dodoc CAD.pdf asy-latex.pdf asyRefCard.pdf asymptote.pdf
- fi
- cd .. || die
-
- # asymptote.py
- if use python; then
- python_moduleinto ${PN}
- python_foreach_impl python_domodule aspy.py
- python_foreach_impl python_domodule base/${PN}.py
- fi
-
- # X GUI
- if use X; then
- cd GUI || die
- python_setup
- sed -e 1d -i xasy.py
- echo "#!/usr/bin/env ${EPYTHON}" > xasy1
- cat xasy1 xasy.py > xasy
- rm xasy1 xasy.py
- mv xasy xasy.py
- cd .. || die
- python_domodule GUI
- chmod 755 "${D}/$(python_get_sitedir)/${PN}/GUI/xasy.py"
- dosym "$(python_get_sitedir)/${PN}/GUI/xasy.py" /usr/bin/xasy
- doman doc/xasy.1x
- fi
-
- # examples
- if use examples; then
- docinto examples
- dodoc \
- examples/*.asy \
- examples/*.views \
- examples/*.dat \
- examples/*.bib \
- examples/*.png \
- examples/*.pdb1 \
- doc/*.asy \
- doc/*.csv \
- doc/*.dat \
- doc/pixel.pdf \
- doc/extra/*.asy
- docinto examples/animations
- dodoc examples/animations/*.asy
- fi
-
- # LaTeX style
- if use latex; then
- cd doc || die
- insinto "${TEXMF}"/tex/latex/${PN}
- doins *.sty latexmkrc
- if use examples; then
- docinto examples
- dodoc latexusage.tex externalprc.tex
- docinto examples/animations
- dodoc ../examples/animations/*.tex
- fi
- cd .. || die
- fi
-
- # ConTeXt
- if use context; then
- insinto /usr/share/texmf-site/tex/context
- doins doc/colo-asy.tex
- fi
-
- # emacs mode
- if use emacs; then
- elisp-install ${PN} base/*.el base/*.elc asy-keywords.el
- elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
- fi
-
- # vim syntax
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins base/asy.vim
- insinto /usr/share/vim/vimfiles/ftdetect
- doins base/asy_filetype.vim
- fi
-}
-
-pkg_postinst() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-
- elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
- elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
-}
-
-pkg_postrm() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-}
diff --git a/media-gfx/asymptote/asymptote-2.77.ebuild b/media-gfx/asymptote/asymptote-2.77.ebuild
deleted file mode 100644
index f36cb494507d..000000000000
--- a/media-gfx/asymptote/asymptote-2.77.ebuild
+++ /dev/null
@@ -1,242 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..10} )
-
-inherit autotools elisp-common latex-package python-r1
-
-DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
-HOMEPAGE="https://asymptote.sourceforge.io/"
-SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
- ${PYTHON_REQUIRED_USE}
- offscreen? ( opengl )
- doc? ( boehm-gc )"
-
-RDEPEND="
- >=sys-libs/ncurses-5.4-r5:0=
- >=sys-libs/readline-4.3-r5:0=
- net-libs/libtirpc:=
- imagemagick? ( media-gfx/imagemagick[png] )
- opengl? ( media-libs/mesa[X(+)] media-libs/freeglut media-libs/glew:0 media-libs/glm )
- offscreen? ( media-libs/mesa[osmesa] )
- svg? ( app-text/dvisvgm )
- sigsegv? ( dev-libs/libsigsegv )
- boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
- fftw? ( >=sci-libs/fftw-3.0.1:= )
- gsl? ( sci-libs/gsl:= )
- python? ( ${PYTHON_DEPS} )
- curl? ( net-misc/curl )
- lsp? (
- dev-libs/boost
- dev-libs/rapidjson
- dev-libs/utfcpp
- )
- X? (
- ${PYTHON_DEPS}
- dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,svg]
- dev-python/numpy
- dev-python/pycson
- >=gnome-base/librsvg-2.40
- )
- latex? (
- virtual/latex-base
- >=dev-texlive/texlive-latexextra-2013
- )
- context? ( dev-texlive/texlive-context )
- emacs? ( >=app-editors/emacs-23.1:* )
- vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
-DEPEND="${RDEPEND}
- dev-lang/perl
- doc? (
- media-gfx/imagemagick[png]
- virtual/texi2dvi
- virtual/latex-base
- app-text/ghostscript-gpl )
- test? ( app-text/ghostscript-gpl )"
-
-TEXMF=/usr/share/texmf-site
-
-PATCHES=(
- # Changing pdf, ps, image viewers to xdg-open
- "${FILESDIR}/${PN}-2.70-xdg-utils.patch"
-
- # Bug #322473
- "${FILESDIR}/${PN}-2.70-info.patch"
-)
-
-src_prepare() {
- sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
- -i configure.ac \
- || die "sed configure.ac failed"
-
- default
- eautoreconf
-}
-
-src_configure() {
- # for the CPPFLAGS see
- # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
- econf \
- CPPFLAGS=-DHAVE_SYS_TYPES_H \
- CFLAGS="${CXXFLAGS}" \
- --disable-gc-debug \
- --disable-gc-full-debug \
- --with-latex=/usr/share/texmf-site/tex/latex \
- --with-context=/usr/share/texmf-site/tex/context \
- $(use_enable boehm-gc gc system) \
- $(use_enable curl) \
- $(use_enable lsp) \
- $(use_enable fftw) \
- $(use_enable gsl) \
- $(use_enable opengl gl) \
- $(use_enable offscreen) \
- $(use_enable sigsegv)
-}
-
-src_compile() {
- default
-
- cd doc || die
- emake asy.1
- einfo "Making info"
- cd png || die
- emake ${PN}.info
- cd .. || die
- if use doc; then
- cd FAQ || die
- emake
- cd .. || die
- # pdf
- einfo "Making pdf docs"
- export VARTEXFONTS="${T}"/fonts
- # see bug #260606
- emake -j1 asymptote.pdf
- emake CAD.pdf asy-latex.pdf asyRefCard.pdf
- fi
- cd .. || die
-
- if use emacs; then
- einfo "Compiling emacs lisp files"
- elisp-compile base/*.el
- fi
-}
-
-src_install() {
- # the program
- dobin asy
-
- # .asy files
- insinto /usr/share/${PN}
- doins -r base/*.asy base/*.js base/*.sh base/*.ps base/shaders base/webgl
- chmod 755 "${D}"/usr/share/${PN}/shaders/*
-
- # documentation
- dodoc README ReleaseNotes ChangeLog
- cd doc || die
- doman asy.1
- doinfo png/${PN}.info
- if use doc; then
- dodoc FAQ/asy-faq.ascii
- dodoc CAD.pdf asy-latex.pdf asyRefCard.pdf asymptote.pdf
- fi
- cd .. || die
-
- # asymptote.py
- if use python; then
- python_moduleinto ${PN}
- python_foreach_impl python_domodule aspy.py
- python_foreach_impl python_domodule base/${PN}.py
- fi
-
- # X GUI
- if use X; then
- cd GUI || die
- python_setup
- sed -e 1d -i xasy.py
- echo "#!/usr/bin/env ${EPYTHON}" > xasy1
- cat xasy1 xasy.py > xasy
- rm xasy1 xasy.py
- mv xasy xasy.py
- cd .. || die
- python_domodule GUI
- chmod 755 "${D}/$(python_get_sitedir)/${PN}/GUI/xasy.py"
- dosym "$(python_get_sitedir)/${PN}/GUI/xasy.py" /usr/bin/xasy
- doman doc/xasy.1x
- fi
-
- # examples
- if use examples; then
- docinto examples
- dodoc \
- examples/*.asy \
- examples/*.views \
- examples/*.dat \
- examples/*.bib \
- examples/*.png \
- examples/*.pdb1 \
- doc/*.asy \
- doc/*.csv \
- doc/*.dat \
- doc/pixel.pdf \
- doc/extra/*.asy
- docinto examples/animations
- dodoc examples/animations/*.asy
- fi
-
- # LaTeX style
- if use latex; then
- cd doc || die
- insinto "${TEXMF}"/tex/latex/${PN}
- doins *.sty latexmkrc
- if use examples; then
- docinto examples
- dodoc latexusage.tex externalprc.tex
- docinto examples/animations
- dodoc ../examples/animations/*.tex
- fi
- cd .. || die
- fi
-
- # ConTeXt
- if use context; then
- insinto /usr/share/texmf-site/tex/context
- doins doc/colo-asy.tex
- fi
-
- # emacs mode
- if use emacs; then
- elisp-install ${PN} base/*.el base/*.elc asy-keywords.el
- elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
- fi
-
- # vim syntax
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins base/asy.vim
- insinto /usr/share/vim/vimfiles/ftdetect
- doins base/asy_filetype.vim
- fi
-}
-
-pkg_postinst() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-
- elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
- elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
-}
-
-pkg_postrm() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-}
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2022-06-28 15:14 Andrey Grozin
0 siblings, 0 replies; 61+ messages in thread
From: Andrey Grozin @ 2022-06-28 15:14 UTC (permalink / raw
To: gentoo-commits
commit: a9c56f2b6626c47909a4b17f2083da8df5b5f7ac
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 28 15:13:41 2022 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Tue Jun 28 15:13:41 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9c56f2b
media-gfx/asymptote: bump to 2.81
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
media-gfx/asymptote/Manifest | 1 +
media-gfx/asymptote/asymptote-2.81.ebuild | 242 ++++++++++++++++++++++++++++++
2 files changed, 243 insertions(+)
diff --git a/media-gfx/asymptote/Manifest b/media-gfx/asymptote/Manifest
index 58b1cdfa984c..bb95505860e4 100644
--- a/media-gfx/asymptote/Manifest
+++ b/media-gfx/asymptote/Manifest
@@ -1,2 +1,3 @@
DIST asymptote-2.78.src.tgz 15274780 BLAKE2B 0c99aff54df79eabdf059cc0bb2cdd0832d7cc7ae83a2e3ab08116aa6bc75de44f7adfa096b7ed832fc96cd9db0bb41a490a8c5fd29716ad9a7852e52a98ad2b SHA512 dcc27ce608cb72b3979a87bd6e312774008a225b0936027c11bf1862e21dce5db6de9bf5db14c85ba1f7ed25ec77c3a57e2ecf58a73b46315daca11777910c24
DIST asymptote-2.80.src.tgz 15054879 BLAKE2B bf1a569b1d752775630d6b775eed3119fba3327cd87af3963c13ec98269980a0d856cfedfe6271bea6a4e33ce58cbb0ae7aaafb0993351dbaa521d362ef41289 SHA512 cf79951c10fa327bf827c244ed9eed63c1229affe34786f5d397ec9f78df789c63f321ad548fa68fe9980c968262c16bcac4be5cef8898aaa9b89fde8a67d68d
+DIST asymptote-2.81.src.tgz 15062426 BLAKE2B 887fdc18c247e05249c2303fe8d534023620a5289225d769f2c59016d290cce76dc0156965c2deeb6daa09a1e1215b2d5a9fc440096f5f776c61849d7cafe093 SHA512 6959cdd58cbd8ec92b01a841e4a589f8826b35fd860a1d95e0cae60dd4bf2bc23c39d7df8350267a0053dbc88576933233fc21dae40cb25b216bb2cdf46893ed
diff --git a/media-gfx/asymptote/asymptote-2.81.ebuild b/media-gfx/asymptote/asymptote-2.81.ebuild
new file mode 100644
index 000000000000..5cb69e1f28af
--- /dev/null
+++ b/media-gfx/asymptote/asymptote-2.81.ebuild
@@ -0,0 +1,242 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit autotools elisp-common latex-package python-r1
+
+DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
+HOMEPAGE="https://asymptote.sourceforge.io/"
+SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ offscreen? ( opengl )
+ doc? ( boehm-gc )"
+
+RDEPEND="
+ >=sys-libs/ncurses-5.4-r5:0=
+ >=sys-libs/readline-4.3-r5:0=
+ net-libs/libtirpc:=
+ imagemagick? ( media-gfx/imagemagick[png] )
+ opengl? ( media-libs/mesa[X(+)] media-libs/freeglut media-libs/glew:0 media-libs/glm )
+ offscreen? ( media-libs/mesa[osmesa] )
+ svg? ( app-text/dvisvgm )
+ sigsegv? ( dev-libs/libsigsegv )
+ boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
+ fftw? ( >=sci-libs/fftw-3.0.1:= )
+ gsl? ( sci-libs/gsl:= )
+ python? ( ${PYTHON_DEPS} )
+ curl? ( net-misc/curl )
+ lsp? (
+ dev-libs/boost
+ dev-libs/rapidjson
+ dev-libs/utfcpp
+ )
+ X? (
+ ${PYTHON_DEPS}
+ dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,svg]
+ dev-python/numpy
+ dev-python/pycson
+ >=gnome-base/librsvg-2.40
+ )
+ latex? (
+ virtual/latex-base
+ >=dev-texlive/texlive-latexextra-2013
+ )
+ context? ( dev-texlive/texlive-context )
+ emacs? ( >=app-editors/emacs-23.1:* )
+ vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ doc? (
+ media-gfx/imagemagick[png]
+ virtual/texi2dvi
+ virtual/latex-base
+ app-text/ghostscript-gpl )
+ test? ( app-text/ghostscript-gpl )"
+
+TEXMF=/usr/share/texmf-site
+
+PATCHES=(
+ # Changing pdf, ps, image viewers to xdg-open
+ "${FILESDIR}/${PN}-2.70-xdg-utils.patch"
+
+ # Bug #322473
+ "${FILESDIR}/${PN}-2.70-info.patch"
+)
+
+src_prepare() {
+ sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
+ -i configure.ac \
+ || die "sed configure.ac failed"
+
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # for the CPPFLAGS see
+ # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
+ econf \
+ CPPFLAGS=-DHAVE_SYS_TYPES_H \
+ CFLAGS="${CXXFLAGS}" \
+ --disable-gc-debug \
+ --disable-gc-full-debug \
+ --with-latex=/usr/share/texmf-site/tex/latex \
+ --with-context=/usr/share/texmf-site/tex/context \
+ $(use_enable boehm-gc gc system) \
+ $(use_enable curl) \
+ $(use_enable lsp) \
+ $(use_enable fftw) \
+ $(use_enable gsl) \
+ $(use_enable opengl gl) \
+ $(use_enable offscreen) \
+ $(use_enable sigsegv)
+}
+
+src_compile() {
+ default
+
+ cd doc || die
+ emake asy.1
+ einfo "Making info"
+ cd png || die
+ emake ${PN}.info
+ cd .. || die
+ if use doc; then
+ cd FAQ || die
+ emake
+ cd .. || die
+ # pdf
+ einfo "Making pdf docs"
+ export VARTEXFONTS="${T}"/fonts
+ # see bug #260606
+ emake -j1 asymptote.pdf
+ emake CAD.pdf asy-latex.pdf asyRefCard.pdf
+ fi
+ cd .. || die
+
+ if use emacs; then
+ einfo "Compiling emacs lisp files"
+ elisp-compile base/*.el
+ fi
+}
+
+src_install() {
+ # the program
+ dobin asy
+
+ # .asy files
+ insinto /usr/share/${PN}
+ doins -r base/*.asy base/*.js base/*.sh base/*.ps base/shaders base/webgl
+ chmod 755 "${D}"/usr/share/${PN}/shaders/*
+
+ # documentation
+ dodoc README ReleaseNotes ChangeLog
+ cd doc || die
+ doman asy.1
+ doinfo png/${PN}.info
+ if use doc; then
+ dodoc FAQ/asy-faq.ascii
+ dodoc CAD.pdf asy-latex.pdf asyRefCard.pdf asymptote.pdf
+ fi
+ cd .. || die
+
+ # asymptote.py
+ if use python; then
+ python_moduleinto ${PN}
+ python_foreach_impl python_domodule aspy.py
+ python_foreach_impl python_domodule base/${PN}.py
+ fi
+
+ # X GUI
+ if use X; then
+ cd GUI || die
+ python_setup
+ sed -e 1d -i xasy.py
+ echo "#!/usr/bin/env ${EPYTHON}" > xasy1
+ cat xasy1 xasy.py > xasy
+ rm xasy1 xasy.py
+ mv xasy xasy.py
+ cd .. || die
+ python_domodule GUI
+ chmod 755 "${D}/$(python_get_sitedir)/${PN}/GUI/xasy.py"
+ dosym "$(python_get_sitedir)/${PN}/GUI/xasy.py" /usr/bin/xasy
+ doman doc/xasy.1x
+ fi
+
+ # examples
+ if use examples; then
+ docinto examples
+ dodoc \
+ examples/*.asy \
+ examples/*.views \
+ examples/*.dat \
+ examples/*.bib \
+ examples/*.png \
+ examples/*.pdb1 \
+ doc/*.asy \
+ doc/*.csv \
+ doc/*.dat \
+ doc/pixel.pdf \
+ doc/extra/*.asy
+ docinto examples/animations
+ dodoc examples/animations/*.asy
+ fi
+
+ # LaTeX style
+ if use latex; then
+ cd doc || die
+ insinto "${TEXMF}"/tex/latex/${PN}
+ doins *.sty latexmkrc
+ if use examples; then
+ docinto examples
+ dodoc latexusage.tex externalprc.tex
+ docinto examples/animations
+ dodoc ../examples/animations/*.tex
+ fi
+ cd .. || die
+ fi
+
+ # ConTeXt
+ if use context; then
+ insinto /usr/share/texmf-site/tex/context
+ doins doc/colo-asy.tex
+ fi
+
+ # emacs mode
+ if use emacs; then
+ elisp-install ${PN} base/*.el base/*.elc asy-keywords.el
+ elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+ fi
+
+ # vim syntax
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles/syntax
+ doins base/asy.vim
+ insinto /usr/share/vim/vimfiles/ftdetect
+ doins base/asy_filetype.vim
+ fi
+}
+
+pkg_postinst() {
+ use latex && latex-package_rehash
+ use emacs && elisp-site-regen
+
+ elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
+ elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
+}
+
+pkg_postrm() {
+ use latex && latex-package_rehash
+ use emacs && elisp-site-regen
+}
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2022-10-04 8:38 Andrey Grozin
0 siblings, 0 replies; 61+ messages in thread
From: Andrey Grozin @ 2022-10-04 8:38 UTC (permalink / raw
To: gentoo-commits
commit: 0b4a15f01dd5284f7265660a029a761715de37b8
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 4 08:37:10 2022 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Tue Oct 4 08:37:53 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b4a15f0
media-gfx/asymptote: bump to 2.83
Closes: https://bugs.gentoo.org/874816
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
media-gfx/asymptote/Manifest | 1 +
media-gfx/asymptote/asymptote-2.83.ebuild | 243 ++++++++++++++++++++++++++++++
2 files changed, 244 insertions(+)
diff --git a/media-gfx/asymptote/Manifest b/media-gfx/asymptote/Manifest
index bb95505860e4..c2d7a1549073 100644
--- a/media-gfx/asymptote/Manifest
+++ b/media-gfx/asymptote/Manifest
@@ -1,3 +1,4 @@
DIST asymptote-2.78.src.tgz 15274780 BLAKE2B 0c99aff54df79eabdf059cc0bb2cdd0832d7cc7ae83a2e3ab08116aa6bc75de44f7adfa096b7ed832fc96cd9db0bb41a490a8c5fd29716ad9a7852e52a98ad2b SHA512 dcc27ce608cb72b3979a87bd6e312774008a225b0936027c11bf1862e21dce5db6de9bf5db14c85ba1f7ed25ec77c3a57e2ecf58a73b46315daca11777910c24
DIST asymptote-2.80.src.tgz 15054879 BLAKE2B bf1a569b1d752775630d6b775eed3119fba3327cd87af3963c13ec98269980a0d856cfedfe6271bea6a4e33ce58cbb0ae7aaafb0993351dbaa521d362ef41289 SHA512 cf79951c10fa327bf827c244ed9eed63c1229affe34786f5d397ec9f78df789c63f321ad548fa68fe9980c968262c16bcac4be5cef8898aaa9b89fde8a67d68d
DIST asymptote-2.81.src.tgz 15062426 BLAKE2B 887fdc18c247e05249c2303fe8d534023620a5289225d769f2c59016d290cce76dc0156965c2deeb6daa09a1e1215b2d5a9fc440096f5f776c61849d7cafe093 SHA512 6959cdd58cbd8ec92b01a841e4a589f8826b35fd860a1d95e0cae60dd4bf2bc23c39d7df8350267a0053dbc88576933233fc21dae40cb25b216bb2cdf46893ed
+DIST asymptote-2.83.src.tgz 15044624 BLAKE2B f364d7fa5d09bfc94f2556d5c99fc2751182f4a231544c24b449f02f36cca62e48272827f5bb405119b82d75517ef1fe49ec87cb75eb30de92ed95ac360a553c SHA512 cb59731f6d68658746cd1e686a54b6f590e4a4990df572e89b4b5faab6bb8ed75de9d7f75e65b8ed76227ead59930d5492d54239db6acdb4bff2377ac2b97dec
diff --git a/media-gfx/asymptote/asymptote-2.83.ebuild b/media-gfx/asymptote/asymptote-2.83.ebuild
new file mode 100644
index 000000000000..e49720ad4fba
--- /dev/null
+++ b/media-gfx/asymptote/asymptote-2.83.ebuild
@@ -0,0 +1,243 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit autotools elisp-common latex-package python-r1
+
+DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
+HOMEPAGE="https://asymptote.sourceforge.io/"
+SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ offscreen? ( opengl )
+ doc? ( boehm-gc )"
+
+RDEPEND="
+ >=sys-libs/ncurses-5.4-r5:0=
+ >=sys-libs/readline-4.3-r5:0=
+ net-libs/libtirpc:=
+ imagemagick? ( media-gfx/imagemagick[png] )
+ opengl? ( media-libs/mesa[X(+)] media-libs/freeglut media-libs/glew:0 media-libs/glm )
+ offscreen? ( media-libs/mesa[osmesa] )
+ svg? ( app-text/dvisvgm )
+ sigsegv? ( dev-libs/libsigsegv )
+ boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
+ fftw? ( >=sci-libs/fftw-3.0.1:= )
+ gsl? ( sci-libs/gsl:= )
+ python? ( ${PYTHON_DEPS} )
+ curl? ( net-misc/curl )
+ lsp? (
+ dev-libs/boost
+ dev-libs/rapidjson
+ dev-libs/utfcpp
+ )
+ X? (
+ ${PYTHON_DEPS}
+ dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,svg]
+ dev-python/numpy
+ dev-python/pycson
+ >=gnome-base/librsvg-2.40
+ )
+ latex? (
+ virtual/latex-base
+ dev-texlive/texlive-latexextra
+ )
+ context? ( dev-texlive/texlive-context )
+ emacs? ( >=app-editors/emacs-23.1:* )
+ vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ doc? (
+ media-gfx/imagemagick[png]
+ virtual/texi2dvi
+ virtual/latex-base
+ dev-texlive/texlive-latexextra
+ app-text/ghostscript-gpl )
+ test? ( app-text/ghostscript-gpl )"
+
+TEXMF=/usr/share/texmf-site
+
+PATCHES=(
+ # Changing pdf, ps, image viewers to xdg-open
+ "${FILESDIR}/${PN}-2.70-xdg-utils.patch"
+
+ # Bug #322473
+ "${FILESDIR}/${PN}-2.70-info.patch"
+)
+
+src_prepare() {
+ sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
+ -i configure.ac \
+ || die "sed configure.ac failed"
+
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # for the CPPFLAGS see
+ # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
+ econf \
+ CPPFLAGS=-DHAVE_SYS_TYPES_H \
+ CFLAGS="${CXXFLAGS}" \
+ --disable-gc-debug \
+ --disable-gc-full-debug \
+ --with-latex=/usr/share/texmf-site/tex/latex \
+ --with-context=/usr/share/texmf-site/tex/context \
+ $(use_enable boehm-gc gc system) \
+ $(use_enable curl) \
+ $(use_enable lsp) \
+ $(use_enable fftw) \
+ $(use_enable gsl) \
+ $(use_enable opengl gl) \
+ $(use_enable offscreen) \
+ $(use_enable sigsegv)
+}
+
+src_compile() {
+ default
+
+ cd doc || die
+ emake asy.1
+ einfo "Making info"
+ cd png || die
+ emake ${PN}.info
+ cd .. || die
+ if use doc; then
+ cd FAQ || die
+ emake
+ cd .. || die
+ # pdf
+ einfo "Making pdf docs"
+ export VARTEXFONTS="${T}"/fonts
+ # see bug #260606
+ emake -j1 asymptote.pdf
+ emake CAD.pdf asy-latex.pdf asyRefCard.pdf
+ fi
+ cd .. || die
+
+ if use emacs; then
+ einfo "Compiling emacs lisp files"
+ elisp-compile base/*.el
+ fi
+}
+
+src_install() {
+ # the program
+ dobin asy
+
+ # .asy files
+ insinto /usr/share/${PN}
+ doins -r base/*.asy base/*.js base/*.sh base/*.ps base/shaders base/webgl
+ chmod 755 "${D}"/usr/share/${PN}/shaders/*
+
+ # documentation
+ dodoc README ReleaseNotes ChangeLog
+ cd doc || die
+ doman asy.1
+ doinfo png/${PN}.info
+ if use doc; then
+ dodoc FAQ/asy-faq.ascii
+ dodoc CAD.pdf asy-latex.pdf asyRefCard.pdf asymptote.pdf
+ fi
+ cd .. || die
+
+ # asymptote.py
+ if use python; then
+ python_moduleinto ${PN}
+ python_foreach_impl python_domodule aspy.py
+ python_foreach_impl python_domodule base/${PN}.py
+ fi
+
+ # X GUI
+ if use X; then
+ cd GUI || die
+ python_setup
+ sed -e 1d -i xasy.py
+ echo "#!/usr/bin/env ${EPYTHON}" > xasy1
+ cat xasy1 xasy.py > xasy
+ rm xasy1 xasy.py
+ mv xasy xasy.py
+ cd .. || die
+ python_domodule GUI
+ chmod 755 "${D}/$(python_get_sitedir)/${PN}/GUI/xasy.py"
+ dosym "$(python_get_sitedir)/${PN}/GUI/xasy.py" /usr/bin/xasy
+ doman doc/xasy.1x
+ fi
+
+ # examples
+ if use examples; then
+ docinto examples
+ dodoc \
+ examples/*.asy \
+ examples/*.views \
+ examples/*.dat \
+ examples/*.bib \
+ examples/*.png \
+ examples/*.pdb1 \
+ doc/*.asy \
+ doc/*.csv \
+ doc/*.dat \
+ doc/pixel.pdf \
+ doc/extra/*.asy
+ docinto examples/animations
+ dodoc examples/animations/*.asy
+ fi
+
+ # LaTeX style
+ if use latex; then
+ cd doc || die
+ insinto "${TEXMF}"/tex/latex/${PN}
+ doins *.sty latexmkrc
+ if use examples; then
+ docinto examples
+ dodoc latexusage.tex externalprc.tex
+ docinto examples/animations
+ dodoc ../examples/animations/*.tex
+ fi
+ cd .. || die
+ fi
+
+ # ConTeXt
+ if use context; then
+ insinto /usr/share/texmf-site/tex/context
+ doins doc/colo-asy.tex
+ fi
+
+ # emacs mode
+ if use emacs; then
+ elisp-install ${PN} base/*.el base/*.elc asy-keywords.el
+ elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+ fi
+
+ # vim syntax
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles/syntax
+ doins base/asy.vim
+ insinto /usr/share/vim/vimfiles/ftdetect
+ doins base/asy_filetype.vim
+ fi
+}
+
+pkg_postinst() {
+ use latex && latex-package_rehash
+ use emacs && elisp-site-regen
+
+ elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
+ elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
+}
+
+pkg_postrm() {
+ use latex && latex-package_rehash
+ use emacs && elisp-site-regen
+}
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2022-11-25 16:36 Andrey Grozin
0 siblings, 0 replies; 61+ messages in thread
From: Andrey Grozin @ 2022-11-25 16:36 UTC (permalink / raw
To: gentoo-commits
commit: be6f7db4be5655b815f07d9452d86dffe8f8256d
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 25 16:36:05 2022 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Fri Nov 25 16:36:05 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be6f7db4
media-gfx/asymptote: remove old versions
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
media-gfx/asymptote/Manifest | 2 -
media-gfx/asymptote/asymptote-2.80.ebuild | 242 ------------------------------
media-gfx/asymptote/asymptote-2.81.ebuild | 242 ------------------------------
3 files changed, 486 deletions(-)
diff --git a/media-gfx/asymptote/Manifest b/media-gfx/asymptote/Manifest
index c2d7a1549073..99ba0fb250c3 100644
--- a/media-gfx/asymptote/Manifest
+++ b/media-gfx/asymptote/Manifest
@@ -1,4 +1,2 @@
DIST asymptote-2.78.src.tgz 15274780 BLAKE2B 0c99aff54df79eabdf059cc0bb2cdd0832d7cc7ae83a2e3ab08116aa6bc75de44f7adfa096b7ed832fc96cd9db0bb41a490a8c5fd29716ad9a7852e52a98ad2b SHA512 dcc27ce608cb72b3979a87bd6e312774008a225b0936027c11bf1862e21dce5db6de9bf5db14c85ba1f7ed25ec77c3a57e2ecf58a73b46315daca11777910c24
-DIST asymptote-2.80.src.tgz 15054879 BLAKE2B bf1a569b1d752775630d6b775eed3119fba3327cd87af3963c13ec98269980a0d856cfedfe6271bea6a4e33ce58cbb0ae7aaafb0993351dbaa521d362ef41289 SHA512 cf79951c10fa327bf827c244ed9eed63c1229affe34786f5d397ec9f78df789c63f321ad548fa68fe9980c968262c16bcac4be5cef8898aaa9b89fde8a67d68d
-DIST asymptote-2.81.src.tgz 15062426 BLAKE2B 887fdc18c247e05249c2303fe8d534023620a5289225d769f2c59016d290cce76dc0156965c2deeb6daa09a1e1215b2d5a9fc440096f5f776c61849d7cafe093 SHA512 6959cdd58cbd8ec92b01a841e4a589f8826b35fd860a1d95e0cae60dd4bf2bc23c39d7df8350267a0053dbc88576933233fc21dae40cb25b216bb2cdf46893ed
DIST asymptote-2.83.src.tgz 15044624 BLAKE2B f364d7fa5d09bfc94f2556d5c99fc2751182f4a231544c24b449f02f36cca62e48272827f5bb405119b82d75517ef1fe49ec87cb75eb30de92ed95ac360a553c SHA512 cb59731f6d68658746cd1e686a54b6f590e4a4990df572e89b4b5faab6bb8ed75de9d7f75e65b8ed76227ead59930d5492d54239db6acdb4bff2377ac2b97dec
diff --git a/media-gfx/asymptote/asymptote-2.80.ebuild b/media-gfx/asymptote/asymptote-2.80.ebuild
deleted file mode 100644
index 5cb69e1f28af..000000000000
--- a/media-gfx/asymptote/asymptote-2.80.ebuild
+++ /dev/null
@@ -1,242 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit autotools elisp-common latex-package python-r1
-
-DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
-HOMEPAGE="https://asymptote.sourceforge.io/"
-SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
- ${PYTHON_REQUIRED_USE}
- offscreen? ( opengl )
- doc? ( boehm-gc )"
-
-RDEPEND="
- >=sys-libs/ncurses-5.4-r5:0=
- >=sys-libs/readline-4.3-r5:0=
- net-libs/libtirpc:=
- imagemagick? ( media-gfx/imagemagick[png] )
- opengl? ( media-libs/mesa[X(+)] media-libs/freeglut media-libs/glew:0 media-libs/glm )
- offscreen? ( media-libs/mesa[osmesa] )
- svg? ( app-text/dvisvgm )
- sigsegv? ( dev-libs/libsigsegv )
- boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
- fftw? ( >=sci-libs/fftw-3.0.1:= )
- gsl? ( sci-libs/gsl:= )
- python? ( ${PYTHON_DEPS} )
- curl? ( net-misc/curl )
- lsp? (
- dev-libs/boost
- dev-libs/rapidjson
- dev-libs/utfcpp
- )
- X? (
- ${PYTHON_DEPS}
- dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,svg]
- dev-python/numpy
- dev-python/pycson
- >=gnome-base/librsvg-2.40
- )
- latex? (
- virtual/latex-base
- >=dev-texlive/texlive-latexextra-2013
- )
- context? ( dev-texlive/texlive-context )
- emacs? ( >=app-editors/emacs-23.1:* )
- vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
-DEPEND="${RDEPEND}
- dev-lang/perl
- doc? (
- media-gfx/imagemagick[png]
- virtual/texi2dvi
- virtual/latex-base
- app-text/ghostscript-gpl )
- test? ( app-text/ghostscript-gpl )"
-
-TEXMF=/usr/share/texmf-site
-
-PATCHES=(
- # Changing pdf, ps, image viewers to xdg-open
- "${FILESDIR}/${PN}-2.70-xdg-utils.patch"
-
- # Bug #322473
- "${FILESDIR}/${PN}-2.70-info.patch"
-)
-
-src_prepare() {
- sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
- -i configure.ac \
- || die "sed configure.ac failed"
-
- default
- eautoreconf
-}
-
-src_configure() {
- # for the CPPFLAGS see
- # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
- econf \
- CPPFLAGS=-DHAVE_SYS_TYPES_H \
- CFLAGS="${CXXFLAGS}" \
- --disable-gc-debug \
- --disable-gc-full-debug \
- --with-latex=/usr/share/texmf-site/tex/latex \
- --with-context=/usr/share/texmf-site/tex/context \
- $(use_enable boehm-gc gc system) \
- $(use_enable curl) \
- $(use_enable lsp) \
- $(use_enable fftw) \
- $(use_enable gsl) \
- $(use_enable opengl gl) \
- $(use_enable offscreen) \
- $(use_enable sigsegv)
-}
-
-src_compile() {
- default
-
- cd doc || die
- emake asy.1
- einfo "Making info"
- cd png || die
- emake ${PN}.info
- cd .. || die
- if use doc; then
- cd FAQ || die
- emake
- cd .. || die
- # pdf
- einfo "Making pdf docs"
- export VARTEXFONTS="${T}"/fonts
- # see bug #260606
- emake -j1 asymptote.pdf
- emake CAD.pdf asy-latex.pdf asyRefCard.pdf
- fi
- cd .. || die
-
- if use emacs; then
- einfo "Compiling emacs lisp files"
- elisp-compile base/*.el
- fi
-}
-
-src_install() {
- # the program
- dobin asy
-
- # .asy files
- insinto /usr/share/${PN}
- doins -r base/*.asy base/*.js base/*.sh base/*.ps base/shaders base/webgl
- chmod 755 "${D}"/usr/share/${PN}/shaders/*
-
- # documentation
- dodoc README ReleaseNotes ChangeLog
- cd doc || die
- doman asy.1
- doinfo png/${PN}.info
- if use doc; then
- dodoc FAQ/asy-faq.ascii
- dodoc CAD.pdf asy-latex.pdf asyRefCard.pdf asymptote.pdf
- fi
- cd .. || die
-
- # asymptote.py
- if use python; then
- python_moduleinto ${PN}
- python_foreach_impl python_domodule aspy.py
- python_foreach_impl python_domodule base/${PN}.py
- fi
-
- # X GUI
- if use X; then
- cd GUI || die
- python_setup
- sed -e 1d -i xasy.py
- echo "#!/usr/bin/env ${EPYTHON}" > xasy1
- cat xasy1 xasy.py > xasy
- rm xasy1 xasy.py
- mv xasy xasy.py
- cd .. || die
- python_domodule GUI
- chmod 755 "${D}/$(python_get_sitedir)/${PN}/GUI/xasy.py"
- dosym "$(python_get_sitedir)/${PN}/GUI/xasy.py" /usr/bin/xasy
- doman doc/xasy.1x
- fi
-
- # examples
- if use examples; then
- docinto examples
- dodoc \
- examples/*.asy \
- examples/*.views \
- examples/*.dat \
- examples/*.bib \
- examples/*.png \
- examples/*.pdb1 \
- doc/*.asy \
- doc/*.csv \
- doc/*.dat \
- doc/pixel.pdf \
- doc/extra/*.asy
- docinto examples/animations
- dodoc examples/animations/*.asy
- fi
-
- # LaTeX style
- if use latex; then
- cd doc || die
- insinto "${TEXMF}"/tex/latex/${PN}
- doins *.sty latexmkrc
- if use examples; then
- docinto examples
- dodoc latexusage.tex externalprc.tex
- docinto examples/animations
- dodoc ../examples/animations/*.tex
- fi
- cd .. || die
- fi
-
- # ConTeXt
- if use context; then
- insinto /usr/share/texmf-site/tex/context
- doins doc/colo-asy.tex
- fi
-
- # emacs mode
- if use emacs; then
- elisp-install ${PN} base/*.el base/*.elc asy-keywords.el
- elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
- fi
-
- # vim syntax
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins base/asy.vim
- insinto /usr/share/vim/vimfiles/ftdetect
- doins base/asy_filetype.vim
- fi
-}
-
-pkg_postinst() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-
- elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
- elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
-}
-
-pkg_postrm() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-}
diff --git a/media-gfx/asymptote/asymptote-2.81.ebuild b/media-gfx/asymptote/asymptote-2.81.ebuild
deleted file mode 100644
index 5cb69e1f28af..000000000000
--- a/media-gfx/asymptote/asymptote-2.81.ebuild
+++ /dev/null
@@ -1,242 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit autotools elisp-common latex-package python-r1
-
-DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
-HOMEPAGE="https://asymptote.sourceforge.io/"
-SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
- ${PYTHON_REQUIRED_USE}
- offscreen? ( opengl )
- doc? ( boehm-gc )"
-
-RDEPEND="
- >=sys-libs/ncurses-5.4-r5:0=
- >=sys-libs/readline-4.3-r5:0=
- net-libs/libtirpc:=
- imagemagick? ( media-gfx/imagemagick[png] )
- opengl? ( media-libs/mesa[X(+)] media-libs/freeglut media-libs/glew:0 media-libs/glm )
- offscreen? ( media-libs/mesa[osmesa] )
- svg? ( app-text/dvisvgm )
- sigsegv? ( dev-libs/libsigsegv )
- boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
- fftw? ( >=sci-libs/fftw-3.0.1:= )
- gsl? ( sci-libs/gsl:= )
- python? ( ${PYTHON_DEPS} )
- curl? ( net-misc/curl )
- lsp? (
- dev-libs/boost
- dev-libs/rapidjson
- dev-libs/utfcpp
- )
- X? (
- ${PYTHON_DEPS}
- dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,svg]
- dev-python/numpy
- dev-python/pycson
- >=gnome-base/librsvg-2.40
- )
- latex? (
- virtual/latex-base
- >=dev-texlive/texlive-latexextra-2013
- )
- context? ( dev-texlive/texlive-context )
- emacs? ( >=app-editors/emacs-23.1:* )
- vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
-DEPEND="${RDEPEND}
- dev-lang/perl
- doc? (
- media-gfx/imagemagick[png]
- virtual/texi2dvi
- virtual/latex-base
- app-text/ghostscript-gpl )
- test? ( app-text/ghostscript-gpl )"
-
-TEXMF=/usr/share/texmf-site
-
-PATCHES=(
- # Changing pdf, ps, image viewers to xdg-open
- "${FILESDIR}/${PN}-2.70-xdg-utils.patch"
-
- # Bug #322473
- "${FILESDIR}/${PN}-2.70-info.patch"
-)
-
-src_prepare() {
- sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
- -i configure.ac \
- || die "sed configure.ac failed"
-
- default
- eautoreconf
-}
-
-src_configure() {
- # for the CPPFLAGS see
- # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
- econf \
- CPPFLAGS=-DHAVE_SYS_TYPES_H \
- CFLAGS="${CXXFLAGS}" \
- --disable-gc-debug \
- --disable-gc-full-debug \
- --with-latex=/usr/share/texmf-site/tex/latex \
- --with-context=/usr/share/texmf-site/tex/context \
- $(use_enable boehm-gc gc system) \
- $(use_enable curl) \
- $(use_enable lsp) \
- $(use_enable fftw) \
- $(use_enable gsl) \
- $(use_enable opengl gl) \
- $(use_enable offscreen) \
- $(use_enable sigsegv)
-}
-
-src_compile() {
- default
-
- cd doc || die
- emake asy.1
- einfo "Making info"
- cd png || die
- emake ${PN}.info
- cd .. || die
- if use doc; then
- cd FAQ || die
- emake
- cd .. || die
- # pdf
- einfo "Making pdf docs"
- export VARTEXFONTS="${T}"/fonts
- # see bug #260606
- emake -j1 asymptote.pdf
- emake CAD.pdf asy-latex.pdf asyRefCard.pdf
- fi
- cd .. || die
-
- if use emacs; then
- einfo "Compiling emacs lisp files"
- elisp-compile base/*.el
- fi
-}
-
-src_install() {
- # the program
- dobin asy
-
- # .asy files
- insinto /usr/share/${PN}
- doins -r base/*.asy base/*.js base/*.sh base/*.ps base/shaders base/webgl
- chmod 755 "${D}"/usr/share/${PN}/shaders/*
-
- # documentation
- dodoc README ReleaseNotes ChangeLog
- cd doc || die
- doman asy.1
- doinfo png/${PN}.info
- if use doc; then
- dodoc FAQ/asy-faq.ascii
- dodoc CAD.pdf asy-latex.pdf asyRefCard.pdf asymptote.pdf
- fi
- cd .. || die
-
- # asymptote.py
- if use python; then
- python_moduleinto ${PN}
- python_foreach_impl python_domodule aspy.py
- python_foreach_impl python_domodule base/${PN}.py
- fi
-
- # X GUI
- if use X; then
- cd GUI || die
- python_setup
- sed -e 1d -i xasy.py
- echo "#!/usr/bin/env ${EPYTHON}" > xasy1
- cat xasy1 xasy.py > xasy
- rm xasy1 xasy.py
- mv xasy xasy.py
- cd .. || die
- python_domodule GUI
- chmod 755 "${D}/$(python_get_sitedir)/${PN}/GUI/xasy.py"
- dosym "$(python_get_sitedir)/${PN}/GUI/xasy.py" /usr/bin/xasy
- doman doc/xasy.1x
- fi
-
- # examples
- if use examples; then
- docinto examples
- dodoc \
- examples/*.asy \
- examples/*.views \
- examples/*.dat \
- examples/*.bib \
- examples/*.png \
- examples/*.pdb1 \
- doc/*.asy \
- doc/*.csv \
- doc/*.dat \
- doc/pixel.pdf \
- doc/extra/*.asy
- docinto examples/animations
- dodoc examples/animations/*.asy
- fi
-
- # LaTeX style
- if use latex; then
- cd doc || die
- insinto "${TEXMF}"/tex/latex/${PN}
- doins *.sty latexmkrc
- if use examples; then
- docinto examples
- dodoc latexusage.tex externalprc.tex
- docinto examples/animations
- dodoc ../examples/animations/*.tex
- fi
- cd .. || die
- fi
-
- # ConTeXt
- if use context; then
- insinto /usr/share/texmf-site/tex/context
- doins doc/colo-asy.tex
- fi
-
- # emacs mode
- if use emacs; then
- elisp-install ${PN} base/*.el base/*.elc asy-keywords.el
- elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
- fi
-
- # vim syntax
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins base/asy.vim
- insinto /usr/share/vim/vimfiles/ftdetect
- doins base/asy_filetype.vim
- fi
-}
-
-pkg_postinst() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-
- elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
- elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
-}
-
-pkg_postrm() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-}
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2022-11-29 6:58 Jakov Smolić
0 siblings, 0 replies; 61+ messages in thread
From: Jakov Smolić @ 2022-11-29 6:58 UTC (permalink / raw
To: gentoo-commits
commit: 220f1db39c11c7ba65767e0707448f40f29794f9
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 29 06:57:17 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Tue Nov 29 06:57:17 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=220f1db3
media-gfx/asymptote: Stabilize 2.83 amd64, #883051
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.83.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/asymptote/asymptote-2.83.ebuild b/media-gfx/asymptote/asymptote-2.83.ebuild
index e49720ad4fba..365024dcfac8 100644
--- a/media-gfx/asymptote/asymptote-2.83.ebuild
+++ b/media-gfx/asymptote/asymptote-2.83.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2022-12-02 19:13 Arthur Zamarin
0 siblings, 0 replies; 61+ messages in thread
From: Arthur Zamarin @ 2022-12-02 19:13 UTC (permalink / raw
To: gentoo-commits
commit: 72b383560f4d160009d47ad07ba6cc6f3a4a0d71
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 2 19:13:06 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 2 19:13:06 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72b38356
media-gfx/asymptote: Stabilize 2.83 x86, #883051
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.83.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/asymptote/asymptote-2.83.ebuild b/media-gfx/asymptote/asymptote-2.83.ebuild
index 365024dcfac8..44e16197d832 100644
--- a/media-gfx/asymptote/asymptote-2.83.ebuild
+++ b/media-gfx/asymptote/asymptote-2.83.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~ppc ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2023-02-16 5:40 Andrey Grozin
0 siblings, 0 replies; 61+ messages in thread
From: Andrey Grozin @ 2023-02-16 5:40 UTC (permalink / raw
To: gentoo-commits
commit: b04a592525239525328a094975b16fa729b36cfe
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 16 05:40:28 2023 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Thu Feb 16 05:40:28 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b04a5925
media-gfx/asymptote: remove old version
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
media-gfx/asymptote/Manifest | 1 -
media-gfx/asymptote/asymptote-2.78.ebuild | 242 ------------------------------
2 files changed, 243 deletions(-)
diff --git a/media-gfx/asymptote/Manifest b/media-gfx/asymptote/Manifest
index 99ba0fb250c3..343d3e84c2a7 100644
--- a/media-gfx/asymptote/Manifest
+++ b/media-gfx/asymptote/Manifest
@@ -1,2 +1 @@
-DIST asymptote-2.78.src.tgz 15274780 BLAKE2B 0c99aff54df79eabdf059cc0bb2cdd0832d7cc7ae83a2e3ab08116aa6bc75de44f7adfa096b7ed832fc96cd9db0bb41a490a8c5fd29716ad9a7852e52a98ad2b SHA512 dcc27ce608cb72b3979a87bd6e312774008a225b0936027c11bf1862e21dce5db6de9bf5db14c85ba1f7ed25ec77c3a57e2ecf58a73b46315daca11777910c24
DIST asymptote-2.83.src.tgz 15044624 BLAKE2B f364d7fa5d09bfc94f2556d5c99fc2751182f4a231544c24b449f02f36cca62e48272827f5bb405119b82d75517ef1fe49ec87cb75eb30de92ed95ac360a553c SHA512 cb59731f6d68658746cd1e686a54b6f590e4a4990df572e89b4b5faab6bb8ed75de9d7f75e65b8ed76227ead59930d5492d54239db6acdb4bff2377ac2b97dec
diff --git a/media-gfx/asymptote/asymptote-2.78.ebuild b/media-gfx/asymptote/asymptote-2.78.ebuild
deleted file mode 100644
index 23ed3306c76f..000000000000
--- a/media-gfx/asymptote/asymptote-2.78.ebuild
+++ /dev/null
@@ -1,242 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{9..10} )
-
-inherit autotools elisp-common latex-package python-r1
-
-DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
-HOMEPAGE="https://asymptote.sourceforge.io/"
-SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
- ${PYTHON_REQUIRED_USE}
- offscreen? ( opengl )
- doc? ( boehm-gc )"
-
-RDEPEND="
- >=sys-libs/ncurses-5.4-r5:0=
- >=sys-libs/readline-4.3-r5:0=
- net-libs/libtirpc:=
- imagemagick? ( media-gfx/imagemagick[png] )
- opengl? ( media-libs/mesa[X(+)] media-libs/freeglut media-libs/glew:0 media-libs/glm )
- offscreen? ( media-libs/mesa[osmesa] )
- svg? ( app-text/dvisvgm )
- sigsegv? ( dev-libs/libsigsegv )
- boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
- fftw? ( >=sci-libs/fftw-3.0.1:= )
- gsl? ( sci-libs/gsl:= )
- python? ( ${PYTHON_DEPS} )
- curl? ( net-misc/curl )
- lsp? (
- dev-libs/boost
- dev-libs/rapidjson
- dev-libs/utfcpp
- )
- X? (
- ${PYTHON_DEPS}
- dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,svg]
- dev-python/numpy
- dev-python/pycson
- >=gnome-base/librsvg-2.40
- )
- latex? (
- virtual/latex-base
- >=dev-texlive/texlive-latexextra-2013
- )
- context? ( dev-texlive/texlive-context )
- emacs? ( >=app-editors/emacs-23.1:* )
- vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
-DEPEND="${RDEPEND}
- dev-lang/perl
- doc? (
- media-gfx/imagemagick[png]
- virtual/texi2dvi
- virtual/latex-base
- app-text/ghostscript-gpl )
- test? ( app-text/ghostscript-gpl )"
-
-TEXMF=/usr/share/texmf-site
-
-PATCHES=(
- # Changing pdf, ps, image viewers to xdg-open
- "${FILESDIR}/${PN}-2.70-xdg-utils.patch"
-
- # Bug #322473
- "${FILESDIR}/${PN}-2.70-info.patch"
-)
-
-src_prepare() {
- sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
- -i configure.ac \
- || die "sed configure.ac failed"
-
- default
- eautoreconf
-}
-
-src_configure() {
- # for the CPPFLAGS see
- # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
- econf \
- CPPFLAGS=-DHAVE_SYS_TYPES_H \
- CFLAGS="${CXXFLAGS}" \
- --disable-gc-debug \
- --disable-gc-full-debug \
- --with-latex=/usr/share/texmf-site/tex/latex \
- --with-context=/usr/share/texmf-site/tex/context \
- $(use_enable boehm-gc gc system) \
- $(use_enable curl) \
- $(use_enable lsp) \
- $(use_enable fftw) \
- $(use_enable gsl) \
- $(use_enable opengl gl) \
- $(use_enable offscreen) \
- $(use_enable sigsegv)
-}
-
-src_compile() {
- default
-
- cd doc || die
- emake asy.1
- einfo "Making info"
- cd png || die
- emake ${PN}.info
- cd .. || die
- if use doc; then
- cd FAQ || die
- emake
- cd .. || die
- # pdf
- einfo "Making pdf docs"
- export VARTEXFONTS="${T}"/fonts
- # see bug #260606
- emake -j1 asymptote.pdf
- emake CAD.pdf asy-latex.pdf asyRefCard.pdf
- fi
- cd .. || die
-
- if use emacs; then
- einfo "Compiling emacs lisp files"
- elisp-compile base/*.el
- fi
-}
-
-src_install() {
- # the program
- dobin asy
-
- # .asy files
- insinto /usr/share/${PN}
- doins -r base/*.asy base/*.js base/*.sh base/*.ps base/shaders base/webgl
- chmod 755 "${D}"/usr/share/${PN}/shaders/*
-
- # documentation
- dodoc README ReleaseNotes ChangeLog
- cd doc || die
- doman asy.1
- doinfo png/${PN}.info
- if use doc; then
- dodoc FAQ/asy-faq.ascii
- dodoc CAD.pdf asy-latex.pdf asyRefCard.pdf asymptote.pdf
- fi
- cd .. || die
-
- # asymptote.py
- if use python; then
- python_moduleinto ${PN}
- python_foreach_impl python_domodule aspy.py
- python_foreach_impl python_domodule base/${PN}.py
- fi
-
- # X GUI
- if use X; then
- cd GUI || die
- python_setup
- sed -e 1d -i xasy.py
- echo "#!/usr/bin/env ${EPYTHON}" > xasy1
- cat xasy1 xasy.py > xasy
- rm xasy1 xasy.py
- mv xasy xasy.py
- cd .. || die
- python_domodule GUI
- chmod 755 "${D}/$(python_get_sitedir)/${PN}/GUI/xasy.py"
- dosym "$(python_get_sitedir)/${PN}/GUI/xasy.py" /usr/bin/xasy
- doman doc/xasy.1x
- fi
-
- # examples
- if use examples; then
- docinto examples
- dodoc \
- examples/*.asy \
- examples/*.views \
- examples/*.dat \
- examples/*.bib \
- examples/*.png \
- examples/*.pdb1 \
- doc/*.asy \
- doc/*.csv \
- doc/*.dat \
- doc/pixel.pdf \
- doc/extra/*.asy
- docinto examples/animations
- dodoc examples/animations/*.asy
- fi
-
- # LaTeX style
- if use latex; then
- cd doc || die
- insinto "${TEXMF}"/tex/latex/${PN}
- doins *.sty latexmkrc
- if use examples; then
- docinto examples
- dodoc latexusage.tex externalprc.tex
- docinto examples/animations
- dodoc ../examples/animations/*.tex
- fi
- cd .. || die
- fi
-
- # ConTeXt
- if use context; then
- insinto /usr/share/texmf-site/tex/context
- doins doc/colo-asy.tex
- fi
-
- # emacs mode
- if use emacs; then
- elisp-install ${PN} base/*.el base/*.elc asy-keywords.el
- elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
- fi
-
- # vim syntax
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins base/asy.vim
- insinto /usr/share/vim/vimfiles/ftdetect
- doins base/asy_filetype.vim
- fi
-}
-
-pkg_postinst() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-
- elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
- elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
-}
-
-pkg_postrm() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-}
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2023-02-16 10:40 Andrey Grozin
0 siblings, 0 replies; 61+ messages in thread
From: Andrey Grozin @ 2023-02-16 10:40 UTC (permalink / raw
To: gentoo-commits
commit: 76a4b01e0b25f9a5b80ac7ca357930c608a08064
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 16 10:39:55 2023 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Thu Feb 16 10:39:55 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76a4b01e
media-gfx/asymptote: add python3_11
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.85-r1.ebuild | 243 +++++++++++++++++++++++++++
1 file changed, 243 insertions(+)
diff --git a/media-gfx/asymptote/asymptote-2.85-r1.ebuild b/media-gfx/asymptote/asymptote-2.85-r1.ebuild
new file mode 100644
index 000000000000..ba11f4a8c353
--- /dev/null
+++ b/media-gfx/asymptote/asymptote-2.85-r1.ebuild
@@ -0,0 +1,243 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit autotools elisp-common latex-package python-r1
+
+DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
+HOMEPAGE="https://asymptote.sourceforge.io/"
+SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ offscreen? ( opengl )
+ doc? ( boehm-gc )"
+
+RDEPEND="
+ >=sys-libs/ncurses-5.4-r5:0=
+ >=sys-libs/readline-4.3-r5:0=
+ net-libs/libtirpc:=
+ imagemagick? ( media-gfx/imagemagick[png] )
+ opengl? ( media-libs/mesa[X(+)] media-libs/freeglut media-libs/glew:0 media-libs/glm )
+ offscreen? ( media-libs/mesa[osmesa] )
+ svg? ( app-text/dvisvgm )
+ sigsegv? ( dev-libs/libsigsegv )
+ boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
+ fftw? ( >=sci-libs/fftw-3.0.1:= )
+ gsl? ( sci-libs/gsl:= )
+ python? ( ${PYTHON_DEPS} )
+ curl? ( net-misc/curl )
+ lsp? (
+ dev-libs/boost
+ dev-libs/rapidjson
+ dev-libs/utfcpp
+ )
+ X? (
+ ${PYTHON_DEPS}
+ dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,svg]
+ dev-python/numpy
+ dev-python/pycson
+ >=gnome-base/librsvg-2.40
+ )
+ latex? (
+ virtual/latex-base
+ dev-texlive/texlive-latexextra
+ )
+ context? ( dev-texlive/texlive-context )
+ emacs? ( >=app-editors/emacs-23.1:* )
+ vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ doc? (
+ media-gfx/imagemagick[png]
+ virtual/texi2dvi
+ virtual/latex-base
+ dev-texlive/texlive-latexextra
+ app-text/ghostscript-gpl )
+ test? ( app-text/ghostscript-gpl )"
+
+TEXMF=/usr/share/texmf-site
+
+PATCHES=(
+ # Changing pdf, ps, image viewers to xdg-open
+ "${FILESDIR}/${PN}-2.85-xdg-utils.patch"
+
+ # Bug #322473
+ "${FILESDIR}/${PN}-2.70-info.patch"
+)
+
+src_prepare() {
+ sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
+ -i configure.ac \
+ || die "sed configure.ac failed"
+
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # for the CPPFLAGS see
+ # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
+ econf \
+ CPPFLAGS=-DHAVE_SYS_TYPES_H \
+ CFLAGS="${CXXFLAGS}" \
+ --disable-gc-debug \
+ --disable-gc-full-debug \
+ --with-latex=/usr/share/texmf-site/tex/latex \
+ --with-context=/usr/share/texmf-site/tex/context \
+ $(use_enable boehm-gc gc system) \
+ $(use_enable curl) \
+ $(use_enable lsp) \
+ $(use_enable fftw) \
+ $(use_enable gsl) \
+ $(use_enable opengl gl) \
+ $(use_enable offscreen) \
+ $(use_enable sigsegv)
+}
+
+src_compile() {
+ default
+
+ cd doc || die
+ emake asy.1
+ einfo "Making info"
+ cd png || die
+ emake ${PN}.info
+ cd .. || die
+ if use doc; then
+ cd FAQ || die
+ emake
+ cd .. || die
+ # pdf
+ einfo "Making pdf docs"
+ export VARTEXFONTS="${T}"/fonts
+ # see bug #260606
+ emake -j1 asymptote.pdf
+ emake CAD.pdf asy-latex.pdf asyRefCard.pdf
+ fi
+ cd .. || die
+
+ if use emacs; then
+ einfo "Compiling emacs lisp files"
+ elisp-compile base/*.el
+ fi
+}
+
+src_install() {
+ # the program
+ dobin asy
+
+ # .asy files
+ insinto /usr/share/${PN}
+ doins -r base/*.asy base/*.js base/*.sh base/*.ps base/shaders base/webgl
+ chmod 755 "${D}"/usr/share/${PN}/shaders/*
+
+ # documentation
+ dodoc README ReleaseNotes ChangeLog
+ cd doc || die
+ doman asy.1
+ doinfo png/${PN}.info
+ if use doc; then
+ dodoc FAQ/asy-faq.ascii
+ dodoc CAD.pdf asy-latex.pdf asyRefCard.pdf asymptote.pdf
+ fi
+ cd .. || die
+
+ # asymptote.py
+ if use python; then
+ python_moduleinto ${PN}
+ python_foreach_impl python_domodule aspy.py
+ python_foreach_impl python_domodule base/${PN}.py
+ fi
+
+ # X GUI
+ if use X; then
+ cd GUI || die
+ python_setup
+ sed -e 1d -i xasy.py
+ echo "#!/usr/bin/env ${EPYTHON}" > xasy1
+ cat xasy1 xasy.py > xasy
+ rm xasy1 xasy.py
+ mv xasy xasy.py
+ cd .. || die
+ python_domodule GUI
+ chmod 755 "${D}/$(python_get_sitedir)/${PN}/GUI/xasy.py"
+ dosym "$(python_get_sitedir)/${PN}/GUI/xasy.py" /usr/bin/xasy
+ doman doc/xasy.1x
+ fi
+
+ # examples
+ if use examples; then
+ docinto examples
+ dodoc \
+ examples/*.asy \
+ examples/*.views \
+ examples/*.dat \
+ examples/*.bib \
+ examples/*.png \
+ examples/*.pdb1 \
+ doc/*.asy \
+ doc/*.csv \
+ doc/*.dat \
+ doc/pixel.pdf \
+ doc/extra/*.asy
+ docinto examples/animations
+ dodoc examples/animations/*.asy
+ fi
+
+ # LaTeX style
+ if use latex; then
+ cd doc || die
+ insinto "${TEXMF}"/tex/latex/${PN}
+ doins *.sty latexmkrc
+ if use examples; then
+ docinto examples
+ dodoc latexusage.tex externalprc.tex
+ docinto examples/animations
+ dodoc ../examples/animations/*.tex
+ fi
+ cd .. || die
+ fi
+
+ # ConTeXt
+ if use context; then
+ insinto /usr/share/texmf-site/tex/context
+ doins doc/colo-asy.tex
+ fi
+
+ # emacs mode
+ if use emacs; then
+ elisp-install ${PN} base/*.el base/*.elc asy-keywords.el
+ elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+ fi
+
+ # vim syntax
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles/syntax
+ doins base/asy.vim
+ insinto /usr/share/vim/vimfiles/ftdetect
+ doins base/asy_filetype.vim
+ fi
+}
+
+pkg_postinst() {
+ use latex && latex-package_rehash
+ use emacs && elisp-site-regen
+
+ elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
+ elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
+}
+
+pkg_postrm() {
+ use latex && latex-package_rehash
+ use emacs && elisp-site-regen
+}
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2023-02-16 10:41 Andrey Grozin
0 siblings, 0 replies; 61+ messages in thread
From: Andrey Grozin @ 2023-02-16 10:41 UTC (permalink / raw
To: gentoo-commits
commit: 7d2f4fd304df6566838dfa2705141e68ed25b48a
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 16 10:41:44 2023 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Thu Feb 16 10:41:44 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d2f4fd3
media-gfx/asymptote: remove old revision
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.85.ebuild | 243 ------------------------------
1 file changed, 243 deletions(-)
diff --git a/media-gfx/asymptote/asymptote-2.85.ebuild b/media-gfx/asymptote/asymptote-2.85.ebuild
deleted file mode 100644
index 604efd650f66..000000000000
--- a/media-gfx/asymptote/asymptote-2.85.ebuild
+++ /dev/null
@@ -1,243 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..10} )
-
-inherit autotools elisp-common latex-package python-r1
-
-DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
-HOMEPAGE="https://asymptote.sourceforge.io/"
-SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
- ${PYTHON_REQUIRED_USE}
- offscreen? ( opengl )
- doc? ( boehm-gc )"
-
-RDEPEND="
- >=sys-libs/ncurses-5.4-r5:0=
- >=sys-libs/readline-4.3-r5:0=
- net-libs/libtirpc:=
- imagemagick? ( media-gfx/imagemagick[png] )
- opengl? ( media-libs/mesa[X(+)] media-libs/freeglut media-libs/glew:0 media-libs/glm )
- offscreen? ( media-libs/mesa[osmesa] )
- svg? ( app-text/dvisvgm )
- sigsegv? ( dev-libs/libsigsegv )
- boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
- fftw? ( >=sci-libs/fftw-3.0.1:= )
- gsl? ( sci-libs/gsl:= )
- python? ( ${PYTHON_DEPS} )
- curl? ( net-misc/curl )
- lsp? (
- dev-libs/boost
- dev-libs/rapidjson
- dev-libs/utfcpp
- )
- X? (
- ${PYTHON_DEPS}
- dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,svg]
- dev-python/numpy
- dev-python/pycson
- >=gnome-base/librsvg-2.40
- )
- latex? (
- virtual/latex-base
- dev-texlive/texlive-latexextra
- )
- context? ( dev-texlive/texlive-context )
- emacs? ( >=app-editors/emacs-23.1:* )
- vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
-DEPEND="${RDEPEND}
- dev-lang/perl
- doc? (
- media-gfx/imagemagick[png]
- virtual/texi2dvi
- virtual/latex-base
- dev-texlive/texlive-latexextra
- app-text/ghostscript-gpl )
- test? ( app-text/ghostscript-gpl )"
-
-TEXMF=/usr/share/texmf-site
-
-PATCHES=(
- # Changing pdf, ps, image viewers to xdg-open
- "${FILESDIR}/${PN}-2.85-xdg-utils.patch"
-
- # Bug #322473
- "${FILESDIR}/${PN}-2.70-info.patch"
-)
-
-src_prepare() {
- sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
- -i configure.ac \
- || die "sed configure.ac failed"
-
- default
- eautoreconf
-}
-
-src_configure() {
- # for the CPPFLAGS see
- # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
- econf \
- CPPFLAGS=-DHAVE_SYS_TYPES_H \
- CFLAGS="${CXXFLAGS}" \
- --disable-gc-debug \
- --disable-gc-full-debug \
- --with-latex=/usr/share/texmf-site/tex/latex \
- --with-context=/usr/share/texmf-site/tex/context \
- $(use_enable boehm-gc gc system) \
- $(use_enable curl) \
- $(use_enable lsp) \
- $(use_enable fftw) \
- $(use_enable gsl) \
- $(use_enable opengl gl) \
- $(use_enable offscreen) \
- $(use_enable sigsegv)
-}
-
-src_compile() {
- default
-
- cd doc || die
- emake asy.1
- einfo "Making info"
- cd png || die
- emake ${PN}.info
- cd .. || die
- if use doc; then
- cd FAQ || die
- emake
- cd .. || die
- # pdf
- einfo "Making pdf docs"
- export VARTEXFONTS="${T}"/fonts
- # see bug #260606
- emake -j1 asymptote.pdf
- emake CAD.pdf asy-latex.pdf asyRefCard.pdf
- fi
- cd .. || die
-
- if use emacs; then
- einfo "Compiling emacs lisp files"
- elisp-compile base/*.el
- fi
-}
-
-src_install() {
- # the program
- dobin asy
-
- # .asy files
- insinto /usr/share/${PN}
- doins -r base/*.asy base/*.js base/*.sh base/*.ps base/shaders base/webgl
- chmod 755 "${D}"/usr/share/${PN}/shaders/*
-
- # documentation
- dodoc README ReleaseNotes ChangeLog
- cd doc || die
- doman asy.1
- doinfo png/${PN}.info
- if use doc; then
- dodoc FAQ/asy-faq.ascii
- dodoc CAD.pdf asy-latex.pdf asyRefCard.pdf asymptote.pdf
- fi
- cd .. || die
-
- # asymptote.py
- if use python; then
- python_moduleinto ${PN}
- python_foreach_impl python_domodule aspy.py
- python_foreach_impl python_domodule base/${PN}.py
- fi
-
- # X GUI
- if use X; then
- cd GUI || die
- python_setup
- sed -e 1d -i xasy.py
- echo "#!/usr/bin/env ${EPYTHON}" > xasy1
- cat xasy1 xasy.py > xasy
- rm xasy1 xasy.py
- mv xasy xasy.py
- cd .. || die
- python_domodule GUI
- chmod 755 "${D}/$(python_get_sitedir)/${PN}/GUI/xasy.py"
- dosym "$(python_get_sitedir)/${PN}/GUI/xasy.py" /usr/bin/xasy
- doman doc/xasy.1x
- fi
-
- # examples
- if use examples; then
- docinto examples
- dodoc \
- examples/*.asy \
- examples/*.views \
- examples/*.dat \
- examples/*.bib \
- examples/*.png \
- examples/*.pdb1 \
- doc/*.asy \
- doc/*.csv \
- doc/*.dat \
- doc/pixel.pdf \
- doc/extra/*.asy
- docinto examples/animations
- dodoc examples/animations/*.asy
- fi
-
- # LaTeX style
- if use latex; then
- cd doc || die
- insinto "${TEXMF}"/tex/latex/${PN}
- doins *.sty latexmkrc
- if use examples; then
- docinto examples
- dodoc latexusage.tex externalprc.tex
- docinto examples/animations
- dodoc ../examples/animations/*.tex
- fi
- cd .. || die
- fi
-
- # ConTeXt
- if use context; then
- insinto /usr/share/texmf-site/tex/context
- doins doc/colo-asy.tex
- fi
-
- # emacs mode
- if use emacs; then
- elisp-install ${PN} base/*.el base/*.elc asy-keywords.el
- elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
- fi
-
- # vim syntax
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins base/asy.vim
- insinto /usr/share/vim/vimfiles/ftdetect
- doins base/asy_filetype.vim
- fi
-}
-
-pkg_postinst() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-
- elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
- elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
-}
-
-pkg_postrm() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-}
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2023-04-19 11:15 Sam James
0 siblings, 0 replies; 61+ messages in thread
From: Sam James @ 2023-04-19 11:15 UTC (permalink / raw
To: gentoo-commits
commit: c8100010542d519c61fe066625692ee1d659fc31
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 19 11:15:24 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 19 11:15:30 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8100010
media-gfx/asymptote: Stabilize 2.85-r1 amd64, #904595
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.85-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/asymptote/asymptote-2.85-r1.ebuild b/media-gfx/asymptote/asymptote-2.85-r1.ebuild
index ba11f4a8c353..a346495aa5a9 100644
--- a/media-gfx/asymptote/asymptote-2.85-r1.ebuild
+++ b/media-gfx/asymptote/asymptote-2.85-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2023-04-19 11:52 Sam James
0 siblings, 0 replies; 61+ messages in thread
From: Sam James @ 2023-04-19 11:52 UTC (permalink / raw
To: gentoo-commits
commit: c1729a91ff760d57762c427fb4e2ac0c917f4b1f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 19 11:52:22 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 19 11:52:22 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1729a91
media-gfx/asymptote: Stabilize 2.85-r1 x86, #904595
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.85-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/asymptote/asymptote-2.85-r1.ebuild b/media-gfx/asymptote/asymptote-2.85-r1.ebuild
index a346495aa5a9..03610416f73b 100644
--- a/media-gfx/asymptote/asymptote-2.85-r1.ebuild
+++ b/media-gfx/asymptote/asymptote-2.85-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~ppc ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2023-05-09 6:22 Andrey Grozin
0 siblings, 0 replies; 61+ messages in thread
From: Andrey Grozin @ 2023-05-09 6:22 UTC (permalink / raw
To: gentoo-commits
commit: b425a0fda657d1f3b0f1cd54d2996d4a34623a57
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Tue May 9 06:21:26 2023 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Tue May 9 06:21:26 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b425a0fd
media-gfx/asymptote: remove old version
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
media-gfx/asymptote/Manifest | 1 -
media-gfx/asymptote/asymptote-2.83.ebuild | 243 ------------------------------
2 files changed, 244 deletions(-)
diff --git a/media-gfx/asymptote/Manifest b/media-gfx/asymptote/Manifest
index 55f39a8ba4a7..33a3520ac1ac 100644
--- a/media-gfx/asymptote/Manifest
+++ b/media-gfx/asymptote/Manifest
@@ -1,2 +1 @@
-DIST asymptote-2.83.src.tgz 15044624 BLAKE2B f364d7fa5d09bfc94f2556d5c99fc2751182f4a231544c24b449f02f36cca62e48272827f5bb405119b82d75517ef1fe49ec87cb75eb30de92ed95ac360a553c SHA512 cb59731f6d68658746cd1e686a54b6f590e4a4990df572e89b4b5faab6bb8ed75de9d7f75e65b8ed76227ead59930d5492d54239db6acdb4bff2377ac2b97dec
DIST asymptote-2.85.src.tgz 15073771 BLAKE2B 5fb965d6fad5c138c00b76a55158c3808022de84ba2a5568af551fe744e5ab0dc3caf168f9467517d917c9716a89a3fd1064324991e8d058a7a27138648903fc SHA512 81e62c3b5c1a4d8a12b37c9ca45f0141cf4034719f08155c2eb61989a2132a79053d611dee29bc0ea24b0aa05d2b4cb2b0dfeadec51e754cd65caf4ace7cc5b1
diff --git a/media-gfx/asymptote/asymptote-2.83.ebuild b/media-gfx/asymptote/asymptote-2.83.ebuild
deleted file mode 100644
index 9cb125926211..000000000000
--- a/media-gfx/asymptote/asymptote-2.83.ebuild
+++ /dev/null
@@ -1,243 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{9..10} )
-
-inherit autotools elisp-common latex-package python-r1
-
-DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
-HOMEPAGE="https://asymptote.sourceforge.io/"
-SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
- ${PYTHON_REQUIRED_USE}
- offscreen? ( opengl )
- doc? ( boehm-gc )"
-
-RDEPEND="
- >=sys-libs/ncurses-5.4-r5:0=
- >=sys-libs/readline-4.3-r5:0=
- net-libs/libtirpc:=
- imagemagick? ( media-gfx/imagemagick[png] )
- opengl? ( media-libs/mesa[X(+)] media-libs/freeglut media-libs/glew:0 media-libs/glm )
- offscreen? ( media-libs/mesa[osmesa] )
- svg? ( app-text/dvisvgm )
- sigsegv? ( dev-libs/libsigsegv )
- boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
- fftw? ( >=sci-libs/fftw-3.0.1:= )
- gsl? ( sci-libs/gsl:= )
- python? ( ${PYTHON_DEPS} )
- curl? ( net-misc/curl )
- lsp? (
- dev-libs/boost
- dev-libs/rapidjson
- dev-libs/utfcpp
- )
- X? (
- ${PYTHON_DEPS}
- dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,svg]
- dev-python/numpy
- dev-python/pycson
- >=gnome-base/librsvg-2.40
- )
- latex? (
- virtual/latex-base
- dev-texlive/texlive-latexextra
- )
- context? ( dev-texlive/texlive-context )
- emacs? ( >=app-editors/emacs-23.1:* )
- vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
-DEPEND="${RDEPEND}
- dev-lang/perl
- doc? (
- media-gfx/imagemagick[png]
- virtual/texi2dvi
- virtual/latex-base
- dev-texlive/texlive-latexextra
- app-text/ghostscript-gpl )
- test? ( app-text/ghostscript-gpl )"
-
-TEXMF=/usr/share/texmf-site
-
-PATCHES=(
- # Changing pdf, ps, image viewers to xdg-open
- "${FILESDIR}/${PN}-2.70-xdg-utils.patch"
-
- # Bug #322473
- "${FILESDIR}/${PN}-2.70-info.patch"
-)
-
-src_prepare() {
- sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
- -i configure.ac \
- || die "sed configure.ac failed"
-
- default
- eautoreconf
-}
-
-src_configure() {
- # for the CPPFLAGS see
- # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
- econf \
- CPPFLAGS=-DHAVE_SYS_TYPES_H \
- CFLAGS="${CXXFLAGS}" \
- --disable-gc-debug \
- --disable-gc-full-debug \
- --with-latex=/usr/share/texmf-site/tex/latex \
- --with-context=/usr/share/texmf-site/tex/context \
- $(use_enable boehm-gc gc system) \
- $(use_enable curl) \
- $(use_enable lsp) \
- $(use_enable fftw) \
- $(use_enable gsl) \
- $(use_enable opengl gl) \
- $(use_enable offscreen) \
- $(use_enable sigsegv)
-}
-
-src_compile() {
- default
-
- cd doc || die
- emake asy.1
- einfo "Making info"
- cd png || die
- emake ${PN}.info
- cd .. || die
- if use doc; then
- cd FAQ || die
- emake
- cd .. || die
- # pdf
- einfo "Making pdf docs"
- export VARTEXFONTS="${T}"/fonts
- # see bug #260606
- emake -j1 asymptote.pdf
- emake CAD.pdf asy-latex.pdf asyRefCard.pdf
- fi
- cd .. || die
-
- if use emacs; then
- einfo "Compiling emacs lisp files"
- elisp-compile base/*.el
- fi
-}
-
-src_install() {
- # the program
- dobin asy
-
- # .asy files
- insinto /usr/share/${PN}
- doins -r base/*.asy base/*.js base/*.sh base/*.ps base/shaders base/webgl
- chmod 755 "${D}"/usr/share/${PN}/shaders/*
-
- # documentation
- dodoc README ReleaseNotes ChangeLog
- cd doc || die
- doman asy.1
- doinfo png/${PN}.info
- if use doc; then
- dodoc FAQ/asy-faq.ascii
- dodoc CAD.pdf asy-latex.pdf asyRefCard.pdf asymptote.pdf
- fi
- cd .. || die
-
- # asymptote.py
- if use python; then
- python_moduleinto ${PN}
- python_foreach_impl python_domodule aspy.py
- python_foreach_impl python_domodule base/${PN}.py
- fi
-
- # X GUI
- if use X; then
- cd GUI || die
- python_setup
- sed -e 1d -i xasy.py
- echo "#!/usr/bin/env ${EPYTHON}" > xasy1
- cat xasy1 xasy.py > xasy
- rm xasy1 xasy.py
- mv xasy xasy.py
- cd .. || die
- python_domodule GUI
- chmod 755 "${D}/$(python_get_sitedir)/${PN}/GUI/xasy.py"
- dosym "$(python_get_sitedir)/${PN}/GUI/xasy.py" /usr/bin/xasy
- doman doc/xasy.1x
- fi
-
- # examples
- if use examples; then
- docinto examples
- dodoc \
- examples/*.asy \
- examples/*.views \
- examples/*.dat \
- examples/*.bib \
- examples/*.png \
- examples/*.pdb1 \
- doc/*.asy \
- doc/*.csv \
- doc/*.dat \
- doc/pixel.pdf \
- doc/extra/*.asy
- docinto examples/animations
- dodoc examples/animations/*.asy
- fi
-
- # LaTeX style
- if use latex; then
- cd doc || die
- insinto "${TEXMF}"/tex/latex/${PN}
- doins *.sty latexmkrc
- if use examples; then
- docinto examples
- dodoc latexusage.tex externalprc.tex
- docinto examples/animations
- dodoc ../examples/animations/*.tex
- fi
- cd .. || die
- fi
-
- # ConTeXt
- if use context; then
- insinto /usr/share/texmf-site/tex/context
- doins doc/colo-asy.tex
- fi
-
- # emacs mode
- if use emacs; then
- elisp-install ${PN} base/*.el base/*.elc asy-keywords.el
- elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
- fi
-
- # vim syntax
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins base/asy.vim
- insinto /usr/share/vim/vimfiles/ftdetect
- doins base/asy_filetype.vim
- fi
-}
-
-pkg_postinst() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-
- elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
- elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
-}
-
-pkg_postrm() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-}
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2024-02-02 16:27 Arthur Zamarin
0 siblings, 0 replies; 61+ messages in thread
From: Arthur Zamarin @ 2024-02-02 16:27 UTC (permalink / raw
To: gentoo-commits
commit: b468f6623ae3c5e052c95d33ccc8ae54a0106d4b
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 2 16:27:04 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 2 16:27:04 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b468f662
media-gfx/asymptote: Stabilize 2.86 x86, #923555
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.86.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/media-gfx/asymptote/asymptote-2.86.ebuild b/media-gfx/asymptote/asymptote-2.86.ebuild
index 0bb05fc74976..99251861cc4d 100644
--- a/media-gfx/asymptote/asymptote-2.86.ebuild
+++ b/media-gfx/asymptote/asymptote-2.86.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~amd64 ~ppc ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2024-02-03 21:34 Sam James
0 siblings, 0 replies; 61+ messages in thread
From: Sam James @ 2024-02-03 21:34 UTC (permalink / raw
To: gentoo-commits
commit: 1f87fb1679be1341bc87317137de834d8f0b0ef7
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 3 21:33:37 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 3 21:33:37 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f87fb16
media-gfx/asymptote: Stabilize 2.86 amd64, #923555
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.86.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/asymptote/asymptote-2.86.ebuild b/media-gfx/asymptote/asymptote-2.86.ebuild
index 99251861cc4d..c90253601777 100644
--- a/media-gfx/asymptote/asymptote-2.86.ebuild
+++ b/media-gfx/asymptote/asymptote-2.86.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~ppc ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2024-02-09 14:30 Andrey Grozin
0 siblings, 0 replies; 61+ messages in thread
From: Andrey Grozin @ 2024-02-09 14:30 UTC (permalink / raw
To: gentoo-commits
commit: b677443f513fd35aedcd12f214510aefdd8db7dc
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 9 14:29:45 2024 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Fri Feb 9 14:29:45 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b677443f
media-gfx/asymptote: remove old version
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
media-gfx/asymptote/Manifest | 1 -
media-gfx/asymptote/asymptote-2.85-r1.ebuild | 243 ---------------------------
2 files changed, 244 deletions(-)
diff --git a/media-gfx/asymptote/Manifest b/media-gfx/asymptote/Manifest
index e95e6faa4a8d..805af350f4cc 100644
--- a/media-gfx/asymptote/Manifest
+++ b/media-gfx/asymptote/Manifest
@@ -1,2 +1 @@
-DIST asymptote-2.85.src.tgz 15073771 BLAKE2B 5fb965d6fad5c138c00b76a55158c3808022de84ba2a5568af551fe744e5ab0dc3caf168f9467517d917c9716a89a3fd1064324991e8d058a7a27138648903fc SHA512 81e62c3b5c1a4d8a12b37c9ca45f0141cf4034719f08155c2eb61989a2132a79053d611dee29bc0ea24b0aa05d2b4cb2b0dfeadec51e754cd65caf4ace7cc5b1
DIST asymptote-2.86.src.tgz 15118426 BLAKE2B 305edae6653094a5daa9f136951cfcc3f8ece1dc8e616593710e0bace350a95f61729f8d7a9522a14704300a6cfd15decb1bb634e58dba1626f09c053b6b368b SHA512 9e11dbfca10379f07b50dcce0d63c12b793f47741651b1804cf0825e87604c40b5b94acf343ce7f5ca7da83b5ebb0e213090ada80e0b6ebe4f6cec9db67209d6
diff --git a/media-gfx/asymptote/asymptote-2.85-r1.ebuild b/media-gfx/asymptote/asymptote-2.85-r1.ebuild
deleted file mode 100644
index fe790c5b6174..000000000000
--- a/media-gfx/asymptote/asymptote-2.85-r1.ebuild
+++ /dev/null
@@ -1,243 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit autotools elisp-common latex-package python-r1
-
-DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
-HOMEPAGE="https://asymptote.sourceforge.io/"
-SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
- ${PYTHON_REQUIRED_USE}
- offscreen? ( opengl )
- doc? ( boehm-gc )"
-
-RDEPEND="
- >=sys-libs/ncurses-5.4-r5:0=
- >=sys-libs/readline-4.3-r5:0=
- net-libs/libtirpc:=
- imagemagick? ( media-gfx/imagemagick[png] )
- opengl? ( media-libs/mesa[X(+)] media-libs/freeglut media-libs/glew:0 media-libs/glm )
- offscreen? ( media-libs/mesa[osmesa] )
- svg? ( app-text/dvisvgm )
- sigsegv? ( dev-libs/libsigsegv )
- boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
- fftw? ( >=sci-libs/fftw-3.0.1:= )
- gsl? ( sci-libs/gsl:= )
- python? ( ${PYTHON_DEPS} )
- curl? ( net-misc/curl )
- lsp? (
- dev-libs/boost
- dev-libs/rapidjson
- dev-libs/utfcpp
- )
- X? (
- ${PYTHON_DEPS}
- dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,svg]
- dev-python/cson
- dev-python/numpy
- >=gnome-base/librsvg-2.40
- )
- latex? (
- virtual/latex-base
- dev-texlive/texlive-latexextra
- )
- context? ( dev-texlive/texlive-context )
- emacs? ( >=app-editors/emacs-23.1:* )
- vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
-DEPEND="${RDEPEND}
- dev-lang/perl
- doc? (
- media-gfx/imagemagick[png]
- virtual/texi2dvi
- virtual/latex-base
- dev-texlive/texlive-latexextra
- app-text/ghostscript-gpl )
- test? ( app-text/ghostscript-gpl )"
-
-TEXMF=/usr/share/texmf-site
-
-PATCHES=(
- # Changing pdf, ps, image viewers to xdg-open
- "${FILESDIR}/${PN}-2.85-xdg-utils.patch"
-
- # Bug #322473
- "${FILESDIR}/${PN}-2.70-info.patch"
-)
-
-src_prepare() {
- sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
- -i configure.ac \
- || die "sed configure.ac failed"
-
- default
- eautoreconf
-}
-
-src_configure() {
- # for the CPPFLAGS see
- # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
- econf \
- CPPFLAGS=-DHAVE_SYS_TYPES_H \
- CFLAGS="${CXXFLAGS}" \
- --disable-gc-debug \
- --disable-gc-full-debug \
- --with-latex=/usr/share/texmf-site/tex/latex \
- --with-context=/usr/share/texmf-site/tex/context \
- $(use_enable boehm-gc gc system) \
- $(use_enable curl) \
- $(use_enable lsp) \
- $(use_enable fftw) \
- $(use_enable gsl) \
- $(use_enable opengl gl) \
- $(use_enable offscreen) \
- $(use_enable sigsegv)
-}
-
-src_compile() {
- default
-
- cd doc || die
- emake asy.1
- einfo "Making info"
- cd png || die
- emake ${PN}.info
- cd .. || die
- if use doc; then
- cd FAQ || die
- emake
- cd .. || die
- # pdf
- einfo "Making pdf docs"
- export VARTEXFONTS="${T}"/fonts
- # see bug #260606
- emake -j1 asymptote.pdf
- emake CAD.pdf asy-latex.pdf asyRefCard.pdf
- fi
- cd .. || die
-
- if use emacs; then
- einfo "Compiling emacs lisp files"
- elisp-compile base/*.el
- fi
-}
-
-src_install() {
- # the program
- dobin asy
-
- # .asy files
- insinto /usr/share/${PN}
- doins -r base/*.asy base/*.js base/*.sh base/*.ps base/shaders base/webgl
- chmod 755 "${D}"/usr/share/${PN}/shaders/*
-
- # documentation
- dodoc README ReleaseNotes ChangeLog
- cd doc || die
- doman asy.1
- doinfo png/${PN}.info
- if use doc; then
- dodoc FAQ/asy-faq.ascii
- dodoc CAD.pdf asy-latex.pdf asyRefCard.pdf asymptote.pdf
- fi
- cd .. || die
-
- # asymptote.py
- if use python; then
- python_moduleinto ${PN}
- python_foreach_impl python_domodule aspy.py
- python_foreach_impl python_domodule base/${PN}.py
- fi
-
- # X GUI
- if use X; then
- cd GUI || die
- python_setup
- sed -e 1d -i xasy.py
- echo "#!/usr/bin/env ${EPYTHON}" > xasy1
- cat xasy1 xasy.py > xasy
- rm xasy1 xasy.py
- mv xasy xasy.py
- cd .. || die
- python_domodule GUI
- chmod 755 "${D}/$(python_get_sitedir)/${PN}/GUI/xasy.py"
- dosym "$(python_get_sitedir)/${PN}/GUI/xasy.py" /usr/bin/xasy
- doman doc/xasy.1x
- fi
-
- # examples
- if use examples; then
- docinto examples
- dodoc \
- examples/*.asy \
- examples/*.views \
- examples/*.dat \
- examples/*.bib \
- examples/*.png \
- examples/*.pdb1 \
- doc/*.asy \
- doc/*.csv \
- doc/*.dat \
- doc/pixel.pdf \
- doc/extra/*.asy
- docinto examples/animations
- dodoc examples/animations/*.asy
- fi
-
- # LaTeX style
- if use latex; then
- cd doc || die
- insinto "${TEXMF}"/tex/latex/${PN}
- doins *.sty latexmkrc
- if use examples; then
- docinto examples
- dodoc latexusage.tex externalprc.tex
- docinto examples/animations
- dodoc ../examples/animations/*.tex
- fi
- cd .. || die
- fi
-
- # ConTeXt
- if use context; then
- insinto /usr/share/texmf-site/tex/context
- doins doc/colo-asy.tex
- fi
-
- # emacs mode
- if use emacs; then
- elisp-install ${PN} base/*.el base/*.elc asy-keywords.el
- elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
- fi
-
- # vim syntax
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins base/asy.vim
- insinto /usr/share/vim/vimfiles/ftdetect
- doins base/asy_filetype.vim
- fi
-}
-
-pkg_postinst() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-
- elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
- elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
-}
-
-pkg_postrm() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-}
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2024-04-14 5:12 Andrey Grozin
0 siblings, 0 replies; 61+ messages in thread
From: Andrey Grozin @ 2024-04-14 5:12 UTC (permalink / raw
To: gentoo-commits
commit: 52256a60f417548d35c98ce5fb714e44831e4f98
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 14 05:12:06 2024 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Sun Apr 14 05:12:06 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52256a60
media-gfx/asymptote: bump to 2.89
Closes: https://bugs.gentoo.org/929612
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
media-gfx/asymptote/Manifest | 1 +
media-gfx/asymptote/asymptote-2.89.ebuild | 243 ++++++++++++++++++++++++++++++
2 files changed, 244 insertions(+)
diff --git a/media-gfx/asymptote/Manifest b/media-gfx/asymptote/Manifest
index 805af350f4cc..b4bfc5dfb678 100644
--- a/media-gfx/asymptote/Manifest
+++ b/media-gfx/asymptote/Manifest
@@ -1 +1,2 @@
DIST asymptote-2.86.src.tgz 15118426 BLAKE2B 305edae6653094a5daa9f136951cfcc3f8ece1dc8e616593710e0bace350a95f61729f8d7a9522a14704300a6cfd15decb1bb634e58dba1626f09c053b6b368b SHA512 9e11dbfca10379f07b50dcce0d63c12b793f47741651b1804cf0825e87604c40b5b94acf343ce7f5ca7da83b5ebb0e213090ada80e0b6ebe4f6cec9db67209d6
+DIST asymptote-2.89.src.tgz 15133552 BLAKE2B bde5acd3e76543b3c936e785ccf081c38687d535f336ee0e3da62f5fe078bb040dc162b64f02e94f392129c120bdf497b86e3862059abdb1b4544bab3cce3218 SHA512 a9874f0dc6eb05b95ef551611d85f39222af2a0628d7904160b08bdaf797c2b9ec6d12af7ae26dee69dbc056a5bffad4e450d4846a517d80990d89759e0c47a0
diff --git a/media-gfx/asymptote/asymptote-2.89.ebuild b/media-gfx/asymptote/asymptote-2.89.ebuild
new file mode 100644
index 000000000000..a0b459eb65fa
--- /dev/null
+++ b/media-gfx/asymptote/asymptote-2.89.ebuild
@@ -0,0 +1,243 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit autotools elisp-common latex-package python-r1
+
+DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
+HOMEPAGE="https://asymptote.sourceforge.io/"
+SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ offscreen? ( opengl )
+ doc? ( boehm-gc )"
+
+RDEPEND="
+ >=sys-libs/ncurses-5.4-r5:0=
+ >=sys-libs/readline-4.3-r5:0=
+ net-libs/libtirpc:=
+ imagemagick? ( media-gfx/imagemagick[png] )
+ opengl? ( media-libs/mesa[X(+)] media-libs/freeglut media-libs/glew:0 media-libs/glm )
+ offscreen? ( media-libs/mesa[osmesa] )
+ svg? ( app-text/dvisvgm )
+ sigsegv? ( dev-libs/libsigsegv )
+ boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
+ fftw? ( >=sci-libs/fftw-3.0.1:= )
+ gsl? ( sci-libs/gsl:= )
+ python? ( ${PYTHON_DEPS} )
+ curl? ( net-misc/curl )
+ lsp? (
+ dev-libs/boost
+ dev-libs/rapidjson
+ dev-libs/utfcpp
+ )
+ X? (
+ ${PYTHON_DEPS}
+ dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,svg]
+ dev-python/cson
+ dev-python/numpy
+ >=gnome-base/librsvg-2.40
+ )
+ latex? (
+ virtual/latex-base
+ dev-texlive/texlive-latexextra
+ )
+ context? ( dev-texlive/texlive-context )
+ emacs? ( >=app-editors/emacs-23.1:* )
+ vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ doc? (
+ media-gfx/imagemagick[png]
+ virtual/texi2dvi
+ virtual/latex-base
+ dev-texlive/texlive-latexextra
+ app-text/ghostscript-gpl )
+ test? ( app-text/ghostscript-gpl )"
+
+TEXMF=/usr/share/texmf-site
+
+PATCHES=(
+ # Changing pdf, ps, image viewers to xdg-open
+ "${FILESDIR}/${PN}-2.85-xdg-utils.patch"
+
+ # Bug #322473
+ "${FILESDIR}/${PN}-2.70-info.patch"
+)
+
+src_prepare() {
+ sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
+ -i configure.ac \
+ || die "sed configure.ac failed"
+
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # for the CPPFLAGS see
+ # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
+ econf \
+ CPPFLAGS=-DHAVE_SYS_TYPES_H \
+ CFLAGS="${CXXFLAGS}" \
+ --disable-gc-debug \
+ --disable-gc-full-debug \
+ --with-latex=/usr/share/texmf-site/tex/latex \
+ --with-context=/usr/share/texmf-site/tex/context \
+ $(use_enable boehm-gc gc system) \
+ $(use_enable curl) \
+ $(use_enable lsp) \
+ $(use_enable fftw) \
+ $(use_enable gsl) \
+ $(use_enable opengl gl) \
+ $(use_enable offscreen) \
+ $(use_enable sigsegv)
+}
+
+src_compile() {
+ default
+
+ cd doc || die
+ emake asy.1
+ einfo "Making info"
+ cd png || die
+ emake ${PN}.info
+ cd .. || die
+ if use doc; then
+ cd FAQ || die
+ emake
+ cd .. || die
+ # pdf
+ einfo "Making pdf docs"
+ export VARTEXFONTS="${T}"/fonts
+ # see bug #260606
+ emake -j1 asymptote.pdf
+ emake CAD.pdf asy-latex.pdf asyRefCard.pdf
+ fi
+ cd .. || die
+
+ if use emacs; then
+ einfo "Compiling emacs lisp files"
+ elisp-compile base/*.el
+ fi
+}
+
+src_install() {
+ # the program
+ dobin asy
+
+ # .asy files
+ insinto /usr/share/${PN}
+ doins -r base/*.asy base/*.js base/*.sh base/*.ps base/shaders base/webgl
+ chmod 755 "${D}"/usr/share/${PN}/shaders/*
+
+ # documentation
+ dodoc README ReleaseNotes ChangeLog
+ cd doc || die
+ doman asy.1
+ doinfo png/${PN}.info
+ if use doc; then
+ dodoc FAQ/asy-faq.ascii
+ dodoc CAD.pdf asy-latex.pdf asyRefCard.pdf asymptote.pdf
+ fi
+ cd .. || die
+
+ # asymptote.py
+ if use python; then
+ python_moduleinto ${PN}
+ python_foreach_impl python_domodule aspy.py
+ python_foreach_impl python_domodule base/${PN}.py
+ fi
+
+ # X GUI
+ if use X; then
+ cd GUI || die
+ python_setup
+ sed -e 1d -i xasy.py
+ echo "#!/usr/bin/env ${EPYTHON}" > xasy1
+ cat xasy1 xasy.py > xasy
+ rm xasy1 xasy.py
+ mv xasy xasy.py
+ cd .. || die
+ python_domodule GUI
+ chmod 755 "${D}/$(python_get_sitedir)/${PN}/GUI/xasy.py"
+ dosym "$(python_get_sitedir)/${PN}/GUI/xasy.py" /usr/bin/xasy
+ doman doc/xasy.1x
+ fi
+
+ # examples
+ if use examples; then
+ docinto examples
+ dodoc \
+ examples/*.asy \
+ examples/*.views \
+ examples/*.dat \
+ examples/*.bib \
+ examples/*.png \
+ examples/*.pdb1 \
+ doc/*.asy \
+ doc/*.csv \
+ doc/*.dat \
+ doc/pixel.pdf \
+ doc/extra/*.asy
+ docinto examples/animations
+ dodoc examples/animations/*.asy
+ fi
+
+ # LaTeX style
+ if use latex; then
+ cd doc || die
+ insinto "${TEXMF}"/tex/latex/${PN}
+ doins *.sty latexmkrc
+ if use examples; then
+ docinto examples
+ dodoc latexusage.tex externalprc.tex
+ docinto examples/animations
+ dodoc ../examples/animations/*.tex
+ fi
+ cd .. || die
+ fi
+
+ # ConTeXt
+ if use context; then
+ insinto /usr/share/texmf-site/tex/context
+ doins doc/colo-asy.tex
+ fi
+
+ # emacs mode
+ if use emacs; then
+ elisp-install ${PN} base/*.el base/*.elc asy-keywords.el
+ elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+ fi
+
+ # vim syntax
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles/syntax
+ doins base/asy.vim
+ insinto /usr/share/vim/vimfiles/ftdetect
+ doins base/asy_filetype.vim
+ fi
+}
+
+pkg_postinst() {
+ use latex && latex-package_rehash
+ use emacs && elisp-site-regen
+
+ elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
+ elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
+}
+
+pkg_postrm() {
+ use latex && latex-package_rehash
+ use emacs && elisp-site-regen
+}
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2024-05-28 13:19 Sam James
0 siblings, 0 replies; 61+ messages in thread
From: Sam James @ 2024-05-28 13:19 UTC (permalink / raw
To: gentoo-commits
commit: 570f7a258e33c3e1b6a8881037ffe9c16521e82d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 28 13:18:37 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 28 13:18:37 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=570f7a25
media-gfx/asymptote: Stabilize 2.89 x86, #932977
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.89.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/asymptote/asymptote-2.89.ebuild b/media-gfx/asymptote/asymptote-2.89.ebuild
index 41e78e722943..4d5f2597bae7 100644
--- a/media-gfx/asymptote/asymptote-2.89.ebuild
+++ b/media-gfx/asymptote/asymptote-2.89.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://downloads.sourceforge.net/asymptote/${P}.src.tgz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~amd64 ~ppc ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2024-05-28 20:49 Sam James
0 siblings, 0 replies; 61+ messages in thread
From: Sam James @ 2024-05-28 20:49 UTC (permalink / raw
To: gentoo-commits
commit: 4a1843f76a98eba1c8d69c0ac73af6bcc8405899
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 28 20:47:20 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 28 20:47:20 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a1843f7
media-gfx/asymptote: Stabilize 2.89 amd64, #932977
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-gfx/asymptote/asymptote-2.89.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/asymptote/asymptote-2.89.ebuild b/media-gfx/asymptote/asymptote-2.89.ebuild
index 4d5f2597bae7..8d3f1ada6331 100644
--- a/media-gfx/asymptote/asymptote-2.89.ebuild
+++ b/media-gfx/asymptote/asymptote-2.89.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://downloads.sourceforge.net/asymptote/${P}.src.tgz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~ppc ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2024-07-02 9:56 Andrey Grozin
0 siblings, 0 replies; 61+ messages in thread
From: Andrey Grozin @ 2024-07-02 9:56 UTC (permalink / raw
To: gentoo-commits
commit: 0e87e52bf54e4dafaf975c5d79260e1fe2f3132d
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 2 09:56:03 2024 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Tue Jul 2 09:56:39 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e87e52b
media-gfx/asymptote: bump to 2.90
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
media-gfx/asymptote/Manifest | 1 +
media-gfx/asymptote/asymptote-2.90.ebuild | 243 ++++++++++++++++++++++++++++++
2 files changed, 244 insertions(+)
diff --git a/media-gfx/asymptote/Manifest b/media-gfx/asymptote/Manifest
index b4bfc5dfb678..cdd52256a4c5 100644
--- a/media-gfx/asymptote/Manifest
+++ b/media-gfx/asymptote/Manifest
@@ -1,2 +1,3 @@
DIST asymptote-2.86.src.tgz 15118426 BLAKE2B 305edae6653094a5daa9f136951cfcc3f8ece1dc8e616593710e0bace350a95f61729f8d7a9522a14704300a6cfd15decb1bb634e58dba1626f09c053b6b368b SHA512 9e11dbfca10379f07b50dcce0d63c12b793f47741651b1804cf0825e87604c40b5b94acf343ce7f5ca7da83b5ebb0e213090ada80e0b6ebe4f6cec9db67209d6
DIST asymptote-2.89.src.tgz 15133552 BLAKE2B bde5acd3e76543b3c936e785ccf081c38687d535f336ee0e3da62f5fe078bb040dc162b64f02e94f392129c120bdf497b86e3862059abdb1b4544bab3cce3218 SHA512 a9874f0dc6eb05b95ef551611d85f39222af2a0628d7904160b08bdaf797c2b9ec6d12af7ae26dee69dbc056a5bffad4e450d4846a517d80990d89759e0c47a0
+DIST asymptote-2.90.src.tgz 15154576 BLAKE2B 57e3c4287f2e8a6b6f3d660cdd04bb753b435294d4769bbcf84d6c7bf80c813609528767af7d19853d9f72f4f1ce9e6a8dcc6a75731a2f3d16098d5da5b81b6c SHA512 2d050f7a2cfc34d2d6b5382a48e7bf09031d98a77e61b654b4af84b5e8e11553a9a713a6dea8d09291761427d7134742a3d266e57ac57ffda3587ec0487ecfca
diff --git a/media-gfx/asymptote/asymptote-2.90.ebuild b/media-gfx/asymptote/asymptote-2.90.ebuild
new file mode 100644
index 000000000000..41e78e722943
--- /dev/null
+++ b/media-gfx/asymptote/asymptote-2.90.ebuild
@@ -0,0 +1,243 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit autotools elisp-common latex-package python-r1
+
+DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
+HOMEPAGE="https://asymptote.sourceforge.io/"
+SRC_URI="https://downloads.sourceforge.net/asymptote/${P}.src.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ offscreen? ( opengl )
+ doc? ( boehm-gc )"
+
+RDEPEND="
+ >=sys-libs/ncurses-5.4-r5:0=
+ >=sys-libs/readline-4.3-r5:0=
+ net-libs/libtirpc:=
+ imagemagick? ( media-gfx/imagemagick[png] )
+ opengl? ( media-libs/mesa[X(+)] media-libs/freeglut media-libs/glew:0 media-libs/glm )
+ offscreen? ( media-libs/mesa[osmesa] )
+ svg? ( app-text/dvisvgm )
+ sigsegv? ( dev-libs/libsigsegv )
+ boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
+ fftw? ( >=sci-libs/fftw-3.0.1:= )
+ gsl? ( sci-libs/gsl:= )
+ python? ( ${PYTHON_DEPS} )
+ curl? ( net-misc/curl )
+ lsp? (
+ dev-libs/boost
+ dev-libs/rapidjson
+ dev-libs/utfcpp
+ )
+ X? (
+ ${PYTHON_DEPS}
+ dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,svg]
+ dev-python/cson
+ dev-python/numpy
+ >=gnome-base/librsvg-2.40
+ )
+ latex? (
+ virtual/latex-base
+ dev-texlive/texlive-latexextra
+ )
+ context? ( dev-texlive/texlive-context )
+ emacs? ( >=app-editors/emacs-23.1:* )
+ vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ doc? (
+ media-gfx/imagemagick[png]
+ virtual/texi2dvi
+ virtual/latex-base
+ dev-texlive/texlive-latexextra
+ app-text/ghostscript-gpl )
+ test? ( app-text/ghostscript-gpl )"
+
+TEXMF=/usr/share/texmf-site
+
+PATCHES=(
+ # Changing pdf, ps, image viewers to xdg-open
+ "${FILESDIR}/${PN}-2.85-xdg-utils.patch"
+
+ # Bug #322473
+ "${FILESDIR}/${PN}-2.70-info.patch"
+)
+
+src_prepare() {
+ sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
+ -i configure.ac \
+ || die "sed configure.ac failed"
+
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # for the CPPFLAGS see
+ # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
+ econf \
+ CPPFLAGS=-DHAVE_SYS_TYPES_H \
+ CFLAGS="${CXXFLAGS}" \
+ --disable-gc-debug \
+ --disable-gc-full-debug \
+ --with-latex=/usr/share/texmf-site/tex/latex \
+ --with-context=/usr/share/texmf-site/tex/context \
+ $(use_enable boehm-gc gc system) \
+ $(use_enable curl) \
+ $(use_enable lsp) \
+ $(use_enable fftw) \
+ $(use_enable gsl) \
+ $(use_enable opengl gl) \
+ $(use_enable offscreen) \
+ $(use_enable sigsegv)
+}
+
+src_compile() {
+ default
+
+ cd doc || die
+ emake asy.1
+ einfo "Making info"
+ cd png || die
+ emake ${PN}.info
+ cd .. || die
+ if use doc; then
+ cd FAQ || die
+ emake
+ cd .. || die
+ # pdf
+ einfo "Making pdf docs"
+ export VARTEXFONTS="${T}"/fonts
+ # see bug #260606
+ emake -j1 asymptote.pdf
+ emake CAD.pdf asy-latex.pdf asyRefCard.pdf
+ fi
+ cd .. || die
+
+ if use emacs; then
+ einfo "Compiling emacs lisp files"
+ elisp-compile base/*.el
+ fi
+}
+
+src_install() {
+ # the program
+ dobin asy
+
+ # .asy files
+ insinto /usr/share/${PN}
+ doins -r base/*.asy base/*.js base/*.sh base/*.ps base/shaders base/webgl
+ chmod 755 "${D}"/usr/share/${PN}/shaders/*
+
+ # documentation
+ dodoc README ReleaseNotes ChangeLog
+ cd doc || die
+ doman asy.1
+ doinfo png/${PN}.info
+ if use doc; then
+ dodoc FAQ/asy-faq.ascii
+ dodoc CAD.pdf asy-latex.pdf asyRefCard.pdf asymptote.pdf
+ fi
+ cd .. || die
+
+ # asymptote.py
+ if use python; then
+ python_moduleinto ${PN}
+ python_foreach_impl python_domodule aspy.py
+ python_foreach_impl python_domodule base/${PN}.py
+ fi
+
+ # X GUI
+ if use X; then
+ cd GUI || die
+ python_setup
+ sed -e 1d -i xasy.py
+ echo "#!/usr/bin/env ${EPYTHON}" > xasy1
+ cat xasy1 xasy.py > xasy
+ rm xasy1 xasy.py
+ mv xasy xasy.py
+ cd .. || die
+ python_domodule GUI
+ chmod 755 "${D}/$(python_get_sitedir)/${PN}/GUI/xasy.py"
+ dosym "$(python_get_sitedir)/${PN}/GUI/xasy.py" /usr/bin/xasy
+ doman doc/xasy.1x
+ fi
+
+ # examples
+ if use examples; then
+ docinto examples
+ dodoc \
+ examples/*.asy \
+ examples/*.views \
+ examples/*.dat \
+ examples/*.bib \
+ examples/*.png \
+ examples/*.pdb1 \
+ doc/*.asy \
+ doc/*.csv \
+ doc/*.dat \
+ doc/pixel.pdf \
+ doc/extra/*.asy
+ docinto examples/animations
+ dodoc examples/animations/*.asy
+ fi
+
+ # LaTeX style
+ if use latex; then
+ cd doc || die
+ insinto "${TEXMF}"/tex/latex/${PN}
+ doins *.sty latexmkrc
+ if use examples; then
+ docinto examples
+ dodoc latexusage.tex externalprc.tex
+ docinto examples/animations
+ dodoc ../examples/animations/*.tex
+ fi
+ cd .. || die
+ fi
+
+ # ConTeXt
+ if use context; then
+ insinto /usr/share/texmf-site/tex/context
+ doins doc/colo-asy.tex
+ fi
+
+ # emacs mode
+ if use emacs; then
+ elisp-install ${PN} base/*.el base/*.elc asy-keywords.el
+ elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+ fi
+
+ # vim syntax
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles/syntax
+ doins base/asy.vim
+ insinto /usr/share/vim/vimfiles/ftdetect
+ doins base/asy_filetype.vim
+ fi
+}
+
+pkg_postinst() {
+ use latex && latex-package_rehash
+ use emacs && elisp-site-regen
+
+ elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
+ elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
+}
+
+pkg_postrm() {
+ use latex && latex-package_rehash
+ use emacs && elisp-site-regen
+}
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2024-07-02 9:58 Andrey Grozin
0 siblings, 0 replies; 61+ messages in thread
From: Andrey Grozin @ 2024-07-02 9:58 UTC (permalink / raw
To: gentoo-commits
commit: 25d5fb333706b34305ac0c928fb2135bd13c8aeb
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 2 09:58:21 2024 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Tue Jul 2 09:58:21 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25d5fb33
media-gfx/asymptote: remove old version
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
media-gfx/asymptote/Manifest | 1 -
media-gfx/asymptote/asymptote-2.86.ebuild | 245 ------------------------------
2 files changed, 246 deletions(-)
diff --git a/media-gfx/asymptote/Manifest b/media-gfx/asymptote/Manifest
index cdd52256a4c5..ead92a207efb 100644
--- a/media-gfx/asymptote/Manifest
+++ b/media-gfx/asymptote/Manifest
@@ -1,3 +1,2 @@
-DIST asymptote-2.86.src.tgz 15118426 BLAKE2B 305edae6653094a5daa9f136951cfcc3f8ece1dc8e616593710e0bace350a95f61729f8d7a9522a14704300a6cfd15decb1bb634e58dba1626f09c053b6b368b SHA512 9e11dbfca10379f07b50dcce0d63c12b793f47741651b1804cf0825e87604c40b5b94acf343ce7f5ca7da83b5ebb0e213090ada80e0b6ebe4f6cec9db67209d6
DIST asymptote-2.89.src.tgz 15133552 BLAKE2B bde5acd3e76543b3c936e785ccf081c38687d535f336ee0e3da62f5fe078bb040dc162b64f02e94f392129c120bdf497b86e3862059abdb1b4544bab3cce3218 SHA512 a9874f0dc6eb05b95ef551611d85f39222af2a0628d7904160b08bdaf797c2b9ec6d12af7ae26dee69dbc056a5bffad4e450d4846a517d80990d89759e0c47a0
DIST asymptote-2.90.src.tgz 15154576 BLAKE2B 57e3c4287f2e8a6b6f3d660cdd04bb753b435294d4769bbcf84d6c7bf80c813609528767af7d19853d9f72f4f1ce9e6a8dcc6a75731a2f3d16098d5da5b81b6c SHA512 2d050f7a2cfc34d2d6b5382a48e7bf09031d98a77e61b654b4af84b5e8e11553a9a713a6dea8d09291761427d7134742a3d266e57ac57ffda3587ec0487ecfca
diff --git a/media-gfx/asymptote/asymptote-2.86.ebuild b/media-gfx/asymptote/asymptote-2.86.ebuild
deleted file mode 100644
index 521d51dbce85..000000000000
--- a/media-gfx/asymptote/asymptote-2.86.ebuild
+++ /dev/null
@@ -1,245 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit autotools elisp-common latex-package python-r1
-
-DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
-HOMEPAGE="https://asymptote.sourceforge.io/"
-SRC_URI="https://downloads.sourceforge.net/asymptote/${P}.src.tgz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
- ${PYTHON_REQUIRED_USE}
- offscreen? ( opengl )
- doc? ( boehm-gc )"
-
-RDEPEND="
- >=sys-libs/ncurses-5.4-r5:0=
- >=sys-libs/readline-4.3-r5:0=
- net-libs/libtirpc:=
- imagemagick? ( media-gfx/imagemagick[png] )
- opengl? ( media-libs/mesa[X(+)] media-libs/freeglut media-libs/glew:0 media-libs/glm )
- offscreen? ( media-libs/mesa[osmesa] )
- svg? ( app-text/dvisvgm )
- sigsegv? ( dev-libs/libsigsegv )
- boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
- fftw? ( >=sci-libs/fftw-3.0.1:= )
- gsl? ( sci-libs/gsl:= )
- python? ( ${PYTHON_DEPS} )
- curl? ( net-misc/curl )
- lsp? (
- dev-libs/boost
- dev-libs/rapidjson
- dev-libs/utfcpp
- )
- X? (
- ${PYTHON_DEPS}
- dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,svg]
- dev-python/cson
- dev-python/numpy
- >=gnome-base/librsvg-2.40
- )
- latex? (
- virtual/latex-base
- dev-texlive/texlive-latexextra
- )
- context? ( dev-texlive/texlive-context )
- emacs? ( >=app-editors/emacs-23.1:* )
- vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
-DEPEND="${RDEPEND}
- dev-lang/perl
- doc? (
- media-gfx/imagemagick[png]
- virtual/texi2dvi
- virtual/latex-base
- dev-texlive/texlive-latexextra
- app-text/ghostscript-gpl )
- test? ( app-text/ghostscript-gpl )"
-
-TEXMF=/usr/share/texmf-site
-
-PATCHES=(
- # Changing pdf, ps, image viewers to xdg-open
- "${FILESDIR}/${PN}-2.85-xdg-utils.patch"
-
- # Bug #322473
- "${FILESDIR}/${PN}-2.70-info.patch"
-
- "${FILESDIR}/${PN}-2.86-without-lsp.patch"
-)
-
-src_prepare() {
- sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
- -i configure.ac \
- || die "sed configure.ac failed"
-
- default
- eautoreconf
-}
-
-src_configure() {
- # for the CPPFLAGS see
- # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
- econf \
- CPPFLAGS=-DHAVE_SYS_TYPES_H \
- CFLAGS="${CXXFLAGS}" \
- --disable-gc-debug \
- --disable-gc-full-debug \
- --with-latex=/usr/share/texmf-site/tex/latex \
- --with-context=/usr/share/texmf-site/tex/context \
- $(use_enable boehm-gc gc system) \
- $(use_enable curl) \
- $(use_enable lsp) \
- $(use_enable fftw) \
- $(use_enable gsl) \
- $(use_enable opengl gl) \
- $(use_enable offscreen) \
- $(use_enable sigsegv)
-}
-
-src_compile() {
- default
-
- cd doc || die
- emake asy.1
- einfo "Making info"
- cd png || die
- emake ${PN}.info
- cd .. || die
- if use doc; then
- cd FAQ || die
- emake
- cd .. || die
- # pdf
- einfo "Making pdf docs"
- export VARTEXFONTS="${T}"/fonts
- # see bug #260606
- emake -j1 asymptote.pdf
- emake CAD.pdf asy-latex.pdf asyRefCard.pdf
- fi
- cd .. || die
-
- if use emacs; then
- einfo "Compiling emacs lisp files"
- elisp-compile base/*.el
- fi
-}
-
-src_install() {
- # the program
- dobin asy
-
- # .asy files
- insinto /usr/share/${PN}
- doins -r base/*.asy base/*.js base/*.sh base/*.ps base/shaders base/webgl
- chmod 755 "${D}"/usr/share/${PN}/shaders/*
-
- # documentation
- dodoc README ReleaseNotes ChangeLog
- cd doc || die
- doman asy.1
- doinfo png/${PN}.info
- if use doc; then
- dodoc FAQ/asy-faq.ascii
- dodoc CAD.pdf asy-latex.pdf asyRefCard.pdf asymptote.pdf
- fi
- cd .. || die
-
- # asymptote.py
- if use python; then
- python_moduleinto ${PN}
- python_foreach_impl python_domodule aspy.py
- python_foreach_impl python_domodule base/${PN}.py
- fi
-
- # X GUI
- if use X; then
- cd GUI || die
- python_setup
- sed -e 1d -i xasy.py
- echo "#!/usr/bin/env ${EPYTHON}" > xasy1
- cat xasy1 xasy.py > xasy
- rm xasy1 xasy.py
- mv xasy xasy.py
- cd .. || die
- python_domodule GUI
- chmod 755 "${D}/$(python_get_sitedir)/${PN}/GUI/xasy.py"
- dosym "$(python_get_sitedir)/${PN}/GUI/xasy.py" /usr/bin/xasy
- doman doc/xasy.1x
- fi
-
- # examples
- if use examples; then
- docinto examples
- dodoc \
- examples/*.asy \
- examples/*.views \
- examples/*.dat \
- examples/*.bib \
- examples/*.png \
- examples/*.pdb1 \
- doc/*.asy \
- doc/*.csv \
- doc/*.dat \
- doc/pixel.pdf \
- doc/extra/*.asy
- docinto examples/animations
- dodoc examples/animations/*.asy
- fi
-
- # LaTeX style
- if use latex; then
- cd doc || die
- insinto "${TEXMF}"/tex/latex/${PN}
- doins *.sty latexmkrc
- if use examples; then
- docinto examples
- dodoc latexusage.tex externalprc.tex
- docinto examples/animations
- dodoc ../examples/animations/*.tex
- fi
- cd .. || die
- fi
-
- # ConTeXt
- if use context; then
- insinto /usr/share/texmf-site/tex/context
- doins doc/colo-asy.tex
- fi
-
- # emacs mode
- if use emacs; then
- elisp-install ${PN} base/*.el base/*.elc asy-keywords.el
- elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
- fi
-
- # vim syntax
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins base/asy.vim
- insinto /usr/share/vim/vimfiles/ftdetect
- doins base/asy_filetype.vim
- fi
-}
-
-pkg_postinst() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-
- elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
- elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
-}
-
-pkg_postrm() {
- use latex && latex-package_rehash
- use emacs && elisp-site-regen
-}
^ permalink raw reply related [flat|nested] 61+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/
@ 2024-11-02 8:13 Andrey Grozin
0 siblings, 0 replies; 61+ messages in thread
From: Andrey Grozin @ 2024-11-02 8:13 UTC (permalink / raw
To: gentoo-commits
commit: f2e76456a8b391cc9f41029b002691621b6d34b0
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 2 08:13:03 2024 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Sat Nov 2 08:13:03 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2e76456
media-gfx/asymptote: bump to 2.92
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
media-gfx/asymptote/Manifest | 1 +
media-gfx/asymptote/asymptote-2.92.ebuild | 243 ++++++++++++++++++++++++++++++
2 files changed, 244 insertions(+)
diff --git a/media-gfx/asymptote/Manifest b/media-gfx/asymptote/Manifest
index ead92a207efb..d9b42c10937d 100644
--- a/media-gfx/asymptote/Manifest
+++ b/media-gfx/asymptote/Manifest
@@ -1,2 +1,3 @@
DIST asymptote-2.89.src.tgz 15133552 BLAKE2B bde5acd3e76543b3c936e785ccf081c38687d535f336ee0e3da62f5fe078bb040dc162b64f02e94f392129c120bdf497b86e3862059abdb1b4544bab3cce3218 SHA512 a9874f0dc6eb05b95ef551611d85f39222af2a0628d7904160b08bdaf797c2b9ec6d12af7ae26dee69dbc056a5bffad4e450d4846a517d80990d89759e0c47a0
DIST asymptote-2.90.src.tgz 15154576 BLAKE2B 57e3c4287f2e8a6b6f3d660cdd04bb753b435294d4769bbcf84d6c7bf80c813609528767af7d19853d9f72f4f1ce9e6a8dcc6a75731a2f3d16098d5da5b81b6c SHA512 2d050f7a2cfc34d2d6b5382a48e7bf09031d98a77e61b654b4af84b5e8e11553a9a713a6dea8d09291761427d7134742a3d266e57ac57ffda3587ec0487ecfca
+DIST asymptote-2.92.src.tgz 17075592 BLAKE2B 426fe3bb652f2f227d6f8cdd8e05c4b4bf0e2a0c47b3c252c5efb189ad3e7a0946664d714f161f70a9715f75dadf5510445e404d8c2e7b33f9e710200965caf0 SHA512 242a91357e7f0d2a4fc786fa881498d09d5b3b679cf1ee83e6af49f645935699a6e703eb8069446e11098028bc0cb0549f527695d3ea289066124d707c592559
diff --git a/media-gfx/asymptote/asymptote-2.92.ebuild b/media-gfx/asymptote/asymptote-2.92.ebuild
new file mode 100644
index 000000000000..ca9e0caa6681
--- /dev/null
+++ b/media-gfx/asymptote/asymptote-2.92.ebuild
@@ -0,0 +1,243 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit autotools elisp-common latex-package python-r1
+
+DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
+HOMEPAGE="https://asymptote.sourceforge.io/"
+SRC_URI="https://downloads.sourceforge.net/asymptote/${P}.src.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex lsp offscreen +opengl python sigsegv svg test vim-syntax X"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ offscreen? ( opengl )
+ doc? ( boehm-gc )"
+
+RDEPEND="
+ >=sys-libs/ncurses-5.4-r5:0=
+ >=sys-libs/readline-4.3-r5:0=
+ net-libs/libtirpc:=
+ imagemagick? ( media-gfx/imagemagick[png] )
+ opengl? ( media-libs/mesa[X(+)] media-libs/freeglut media-libs/glew:0 media-libs/glm )
+ offscreen? ( media-libs/mesa[osmesa] )
+ svg? ( app-text/dvisvgm )
+ sigsegv? ( dev-libs/libsigsegv )
+ boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
+ fftw? ( >=sci-libs/fftw-3.0.1:= )
+ gsl? ( sci-libs/gsl:= )
+ python? ( ${PYTHON_DEPS} )
+ curl? ( net-misc/curl )
+ lsp? (
+ dev-libs/boost
+ dev-libs/rapidjson
+ dev-libs/utfcpp
+ )
+ X? (
+ ${PYTHON_DEPS}
+ dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,svg]
+ dev-python/cson
+ dev-python/numpy
+ >=gnome-base/librsvg-2.40
+ )
+ latex? (
+ virtual/latex-base
+ dev-texlive/texlive-latexextra
+ )
+ context? ( dev-texlive/texlive-context )
+ emacs? ( >=app-editors/emacs-23.1:* )
+ vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ doc? (
+ media-gfx/imagemagick[png]
+ virtual/texi2dvi
+ virtual/latex-base
+ dev-texlive/texlive-latexextra
+ app-text/ghostscript-gpl )
+ test? ( app-text/ghostscript-gpl )"
+
+TEXMF=/usr/share/texmf-site
+
+PATCHES=(
+ # Changing pdf, ps, image viewers to xdg-open
+ "${FILESDIR}/${PN}-2.92-xdg-utils.patch"
+
+ # Bug #322473
+ "${FILESDIR}/${PN}-2.70-info.patch"
+)
+
+src_prepare() {
+ sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
+ -i configure.ac \
+ || die "sed configure.ac failed"
+
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # for the CPPFLAGS see
+ # https://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
+ econf \
+ CPPFLAGS=-DHAVE_SYS_TYPES_H \
+ CFLAGS="${CXXFLAGS}" \
+ --disable-gc-debug \
+ --disable-gc-full-debug \
+ --with-latex=/usr/share/texmf-site/tex/latex \
+ --with-context=/usr/share/texmf-site/tex/context \
+ $(use_enable boehm-gc gc system) \
+ $(use_enable curl) \
+ $(use_enable lsp) \
+ $(use_enable fftw) \
+ $(use_enable gsl) \
+ $(use_enable opengl gl) \
+ $(use_enable offscreen) \
+ $(use_enable sigsegv)
+}
+
+src_compile() {
+ default
+
+ cd doc || die
+ emake asy.1
+ einfo "Making info"
+ cd png || die
+ emake ${PN}.info
+ cd .. || die
+ if use doc; then
+ cd FAQ || die
+ emake
+ cd .. || die
+ # pdf
+ einfo "Making pdf docs"
+ export VARTEXFONTS="${T}"/fonts
+ # see bug #260606
+ emake -j1 asymptote.pdf
+ emake CAD.pdf asy-latex.pdf asyRefCard.pdf
+ fi
+ cd .. || die
+
+ if use emacs; then
+ einfo "Compiling emacs lisp files"
+ elisp-compile base/*.el
+ fi
+}
+
+src_install() {
+ # the program
+ dobin asy
+
+ # .asy files
+ insinto /usr/share/${PN}
+ doins -r base/*.asy base/*.js base/*.sh base/*.ps base/shaders base/webgl
+ chmod 755 "${D}"/usr/share/${PN}/shaders/*
+
+ # documentation
+ dodoc README ReleaseNotes ChangeLog
+ cd doc || die
+ doman asy.1
+ doinfo png/${PN}.info
+ if use doc; then
+ dodoc FAQ/asy-faq.ascii
+ dodoc CAD.pdf asy-latex.pdf asyRefCard.pdf asymptote.pdf
+ fi
+ cd .. || die
+
+ # asymptote.py
+ if use python; then
+ python_moduleinto ${PN}
+ python_foreach_impl python_domodule aspy.py
+ python_foreach_impl python_domodule base/${PN}.py
+ fi
+
+ # X GUI
+ if use X; then
+ cd GUI || die
+ python_setup
+ sed -e 1d -i xasy.py
+ echo "#!/usr/bin/env ${EPYTHON}" > xasy1
+ cat xasy1 xasy.py > xasy
+ rm xasy1 xasy.py
+ mv xasy xasy.py
+ cd .. || die
+ python_domodule GUI
+ chmod 755 "${D}/$(python_get_sitedir)/${PN}/GUI/xasy.py"
+ dosym "$(python_get_sitedir)/${PN}/GUI/xasy.py" /usr/bin/xasy
+ doman doc/xasy.1x
+ fi
+
+ # examples
+ if use examples; then
+ docinto examples
+ dodoc \
+ examples/*.asy \
+ examples/*.views \
+ examples/*.dat \
+ examples/*.bib \
+ examples/*.png \
+ examples/*.pdb1 \
+ doc/*.asy \
+ doc/*.csv \
+ doc/*.dat \
+ doc/pixel.pdf \
+ doc/extra/*.asy
+ docinto examples/animations
+ dodoc examples/animations/*.asy
+ fi
+
+ # LaTeX style
+ if use latex; then
+ cd doc || die
+ insinto "${TEXMF}"/tex/latex/${PN}
+ doins *.sty latexmkrc
+ if use examples; then
+ docinto examples
+ dodoc latexusage.tex externalprc.tex
+ docinto examples/animations
+ dodoc ../examples/animations/*.tex
+ fi
+ cd .. || die
+ fi
+
+ # ConTeXt
+ if use context; then
+ insinto /usr/share/texmf-site/tex/context
+ doins doc/colo-asy.tex
+ fi
+
+ # emacs mode
+ if use emacs; then
+ elisp-install ${PN} base/*.el base/*.elc asy-keywords.el
+ elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+ fi
+
+ # vim syntax
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles/syntax
+ doins base/asy.vim
+ insinto /usr/share/vim/vimfiles/ftdetect
+ doins base/asy_filetype.vim
+ fi
+}
+
+pkg_postinst() {
+ use latex && latex-package_rehash
+ use emacs && elisp-site-regen
+
+ elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
+ elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
+}
+
+pkg_postrm() {
+ use latex && latex-package_rehash
+ use emacs && elisp-site-regen
+}
^ permalink raw reply related [flat|nested] 61+ messages in thread
end of thread, other threads:[~2024-11-02 8:13 UTC | newest]
Thread overview: 61+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-16 10:40 [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/ Andrey Grozin
-- strict thread matches above, loose matches on Subject: below --
2024-11-02 8:13 Andrey Grozin
2024-07-02 9:58 Andrey Grozin
2024-07-02 9:56 Andrey Grozin
2024-05-28 20:49 Sam James
2024-05-28 13:19 Sam James
2024-04-14 5:12 Andrey Grozin
2024-02-09 14:30 Andrey Grozin
2024-02-03 21:34 Sam James
2024-02-02 16:27 Arthur Zamarin
2023-05-09 6:22 Andrey Grozin
2023-04-19 11:52 Sam James
2023-04-19 11:15 Sam James
2023-02-16 10:41 Andrey Grozin
2023-02-16 5:40 Andrey Grozin
2022-12-02 19:13 Arthur Zamarin
2022-11-29 6:58 Jakov Smolić
2022-11-25 16:36 Andrey Grozin
2022-10-04 8:38 Andrey Grozin
2022-06-28 15:14 Andrey Grozin
2022-06-16 13:51 Andrey Grozin
2022-06-09 7:39 Agostino Sarubbo
2022-06-09 7:34 Agostino Sarubbo
2022-04-06 13:54 Andrey Grozin
2022-02-08 12:33 Andrey Grozin
2022-02-08 12:30 Andrey Grozin
2022-02-02 7:30 Andrey Grozin
2022-01-03 5:18 Andrey Grozin
2021-10-06 8:33 Jakov Smolić
2021-08-12 3:10 Yixun Lan
2021-06-02 22:36 Sam James
2021-05-06 10:06 Sam James
2021-05-06 10:04 Sam James
2021-03-09 12:37 Andrey Grozin
2021-03-08 16:18 Andrey Grozin
2021-03-08 16:15 Andrey Grozin
2021-02-21 9:49 Sam James
2021-01-06 14:07 Fabian Groffen
2021-01-03 1:23 Sam James
2020-10-09 13:47 Conrad Kostecki
2020-08-18 11:22 Agostino Sarubbo
2020-08-17 7:01 Agostino Sarubbo
2020-08-16 11:38 Andrey Grozin
2020-01-19 18:16 Mikle Kolyada
2020-01-19 17:00 Mikle Kolyada
2020-01-08 8:15 Agostino Sarubbo
2020-01-04 2:38 Andrey Grozin
2019-11-12 7:31 Michał Górny
2019-11-12 7:31 Michał Górny
2019-11-12 7:31 Michał Górny
2019-04-04 12:39 Andrey Grozin
2019-04-04 12:37 Andrey Grozin
2017-12-17 5:18 Andrey Grozin
2017-12-12 18:39 Thomas Deutschmann
2017-11-26 23:02 David Seifert
2017-07-06 14:28 Andrey Grozin
2017-07-06 14:25 Andrey Grozin
2017-07-02 8:07 Justin Lecher
2015-11-11 9:54 Agostino Sarubbo
2015-11-10 11:45 Agostino Sarubbo
2015-10-02 9:41 Justin Lecher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox