diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2020-12-06 13:17:24 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2020-12-06 13:17:24 +0000 |
| commit | f8ed4c2fc3a32e7aeca2dfe690fcc70e7f823fe6 (patch) | |
| tree | aa0648915880e4965d02116ca32779fcc77cc1d1 /dev-tcltk/tclpython/tclpython-5.0.ebuild | |
| parent | 8f9c7583a7677480e9164f73eb5e415f74b0351b (diff) | |
| download | baldeagleos-repo-f8ed4c2fc3a32e7aeca2dfe690fcc70e7f823fe6.tar.gz baldeagleos-repo-f8ed4c2fc3a32e7aeca2dfe690fcc70e7f823fe6.tar.xz baldeagleos-repo-f8ed4c2fc3a32e7aeca2dfe690fcc70e7f823fe6.zip | |
Updating liguros repo
Diffstat (limited to 'dev-tcltk/tclpython/tclpython-5.0.ebuild')
| -rw-r--r-- | dev-tcltk/tclpython/tclpython-5.0.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-tcltk/tclpython/tclpython-5.0.ebuild b/dev-tcltk/tclpython/tclpython-5.0.ebuild new file mode 100644 index 000000000000..4c7a99260462 --- /dev/null +++ b/dev-tcltk/tclpython/tclpython-5.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit multilib python-single-r1 toolchain-funcs + +DESCRIPTION="Python package for Tcl" +HOMEPAGE="https://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}" +} + +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 +} |
