sys-apps/usbutils: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-12-20 14:06:22 +01:00
parent 94a042189c
commit 8ff0cbe8f6
No known key found for this signature in database
GPG Key ID: 8E32347AF4055AE8
5 changed files with 0 additions and 257 deletions

View File

@ -1,4 +1 @@
DIST usbutils-016.tar.xz 169000 BLAKE2B 2f3af61e5a7abf48cdf0a4aebc901ca1570007b54d11ae74572e16bdeb2d8e73844d76af54bd812d6d4b84ddaf6e956132ecc9a8a2849a7bffc0643e29115a49 SHA512 4483038bf91c056cd2977f5e7f449c0a62d9152d6f5d64ab7bde438ab9c1c56fe524ba10b35781c2828edd0fe89379dbaed78fa7ffe78903cae0c4e3c460f9a0
DIST usbutils-017.tar.xz 168820 BLAKE2B 868c646ed6d38a38b9bd3ab85ba3a5e9362a97e476aeed6576c1b175caaf4ee688cb2c33756f02c9bf0aef9e7d58657331fc1c3b3314d86145b3d4f37124537e SHA512 eaebbc82eee4d940898f7a8de95ca49846c7c964e65c3d866b38735f8f3c8ccfed2b3a536bf2ef39a835a40a34c2273ac4d82b1012d0c693d4863cff14870d95
DIST usbutils-018.tar.xz 120168 BLAKE2B 030f45afd5867ee38c8284a0741d1de63653a98746bfef42281390c5bdefbbb99c318d708e88ea2e28810d519d735da3103fe438befa889fc9b5ae9e21200992 SHA512 4f76c7a328746e17892c31d69cbd9a560c4384877e18d80076cef344a25b71b33387d803c98a9c6867b357a61e1a8a1a630884afe32128c3b6393dc186f216c8
DIST usbutils-019.tar.xz 121652 BLAKE2B 8267a36ec9670e83a0df5d5d34aee70d37e773ca25a20978cd6c99df29426e926af4308f97bb38463f50abdea2a764e98752bc4a5ca703bfcfdf9fcc361a7638 SHA512 fb4acc570c2b71f90c51c2717dc80e844727c8fcfebb5d92c57145eb9d09cbd1f63cf405e07db76c3afaaf3fac87b90f3f512d0a7c4d50cb9e6f26438eca9390

View File

@ -1,66 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
inherit python-single-r1
DESCRIPTION="USB enumeration utilities"
HOMEPAGE="
https://www.kernel.org/pub/linux/utils/usb/usbutils/
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usbutils.git/
"
SRC_URI="https://www.kernel.org/pub/linux/utils/usb/${PN}/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
IUSE="python"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
DEPEND="
virtual/libusb:1=
virtual/libudev:=
"
RDEPEND="
${DEPEND}
python? (
${PYTHON_DEPS}
sys-apps/hwdata
)
"
BDEPEND="
virtual/pkgconfig
python? ( ${PYTHON_DEPS} )
"
pkg_setup() {
use python && python-single-r1_pkg_setup
}
src_prepare() {
default
use python && python_fix_shebang lsusb.py.in
}
src_configure() {
local myeconfargs=(
--cache-file="${S}"/config.cache
--datarootdir="${EPREFIX}/usr/share"
--datadir="${EPREFIX}/usr/share/hwdata"
)
econf "${myeconfargs[@]}"
}
src_install() {
default
newdoc usbhid-dump/NEWS NEWS.usbhid-dump
dobin usbreset # noinst_PROGRAMS, but installed by other distros
if ! use python ; then
rm -f "${ED}"/usr/bin/lsusb.py || die
fi
}

View File

@ -1,66 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
inherit python-single-r1
DESCRIPTION="USB enumeration utilities"
HOMEPAGE="
https://www.kernel.org/pub/linux/utils/usb/usbutils/
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usbutils.git/
"
SRC_URI="https://www.kernel.org/pub/linux/utils/usb/${PN}/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
IUSE="python"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
DEPEND="
virtual/libusb:1=
virtual/libudev:=
"
RDEPEND="
${DEPEND}
python? (
${PYTHON_DEPS}
sys-apps/hwdata
)
"
BDEPEND="
virtual/pkgconfig
python? ( ${PYTHON_DEPS} )
"
pkg_setup() {
use python && python-single-r1_pkg_setup
}
src_prepare() {
default
use python && python_fix_shebang lsusb.py.in
}
src_configure() {
local myeconfargs=(
--cache-file="${S}"/config.cache
--datarootdir="${EPREFIX}/usr/share"
--datadir="${EPREFIX}/usr/share/hwdata"
)
econf "${myeconfargs[@]}"
}
src_install() {
default
newdoc usbhid-dump/NEWS NEWS.usbhid-dump
dobin usbreset # noinst_PROGRAMS, but installed by other distros
if ! use python ; then
rm -f "${ED}"/usr/bin/lsusb.py || die
fi
}

View File

@ -1,68 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
inherit meson python-single-r1
DESCRIPTION="USB enumeration utilities"
HOMEPAGE="
https://www.kernel.org/pub/linux/utils/usb/usbutils/
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usbutils.git/
"
SRC_URI="https://www.kernel.org/pub/linux/utils/usb/${PN}/${P}.tar.xz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
IUSE="python usbreset"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
DEPEND="
virtual/libusb:1=
virtual/libudev:=
"
RDEPEND="
${DEPEND}
python? (
${PYTHON_DEPS}
sys-apps/hwdata
)
"
BDEPEND="
virtual/pkgconfig
python? ( ${PYTHON_DEPS} )
"
pkg_setup() {
use python && python-single-r1_pkg_setup
}
src_prepare() {
default
use python && python_fix_shebang lsusb.py
}
src_install() {
meson_src_install
if use usbreset ; then
# https://github.com/gregkh/usbutils/issues/214
dobin "${BUILD_DIR}"/usbreset
doman man/usbreset.1
fi
if ! use python ; then
rm -f "${ED}"/usr/bin/lsusb.py || die
fi
}
pkg_postinst() {
if use usbreset ; then
ewarn "Please be warned that 'usbreset' has been built and installed, but it could"
ewarn "damage your hardware, see upstream issue:"
ewarn " https://github.com/gregkh/usbutils/issues/214"
fi
}

View File

@ -1,54 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
inherit meson python-single-r1
DESCRIPTION="USB enumeration utilities"
HOMEPAGE="
https://www.kernel.org/pub/linux/utils/usb/usbutils/
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usbutils.git/
"
SRC_URI="https://www.kernel.org/pub/linux/utils/usb/${PN}/${P}.tar.xz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
IUSE="python"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
DEPEND="
virtual/libusb:1=
virtual/libudev:=
"
RDEPEND="
${DEPEND}
python? (
${PYTHON_DEPS}
sys-apps/hwdata
)
"
BDEPEND="
virtual/pkgconfig
python? ( ${PYTHON_DEPS} )
"
pkg_setup() {
use python && python-single-r1_pkg_setup
}
src_prepare() {
default
use python && python_fix_shebang lsusb.py
}
src_install() {
meson_src_install
if ! use python ; then
rm -f "${ED}"/usr/bin/lsusb.py || die
fi
}