commit: 759d8afdc2419d42274ee18657bfa50028f828c4
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 9 14:28:19 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Nov 9 14:28:19 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=759d8afd
dev-lang/jwasm: add BDEPEND="app-arch/unzip"
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
.../jwasm/{jwasm-2.11a.ebuild => jwasm-2.11a-r1.ebuild} | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/dev-lang/jwasm/jwasm-2.11a.ebuild
b/dev-lang/jwasm/jwasm-2.11a-r1.ebuild
similarity index 77%
rename from dev-lang/jwasm/jwasm-2.11a.ebuild
rename to dev-lang/jwasm/jwasm-2.11a-r1.ebuild
index 0eab110f0fb..2de5e5e9d2b 100644
--- a/dev-lang/jwasm/jwasm-2.11a.ebuild
+++ b/dev-lang/jwasm/jwasm-2.11a-r1.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit eutils toolchain-funcs versionator
+inherit toolchain-funcs
# 2.10 -> 210s
MY_PN=JWasm
-MY_PV="$(delete_version_separator 1)s"
+MY_PV="$(ver_rs 1 '')s"
MY_P="${MY_PN}${MY_PV}"
DESCRIPTION="MASM-compatible TASM-similar assembler (fork of Wasm)"
@@ -20,11 +20,15 @@ KEYWORDS="~amd64 ~x86"
RDEPEND=""
DEPEND=""
+BDEPEND="app-arch/unzip"
S="${WORKDIR}"
+PATCHES=("${FILESDIR}"/${PN}-2.11-types-test.patch)
+
src_prepare() {
- epatch "${FILESDIR}"/${PN}-2.11-types-test.patch
+ default
+
# don't strip binary
sed -i GccUnix.mak -e 's/ -s / /g' || die
}