public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apache/mod_wsgi/
Date: Thu,  3 Sep 2020 12:11:54 +0000 (UTC)	[thread overview]
Message-ID: <1599135111.c86b235dd20616fa9f5f70ca763c237d68c5eb76.polynomial-c@gentoo> (raw)

commit:     c86b235dd20616fa9f5f70ca763c237d68c5eb76
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  3 12:04:37 2020 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Sep  3 12:11:51 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c86b235d

www-apache/mod_wsgi: Bump to version 4.7.1

- Bumped to EAPI-6
- Added python3_8 support
- Explicitly call python-single-r1_pkg_setup
- Worked around apache-modules.eclass annoyances
- Forced bash as config shell because configure script contains bashisms

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 www-apache/mod_wsgi/Manifest              |  1 +
 www-apache/mod_wsgi/mod_wsgi-4.7.1.ebuild | 51 +++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/www-apache/mod_wsgi/Manifest b/www-apache/mod_wsgi/Manifest
index c706d88013e..689110d93b0 100644
--- a/www-apache/mod_wsgi/Manifest
+++ b/www-apache/mod_wsgi/Manifest
@@ -1,3 +1,4 @@
 DIST mod_wsgi-4.5.13.tar.gz 679121 BLAKE2B 310a6a56495883439fad4a5ee7b30e749aaec4131bc039fd378018c30c9b61f1cb2c8b0ed6339c4a9cf556571e2713ff356b04007f1e2a10bcac52ddd5e5d14f SHA512 94bf6ae0d76ece67682a8ca3b7f202bb08a1f3e09e42c33f52b561a57ac8265ca2f5431f839bfe731eb014f279b0d865fd007f14a4839c934d372390d24a44a2
 DIST mod_wsgi-4.6.5.tar.gz 693825 BLAKE2B 1564c331505706548ed171a6f57ad8947eea257295ecae56c0d3e87c4d15743ea4bb0275ae94a6168912ff27fcfcd06eec823b8332d19895ed803ad6164da77b SHA512 5f1526b74ea59c8ef897b49b1b2f2de42d9d0144277fd74f9f8e1f3e0198735f98ec30f726883a3192d0ed33a4013232cb2adf8db9d817b4de0198890eaa7044
 DIST mod_wsgi-4.7.0.tar.gz 695658 BLAKE2B 4332e5c30219cde9cf44c8633f3052faa104524d5a2ccd151fe9675364760cb9c447001289094c57cef21df4e364962c93e85f3a3eef36325e9b96e7715dfc19 SHA512 4c40a07301ef7f42ff175cfd5efd9c4916ba90749780cdc470cc0c62b190af810ba4284504f2b342c1e92801637aa52ba5719e0b114a072fd50d68754abdf36f
+DIST mod_wsgi-4.7.1.tar.gz 696111 BLAKE2B 69fea421077f1ecbf1cef5c9eac4ba296fa676e0bfbb860ca8a7cb701701f405edb3760486b87e8d9dd93efcb4c23385197d770ca32e16a473d5d252d292fb76 SHA512 cbb5ec53d55e47a83f2b0630527c6a52b48ef21d5d2c18adcb875fc455795b39b3c93f4a86dfbf9738c0bd554d86cc4912cc9ff83c428af302ab94a61f66b5b4

