-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mail-client/alot: Add version bump 0.9.1 #16680
mail-client/alot: Add version bump 0.9.1 #16680
Conversation
Pull Request assignmentSubmitter: @GuillaumeSeren dev-python/urwidtrees: @gentoo/proxy-maint (maintainer needed) Linked bugsIn order to force reassignment and/or bug reference scan, please append Docs: Code of Conduct ● Copyright policy (expl.) ● Devmanual ● GitHub PRs ● Proxy-maint guide |
# Copyright 1999-2020 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add an empty line below
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
PYTHON_COMPAT=( python{3_6,3_7,3_8} ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you could put 3_
outside of {}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
@@ -18,17 +19,16 @@ IUSE="doc test" | |||
RESTRICT="!test? ( test )" | |||
|
|||
RDEPEND=" | |||
>=app-crypt/gpgme-1.9.0[python,${PYTHON_USEDEP}] | |||
>=dev-python/configobj-4.7.0[${PYTHON_USEDEP}] | |||
app-crypt/gpgme[python,${PYTHON_USEDEP}] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did you remove >=
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just because the minimal available version in portage is sufficient (1.13.0).
Pull request CI reportReport generated at: 2020-07-12 17:26 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
LICENSE="GPL-3" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="doc" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should probably use distutils_enable_sphinx, which appends the doc keyword to IUSE for you: you can drop this line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
src_compile() { | ||
distutils-r1_src_compile | ||
|
||
use doc && emake -C docs html | ||
} | ||
|
||
src_install() { | ||
distutils-r1_src_install | ||
|
||
if use doc; then | ||
dodoc -r docs/build/html/. | ||
fi | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those lines can be replaced by a single distutils_enable_sphinx call
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
mail-client/alot/alot-0.9.1.ebuild
Outdated
>=dev-python/twisted-18.4[${PYTHON_USEDEP}] | ||
net-mail/mailbase | ||
>=net-mail/notmuch-0.27[crypt,python] | ||
net-mail/notmuch[crypt,python] | ||
" | ||
DEPEND=" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be BDEPEND. It can be called after distutils_enable_tests, which automatically appends test? ( ${RDEPEND} ) to it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok.
mail-client/alot/alot-0.9.1.ebuild
Outdated
" | ||
DEPEND=" | ||
dev-python/setuptools[${PYTHON_USEDEP}] | ||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Drop this and use distutils_enable_sphinx
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed on irc this helper does not work when building multiple (here man page),
sphinx target.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you should put this as a comment in the ebuild so that one knows why distutils_enable_sphinx is not used
mail-client/alot/alot-0.9.1.ebuild
Outdated
" | ||
DEPEND=" | ||
dev-python/setuptools[${PYTHON_USEDEP}] | ||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) | ||
test? ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
append mock to BDEPEND after calling distutils_enable_tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not get it at first now it is ok, thank you.
mail-client/alot/alot-0.9.1.ebuild
Outdated
python_compile_all() { | ||
emake -C docs man | ||
use doc && emake -C docs html | ||
} | ||
|
||
python_install_all() { | ||
use doc && local HTML_DOCS=( docs/build/html/. ) | ||
doman docs/build/man/* | ||
distutils-r1_python_install_all | ||
|
||
insinto /usr/share/alot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These lines can be replaced by a call to distutils_enable_sphinx
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately no.
mail-client/alot/alot-0.9.1.ebuild
Outdated
@@ -3,7 +3,8 @@ | |||
|
|||
EAPI=7 | |||
|
|||
PYTHON_COMPAT=( python3_{6,7} ) | |||
DISTUTILS_USE_SETUPTOOLS=rdepend | |||
PYTHON_COMPAT=( python3_{6,7,8} ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests fail with py3.8 because notmuch does not have py3.8 yet. This is why the RESTRICT below?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nevermind: #16668 will add py3.8 to notmuch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool
a62a60a
to
33e3f21
Compare
Pull request CI reportReport generated at: 2020-07-19 13:11 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
33e3f21
to
f2f5c53
Compare
Pull request CI reportReport generated at: 2020-07-24 21:51 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
BDEPEND+=" test? ( dev-python/mock[${PYTHON_USEDEP}] ) " | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tests.widgets.test_globals (unittest.loader._FailedTest) ... ERROR
======================================================================
ERROR: alot.buffers (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: alot.buffers
Traceback (most recent call last):
File "/usr/lib64/python3.6/unittest/loader.py", line 462, in _find_test_path
package = self._get_module_from_name(name)
File "/usr/lib64/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/buffers/__init__.py", line 7, in <module>
from .envelope import EnvelopeBuffer
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/buffers/envelope.py", line 9, in <module>
from ..widgets.globals import HeadersList
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/widgets/globals.py", line 14, in <module>
from ..db.attachment import Attachment
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/__init__.py", line 4, in <module>
from .thread import Thread
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/thread.py", line 6, in <module>
from .message import Message
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/message.py", line 10, in <module>
from notmuch import NullPointerError
ModuleNotFoundError: No module named 'notmuch'
======================================================================
ERROR: alot.db (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: alot.db
Traceback (most recent call last):
File "/usr/lib64/python3.6/unittest/loader.py", line 462, in _find_test_path
package = self._get_module_from_name(name)
File "/usr/lib64/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/__init__.py", line 4, in <module>
from .thread import Thread
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/thread.py", line 6, in <module>
from .message import Message
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/message.py", line 10, in <module>
from notmuch import NullPointerError
ModuleNotFoundError: No module named 'notmuch'
======================================================================
ERROR: tests.commands.test_envelope (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.commands.test_envelope
Traceback (most recent call last):
File "/usr/lib64/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/lib64/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/tests/commands/test_envelope.py", line 26, in <module>
from alot.commands import envelope
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/commands/envelope.py", line 20, in <module>
from . import globals
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/commands/globals.py", line 24, in <module>
from .. import buffers
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/buffers/__init__.py", line 7, in <module>
from .envelope import EnvelopeBuffer
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/buffers/envelope.py", line 9, in <module>
from ..widgets.globals import HeadersList
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/widgets/globals.py", line 14, in <module>
from ..db.attachment import Attachment
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/__init__.py", line 4, in <module>
from .thread import Thread
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/thread.py", line 6, in <module>
from .message import Message
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/message.py", line 10, in <module>
from notmuch import NullPointerError
ModuleNotFoundError: No module named 'notmuch'
======================================================================
ERROR: tests.commands.test_global (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.commands.test_global
Traceback (most recent call last):
File "/usr/lib64/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/lib64/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/tests/commands/test_global.py", line 24, in <module>
from alot.commands import globals as g_commands
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/commands/globals.py", line 24, in <module>
from .. import buffers
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/buffers/__init__.py", line 7, in <module>
from .envelope import EnvelopeBuffer
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/buffers/envelope.py", line 9, in <module>
from ..widgets.globals import HeadersList
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/widgets/globals.py", line 14, in <module>
from ..db.attachment import Attachment
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/__init__.py", line 4, in <module>
from .thread import Thread
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/thread.py", line 6, in <module>
from .message import Message
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/message.py", line 10, in <module>
from notmuch import NullPointerError
ModuleNotFoundError: No module named 'notmuch'
======================================================================
ERROR: tests.commands.test_init (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.commands.test_init
Traceback (most recent call last):
File "/usr/lib64/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/lib64/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/tests/commands/test_init.py", line 10, in <module>
from alot.commands import thread
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/commands/thread.py", line 20, in <module>
from .globals import ExternalCommand
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/commands/globals.py", line 24, in <module>
from .. import buffers
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/buffers/__init__.py", line 7, in <module>
from .envelope import EnvelopeBuffer
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/buffers/envelope.py", line 9, in <module>
from ..widgets.globals import HeadersList
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/widgets/globals.py", line 14, in <module>
from ..db.attachment import Attachment
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/__init__.py", line 4, in <module>
from .thread import Thread
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/thread.py", line 6, in <module>
from .message import Message
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/message.py", line 10, in <module>
from notmuch import NullPointerError
ModuleNotFoundError: No module named 'notmuch'
======================================================================
ERROR: tests.commands.test_thread (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.commands.test_thread
Traceback (most recent call last):
File "/usr/lib64/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/lib64/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/tests/commands/test_thread.py", line 11, in <module>
from alot.commands import thread
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/commands/thread.py", line 20, in <module>
from .globals import ExternalCommand
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/commands/globals.py", line 24, in <module>
from .. import buffers
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/buffers/__init__.py", line 7, in <module>
from .envelope import EnvelopeBuffer
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/buffers/envelope.py", line 9, in <module>
from ..widgets.globals import HeadersList
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/widgets/globals.py", line 14, in <module>
from ..db.attachment import Attachment
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/__init__.py", line 4, in <module>
from .thread import Thread
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/thread.py", line 6, in <module>
from .message import Message
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/message.py", line 10, in <module>
from notmuch import NullPointerError
ModuleNotFoundError: No module named 'notmuch'
======================================================================
ERROR: tests.db.test_envelope (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.db.test_envelope
Traceback (most recent call last):
File "/usr/lib64/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/lib64/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/tests/db/test_envelope.py", line 25, in <module>
from alot.db import envelope
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/__init__.py", line 4, in <module>
from .thread import Thread
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/thread.py", line 6, in <module>
from .message import Message
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/message.py", line 10, in <module>
from notmuch import NullPointerError
ModuleNotFoundError: No module named 'notmuch'
======================================================================
ERROR: tests.db.test_manager (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.db.test_manager
Traceback (most recent call last):
File "/usr/lib64/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/lib64/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/tests/db/test_manager.py", line 12, in <module>
from alot.db.manager import DBManager
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/__init__.py", line 4, in <module>
from .thread import Thread
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/thread.py", line 6, in <module>
from .message import Message
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/message.py", line 10, in <module>
from notmuch import NullPointerError
ModuleNotFoundError: No module named 'notmuch'
======================================================================
ERROR: tests.db.test_message (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.db.test_message
Traceback (most recent call last):
File "/usr/lib64/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/lib64/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/tests/db/test_message.py", line 21, in <module>
from alot.db import message
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/__init__.py", line 4, in <module>
from .thread import Thread
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/thread.py", line 6, in <module>
from .message import Message
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/message.py", line 10, in <module>
from notmuch import NullPointerError
ModuleNotFoundError: No module named 'notmuch'
======================================================================
ERROR: tests.db.test_thread (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.db.test_thread
Traceback (most recent call last):
File "/usr/lib64/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/lib64/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/tests/db/test_thread.py", line 22, in <module>
from alot.db import thread
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/__init__.py", line 4, in <module>
from .thread import Thread
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/thread.py", line 6, in <module>
from .message import Message
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/message.py", line 10, in <module>
from notmuch import NullPointerError
ModuleNotFoundError: No module named 'notmuch'
======================================================================
ERROR: tests.db.test_utils (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.db.test_utils
Traceback (most recent call last):
File "/usr/lib64/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/lib64/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/tests/db/test_utils.py", line 26, in <module>
from alot.db import utils
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/__init__.py", line 4, in <module>
from .thread import Thread
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/thread.py", line 6, in <module>
from .message import Message
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/message.py", line 10, in <module>
from notmuch import NullPointerError
ModuleNotFoundError: No module named 'notmuch'
======================================================================
ERROR: tests.test_completion (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.test_completion
Traceback (most recent call last):
File "/usr/lib64/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/lib64/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/tests/test_completion.py", line 10, in <module>
from alot.completion.abooks import AbooksCompleter
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/completion/abooks.py", line 7, in <module>
from ..db.utils import formataddr
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/__init__.py", line 4, in <module>
from .thread import Thread
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/thread.py", line 6, in <module>
from .message import Message
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/message.py", line 10, in <module>
from notmuch import NullPointerError
ModuleNotFoundError: No module named 'notmuch'
======================================================================
ERROR: tests.widgets.test_globals (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.widgets.test_globals
Traceback (most recent call last):
File "/usr/lib64/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/lib64/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/tests/widgets/test_globals.py", line 22, in <module>
from alot.widgets import globals as globals_
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/widgets/globals.py", line 14, in <module>
from ..db.attachment import Attachment
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/__init__.py", line 4, in <module>
from .thread import Thread
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/thread.py", line 6, in <module>
from .message import Message
File "/var/tmp/portage/mail-client/alot-0.9.1/work/alot-0.9.1/alot/db/message.py", line 10, in <module>
from notmuch import NullPointerError
ModuleNotFoundError: No module named 'notmuch'
----------------------------------------------------------------------
Ran 190 tests in 0.631s
So you'll have to add it here. Most likely to RDEPEND
too.
mail-client/alot/alot-0.9.1.ebuild
Outdated
dev-python/urwidtrees[${PYTHON_USEDEP}] | ||
>=dev-python/twisted-18.4[${PYTHON_USEDEP}] | ||
net-mail/mailbase | ||
net-mail/notmuch[crypt,python] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still think you'll need to add PYTHON_USEDEP
here, the test phase clearly implies that. However with notmuch-30 I'm not sure how it affects the runtime, you probably have a better idea? How is notmuch used by alot? It should be broken with 30 currently. Maybe the version can be restricted for now, or we wait until notmuch-30 has been fixed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still think you'll need to add PYTHON_USEDEP here, the test phase clearly implies that. However with notmuch-30 I'm not sure how it affects the runtime, you probably have a better idea?
I am not really sure, what I can say alot use the python binding provided by notmuch,
I used to think that when notmuch is installed it is build with all python version, maybe I am wrong.
Maybe the version can be restricted for now, or we wait until notmuch-30 has been fixed?
Yes I contacted upstream (pazz/alot#1539) it seems,
a PR is already going on to port to 'notmuch2' module (pazz/alot#1511).
So with all that, I think I probably fix to '<=net-mail/notmuch-0.30[crypt,python,${PYTHON_USEDEP}]',
until everything is fixed.
f2f5c53
to
bee4e2b
Compare
Pull request CI reportReport generated at: 2020-08-07 10:19 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
891a691
to
09f891e
Compare
Pull request CI reportReport generated at: 2020-08-07 10:44 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
Pull request CI reportReport generated at: 2020-08-07 11:04 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
Closes: https://bugs.gentoo.org/732360 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Guillaume Seren <[email protected]>
09f891e
to
41c8b7e
Compare
Hey, I tested it against a stage3 image, and it works building with tests and doc enabled. |
Pull request CI reportReport generated at: 2020-08-08 17:39 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
Did you try alot without doc?-) |
|
Closes: https://bugs.gentoo.org/732362 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Guillaume Seren <[email protected]>
Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Guillaume Seren <[email protected]>
Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Guillaume Seren <[email protected]>
Closes: https://bugs.gentoo.org/736410 Package-Manager: Portage-2.3.99, Repoman-2.3.2 Signed-off-by: Guillaume Seren <[email protected]>
Closes: https://bugs.gentoo.org/736412 Package-Manager: Portage-2.3.99, Repoman-2.3.2 Signed-off-by: Guillaume Seren <[email protected]>
41c8b7e
to
7ebb35f
Compare
You were right @janko-j1 |
Pull request CI reportReport generated at: 2020-08-08 20:29 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to drop your urwid commits, but this is merged otherwise.
They were a bit messy and incomplete. And building urwid with [doc]
doesn't work, although it doesn't work for current tree version either, could you look to fix it? Please make a new PR for urwid if you absolutely need it, but to me looks like alot can work with 2.1.
@@ -17,6 +17,10 @@ SLOT="0" | |||
KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" | |||
IUSE="examples" | |||
|
|||
PATCHES=( | |||
"${FILESDIR}/2.1-Ignore-resetting-to-invalid-locale-Closes-377.patch" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't touch the stable ebuild here at all, I'm not comfortable with it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok I am creating a new urwid-2.1.0-r1 with the fix in it
IUSE="examples" | ||
|
||
PATCHES=( | ||
"${FILESDIR}/2.1-Ignore-resetting-to-invalid-locale-Closes-377.patch" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename the patch file better, like urwid-2.1.1-ignore-resetting-to-invalid-locale.patch
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok
inherit distutils-r1 | ||
|
||
DESCRIPTION="Curses-based user interface library for Python" | ||
HOMEPAGE="http://urwid.org/ https://pypi.org/project/urwid/" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also add the Github page here, they seem to track issues there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
|
||
LICENSE="LGPL-2.1" | ||
SLOT="0" | ||
KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't commit straight to stable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok
I did open a issue on that on gentoo and reported upstream.
It also break alot on master now |
Thank you @juippis for the feedback and merge ! |
No description provided.