Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 637882 - sword-module.eclass: eclassdoc problems
Summary: sword-module.eclass: eclassdoc problems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-16 21:46 UTC by Michał Górny
Modified: 2020-07-29 11:39 UTC (History)
0 users

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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-11-16 21:46:57 UTC
sword-module.eclass:
   error (ignoring):33: eclass not documented yet (no @ECLASS found)
Comment 1 Larry the Git Cow gentoo-dev 2020-07-29 11:39:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07cd35077f335be5e5d56807901fc7f429521a8a

commit 07cd35077f335be5e5d56807901fc7f429521a8a
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2020-07-27 15:19:50 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2020-07-29 11:38:18 +0000

    eclass/sword-module.eclass: update SRC_URI, expand a bit, clean up
    
    1. The old version expected versioned source archives to have been
       manually uploaded to the Gentoo mirror network by package
       maintainers. This is no longer allowed, or indeed possible for most
       Gentoo developers. Instead, use the SRC_URI arrow mechanism to
       version archives fetched directly from upstream. SWORD Project
       updates their modules quite infrequently so it isn't really necessary
       to worry the file having changed between looking the version number
       up on the module page and fetching the archive for digest generation,
       and while users who do not use Gentoo mirrors will see digest
       conflicts when an update does occur, this would effectively encourage
       them to notify maintainers whenever a new version is released;
    2. If SWORD_MODULE is not set, attempt to generate it from PN by
       stripping the prefix 'sword-'. This will allow explicit declarations
       of SWORD_MODULE to be removed from all app-dicts/sword-* ebuilds
       currently in the tree;
    3. Add the optional variable SWORD_MINIMUM_VERSION to specify the lowest
       version of app-text/sword supported by the module at hand;
    4. Remove redundant declarations of HOMEPAGE and IUSE;
    5. app-arch/unzip is now in BDEPEND rather than DEPEND;
    6. As a consequence of the above, enforce the use of EAPI-7 in ebuilds
       inheriting this eclass. Those in the tree have all already been
       updated to that EAPI version;
    7. Remove redundant references to ${S} from doins() calls;
    8. Add eclassdoc blocks.
    
    No revision change in the end because all the changes should be
    backwards-compatible.
    
    Closes: https://bugs.gentoo.org/637882
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 eclass/sword-module.eclass | 92 ++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 77 insertions(+), 15 deletions(-)