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 06021138359 for ; Sun, 10 May 2020 10:26:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F4AEE0823; Sun, 10 May 2020 10:26:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 0513AE0823 for ; Sun, 10 May 2020 10:26:52 +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 0244634F215 for ; Sun, 10 May 2020 10:26:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A855B1B0 for ; Sun, 10 May 2020 10:26:49 +0000 (UTC) From: "Louis Sautier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Louis Sautier" Message-ID: <1589106397.c56dd0fb8e2dc30458b13e1366a9c1402d9c945a.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-misc/urlwatch/files/, www-misc/urlwatch/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-misc/urlwatch/files/urlwatch-2.18-pycodestyle-requirement.patch www-misc/urlwatch/urlwatch-2.18-r1.ebuild www-misc/urlwatch/urlwatch-2.18.ebuild X-VCS-Directories: www-misc/urlwatch/ www-misc/urlwatch/files/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: c56dd0fb8e2dc30458b13e1366a9c1402d9c945a X-VCS-Branch: master Date: Sun, 10 May 2020 10:26:49 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bcbaf284-7081-49ce-b8d7-f33878386683 X-Archives-Hash: 6b02a06d87a873f901940e2c444c2469 commit: c56dd0fb8e2dc30458b13e1366a9c1402d9c945a Author: Louis Sautier gentoo org> AuthorDate: Sun May 10 10:22:24 2020 +0000 Commit: Louis Sautier gentoo org> CommitDate: Sun May 10 10:26:37 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c56dd0fb www-misc/urlwatch: fix failure when pycodestyle is not installed Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Louis Sautier gentoo.org> .../files/urlwatch-2.18-pycodestyle-requirement.patch | 15 +++++++++++++++ .../{urlwatch-2.18.ebuild => urlwatch-2.18-r1.ebuild} | 4 ++++ 2 files changed, 19 insertions(+) diff --git a/www-misc/urlwatch/files/urlwatch-2.18-pycodestyle-requirement.patch b/www-misc/urlwatch/files/urlwatch-2.18-pycodestyle-requirement.patch new file mode 100644 index 00000000000..587a55ab03c --- /dev/null +++ b/www-misc/urlwatch/files/urlwatch-2.18-pycodestyle-requirement.patch @@ -0,0 +1,15 @@ +diff --git a/setup.py b/setup.py +index 5f85aaf..7466787 100644 +--- a/setup.py ++++ b/setup.py +@@ -17,9 +17,7 @@ if sys.version_info < (3, 3): + m['name'] = 'urlwatch' + m['author'], m['author_email'] = re.match(r'(.*) <(.*)>', m['author']).groups() + m['description'], m['long_description'] = docs[0].strip().split('\n\n', 1) +-m['install_requires'] = ['minidb', 'PyYAML', 'requests', 'keyring', 'pycodestyle', 'appdirs', 'lxml', 'cssselect'] +-if sys.version_info < (3, 4): +- m['install_requires'].extend(['enum34']) ++m['install_requires'] = ['minidb', 'PyYAML', 'requests', 'keyring', 'appdirs', 'lxml', 'cssselect'] + if sys.platform == 'win32': + m['install_requires'].extend(['colorama']) + m['entry_points'] = {"console_scripts": ["urlwatch=urlwatch.cli:main"]} diff --git a/www-misc/urlwatch/urlwatch-2.18.ebuild b/www-misc/urlwatch/urlwatch-2.18-r1.ebuild similarity index 90% rename from www-misc/urlwatch/urlwatch-2.18.ebuild rename to www-misc/urlwatch/urlwatch-2.18-r1.ebuild index 4c0c01c582b..d8fcfd698a2 100644 --- a/www-misc/urlwatch/urlwatch-2.18.ebuild +++ b/www-misc/urlwatch/urlwatch-2.18-r1.ebuild @@ -36,6 +36,10 @@ BDEPEND=" ) " +# This will be in the next release +# https://github.com/thp/urlwatch/commit/44e862282d39a6e23f67c3c0240a93cccbb41a55 +PATCHES=( "${FILESDIR}/${P}-pycodestyle-requirement.patch" ) + DOCS=( CHANGELOG.md README.md ) distutils_enable_tests nose