diff options
Diffstat (limited to 'www-misc/urlwatch/files')
-rw-r--r-- | www-misc/urlwatch/files/urlwatch-2.18-pycodestyle-requirement.patch | 15 |
1 files changed, 15 insertions, 0 deletions
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 000000000000..587a55ab03c8 --- /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"]} |