From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D0388138BEF for ; Wed, 14 Oct 2015 15:22:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A5D06E0801; Wed, 14 Oct 2015 15:22:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D287821C009 for ; Wed, 14 Oct 2015 15:22:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B5D0F340A1E for ; Wed, 14 Oct 2015 15:22:33 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8BA4810C8 for ; Wed, 14 Oct 2015 15:22:32 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1444836138.dc18ffba835c9fe1d6d7fab1df0b040188ae7268.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/antlr/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/antlr/antlr-2.7.7-r6.ebuild X-VCS-Directories: dev-java/antlr/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: dc18ffba835c9fe1d6d7fab1df0b040188ae7268 X-VCS-Branch: master Date: Wed, 14 Oct 2015 15:22:32 +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-Archives-Salt: 40bc3582-5c89-41f0-9f2b-3eca90f7f78e X-Archives-Hash: cd67ac72ad029e2309ecdfceb99466ab commit: dc18ffba835c9fe1d6d7fab1df0b040188ae7268 Author: James Le Cuirot gentoo org> AuthorDate: Wed Oct 14 14:36:04 2015 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Wed Oct 14 15:22:18 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc18ffba dev-java/antlr: Remove old I believe bug #555300, which created 2.7.7-r6, was bogus anyway. Package-Manager: portage-2.2.20.1 dev-java/antlr/antlr-2.7.7-r6.ebuild | 173 ----------------------------------- 1 file changed, 173 deletions(-) diff --git a/dev-java/antlr/antlr-2.7.7-r6.ebuild b/dev-java/antlr/antlr-2.7.7-r6.ebuild deleted file mode 100644 index 783a98f..0000000 --- a/dev-java/antlr/antlr-2.7.7-r6.ebuild +++ /dev/null @@ -1,173 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -PYTHON_COMPAT=( python2_7 ) - -DISTUTILS_OPTIONAL="y" -DISTUTILS_SINGLE_IMPL="y" -DISTUTILS_IN_SOURCE_BUILD="y" - -inherit base java-pkg-2 mono autotools distutils-r1 multilib toolchain-funcs versionator - -DESCRIPTION="A parser generator for C++, C#, Java, and Python" -HOMEPAGE="http://www.antlr2.org/" -SRC_URI="http://www.antlr2.org/download/${P}.tar.gz" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc debug examples mono +cxx +java python script source static-libs" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -# TODO do we actually need jdk at runtime? -RDEPEND="python? ( ${PYTHON_DEPS} ) - >=virtual/jdk-1.6 - mono? ( dev-lang/mono )" -DEPEND="${RDEPEND} - >=sys-devel/automake-1.15 - script? ( !dev-util/pccts ) - source? ( app-arch/zip )" - -PATCHES=( "${FILESDIR}"/${PV}-{gcc-4.3,gcc-4.4,makefixes}.patch ) - -make_shared_lib() { - local soname=$(basename "${1%.a}")$(get_libname $(get_major_version)) - einfo "Making ${soname}" - [[ ${CHOST} == *-darwin* ]] \ - && make_shared_lib_macho "${soname}" "$1" "$2"\ - || make_shared_lib_elf "${soname}" "$1" "$2" -} - -make_shared_lib_elf() { - local soname=$1 archive=$2 cc=$3 - ${cc:-$(tc-getCXX)} ${LDFLAGS} \ - -shared -Wl,-soname="${soname}" \ - -Wl,--whole-archive "${archive}" -Wl,--no-whole-archive \ - -o $(dirname "${archive}")/"${soname}" || return 1 -} - -make_shared_lib_macho() { - local soname=$1 archive=$2 cc=$3 - ${cc:-$(tc-getCXX)} ${LDFLAGS} \ - -dynamiclib -install_name "${EPREFIX}/usr/$(get_libdir)/${soname}" \ - -force_load "${archive}" \ - -o $(dirname "${archive}")/"${soname}" || return 1 -} - -pkg_setup() { - java-pkg-2_pkg_setup - - if use python ; then - python-single-r1_pkg_setup - fi -} - -src_prepare() { - base_src_prepare - - sed -i \ - -e 's/install:.*this-install/install:/' \ - lib/cpp/src/Makefile.in || die - - use static-libs || epatch "${FILESDIR}/${PV}-static-libs-fix.patch" - - # See bug #468540, this can be removed once bug #469150 is fixed. - sed -i 's/tlib lib ar/ar/' configure.in || die - eautoreconf -} - -src_configure() { - # don't ask why, but this is needed for stuff to get built properly - # across the various JDKs - JAVACFLAGS="+ ${JAVACFLAGS}" - - # mcs for https://bugs.gentoo.org/show_bug.cgi?id=172104 - CSHARPC="mcs" econf $(use_enable java) \ - $(use_enable python) \ - $(use_enable mono csharp) \ - $(use_enable debug) \ - $(use_enable examples) \ - $(use_enable cxx) \ - --enable-verbose -} - -src_compile() { - emake CXXFLAGS="${CXXFLAGS} -fPIC" - if use cxx; then - pushd lib/cpp/src > /dev/null - make_shared_lib libantlr.a || die - if use static-libs; then - make clean - emake - fi - popd > /dev/null - fi - - if use python ; then - pushd "${S}"/lib/python > /dev/null - distutils-r1_src_compile - popd > /dev/null - fi -} - -src_install() { - dobin scripts/antlr-config - - if use cxx ; then - pushd lib/cpp > /dev/null - einstall - dolib.so src/libantlr$(get_libname $(get_major_version)) - dosym libantlr$(get_libname $(get_major_version)) \ - /usr/$(get_libdir)/libantlr$(get_libname) - use static-libs && dolib.a src/libantlr.a - newdoc AUTHORS{,.cpp} - newdoc ChangeLog{,.cpp} - newdoc TODO{,.cpp} - popd > /dev/null - fi - - if use java ; then - java-pkg_dojar antlr/antlr.jar - use script && java-pkg_dolauncher antlr --main antlr.Tool - use source && java-pkg_dosrc antlr - use doc && java-pkg_dohtml -r doc/* - fi - - if use mono ; then - pushd lib > /dev/null - dodir /usr/$(get_libdir)/antlr/ - insinto /usr/$(get_libdir)/antlr/ - doins antlr.astframe.dll - doins antlr.runtime.dll - sed -e "s|@prefix@|${EPREFIX}/usr|" \ - -e 's|@exec_prefix@|${prefix}|' \ - -e "s|@libdir@|\$\{exec_prefix\}/$(get_libdir)/antlr|" \ - -e 's|@libs@|-r:${libdir}/antlr.astframe.dll -r:${libdir}/antlr.runtime.dll|' \ - -e "s|@VERSION@|${PV}|" \ - "${FILESDIR}"/antlr.pc.in > antlr.pc - insinto /usr/$(get_libdir)/pkgconfig - doins antlr.pc - popd > /dev/null - fi - - if use python ; then - pushd "${S}"/lib/python > /dev/null - distutils-r1_src_install - popd > /dev/null - fi - - if use examples ; then - find "${S}"/examples -iname Makefile\* -exec rm \{\} \; - insinto /usr/share/doc/${PF}/examples - use cxx && doins -r "${S}"/examples/cpp - use java && doins -r "${S}"/examples/java - use mono && doins -r "${S}"/examples/csharp - use python && doins -r "${S}"/examples/python - fi - - dodoc README.txt -}