Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 765637 - dev-python/pendulum: missing DEPEND qualifier breaks consumers
Summary: dev-python/pendulum: missing DEPEND qualifier breaks consumers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jakov Smolić
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-01-16 15:18 UTC by Holger Hoffstätte
Modified: 2021-01-16 22:00 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(-)