From 5600843d2c44350ba408b6ee86afcf3373c3e8a7 Mon Sep 17 00:00:00 2001 From: gentoo90 Date: Sun, 24 Sep 2023 02:54:41 +0300 Subject: [PATCH] ebuild: set default HOMEPAGE to the packages page in ROS index --- superflore/PackageMetadata.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/superflore/PackageMetadata.py b/superflore/PackageMetadata.py index cb0f5b5d..92c46fe4 100644 --- a/superflore/PackageMetadata.py +++ b/superflore/PackageMetadata.py @@ -33,6 +33,8 @@ def __init__(self, pkg_xml, evaluate_condition_context=None): self.homepage = [ url.url for url in pkg.urls ][0] + else: + self.homepage = "https://index.ros.org/p/{}/".format(pkg.name) self.longdescription = pkg.description self.upstream_email = [ author.email for author in pkg.maintainers