Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/woeusb/
Date: Sun, 18 Jul 2021 14:34:12
Message-Id: 1626618786.9e80d9c3b2cb6bded8553aaee68414c744f7d127.ionen@gentoo
1 commit: 9e80d9c3b2cb6bded8553aaee68414c744f7d127
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 18 14:16:25 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 18 14:33:06 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e80d9c3
7
8 sys-boot/woeusb: install script+manpage, tidy a bit
9
10 Not familiar with this package but given maintainer
11 is in process of retiring from maintenance, fixing
12 on their behalf.
13
14 Also remove a few useless bits, e.g. no autotools
15 files in this version.
16
17 Closes: https://bugs.gentoo.org/802735
18 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
19
20 sys-boot/woeusb/woeusb-5.1.2.ebuild | 19 +++++++++++--------
21 1 file changed, 11 insertions(+), 8 deletions(-)
22
23 diff --git a/sys-boot/woeusb/woeusb-5.1.2.ebuild b/sys-boot/woeusb/woeusb-5.1.2.ebuild
24 index 77f857db083..4f1d25c96d0 100644
25 --- a/sys-boot/woeusb/woeusb-5.1.2.ebuild
26 +++ b/sys-boot/woeusb/woeusb-5.1.2.ebuild
27 @@ -3,16 +3,14 @@
28
29 EAPI=8
30
31 -inherit autotools
32 -
33 DESCRIPTION="Creates windows installer on usb media from an iso image"
34 HOMEPAGE="https://github.com/WoeUSB/WoeUSB"
35 SRC_URI="https://github.com/WoeUSB/WoeUSB/archive/v${PV}.tar.gz -> ${P}.tar.gz"
36 +S="${WORKDIR}/WoeUSB-${PV}"
37
38 LICENSE="CC-BY-SA-4.0 GPL-3+"
39 SLOT="0"
40 KEYWORDS="~amd64 ~x86"
41 -RESTRICT="test" # No test suite
42
43 RDEPEND="
44 app-arch/wimlib
45 @@ -20,13 +18,18 @@ RDEPEND="
46 sys-block/parted
47 sys-boot/grub:2[grub_platforms_pc]
48 sys-fs/dosfstools
49 - sys-fs/ntfs3g
50 -"
51 + sys-fs/ntfs3g"
52 DEPEND="${RDEPEND}"
53
54 -S="${WORKDIR}/WoeUSB-${PV}"
55 -
56 src_prepare() {
57 default
58 - sed -i -e "s/@@WOEUSB_VERSION@@/${PV}/" sbin/"${PN}" || die
59 +
60 + sed -i "s/@@WOEUSB_VERSION@@/${PV}/" sbin/${PN} share/man/man1/${PN}.1 || die
61 +}
62 +
63 +src_install() {
64 + dosbin sbin/${PN}
65 + doman share/man/man1/${PN}.1
66 +
67 + einstalldocs
68 }