commit:     30f1d836f62c9d38b76f5067bb1ef1b9764d788a
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Mon Oct  2 05:25:26 2023 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Wed Oct 18 04:25:58 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30f1d836

app-text/calibre: remove useless variables from the py3 testing period

Ever since calibre's python 3 port was completed, this variable was no
longer needed to unlock opting in to using python3. And thus, it is
neither checked nor used.

Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-text/calibre/calibre-5.44.0-r2.ebuild | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/app-text/calibre/calibre-5.44.0-r2.ebuild 
b/app-text/calibre/calibre-5.44.0-r2.ebuild
index 815415c38fea..35ad30fb7576 100644
--- a/app-text/calibre/calibre-5.44.0-r2.ebuild
+++ b/app-text/calibre/calibre-5.44.0-r2.ebuild
@@ -206,7 +206,7 @@ src_test() {
        #
        # Note that we currently have a hack to skip one part of test_qt!
        # See PATCHES for more.
-       CALIBRE_PY3_PORT=1 ${PYTHON} setup.py test \
+       ${PYTHON} setup.py test \
                        --exclude-test-name 7z \
                        --exclude-test-name test_mem_leaks \
                        --exclude-test-name test_searching \
@@ -214,9 +214,6 @@ src_test() {
 }
 
 src_install() {
-       # calibre works with python 3, so remove the python 2 constraint
-       export CALIBRE_PY3_PORT=1
-
        # Bypass kbuildsycoca and update-mime-database in order to
        # avoid sandbox violations if xdg-mime tries to call them.
        mkdir "${T}/bin" || die

Reply via email to