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 E046359CA3 for ; Fri, 11 Mar 2016 08:46:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8B4CC21C01E; Fri, 11 Mar 2016 08:46:40 +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 35EC521C01E for ; Fri, 11 Mar 2016 08:46:40 +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 07D1A340BF4 for ; Fri, 11 Mar 2016 08:46:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 934431AE8 for ; Fri, 11 Mar 2016 08:46:32 +0000 (UTC) From: "Daniel Campbell" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Daniel Campbell" Message-ID: <1457685981.e446f6701481c7635a99876a4f05d2a8a362a8e8.zlg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclpython/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-tcltk/tclpython/tclpython-4.1-r6.ebuild X-VCS-Directories: dev-tcltk/tclpython/ X-VCS-Committer: zlg X-VCS-Committer-Name: Daniel Campbell X-VCS-Revision: e446f6701481c7635a99876a4f05d2a8a362a8e8 X-VCS-Branch: master Date: Fri, 11 Mar 2016 08:46: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: 40c4c3cf-3153-4b7c-ada3-daeb0ed10795 X-Archives-Hash: 59375ab427cfeca4e0e75a4662e05b33 commit: e446f6701481c7635a99876a4f05d2a8a362a8e8 Author: Daniel Campbell gentoo org> AuthorDate: Fri Mar 11 08:42:57 2016 +0000 Commit: Daniel Campbell gentoo org> CommitDate: Fri Mar 11 08:46:21 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e446f670 dev-tcltk/tclpython: Correct DEPEND to binutils-libs See comment 6 in the bug. Gentoo-Bug: 575518 Gentoo-Bug-URL: https://bugs.gentoo.org/575518 Package-Manager: portage-2.2.27 dev-tcltk/tclpython/tclpython-4.1-r6.ebuild | 56 +++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/dev-tcltk/tclpython/tclpython-4.1-r6.ebuild b/dev-tcltk/tclpython/tclpython-4.1-r6.ebuild new file mode 100644 index 0000000..cc5c72a --- /dev/null +++ b/dev-tcltk/tclpython/tclpython-4.1-r6.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit eutils multilib python-single-r1 toolchain-funcs + +DESCRIPTION="Python package for Tcl" +HOMEPAGE="http://jfontain.free.fr/tclpython.htm" +SRC_URI="http://jfontain.free.fr/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS} + dev-lang/tcl:0= + sys-libs/binutils-libs" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-python-3.patch +) + +src_prepare() { + epatch ${PATCHES[@]} +} + +src_compile() { + local cfile="tclpython tclthread" + for src in ${cfile}; do + compile="$(tc-getCC) -shared -fPIC ${CFLAGS} -I$(python_get_includedir) -c ${src}.c" + einfo "${compile}" + eval "${compile}" || die + done + + link="$(tc-getCC) -fPIC -shared ${LDFLAGS} -o tclpython.so.${PV} tclpython.o tclthread.o -lpthread -lutil $(python_get_LIBS) -ltcl" + einfo "${link}" + eval "${link}" || die +} + +src_install() { + insinto /usr/$(get_libdir)/tclpython + doins tclpython.so.${PV} pkgIndex.tcl + fperms 775 /usr/$(get_libdir)/tclpython/tclpython.so.${PV} + dosym tclpython.so.${PV} /usr/$(get_libdir)/tclpython/tclpython.so + + dodoc CHANGES INSTALL README + dohtml tclpython.htm +}