diff options
| author | Zurab Kvachadze <zurabid2016@gmail.com> | 2026-02-08 20:01:57 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2026-02-20 19:09:34 +0000 |
| commit | e0b1493dce7b2f868d3348e58d746c22a265820d (patch) | |
| tree | 92c53b410a19aa41b46b007479b4545b62abed26 /dev-python/python-tests/python-tests-3.11.14.ebuild | |
| parent | f5707053d17b928af12627d58b608c36f75f2aab (diff) | |
| download | gentoo-e0b1493dce7b2f868d3348e58d746c22a265820d.tar.gz gentoo-e0b1493dce7b2f868d3348e58d746c22a265820d.tar.bz2 gentoo-e0b1493dce7b2f868d3348e58d746c22a265820d.zip | |
nginx-module.eclass: Use S as NGINX_MOD_S, use NGINX_S for build system
Since the introduction of this eclass to the tree, ${S} has always
pointed to the fake NGINX build system directory (i.e. the directory
with symlinks 'src/', 'configure' and 'auto/').
This caused problems in the past, e.g. see commit
fffbf942fc40a82d37746e70c061864aefa116f5 "nginx-module.eclass: Add
NGINX_MOD_CONFIG_DIR, fixup www-nginx/ngx-naxsi". Additionally, ${S} not
pointing to real sources required manual integration for live ebuilds
using git-r3 and Mercurial eclasses alike.
Following Sam's advice on IRC, this commit swaps ${S} and ${NGINX_MOD_S}
to ${NGINX_S} and ${S} respectively. Now, ${S} points to the actual
module's source, easing integration with other eclasses, and ${NGINX_S}
points to our fake build environment. Each phase function, when needed,
obviously pushd'es into ${NGINX_S}.
${NGINX_MOD_S} is now an alias to ${S}; it is deprecated and will be out
of the door in EAPI 9. No ebuilds listed on gpo.zugaina.org reference
${NGINX_MOD_S} so it is safe to not synchronise its value with ${S}.
git-r3 and mercurial eclasses may now be used with nginx-module.eclass
as in every other ebuild: set the relevant E(GIT|HG)_REPO_URI, inherit
the required eclass, and you are good to go!
Closes: https://bugs.gentoo.org/967171
Suggested-by: Sam James <sam@gentoo.org>
Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/python-tests/python-tests-3.11.14.ebuild')
0 files changed, 0 insertions, 0 deletions
