From: Fabio Rossi Date: Sat, 4 Mar 2017 05:43:25 +0000 (+1100) Subject: dev-util/eric: version bump 17.03 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=41b48133d6c301cd411b3637689a3abfdf5e43a0;p=gentoo.git dev-util/eric: version bump 17.03 Gentoo-bug: 610380 Package-Manager: Portage-2.3.4, Repoman-2.3.2 --- diff --git a/dev-util/eric/Manifest b/dev-util/eric/Manifest index acb675dfa4ec..56531f66ada3 100644 --- a/dev-util/eric/Manifest +++ b/dev-util/eric/Manifest @@ -1,2 +1,3 @@ DIST eric6-16.12.tar.gz 18764980 SHA256 cfb70ef9c68fe88ea0752bc0141efc04c7fce118fd9166ec5ef57dfe23a492c6 SHA512 53506c52e289db141abf8faf1a90a7b1a2d32ab6932d6254aa8cb3e69ed8b78932d648c8625335cfae187053c3f7d3adf84f60867591ab804215b645a1719340 WHIRLPOOL 085a0048805d33b8a0426e743eb112643a6aa54668185eeeedb0ecadf68ae7f41aae98e0f853a0183e62b4c82ffcad7aca94d97087d00d10b57c0cdb5f3d5eb2 DIST eric6-17.01.tar.gz 18810473 SHA256 ef6c105248ceb895780022e68bef9136b0659fc9cf2e7b9f78bd272364ab67f8 SHA512 db0490f67e080f31b555f7fa57180a341f50b18753dca6aea9d56ab51a24006a33a6652fcbe5552138b21f3370a54cac16182a891d5ae301f2d34f618fe0d952 WHIRLPOOL b580c610998bc16cbc663620bf98778656a7c17ef4f4776e24ecb63f2be3fa27fc8321f35778e3f0be71cf23370e4d0eafd1e1b55b20af8b9ef6f8802c4652a6 +DIST eric6-17.03.tar.gz 18904799 SHA256 cfa78bea6812303689223d42efdc8de530e7c714acc0d1d5aeb375cc9006a2d3 SHA512 3bc71e87475eeeac02c9a186cd5c0044c5196d884ec56a228ff66e2af6ee5dd3d0e7356486e284b28aa945b0e225c9b626e1a21773878d6834e211d4151af3a7 WHIRLPOOL c7cb12562424395b12687e6f4f3489b57a50fa1363ebbd2aa0a4e48051ae52ce62512904af1104a881999ea4fdfa355544e8fdee802c0584255e9c9697486ea9 diff --git a/dev-util/eric/eric-17.03.ebuild b/dev-util/eric/eric-17.03.ebuild new file mode 100644 index 000000000000..1f995f8098a4 --- /dev/null +++ b/dev-util/eric/eric-17.03.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5} ) +PYTHON_REQ_USE="sqlite,xml" + +inherit python-single-r1 + +DESCRIPTION="A full featured Python IDE using PyQt and QScintilla" +HOMEPAGE="http://eric-ide.python-projects.org/" +LICENSE="GPL-3" +SLOT="6" + +MY_P=${PN}${SLOT}-${PV} +SRC_URI="mirror://sourceforge/eric-ide/${PN}${SLOT}/stable/${PV}/${MY_P}.tar.gz" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="" + +DEPEND=" + ${PYTHON_DEPS} + >=dev-python/sip-4.14.3[${PYTHON_USEDEP}] + >=dev-python/PyQt5-5.5.1[${PYTHON_USEDEP},gui,help,network,printsupport,sql,svg,webkit] + >=dev-python/qscintilla-python-2.8[qt5,${PYTHON_USEDEP}] +" +RDEPEND="${DEPEND} + >=dev-python/chardet-2.3.0[${PYTHON_USEDEP}] + >=dev-python/coverage-4.1.0[${PYTHON_USEDEP}] + >=dev-python/pygments-2.1.3[${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 + + # Fix desktop files (bug 458092) + sed -i -re '/^Categories=/s:(Python|QtWeb):X-&:g' eric/eric6{,_{,web}browser}.desktop || die +} + +src_install() { + "${PYTHON}" install.py \ + -b "${EPREFIX}/usr/bin" \ + -d "$(python_get_sitedir)" \ + -i "${D}" \ + -c \ + -z \ + || die + + python_optimize + einstalldocs +}