1 |
commit: c86b235dd20616fa9f5f70ca763c237d68c5eb76 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 3 12:04:37 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 3 12:11:51 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c86b235d |
7 |
|
8 |
www-apache/mod_wsgi: Bump to version 4.7.1 |
9 |
|
10 |
- Bumped to EAPI-6 |
11 |
- Added python3_8 support |
12 |
- Explicitly call python-single-r1_pkg_setup |
13 |
- Worked around apache-modules.eclass annoyances |
14 |
- Forced bash as config shell because configure script contains bashisms |
15 |
|
16 |
Package-Manager: Portage-3.0.5, Repoman-3.0.1 |
17 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
18 |
|
19 |
www-apache/mod_wsgi/Manifest | 1 + |
20 |
www-apache/mod_wsgi/mod_wsgi-4.7.1.ebuild | 51 +++++++++++++++++++++++++++++++ |
21 |
2 files changed, 52 insertions(+) |
22 |
|
23 |
diff --git a/www-apache/mod_wsgi/Manifest b/www-apache/mod_wsgi/Manifest |
24 |
index c706d88013e..689110d93b0 100644 |
25 |
--- a/www-apache/mod_wsgi/Manifest |
26 |
+++ b/www-apache/mod_wsgi/Manifest |
27 |
@@ -1,3 +1,4 @@ |
28 |
DIST mod_wsgi-4.5.13.tar.gz 679121 BLAKE2B 310a6a56495883439fad4a5ee7b30e749aaec4131bc039fd378018c30c9b61f1cb2c8b0ed6339c4a9cf556571e2713ff356b04007f1e2a10bcac52ddd5e5d14f SHA512 94bf6ae0d76ece67682a8ca3b7f202bb08a1f3e09e42c33f52b561a57ac8265ca2f5431f839bfe731eb014f279b0d865fd007f14a4839c934d372390d24a44a2 |
29 |
DIST mod_wsgi-4.6.5.tar.gz 693825 BLAKE2B 1564c331505706548ed171a6f57ad8947eea257295ecae56c0d3e87c4d15743ea4bb0275ae94a6168912ff27fcfcd06eec823b8332d19895ed803ad6164da77b SHA512 5f1526b74ea59c8ef897b49b1b2f2de42d9d0144277fd74f9f8e1f3e0198735f98ec30f726883a3192d0ed33a4013232cb2adf8db9d817b4de0198890eaa7044 |
30 |
DIST mod_wsgi-4.7.0.tar.gz 695658 BLAKE2B 4332e5c30219cde9cf44c8633f3052faa104524d5a2ccd151fe9675364760cb9c447001289094c57cef21df4e364962c93e85f3a3eef36325e9b96e7715dfc19 SHA512 4c40a07301ef7f42ff175cfd5efd9c4916ba90749780cdc470cc0c62b190af810ba4284504f2b342c1e92801637aa52ba5719e0b114a072fd50d68754abdf36f |
31 |
+DIST mod_wsgi-4.7.1.tar.gz 696111 BLAKE2B 69fea421077f1ecbf1cef5c9eac4ba296fa676e0bfbb860ca8a7cb701701f405edb3760486b87e8d9dd93efcb4c23385197d770ca32e16a473d5d252d292fb76 SHA512 cbb5ec53d55e47a83f2b0630527c6a52b48ef21d5d2c18adcb875fc455795b39b3c93f4a86dfbf9738c0bd554d86cc4912cc9ff83c428af302ab94a61f66b5b4 |
32 |
|
33 |
diff --git a/www-apache/mod_wsgi/mod_wsgi-4.7.1.ebuild b/www-apache/mod_wsgi/mod_wsgi-4.7.1.ebuild |
34 |
new file mode 100644 |
35 |
index 00000000000..9415402eae8 |
36 |
--- /dev/null |
37 |
+++ b/www-apache/mod_wsgi/mod_wsgi-4.7.1.ebuild |
38 |
@@ -0,0 +1,51 @@ |
39 |
+# Copyright 1999-2020 Gentoo Authors |
40 |
+# Distributed under the terms of the GNU General Public License v2 |
41 |
+ |
42 |
+EAPI=6 |
43 |
+ |
44 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
45 |
+PYTHON_REQ_USE="threads(+)" |
46 |
+ |
47 |
+inherit apache-module eutils python-single-r1 |
48 |
+ |
49 |
+DESCRIPTION="An Apache2 module for running Python WSGI applications" |
50 |
+HOMEPAGE="https://github.com/GrahamDumpleton/mod_wsgi" |
51 |
+SRC_URI="https://github.com/GrahamDumpleton/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
52 |
+ |
53 |
+LICENSE="Apache-2.0" |
54 |
+SLOT="0" |
55 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
56 |
+IUSE="" |
57 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
58 |
+ |
59 |
+DEPEND="" |
60 |
+RDEPEND="${PYTHON_DEPS}" |
61 |
+ |
62 |
+APACHE2_MOD_CONF="70_${PN}" |
63 |
+APACHE2_MOD_DEFINE="WSGI" |
64 |
+APACHE2_MOD_FILE="${S}/src/server/.libs/${PN}.so" |
65 |
+ |
66 |
+DOCFILES="README.rst" |
67 |
+ |
68 |
+need_apache2 |
69 |
+ |
70 |
+pkg_setup() { |
71 |
+ python-single-r1_pkg_setup |
72 |
+ |
73 |
+ # Calling depend.apache_pkg_setup fails because we do not have |
74 |
+ # "apache2" in IUSE but the function expects this in order to call |
75 |
+ # _init_apache2_late which sets the APACHE_MODULESDIR variable. |
76 |
+ _init_apache2 |
77 |
+ _init_apache2_late |
78 |
+} |
79 |
+ |
80 |
+src_configure() { |
81 |
+ # configure.ac contains bashisms |
82 |
+ # (https://github.com/GrahamDumpleton/mod_wsgi/issues/567) |
83 |
+ CONFIG_SHELL="/bin/bash" \ |
84 |
+ econf --with-apxs="${APXS}" --with-python="${PYTHON}" |
85 |
+} |
86 |
+ |
87 |
+src_compile() { |
88 |
+ default |
89 |
+} |