diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-15 03:02:36 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-15 03:02:36 +0000 |
commit | 57d1fe5ae0c56e604db5d29bf7b62d685c42e043 (patch) | |
tree | bc1bdf3c531b7b4cef73b051dbb3cd439dee4a39 /sys-apps/usbutils | |
parent | d3c7d3e5f9607edef1a795ccc502ab3eb3121165 (diff) |
gentoo auto-resync : 15:11:2024 - 03:02:36
Diffstat (limited to 'sys-apps/usbutils')
-rw-r--r-- | sys-apps/usbutils/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/usbutils/usbutils-018.ebuild | 54 |
2 files changed, 56 insertions, 0 deletions
diff --git a/sys-apps/usbutils/Manifest b/sys-apps/usbutils/Manifest index 96375bc32307..30da99899ebe 100644 --- a/sys-apps/usbutils/Manifest +++ b/sys-apps/usbutils/Manifest @@ -1,5 +1,7 @@ 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 EBUILD usbutils-016.ebuild 1336 BLAKE2B d72213c783780534d9f47973325e7282033caa2f2cc440274c842f874092af8e59dbe14286294890b4d9b6aa744882d7bcf78b78d119a4326db34f5763b7778d SHA512 df4032fcfaed657c48bb0ddac1cb7938b165d4e9f4f6cd5f70a2ea674486e287ca5f463aacb3bc2fcbd8853d90c1e429fcb2920219fa2ca5b4223758a29bfac0 EBUILD usbutils-017.ebuild 1336 BLAKE2B 5e2b6c34c76222a2c6ec76b2970cde93fac4a07a7ef5b71283368ea4811399b79e0ecbc7211f481153904deb067bd61cccbe02dcf8aa8d5d8826deb581b4bee1 SHA512 e9ae49e90d764b32fc80d823152b66f9d881cb858dcef3d167f6278361a9ce22a0a8843e47d4cc2c5bb84f4cb060c7a0c4d79e63985ef53ed21b5d835bc47621 +EBUILD usbutils-018.ebuild 1061 BLAKE2B 849add430e9d5de993bbbacfe77e932c6b1bf37a926db9d45ce6b8b36ba4c6a208326e8ddc09f90dbbd2dce5aa30e9c6c13c3f778833b650c448eaa6d347b4d9 SHA512 e43985e4f8ea093e4826692bc649be723bf50ac7b6e50445edf6008b662ec011e82aafcd423b061efd7424f644f05a481856de527fe9631b646687c043c71fca MISC metadata.xml 254 BLAKE2B f3a9f843cf94243d1129711770df727fcdc8808bca829ef784819cab6f5410dfa463cfed85182f8228c7de796a674dd602653ad3ef817a62c0c3e7198b23befe SHA512 b9fcd3084a7e197f6138e1ce8b0eff99c4c203c37a7d5c40de207040ba1501ef0e5b2f4e00216a567037bcd6d3394fdec6ff587484c9ba2fca9d04f431733b7c diff --git a/sys-apps/usbutils/usbutils-018.ebuild b/sys-apps/usbutils/usbutils-018.ebuild new file mode 100644 index 000000000000..d26898c292e5 --- /dev/null +++ b/sys-apps/usbutils/usbutils-018.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 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 ~amd64-linux ~x86-linux" +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 +} |