From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 736D6138334 for ; Thu, 4 Apr 2019 12:39:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B302E0880; Thu, 4 Apr 2019 12:39:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0DF26E0880 for ; Thu, 4 Apr 2019 12:39:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7B5AD335D07 for ; Thu, 4 Apr 2019 12:39:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 21D6554A for ; Thu, 4 Apr 2019 12:39:44 +0000 (UTC) From: "Andrey Grozin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrey Grozin" Message-ID: <1554381574.fa17ec2cd2d6fcbd8a0b7912df62aa3e09987530.grozin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/asymptote/asymptote-2.48.ebuild X-VCS-Directories: media-gfx/asymptote/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: fa17ec2cd2d6fcbd8a0b7912df62aa3e09987530 X-VCS-Branch: master Date: Thu, 4 Apr 2019 12:39:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2b405d74-a27d-4e50-af04-f303b50dd8bd X-Archives-Hash: 005ddf918bd634cacc568b52c111a503 commit: fa17ec2cd2d6fcbd8a0b7912df62aa3e09987530 Author: Andrey Grozin gentoo org> AuthorDate: Thu Apr 4 12:39:34 2019 +0000 Commit: Andrey Grozin gentoo 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 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 -}