From: "Daniel Campbell" <zlg@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclpython/
Date: Fri, 11 Mar 2016 08:46:32 +0000 (UTC) [thread overview]
Message-ID: <1457685981.e446f6701481c7635a99876a4f05d2a8a362a8e8.zlg@gentoo> (raw)
commit: e446f6701481c7635a99876a4f05d2a8a362a8e8
Author: Daniel Campbell <zlg <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 11 08:42:57 2016 +0000
Commit: Daniel Campbell <zlg <AT> gentoo <DOT> 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
+}
next reply other threads:[~2016-03-11 8:46 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-11 8:46 Daniel Campbell [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-04-20 14:42 [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclpython/ Alfredo Tupone
2024-02-28 20:47 Alfredo Tupone
2023-04-20 4:02 Sam James
2023-04-19 18:09 Arthur Zamarin
2023-04-19 14:06 Sam James
2023-02-26 18:50 Alfredo Tupone
2022-12-04 21:28 Alfredo Tupone
2022-03-20 0:53 Sam James
2021-09-18 16:51 Alfredo Tupone
2021-05-31 20:42 Michał Górny
2021-05-23 10:16 Alfredo Tupone
2021-04-18 1:52 Sam James
2021-04-18 1:44 Sam James
2021-04-12 18:33 Alfredo Tupone
2020-09-04 15:47 Sam James
2020-09-01 20:44 Sam James
2020-08-30 1:32 Thomas Deutschmann
2020-08-17 9:12 Alfredo Tupone
2020-02-10 11:54 Michał Górny
2020-02-10 11:54 Michał Górny
2018-10-30 19:35 Alfredo Tupone
2017-09-12 23:02 Matt Turner
2017-08-05 8:22 Michael Palimaka
2017-07-31 11:02 Tobias Klausmann
2017-07-12 14:43 Pacho Ramos
2016-03-12 20:54 Patrice Clement
2016-03-07 3:38 Daniel Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1457685981.e446f6701481c7635a99876a4f05d2a8a362a8e8.zlg@gentoo \
--to=zlg@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox