sys-boot/woeusb-ng: treeclean, moved to ::gentoo

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1f25dcfe6740a4066137e1d9360ff23ac272e9f

Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
Takuya Wakazono
2024-11-28 17:25:25 +09:00
parent 96844d790e
commit cb8648067d
5 changed files with 0 additions and 102 deletions

View File

@@ -1,2 +0,0 @@
DIST woeusb-ng-0.2.10.tar.gz 213600 BLAKE2B 384d4e93eff97c3b953770247b18409c8f611c9fe72a3292ed69e1d4ba12bf02018336adc5fcceeb8a59b494380816bfe75a571818ec44b1311f6ce02afa478b SHA512 3fd3ad3c725aabf86ead18cde7a812d97dee81ada5830e91548bd4033bba94a2b77085d00b1972d999e5cc9978ee58d74d8b376a04fd7d6ce47c44c749c9d6a8
DIST woeusb-ng-0.2.12.tar.gz 219102 BLAKE2B d146697ce4143adc62b489a5dbd09bd2dd02d910a51357a27b1a92663eee279c6fa3bdd39b0f01e46f445cb0170c3b0dbf37ed7fdc442386247ff2acb85791e8 SHA512 3323d1f33f3c009652555ca20827d3ab902a59c21b4e57725ac7efb702c60c8ab8a572f77c7f5e4da91713ea5412811358870d6100e13e5828421645b7464c38

View File

@@ -1,9 +0,0 @@
--- a/setup.py
+++ b/setup.py
@@ -68,6 +68,5 @@ setup(
],
cmdclass={
'develop': PostDevelopCommand,
- 'install': PostInstallCommand
}
)

View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<upstream>
<remote-id type="github">WoeUSB/WoeUSB-ng</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,26 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_SINGLE_IMPL=1
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1
DESCRIPTION="Create Windows installer USB from ISO (rewrite of WoeUSB)"
HOMEPAGE="https://github.com/WoeUSB/WoeUSB-ng"
SRC_URI="https://github.com/WoeUSB/WoeUSB-ng/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/WoeUSB-ng-${PV}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
dev-python/wxpython
"
RDEPEND="
app-arch/p7zip
sys-boot/grub[grub_platforms_pc]
"

View File

@@ -1,57 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
#
EAPI=8
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_SINGLE_IMPL=1
PYTHON_COMPAT=( python3_{10..12} )
inherit desktop distutils-r1 optfeature xdg
MY_PN="WoeUSB-ng"
DESCRIPTION="Create Windows installer USB from ISO (rewrite of WoeUSB)"
HOMEPAGE="https://github.com/WoeUSB/WoeUSB-ng"
SRC_URI="https://github.com/WoeUSB/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="gui"
RDEPEND="
!sys-boot/woeusb
app-arch/p7zip
$(python_gen_cond_dep '
dev-python/termcolor[${PYTHON_USEDEP}]
gui? ( dev-python/wxpython:4.0[${PYTHON_USEDEP}] )
')
"
PATCHES=( "${FILESDIR}"/${PN}-0.2.12-postinstall.patch )
src_prepare() {
distutils-r1_src_prepare
python_fix_shebang WoeUSB
}
src_install() {
distutils-r1_src_install
if use gui; then
dobin WoeUSB/woeusbgui
insinto /usr/share/polkit-1/actions
doins miscellaneous/com.github.woeusb.woeusb-ng.policy
doicon -s 256 WoeUSB/data/woeusb-logo.png
make_desktop_entry woeusbgui WoeUSB-ng woeusb-logo Utility
fi
}
pkg_postinst() {
optfeature "Legacy PC bootmode support" "sys-boot/grub[grub_platforms_pc]"
xdg_pkg_postinst
}