diff --git a/www-apache/mod_wsgi/mod_wsgi-4.7.1.ebuild b/www-apache/mod_wsgi/mod_wsgi-4.7.1.ebuild
new file mode 100644
index 00000000000..9415402eae8
--- /dev/null
+++ b/www-apache/mod_wsgi/mod_wsgi-4.7.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit apache-module eutils python-single-r1
+
+DESCRIPTION="An Apache2 module for running Python WSGI applications"
+HOMEPAGE="https://github.com/GrahamDumpleton/mod_wsgi"
+SRC_URI="https://github.com/GrahamDumpleton/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND=""
+RDEPEND="${PYTHON_DEPS}"
+
+APACHE2_MOD_CONF="70_${PN}"
+APACHE2_MOD_DEFINE="WSGI"
+APACHE2_MOD_FILE="${S}/src/server/.libs/${PN}.so"
+
+DOCFILES="README.rst"
+
+need_apache2
+
+pkg_setup() {
+	python-single-r1_pkg_setup
+
+	# Calling depend.apache_pkg_setup fails because we do not have
+	# "apache2" in IUSE but the function expects this in order to call
+	# _init_apache2_late which sets the APACHE_MODULESDIR variable.
+	_init_apache2
+	_init_apache2_late
+}
+
+src_configure() {
+	# configure.ac contains bashisms
+	# (https://github.com/GrahamDumpleton/mod_wsgi/issues/567)
+	CONFIG_SHELL="/bin/bash" \
+	econf --with-apxs="${APXS}" --with-python="${PYTHON}"
+}
+
+src_compile() {
+	default
+}


             reply	other threads:[~2020-09-03 12:11 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-03 12:11 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-18 18:15 [gentoo-commits] repo/gentoo:master commit in: www-apache/mod_wsgi/ Petr Vaněk
2024-07-17 11:27 Arthur Zamarin
2024-07-17 11:26 Arthur Zamarin
2024-06-07  8:54 Hanno Böck
2023-04-19 11:07 Sam James
2023-04-19 10:16 Arthur Zamarin
2023-04-19  9:43 Sam James
2023-04-09  7:00 Sam James
2022-12-07 13:35 Arthur Zamarin
2022-04-29 10:21 Sam James
2022-04-29  8:29 Jakov Smolić
2022-04-29  8:27 Sam James
2022-04-29  4:49 Sam James
2022-01-01 20:14 Dirkjan Ochtman
2021-06-10 18:28 Sam James
2021-06-01  6:59 Agostino Sarubbo
2021-06-01  6:32 Agostino Sarubbo
2021-04-05 19:02 Dirkjan Ochtman
2021-02-08 13:45 Dirkjan Ochtman
2020-12-02 14:27 Mikle Kolyada
2020-12-02 14:27 Mikle Kolyada
2020-12-02  3:06 Thomas Deutschmann
2020-09-03 12:11 Lars Wendler
2020-08-02 12:03 Michał Górny
2020-05-09  7:48 Agostino Sarubbo
2020-05-09  7:40 Agostino Sarubbo
2020-05-08 17:11 Agostino Sarubbo
2020-02-01 20:45 Dirkjan Ochtman
2020-02-01 20:31 Dirkjan Ochtman
2019-07-21  8:31 Sergei Trofimovich
2019-03-20 19:51 Dirkjan Ochtman
2017-11-19 19:50 Dirkjan Ochtman
2017-11-19 19:50 Dirkjan Ochtman
2017-09-12 23:02 Matt Turner
2017-08-05  9:38 Michael Palimaka
2017-07-19 18:06 Tobias Klausmann
2017-07-18  8:05 Dirkjan Ochtman
2017-06-30  5:31 Alexis Ballier
2017-06-14 13:55 Pacho Ramos
2017-04-21  7:33 David Seifert
2017-04-05 13:45 Michael Weber
2017-01-21 17:16 Agostino Sarubbo
2017-01-20 21:31 Dirkjan Ochtman
2017-01-20 21:31 Dirkjan Ochtman
2016-12-27 15:51 Dirkjan Ochtman
2016-11-03 10:03 Dirkjan Ochtman
2016-05-13 10:27 Dirkjan Ochtman
2016-05-13 10:23 Dirkjan Ochtman
2016-02-13 15:33 Agostino Sarubbo
2016-02-08  9:04 Dirkjan Ochtman
2015-12-28 21:26 Dirkjan Ochtman
2015-12-28 21:26 Dirkjan Ochtman
2015-09-19 13:34 Dirkjan Ochtman
2015-09-19 13:32 Dirkjan Ochtman
2015-09-01 20:06 Tobias Klausmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1599135111.c86b235dd20616fa9f5f70ca763c237d68c5eb76.polynomial-c@gentoo \
    --to=polynomial-c@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox