From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 01A181382C5 for ; Mon, 19 Feb 2018 11:46:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B760E0BE0; Mon, 19 Feb 2018 11:46:50 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3C2F7E0BE0 for ; Mon, 19 Feb 2018 11:46:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A9D58335C05 for ; Mon, 19 Feb 2018 11:46:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1B723211 for ; Mon, 19 Feb 2018 11:46:45 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1519039790.da6eb2400f62de3b9f53b77de11c1617126e7a71.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/weboob/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/weboob/metadata.xml www-client/weboob/weboob-9998.ebuild www-client/weboob/weboob-9999.ebuild X-VCS-Directories: www-client/weboob/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: da6eb2400f62de3b9f53b77de11c1617126e7a71 X-VCS-Branch: master Date: Mon, 19 Feb 2018 11:46:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3cddd2d6-2cf7-470d-a694-3318a829eac3 X-Archives-Hash: 37e29899f59c345669263479a38978cd commit: da6eb2400f62de3b9f53b77de11c1617126e7a71 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Feb 19 11:09:35 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Feb 19 11:29:50 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da6eb240 www-client/weboob: EAPI 6, switch to PyQt5, git-r3, add USE=deprecated Thanks-to: Laurent Bachelier bachelier.name> Bug: https://bugs.gentoo.org/510810 Package-Manager: Portage-2.3.24, Repoman-2.3.6 www-client/weboob/metadata.xml | 3 +- www-client/weboob/weboob-9998.ebuild | 79 +++++++++++++++++++++--------------- www-client/weboob/weboob-9999.ebuild | 79 +++++++++++++++++++++--------------- 3 files changed, 96 insertions(+), 65 deletions(-) diff --git a/www-client/weboob/metadata.xml b/www-client/weboob/metadata.xml index 906331ef879..3c664215f38 100644 --- a/www-client/weboob/metadata.xml +++ b/www-client/weboob/metadata.xml @@ -6,7 +6,8 @@ Patrick Lauer - Enable secure updates + Enable dev-python/mechanize support (deprecated in favor of dev-python/requests Enable fast libs + Enable secure updates diff --git a/www-client/weboob/weboob-9998.ebuild b/www-client/weboob/weboob-9998.ebuild index 8cc40ca6189..13f4e208d43 100644 --- a/www-client/weboob/weboob-9998.ebuild +++ b/www-client/weboob/weboob-9998.ebuild @@ -1,56 +1,71 @@ -# Copyright 2010-2015 Gentoo Foundation +# Copyright 2010-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -PYTHON_COMPAT=( python2_7 ) +EAPI=6 -inherit distutils-r1 gnome2-utils versionator +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="ssl" -if [ "$PV" == "9999" ]; then - EGIT_REPO_URI="git://git.symlink.me/pub/${PN}/devel.git" - inherit git-2 - KEYWORDS="" - SRC_URI="" -elif [ "$PV" == "9998" ]; then - EGIT_REPO_URI="git://git.symlink.me/pub/${PN}/stable.git" - inherit git-2 - KEYWORDS="" +EGIT_BASE="devel" +if [[ ${PV} == *999* ]]; then + [[ ${PV} == 9998 ]] && EGIT_BASE="stable" + GIT_SCM=git-r3 SRC_URI="" else - KEYWORDS="~x86 ~amd64" - MY_P="${PN}-$(version_format_string '$1.$2')" - SRC_URI="http://symlink.me/attachments/download/229/${MY_P}.tar.gz" - S="${WORKDIR}/${MY_P}" + REDMINE_ID="356" + SRC_URI="https://symlink.me/attachments/download/${REDMINE_ID}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" fi +EGIT_REPO_URI="https://git.weboob.org/${PN}/${EGIT_BASE}.git" +inherit distutils-r1 gnome2-utils ${GIT_SCM} +unset EGIT_BASE GIT_SCM + DESCRIPTION="Consume lots of websites without a browser (Web Outside Of Browsers)" HOMEPAGE="http://weboob.org/" LICENSE="AGPL-3" SLOT="0" -IUSE="X +secure-updates fast-libs" +IUSE="+deprecated fast-libs +secure-updates X" -DEPEND="X? ( >=dev-python/PyQt4-4.9.4-r1[X,phonon,${PYTHON_USEDEP}] ) - dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND="${DEPEND} - dev-python/prettytable[${PYTHON_USEDEP}] +COMMON_DEPEND=" + X? ( dev-python/PyQt5[multimedia,${PYTHON_USEDEP}] ) +" +RDEPEND="${COMMON_DEPEND} + dev-python/cssselect[${PYTHON_USEDEP}] + dev-python/feedparser[${PYTHON_USEDEP}] dev-python/html2text[${PYTHON_USEDEP}] - dev-python/mechanize[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/prettytable[${PYTHON_USEDEP}] dev-python/python-dateutil[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/gdata[${PYTHON_USEDEP}] - dev-python/feedparser[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP},ssl] + dev-python/six[${PYTHON_USEDEP}] dev-python/termcolor[${PYTHON_USEDEP}] - secure-updates? ( app-crypt/gnupg ) + dev-python/unidecode[${PYTHON_USEDEP}] + virtual/python-futures[${PYTHON_USEDEP}] + deprecated? ( dev-python/mechanize[${PYTHON_USEDEP}] ) fast-libs? ( - dev-python/simplejson[${PYTHON_USEDEP}] dev-python/pyyaml[libyaml,${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] ) - >=dev-python/lxml-3.0[${PYTHON_USEDEP}] - dev-python/cssselect[${PYTHON_USEDEP}]" + secure-updates? ( app-crypt/gnupg ) + X? ( dev-python/google-api-python-client[${PYTHON_USEDEP}] ) +" +DEPEND="${COMMON_DEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] +" -DOCS=( AUTHORS COPYING ChangeLog README INSTALL ) +src_prepare() { + default + + if [[ -L contrib/webextension-session-importer/logo.png ]]; then + cp -L contrib/webextension-session-importer/logo.png logo.tmp.png || die + rm contrib/webextension-session-importer/logo.png || die + mv logo.tmp.png contrib/webextension-session-importer/logo.png || die + fi +} python_configure_all() { mydistutilsargs=( @@ -62,7 +77,7 @@ python_configure_all() { python_install_all() { distutils-r1_python_install_all insinto /usr/share/${PN}/ - doins -r contrib/* + doins -r contrib } pkg_preinst() { diff --git a/www-client/weboob/weboob-9999.ebuild b/www-client/weboob/weboob-9999.ebuild index 8cc40ca6189..13f4e208d43 100644 --- a/www-client/weboob/weboob-9999.ebuild +++ b/www-client/weboob/weboob-9999.ebuild @@ -1,56 +1,71 @@ -# Copyright 2010-2015 Gentoo Foundation +# Copyright 2010-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -PYTHON_COMPAT=( python2_7 ) +EAPI=6 -inherit distutils-r1 gnome2-utils versionator +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="ssl" -if [ "$PV" == "9999" ]; then - EGIT_REPO_URI="git://git.symlink.me/pub/${PN}/devel.git" - inherit git-2 - KEYWORDS="" - SRC_URI="" -elif [ "$PV" == "9998" ]; then - EGIT_REPO_URI="git://git.symlink.me/pub/${PN}/stable.git" - inherit git-2 - KEYWORDS="" +EGIT_BASE="devel" +if [[ ${PV} == *999* ]]; then + [[ ${PV} == 9998 ]] && EGIT_BASE="stable" + GIT_SCM=git-r3 SRC_URI="" else - KEYWORDS="~x86 ~amd64" - MY_P="${PN}-$(version_format_string '$1.$2')" - SRC_URI="http://symlink.me/attachments/download/229/${MY_P}.tar.gz" - S="${WORKDIR}/${MY_P}" + REDMINE_ID="356" + SRC_URI="https://symlink.me/attachments/download/${REDMINE_ID}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" fi +EGIT_REPO_URI="https://git.weboob.org/${PN}/${EGIT_BASE}.git" +inherit distutils-r1 gnome2-utils ${GIT_SCM} +unset EGIT_BASE GIT_SCM + DESCRIPTION="Consume lots of websites without a browser (Web Outside Of Browsers)" HOMEPAGE="http://weboob.org/" LICENSE="AGPL-3" SLOT="0" -IUSE="X +secure-updates fast-libs" +IUSE="+deprecated fast-libs +secure-updates X" -DEPEND="X? ( >=dev-python/PyQt4-4.9.4-r1[X,phonon,${PYTHON_USEDEP}] ) - dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND="${DEPEND} - dev-python/prettytable[${PYTHON_USEDEP}] +COMMON_DEPEND=" + X? ( dev-python/PyQt5[multimedia,${PYTHON_USEDEP}] ) +" +RDEPEND="${COMMON_DEPEND} + dev-python/cssselect[${PYTHON_USEDEP}] + dev-python/feedparser[${PYTHON_USEDEP}] dev-python/html2text[${PYTHON_USEDEP}] - dev-python/mechanize[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/prettytable[${PYTHON_USEDEP}] dev-python/python-dateutil[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/gdata[${PYTHON_USEDEP}] - dev-python/feedparser[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP},ssl] + dev-python/six[${PYTHON_USEDEP}] dev-python/termcolor[${PYTHON_USEDEP}] - secure-updates? ( app-crypt/gnupg ) + dev-python/unidecode[${PYTHON_USEDEP}] + virtual/python-futures[${PYTHON_USEDEP}] + deprecated? ( dev-python/mechanize[${PYTHON_USEDEP}] ) fast-libs? ( - dev-python/simplejson[${PYTHON_USEDEP}] dev-python/pyyaml[libyaml,${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] ) - >=dev-python/lxml-3.0[${PYTHON_USEDEP}] - dev-python/cssselect[${PYTHON_USEDEP}]" + secure-updates? ( app-crypt/gnupg ) + X? ( dev-python/google-api-python-client[${PYTHON_USEDEP}] ) +" +DEPEND="${COMMON_DEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] +" -DOCS=( AUTHORS COPYING ChangeLog README INSTALL ) +src_prepare() { + default + + if [[ -L contrib/webextension-session-importer/logo.png ]]; then + cp -L contrib/webextension-session-importer/logo.png logo.tmp.png || die + rm contrib/webextension-session-importer/logo.png || die + mv logo.tmp.png contrib/webextension-session-importer/logo.png || die + fi +} python_configure_all() { mydistutilsargs=( @@ -62,7 +77,7 @@ python_configure_all() { python_install_all() { distutils-r1_python_install_all insinto /usr/share/${PN}/ - doins -r contrib/* + doins -r contrib } pkg_preinst() {