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 9B8F9138334 for ; Mon, 29 Oct 2018 07:58:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 49A35E0900; Mon, 29 Oct 2018 07:58:08 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 087C2E0900 for ; Mon, 29 Oct 2018 07:58:07 +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 424BF335CCD for ; Mon, 29 Oct 2018 07:58:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 93524440 for ; Mon, 29 Oct 2018 07:58:01 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1540799867.12bb26e7487c4fb04cbfd2fe45a04876a3b1e1b0.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclpython/, dev-tcltk/tclpython/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-tcltk/tclpython/Manifest dev-tcltk/tclpython/files/tclpython-5.0-gentoo.patch dev-tcltk/tclpython/tclpython-5.0.ebuild X-VCS-Directories: dev-tcltk/tclpython/ dev-tcltk/tclpython/files/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 12bb26e7487c4fb04cbfd2fe45a04876a3b1e1b0 X-VCS-Branch: master Date: Mon, 29 Oct 2018 07:58:01 +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: 962779c9-9fa7-4e01-bd85-28f3987224a6 X-Archives-Hash: f281b6b7222b7975ff89b1e185e45c16 commit: 12bb26e7487c4fb04cbfd2fe45a04876a3b1e1b0 Author: Tupone Alfredo gentoo org> AuthorDate: Mon Oct 29 07:57:47 2018 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Mon Oct 29 07:57:47 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12bb26e7 dev-tcltk/tclpython: Version bump to 5.0 Signed-off-by: Alfredo Tupone gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11 dev-tcltk/tclpython/Manifest | 1 + .../tclpython/files/tclpython-5.0-gentoo.patch | 12 +++++ dev-tcltk/tclpython/tclpython-5.0.ebuild | 51 ++++++++++++++++++++++ 3 files changed, 64 insertions(+) diff --git a/dev-tcltk/tclpython/Manifest b/dev-tcltk/tclpython/Manifest index 54cd3528959..9bd7a795d51 100644 --- a/dev-tcltk/tclpython/Manifest +++ b/dev-tcltk/tclpython/Manifest @@ -1 +1,2 @@ DIST tclpython-4.1.tar.bz2 10580 BLAKE2B 98d4783cc52bc907c21d50ee393e25ee084b449db7c393c16b0b1f0420469bd0904d16dc2a6806b776dad7dabd521e5f2e8cc942c720d9e69750385302355608 SHA512 5f08e7129a7d9afeb1ac6bf1ab1c83ad3bb481593c9516c0653c7b4ba0dfb1b3129a336e64b998cec8ef2d2377a6a366b73c640d25839ab280d5079c0b220d54 +DIST tclpython-5.0.tar.gz 19327 BLAKE2B bad25a6eb04dbcd9ca3e9bc81d44f098f31f2acf367ecc32307596d5da3ed95752b3c60d9ee74fc04e21669e0361f0790edad3ad5793c78ece4904beacd92900 SHA512 fe15218fe00e921384dbd9611685b86cb6dfacb515a95545079550aeadaaafc3964e6ef0594a268a3fd900f40d178659e8b7f6f2a6d9aa507b59a8be0bd116af diff --git a/dev-tcltk/tclpython/files/tclpython-5.0-gentoo.patch b/dev-tcltk/tclpython/files/tclpython-5.0-gentoo.patch new file mode 100644 index 00000000000..7f4aa0bf5a2 --- /dev/null +++ b/dev-tcltk/tclpython/files/tclpython-5.0-gentoo.patch @@ -0,0 +1,12 @@ +--- a/Makefile 2018-10-28 17:21:20.274137396 +0100 ++++ b/Makefile 2018-10-28 17:21:47.696694473 +0100 +@@ -62,7 +62,8 @@ + $(OUTPUT_DIR)/pkgIndex.tcl:pkg/pkgIndex.tcl + cp -t $(dir $@) $^ + +-package: $(OUTPUT_DIR)/$(LIBRARY) $(OUTPUT_DIR)/pkgIndex.tcl ++package: $(OUTPUT_DIR)/$(LIBRARY) ++ ${MAKE} $(OUTPUT_DIR)/pkgIndex.tcl + + ifneq ($(MAKECMDGOALS), clean) + -include $(DEPEND) diff --git a/dev-tcltk/tclpython/tclpython-5.0.ebuild b/dev-tcltk/tclpython/tclpython-5.0.ebuild new file mode 100644 index 00000000000..e4a170a603e --- /dev/null +++ b/dev-tcltk/tclpython/tclpython-5.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit multilib python-single-r1 toolchain-funcs + +DESCRIPTION="Python package for Tcl" +HOMEPAGE="http://jfontain.free.fr/tclpython.htm" +SRC_URI="https://github.com/amykyta3/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS} + dev-lang/tcl:0=" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) + +src_compile() { + local PKG_NAME + if python_is_python3; then + PKG_NAME=tclpython3 + else + PKG_NAME=tclpython + fi + emake PKG_NAME=${PKG_NAME} CC=$(tc-getCC) +} + +src_install() { + if python_is_python3; then + insinto /usr/$(get_libdir) + doins -r build/tclpython3/tclpython3 + fperms 775 /usr/$(get_libdir)/tclpython3/tclpython3.so.${PV} + dosym tclpython3.so.${PV} /usr/$(get_libdir)/tclpython3/tclpython3.so + else + insinto /usr/$(get_libdir) + doins -r build/tclpython/tclpython + fperms 775 /usr/$(get_libdir)/tclpython/tclpython.so.${PV} + dosym tclpython.so.${PV} /usr/$(get_libdir)/tclpython/tclpython3.so + fi + + dodoc README.md VERSION.md +}