1 |
commit: 2be529d6dbf4e40185587c70fbdbed21e3fba7cf |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 23 23:03:03 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 23 23:26:56 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2be529d6 |
7 |
|
8 |
dev-python/owslib: 0.20.0 version bump, python3_9 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/727602 |
11 |
Package-Manager: Portage-3.0.8, Repoman-3.0.2 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
dev-python/owslib/Manifest | 1 + |
15 |
.../files/owslib-0.20.0-no-privacybreach.patch | 41 +++++++++++++++++++++ |
16 |
dev-python/owslib/owslib-0.20.0.ebuild | 42 ++++++++++++++++++++++ |
17 |
3 files changed, 84 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/owslib/Manifest b/dev-python/owslib/Manifest |
20 |
index 3a2e91c33f7..998270185a2 100644 |
21 |
--- a/dev-python/owslib/Manifest |
22 |
+++ b/dev-python/owslib/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST owslib-0.17.1.tar.gz 898961 BLAKE2B e48b10a0bd9dc1e85588b8007261c47f9f754af9eeb7292d4a3fd9ce017309efbe0fc9951a42470a6938194e5903b12ffe286b140d906e1d281f5a2f739540ce SHA512 0772f7698d1d5c6989419a455e8b6d97b0fc9f04a48275b1179f5bcc0fe782620721e840969281941b0f0a3616d8220916090256bb177eff1b2a4df0e02e2caa |
25 |
+DIST owslib-0.20.0.tar.gz 912319 BLAKE2B 9f6e44f76554d67756839bfad1cdce6e2e7a4db6c3517ed308256745a3ea1df77488718f307bcd59dfcae7bab7801ba1974131f358db1bd070846640ccf08ada SHA512 c30e14d0a310617d2dbcca436f38d4a942b8c5efb96506554e650b20b34580fd0119ae6bf17892bb09ceff7141b9cbfd32deb582d14d81b6518dbbc223116d07 |
26 |
|
27 |
diff --git a/dev-python/owslib/files/owslib-0.20.0-no-privacybreach.patch b/dev-python/owslib/files/owslib-0.20.0-no-privacybreach.patch |
28 |
new file mode 100644 |
29 |
index 00000000000..45bcb8b38d1 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/owslib/files/owslib-0.20.0-no-privacybreach.patch |
32 |
@@ -0,0 +1,41 @@ |
33 |
+Description: Fix privacy breaches. |
34 |
+Author: Johan Van de Wauw <johan@×××××××××.be> |
35 |
+ |
36 |
+--- a/docs/en/index.rst |
37 |
++++ b/docs/en/index.rst |
38 |
+@@ -5,11 +5,7 @@ OWSLib |release| documentation |
39 |
+ .. toctree:: |
40 |
+ :maxdepth: 2 |
41 |
+ |
42 |
+-.. image:: https://www.openhub.net/p/owslib/widgets/project_partner_badge.gif |
43 |
+- :width: 193px |
44 |
+- :height: 33px |
45 |
+- :alt: OWSLib |
46 |
+- :target: https://www.openhub.net/p/owslib?ref=WidgetProjectPartnerBadge |
47 |
++`OpenHUB <https://www.openhub.net/p/owslib?ref=WidgetProjectPartnerBadge>`_ |
48 |
+ |
49 |
+ :Author: Tom Kralidis |
50 |
+ :Contact: tomkralidis at gmail.com |
51 |
+--- a/docs/_templates/layout.html |
52 |
++++ b/docs/_templates/layout.html |
53 |
+@@ -3,20 +3,6 @@ |
54 |
+ {%- block extrahead %} |
55 |
+ {{ super() }} |
56 |
+ |
57 |
+-<script type="text/javascript"> |
58 |
+- |
59 |
+- var _gaq = _gaq || []; |
60 |
+- _gaq.push(['_setAccount', 'UA-32866201-1']); |
61 |
+- _gaq.push(['_trackPageview']); |
62 |
+- |
63 |
+- (function() { |
64 |
+- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; |
65 |
+- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |
66 |
+- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); |
67 |
+- })(); |
68 |
+- |
69 |
+-</script> |
70 |
+- |
71 |
+ {% endblock %} |
72 |
+ |
73 |
+ {% block relbar1 %} |
74 |
|
75 |
diff --git a/dev-python/owslib/owslib-0.20.0.ebuild b/dev-python/owslib/owslib-0.20.0.ebuild |
76 |
new file mode 100644 |
77 |
index 00000000000..a901ed6ac69 |
78 |
--- /dev/null |
79 |
+++ b/dev-python/owslib/owslib-0.20.0.ebuild |
80 |
@@ -0,0 +1,42 @@ |
81 |
+# Copyright 1999-2020 Gentoo Authors |
82 |
+# Distributed under the terms of the GNU General Public License v2 |
83 |
+ |
84 |
+EAPI=7 |
85 |
+ |
86 |
+PYTHON_COMPAT=( python3_{7,8,9} ) |
87 |
+inherit distutils-r1 |
88 |
+ |
89 |
+DESCRIPTION="Library for client programming with Open Geospatial Consortium web service" |
90 |
+HOMEPAGE="https://geopython.github.io/OWSLib" |
91 |
+SRC_URI="https://github.com/geopython/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
92 |
+ |
93 |
+S="${WORKDIR}/OWSLib-${PV}" |
94 |
+ |
95 |
+LICENSE="BSD" |
96 |
+SLOT="0" |
97 |
+KEYWORDS="~amd64 ~x86" |
98 |
+IUSE="test" |
99 |
+ |
100 |
+RDEPEND=" |
101 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
102 |
+ dev-python/pyproj[${PYTHON_USEDEP}] |
103 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}] |
104 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
105 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
106 |
+ dev-python/requests[${PYTHON_USEDEP}] |
107 |
+" |
108 |
+DEPEND=" |
109 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
110 |
+ test? ( |
111 |
+ dev-python/pillow[${PYTHON_USEDEP}] |
112 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
113 |
+ ) |
114 |
+" |
115 |
+ |
116 |
+RESTRICT="test" # tests require WAN access |
117 |
+ |
118 |
+PATCHES=( "${FILESDIR}/${P}-no-privacybreach.patch" ) |
119 |
+ |
120 |
+python_test() { |
121 |
+ "${EPYTHON}" "${S}/setup.py" test || die |
122 |
+} |