public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/wimlib/
Date: Tue, 19 Jan 2021 03:15:36 +0000 (UTC)	[thread overview]
Message-ID: <1611025885.ce709e1c715ea0dc7a240486c268813d0f015e21.sam@gentoo> (raw)

commit:     ce709e1c715ea0dc7a240486c268813d0f015e21
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 19 03:11:25 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 19 03:11:25 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce709e1c

app-arch/wimlib: EAPI 7

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-arch/wimlib/wimlib-1.12.0.ebuild | 33 ++++++++++++++++++---------------
 app-arch/wimlib/wimlib-1.13.0.ebuild | 34 ++++++++++++++++++----------------
 2 files changed, 36 insertions(+), 31 deletions(-)

diff --git a/app-arch/wimlib/wimlib-1.12.0.ebuild b/app-arch/wimlib/wimlib-1.12.0.ebuild
index 3fb8e91ab6c..58cbc3ce1b7 100644
--- a/app-arch/wimlib/wimlib-1.12.0.ebuild
+++ b/app-arch/wimlib/wimlib-1.12.0.ebuild
@@ -1,17 +1,17 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit autotools pax-utils
+
 if [[ -z ${PV%%*9999} ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="git://wimlib.net/${PN}"
 else
-	inherit vcs-snapshot
 	MY_PV="${PV/_/-}"
 	MY_PV="${MY_PV^^}"
-	SRC_URI="https://wimlib.net/downloads/${PN}-${MY_PV}.tar.gz -> ${P}.tar.gz"
+	SRC_URI="https://wimlib.net/downloads/${PN}-${MY_PV}.tar.gz"
 	KEYWORDS="~amd64 ~x86"
 fi
 
@@ -20,28 +20,31 @@ HOMEPAGE="https://wimlib.net/"
 
 LICENSE="|| ( GPL-3+ LGPL-3+ ) CC0-1.0"
 SLOT="0"
-IUSE="cpu_flags_x86_ssse3 fuse iso ntfs openssl threads yasm"
+IUSE="cpu_flags_x86_ssse3 fuse iso ntfs openssl test threads yasm"
 REQUIRED_USE="cpu_flags_x86_ssse3? ( !openssl )"
 
-PATCHES=( "${FILESDIR}/syslinux-path.patch" )
+RESTRICT="!test? ( test )"
 
+BDEPEND="
+	virtual/pkgconfig
+	cpu_flags_x86_ssse3? (
+		yasm? ( dev-lang/yasm )
+		!yasm? ( dev-lang/nasm )
+	)
+"
 RDEPEND="
 	dev-libs/libxml2:2
 	ntfs? ( sys-fs/ntfs3g )
 	fuse? ( sys-fs/fuse:0 )
-	openssl? ( dev-libs/openssl:0 )
+	openssl? ( dev-libs/openssl:0= )
 	iso? (
 		app-arch/cabextract
 		app-cdr/cdrtools
 	)
 "
-DEPEND="
-	${RDEPEND}
-	cpu_flags_x86_ssse3? (
-		yasm? ( dev-lang/yasm )
-		!yasm? ( dev-lang/nasm )
-	)
-"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/syslinux-path.patch" )
 
 src_prepare() {
 	default
@@ -55,9 +58,9 @@ src_configure() {
 		$(use_enable cpu_flags_x86_ssse3 ssse3-sha1)
 		$(use_with openssl libcrypto)
 		$(use_enable threads multithreaded-compression)
+		$(use_enable test enable-test-support)
 		--disable-static
 	)
-	has test ${FEATURES} && myeconfargs+=( --enable-test-support )
 	ac_cv_prog_NASM="$(usex yasm yasm nasm)" \
 		econf "${myeconfargs[@]}"
 }

diff --git a/app-arch/wimlib/wimlib-1.13.0.ebuild b/app-arch/wimlib/wimlib-1.13.0.ebuild
index 3fb8e91ab6c..a6578586e5c 100644
--- a/app-arch/wimlib/wimlib-1.13.0.ebuild
+++ b/app-arch/wimlib/wimlib-1.13.0.ebuild
@@ -1,17 +1,16 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit autotools pax-utils
 if [[ -z ${PV%%*9999} ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="git://wimlib.net/${PN}"
 else
-	inherit vcs-snapshot
 	MY_PV="${PV/_/-}"
 	MY_PV="${MY_PV^^}"
-	SRC_URI="https://wimlib.net/downloads/${PN}-${MY_PV}.tar.gz -> ${P}.tar.gz"
+	SRC_URI="https://wimlib.net/downloads/${PN}-${MY_PV}.tar.gz"
 	KEYWORDS="~amd64 ~x86"
 fi
 
@@ -20,28 +19,31 @@ HOMEPAGE="https://wimlib.net/"
 
 LICENSE="|| ( GPL-3+ LGPL-3+ ) CC0-1.0"
 SLOT="0"
-IUSE="cpu_flags_x86_ssse3 fuse iso ntfs openssl threads yasm"
+IUSE="cpu_flags_x86_ssse3 fuse iso ntfs openssl test threads yasm"
 REQUIRED_USE="cpu_flags_x86_ssse3? ( !openssl )"
 
-PATCHES=( "${FILESDIR}/syslinux-path.patch" )
+RESTRICT="!test? ( test )"
 
+BDEPEND="
+	virtual/pkgconfig
+	cpu_flags_x86_ssse3? (
+		yasm? ( dev-lang/yasm )
+		!yasm? ( dev-lang/nasm )
+	)
+"
 RDEPEND="
 	dev-libs/libxml2:2
 	ntfs? ( sys-fs/ntfs3g )
 	fuse? ( sys-fs/fuse:0 )
-	openssl? ( dev-libs/openssl:0 )
+	openssl? ( dev-libs/openssl:0= )
 	iso? (
 		app-arch/cabextract
 		app-cdr/cdrtools
 	)
 "
-DEPEND="
-	${RDEPEND}
-	cpu_flags_x86_ssse3? (
-		yasm? ( dev-lang/yasm )
-		!yasm? ( dev-lang/nasm )
-	)
-"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/syslinux-path.patch" )
 
 src_prepare() {
 	default
@@ -55,15 +57,15 @@ src_configure() {
 		$(use_enable cpu_flags_x86_ssse3 ssse3-sha1)
 		$(use_with openssl libcrypto)
 		$(use_enable threads multithreaded-compression)
+		$(use_enable test test-support)
 		--disable-static
 	)
-	has test ${FEATURES} && myeconfargs+=( --enable-test-support )
 	ac_cv_prog_NASM="$(usex yasm yasm nasm)" \
 		econf "${myeconfargs[@]}"
 }
 
 src_compile() {
-	emake
+	default
 	pax-mark m "${S}"/.libs/wimlib-imagex
 }
 


             reply	other threads:[~2021-01-19  3:15 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-19  3:15 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-05 19:54 [gentoo-commits] repo/gentoo:master commit in: app-arch/wimlib/ Petr Vaněk
2024-08-31 20:26 Sam James
2024-08-31 20:26 Sam James
2024-08-31 14:49 Petr Vaněk
2023-06-03 16:16 Arthur Zamarin
2023-06-03 16:12 Arthur Zamarin
2023-05-03  8:59 Sam James
2022-04-17 20:05 Sam James
2021-12-05 18:31 Sam James
2021-12-05  4:00 Sam James
2021-09-01  9:38 David Seifert
2021-07-16  6:01 Joonas Niilola
2021-07-16  6:01 Joonas Niilola
2021-07-16  6:01 Joonas Niilola
2021-07-13  6:33 Agostino Sarubbo
2021-07-12  6:35 Agostino Sarubbo
2021-01-19  3:15 Sam James
2021-01-19  3:15 Sam James
2019-11-02 11:45 Michał Górny
2019-01-01 18:47 Slawek Lis
2018-01-17  9:50 Slawek Lis
2018-01-17  9:20 Slawek Lis
2018-01-16  6:55 Slawek Lis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1611025885.ce709e1c715ea0dc7a240486c268813d0f015e21.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox