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 B81D1139694 for ; Sat, 18 Mar 2017 07:33:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F9F521C1B7; Sat, 18 Mar 2017 07:33:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0E7B521C1B7 for ; Sat, 18 Mar 2017 07:33:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 40F773415D2 for ; Sat, 18 Mar 2017 07:33:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 663096C46 for ; Sat, 18 Mar 2017 07:33:37 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1489822408.7a584bfaa9aff1683e665f32b4e7bfa29e53148d.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-tcltk/snack/snack-2.2.10-r5.ebuild X-VCS-Directories: dev-tcltk/snack/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7a584bfaa9aff1683e665f32b4e7bfa29e53148d X-VCS-Branch: master Date: Sat, 18 Mar 2017 07:33:37 +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: cb993247-6900-4a41-91c7-8596fd36d0cd X-Archives-Hash: 95b095ee35f4433280bbf04d6e0069ac commit: 7a584bfaa9aff1683e665f32b4e7bfa29e53148d Author: Michał Górny gentoo org> AuthorDate: Thu Mar 16 19:29:56 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Mar 18 07:33:28 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a584bfa dev-tcltk/snack: Drop old (distutils.eclass) dev-tcltk/snack/snack-2.2.10-r5.ebuild | 105 --------------------------------- 1 file changed, 105 deletions(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r5.ebuild b/dev-tcltk/snack/snack-2.2.10-r5.ebuild deleted file mode 100644 index 179cabafa55..00000000000 --- a/dev-tcltk/snack/snack-2.2.10-r5.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -PYTHON_DEPEND="python? 2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.*" - -inherit eutils distutils multilib - -DESCRIPTION="The Snack Sound Toolkit (Tcl)" -HOMEPAGE="http://www.speech.kth.se/snack/" -SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" -SLOT="0" -IUSE="alsa examples python threads vorbis" - -RESTRICT="test" # Bug 78354 - -DEPEND=" - >dev-lang/tcl-8.4.3:0 - >dev-lang/tk-8.4.3:0 - alsa? ( media-libs/alsa-lib ) - vorbis? ( media-libs/libvorbis )" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${PN}${PV}/unix" - -PYTHON_MODNAME="tkSnack.py" - -pkg_setup() { - if use python; then - python_pkg_setup - fi -} - -src_prepare() { - # bug 226137 - snack depends on alsa private symbol _snd_pcm_mmap_hw_ptr - epatch "${FILESDIR}"/alsa-undef-sym.patch - # bug 270839 - error from /usr/include/bits/mathcalls.h:310 - sed \ - -e 's|^\(#define roundf(.*\)|//\1|' \ - -i ../generic/jkFormatMP3.c || die - - # adds -install_name (soname on Darwin) - [[ ${CHOST} == *-darwin* ]] && epatch "${FILESDIR}"/${P}-darwin.patch - - # From Fedora - cd ../ - epatch "${FILESDIR}"/${P}-CVE-2012-6303-fix.patch -} - -src_configure() { - local myconf="--libdir="${EPREFIX}"/usr/$(get_libdir) --includedir="${EPREFIX}"/usr/include" - - use alsa && myconf="${myconf} --enable-alsa" - use threads && myconf="${myconf} --enable-threads" - - if use vorbis ; then - myconf="${myconf} --with-ogg-include="${EPREFIX}"/usr/include" - myconf="${myconf} --with-ogg-lib="${EPREFIX}"/usr/$(get_libdir)" - fi - - econf ${myconf} -} - -src_compile() { - # We do not want to run distutils_src_compile - default -} - -src_install() { - default - - if use python ; then - cd "${S}"/../python - distutils_src_install - fi - - cd "${S}"/.. - - dohtml doc/* - - if use examples ; then - sed -i -e 's/wish[0-9.]+/wish/g' demos/tcl/* || die - docinto examples/tcl - dodoc demos/tcl/* - - if use python ; then - docinto examples/python - dodoc demos/python/* - fi - fi -} - -pkg_postinst() { - use python && distutils_pkg_postinst -} - -pkg_postrm() { - use python && distutils_pkg_postrm -}