From 1ceb985e433b865d655d6988497ea6ee766d0bfe Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 22 Jan 2022 13:16:17 +0100 Subject: distutils-r1.eclass: Strip LICENSE* & COPYING* from PEP517 dist-info MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The .dist-info metadata installed by PEP517 packages contains a full copy of the license. Strip that following the Gentoo policy. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index a9c86ef55124..f2804defb818 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -977,6 +977,11 @@ distutils-r1_python_compile() { chmod +x "${root}"/usr/bin/* || die fi + # remove installed licenses + find "${root}$(python_get_sitedir)" \ + '(' -path '*.dist-info/COPYING*' -o \ + -path '*.dist-info/LICENSE*' ')' -delete || die + # clean the build tree; otherwise we may end up with PyPy3 # extensions duplicated into CPython dists if [[ ${DISTUTILS_USE_PEP517:-setuptools} == setuptools ]]; then -- cgit v1.2.3-65-gdbad From 0a0d62773a19ff1b6857252c3b1b6ba876007638 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 22 Jan 2022 13:18:49 +0100 Subject: distutils-r1.eclass: Fix prefix paths MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index f2804defb818..2c75daab14cc 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -973,8 +973,8 @@ distutils-r1_python_compile() { # TODO: workaround for a bug in installer; remove once we depend # on a properly fixed version - if [[ -d ${root}/usr/bin ]]; then - chmod +x "${root}"/usr/bin/* || die + if [[ -d ${root}${EPREFIX}/usr/bin ]]; then + chmod +x "${root}${EPREFIX}"/usr/bin/* || die fi # remove installed licenses @@ -989,11 +989,11 @@ distutils-r1_python_compile() { fi # enable venv magic inside the install tree - mkdir -p "${root}"/usr/bin || die - ln -s "${PYTHON}" "${root}/usr/bin/${EPYTHON}" || die - ln -s "${EPYTHON}" "${root}/usr/bin/python3" || die - ln -s "${EPYTHON}" "${root}/usr/bin/python" || die - cat > "${root}"/usr/pyvenv.cfg <<-EOF || die + mkdir -p "${root}${EPREFIX}"/usr/bin || die + ln -s "${PYTHON}" "${root}${EPREFIX}/usr/bin/${EPYTHON}" || die + ln -s "${EPYTHON}" "${root}${EPREFIX}/usr/bin/python3" || die + ln -s "${EPYTHON}" "${root}${EPREFIX}/usr/bin/python" || die + cat > "${root}${EPREFIX}"/usr/pyvenv.cfg <<-EOF || die include-system-site-packages = true EOF fi @@ -1115,11 +1115,11 @@ distutils-r1_python_install() { [[ -d ${rscriptdir} ]] && die "${rscriptdir} should not exist!" # remove venv magic - rm "${root}"/usr/{pyvenv.cfg,bin/{python,python3,${EPYTHON}}} || die - find "${root}"/usr/bin -empty -delete || die - if [[ ! ${DISTUTILS_SINGLE_IMPL} && -d ${root}/usr/bin ]]; then + rm "${root}${EPREFIX}"/usr/{pyvenv.cfg,bin/{python,python3,${EPYTHON}}} || die + find "${root}${EPREFIX}"/usr/bin -empty -delete || die + if [[ ! ${DISTUTILS_SINGLE_IMPL} && -d ${root}${EPREFIX}/usr/bin ]]; then mkdir -p "${rscriptdir%/*}" || die - mv "${root}/usr/bin" "${rscriptdir}" || die + mv "${root}${EPREFIX}/usr/bin" "${rscriptdir}" || die fi else local root=${D%/}/_${EPYTHON} @@ -1189,8 +1189,8 @@ distutils-r1_python_install() { local shopt_save=$(shopt -p nullglob) shopt -s nullglob local pypy_dirs=( - "${root}/usr/$(get_libdir)"/pypy*/share - "${root}/usr/lib"/pypy*/share + "${root}${EPREFIX}/usr/$(get_libdir)"/pypy*/share + "${root}${EPREFIX}/usr/lib"/pypy*/share ) ${shopt_save} @@ -1249,7 +1249,7 @@ distutils-r1_run_phase() { fi if [[ ${DISTUTILS_USE_PEP517} ]]; then - local -x PATH=${BUILD_DIR}/install/usr/bin:${PATH} + local -x PATH=${BUILD_DIR}/install${EPREFIX}/usr/bin:${PATH} else local -x PYTHONPATH="${BUILD_DIR}/lib:${PYTHONPATH}" -- cgit v1.2.3-65-gdbad From 764d5856fba7eddddcd46efd1363c42784dceab9 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 22 Jan 2022 21:53:22 +0100 Subject: distutils-r1.eclass: Link to installer +x fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 1 + 1 file changed, 1 insertion(+) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 2c75daab14cc..a91442459346 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -973,6 +973,7 @@ distutils-r1_python_compile() { # TODO: workaround for a bug in installer; remove once we depend # on a properly fixed version + # https://github.com/pradyunsg/installer/commit/245896289a590bd9be505bd061d4f49372948a16 if [[ -d ${root}${EPREFIX}/usr/bin ]]; then chmod +x "${root}${EPREFIX}"/usr/bin/* || die fi -- cgit v1.2.3-65-gdbad From 232ea152aad6be4976d74819385218780dae6263 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sun, 23 Jan 2022 10:21:00 +0100 Subject: dev-python/pulsectl: Bump to 22.1.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pulsectl/Manifest | 1 + dev-python/pulsectl/pulsectl-22.1.3.ebuild | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 dev-python/pulsectl/pulsectl-22.1.3.ebuild diff --git a/dev-python/pulsectl/Manifest b/dev-python/pulsectl/Manifest index 6f578b8e29f7..fcfa8a505570 100644 --- a/dev-python/pulsectl/Manifest +++ b/dev-python/pulsectl/Manifest @@ -1,3 +1,4 @@ DIST pulsectl-21.10.5.tar.gz 40769 BLAKE2B 8346717714b4e9fd017ca917388d2ddff9c7b5a5a74a33e03e3fd5fc02048ba3d1873fb1bd10a12410dc44d88c253a4afc71f1f2542e70f36f4985659fcd9fb5 SHA512 353af9d33bb6e9f070e46a934f0933935631ca5d254430ece8b9aa9a25dd31607a45718a45c71f35f2e3801c78d7eea18c5e34f69e5a983cfc0115a8fcd05334 DIST pulsectl-22.1.0.tar.gz 40796 BLAKE2B a401500f3927fcc86db7132a9e76b31a8dd2144fb1cf6d62be30c6dc4648298f4ed378061b48dc4c64adb3a24d25810613024d6f652aa72b696f9b05605613a8 SHA512 b55ad512c9b7b11aa848465fe8cd556c76b5e10ebc7862aefc6b459cd4526ca1a0e284e81560b5e86d22acfa8409d09683043ca789c4f59f512a77cf2273cc7e DIST pulsectl-22.1.1.tar.gz 40813 BLAKE2B f5f5dd1bd958d9a053fa9da1aab7aa49680b7047641088fae9a110162e8be859de275dc79990366197c1be14e0c1e555cd2a37dc20f36ae5ad9bcff29babd1d5 SHA512 7676db1d1da3816d94a297b25613e44a02cd560a4c5495a25efb90f9fafb97e16844a5e36bc67457594afc6378860e57246cc5d07ab22aba328679c6ff1bfd8b +DIST pulsectl-22.1.3.tar.gz 40899 BLAKE2B e0a3361ce9126afe9a79817165405c38638cd7b2328162750607d7c674431f0e57762f5aaa50ab17325d493b16a5370feaa836e6899cd91c64f299af008c8825 SHA512 cc60ca006518f8be327cf7aa0dccb4820b0891e7118989b31c968bd740134751033802dbe54e203c56cf6a5d541732684dd27128c14f753acc5de38b639bdf64 diff --git a/dev-python/pulsectl/pulsectl-22.1.3.ebuild b/dev-python/pulsectl/pulsectl-22.1.3.ebuild new file mode 100644 index 000000000000..b7d66bc938a0 --- /dev/null +++ b/dev-python/pulsectl/pulsectl-22.1.3.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Python high-level interface and ctypes-based bindings for PulseAudio (libpulse)" +HOMEPAGE="https://github.com/mk-fg/python-pulse-control" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="media-sound/pulseaudio" + +distutils_enable_tests unittest -- cgit v1.2.3-65-gdbad From 8060e4bc3a815ea334040e0c6c991b865779d052 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sun, 23 Jan 2022 10:22:46 +0100 Subject: dev-python/multidict: Bump to 6.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/multidict/Manifest | 1 + dev-python/multidict/multidict-6.0.0.ebuild | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 dev-python/multidict/multidict-6.0.0.ebuild diff --git a/dev-python/multidict/Manifest b/dev-python/multidict/Manifest index ab5507fc0bd0..41f8f5cafdee 100644 --- a/dev-python/multidict/Manifest +++ b/dev-python/multidict/Manifest @@ -1 +1,2 @@ DIST multidict-5.2.0.tar.gz 56984 BLAKE2B 3580e3f53b3ec581d338676647f2e8dd78387fdad5730fe703c02b3cd4182d69e3b6896d71bd969413dd27974e07272cc541701a2145a517d9bacea45000e9c8 SHA512 508b6db9219c3dae76da5e89a398f4541beff2a875030c2f11da9aaa1e001324d069d7a291148c510fe555cb3a33288ef297c9baa863e42d3d09d60588bebd7e +DIST multidict-6.0.0.tar.gz 56006 BLAKE2B 886e7e02da1eb80ca2a7106dd127d0164155fa400125f4fa0c880d508407ad1b436e52d77f331843f908d5ab5497aac002d72445615666b0621a8e436397598f SHA512 9f258795166fd3c6f56286fd98da8cf7ce9bc5d7a974174865164f0955c71263234307733c0edcc5d0142c1356d681e24c93c3be6f5dbee67f01dee6a39b32d2 diff --git a/dev-python/multidict/multidict-6.0.0.ebuild b/dev-python/multidict/multidict-6.0.0.ebuild new file mode 100644 index 000000000000..f45187aed2ff --- /dev/null +++ b/dev-python/multidict/multidict-6.0.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="multidict implementation" +HOMEPAGE="https://github.com/aio-libs/multidict/" +SRC_URI="https://github.com/aio-libs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +BDEPEND=">=dev-python/cython-0.28.4[${PYTHON_USEDEP}]" + +distutils_enable_sphinx docs --no-autodoc +distutils_enable_tests pytest + +python_prepare_all() { + # don't enable coverage or other pytest settings + sed -i -e 's:--cov.*::' setup.cfg || die + + distutils-r1_python_prepare_all +} -- cgit v1.2.3-65-gdbad From ad50f95fea5f0ec4615947d696bedfc8d97d2e4f Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sun, 23 Jan 2022 10:25:40 +0100 Subject: net-misc/miniupnpd: Bump to 2.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- net-misc/miniupnpd/Manifest | 2 + net-misc/miniupnpd/miniupnpd-2.3.0.ebuild | 97 +++++++++++++++++++++++++++++++ 2 files changed, 99 insertions(+) create mode 100644 net-misc/miniupnpd/miniupnpd-2.3.0.ebuild diff --git a/net-misc/miniupnpd/Manifest b/net-misc/miniupnpd/Manifest index b26631d98c54..30c492813480 100644 --- a/net-misc/miniupnpd/Manifest +++ b/net-misc/miniupnpd/Manifest @@ -2,3 +2,5 @@ DIST miniupnpd-2.2.2.tar.gz 250649 BLAKE2B d561916ced9b5c58371382fe0bec68cd0771d DIST miniupnpd-2.2.2.tar.gz.sig 543 BLAKE2B 461a9149c66b0e314a767405024fc7bfb641a20ae36b908dc467c9211660d5cb0753fb3c99fa9d6df35d693a2f6790efb6a325f0005804572eaa78a02b23a482 SHA512 8ffc9901cd992cbd9d0fa4c5e510fe43f748ab4a7c4732cc8f2f685f19b71a3f087a63a39e1dbf081175ac65de34b5c05dc3ef636a805e550a0406119a5904ef DIST miniupnpd-2.2.3.tar.gz 254752 BLAKE2B ebdb8d4ce7dc649ef0243d2d698b9f51cb2006055eb3abb70d9ccc839cb57c7113595ef1b9b5886f55bc458d8260edf95ae6e1964a5d5423f9b0b46e07e02775 SHA512 56b1e93e9576fa412202e1940fcd8b7af57584714c15017bbcec1aa4fa7bba7a6fa5d1136048100d7cce3222f31b38837de1eae344b533164314c858cdf08ef9 DIST miniupnpd-2.2.3.tar.gz.sig 543 BLAKE2B 3ba2e69cfd7e0a27a746f45e5eb10e573e00c4fc20a7d62b94a2e0b7e4e9ad8779d53df72e31547b78dc6e34676204a4848652e81d1e479a68973e150f51f468 SHA512 9f766f3e94de1fbd458c7bda30cc87892198af7544aa9dc0fa4c6b6a1c9434e4bab6f8583eeccf3ae613da240ad599d750425c507e8138d483710459f31a0b21 +DIST miniupnpd-2.3.0.tar.gz 256069 BLAKE2B dd21b4ee692cf9958bd996c6fe70e7e1f6cdfe467506676d2335ccf37cd0ed7e55ff435983747cad5d2342019b36597e538fcb9b511872889305330212e88cb0 SHA512 437a4b101bcadd9feb3845d37402c253a0a2114463fd8c5930859c7eae0ffaf7714ef7c9d387be2339c584e2f106fafa008a4364ff347b6640153c9a09919b0a +DIST miniupnpd-2.3.0.tar.gz.sig 543 BLAKE2B 312d46521d37c1a2fda146f2c7c964af45ffa4a75bc327dc743b40f96586e0916a674db4a0bb847b5e386f0b781319868d1d6cc74fbffaf3a8e989db18f4f6e6 SHA512 87be539c27d0147fcc62b69a82858518e862f2b593a0e03a9986e3641a0d61f4fa831d79a7ce645b33569234463a9517b9dbbc79ee988c9f561474a4757c4c04 diff --git a/net-misc/miniupnpd/miniupnpd-2.3.0.ebuild b/net-misc/miniupnpd/miniupnpd-2.3.0.ebuild new file mode 100644 index 000000000000..328c65b49bbc --- /dev/null +++ b/net-misc/miniupnpd/miniupnpd-2.3.0.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit toolchain-funcs verify-sig + +MY_P=${P/_rc/-RC} +DESCRIPTION="MiniUPnP IGD Daemon" +HOMEPAGE="http://miniupnp.free.fr/" +SRC_URI="http://miniupnp.free.fr/files/${MY_P}.tar.gz + verify-sig? ( http://miniupnp.free.fr/files/${MY_P}.tar.gz.sig )" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="+leasefile igd2 ipv6 nftables pcp-peer portinuse strict" + +RDEPEND=" + dev-libs/gmp:0= + sys-apps/util-linux:= + dev-libs/openssl:0= + !nftables? ( + >=net-firewall/iptables-1.4.6:0=[ipv6?] + net-libs/libnfnetlink:= + net-libs/libmnl:= + ) + nftables? ( + net-firewall/nftables + net-libs/libnftnl:= + net-libs/libmnl:= + )" +DEPEND="${RDEPEND} + elibc_musl? ( sys-libs/queue-standalone )" +BDEPEND=" + sys-apps/lsb-release + verify-sig? ( sec-keys/openpgp-keys-miniupnp )" + +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/miniupnp.asc + +src_prepare() { + default + + # fails without a default route + sed -i -e 's:EXTIF=.*:EXTIF=lo:' testgetifaddr.sh || die +} + +src_configure() { + local opts=( + --vendorcfg + $(usex igd2 '--igd2' '') + $(usex ipv6 '--ipv6' '') + $(usex leasefile '--leasefile' '') + $(usex portinuse '--portinuse' '') + $(usex pcp-peer '--pcp-peer' '') + $(usex strict '--strict' '') + --firewall=$(usex nftables nftables iptables) + ) + + # custom script + ./configure "${opts[@]}" || die + # prevent gzipping manpage + sed -i -e '/gzip/d' Makefile || die +} + +src_compile() { + # By default, it builds a bunch of unittests that are missing wrapper + # scripts in the tarball + emake CC="$(tc-getCC)" STRIP=true miniupnpd +} + +src_test() { + emake CC="$(tc-getCC)" check +} + +src_install() { + emake PREFIX="${ED}" STRIP=true install + + local confd_seds=() + if use nftables; then + confd_seds+=( -e 's/^iptables_scripts=/#&/' ) + else + confd_seds+=( -e 's/^nftables_scripts=/#&/' ) + fi + if ! use ipv6 || use nftables; then + confd_seds+=( -e 's/^ip6tables_scripts=/#&/' ) + fi + + newinitd "${FILESDIR}"/${PN}-init.d-r2 ${PN} + newconfd - ${PN} < <(sed "${confd_seds[@]}" \ + "${FILESDIR}"/${PN}-conf.d-r2 || die) +} + +pkg_postinst() { + elog "Please correct the external interface in the top of the two" + elog "scripts in /etc/miniupnpd and edit the config file in there too" +} -- cgit v1.2.3-65-gdbad From 4c5c430d0a56eb5eab6a27d86df50b46b488f6c7 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Sun, 23 Jan 2022 04:26:27 -0500 Subject: media-libs/libsdl2: depend on >=wayland-1.20 + scanner Fails with <1.20 and if wayland-scanner is missing it wouldn't fail but silently build libsdl2 without wayland support (revbump to ensure everything is in order and prevent downgrades). Closes: https://bugs.gentoo.org/831884 Signed-off-by: Ionen Wolkens --- media-libs/libsdl2/libsdl2-2.0.20-r1.ebuild | 231 ++++++++++++++++++++++++++++ media-libs/libsdl2/libsdl2-2.0.20.ebuild | 230 --------------------------- 2 files changed, 231 insertions(+), 230 deletions(-) create mode 100644 media-libs/libsdl2/libsdl2-2.0.20-r1.ebuild delete mode 100644 media-libs/libsdl2/libsdl2-2.0.20.ebuild diff --git a/media-libs/libsdl2/libsdl2-2.0.20-r1.ebuild b/media-libs/libsdl2/libsdl2-2.0.20-r1.ebuild new file mode 100644 index 000000000000..ac70239d8ce4 --- /dev/null +++ b/media-libs/libsdl2/libsdl2-2.0.20-r1.ebuild @@ -0,0 +1,231 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic multilib-minimal + +MY_P="SDL2-${PV}" +DESCRIPTION="Simple Direct Media Layer" +HOMEPAGE="https://www.libsdl.org/" +SRC_URI="https://www.libsdl.org/release/${MY_P}.tar.gz" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +IUSE="alsa aqua cpu_flags_ppc_altivec cpu_flags_x86_3dnow cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 custom-cflags dbus doc fcitx4 gles1 gles2 haptic ibus jack +joystick kms libsamplerate nas opengl oss pipewire pulseaudio sndio +sound static-libs +threads udev +video video_cards_vc4 vulkan wayland X xinerama xscreensaver" +REQUIRED_USE=" + alsa? ( sound ) + fcitx4? ( dbus ) + gles1? ( video ) + gles2? ( video ) + haptic? ( joystick ) + ibus? ( dbus ) + jack? ( sound ) + nas? ( sound ) + opengl? ( video ) + pulseaudio? ( sound ) + sndio? ( sound ) + vulkan? ( video ) + wayland? ( gles2 ) + xinerama? ( X ) + xscreensaver? ( X )" + +CDEPEND=" + alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) + dbus? ( >=sys-apps/dbus-1.6.18-r1[${MULTILIB_USEDEP}] ) + fcitx4? ( app-i18n/fcitx:4 ) + gles1? ( media-libs/mesa[${MULTILIB_USEDEP},gles1] ) + gles2? ( >=media-libs/mesa-9.1.6[${MULTILIB_USEDEP},gles2] ) + ibus? ( app-i18n/ibus ) + jack? ( virtual/jack[${MULTILIB_USEDEP}] ) + kms? ( + >=x11-libs/libdrm-2.4.82[${MULTILIB_USEDEP}] + >=media-libs/mesa-9.0.0[${MULTILIB_USEDEP},gbm(+)] + ) + libsamplerate? ( media-libs/libsamplerate[${MULTILIB_USEDEP}] ) + nas? ( + >=media-libs/nas-1.9.4[${MULTILIB_USEDEP}] + >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] + ) + opengl? ( + >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] + >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}] + ) + pipewire? ( media-video/pipewire:=[${MULTILIB_USEDEP}] ) + pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] ) + sndio? ( media-sound/sndio:=[${MULTILIB_USEDEP}] ) + udev? ( >=virtual/libudev-208:=[${MULTILIB_USEDEP}] ) + wayland? ( + >=dev-libs/wayland-1.20[${MULTILIB_USEDEP}] + >=media-libs/mesa-9.1.6[${MULTILIB_USEDEP},egl(+),gles2,wayland] + >=x11-libs/libxkbcommon-0.2.0[${MULTILIB_USEDEP}] + ) + X? ( + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXcursor-1.1.14[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] + >=x11-libs/libXi-1.7.2[${MULTILIB_USEDEP}] + >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}] + >=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}] + xinerama? ( >=x11-libs/libXinerama-1.1.3[${MULTILIB_USEDEP}] ) + xscreensaver? ( >=x11-libs/libXScrnSaver-1.2.2-r1[${MULTILIB_USEDEP}] ) + )" +RDEPEND="${CDEPEND} + vulkan? ( media-libs/vulkan-loader )" +DEPEND="${CDEPEND} + ibus? ( dev-libs/glib:2[${MULTILIB_USEDEP}] ) + vulkan? ( dev-util/vulkan-headers ) + X? ( x11-base/xorg-proto ) +" +BDEPEND=" + virtual/pkgconfig + doc? ( + app-doc/doxygen + media-gfx/graphviz + ) + wayland? ( >=dev-util/wayland-scanner-1.20 ) +" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/SDL2/SDL_config.h + /usr/include/SDL2/SDL_platform.h + /usr/include/SDL2/begin_code.h + /usr/include/SDL2/close_code.h +) + +PATCHES=( + "${FILESDIR}"/${PN}-2.0.16-static-libs.patch +) + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + + # Unbundle some headers. + rm -r src/video/khronos || die + ln -s "${ESYSROOT}/usr/include" src/video/khronos || die + + # SDL seems to customize SDL_config.h.in to remove macros like + # PACKAGE_NAME. Add AT_NOEAUTOHEADER="yes" to prevent those macros from + # being reintroduced. + # https://bugs.gentoo.org/764959 + AT_NOEAUTOHEADER="yes" AT_M4DIR="/usr/share/aclocal acinclude" \ + eautoreconf +} + +multilib_src_configure() { + use custom-cflags || strip-flags + + if use ibus; then + local -x IBUS_CFLAGS="-I${ESYSROOT}/usr/include/ibus-1.0 -I${ESYSROOT}/usr/include/glib-2.0 -I${ESYSROOT}/usr/$(get_libdir)/glib-2.0/include" + fi + + # sorted by `./configure --help` + local myeconfargs=( + $(use_enable static-libs static) + --enable-atomic + $(use_enable sound audio) + $(use_enable video) + --enable-render + --enable-events + $(use_enable joystick) + $(use_enable haptic) + --enable-power + --enable-filesystem + $(use_enable threads) + --enable-timers + --enable-file + --enable-loadso + --enable-cpuinfo + --enable-assembly + $(use_enable cpu_flags_ppc_altivec altivec) + $(use_enable cpu_flags_x86_sse ssemath) + $(use_enable cpu_flags_x86_mmx mmx) + $(use_enable cpu_flags_x86_3dnow 3dnow) + $(use_enable cpu_flags_x86_sse sse) + $(use_enable cpu_flags_x86_sse2 sse2) + $(use_enable oss) + $(use_enable alsa) + --disable-alsa-shared + $(use_enable jack) + --disable-jack-shared + --disable-esd + $(use_enable pipewire) + --disable-pipewire-shared + $(use_enable pulseaudio) + --disable-pulseaudio-shared + --disable-arts + $(use_enable libsamplerate) + $(use_enable nas) + --disable-nas-shared + $(use_enable sndio) + --disable-sndio-shared + $(use_enable sound diskaudio) + $(use_enable sound dummyaudio) + $(use_enable wayland video-wayland) + --disable-wayland-shared + $(use_enable video_cards_vc4 video-rpi) + $(use_enable X video-x11) + --disable-x11-shared + $(use_enable X video-x11-xcursor) + $(use_enable X video-x11-xdbe) + $(use_enable xinerama video-x11-xinerama) + $(use_enable X video-x11-xinput) + $(use_enable X video-x11-xrandr) + $(use_enable xscreensaver video-x11-scrnsaver) + $(use_enable X video-x11-xshape) + $(use_enable X video-x11-vm) + $(use_enable aqua video-cocoa) + --disable-video-directfb + --disable-fusionsound + --disable-fusionsound-shared + $(use_enable kms video-kmsdrm) + --disable-kmsdrm-shared + $(use_enable video video-dummy) + $(use_enable opengl video-opengl) + $(use_enable gles1 video-opengles1) + $(use_enable gles2 video-opengles2) + $(use_enable vulkan video-vulkan) + $(use_enable udev libudev) + $(use_enable dbus) + $(use_enable fcitx4 fcitx) + $(use_enable ibus) + --disable-directx + --disable-rpath + --disable-render-d3d + $(use_with X x) + ) + + ECONF_SOURCE="${S}" \ + econf "${myeconfargs[@]}" +} + +multilib_src_compile() { + emake V=1 +} + +src_compile() { + multilib-minimal_src_compile + + if use doc; then + cd docs || die + doxygen || die + fi +} + +multilib_src_install() { + emake DESTDIR="${D}" install +} + +multilib_src_install_all() { + # Do not delete the static .a libraries here as some are + # mandatory. They may be needed even when linking dynamically. + find "${ED}" -type f -name "*.la" -delete || die + + dodoc {BUGS,CREDITS,README-SDL,TODO,WhatsNew}.txt README.md docs/README*.md + doman debian/sdl2-config.1 + use doc && dodoc -r docs/output/html/ +} diff --git a/media-libs/libsdl2/libsdl2-2.0.20.ebuild b/media-libs/libsdl2/libsdl2-2.0.20.ebuild deleted file mode 100644 index 0e22bf102de2..000000000000 --- a/media-libs/libsdl2/libsdl2-2.0.20.ebuild +++ /dev/null @@ -1,230 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic multilib-minimal - -MY_P="SDL2-${PV}" -DESCRIPTION="Simple Direct Media Layer" -HOMEPAGE="https://www.libsdl.org/" -SRC_URI="https://www.libsdl.org/release/${MY_P}.tar.gz" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" - -IUSE="alsa aqua cpu_flags_ppc_altivec cpu_flags_x86_3dnow cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 custom-cflags dbus doc fcitx4 gles1 gles2 haptic ibus jack +joystick kms libsamplerate nas opengl oss pipewire pulseaudio sndio +sound static-libs +threads udev +video video_cards_vc4 vulkan wayland X xinerama xscreensaver" -REQUIRED_USE=" - alsa? ( sound ) - fcitx4? ( dbus ) - gles1? ( video ) - gles2? ( video ) - haptic? ( joystick ) - ibus? ( dbus ) - jack? ( sound ) - nas? ( sound ) - opengl? ( video ) - pulseaudio? ( sound ) - sndio? ( sound ) - vulkan? ( video ) - wayland? ( gles2 ) - xinerama? ( X ) - xscreensaver? ( X )" - -CDEPEND=" - alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) - dbus? ( >=sys-apps/dbus-1.6.18-r1[${MULTILIB_USEDEP}] ) - fcitx4? ( app-i18n/fcitx:4 ) - gles1? ( media-libs/mesa[${MULTILIB_USEDEP},gles1] ) - gles2? ( >=media-libs/mesa-9.1.6[${MULTILIB_USEDEP},gles2] ) - ibus? ( app-i18n/ibus ) - jack? ( virtual/jack[${MULTILIB_USEDEP}] ) - kms? ( - >=x11-libs/libdrm-2.4.82[${MULTILIB_USEDEP}] - >=media-libs/mesa-9.0.0[${MULTILIB_USEDEP},gbm(+)] - ) - libsamplerate? ( media-libs/libsamplerate[${MULTILIB_USEDEP}] ) - nas? ( - >=media-libs/nas-1.9.4[${MULTILIB_USEDEP}] - >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] - ) - opengl? ( - >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] - >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}] - ) - pipewire? ( media-video/pipewire:=[${MULTILIB_USEDEP}] ) - pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] ) - sndio? ( media-sound/sndio:=[${MULTILIB_USEDEP}] ) - udev? ( >=virtual/libudev-208:=[${MULTILIB_USEDEP}] ) - wayland? ( - >=dev-libs/wayland-1.0.6[${MULTILIB_USEDEP}] - >=media-libs/mesa-9.1.6[${MULTILIB_USEDEP},egl(+),gles2,wayland] - >=x11-libs/libxkbcommon-0.2.0[${MULTILIB_USEDEP}] - ) - X? ( - >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] - >=x11-libs/libXcursor-1.1.14[${MULTILIB_USEDEP}] - >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] - >=x11-libs/libXi-1.7.2[${MULTILIB_USEDEP}] - >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}] - >=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}] - xinerama? ( >=x11-libs/libXinerama-1.1.3[${MULTILIB_USEDEP}] ) - xscreensaver? ( >=x11-libs/libXScrnSaver-1.2.2-r1[${MULTILIB_USEDEP}] ) - )" -RDEPEND="${CDEPEND} - vulkan? ( media-libs/vulkan-loader )" -DEPEND="${CDEPEND} - ibus? ( dev-libs/glib:2[${MULTILIB_USEDEP}] ) - vulkan? ( dev-util/vulkan-headers ) - X? ( x11-base/xorg-proto ) -" -BDEPEND=" - virtual/pkgconfig - doc? ( - app-doc/doxygen - media-gfx/graphviz - ) -" - -MULTILIB_WRAPPED_HEADERS=( - /usr/include/SDL2/SDL_config.h - /usr/include/SDL2/SDL_platform.h - /usr/include/SDL2/begin_code.h - /usr/include/SDL2/close_code.h -) - -PATCHES=( - "${FILESDIR}"/${PN}-2.0.16-static-libs.patch -) - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - default - - # Unbundle some headers. - rm -r src/video/khronos || die - ln -s "${ESYSROOT}/usr/include" src/video/khronos || die - - # SDL seems to customize SDL_config.h.in to remove macros like - # PACKAGE_NAME. Add AT_NOEAUTOHEADER="yes" to prevent those macros from - # being reintroduced. - # https://bugs.gentoo.org/764959 - AT_NOEAUTOHEADER="yes" AT_M4DIR="/usr/share/aclocal acinclude" \ - eautoreconf -} - -multilib_src_configure() { - use custom-cflags || strip-flags - - if use ibus; then - local -x IBUS_CFLAGS="-I${ESYSROOT}/usr/include/ibus-1.0 -I${ESYSROOT}/usr/include/glib-2.0 -I${ESYSROOT}/usr/$(get_libdir)/glib-2.0/include" - fi - - # sorted by `./configure --help` - local myeconfargs=( - $(use_enable static-libs static) - --enable-atomic - $(use_enable sound audio) - $(use_enable video) - --enable-render - --enable-events - $(use_enable joystick) - $(use_enable haptic) - --enable-power - --enable-filesystem - $(use_enable threads) - --enable-timers - --enable-file - --enable-loadso - --enable-cpuinfo - --enable-assembly - $(use_enable cpu_flags_ppc_altivec altivec) - $(use_enable cpu_flags_x86_sse ssemath) - $(use_enable cpu_flags_x86_mmx mmx) - $(use_enable cpu_flags_x86_3dnow 3dnow) - $(use_enable cpu_flags_x86_sse sse) - $(use_enable cpu_flags_x86_sse2 sse2) - $(use_enable oss) - $(use_enable alsa) - --disable-alsa-shared - $(use_enable jack) - --disable-jack-shared - --disable-esd - $(use_enable pipewire) - --disable-pipewire-shared - $(use_enable pulseaudio) - --disable-pulseaudio-shared - --disable-arts - $(use_enable libsamplerate) - $(use_enable nas) - --disable-nas-shared - $(use_enable sndio) - --disable-sndio-shared - $(use_enable sound diskaudio) - $(use_enable sound dummyaudio) - $(use_enable wayland video-wayland) - --disable-wayland-shared - $(use_enable video_cards_vc4 video-rpi) - $(use_enable X video-x11) - --disable-x11-shared - $(use_enable X video-x11-xcursor) - $(use_enable X video-x11-xdbe) - $(use_enable xinerama video-x11-xinerama) - $(use_enable X video-x11-xinput) - $(use_enable X video-x11-xrandr) - $(use_enable xscreensaver video-x11-scrnsaver) - $(use_enable X video-x11-xshape) - $(use_enable X video-x11-vm) - $(use_enable aqua video-cocoa) - --disable-video-directfb - --disable-fusionsound - --disable-fusionsound-shared - $(use_enable kms video-kmsdrm) - --disable-kmsdrm-shared - $(use_enable video video-dummy) - $(use_enable opengl video-opengl) - $(use_enable gles1 video-opengles1) - $(use_enable gles2 video-opengles2) - $(use_enable vulkan video-vulkan) - $(use_enable udev libudev) - $(use_enable dbus) - $(use_enable fcitx4 fcitx) - $(use_enable ibus) - --disable-directx - --disable-rpath - --disable-render-d3d - $(use_with X x) - ) - - ECONF_SOURCE="${S}" \ - econf "${myeconfargs[@]}" -} - -multilib_src_compile() { - emake V=1 -} - -src_compile() { - multilib-minimal_src_compile - - if use doc; then - cd docs || die - doxygen || die - fi -} - -multilib_src_install() { - emake DESTDIR="${D}" install -} - -multilib_src_install_all() { - # Do not delete the static .a libraries here as some are - # mandatory. They may be needed even when linking dynamically. - find "${ED}" -type f -name "*.la" -delete || die - - dodoc {BUGS,CREDITS,README-SDL,TODO,WhatsNew}.txt README.md docs/README*.md - doman debian/sdl2-config.1 - use doc && dodoc -r docs/output/html/ -} -- cgit v1.2.3-65-gdbad From b85f0b6e93f0992b51ca729c1ff0494516104ae3 Mon Sep 17 00:00:00 2001 From: "Volkmar W. Pogatzki" Date: Sat, 22 Jan 2022 20:17:22 +0100 Subject: dev-java/commons-imaging: bump to 1.0_alpha2 Bug: https://bugs.gentoo.org/739352 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Volkmar W. Pogatzki Signed-off-by: Florian Schmaus --- dev-java/commons-imaging/Manifest | 1 + .../commons-imaging-1.0_alpha2.ebuild | 41 ++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 dev-java/commons-imaging/commons-imaging-1.0_alpha2.ebuild diff --git a/dev-java/commons-imaging/Manifest b/dev-java/commons-imaging/Manifest index 13bebfeb5b85..45b19bed2419 100644 --- a/dev-java/commons-imaging/Manifest +++ b/dev-java/commons-imaging/Manifest @@ -1 +1,2 @@ DIST apache-sanselan-incubating-0.97-src.tar.gz 33317875 BLAKE2B c9db6c30accc308d2c5d5977b84da118ab50b010b3728665a75dab13f9fecb70075e2d2208a62fabc57af7396f7c39b1ec498e0840e5a2c9c8de9b95d2dd597a SHA512 b7e8af01f4b4ca812313bbf573758d9c0e1355266bfb83898336b14c4b492a8979f2a593f00d53c076e83cf807a049df624491a26623cfbceb00560b748f05f2 +DIST commons-imaging-1.0-alpha2-src.tar.gz 39798631 BLAKE2B 01d0754689896a1f2ff1401cac7d9f59a6bbb245c0880f24f857efc53975c1203c6857d7a5d107763741a2dec7fb48c4faa258786f574cf2f3c5acca251e368b SHA512 f2479e0dc726a8d1193f4eef6289efe493cfbbe257054b5a13e929f5785f7a2c9c937e3f379e0f0066c591d18be27d12f1e5157e789eebab78fba489cc81e688 diff --git a/dev-java/commons-imaging/commons-imaging-1.0_alpha2.ebuild b/dev-java/commons-imaging/commons-imaging-1.0_alpha2.ebuild new file mode 100644 index 000000000000..9ec64af99b77 --- /dev/null +++ b/dev-java/commons-imaging/commons-imaging-1.0_alpha2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri mirror://apache/commons/imaging/source/commons-imaging-1.0-alpha2-src.tar.gz --slot 0 --keywords "~amd64 ~x86" --ebuild commons-imaging-1.0_alpha2.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="org.apache.commons:commons-imaging:1.0-alpha2" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Apache Commons Imaging (previously Sanselan) is a pure-Java image library." +HOMEPAGE="https://commons.apache.org/proper/commons-imaging/" +SRC_URI="mirror://apache/commons/imaging/source/commons-imaging-${PV/_/-}-src.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# Compile dependencies +# POM: pom.xml +# test? commons-io:commons-io:2.7 -> >=dev-java/commons-io-2.11.0:1 +# test? org.hamcrest:hamcrest:2.2 -> !!!artifactId-not-found!!! +# test? org.junit.jupiter:junit-jupiter:5.6.2 -> !!!groupId-not-found!!! + +DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=virtual/jre-1.8:*" + +DOCS=( {LICENSE,NOTICE,RELEASE-NOTES}.txt README.md ) + +S="${WORKDIR}/${P/_/-}-src" + +JAVA_SRC_DIR="src/main/java" +JAVA_RESOURCE_DIRS="src/main/resources" + +src_install() { + default # https://bugs.gentoo.org/789582 + java-pkg-simple_src_install +} -- cgit v1.2.3-65-gdbad From b28ee9959f571130fe9530d423fd8eff3055aede Mon Sep 17 00:00:00 2001 From: "Volkmar W. Pogatzki" Date: Sat, 22 Jan 2022 20:19:14 +0100 Subject: dev-java/commons-imaging: Drop 0.97 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Volkmar W. Pogatzki Closes: https://github.com/gentoo/gentoo/pull/23917 Signed-off-by: Florian Schmaus --- dev-java/commons-imaging/Manifest | 1 - .../commons-imaging/commons-imaging-0.97.ebuild | 49 ---------------------- 2 files changed, 50 deletions(-) delete mode 100644 dev-java/commons-imaging/commons-imaging-0.97.ebuild diff --git a/dev-java/commons-imaging/Manifest b/dev-java/commons-imaging/Manifest index 45b19bed2419..636f8ef3213e 100644 --- a/dev-java/commons-imaging/Manifest +++ b/dev-java/commons-imaging/Manifest @@ -1,2 +1 @@ -DIST apache-sanselan-incubating-0.97-src.tar.gz 33317875 BLAKE2B c9db6c30accc308d2c5d5977b84da118ab50b010b3728665a75dab13f9fecb70075e2d2208a62fabc57af7396f7c39b1ec498e0840e5a2c9c8de9b95d2dd597a SHA512 b7e8af01f4b4ca812313bbf573758d9c0e1355266bfb83898336b14c4b492a8979f2a593f00d53c076e83cf807a049df624491a26623cfbceb00560b748f05f2 DIST commons-imaging-1.0-alpha2-src.tar.gz 39798631 BLAKE2B 01d0754689896a1f2ff1401cac7d9f59a6bbb245c0880f24f857efc53975c1203c6857d7a5d107763741a2dec7fb48c4faa258786f574cf2f3c5acca251e368b SHA512 f2479e0dc726a8d1193f4eef6289efe493cfbbe257054b5a13e929f5785f7a2c9c937e3f379e0f0066c591d18be27d12f1e5157e789eebab78fba489cc81e688 diff --git a/dev-java/commons-imaging/commons-imaging-0.97.ebuild b/dev-java/commons-imaging/commons-imaging-0.97.ebuild deleted file mode 100644 index f8c2ba3f2ef3..000000000000 --- a/dev-java/commons-imaging/commons-imaging-0.97.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="A minimalistic realtime charting library for Java" -HOMEPAGE="https://commons.apache.org/proper/commons-imaging" -SRC_URI="mirror://apache/commons/sanselan/source/apache-sanselan-incubating-${PV}-src.tar.gz" -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="test" # 5/48 failures, dunno why :( - -RDEPEND=">=virtual/jre-1.6" - -DEPEND=">=virtual/jdk-1.6 - test? ( dev-java/junit:4 )" - -S="${WORKDIR}/sanselan-${PV}-incubator" -JAVA_ENCODING="ISO-8859-1" -JAVA_SRC_DIR="src/main/java" - -java_prepare() { - # Tsk, Windows developers… - find src/test/java -name "*.java" -exec sed -i 's:\\:/:g' {} + || die -} - -src_install() { - java-pkg-simple_src_install - dodoc README.txt RELEASE_NOTES -} - -src_test() { - local DIR="src/test/java" - local CP="${DIR}:${PN}.jar:$(java-pkg_getjars junit-4)" - - local TESTS=$(find "${DIR}" -name "*Test.java" ! -name "*BaseTest.java" ! -name SanselanTest.java ! -name ByteSourceTest.java) - TESTS="${TESTS//src\/test\/java\/}" - TESTS="${TESTS//.java}" - TESTS="${TESTS//\//.}" - - ejavac -cp "${CP}" -d "${DIR}" $(find "${DIR}" -name "*.java") - ejunit4 -classpath "${CP}" ${TESTS} -} -- cgit v1.2.3-65-gdbad From 8b4a071988327376906b75eacf24ebcbbbb507f0 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sun, 23 Jan 2022 10:37:57 +0100 Subject: dev-python/warlock: Remove coverage flags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/831860 Signed-off-by: Michał Górny --- dev-python/warlock/warlock-1.3.3-r2.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev-python/warlock/warlock-1.3.3-r2.ebuild b/dev-python/warlock/warlock-1.3.3-r2.ebuild index 135f317e5036..00daf64b32b9 100644 --- a/dev-python/warlock/warlock-1.3.3-r2.ebuild +++ b/dev-python/warlock/warlock-1.3.3-r2.ebuild @@ -29,3 +29,8 @@ EPYTEST_DESELECT=( # (its only dep) does not seem to be affected tests/test_core.py::TestCore::test_recursive_models ) + +src_prepare() { + sed -i -e '/--cov/d' pytest.ini || die + distutils-r1_src_prepare +} -- cgit v1.2.3-65-gdbad