Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 687290 - vcs-snapshot.eclass: Support EAPI="7"
Summary: vcs-snapshot.eclass: Support EAPI="7"
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-03 16:35 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2019-06-04 14:19 UTC (History)
0 users

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


Attachments
Patch (vcs-snapshot.eclass.patch,1.44 KB, patch)
2019-06-03 16:36 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2019-06-03 16:35:10 UTC
vcs-snapshot.eclass defines only one function, vcs-snapshot_src_unpack(), which seems to work with EAPI="7".
Comment 1 Arfrever Frehtes Taifersar Arahesis 2019-06-03 16:36:58 UTC
Created attachment 578524 [details, diff]
Patch
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-06-04 03:31:39 UTC
What's the use for it?  Most of the uses so far are mistakes.
Comment 3 Arfrever Frehtes Taifersar Arahesis 2019-06-04 13:57:39 UTC
I use it in a package which uses github snapshots.
Alternatively I would need to define custom src_unpack():

src_unpack() {
    unpack ${P}.tar.gz
    mv ${PN}-* ${P} || die
}
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-06-04 14:19:46 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #3)
> I use it in a package which uses github snapshots.
> Alternatively I would need to define custom src_unpack():
> 
> src_unpack() {
>     unpack ${P}.tar.gz
>     mv ${PN}-* ${P} || die
> }

You should fix S.  GitHub archives are entirely predictable these days.