diff --git a/conf/packages/packages.server.qa.exec.example b/conf/packages/packages.server.qa.exec.example index d96eb9a3f..21079976f 100644 --- a/conf/packages/packages.server.qa.exec.example +++ b/conf/packages/packages.server.qa.exec.example @@ -24,6 +24,7 @@ # PKG_LICENSE = package license # PKG_BRANCH = package license # PKG_DOWNLOAD = package relative download URL +# PKG_KEYWORDS = package keywords, space separated # PKG_MD5 = package file md5 hash # PKG_SLOT = package slot # PKG_ETPAPI = package Entropy API @@ -58,6 +59,7 @@ echo "PKG_HOMEPAGE = ${PKG_HOMEPAGE}" echo "PKG_LICENSE = ${PKG_LICENSE}" echo "PKG_BRANCH = ${PKG_BRANCH}" echo "PKG_DOWNLOAD = ${PKG_DOWNLOAD}" +echo "PKG_KEYWORDS = ${PKG_KEYWORDS}" echo "PKG_MD5 = ${PKG_MD5}" echo "PKG_SLOT = ${PKG_SLOT}" echo "PKG_ETPAPI = ${PKG_ETPAPI}" diff --git a/libraries/entropy/server/interfaces/main.py b/libraries/entropy/server/interfaces/main.py index 9858d7a5b..3bf47aa0e 100644 --- a/libraries/entropy/server/interfaces/main.py +++ b/libraries/entropy/server/interfaces/main.py @@ -5101,6 +5101,7 @@ class Server(Client): pkg_deps = repo_db.retrieveDependenciesList(package_id) pkg_needed = repo_db.retrieveNeeded(package_id, extended = True) pkg_provided_libs = repo_db.retrieveProvidedLibraries(package_id) + pkg_keywords = repo_db.retrieveKeywords(package_id) self.output( "[%s] %s: %s" % ( @@ -5129,6 +5130,7 @@ class Server(Client): env['PKG_HOMEPAGE'] = const_convert_to_rawstring(pkg_homepage) env['PKG_LICENSE'] = str(pkg_license) env['PKG_BRANCH'] = str(pkg_branch) + env['PKG_KEYWORDS'] = str(" ".join(pkg_keywords)) env['PKG_DOWNLOAD'] = str(pkg_uri) env['PKG_MD5'] = str(pkg_md5) env['PKG_SLOT'] = str(pkg_slot)