1 |
commit: bb541f92e7b248adc7d15f3d4c3500583b6fbbb3 |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 5 14:32:30 2018 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 5 22:46:14 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb541f92 |
7 |
|
8 |
www-misc/urlwatch: bump to 2.14, add Python 3.7, drop 3.4 |
9 |
|
10 |
Newer version of the dependencies don't support Python 3.4. |
11 |
|
12 |
Package-Manager: Portage-2.3.48, Repoman-2.3.10 |
13 |
|
14 |
www-misc/urlwatch/Manifest | 1 + |
15 |
www-misc/urlwatch/urlwatch-2.14.ebuild | 58 ++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 59 insertions(+) |
17 |
|
18 |
diff --git a/www-misc/urlwatch/Manifest b/www-misc/urlwatch/Manifest |
19 |
index 3419d2882fa..ed08dc67dd9 100644 |
20 |
--- a/www-misc/urlwatch/Manifest |
21 |
+++ b/www-misc/urlwatch/Manifest |
22 |
@@ -1,3 +1,4 @@ |
23 |
DIST urlwatch-2.13.tar.gz 34312 BLAKE2B 6ac618d4f1f78b0a3f6d17dd2283704e8d1fc7173ce6d79fcf0f9177f48463a610a4c20d8483a4a9c22e56eca67730ef25982981f310ca8e9927e48e298a1b1d SHA512 5ca6ad3de54c2e1d63cb545ae0d213a4483ef175dad947be00994bc990d047c7aec1f3b0a8b23290672db940001a9cc31c919aa7d9c280ab4792299e2dba684c |
24 |
+DIST urlwatch-2.14.tar.gz 36587 BLAKE2B 6c4115c58cc9aae5ac8c62f7cb360ca38afa9a9ceadc93f3c9d2bccc7808ab1accf912a0f5756d984bb7a33fa448c91c1bb90e841bd45e2f8d34c4d74cae531c SHA512 8c7b479f80973da28e281e8437a30038c6dcdf9036c30cb5e685fdb9460fbb7b90a27e9d5a27290cfe30de1a0f443644b13c8a10740c205ebd58bcb2bb29c888 |
25 |
DIST urlwatch-2.5.tar.gz 25322 BLAKE2B 637fa254fe565d9a3909fc80879a7b40a72a92e01cdca3a2e95f905c768238e4a2ef7559e32ae4295357d3391109f08149e721564e4c14b6c8be281a416cc45a SHA512 993d2596288d014a3b84ae22c29ce89282c4320dd95b339c9892db07997059fc80a96198cb89ba04d935f68d2d051da96dc981f8e8b3657492443b060d2126a1 |
26 |
DIST urlwatch-2.6.tar.gz 30412 BLAKE2B 3d9495a418f8180a788db27bec13f9c20d92476851404d0f78dc6fec664a90c4bf9749cbe26323741a31175abf5b6ca01c066da8a8db6e63da73b46bb524e293 SHA512 52d71984972c6888ade01fcc635d33a60c024424b82ac9319554f548438f8a4e2f32a8b7d3047ed86654c8ef67e3b6eac99728f9409b60cdffe7e842fd8fe16c |
27 |
|
28 |
diff --git a/www-misc/urlwatch/urlwatch-2.14.ebuild b/www-misc/urlwatch/urlwatch-2.14.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..6dce261a7b8 |
31 |
--- /dev/null |
32 |
+++ b/www-misc/urlwatch/urlwatch-2.14.ebuild |
33 |
@@ -0,0 +1,58 @@ |
34 |
+# Copyright 1999-2018 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+PYTHON_COMPAT=( python3_{5,6,7} ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="A tool for monitoring webpages for updates" |
43 |
+HOMEPAGE="https://thp.io/2008/urlwatch/" |
44 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="BSD" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+IUSE="test" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ dev-python/appdirs[${PYTHON_USEDEP}] |
53 |
+ dev-python/keyring[${PYTHON_USEDEP}] |
54 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
55 |
+ dev-python/minidb[${PYTHON_USEDEP}] |
56 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
57 |
+ dev-python/requests[${PYTHON_USEDEP}] |
58 |
+" |
59 |
+BDEPEND=" |
60 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
61 |
+ test? ( |
62 |
+ ${RDEPEND} |
63 |
+ dev-python/nose[${PYTHON_USEDEP}] |
64 |
+ dev-python/pycodestyle[${PYTHON_USEDEP}] |
65 |
+ ) |
66 |
+" |
67 |
+ |
68 |
+DOCS=( CHANGELOG.md README.md ) |
69 |
+ |
70 |
+python_test() { |
71 |
+ nosetests -v test || die "tests failed with ${EPYTHON}" |
72 |
+} |
73 |
+ |
74 |
+pkg_postinst() { |
75 |
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then |
76 |
+ if ! has_version dev-python/chump; then |
77 |
+ elog "Install 'dev-python/chump' to enable Pushover" \ |
78 |
+ "notifications support" |
79 |
+ fi |
80 |
+ if ! has_version dev-python/pushbullet-py; then |
81 |
+ elog "Install 'dev-python/pushbullet-py' to enable" \ |
82 |
+ "Pushbullet notifications support" |
83 |
+ fi |
84 |
+ elog "HTML parsing can be improved by installing one of the following packages" |
85 |
+ elog "and changing the html2text subfilter parameter:" |
86 |
+ elog "dev-python/beautifulsoup:4" |
87 |
+ elog "app-text/html2text" |
88 |
+ elog "dev-python/html2text" |
89 |
+ elog "www-client/lynx" |
90 |
+ fi |
91 |
+} |