mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
Merge updates from master
This commit is contained in:
@@ -3,3 +3,4 @@ DIST diffoscope-268.tar.bz2 3151657 BLAKE2B 2133611135347a9babfb55972ef5d456cc27
|
||||
DIST diffoscope-271.tar.bz2 3155727 BLAKE2B fa4ee93158cf41215d071aa3caa1956325fdbb1e4f1a9e392485117cb58b8142ac7f326cd650e72440a2512a08aa2c6a7d9c64a0fa8bf9768c9f0d97a45d872e SHA512 f5688d82313f54a9b9db88c406cdd67f13aeb65a8aa844fa41a944f6beaa0b2189175c891ddaf3b345492141472ce0366fd22691c2c89fd9a3d8c0b8d62f476c
|
||||
DIST diffoscope-272.tar.bz2 3155265 BLAKE2B 76f8475993dc8be7297b50a2dda71b965789f6de04143e22b3b28c25e6646d9744088a49181faeb488921eb192b85072d16fee35f41450ba389c491e6a43c7b5 SHA512 f74d0166526da10604f25ba0425d3acc540cb92780776d108b60b07d00fa1039ea5a3fde4fd260497e0cf6ae387457e6fff989c5795bca6ce14199f0c9a15174
|
||||
DIST diffoscope-274.tar.bz2 3165288 BLAKE2B 287d4ef0b4ba298a37659cc5599a06d520f3b751bfcf486def6279bbb80e7c72557fcca2ece900d74a8b44c3f9118b7ba8ed2e0933c60671c8c73ae43ea26f30 SHA512 dc0b804fa67bb7e01a3eb1814dbfe25e5d0069c43990b98d6c94dcb40b454e10f5aa20512559fbbd450e6e30f635c6f5dc03afb63e0d25bc04d5e617c7505f0b
|
||||
DIST diffoscope-276.tar.bz2 3145876 BLAKE2B 734c35c40f04c843066754e1852f0c2fab90ec90f3700d593bf3439193aea89b747aec2759413eb2e3bdbde49dfdae3cfc6accf4178ec116265454ff75f1db45 SHA512 3891456fbc703b369acfe44daa80b9be68fbe62853c5506617b1f007a8b61e8dd55a7094b9df87c71aedbc2e28f1e5ecc354f51032d8cfe5823a0db29cb284c9
|
||||
|
||||
@@ -0,0 +1,140 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
PYTHON_REQ_USE="ncurses"
|
||||
inherit distutils-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="Will try to get to the bottom of what makes files or directories different"
|
||||
HOMEPAGE="https://diffoscope.org/ https://pypi.org/project/diffoscope/"
|
||||
# We could use pypi, but upstream provide distribution tarballs, so let's use those.
|
||||
# TODO: verify-sig
|
||||
SRC_URI="https://diffoscope.org/archive/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86"
|
||||
IUSE="acl binutils bzip2 libcaca colord cpio +diff docx dtc e2fsprogs file
|
||||
find gettext gif gpg haskell hdf5 hex imagemagick iso java llvm lzma
|
||||
mono opendocument pascal pdf postscript R rpm sqlite squashfs
|
||||
ssh tar test tcpdump zip zlib zstd"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
dev-python/python-magic[${PYTHON_USEDEP}]
|
||||
sys-apps/file[python,${PYTHON_USEDEP}]
|
||||
)
|
||||
dev-python/libarchive-c[${PYTHON_USEDEP}]
|
||||
dev-python/distro[${PYTHON_USEDEP}]
|
||||
dev-python/tlsh[${PYTHON_USEDEP}]
|
||||
acl? ( sys-apps/acl )
|
||||
binutils? ( sys-devel/binutils )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
libcaca? ( media-libs/libcaca )
|
||||
colord? ( x11-misc/colord )
|
||||
cpio? ( app-alternatives/cpio )
|
||||
diff? ( sys-apps/diffutils )
|
||||
docx? ( app-text/docx2txt )
|
||||
dtc? ( sys-apps/dtc )
|
||||
e2fsprogs? ( sys-fs/e2fsprogs )
|
||||
file? ( sys-apps/file )
|
||||
find? ( sys-apps/findutils )
|
||||
gettext? ( sys-devel/gettext )
|
||||
gif? ( media-libs/giflib )
|
||||
gpg? ( app-crypt/gnupg )
|
||||
haskell? ( dev-lang/ghc )
|
||||
hdf5? ( sci-libs/hdf5 )
|
||||
hex? ( app-editors/vim-core )
|
||||
imagemagick? ( media-gfx/imagemagick )
|
||||
iso? ( app-cdr/cdrtools )
|
||||
java? ( virtual/jdk )
|
||||
llvm? ( sys-devel/llvm )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
mono? ( dev-lang/mono )
|
||||
opendocument? ( app-text/odt2txt )
|
||||
pascal? ( dev-lang/fpc )
|
||||
pdf? (
|
||||
app-text/pdftk
|
||||
app-text/poppler
|
||||
dev-python/pypdf[${PYTHON_USEDEP}]
|
||||
)
|
||||
postscript? ( app-text/ghostscript-gpl )
|
||||
R? ( dev-lang/R )
|
||||
rpm? ( app-arch/rpm )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
squashfs? ( sys-fs/squashfs-tools )
|
||||
ssh? ( virtual/openssh )
|
||||
tar? ( app-arch/tar )
|
||||
tcpdump? ( net-analyzer/tcpdump )
|
||||
zip? ( app-arch/unzip )
|
||||
zlib? ( app-arch/gzip )
|
||||
zstd? ( app-arch/zstd )
|
||||
"
|
||||
|
||||
# pull in optional tools for tests:
|
||||
# img2txt: bug #797688
|
||||
# docx2txt: bug #797688
|
||||
BDEPEND="
|
||||
test? (
|
||||
app-arch/p7zip
|
||||
app-text/docx2txt
|
||||
app-text/html2text
|
||||
media-libs/libcaca
|
||||
virtual/imagemagick-tools[jpeg]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# Test seems to use different tarball
|
||||
tests/test_presenters.py::test_text_proper_indentation
|
||||
|
||||
# Needs triage
|
||||
tests/comparators/test_binary.py::test_with_compare_details_and_tool_not_found
|
||||
tests/comparators/test_rlib.py::test_item3_deflate_llvm_bitcode
|
||||
tests/comparators/test_gif.py::test_has_visuals
|
||||
|
||||
# img2txt based failures, bug #797688
|
||||
tests/comparators/test_ico_image.py::test_diff
|
||||
tests/comparators/test_ico_image.py::test_diff_meta
|
||||
tests/comparators/test_ico_image.py::test_diff_meta2
|
||||
tests/comparators/test_ico_image.py::test_has_visuals
|
||||
tests/comparators/test_jpeg_image.py::test_diff
|
||||
tests/comparators/test_jpeg_image.py::test_compare_non_existing
|
||||
tests/comparators/test_jpeg_image.py::test_diff_meta
|
||||
tests/comparators/test_jpeg_image.py::test_has_visuals
|
||||
|
||||
# docx2txt based falures, bug #797688
|
||||
tests/comparators/test_docx.py::test_diff
|
||||
|
||||
# Formatting
|
||||
tests/test_source.py::test_code_is_black_clean
|
||||
|
||||
# Fails on ZFS
|
||||
tests/test_main.py::test_non_unicode_filename
|
||||
|
||||
# Fails on (unreleased) LLVM 16 with minor difference
|
||||
#tests/comparators/test_macho.py::test_llvm_diff
|
||||
#tests/comparators/test_elf.py::test_libmix_differences
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_test() {
|
||||
case $(tc-get-ptr-size) in
|
||||
4)
|
||||
EPYTEST_IGNORE+=(
|
||||
# Needs fixing in Perl itself (bug #934443)
|
||||
tests/comparators/test_epub.py
|
||||
tests/comparators/test_zip.py
|
||||
)
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
distutils-r1_src_test
|
||||
}
|
||||
@@ -1,4 +1,2 @@
|
||||
DIST bfs-3.1.3.tar.gz 237696 BLAKE2B ca76ef02cd8ea65ab7d866a9c677063367c16c89b5f521da842ca0465e0485a90077009d9b5f324c7df09c1ab53036eb0f2965f372fd56762556dfbed43deb2c SHA512 4511c809666241f1b14ef3a01b80f0dc369510b67f45c1ce3e2d4445bcec9a4b86fb01333067b8dd713e992e57be7b99328b47a21b27864e6575981287de8e36
|
||||
DIST bfs-3.2.tar.gz 252756 BLAKE2B 444d23c8df92c6c0bcbd38889cec29012c40d742a23e1755390259a325fab9d082a23ef444bf76462b21fcdeb41fa749593f5ec7d640f7270252ed4268ccc3fe SHA512 2881a37b65d8015853a658a4f759a5213ea433a726ee9952b82bd2d6c682f92e7d014eaa7ec8f1d127b3c25b5d3b04e3b24ae61ec2549212a7a4f9335f91bf8b
|
||||
DIST bfs-3.3.1.tar.gz 262841 BLAKE2B bc848f4daa98172531e6c13100dcd1f3b722f4282acc5fd3677b2c4a83effa49e681d0cac3fa2c104fd1db03543c4f0a6ca9bc494ee3737d0c927f0170171eac SHA512 e31153ef244483e4337bd2bb64fc4ddf55d56048b5af54003a917287868114c81befb771b6cfc7473e384d3157b24cbec7ca27336362a438c7803eb7fc85d8d3
|
||||
DIST bfs-3.3.tar.gz 262590 BLAKE2B f418a9b2f8749eb28dbe702e9303a4b4d2ec8119a712544a24d0a01cf9e4a5794d8882103bff799920ffbc7d3855656b034ec960b2b3bed64b183bb8b60cf348 SHA512 ed4396e81eaeb54a8d196e2cd0300c1a33f600e7e69d9e8fddf39916e3ade0db422fbae74f1fb1ae76ece1352a3fdf20976fbbf521c5f1ce0bb3c073133004fb
|
||||
DIST bfs-4.0.1.tar.gz 272678 BLAKE2B c25165b469ea52ef2e0b73ae0cbcef485a739d25cd3c49d25cd0543ab97009b256637d0dab5cb1ce01c3da7ab77519ac6a5b9cff36634c81415ec309d46c7d1d SHA512 0697aab71e2101638fbb5923ec57b9439d6fdd212dccd2f1b90cd4a1bc9c72acca5dca92e9aa6efef06696b324cb6754784602064f35b529ff97d1933672d73c
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Breadth-first version of the UNIX find command"
|
||||
HOMEPAGE="https://tavianator.com/projects/bfs.html"
|
||||
SRC_URI="https://github.com/tavianator/bfs/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="0BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc"
|
||||
IUSE="acl caps debug io-uring unicode xattr"
|
||||
|
||||
DEPEND="
|
||||
acl? ( virtual/acl )
|
||||
caps? ( sys-libs/libcap )
|
||||
io-uring? ( sys-libs/liburing:= )
|
||||
unicode? ( dev-libs/oniguruma:= )
|
||||
xattr? ( sys-apps/attr )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
bfsmake() {
|
||||
emake \
|
||||
USE_ACL=$(usev acl '1') \
|
||||
USE_ATTR=$(usev xattr '1') \
|
||||
USE_LIBCAP=$(usev caps '1') \
|
||||
USE_LIBURING=$(usev io-uring '1') \
|
||||
USE_ONIGURUMA=$(usev unicode '1') \
|
||||
"$@"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
use debug || append-cppflags -DNDEBUG
|
||||
|
||||
bfsmake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# -n check gets confused so need manual src_test definition?
|
||||
bfsmake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
bfsmake DESTDIR="${D}" install
|
||||
einstalldocs
|
||||
}
|
||||
@@ -1,57 +0,0 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit edo flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Breadth-first version of the UNIX find command"
|
||||
HOMEPAGE="https://tavianator.com/projects/bfs.html"
|
||||
SRC_URI="https://github.com/tavianator/bfs/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="0BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc"
|
||||
IUSE="acl caps debug io-uring selinux unicode"
|
||||
|
||||
DEPEND="
|
||||
acl? ( virtual/acl )
|
||||
caps? ( sys-libs/libcap )
|
||||
io-uring? ( sys-libs/liburing:= )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
unicode? ( dev-libs/oniguruma:= )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||
# Not available on Linux
|
||||
acl_is_trivial_np acl_trivial fdclosedir getdents getprogname
|
||||
posix_spawn_file_actions_addfchdir
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
tc-export CC PKG_CONFIG
|
||||
use debug || append-cppflags -DNDEBUG
|
||||
|
||||
edo ./configure \
|
||||
$(use_enable acl libacl) \
|
||||
$(use_enable caps libcap) \
|
||||
$(use_enable selinux libselinux) \
|
||||
$(use_enable io-uring liburing) \
|
||||
$(use_enable unicode oniguruma) \
|
||||
V=1
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake V=1
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# -n check gets confused so need manual src_test definition?
|
||||
emake V=1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake V=1 DESTDIR="${D}" install
|
||||
einstalldocs
|
||||
}
|
||||
@@ -4,3 +4,5 @@ DIST mawk-1.3.4-20240123.tgz 413943 BLAKE2B 29a9c89995e969a62bd0b30e494c67e53aea
|
||||
DIST mawk-1.3.4-20240123.tgz.asc 729 BLAKE2B e4ba4ddd1f3227a9dc922a1325b00fac2d9c95a848fdc03f57eaa5f354bf45da218cbf6e931b5c1464b799c05d10ff7fe95d1eb81221b4afba468bedc7805815 SHA512 3b4b8b8b7b74aff7061158a7c284d1949c09d52d78003b678c9dcc1da036a4d84b873103d76362866daf914d5a7d717c71baf13d30d7e882b03c5f87c8e4c452
|
||||
DIST mawk-1.3.4-20240622.tgz 414190 BLAKE2B 3238e633546ea04b0e3822271fcd37d1ac6ae3924c9e7655ff14c9fa35d691ba27bb779e7c1b7f95a46c0aa90b75a71ab2681763c89812f55773e97489e03ff8 SHA512 29fed436502531e226af5e04bc54c2f4f9430c80d863f27e520401577c1f03a10d8a0d9def94c71ca43de40a7b1f450340802de37a7276bfe91d029779b1460e
|
||||
DIST mawk-1.3.4-20240622.tgz.asc 729 BLAKE2B b57d41b6062a51d18525abce1c1d463debe032fe05dea9f9ac82f49cae12b7190cdcdb59ef69757b1372d777353ab3cae7a38177e99f684550bf31f85fd3eb56 SHA512 a97297424dea27207b49b51fd1461c9a158dd9a4e5289e91194beebe67a35b3b9fbb414cf8367eae296688038264f1e7b6d69a00903f9c88d0b90d32fc154ae3
|
||||
DIST mawk-1.3.4-20240819.tgz 421586 BLAKE2B cc80703428d50d3eb1ba681aedadc3c0136ecbf73505a2982b5be5a34d3dd49e52b70c05af0a30819ede8f5a6edb01d48df58f1b2554c9c17f116258ad45ffad SHA512 db547df08b6d511805e5c7995d42f63fe95014ac8f1837397e8ed4aeeaadd11dc9b0cb1f54ea3210e70b0378278b24fe31c7c7c912f1da3ce96deb61ce4dfc0f
|
||||
DIST mawk-1.3.4-20240819.tgz.asc 729 BLAKE2B 59139459eb51853d3182858bc3d5db961c1b676bf7e219aff65a45bda6b32e8855502231200d9bc63b15181bce400bf883463877cb3546a237d9622681c9f650 SHA512 0e736aea177a0c28808d47dfb459502eefcccfc6f2129a0bdd3c6571d807a5bb49ef554b8169dc2c6f60c6b544bd7d490ab27ec7534846d1b6b736d98ab8fd4f
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
Sent upstream via email by sam on 2024-08-27.
|
||||
--- a/test/mawktest
|
||||
+++ b/test/mawktest
|
||||
@@ -269,7 +269,7 @@ Finish "character-classes demo"
|
||||
Begin "long-lines test"
|
||||
if [ -f /proc/meminfo ]
|
||||
then
|
||||
- AWK=$PROG longline.sh | cmp -s - longline.out || Fail "longline.awk"
|
||||
+ AWK=$PROG ./longline.sh | cmp -s - longline.out || Fail "longline.awk"
|
||||
else
|
||||
echo "SKIPPED because of memory requirements"
|
||||
fi
|
||||
@@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/thomasdickey.asc
|
||||
inherit toolchain-funcs verify-sig
|
||||
|
||||
MY_P="${P/_p/-}"
|
||||
DESCRIPTION="An (often faster than gawk) awk-interpreter"
|
||||
HOMEPAGE="https://invisible-island.net/mawk/mawk.html"
|
||||
SRC_URI="https://invisible-mirror.net/archives/${PN}/${MY_P}.tgz"
|
||||
SRC_URI+=" verify-sig? ( https://invisible-island.net/archives/${PN}/${MY_P}.tgz.asc )"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-thomasdickey-20240114 )"
|
||||
|
||||
DOCS=( ACKNOWLEDGMENT CHANGES README )
|
||||
|
||||
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||
arc4random_push # doesn't exist on Linux
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.3.4_p20240819-tests.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
tc-export BUILD_CC
|
||||
econf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
exeinto /usr/share/doc/${PF}/examples
|
||||
doexe examples/*
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if has_version app-admin/eselect && has_version app-eselect/eselect-awk; then
|
||||
eselect awk update ifunset
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if has_version app-admin/eselect && has_version app-eselect/eselect-awk; then
|
||||
eselect awk update ifunset
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user