Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828432 - sci-electronics/xnec2c-4.2 version bump and fix USE=examples
Summary: sci-electronics/xnec2c-4.2 version bump and fix USE=examples
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-05 19:15 UTC by Stephen Cavilia
Modified: 2021-12-06 13:07 UTC (History)
3 users (show)

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


Attachments
ebuild for 4.2 (xnec2c-4.2.ebuild,829 bytes, text/plain)
2021-12-05 19:15 UTC, Stephen Cavilia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Cavilia 2021-12-05 19:15:41 UTC
Created attachment 757509 [details]
ebuild for 4.2

New version 4.2 of xnec2c available. Ebuild is attached, which also includes a fix for USE=examples (examples get installed to /usr/share/doc and compressed by default, but the program needs them uncompressed to open, so decompress -x the examples directory)
Comment 1 Jonas Stein gentoo-dev 2021-12-05 23:39:29 UTC
Thank you for your contribution. I had a short look on the ebuild. 
Here a few ideas:

* Please test the ebuild with repoman full -d -x https://wiki.gentoo.org/wiki/Repoman and pkgcheck scan --net
* We always try to use the latest EAPI, please bump to EAPI=8
* KEYWORDS need ~ for new ebuilds and after a version bump. Run ekeyword ~all YOUREBUILD
* A bot can look for additional mistakes, if you upload a PR via github
Comment 2 Thomas Beierlein gentoo-dev 2021-12-06 06:50:58 UTC
Thanks for pointing it out. Interestingly the ebuild for xnec2c-4.2 is already in tree since 04dec21.

We normally install all examples in compressed form. If you want to play with them (e.g. trying different configurations) you have to copy them out of the write protected /usr/share hierarchy anyway. Please decompress them on the fly.

Please also see the good hints from comment #1 next time.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-06 13:07:07 UTC
(In reply to Thomas Beierlein from comment #2)
> Thanks for pointing it out. Interestingly the ebuild for xnec2c-4.2 is
> already in tree since 04dec21.
> 
> We normally install all examples in compressed form. If you want to play
> with them (e.g. trying different configurations) you have to copy them out
> of the write protected /usr/share hierarchy anyway. Please decompress them
> on the fly.
> 

It's completely fine (and necessary) to use docompress -x on docs if the application needs it so it can view them at runtime.