summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2021-10-25 21:49:58 -0700
committerZac Medico <zmedico@gentoo.org>2021-10-25 21:51:50 -0700
commit7c6c22ed5f98caf39e18fbf4387ff3420c45c3cb (patch)
tree199536905e2fcc6fba4c03001621e877d5cb7f99 /dev-python/APScheduler
parentdev-ruby/ruby-xslt: add ruby30; fix extensions install (diff)
downloadgentoo-7c6c22ed5f98caf39e18fbf4387ff3420c45c3cb.tar.gz
gentoo-7c6c22ed5f98caf39e18fbf4387ff3420c45c3cb.tar.bz2
gentoo-7c6c22ed5f98caf39e18fbf4387ff3420c45c3cb.zip
dev-python/APScheduler: Suppress setuptools warning
* QA Notice: setuptools warnings detected: * * Usage of dash-separated 'upload-dir' will not be supported in future versions. Please use the underscore name 'upload_dir' instead Closes: https://bugs.gentoo.org/797751 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'dev-python/APScheduler')
-rw-r--r--dev-python/APScheduler/APScheduler-3.6.3.ebuild3
-rw-r--r--dev-python/APScheduler/APScheduler-3.8.1.ebuild7
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-python/APScheduler/APScheduler-3.6.3.ebuild b/dev-python/APScheduler/APScheduler-3.6.3.ebuild
index 8f1d7466fc1a..ab32c3d78ba1 100644
--- a/dev-python/APScheduler/APScheduler-3.6.3.ebuild
+++ b/dev-python/APScheduler/APScheduler-3.6.3.ebuild
@@ -61,5 +61,8 @@ python_prepare_all() {
sed -Ee "s:$(echo "${test_failures[@]}"| sed 's: :|:g'):_\\0:" -i "${REPLY}" || die
done < <(grep -rElZ "$(echo "${test_failures[@]}"| sed 's: :|:g')" "${S}")
+ # suppress setuptools warning #797751
+ sed -e 's|^upload-dir|upload_dir|' -i setup.cfg || die
+
distutils-r1_python_prepare_all
}
diff --git a/dev-python/APScheduler/APScheduler-3.8.1.ebuild b/dev-python/APScheduler/APScheduler-3.8.1.ebuild
index 4f840eeaf53f..470a0d39cdcf 100644
--- a/dev-python/APScheduler/APScheduler-3.8.1.ebuild
+++ b/dev-python/APScheduler/APScheduler-3.8.1.ebuild
@@ -40,3 +40,10 @@ EPYTEST_DESELECT=(
tests/test_jobstores.py::test_repr_redisjobstore
tests/test_jobstores.py::test_repr_zookeeperjobstore
)
+
+python_prepare_all() {
+ # suppress setuptools warning #797751
+ sed -e 's|^upload-dir|upload_dir|' -i setup.cfg || die
+
+ distutils-r1_python_prepare_all
+}