From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 30CB41382C5 for ; Wed, 26 May 2021 13:37:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A0E3E140F; Wed, 26 May 2021 13:37:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4C210E140F for ; Wed, 26 May 2021 13:37:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D47A7340CC0 for ; Wed, 26 May 2021 13:37:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 89D34581 for ; Wed, 26 May 2021 13:37:10 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1622035094.a09de087cf448a542b161ef779469185199f99a5.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-games/surgescript/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-games/surgescript/Manifest dev-games/surgescript/surgescript-0.5.4.3.ebuild dev-games/surgescript/surgescript-0.5.5.ebuild dev-games/surgescript/surgescript-9999.ebuild X-VCS-Directories: dev-games/surgescript/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: a09de087cf448a542b161ef779469185199f99a5 X-VCS-Branch: dev Date: Wed, 26 May 2021 13:37:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e316122e-7bc9-4be6-af1f-9c6765cc4287 X-Archives-Hash: 86318d644d836bf22fdc542789a180ae commit: a09de087cf448a542b161ef779469185199f99a5 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Wed May 26 13:15:52 2021 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Wed May 26 13:18:14 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a09de087 dev-games/surgescript: add 0.5.5 and use flags Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> dev-games/surgescript/Manifest | 2 +- ...ipt-0.5.4.3.ebuild => surgescript-0.5.5.ebuild} | 25 ++++++++++++------- dev-games/surgescript/surgescript-9999.ebuild | 28 ++++++++++++++++------ 3 files changed, 39 insertions(+), 16 deletions(-) diff --git a/dev-games/surgescript/Manifest b/dev-games/surgescript/Manifest index f83d2f38f..b5ad7109f 100644 --- a/dev-games/surgescript/Manifest +++ b/dev-games/surgescript/Manifest @@ -1,2 +1,2 @@ -DIST surgescript-0.5.4.3.tar.gz 500022 BLAKE2B 08598ad4adbd3cbf841354cde8ef3c9348abd196a828e9a9606b3cfa3b268c68aa7561a95c09692ef0d78d7c497207ddfc176e2528e6ae9a064af229c24e80d6 SHA512 0ffbb464326f019a6b523eca280c75c02f5976c07f61e6507cb46b1b2bf8bf0779b6fbd56c9204aee33ecf0ce513e07be8d5503d3cbd06443205ab57d674a6b3 DIST surgescript-0.5.4.4.tar.gz 501298 BLAKE2B b86545dfaea83e7a8387060c90495c51fd150149c7922b741a666a853d83bc4daa1f80d7ef8f2d2563b81f460f207d759d154cf20ae555cdbfe418f9d23c29ef SHA512 76d7d913353803372b7eec7226385f048f249a71e0a06fbdb255fddf411a0d4bf82773511a3db9c132e483d0dbca575dbfd35c5afae98287608fa2405bcc8200 +DIST surgescript-0.5.5.tar.gz 504167 BLAKE2B 7537a7e29e2e5ab02c8c503b65c17a50d2fbe8ac0d2fac4d662a7da701559be2ab16c9539dcc5d9b8efd3d273d898e322a7e7a38b6ced78d17fc4178a99e07b9 SHA512 b3b79f36463b9ff91f2f8108d6917961d8aabfbd0693a9e9e275f57faa09022570519c553ceff8db93101058964d76df82448b487ed82c5331598df065fae34a diff --git a/dev-games/surgescript/surgescript-0.5.4.3.ebuild b/dev-games/surgescript/surgescript-0.5.5.ebuild similarity index 53% rename from dev-games/surgescript/surgescript-0.5.4.3.ebuild rename to dev-games/surgescript/surgescript-0.5.5.ebuild index d7a9c5bc1..297698c7f 100644 --- a/dev-games/surgescript/surgescript-0.5.4.3.ebuild +++ b/dev-games/surgescript/surgescript-0.5.5.ebuild @@ -5,10 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{7..9} ) DOCS_BUILDER="mkdocs" -DOCS_DEPEND=" - dev-python/mkdocs - dev-python/mkdocs-material -" +DOCS_DEPEND="dev-python/mkdocs-material" inherit cmake python-any-r1 docs @@ -17,15 +14,25 @@ HOMEPAGE="https://alemart.github.io/surgescript" if [[ "${PV}" == "9999" ]]; then inherit git-r3 - EGIT_REPO_URI="https://github.com/alemart/surgescript.git" + EGIT_REPO_URI="https://github.com/alemart/${PN}.git" SLOT="0" else - SRC_URI="https://github.com/alemart/surgescript/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/alemart/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64" - SLOT="0/${PV}" + SLOT="0/$(ver_cut 1-3)" fi LICENSE="Apache-2.0" +IUSE="examples static-libs" + +DOCS=( CHANGES.md README.md ) + +src_configure() { + local mycmakeoptions=( + -DWANT_STATIC=$(usex static-libs) + ) + cmake_src_configure +} src_compile() { cmake_src_compile @@ -34,5 +41,7 @@ src_compile() { src_install() { cmake_src_install - mv "${D}"/usr/lib "${D}"/usr/"$(get_libdir)" || die "Failed moving to libdir" + + docompress -x /usr/share/doc/${PF}/examples + use examples && dodoc -r examples } diff --git a/dev-games/surgescript/surgescript-9999.ebuild b/dev-games/surgescript/surgescript-9999.ebuild index 6016491e0..297698c7f 100644 --- a/dev-games/surgescript/surgescript-9999.ebuild +++ b/dev-games/surgescript/surgescript-9999.ebuild @@ -5,10 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{7..9} ) DOCS_BUILDER="mkdocs" -DOCS_DEPEND=" - dev-python/mkdocs - dev-python/mkdocs-material -" +DOCS_DEPEND="dev-python/mkdocs-material" inherit cmake python-any-r1 docs @@ -17,17 +14,34 @@ HOMEPAGE="https://alemart.github.io/surgescript" if [[ "${PV}" == "9999" ]]; then inherit git-r3 - EGIT_REPO_URI="https://github.com/alemart/surgescript.git" + EGIT_REPO_URI="https://github.com/alemart/${PN}.git" SLOT="0" else - SRC_URI="https://github.com/alemart/surgescript/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/alemart/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64" - SLOT="0/${PV}" + SLOT="0/$(ver_cut 1-3)" fi LICENSE="Apache-2.0" +IUSE="examples static-libs" + +DOCS=( CHANGES.md README.md ) + +src_configure() { + local mycmakeoptions=( + -DWANT_STATIC=$(usex static-libs) + ) + cmake_src_configure +} src_compile() { cmake_src_compile docs_compile } + +src_install() { + cmake_src_install + + docompress -x /usr/share/doc/${PF}/examples + use examples && dodoc -r examples +}