From f65628136faa35d0c4d3b5e7332275c7b35fcd96 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 3 Nov 2018 08:36:22 +0000 Subject: gentoo resync : 03.11.2018 --- dev-tcltk/tclpython/Manifest | 3 ++ .../tclpython/files/tclpython-5.0-gentoo.patch | 12 +++++ dev-tcltk/tclpython/tclpython-5.0.ebuild | 54 ++++++++++++++++++++++ 3 files changed, 69 insertions(+) create mode 100644 dev-tcltk/tclpython/files/tclpython-5.0-gentoo.patch create mode 100644 dev-tcltk/tclpython/tclpython-5.0.ebuild (limited to 'dev-tcltk/tclpython') diff --git a/dev-tcltk/tclpython/Manifest b/dev-tcltk/tclpython/Manifest index 42240d29b5ea..7e5c82bf1a20 100644 --- a/dev-tcltk/tclpython/Manifest +++ b/dev-tcltk/tclpython/Manifest @@ -1,5 +1,8 @@ AUX tclpython-4.1-python-3.patch 8863 BLAKE2B 6c1c2fa8f29240b6703911fde24519961f740cdac0d331cea7df3fb90fed769319ca0c00422ebe58275be90584c28debdf906f1b8c923e96d0c834a2af621077 SHA512 530d057501ef72e7f28cfff1f0af2076b93739085154fc4d20a5b59b26e33d1418bf694093b05e840055734438232dd9414ba0262720fb4bd2e35249769b24e7 +AUX tclpython-5.0-gentoo.patch 379 BLAKE2B f5f45d701998af7398a074f59bc25cc613b72f2f8825b46d7060fa039e04cfafc649959c451ec31b194ba47dd3f274e6ba20f8a1fd98b8c73392f0f4398257cc SHA512 8e5caec03836fdd8e2c50e49c6142e1349d577d5f73dc673e6bfdeee5b2d50cc20207dd59e75e7639fb780fda217e500104b4332cddca793e6749d047d5246ee DIST tclpython-4.1.tar.bz2 10580 BLAKE2B 98d4783cc52bc907c21d50ee393e25ee084b449db7c393c16b0b1f0420469bd0904d16dc2a6806b776dad7dabd521e5f2e8cc942c720d9e69750385302355608 SHA512 5f08e7129a7d9afeb1ac6bf1ab1c83ad3bb481593c9516c0653c7b4ba0dfb1b3129a336e64b998cec8ef2d2377a6a366b73c640d25839ab280d5079c0b220d54 +DIST tclpython-5.0.tar.gz 19327 BLAKE2B bad25a6eb04dbcd9ca3e9bc81d44f098f31f2acf367ecc32307596d5da3ed95752b3c60d9ee74fc04e21669e0361f0790edad3ad5793c78ece4904beacd92900 SHA512 fe15218fe00e921384dbd9611685b86cb6dfacb515a95545079550aeadaaafc3964e6ef0594a268a3fd900f40d178659e8b7f6f2a6d9aa507b59a8be0bd116af EBUILD tclpython-4.1-r4.ebuild 1264 BLAKE2B b747d07338d133dd6962695bd92c4499dfca8182d1b2d9befd6aeba8125880fbe7807e6bcf33d113af32a08d2c980a41f557a5039ba659e3624bd9bb50aafe0f SHA512 7041ef994f59b536fca064a5aaf455ba1a7e67b0a96e9e619b7d47f493f875eed5275816b94f56fe3a82f53dbaaf530cca12b16e9eeca6aae704b2b4e1377900 EBUILD tclpython-4.1-r6.ebuild 1296 BLAKE2B eefd716b5ee7896ab7044d57836cd0cb20e5a9b3a6b8b6b8fa0613b93d23bc21c51b1e8783feba480fd4d430c32e2759fc9e85d75727243e58b49ad4ce496c3b SHA512 ea7b582fbc1796eaaf6195868f1c31c2fdef6d7fe1c7df87437fafc0a48e86110dda9a80dd34b40347356d0cfe4ec58d2021bdd396f23ddeac8914f1bf216c5c +EBUILD tclpython-5.0.ebuild 1274 BLAKE2B 88fb02c0e2850d5c395a8e7b0bdd0301456aa4fb66b463c7bd5b437d9ccceab2f33880f585b7235451948fbe174623873d2a426166d9046d6dfcef06d330c1bd SHA512 cc00eab32b84665625ce7a5ba79792a1e7a0a8908ae84f6c8a3520f61871c2ea2a8712328c0e395679a1c5a9c9131aaa9b07ef7962d7bd1ffdaea5a1fa212fa5 MISC metadata.xml 259 BLAKE2B 174c3c7b4292350e73a38b09d473abba172ee6e82ca1b5bcb6815a9927609a7fbac063a19498e7c5deaa32530d10d8c493760ff5b6e489f821410cfeccadf566 SHA512 5943f2c9dc9a55862bae4c01be9e1f27304ffc1ce48d67341b4a19793c0bb11fe3d1a419af924ac360aeeafbce28018971602019a559a8a6c5939e05e3567639 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 000000000000..7f4aa0bf5a2e --- /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 000000000000..f7c6efb3ea78 --- /dev/null +++ b/dev-tcltk/tclpython/tclpython-5.0.ebuild @@ -0,0 +1,54 @@ +# 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() { + if python_is_python3; then + PKG_NAME=tclpython3 + else + PKG_NAME=tclpython + fi + emake PKG_NAME=${PKG_NAME} CC=$(tc-getCC) +} + +src_test() { + emake PKG_NAME=${PKG_NAME} CC=$(tc-getCC) test +} + +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 +} -- cgit v1.2.3