Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 765637

Summary: dev-python/pendulum: missing DEPEND qualifier breaks consumers
Product: Gentoo Linux Reporter: Holger Hoffstätte <holger>
Component: Current packagesAssignee: Jakov Smolić <jsmolic>
Status: RESOLVED FIXED    
Severity: normal CC: ionen, proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/19081
Whiteboard:
Package list:
Runtime testing required: ---

Description Holger Hoffstätte 2021-01-16 15:18:47 UTC
After emerging dev-db/pgcli-3.1.0 I got runtime errors about missing python
dependencies (python-dateutils, pytzdata). pgcli depends on pendulum,
which is supposed to pull these in, but does not.

The problem is obvious when looking at the ebuild:

RDEPEND="
    dev-python/python-dateutil[${PYTHON_USEDEP}]
    dev-python/pytzdata[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"

Since DEPEND is empty, RDEPEND is erased and things end up missing.
Comment 1 Jakov Smolić archtester gentoo-dev 2021-01-16 17:01:11 UTC
Thanks for the report, working on it now.
Comment 2 Larry the Git Cow gentoo-dev 2021-01-16 22:00:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25758bbe13f42b824713b0d52661e26d8c6f954d

commit 25758bbe13f42b824713b0d52661e26d8c6f954d
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-01-16 17:00:38 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-01-16 21:47:24 +0000

    dev-python/pendulum: set DEPEND
    
    Closes: https://bugs.gentoo.org/765637
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Closes: https://github.com/gentoo/gentoo/pull/19081
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/pendulum/{pendulum-2.1.2.ebuild => pendulum-2.1.2-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)