diff options
author | Nils Freydank <holgersson@posteo.de> | 2017-12-28 10:01:10 +0100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-12-28 22:20:52 +1100 |
commit | 78b41c6fb0813fe1d64ec4b1d3b20f86889ad546 (patch) | |
tree | 6f0e1fdbaf765ab3fbed2e07edf5c4fb463ecaf5 /dev-util/eric | |
parent | app-doc/diveintopython: allow usage across all architectures. (diff) | |
download | gentoo-78b41c6fb0813fe1d64ec4b1d3b20f86889ad546.tar.gz gentoo-78b41c6fb0813fe1d64ec4b1d3b20f86889ad546.tar.bz2 gentoo-78b41c6fb0813fe1d64ec4b1d3b20f86889ad546.zip |
dev-util/eric: Version bump to 17.12.
Closes: https://github.com/gentoo/gentoo/pull/6667
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-util/eric')
-rw-r--r-- | dev-util/eric/Manifest | 1 | ||||
-rw-r--r-- | dev-util/eric/eric-17.12.ebuild | 79 |
2 files changed, 80 insertions, 0 deletions
diff --git a/dev-util/eric/Manifest b/dev-util/eric/Manifest index 0d0db9da4d36..b5c675e9eed9 100644 --- a/dev-util/eric/Manifest +++ b/dev-util/eric/Manifest @@ -1,2 +1,3 @@ DIST eric6-17.09.tar.gz 18914614 BLAKE2B 9be00468b88a46dedb3075f28f7863e31ca8dad8cd783219bef50c644c8d6dfd3558654c8377cec2f7dd1818a3647ae19ca5028c9939c2e0095df83ce9aa5889 SHA512 73631ff1faef01b51a640af13dbb3adabebc63280f15b5e594e1fcbfb799a40a8e7ecb7395c52c6878b1fa232d7c00fb531a24be9f89a3592602aeb10520737d DIST eric6-17.11.tar.gz 18984264 BLAKE2B 974443ae81195c8bd56d7240f4143c5316c5192ca3bb528a97c777de2407677d9bb5fbc7099812db6c9f766e8d2a3dedc53a0a75841c6b4958cd4fd6f444f5e4 SHA512 e95941805d44f01de67d5f256f822a829bd224841a7f2b0bd245e7388b96a5eb94ab34004720c05a355fbeeb30ed4a521e07ea7069441fe6a90c13ff8cf853f8 +DIST eric6-17.12.tar.gz 19035763 BLAKE2B e19195ef0b36ce216dc4f21ec221da4002a20ee3e3e300b80045d31d8793df299c2224f41f562fb59a0f8a65ead4f616df89a905905918dd1ae396d55d77fdc3 SHA512 7144c1fad76eb0f3ccdd2a29fb3fc369ad35d28dfbae1e6b75855b85218df34afa715f3a2df37bd6163e2f3a23a2a9a7f528cfe54f1bc21486ab81da6a69a697 diff --git a/dev-util/eric/eric-17.12.ebuild b/dev-util/eric/eric-17.12.ebuild new file mode 100644 index 000000000000..1f4209d6daa1 --- /dev/null +++ b/dev-util/eric/eric-17.12.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_P=${PN}6-${PV} +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) +PYTHON_REQ_USE="sqlite,xml" +inherit python-single-r1 xdg-utils + +DESCRIPTION="A full featured Python IDE using PyQt and QScintilla" +HOMEPAGE="https://eric-ide.python-projects.org/" +SRC_URI="mirror://sourceforge/eric-ide/${PN}6/stable/${PV}/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="6" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="" + +DEPEND=" + ${PYTHON_DEPS} + >=dev-python/sip-4.14.3[${PYTHON_USEDEP}] + >=dev-python/PyQt5-5.7.1[${PYTHON_USEDEP},gui,network,printsupport,sql,svg,widgets] + >=dev-python/qscintilla-python-2.9.4-r1[${PYTHON_USEDEP},qt5] +" +RDEPEND="${DEPEND} + || ( + dev-python/PyQt5[${PYTHON_USEDEP},help,webkit] + dev-python/PyQt5[${PYTHON_USEDEP},help,webengine] + ) + >=dev-python/chardet-3.0.4[${PYTHON_USEDEP}] + >=dev-python/coverage-4.1.0[${PYTHON_USEDEP}] + >=dev-python/pygments-2.2.0[${PYTHON_USEDEP}] + !dev-util/eric:4 + !dev-util/eric:5 +" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +S=${WORKDIR}/${MY_P} + +DOCS=( changelog README.rst THANKS ) + +src_prepare() { + default + + # Delete internal copies of dev-python/chardet and dev-python/pygments + rm -fr eric/ThirdParty/{CharDet,Pygments} || die + + # Delete internal copy of dev-python/coverage + rm -fr eric/DebugClients/Python{,3}/coverage || die + sed -i -e 's/from DebugClients\.Python3\?\.coverage/from coverage/' \ + $(grep -lr 'from DebugClients\.Python3\?\.coverage' .) || die +} + +src_install() { + "${PYTHON}" install.py \ + -b "${EPREFIX}/usr/bin" \ + -d "$(python_get_sitedir)" \ + -i "${D}" \ + -c \ + -z \ + || die + + python_optimize + einstalldocs +} + +pkg_postinst(){ + xdg_desktop_database_update + + if ! has_version dev-python/enchant; then + elog "You might want to install dev-python/pyenchant" + elog "for spell checking." + fi +} + +pkg_postrm() { + xdg_desktop_database_update +} |