summaryrefslogtreecommitdiff
path: root/dev-tcltk/tclpython
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-04-12 22:45:18 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-04-12 22:45:18 +0000
commitec96d8996df61a9d5498f5703784d33b24805cd3 (patch)
tree8fce8d5e40b5f81a7626bb0bc79332a107485389 /dev-tcltk/tclpython
parent6498b9a80b898e6d8dbf1b2829bf75d50b465529 (diff)
downloadbaldeagleos-repo-ec96d8996df61a9d5498f5703784d33b24805cd3.tar.gz
baldeagleos-repo-ec96d8996df61a9d5498f5703784d33b24805cd3.tar.xz
baldeagleos-repo-ec96d8996df61a9d5498f5703784d33b24805cd3.zip
Adding metadata
Diffstat (limited to 'dev-tcltk/tclpython')
-rw-r--r--dev-tcltk/tclpython/tclpython-5.0-r1.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-tcltk/tclpython/tclpython-5.0-r1.ebuild b/dev-tcltk/tclpython/tclpython-5.0-r1.ebuild
new file mode 100644
index 000000000000..29b8e2d30657
--- /dev/null
+++ b/dev-tcltk/tclpython/tclpython-5.0-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8,9,10} )
+
+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() {
+ emake PKG_NAME=tclpython3 CC=$(tc-getCC) \
+ MYCFLAGS="${CFLAGS}" \
+ MYLDFLAGS="${LDFLAGS} $(python_get_library_path)"
+}
+
+src_test() {
+ emake PKG_NAME=tclpython3 CC=$(tc-getCC) test
+}
+
+src_install() {
+ 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
+
+ dodoc README.md VERSION.md
+}