commit:     af2b67c60d61ed1108743ff8469dfcb76a89a14e
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Feb 25 22:50:29 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sat Feb 25 22:50:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=af2b67c6

dev-nim/cligen: add 1.5.39, drop 1.5.37

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-nim/cligen/Manifest                                     |  2 +-
 .../cligen/{cligen-1.5.37.ebuild => cligen-1.5.39.ebuild}   | 13 ++++++++++---
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/dev-nim/cligen/Manifest b/dev-nim/cligen/Manifest
index 1bfe23166..62c5b1dc9 100644
--- a/dev-nim/cligen/Manifest
+++ b/dev-nim/cligen/Manifest
@@ -1,2 +1,2 @@
-DIST cligen-1.5.37.tar.gz 429632 BLAKE2B 
d35befa3e6dbecdcb4cf07d6f42342f5be5a57e0c0d19e07611d9fbb1c91eae9d09cd56febd1530e656ac76be5ed60a52aee45b1c0f163f2b6dffededff480a4
 SHA512 
94cc526e461220d40231c3455b2382b1aafcc018d62a35838f9f23cdd72ac4cb0b552766c2e12da7e7bb6a08cccef2826678a1e07d201482e93d7eecf1faee32
 DIST cligen-1.5.38.tar.gz 432352 BLAKE2B 
cfcd96a5f8f9f4ed0e4942a596ed6c00ee5dac2f0daf22d783cc056b17b6c16777abfe9f10c8326978751308353a122b435d14a033e499c357a80c25bf4edf0d
 SHA512 
df49c8accb05bd17e097f74a59fc904bfb42bccc6610ea70656d140a5d54fe14234af2ce61f50623a2b48b52e757551ac17bf77fa887e37b5b8bf4b5e79fa0a1
+DIST cligen-1.5.39.tar.gz 433806 BLAKE2B 
2c0ae6224ea737930eceb35775d708c284f7b4d6ae7614c5d83914701904653ac51b73fd73b9f7802469c5b734cfa8e2fda34a77b844ad05a40ab1ac93f4dacf
 SHA512 
56e32b020cd21f405ab2598a22b02964cf503b85c3444b2a6de36324fa1ca6fa030ff3afdfc0e57b952f03b681f83909f2842e646961bf5a3c1f451f935fefcb

diff --git a/dev-nim/cligen/cligen-1.5.37.ebuild 
b/dev-nim/cligen/cligen-1.5.39.ebuild
similarity index 72%
rename from dev-nim/cligen/cligen-1.5.37.ebuild
rename to dev-nim/cligen/cligen-1.5.39.ebuild
index 2d3821bf6..19f77f5f5 100644
--- a/dev-nim/cligen/cligen-1.5.37.ebuild
+++ b/dev-nim/cligen/cligen-1.5.39.ebuild
@@ -15,9 +15,12 @@ 
SRC_URI="https://github.com/c-blake/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P
 LICENSE="ISC MIT"
 SLOT="${PV}"
 KEYWORDS="~amd64"
-RESTRICT="test"  # Version.nim test fails
+IUSE="examples"
 
-DOCS=( configs examples {MOTIVATION,README,RELEASE-NOTES,TODO}.md )
+# Version.nim test fails
+RESTRICT="test"
+
+DOCS=( configs {MOTIVATION,README,RELEASE-NOTES,TODO}.md )
 
 set_package_url "https://github.com/c-blake/cligen";
 
@@ -26,6 +29,10 @@ src_test() {
 }
 
 src_install() {
-       docompress -x /usr/share/doc/${PF}/examples
+       if use examples; then
+               docompress -x /usr/share/doc/${PF}/examples
+               dodoc -r examples
+       fi
+
        nimble_src_install
 }

Reply via email to