]> git.sthu.org Git - shuber-gentoo-overlay.git/commitdiff
dev-libs/core: clean up ebuild lint
authorStefan Huber <shuber@sthu.org>
Mon, 17 Aug 2026 21:26:13 +0000 (23:26 +0200)
committerStefan Huber <shuber@sthu.org>
Mon, 17 Aug 2026 21:26:13 +0000 (23:26 +0200)
Reorder S/LICENSE/SLOT/KEYWORDS/IUSE/RESTRICT to the conventional
order, sort KEYWORDS, drop double/trailing blank lines, and document
the extensions/shared USE flags in metadata.xml.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
dev-libs/core/Manifest
dev-libs/core/core-2.1-r10975.ebuild
dev-libs/core/metadata.xml

index 9899c7f9ef032e99721d5a57f88b2ab5c4e06ef0..ebe2d4cf4ec40451019af9415a39cd6f94df8dd8 100644 (file)
@@ -1,2 +1,2 @@
-EBUILD core-2.1-r10975.ebuild 1595 BLAKE2B 3f8a943b0c6ed7ca6bad25692ee2784e3ae6fe82b0538dd3ee89f934102c07698a945df2aa9d3ba1f2c98657f61b6d4e30302655993e2b67215b7942b273a6d2 SHA512 a656d8571b77359b772baba3334f186ad44456a15c3ddcb32c2bd6d61d20f49d62bd74da35750a5bf8a251a40d34565a5b13f7bad880576220ad69ce4f77e65c
-MISC metadata.xml 243 BLAKE2B 889d08efb220a9fb8457500f5f3c33c8c737616995e19fa8b621ced4bc9d380d016413d098d4d09925c679cd23f7fbd75e495424fe6ed809a9e873014caae682 SHA512 f9051a65d7e11d7abd1b9568dbbf8be84a6ae68eb994b0c22d57dff5620047d5ad5a324057a5cf4cec10837d16024e5f21a8cf5f1a6247807f62931839eb73bc
+EBUILD core-2.1-r10975.ebuild 1587 BLAKE2B 771c3c0f4446ce87b9c1de3b44190cea7ec15efb71d6c25e5ce45d584850d39533e255ba941b19aee9fdedac30b27d705ffdb0955aa71bf84b6f301587852ebf SHA512 667d3284b6828190866bbd9432b9c695d91fc7c4b3f61682534e75ac17ae069e706689ac51343883ac196d9a77d6b66511eaceeddc51753b034008eda62e6e94
+MISC metadata.xml 421 BLAKE2B abe65450fa37c3a7bd78a2eaad1e3e3b4335fb4308a7417463fb6ba94938e841fcf01f6120e62742f5477a3ca04830c7331009c0d8a3511ff6032bcf0e47291e SHA512 0e125f578c3926923f77fa42ff3e738eeba9432219aec49688247874a059435a778a1dc098a99949098b633052a4b402f1d3edecb7fc2ca21ae03a385cf04973
index da2ec591ef3bce5f6f3605b963cc7b72b6608f50..3e10416bb9fa0e3fef2b7e965311810757b226c4 100644 (file)
@@ -23,11 +23,13 @@ case ${PV} in
                ;;
 esac
 
+S="${WORKDIR}/${P}.1"
+
 LICENSE="QPL-1.0"
 SLOT="0"
-KEYWORDS="~x86 ~amd64"
-RESTRICT="mirror"
+KEYWORDS="~amd64 ~x86"
 IUSE="debug doc extensions shared"
+RESTRICT="mirror"
 
 DEPEND="
        dev-libs/gmp
@@ -38,8 +40,6 @@ DEPEND="
        )
        "
 RDEPEND="${DEPEND}"
-S="${WORKDIR}/${P}.1"
-
 
 src_compile() {
        export PLATFORM="gnu"
@@ -70,9 +70,7 @@ src_compile() {
        fi
 }
 
-
 src_install() {
-
        dolib.a lib/libcore*.a
        if use shared; then
                dolib.so lib/libcore*.so
@@ -81,9 +79,7 @@ src_install() {
        dodoc README
        dodoc FAQs
 
-
        if use doc; then
-
                dodoc doc/stackOverflow.txt
                dodoc doc/bigNumFormat.txt
                dodoc doc/eclipse.txt
@@ -103,7 +99,3 @@ src_install() {
        cd inc
        doins -r CORE
 }
-
-
-
-
index 94342300d02562e1a6c36f7b96135ea62739009d..9143046c5a3034a92a6c24f36b87ede4fd355855 100644 (file)
@@ -5,4 +5,8 @@
                <email>shuber@sthu.org</email>
                <name>Stefan Huber</name>
        </maintainer>
+       <use>
+               <flag name="extensions">Build the CORE extensions library (corex)</flag>
+               <flag name="shared">Also build a shared library, in addition to the static one</flag>
+       </use>
 </pkgmetadata>