Sync with portage [Tue Mar 29 10:44:27 MSK 2022].
This commit is contained in:
parent
cdbefe789e
commit
fdbc836bde
1673 changed files with 9095 additions and 3783 deletions
Binary file not shown.
Binary file not shown.
|
@ -4,3 +4,4 @@ DIST spectre-meltdown-checker-0.41.tar.gz 56170 BLAKE2B 07ec1a56dd13c15463696d13
|
|||
DIST spectre-meltdown-checker-0.42.tar.gz 57491 BLAKE2B b13fdf74e0b63db1dd1aaa6bc154ab2717ee4a3ca601d7c6fb18578e42d03545010fe74cb72fe17ccc8c2ff949d47af49704cd8bd7431b5ec3cf1d7fbd288d49 SHA512 721e9287ce367648e367850b94866a6465b92561a0c2f1699599ef333921fda988979db02004b2c83ec9c808f625f793d43eacdd84d44a9d1eba59b2b300174c
|
||||
DIST spectre-meltdown-checker-0.43.tar.gz 51651 BLAKE2B f94ad2d144709511738a0149ed133da1e46a57546eaf0a702e1713c66529155b6fe3772911099bd0228fb295a04cacbe4ea39998555c139cddb1bb4b2beff1fc SHA512 68ca476025e5862466ca5e12e6950a538b84f36e08dfb0650ab6d13b6e94762dda8a49d9f5e20d0ee585103199ed0ddaa9dcf7cd72378156a7e1e6c87f70afda
|
||||
DIST spectre-meltdown-checker-0.44.tar.gz 54325 BLAKE2B 120c7a6fd9e4df27daf605f8c9d62fb999f164578c02499651d19e48ca9af88fbc09338f85b6e05a2b139ac7d83193768f337651e276af7099fdee22bf1c5354 SHA512 05ac99cee08cd52f8ec2c8066fe9bb090310eed9b668008d0a58ffc4ecc0df72a5bf198492dd3c19f9b85e31102a9ca7aab2e4a9a93c7f5f0ea447053e664804
|
||||
DIST spectre-meltdown-checker-0.45.tar.gz 64268 BLAKE2B 14d49f40458167ab9af04cc31c9a0b9f8cb5f1e9417f5ac0bab0290be01cf14a737c716d8d28873fee1870535c0b36a56dac2d39f2cc7a000d27f0643a94cff7 SHA512 8662417f94066ae25d44a32e3db99788417c799b89ef8dd452b05ea38a8a2746eaf83e4577633732b175dfa9fc2649d131e10506a9cb1ce29c932166cae9b8e7
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/speed47/spectre-meltdown-checker.git"
|
||||
else
|
||||
SRC_URI="https://github.com/speed47/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Spectre & Meltdown vulnerability/mitigation checker for Linux"
|
||||
HOMEPAGE="https://github.com/speed47/spectre-meltdown-checker"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
|
||||
src_install() {
|
||||
default
|
||||
newbin spectre-meltdown-checker.sh spectre-meltdown-checker
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
|
|
Binary file not shown.
|
@ -0,0 +1,61 @@
|
|||
https://gitlab.com/qemu/qemu/-/commit/7b223e38603de3a75602e14914d26f9d4baf52eb.patch
|
||||
https://bugs.gentoo.org/836300
|
||||
|
||||
From 7b223e38603de3a75602e14914d26f9d4baf52eb Mon Sep 17 00:00:00 2001
|
||||
From: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|
||||
Date: Wed, 9 Feb 2022 12:14:56 +0100
|
||||
Subject: [PATCH] tools/virtiofsd: Add rseq syscall to the seccomp allowlist
|
||||
|
||||
The virtiofsd currently crashes when used with glibc 2.35.
|
||||
That is due to the rseq system call being added to every thread
|
||||
creation [1][2].
|
||||
|
||||
[1]: https://www.efficios.com/blog/2019/02/08/linux-restartable-sequences/
|
||||
[2]: https://sourceware.org/pipermail/libc-alpha/2022-February/136040.html
|
||||
|
||||
This happens not at daemon start, but when a guest connects
|
||||
|
||||
/usr/lib/qemu/virtiofsd -f --socket-path=/tmp/testvfsd -o sandbox=chroot \
|
||||
-o source=/var/guests/j-virtiofs --socket-group=kvm
|
||||
virtio_session_mount: Waiting for vhost-user socket connection...
|
||||
# start ok, now guest will connect
|
||||
virtio_session_mount: Received vhost-user socket connection
|
||||
virtio_loop: Entry
|
||||
fv_queue_set_started: qidx=0 started=1
|
||||
fv_queue_set_started: qidx=1 started=1
|
||||
Bad system call (core dumped)
|
||||
|
||||
We have to put rseq on the seccomp allowlist to avoid that the daemon
|
||||
is crashing in this case.
|
||||
|
||||
Reported-by: Michael Hudson-Doyle <michael.hudson@canonical.com>
|
||||
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|
||||
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
|
||||
Message-id: 20220209111456.3328420-1-christian.ehrhardt@canonical.com
|
||||
|
||||
[Moved rseq to its alphabetically ordered position in the seccomp
|
||||
allowlist.
|
||||
--Stefan]
|
||||
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
|
||||
---
|
||||
tools/virtiofsd/passthrough_seccomp.c | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/tools/virtiofsd/passthrough_seccomp.c b/tools/virtiofsd/passthrough_seccomp.c
|
||||
index a3ce9f898d..2bc0127b69 100644
|
||||
--- a/tools/virtiofsd/passthrough_seccomp.c
|
||||
+++ b/tools/virtiofsd/passthrough_seccomp.c
|
||||
@@ -91,6 +91,9 @@ static const int syscall_allowlist[] = {
|
||||
SCMP_SYS(renameat2),
|
||||
SCMP_SYS(removexattr),
|
||||
SCMP_SYS(restart_syscall),
|
||||
+#ifdef __NR_rseq
|
||||
+ SCMP_SYS(rseq), /* required since glibc 2.35 */
|
||||
+#endif
|
||||
SCMP_SYS(rt_sigaction),
|
||||
SCMP_SYS(rt_sigprocmask),
|
||||
SCMP_SYS(rt_sigreturn),
|
||||
--
|
||||
GitLab
|
||||
|
||||
|
925
app-emulation/qemu/qemu-6.2.0-r4.ebuild
Normal file
925
app-emulation/qemu/qemu-6.2.0-r4.ebuild
Normal file
|
@ -0,0 +1,925 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8,9,10} )
|
||||
PYTHON_REQ_USE="ncurses,readline"
|
||||
|
||||
FIRMWARE_ABI_VERSION="6.2.0"
|
||||
|
||||
inherit linux-info toolchain-funcs python-r1 udev fcaps readme.gentoo-r1 \
|
||||
pax-utils xdg-utils
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="https://git.qemu.org/git/qemu.git"
|
||||
EGIT_SUBMODULES=(
|
||||
meson
|
||||
tests/fp/berkeley-softfloat-3
|
||||
tests/fp/berkeley-testfloat-3
|
||||
ui/keycodemapdb
|
||||
)
|
||||
inherit git-r3
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="https://download.qemu.org/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
|
||||
HOMEPAGE="https://www.qemu.org https://www.linux-kvm.org"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2 BSD-2"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="accessibility +aio alsa bpf bzip2 capstone +caps +curl debug +doc
|
||||
+fdt fuse glusterfs +gnutls gtk infiniband iscsi io-uring
|
||||
jack jemalloc +jpeg
|
||||
lzo multipath
|
||||
ncurses nfs nls numa opengl +oss pam +pin-upstream-blobs
|
||||
plugins +png pulseaudio python rbd sasl +seccomp sdl sdl-image selinux
|
||||
+slirp
|
||||
smartcard snappy spice ssh static static-user systemtap test udev usb
|
||||
usbredir vde +vhost-net vhost-user-fs virgl virtfs +vnc vte xattr xen
|
||||
xfs zstd"
|
||||
|
||||
COMMON_TARGETS="
|
||||
aarch64
|
||||
alpha
|
||||
arm
|
||||
cris
|
||||
hppa
|
||||
i386
|
||||
m68k
|
||||
microblaze
|
||||
microblazeel
|
||||
mips
|
||||
mips64
|
||||
mips64el
|
||||
mipsel
|
||||
nios2
|
||||
or1k
|
||||
ppc
|
||||
ppc64
|
||||
riscv32
|
||||
riscv64
|
||||
s390x
|
||||
sh4
|
||||
sh4eb
|
||||
sparc
|
||||
sparc64
|
||||
x86_64
|
||||
xtensa
|
||||
xtensaeb
|
||||
"
|
||||
IUSE_SOFTMMU_TARGETS="
|
||||
${COMMON_TARGETS}
|
||||
avr
|
||||
rx
|
||||
tricore
|
||||
"
|
||||
IUSE_USER_TARGETS="
|
||||
${COMMON_TARGETS}
|
||||
aarch64_be
|
||||
armeb
|
||||
hexagon
|
||||
mipsn32
|
||||
mipsn32el
|
||||
ppc64abi32
|
||||
ppc64le
|
||||
sparc32plus
|
||||
"
|
||||
|
||||
use_softmmu_targets=$(printf ' qemu_softmmu_targets_%s' ${IUSE_SOFTMMU_TARGETS})
|
||||
use_user_targets=$(printf ' qemu_user_targets_%s' ${IUSE_USER_TARGETS})
|
||||
IUSE+=" ${use_softmmu_targets} ${use_user_targets}"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
# Allow no targets to be built so that people can get a tools-only build.
|
||||
# Block USE flag configurations known to not work.
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
||||
qemu_softmmu_targets_arm? ( fdt )
|
||||
qemu_softmmu_targets_microblaze? ( fdt )
|
||||
qemu_softmmu_targets_mips64el? ( fdt )
|
||||
qemu_softmmu_targets_ppc64? ( fdt )
|
||||
qemu_softmmu_targets_ppc? ( fdt )
|
||||
qemu_softmmu_targets_riscv32? ( fdt )
|
||||
qemu_softmmu_targets_riscv64? ( fdt )
|
||||
qemu_softmmu_targets_x86_64? ( fdt )
|
||||
sdl-image? ( sdl )
|
||||
static? ( static-user !alsa !gtk !jack !opengl !pam !pulseaudio !plugins !rbd !snappy !udev )
|
||||
static-user? ( !plugins )
|
||||
vhost-user-fs? ( caps seccomp )
|
||||
virgl? ( opengl )
|
||||
virtfs? ( caps xattr )
|
||||
vnc? ( gnutls )
|
||||
vte? ( gtk )
|
||||
multipath? ( udev )
|
||||
plugins? ( !static !static-user )
|
||||
"
|
||||
|
||||
# Dependencies required for qemu tools (qemu-nbd, qemu-img, qemu-io, ...)
|
||||
# and user/softmmu targets (qemu-*, qemu-system-*).
|
||||
#
|
||||
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
|
||||
#
|
||||
# The attr lib isn't always linked in (although the USE flag is always
|
||||
# respected). This is because qemu supports using the C library's API
|
||||
# when available rather than always using the external library.
|
||||
ALL_DEPEND="
|
||||
>=dev-libs/glib-2.0[static-libs(+)]
|
||||
sys-libs/zlib[static-libs(+)]
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
xattr? ( sys-apps/attr[static-libs(+)] )"
|
||||
|
||||
# Dependencies required for qemu tools (qemu-nbd, qemu-img, qemu-io, ...)
|
||||
# softmmu targets (qemu-system-*).
|
||||
SOFTMMU_TOOLS_DEPEND="
|
||||
dev-libs/libxml2[static-libs(+)]
|
||||
>=x11-libs/pixman-0.28.0[static-libs(+)]
|
||||
accessibility? (
|
||||
app-accessibility/brltty[api]
|
||||
app-accessibility/brltty[static-libs(+)]
|
||||
)
|
||||
aio? ( dev-libs/libaio[static-libs(+)] )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bpf? ( dev-libs/libbpf:= )
|
||||
bzip2? ( app-arch/bzip2[static-libs(+)] )
|
||||
capstone? ( dev-libs/capstone:= )
|
||||
caps? ( sys-libs/libcap-ng[static-libs(+)] )
|
||||
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
|
||||
fdt? ( >=sys-apps/dtc-1.5.0[static-libs(+)] )
|
||||
fuse? ( >=sys-fs/fuse-3.1:3[static-libs(+)] )
|
||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] )
|
||||
gnutls? (
|
||||
dev-libs/nettle:=[static-libs(+)]
|
||||
>=net-libs/gnutls-3.0:=[static-libs(+)]
|
||||
)
|
||||
gtk? (
|
||||
x11-libs/gtk+:3
|
||||
vte? ( x11-libs/vte:2.91 )
|
||||
)
|
||||
infiniband? ( sys-cluster/rdma-core[static-libs(+)] )
|
||||
iscsi? ( net-libs/libiscsi )
|
||||
io-uring? ( sys-libs/liburing:=[static-libs(+)] )
|
||||
jack? ( virtual/jack )
|
||||
jemalloc? ( dev-libs/jemalloc )
|
||||
jpeg? ( virtual/jpeg:0=[static-libs(+)] )
|
||||
lzo? ( dev-libs/lzo:2[static-libs(+)] )
|
||||
multipath? ( sys-fs/multipath-tools )
|
||||
ncurses? (
|
||||
sys-libs/ncurses:=[unicode(+)]
|
||||
sys-libs/ncurses:=[static-libs(+)]
|
||||
)
|
||||
nfs? ( >=net-fs/libnfs-1.9.3:=[static-libs(+)] )
|
||||
numa? ( sys-process/numactl[static-libs(+)] )
|
||||
opengl? (
|
||||
virtual/opengl
|
||||
media-libs/libepoxy[static-libs(+)]
|
||||
media-libs/mesa[static-libs(+)]
|
||||
media-libs/mesa[egl(+),gbm(+)]
|
||||
)
|
||||
pam? ( sys-libs/pam )
|
||||
png? ( media-libs/libpng:0=[static-libs(+)] )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
|
||||
sdl? (
|
||||
media-libs/libsdl2[video]
|
||||
media-libs/libsdl2[static-libs(+)]
|
||||
)
|
||||
sdl-image? ( media-libs/sdl2-image[static-libs(+)] )
|
||||
seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
|
||||
slirp? ( net-libs/libslirp[static-libs(+)] )
|
||||
smartcard? ( >=app-emulation/libcacard-2.5.0[static-libs(+)] )
|
||||
snappy? ( app-arch/snappy:= )
|
||||
spice? (
|
||||
>=app-emulation/spice-protocol-0.12.3
|
||||
>=app-emulation/spice-0.12.0[static-libs(+)]
|
||||
)
|
||||
ssh? ( >=net-libs/libssh-0.8.6[static-libs(+)] )
|
||||
udev? ( virtual/libudev:= )
|
||||
usb? ( >=virtual/libusb-1-r2[static-libs(+)] )
|
||||
usbredir? ( >=sys-apps/usbredir-0.6[static-libs(+)] )
|
||||
vde? ( net-misc/vde[static-libs(+)] )
|
||||
virgl? ( media-libs/virglrenderer[static-libs(+)] )
|
||||
virtfs? ( sys-libs/libcap )
|
||||
xen? ( app-emulation/xen-tools:= )
|
||||
xfs? ( sys-fs/xfsprogs[static-libs(+)] )
|
||||
zstd? ( >=app-arch/zstd-1.4.0[static-libs(+)] )
|
||||
"
|
||||
|
||||
EDK2_OVMF_VERSION="202105"
|
||||
SEABIOS_VERSION="1.14.0"
|
||||
|
||||
X86_FIRMWARE_DEPEND="
|
||||
pin-upstream-blobs? (
|
||||
~sys-firmware/edk2-ovmf-${EDK2_OVMF_VERSION}[binary]
|
||||
~sys-firmware/ipxe-1.21.1[binary,qemu]
|
||||
~sys-firmware/seabios-${SEABIOS_VERSION}[binary,seavgabios]
|
||||
~sys-firmware/sgabios-0.1_pre10[binary]
|
||||
)
|
||||
!pin-upstream-blobs? (
|
||||
>=sys-firmware/edk2-ovmf-${EDK2_OVMF_VERSION}
|
||||
sys-firmware/ipxe[qemu]
|
||||
>=sys-firmware/seabios-${SEABIOS_VERSION}[seavgabios]
|
||||
sys-firmware/sgabios
|
||||
)"
|
||||
PPC_FIRMWARE_DEPEND="
|
||||
pin-upstream-blobs? (
|
||||
~sys-firmware/seabios-${SEABIOS_VERSION}[binary,seavgabios]
|
||||
)
|
||||
!pin-upstream-blobs? (
|
||||
>=sys-firmware/seabios-${SEABIOS_VERSION}[seavgabios]
|
||||
)
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
$(python_gen_impl_dep)
|
||||
dev-lang/perl
|
||||
sys-apps/texinfo
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
|
||||
)
|
||||
gtk? ( nls? ( sys-devel/gettext ) )
|
||||
test? (
|
||||
dev-libs/glib[utils]
|
||||
sys-devel/bc
|
||||
)
|
||||
"
|
||||
CDEPEND="
|
||||
!static? (
|
||||
${ALL_DEPEND//\[static-libs(+)]}
|
||||
${SOFTMMU_TOOLS_DEPEND//\[static-libs(+)]}
|
||||
)
|
||||
qemu_softmmu_targets_i386? ( ${X86_FIRMWARE_DEPEND} )
|
||||
qemu_softmmu_targets_x86_64? ( ${X86_FIRMWARE_DEPEND} )
|
||||
qemu_softmmu_targets_ppc? ( ${PPC_FIRMWARE_DEPEND} )
|
||||
qemu_softmmu_targets_ppc64? ( ${PPC_FIRMWARE_DEPEND} )
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
|
||||
static? (
|
||||
${ALL_DEPEND}
|
||||
${SOFTMMU_TOOLS_DEPEND}
|
||||
)
|
||||
static-user? ( ${ALL_DEPEND} )"
|
||||
RDEPEND="${CDEPEND}
|
||||
acct-group/kvm
|
||||
selinux? (
|
||||
sec-policy/selinux-qemu
|
||||
sys-libs/libselinux
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.11.1-capstone_include_path.patch
|
||||
"${FILESDIR}"/${PN}-5.2.0-disable-keymap.patch
|
||||
"${FILESDIR}"/${PN}-6.0.0-make.patch
|
||||
"${FILESDIR}"/${PN}-6.1.0-strings.patch
|
||||
"${FILESDIR}"/${PN}-6.2.0-user-SLIC-crash.patch
|
||||
"${FILESDIR}"/${PN}-6.2.0-also-build-virtfs-proxy-helper.patch
|
||||
"${FILESDIR}"/${PN}-6.2.0-glibc-2.35-rseq-seccomp-virtiofsd.patch
|
||||
)
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/share/qemu/hppa-firmware.img
|
||||
usr/share/qemu/openbios-ppc
|
||||
usr/share/qemu/openbios-sparc64
|
||||
usr/share/qemu/openbios-sparc32
|
||||
usr/share/qemu/opensbi-riscv64-generic-fw_dynamic.elf
|
||||
usr/share/qemu/opensbi-riscv32-generic-fw_dynamic.elf
|
||||
usr/share/qemu/palcode-clipper
|
||||
usr/share/qemu/s390-ccw.img
|
||||
usr/share/qemu/s390-netboot.img
|
||||
usr/share/qemu/u-boot.e500
|
||||
"
|
||||
|
||||
QA_WX_LOAD="usr/bin/qemu-i386
|
||||
usr/bin/qemu-x86_64
|
||||
usr/bin/qemu-alpha
|
||||
usr/bin/qemu-arm
|
||||
usr/bin/qemu-cris
|
||||
usr/bin/qemu-m68k
|
||||
usr/bin/qemu-microblaze
|
||||
usr/bin/qemu-microblazeel
|
||||
usr/bin/qemu-mips
|
||||
usr/bin/qemu-mipsel
|
||||
usr/bin/qemu-or1k
|
||||
usr/bin/qemu-ppc
|
||||
usr/bin/qemu-ppc64
|
||||
usr/bin/qemu-ppc64abi32
|
||||
usr/bin/qemu-sh4
|
||||
usr/bin/qemu-sh4eb
|
||||
usr/bin/qemu-sparc
|
||||
usr/bin/qemu-sparc64
|
||||
usr/bin/qemu-armeb
|
||||
usr/bin/qemu-sparc32plus
|
||||
usr/bin/qemu-s390x
|
||||
usr/bin/qemu-unicore32
|
||||
"
|
||||
|
||||
DOC_CONTENTS="If you don't have kvm compiled into the kernel, make sure you have the
|
||||
kernel module loaded before running kvm. The easiest way to ensure that the
|
||||
kernel module is loaded is to load it on boot.
|
||||
For AMD CPUs the module is called 'kvm-amd'.
|
||||
For Intel CPUs the module is called 'kvm-intel'.
|
||||
Please review /etc/conf.d/modules for how to load these.
|
||||
|
||||
Make sure your user is in the 'kvm' group. Just run
|
||||
$ gpasswd -a <USER> kvm
|
||||
then have <USER> re-login.
|
||||
|
||||
For brand new installs, the default permissions on /dev/kvm might not let
|
||||
you access it. You can tell udev to reset ownership/perms:
|
||||
$ udevadm trigger -c add /dev/kvm
|
||||
|
||||
If you want to register binfmt handlers for qemu user targets:
|
||||
For openrc:
|
||||
# rc-update add qemu-binfmt
|
||||
For systemd:
|
||||
# ln -s /usr/share/qemu/binfmt.d/qemu.conf /etc/binfmt.d/qemu.conf"
|
||||
|
||||
pkg_pretend() {
|
||||
if use kernel_linux && kernel_is lt 2 6 25; then
|
||||
eerror "This version of KVM requires a host kernel of 2.6.25 or higher."
|
||||
elif use kernel_linux; then
|
||||
if ! linux_config_exists; then
|
||||
eerror "Unable to check your kernel for KVM support"
|
||||
else
|
||||
CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
|
||||
ERROR_KVM="You must enable KVM in your kernel to continue"
|
||||
ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
|
||||
ERROR_KVM_AMD+=" your kernel configuration."
|
||||
ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
|
||||
ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
|
||||
ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
|
||||
ERROR_TUN+=" into your kernel or loaded as a module to use the"
|
||||
ERROR_TUN+=" virtual network device if using -net tap."
|
||||
ERROR_BRIDGE="You will also need support for 802.1d"
|
||||
ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
|
||||
use vhost-net && CONFIG_CHECK+=" ~VHOST_NET"
|
||||
ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
|
||||
ERROR_VHOST_NET+=" support"
|
||||
|
||||
if use amd64 || use x86 || use amd64-linux || use x86-linux; then
|
||||
if grep -q AuthenticAMD /proc/cpuinfo; then
|
||||
CONFIG_CHECK+=" ~KVM_AMD"
|
||||
elif grep -q GenuineIntel /proc/cpuinfo; then
|
||||
CONFIG_CHECK+=" ~KVM_INTEL"
|
||||
fi
|
||||
fi
|
||||
|
||||
use python && CONFIG_CHECK+=" ~DEBUG_FS"
|
||||
ERROR_DEBUG_FS="debugFS support required for kvm_stat"
|
||||
|
||||
# Now do the actual checks setup above
|
||||
check_extra_config
|
||||
fi
|
||||
fi
|
||||
|
||||
if grep -qs '/usr/bin/qemu-kvm' "${EROOT}"/etc/libvirt/qemu/*.xml; then
|
||||
eerror "The kvm/qemu-kvm wrappers no longer exist, but your libvirt"
|
||||
eerror "instances are still pointing to it. Please update your"
|
||||
eerror "configs in /etc/libvirt/qemu/ to use the -enable-kvm flag"
|
||||
eerror "and the right system binary (e.g. qemu-system-x86_64)."
|
||||
die "update your virt configs to not use qemu-kvm"
|
||||
fi
|
||||
}
|
||||
|
||||
# Sanity check to make sure target lists are kept up-to-date.
|
||||
check_targets() {
|
||||
local var=$1 mak=$2
|
||||
local detected sorted
|
||||
|
||||
pushd "${S}"/configs/targets/ >/dev/null || die
|
||||
|
||||
# Force C locale until glibc is updated. #564936
|
||||
detected=$(echo $(printf '%s\n' *-${mak}.mak | sed "s:-${mak}.mak::" | LC_COLLATE=C sort -u))
|
||||
sorted=$(echo $(printf '%s\n' ${!var} | LC_COLLATE=C sort -u))
|
||||
if [[ ${sorted} != "${detected}" ]] ; then
|
||||
eerror "The ebuild needs to be kept in sync."
|
||||
eerror "${var}: ${sorted}"
|
||||
eerror "$(printf '%-*s' ${#var} configure): ${detected}"
|
||||
die "sync ${var} to the list of targets"
|
||||
fi
|
||||
|
||||
popd >/dev/null
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
check_targets IUSE_SOFTMMU_TARGETS softmmu
|
||||
check_targets IUSE_USER_TARGETS linux-user
|
||||
|
||||
default
|
||||
|
||||
# Use correct toolchain to fix cross-compiling
|
||||
tc-export AR AS LD NM OBJCOPY PKG_CONFIG RANLIB STRINGS
|
||||
export WINDRES=${CHOST}-windres
|
||||
|
||||
# Verbose builds
|
||||
MAKEOPTS+=" V=1"
|
||||
|
||||
# Remove bundled copy of libfdt
|
||||
rm -r dtc || die
|
||||
}
|
||||
|
||||
##
|
||||
# configures qemu based on the build directory and the build type
|
||||
# we are using.
|
||||
#
|
||||
qemu_src_configure() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
local buildtype=$1
|
||||
local builddir="${S}/${buildtype}-build"
|
||||
|
||||
mkdir "${builddir}"
|
||||
|
||||
local conf_opts=(
|
||||
--prefix=/usr
|
||||
--sysconfdir=/etc
|
||||
--bindir=/usr/bin
|
||||
--libdir=/usr/$(get_libdir)
|
||||
--datadir=/usr/share
|
||||
--docdir=/usr/share/doc/${PF}/html
|
||||
--mandir=/usr/share/man
|
||||
--localstatedir=/var
|
||||
--disable-bsd-user
|
||||
--disable-containers # bug #732972
|
||||
--disable-guest-agent
|
||||
--disable-strip
|
||||
--with-git-submodules=ignore
|
||||
|
||||
# bug #746752: TCG interpreter has a few limitations:
|
||||
# - it does not support FPU
|
||||
# - it's generally slower on non-self-modifying code
|
||||
# It's advantage is support for host architectures
|
||||
# where native codegeneration is not implemented.
|
||||
# Gentoo has qemu keyworded only on targets with
|
||||
# native code generation available. Avoid the interpreter.
|
||||
--disable-tcg-interpreter
|
||||
|
||||
--disable-werror
|
||||
# We support gnutls/nettle for crypto operations. It is possible
|
||||
# to use gcrypt when gnutls/nettle are disabled (but not when they
|
||||
# are enabled), but it's not really worth the hassle. Disable it
|
||||
# all the time to avoid automatically detecting it. #568856
|
||||
--disable-gcrypt
|
||||
--python="${PYTHON}"
|
||||
--cc="$(tc-getCC)"
|
||||
--cxx="$(tc-getCXX)"
|
||||
--host-cc="$(tc-getBUILD_CC)"
|
||||
$(use_enable alsa)
|
||||
$(use_enable debug debug-info)
|
||||
$(use_enable debug debug-tcg)
|
||||
$(use_enable jack)
|
||||
$(use_enable nls gettext)
|
||||
$(use_enable oss)
|
||||
$(use_enable plugins)
|
||||
$(use_enable pulseaudio pa)
|
||||
$(use_enable selinux)
|
||||
$(use_enable xattr attr)
|
||||
)
|
||||
|
||||
# Disable options not used by user targets. This simplifies building
|
||||
# static user targets (USE=static-user) considerably.
|
||||
conf_notuser() {
|
||||
if [[ ${buildtype} == "user" ]] ; then
|
||||
echo "--disable-${2:-$1}"
|
||||
else
|
||||
use_enable "$@"
|
||||
fi
|
||||
}
|
||||
# Enable option only for softmmu build, but not 'user' or 'tools'
|
||||
conf_softmmu() {
|
||||
if [[ ${buildtype} == "softmmu" ]] ; then
|
||||
use_enable "$@"
|
||||
else
|
||||
echo "--disable-${2:-$1}"
|
||||
fi
|
||||
}
|
||||
# Enable option only for tools build, but not 'user' or 'softmmu'
|
||||
conf_tools() {
|
||||
if [[ ${buildtype} == "tools" ]] ; then
|
||||
use_enable "$@"
|
||||
else
|
||||
echo "--disable-${2:-$1}"
|
||||
fi
|
||||
}
|
||||
# Special case for the malloc flag, because the --disable flag does
|
||||
# not exist and trying like above will break configuring.
|
||||
conf_malloc() {
|
||||
if [[ ! ${buildtype} == "user" ]] ; then
|
||||
usex "${1}" "--enable-malloc=${1}" ""
|
||||
fi
|
||||
}
|
||||
conf_opts+=(
|
||||
$(conf_notuser accessibility brlapi)
|
||||
$(conf_notuser aio linux-aio)
|
||||
$(conf_softmmu bpf)
|
||||
$(conf_notuser bzip2)
|
||||
$(conf_notuser capstone)
|
||||
$(conf_notuser caps cap-ng)
|
||||
$(conf_notuser curl)
|
||||
$(conf_tools doc docs)
|
||||
$(conf_notuser fdt)
|
||||
$(conf_notuser fuse)
|
||||
$(conf_notuser glusterfs)
|
||||
$(conf_notuser gnutls)
|
||||
$(conf_notuser gnutls nettle)
|
||||
$(conf_notuser gtk)
|
||||
$(conf_notuser infiniband rdma)
|
||||
$(conf_notuser iscsi libiscsi)
|
||||
$(conf_notuser io-uring linux-io-uring)
|
||||
$(conf_malloc jemalloc)
|
||||
$(conf_notuser jpeg vnc-jpeg)
|
||||
$(conf_notuser kernel_linux kvm)
|
||||
$(conf_notuser lzo)
|
||||
$(conf_notuser multipath mpath)
|
||||
$(conf_notuser ncurses curses)
|
||||
$(conf_notuser nfs libnfs)
|
||||
$(conf_notuser numa)
|
||||
$(conf_notuser opengl)
|
||||
$(conf_notuser pam auth-pam)
|
||||
$(conf_notuser png vnc-png)
|
||||
$(conf_notuser rbd)
|
||||
$(conf_notuser sasl vnc-sasl)
|
||||
$(conf_notuser sdl)
|
||||
$(conf_softmmu sdl-image)
|
||||
$(conf_notuser seccomp)
|
||||
$(conf_notuser slirp slirp system)
|
||||
$(conf_notuser smartcard)
|
||||
$(conf_notuser snappy)
|
||||
$(conf_notuser spice)
|
||||
$(conf_notuser ssh libssh)
|
||||
$(conf_notuser udev libudev)
|
||||
$(conf_notuser usb libusb)
|
||||
$(conf_notuser usbredir usb-redir)
|
||||
$(conf_notuser vde)
|
||||
$(conf_notuser vhost-net)
|
||||
$(conf_notuser vhost-user-fs)
|
||||
$(conf_tools vhost-user-fs virtiofsd)
|
||||
$(conf_notuser virgl virglrenderer)
|
||||
$(conf_softmmu virtfs)
|
||||
$(conf_notuser vnc)
|
||||
$(conf_notuser vte)
|
||||
$(conf_notuser xen)
|
||||
$(conf_notuser xen xen-pci-passthrough)
|
||||
$(conf_notuser xfs xfsctl)
|
||||
# use prebuilt keymaps, bug #759604
|
||||
--disable-xkbcommon
|
||||
$(conf_notuser zstd)
|
||||
)
|
||||
|
||||
if [[ ${buildtype} == "user" ]] ; then
|
||||
conf_opts+=( --disable-libxml2 )
|
||||
else
|
||||
conf_opts+=( --enable-libxml2 )
|
||||
fi
|
||||
|
||||
if [[ ! ${buildtype} == "user" ]] ; then
|
||||
# audio options
|
||||
local audio_opts=(
|
||||
# Note: backend order matters here: #716202
|
||||
# We iterate from higher-level to lower level.
|
||||
$(usex pulseaudio pa "")
|
||||
$(usev jack)
|
||||
$(usev sdl)
|
||||
$(usev alsa)
|
||||
$(usev oss)
|
||||
)
|
||||
conf_opts+=(
|
||||
--audio-drv-list=$(IFS=,; echo "${audio_opts[*]}")
|
||||
)
|
||||
fi
|
||||
|
||||
case ${buildtype} in
|
||||
user)
|
||||
conf_opts+=(
|
||||
--enable-linux-user
|
||||
--disable-system
|
||||
--disable-blobs
|
||||
--disable-tools
|
||||
)
|
||||
local static_flag="static-user"
|
||||
;;
|
||||
softmmu)
|
||||
conf_opts+=(
|
||||
--disable-linux-user
|
||||
--enable-system
|
||||
--disable-tools
|
||||
)
|
||||
local static_flag="static"
|
||||
;;
|
||||
tools)
|
||||
conf_opts+=(
|
||||
--disable-linux-user
|
||||
--disable-system
|
||||
--disable-blobs
|
||||
--enable-tools
|
||||
)
|
||||
local static_flag="static"
|
||||
;;
|
||||
esac
|
||||
|
||||
local targets="${buildtype}_targets"
|
||||
[[ -n ${targets} ]] && conf_opts+=( --target-list="${!targets}" )
|
||||
|
||||
# Add support for SystemTAP
|
||||
use systemtap && conf_opts+=( --enable-trace-backend=dtrace )
|
||||
|
||||
# We always want to attempt to build with PIE support as it results
|
||||
# in a more secure binary. But it doesn't work with static or if
|
||||
# the current GCC doesn't have PIE support.
|
||||
if use ${static_flag}; then
|
||||
conf_opts+=( --static --disable-pie )
|
||||
else
|
||||
tc-enables-pie && conf_opts+=( --enable-pie )
|
||||
fi
|
||||
|
||||
# Meson will not use a cross-file unless cross_prefix is set.
|
||||
tc-is-cross-compiler && conf_opts+=( --cross-prefix="${CHOST}-" )
|
||||
|
||||
# Plumb through equivalent of EXTRA_ECONF to allow experiments
|
||||
# like bug #747928.
|
||||
conf_opts+=( ${EXTRA_CONF_QEMU} )
|
||||
|
||||
echo "../configure ${conf_opts[*]}"
|
||||
cd "${builddir}"
|
||||
../configure "${conf_opts[@]}" || die "configure failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local target
|
||||
|
||||
python_setup
|
||||
|
||||
softmmu_targets= softmmu_bins=()
|
||||
user_targets= user_bins=()
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS} ; do
|
||||
if use "qemu_softmmu_targets_${target}"; then
|
||||
softmmu_targets+=",${target}-softmmu"
|
||||
softmmu_bins+=( "qemu-system-${target}" )
|
||||
fi
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS} ; do
|
||||
if use "qemu_user_targets_${target}"; then
|
||||
user_targets+=",${target}-linux-user"
|
||||
user_bins+=( "qemu-${target}" )
|
||||
fi
|
||||
done
|
||||
|
||||
softmmu_targets=${softmmu_targets#,}
|
||||
user_targets=${user_targets#,}
|
||||
|
||||
[[ -n ${softmmu_targets} ]] && qemu_src_configure "softmmu"
|
||||
[[ -n ${user_targets} ]] && qemu_src_configure "user"
|
||||
qemu_src_configure "tools"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
default
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
default
|
||||
fi
|
||||
|
||||
cd "${S}/tools-build"
|
||||
default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
pax-mark m */qemu-system-* #515550
|
||||
emake check
|
||||
fi
|
||||
}
|
||||
|
||||
qemu_python_install() {
|
||||
python_domodule "${S}/python/qemu"
|
||||
|
||||
python_doscript "${S}/scripts/kvm/vmxcap"
|
||||
python_doscript "${S}/scripts/qmp/qmp-shell"
|
||||
python_doscript "${S}/scripts/qmp/qemu-ga-client"
|
||||
}
|
||||
|
||||
# Generate binfmt support files.
|
||||
# - /etc/init.d/qemu-binfmt script which registers the user handlers (openrc)
|
||||
# - /usr/share/qemu/binfmt.d/qemu.conf (for use with systemd-binfmt)
|
||||
generate_initd() {
|
||||
local out="${T}/qemu-binfmt"
|
||||
local out_systemd="${T}/qemu.conf"
|
||||
local d="${T}/binfmt.d"
|
||||
|
||||
einfo "Generating qemu binfmt scripts and configuration files"
|
||||
|
||||
# Generate the debian fragments first.
|
||||
mkdir -p "${d}"
|
||||
"${S}"/scripts/qemu-binfmt-conf.sh \
|
||||
--debian \
|
||||
--exportdir "${d}" \
|
||||
--qemu-path "${EPREFIX}/usr/bin" \
|
||||
|| die
|
||||
# Then turn the fragments into a shell script we can source.
|
||||
sed -E -i \
|
||||
-e 's:^([^ ]+) (.*)$:\1="\2":' \
|
||||
"${d}"/* || die
|
||||
|
||||
# Generate the init.d script by assembling the fragments from above.
|
||||
local f qcpu package interpreter magic mask
|
||||
cat "${FILESDIR}"/qemu-binfmt.initd.head >"${out}" || die
|
||||
for f in "${d}"/qemu-* ; do
|
||||
source "${f}"
|
||||
|
||||
# Normalize the cpu logic like we do in the init.d for the native cpu.
|
||||
qcpu=${package#qemu-}
|
||||
case ${qcpu} in
|
||||
arm*) qcpu="arm";;
|
||||
mips*) qcpu="mips";;
|
||||
ppc*) qcpu="ppc";;
|
||||
s390*) qcpu="s390";;
|
||||
sh*) qcpu="sh";;
|
||||
sparc*) qcpu="sparc";;
|
||||
esac
|
||||
|
||||
# we use 'printf' here to be portable across 'sh'
|
||||
# implementations: #679168
|
||||
cat <<EOF >>"${out}"
|
||||
if [ "\${cpu}" != "${qcpu}" -a -x "${interpreter}" ] ; then
|
||||
printf '%s\n' ':${package}:M::${magic}:${mask}:${interpreter}:'"\${QEMU_BINFMT_FLAGS}" >/proc/sys/fs/binfmt_misc/register
|
||||
fi
|
||||
EOF
|
||||
|
||||
echo ":${package}:M::${magic}:${mask}:${interpreter}:OC" >>"${out_systemd}"
|
||||
|
||||
done
|
||||
cat "${FILESDIR}"/qemu-binfmt.initd.tail >>"${out}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# Install binfmt handler init script for user targets.
|
||||
generate_initd
|
||||
doinitd "${T}/qemu-binfmt"
|
||||
|
||||
# Install binfmt/qemu.conf.
|
||||
insinto "/usr/share/qemu/binfmt.d"
|
||||
doins "${T}/qemu.conf"
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# This might not exist if the test failed. #512010
|
||||
[[ -e check-report.html ]] && dodoc check-report.html
|
||||
|
||||
if use kernel_linux; then
|
||||
udev_newrules "${FILESDIR}"/65-kvm.rules-r2 65-kvm.rules
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_foreach_impl qemu_python_install
|
||||
fi
|
||||
fi
|
||||
|
||||
cd "${S}/tools-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# Disable mprotect on the qemu binaries as they use JITs to be fast #459348
|
||||
pushd "${ED}"/usr/bin >/dev/null
|
||||
pax-mark mr "${softmmu_bins[@]}" "${user_bins[@]}" # bug 575594
|
||||
popd >/dev/null
|
||||
|
||||
# Install config file example for qemu-bridge-helper
|
||||
insinto "/etc/qemu"
|
||||
doins "${FILESDIR}/bridge.conf"
|
||||
|
||||
cd "${S}"
|
||||
dodoc MAINTAINERS docs/specs/pci-ids.txt
|
||||
newdoc pc-bios/README README.pc-bios
|
||||
|
||||
# Disallow stripping of prebuilt firmware files.
|
||||
dostrip -x ${QA_PREBUILT}
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
# Remove SeaBIOS since we're using the SeaBIOS packaged one
|
||||
rm "${ED}/usr/share/qemu/bios.bin"
|
||||
rm "${ED}/usr/share/qemu/bios-256k.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
|
||||
dosym ../seabios/bios-256k.bin /usr/share/qemu/bios-256k.bin
|
||||
fi
|
||||
|
||||
# Remove vgabios since we're using the seavgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/vgabios.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-virtio.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
|
||||
# PPC/PPC64 loads vgabios-stdvga
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 || use qemu_softmmu_targets_ppc || use qemu_softmmu_targets_ppc64; then
|
||||
dosym ../seavgabios/vgabios-isavga.bin /usr/share/qemu/vgabios.bin
|
||||
dosym ../seavgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
|
||||
dosym ../seavgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
|
||||
dosym ../seavgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
|
||||
dosym ../seavgabios/vgabios-virtio.bin /usr/share/qemu/vgabios-virtio.bin
|
||||
dosym ../seavgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
|
||||
fi
|
||||
|
||||
# Remove sgabios since we're using the sgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/sgabios.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
|
||||
fi
|
||||
|
||||
# Remove iPXE since we're using the iPXE packaged one
|
||||
rm "${ED}"/usr/share/qemu/pxe-*.rom
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../ipxe/8086100e.rom /usr/share/qemu/pxe-e1000.rom
|
||||
dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom
|
||||
dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom
|
||||
dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom
|
||||
dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom
|
||||
dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom
|
||||
fi
|
||||
fi
|
||||
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
firmware_abi_change() {
|
||||
local pv
|
||||
for pv in ${REPLACING_VERSIONS}; do
|
||||
if ver_test ${pv} -lt ${FIRMWARE_ABI_VERSION}; then
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
return 1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -n ${softmmu_targets} ]] && use kernel_linux; then
|
||||
udev_reload
|
||||
fi
|
||||
|
||||
xdg_icon_cache_update
|
||||
|
||||
[[ -z ${EPREFIX} ]] && [[ -f ${EROOT}/usr/libexec/qemu-bridge-helper ]] && \
|
||||
fcaps cap_net_admin ${EROOT}/usr/libexec/qemu-bridge-helper
|
||||
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
readme.gentoo_print_elog
|
||||
|
||||
if use pin-upstream-blobs && firmware_abi_change; then
|
||||
ewarn "This version of qemu pins new versions of firmware blobs:"
|
||||
ewarn " $(best_version sys-firmware/edk2-ovmf)"
|
||||
ewarn " $(best_version sys-firmware/ipxe)"
|
||||
ewarn " $(best_version sys-firmware/seabios)"
|
||||
ewarn " $(best_version sys-firmware/sgabios)"
|
||||
ewarn "This might break resume of hibernated guests (started with a different"
|
||||
ewarn "firmware version) and live migration to/from qemu versions with different"
|
||||
ewarn "firmware. Please (cold) restart all running guests. For functional"
|
||||
ewarn "guest migration ensure that all"
|
||||
ewarn "hosts run at least"
|
||||
ewarn " app-emulation/qemu-${FIRMWARE_ABI_VERSION}."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_info() {
|
||||
echo "Using:"
|
||||
echo " $(best_version app-emulation/spice-protocol)"
|
||||
echo " $(best_version sys-firmware/edk2-ovmf)"
|
||||
if has_version 'sys-firmware/edk2-ovmf[binary]'; then
|
||||
echo " USE=binary"
|
||||
else
|
||||
echo " USE=''"
|
||||
fi
|
||||
echo " $(best_version sys-firmware/ipxe)"
|
||||
echo " $(best_version sys-firmware/seabios)"
|
||||
if has_version 'sys-firmware/seabios[binary]'; then
|
||||
echo " USE=binary"
|
||||
else
|
||||
echo " USE=''"
|
||||
fi
|
||||
echo " $(best_version sys-firmware/sgabios)"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
}
|
Binary file not shown.
|
@ -1,2 +1,2 @@
|
|||
DIST zotero-bin-5.0.96.3.tar.bz2 61236517 BLAKE2B 3de6d41349f9cc405dd3d44e8e456169d58bdd1f4522c31cd168182878839fe8ca6280eff7339bcf3d66c87c7d4f5af55d768551abcff3cd579342cae37b64e3 SHA512 0777ec41bc151b0bd30076f8a7f59e431c3435728b4d85298421ef11aea5b7c1e122d3bb7fcc5551bb8c4472922796d9508a56df7a0913515d8568fcf3ca6fee
|
||||
DIST zotero-bin-6.0.3.tar.bz2 68405653 BLAKE2B 53b0312fad219a7b7bb76caaac3e596427e27f6f2f317ec06c8eb9a12833b983593f54c287175228cdee40c02f6f8c09ef8a1d8e803476ac35f55d733f589a7d SHA512 f0635597dd8337f6851a7bc45eae288239069865bb95065ad84f4e7905e99a75ee12eb43c1390733ff6b5210569a67d0f66ac31bae7e20d06e2680202b806973
|
||||
DIST zotero-bin-6.0.4.tar.bz2 68409133 BLAKE2B 9aeb7cfc8e12f7cdd8aa595fa46564d873c51603295f2dd802ba7ad8baaf59e366fb85d5b98c6614222f98449c800e58b7fb190cbb80a1991beb0c69669d6da2 SHA512 14f759dab9e02253f7be8269575fabedc79556cc81eb1bcfaa5d945280b174545b9f23b2c190824124503f353af6a0416c15ecea99a81f5f000207a1eefe84b9
|
||||
|
|
Binary file not shown.
|
@ -1,15 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
ANT_TASK_JDKVER=1.8
|
||||
ANT_TASK_JREVER=1.8
|
||||
ANT_TASK_DEPNAME="log4j"
|
||||
|
||||
inherit ant-tasks
|
||||
|
||||
KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
DEPEND=">=dev-java/log4j-1.2.13-r2:0"
|
||||
RDEPEND="${DEPEND}"
|
35
dev-java/assertj-core/assertj-core-2.3.0-r1.ebuild
Normal file
35
dev-java/assertj-core/assertj-core-2.3.0-r1.ebuild
Normal file
|
@ -0,0 +1,35 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
MAVEN_ID="org.assertj:assertj-core:2.3.0"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Java library that provides a fluent interface for writing assertions"
|
||||
HOMEPAGE="https://joel-costigliola.github.io/assertj/"
|
||||
SRC_URI="https://github.com/assertj/assertj-core/archive/assertj-core-${PV}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
SLOT="2"
|
||||
|
||||
CDEPEND="dev-java/cglib:3
|
||||
dev-java/junit:4"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
>=virtual/jdk-1.8:*"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
>=virtual/jre-1.8:*"
|
||||
|
||||
S="${WORKDIR}/${PN}-${P}"
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
JAVA_GENTOO_CLASSPATH="cglib-3,junit-4"
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
dodoc {CONTRIBUTING,README}.md
|
||||
}
|
109
dev-java/bsf/bsf-2.4.0-r3.ebuild
Normal file
109
dev-java/bsf/bsf-2.4.0-r3.ebuild
Normal file
|
@ -0,0 +1,109 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
JAVA_PKG_IUSE="doc examples source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Bean Script Framework"
|
||||
HOMEPAGE="https://commons.apache.org/proper/commons-bsf/"
|
||||
SRC_URI="mirror://apache/commons/bsf/source/${PN}-src-${PV}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="2.3"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
# If you add new ones, add them to ant-apache-bsf too for use dependencies
|
||||
IUSE="javascript python tcl"
|
||||
|
||||
CDEPEND="
|
||||
python? (
|
||||
dev-java/jython:2.7
|
||||
)
|
||||
javascript? (
|
||||
dev-java/rhino:1.6
|
||||
)
|
||||
tcl? (
|
||||
dev-java/jacl:0
|
||||
)
|
||||
dev-java/xalan:0
|
||||
dev-java/commons-logging:0"
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jre-1.8:*"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jdk-1.8:*"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm -v lib/*.jar || die
|
||||
rm samples/*/*.class || die
|
||||
|
||||
java-ant_ignore-system-classes
|
||||
|
||||
# somebody forgot to add them to source tarball... fetched from svn
|
||||
cp "${FILESDIR}/${P}-build-properties.xml" build-properties.xml || die
|
||||
|
||||
# Silence javadoc.
|
||||
java-ant_xml-rewrite -f build.xml -c \
|
||||
-e javadoc \
|
||||
-a failonerror \
|
||||
-v no
|
||||
|
||||
# http://bugs.jython.org/issue1814
|
||||
# Also, bsf is an old project (2011) and hasn't officially taken the leap to
|
||||
# jython-2.7. This patch fixes the issue.
|
||||
eapply "${FILESDIR}"/${P}-PyJavaInstance.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local pkgs="commons-logging,xalan"
|
||||
local antflags="-Dxalan.present=true"
|
||||
|
||||
if use python; then
|
||||
antflags="${antflags} -Djython.present=true"
|
||||
pkgs="${pkgs},jython-2.7"
|
||||
fi
|
||||
if use javascript; then
|
||||
antflags="${antflags} -Drhino.present=true"
|
||||
pkgs="${pkgs},rhino-1.6"
|
||||
fi
|
||||
if use tcl; then
|
||||
antflags="${antflags} -Djacl.present=true"
|
||||
pkgs="${pkgs},jacl"
|
||||
fi
|
||||
|
||||
local cp="$(java-pkg_getjars ${pkgs})"
|
||||
eant -Dgentoo.classpath="${cp}" ${antflags} jar
|
||||
|
||||
# stupid clean
|
||||
mv build/lib/${PN}.jar "${S}" || die
|
||||
use doc && eant -Dgentoo.classpath="${cp}" ${antflags} javadocs
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar ${PN}.jar
|
||||
|
||||
java-pkg_dolauncher ${PN} --main org.apache.bsf.Main
|
||||
|
||||
dodoc CHANGES.txt NOTICE.txt README.txt RELEASE-NOTE.txt TODO.txt
|
||||
|
||||
use doc && java-pkg_dojavadoc build/javadocs
|
||||
use examples && java-pkg_doexamples samples
|
||||
use source && java-pkg_dosrc src/org
|
||||
|
||||
java-pkg_register-optional-dependency bsh,groovy-1,jruby
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Support for python, javascript, and tcl is controlled via USE flags."
|
||||
elog "Also, following languages can be supported just by installing"
|
||||
elog "respective package with USE=\"bsf\": BeanShell (dev-java/bsh),"
|
||||
elog "Groovy (dev-java/groovy) and JRuby (dev-java/jruby)"
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
--- src/org/apache/bsf/engines/jython/JythonEngine.java.orig 2015-07-04 08:00:17.120000000 +0000
|
||||
+++ src/org/apache/bsf/engines/jython/JythonEngine.java 2015-07-04 08:04:55.230000000 +0000
|
||||
--- a/src/org/apache/bsf/engines/jython/JythonEngine.java.orig 2015-07-04 08:00:17.120000000 +0000
|
||||
+++ b/src/org/apache/bsf/engines/jython/JythonEngine.java 2015-07-04 08:04:55.230000000 +0000
|
||||
@@ -26,7 +26,7 @@
|
||||
import org.apache.bsf.util.BSFFunctions;
|
||||
import org.python.core.Py;
|
||||
|
|
|
@ -1,69 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit flag-o-matic toolchain-funcs java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Forward Error Correction library in Java"
|
||||
HOMEPAGE="https://bitbucket.org/onionnetworks/"
|
||||
SRC_URI="https://dev.gentoo.org/~monsieurp/packages/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="dev-java/log4j:0"
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jre-1.8:*"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jdk-1.8:*
|
||||
app-arch/unzip"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/"${P}-libfec8path.patch"
|
||||
"${FILESDIR}"/"${P}-build.patch"
|
||||
"${FILESDIR}"/"${P}-soname.patch"
|
||||
"${FILESDIR}"/"${P}-remove-concurrent-util-imports.patch"
|
||||
)
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
EANT_GENTOO_CLASSPATH="log4j"
|
||||
EANT_BUILD_TARGET="jars"
|
||||
|
||||
# There seems to be unit tests, but they are in such a state.
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
# Apply patches.
|
||||
default
|
||||
|
||||
# In fact, we'll wipe tests altogether.
|
||||
rm -rf tests || die
|
||||
|
||||
# Get rid of bundled jars.
|
||||
java-pkg_clean
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
java-pkg-2_src_compile
|
||||
einfo "Sucessfully compiled Java classes!"
|
||||
|
||||
cd "${S}"/src/csrc || die
|
||||
append-flags -fPIC
|
||||
emake CC=$(tc-getCC) CFLAGS="${CFLAGS} $(java-pkg_get-jni-cflags)"
|
||||
einfo "Sucessfully compiled C files!"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar "lib/onion-${PN}.jar" "${PN}.jar"
|
||||
use doc && java-pkg_dojavadoc javadoc
|
||||
use source && java-pkg_dosrc src/com
|
||||
dolib.so src/csrc/libfec{8,16}.so
|
||||
}
|
|
@ -1,29 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
MAVEN_ID="xpp3:xpp3:1.1.4c"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="An implementation of XMLPULL V1 API"
|
||||
HOMEPAGE="http://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1/index.html"
|
||||
SRC_URI="https://repo1.maven.org/maven2/${PN}/${PN}/${PV}/${P}-sources.jar -> ${P}.jar"
|
||||
|
||||
LICENSE="Apache-1.1 IBM JDOM LGPL-2.1+"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
DEPEND=">=virtual/jdk-1.8:*"
|
||||
|
||||
JAVA_RESOURCE_DIRS="resources"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
mkdir "resources" || die
|
||||
cp -r "META-INF" "resources" || die
|
||||
}
|
Binary file not shown.
|
@ -1,5 +1,3 @@
|
|||
DIST zig-0.7.1.tar.gz 16082917 BLAKE2B 401bb079f2d0e2ad26837940e3b79c14237a492bd0b4df616f91b8b454ebd4ac3de36b2c988369c9eaaf7c2df4f95d4b1bb97760629f813ac8c7220e9542e12b SHA512 ad0b36f7b40481aca03940adfd42d34a724922993fc29a23a80412dc087ca6ce4876a400dc9bb7da455564521a88ea205c218988759ff6c56251a08232bfa41a
|
||||
DIST zig-0.8.0.tar.gz 19596459 BLAKE2B 7b688fdd201ce7b0b1e12127c4b1bf898699de18f410021e09bb056a56666aa8de512688a0048d6ac0ea8d6b7dfdb86e1a5416d2fab0a4911e16269d7b6be2a4 SHA512 2082810d5ab0560167766e80f0853e5ff99e32b1935836a6a0029b8e1c88061c55dd0c285cbcc506f4c38aac8477ec7162b771537699be9b3d387de94e3baa57
|
||||
DIST zig-0.8.1.tar.gz 19643170 BLAKE2B bc52f3399b3355a1fc7675329870dd107b21798fc562a9e55cd4a7c838cfdb2ed58ae3a01e3841a1a58c82fe27bec8758703b654b7548b9e431728aaabcd7ea6 SHA512 36bea566eee3dc5c00f2713cbc6616258dbadd3ee994749339f124f8b70c691cfe7fdce6a00194f879679ea417dadb3bcc244f8b79153957a426fea2d52caaf5
|
||||
DIST zig-0.9.0.tar.gz 21994175 BLAKE2B aadef89d5fddc3e802965125625e62140ac37bdac40b29ab8b7652056589c037cbed5d4e46889f335b3c296fb4ae2a7cafd5d064a02d728a8325ad515cdc8c7a SHA512 fef36221e818364b45cf65de210b0a9d535c411a510371a3ab4dfd6f4621c0a16dba786169f115a006966875102acc742abee19a74d83e2bc999ea5b8304b879
|
||||
DIST zig-0.9.1.tar.gz 22010374 BLAKE2B 24d6c945640aac1f7fd0eaf69937638181fb210c1f0be3110bc4e779cab3d56ef89286604b467013d52223a466addcb9bb81c85bbcf007d430a400669acf6279 SHA512 a9dc5fea25dde511122056832449658b00dbcf6d6bbfe658b375968a7bdb06c690abbdfe00c1afcfa481442392b051dcef5a5a5e81d4ceb23fa98a866b900f37
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# Copyright 2019-2021 Gentoo Authors
|
||||
# Copyright 2019-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
inherit cmake llvm
|
||||
inherit cmake llvm check-reqs
|
||||
|
||||
DESCRIPTION="A robust, optimal, and maintainable programming language"
|
||||
HOMEPAGE="https://ziglang.org/"
|
||||
|
@ -46,6 +46,9 @@ llvm_check_deps() {
|
|||
has_version "sys-devel/clang:${LLVM_SLOT}"
|
||||
}
|
||||
|
||||
# see https://github.com/ziglang/zig/wiki/Troubleshooting-Build-Issues#high-memory-requirements
|
||||
CHECKREQS_MEMORY="6G"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DZIG_USE_CCACHE=OFF
|
||||
|
|
|
@ -1,60 +0,0 @@
|
|||
# Copyright 2019-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake llvm
|
||||
|
||||
DESCRIPTION="A robust, optimal, and maintainable programming language"
|
||||
HOMEPAGE="https://ziglang.org/"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="+experimental test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/ziglang/zig.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/ziglang/zig/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
BUILD_DIR="${S}/build"
|
||||
|
||||
# According to zig's author, zig builds that do not support all targets are not
|
||||
# supported by the upstream project.
|
||||
ALL_LLVM_TARGETS=(
|
||||
AArch64 AMDGPU ARM AVR BPF Hexagon Lanai Mips MSP430 NVPTX
|
||||
PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore
|
||||
)
|
||||
ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
|
||||
LLVM_TARGET_USEDEPS="${ALL_LLVM_TARGETS[@]}"
|
||||
|
||||
LLVM_MAX_SLOT=12
|
||||
|
||||
RDEPEND="
|
||||
sys-devel/clang:${LLVM_MAX_SLOT}
|
||||
>=sys-devel/lld-12.0.0
|
||||
<sys-devel/lld-13.0.0
|
||||
sys-devel/llvm:${LLVM_MAX_SLOT}
|
||||
!experimental? ( sys-devel/llvm:${LLVM_MAX_SLOT}[${LLVM_TARGET_USEDEPS// /,}] )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
llvm_check_deps() {
|
||||
has_version "sys-devel/clang:${LLVM_SLOT}"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DZIG_USE_CCACHE=OFF
|
||||
-DZIG_PREFER_CLANG_CPP_DYLIB=ON
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${BUILD_DIR}" || die
|
||||
./zig build test || die
|
||||
}
|
|
@ -1,9 +1,9 @@
|
|||
# Copyright 2019-2021 Gentoo Authors
|
||||
# Copyright 2019-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
inherit cmake llvm
|
||||
inherit cmake llvm check-reqs
|
||||
|
||||
DESCRIPTION="A robust, optimal, and maintainable programming language"
|
||||
HOMEPAGE="https://ziglang.org/"
|
||||
|
@ -45,6 +45,9 @@ llvm_check_deps() {
|
|||
has_version "sys-devel/clang:${LLVM_SLOT}"
|
||||
}
|
||||
|
||||
# see https://github.com/ziglang/zig/wiki/Troubleshooting-Build-Issues#high-memory-requirements
|
||||
CHECKREQS_MEMORY="10G"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DZIG_USE_CCACHE=OFF
|
||||
|
|
|
@ -1,59 +0,0 @@
|
|||
# Copyright 2019-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
LLVM_MAX_SLOT=13
|
||||
inherit cmake llvm
|
||||
|
||||
DESCRIPTION="A robust, optimal, and maintainable programming language"
|
||||
HOMEPAGE="https://ziglang.org/"
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/ziglang/zig.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/ziglang/zig/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BUILD_DIR="${S}/build"
|
||||
|
||||
# According to zig's author, zig builds that do not support all targets are not
|
||||
# supported by the upstream project.
|
||||
ALL_LLVM_TARGETS=(
|
||||
AArch64 AMDGPU ARM AVR BPF Hexagon Lanai Mips MSP430 NVPTX
|
||||
PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore
|
||||
)
|
||||
ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
|
||||
LLVM_TARGET_USEDEPS="${ALL_LLVM_TARGETS[@]}"
|
||||
|
||||
RDEPEND="
|
||||
sys-devel/clang:${LLVM_MAX_SLOT}
|
||||
>=sys-devel/lld-${LLVM_MAX_SLOT}
|
||||
<sys-devel/lld-$((${LLVM_MAX_SLOT} + 1))
|
||||
sys-devel/llvm:${LLVM_MAX_SLOT}[${LLVM_TARGET_USEDEPS// /,}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
llvm_check_deps() {
|
||||
has_version "sys-devel/clang:${LLVM_SLOT}"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DZIG_USE_CCACHE=OFF
|
||||
-DZIG_PREFER_CLANG_CPP_DYLIB=ON
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${BUILD_DIR}" || die
|
||||
./zig build test || die
|
||||
}
|
|
@ -1,10 +1,10 @@
|
|||
# Copyright 2019-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
LLVM_MAX_SLOT=13
|
||||
inherit cmake llvm
|
||||
inherit cmake llvm check-reqs
|
||||
|
||||
DESCRIPTION="A robust, optimal, and maintainable programming language"
|
||||
HOMEPAGE="https://ziglang.org/"
|
||||
|
@ -44,6 +44,9 @@ llvm_check_deps() {
|
|||
has_version "sys-devel/clang:${LLVM_SLOT}"
|
||||
}
|
||||
|
||||
# see https://github.com/ziglang/zig/wiki/Troubleshooting-Build-Issues#high-memory-requirements
|
||||
CHECKREQS_MEMORY="10G"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DZIG_USE_CCACHE=OFF
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# Copyright 2019-2021 Gentoo Authors
|
||||
# Copyright 2019-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
LLVM_MAX_SLOT=13
|
||||
inherit cmake llvm
|
||||
inherit cmake llvm check-reqs
|
||||
|
||||
DESCRIPTION="A robust, optimal, and maintainable programming language"
|
||||
HOMEPAGE="https://ziglang.org/"
|
||||
|
@ -13,7 +13,7 @@ if [[ ${PV} == 9999 ]]; then
|
|||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/ziglang/zig/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
KEYWORDS="~amd64 ~arm ~arm64"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
|
@ -44,6 +44,9 @@ llvm_check_deps() {
|
|||
has_version "sys-devel/clang:${LLVM_SLOT}"
|
||||
}
|
||||
|
||||
# see https://github.com/ziglang/zig/wiki/Troubleshooting-Build-Issues#high-memory-requirements
|
||||
CHECKREQS_MEMORY="10G"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DZIG_USE_CCACHE=OFF
|
||||
|
|
Binary file not shown.
|
@ -1,2 +1,3 @@
|
|||
DIST expat-2.4.6.tar.xz 452468 BLAKE2B 8b30acc2628e3ce67ee57a4c9bee232f89f49ee70901588f7f5a34844e459cbc447fd225a734078100e52c96a73aa1f016e4f2d51d9a079128d661d97b2213c0 SHA512 830b00dbdfb92ef5cab69d783762a78443cd7d834bccda072d103c6178327cf480bde579089b1c3be884e67ddb862178fa734bd7e1f992f6f0ca29d83e21d737
|
||||
DIST expat-2.4.7.tar.xz 454136 BLAKE2B 441616f44ce585f75a67a3ebc2264e5723df55975dbfa9a9279039d3773d9e5a4b37c70a8e26787bbc8742fbc66a077e6845b540df6fede936d98065587fe3ac SHA512 e1a16cd48fcd6c4974dc7058d2e0284e0f91565835ec93f16d3f2c79647124470e5edb9f88f1ab9df5f403883a527750a4d63b941bd26fd43c05cd6f42bdcc48
|
||||
DIST expat-2.4.8.tar.xz 454428 BLAKE2B 25da91fdcdefe81740cc8129fa52bf4ceb0bbbee11f0d750485424dbc638f5fba8c30007d0f0b0e3ff5c84fe197b9b220852976272dfe5d6cc451d114297c2d7 SHA512 d19b0d6469537aed20c54bd9cfa4089d39e4acaaddde57809de7c6aec55dc870677c02480e7f65dac5620bd5454b889370453613518f9da647c74a831a2a1b7b
|
||||
|
|
94
dev-libs/expat/expat-2.4.8.ebuild
Normal file
94
dev-libs/expat/expat-2.4.8.ebuild
Normal file
|
@ -0,0 +1,94 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
AUTOTOOLS_AUTO_DEPEND=no
|
||||
AT_NOEAUTOHEADER=yes # because expat_config.h.in would need post-processing
|
||||
inherit autotools multilib-minimal
|
||||
|
||||
DESCRIPTION="Stream-oriented XML parser library"
|
||||
HOMEPAGE="https://libexpat.github.io/"
|
||||
SRC_URI="https://github.com/libexpat/libexpat/releases/download/R_${PV//\./_}/expat-${PV}.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
IUSE="examples static-libs unicode"
|
||||
BDEPEND="unicode? ( ${AUTOTOOLS_DEPEND} )"
|
||||
|
||||
DOCS=( README.md )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# fix interpreter to be a recent/good shell
|
||||
sed -i -e "1s:/bin/sh:${BASH}:" conftools/get-version.sh || die
|
||||
if use unicode; then
|
||||
cp -R "${S}" "${S}"w || die
|
||||
pushd "${S}"w >/dev/null
|
||||
find -name Makefile.am \
|
||||
-exec sed \
|
||||
-e 's,libexpat\.la,libexpatw.la,' \
|
||||
-e 's,libexpat_la,libexpatw_la,' \
|
||||
-i {} + || die
|
||||
eautoreconf
|
||||
popd >/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf="$(use_enable static-libs static) --without-docbook"
|
||||
|
||||
mkdir -p "${BUILD_DIR}"w || die
|
||||
|
||||
if use unicode; then
|
||||
pushd "${BUILD_DIR}"w >/dev/null
|
||||
CPPFLAGS="${CPPFLAGS} -DXML_UNICODE" ECONF_SOURCE="${S}"w econf ${myconf}
|
||||
popd >/dev/null
|
||||
fi
|
||||
|
||||
ECONF_SOURCE="${S}" econf ${myconf}
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake
|
||||
|
||||
if use unicode; then
|
||||
pushd "${BUILD_DIR}"w >/dev/null
|
||||
emake -C lib
|
||||
popd >/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake install DESTDIR="${D}"
|
||||
|
||||
if use unicode; then
|
||||
pushd "${BUILD_DIR}"w >/dev/null
|
||||
emake -C lib install DESTDIR="${D}"
|
||||
popd >/dev/null
|
||||
|
||||
pushd "${ED}"/usr/$(get_libdir)/pkgconfig >/dev/null
|
||||
cp expat.pc expatw.pc
|
||||
sed -i -e '/^Libs/s:-lexpat:&w:' expatw.pc || die
|
||||
popd >/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
doman doc/xmlwf.1
|
||||
|
||||
# Note: Use of HTML_DOCS would add unwanted "doc" subfolder
|
||||
docinto html
|
||||
dodoc doc/*.{css,html}
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc examples/*.c
|
||||
docompress -x usr/share/doc/${PF}/examples
|
||||
fi
|
||||
|
||||
find "${D}" -name '*.la' -type f -delete || die
|
||||
}
|
|
@ -1,2 +1,2 @@
|
|||
DIST intel-compute-runtime-21.46.21636.tar.gz 4878855 BLAKE2B 0ada296b36567038b2abeba50c2dae6604981f00cdfc0d5d9d197c793534c887fa1d321ced34b37cf6760bdc9e2b8769cdc24fe3884036b78b983660c90b1ee7 SHA512 a63436d049737b955f0e23bbfc78684f665f3d1a668120e803165839792144154f3f42a52c6533611711592ba6e41408d81196a61e318746b1dae1392d1d29ac
|
||||
DIST intel-compute-runtime-22.11.22682.tar.gz 5220769 BLAKE2B c5cacdb0140fe9247353b9922a2e401a866d73ea9d4fa6a4312c984d4ba0751ff60d58f15b49003020d88bef13808113ba8ca84239c140fa7c26edcd401c0d9c SHA512 0e4007b152a20e85d40e71d68144a8dab1be536800650fbd1c3f5e23a0731c733d7dfa943d7ea4e1f19548313b12474bd5b9426ef7f2057a9b106a0fc9a1762a
|
||||
DIST intel-compute-runtime-22.12.22749.tar.gz 5234659 BLAKE2B 162c4781561a131af51779108817d2a39ea9676e3772a776603c1e7670b03eddd800593a6e9d77d852476b2401582f3ff87c8b9582b5fa0769ab5ec48be6ba70 SHA512 16e4c76a38284d4e1470977845d338dc05195351ac53d63528e93f1990b81d03a8f1a31c53c665fb8e19b5dc9f4ce38ff392ee1158769780de7a7cb83b2b361b
|
||||
|
|
|
@ -0,0 +1,37 @@
|
|||
From a968cb223ea60d476d191a1f61dd4791178aacb4 Mon Sep 17 00:00:00 2001
|
||||
From: Grzegorz Choinski <grzegorz.choinski@intel.com>
|
||||
Date: Fri, 11 Mar 2022 18:41:30 +0000
|
||||
Subject: [PATCH] disable metrics discovery detection
|
||||
|
||||
Disabling metrics discovery detection due to conflicts that the name libmd
|
||||
creates with packages from ubuntu.
|
||||
|
||||
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
|
||||
---
|
||||
cmake/find_metrics.cmake | 6 ++++--
|
||||
1 file changed, 4 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/cmake/find_metrics.cmake b/cmake/find_metrics.cmake
|
||||
index e97e1d20b66..89445229b30 100644
|
||||
--- a/cmake/find_metrics.cmake
|
||||
+++ b/cmake/find_metrics.cmake
|
||||
@@ -28,7 +28,9 @@ function(dependency_detect COMPONENT_NAME DLL_NAME VAR_NAME REL_LOCATION IS_THIR
|
||||
set(OLD_PKG_CONFIG_PATH $ENV{PKG_CONFIG_PATH})
|
||||
set(ENV{PKG_CONFIG_PATH} "${LIBRARY_DIR}/${__tmp_LIBDIR}/pkgconfig/")
|
||||
endif()
|
||||
- pkg_check_modules(NEO__${VAR_NAME} ${DLL_NAME})
|
||||
+ if(NOT DLL_NAME STREQUAL "")
|
||||
+ pkg_check_modules(NEO__${VAR_NAME} ${DLL_NAME})
|
||||
+ endif()
|
||||
if(DEFINED __tmp_LIBDIR)
|
||||
set(ENV{PKG_CONFIG_PATH} ${OLD_PKG_CONFIG_PATH})
|
||||
endif()
|
||||
@@ -76,7 +78,7 @@ if(NOT NEO__METRICS_LIBRARY_INCLUDE_DIR STREQUAL "")
|
||||
endif()
|
||||
|
||||
# Metrics Discovery Detection
|
||||
-dependency_detect("Metrics Discovery" libmd METRICS_DISCOVERY "../metrics/discovery" TRUE)
|
||||
+dependency_detect("Metrics Discovery" "" METRICS_DISCOVERY "../metrics/discovery" TRUE)
|
||||
if(NOT NEO__METRICS_DISCOVERY_INCLUDE_DIR STREQUAL "")
|
||||
include_directories("${NEO__METRICS_DISCOVERY_INCLUDE_DIR}")
|
||||
endif()
|
|
@ -19,31 +19,29 @@ SLOT="0"
|
|||
KEYWORDS="~amd64"
|
||||
IUSE="+l0 +vaapi"
|
||||
|
||||
RDEPEND="
|
||||
RDEPEND=">=media-libs/gmmlib-22.0.2:="
|
||||
|
||||
DEPEND="
|
||||
${DEPEND}
|
||||
dev-libs/intel-metrics-library
|
||||
dev-libs/libnl:3
|
||||
dev-libs/libxml2:2
|
||||
>=dev-util/intel-graphics-compiler-1.0.10409
|
||||
>=dev-util/intel-graphics-compiler-1.0.10713
|
||||
>=dev-util/intel-graphics-system-controller-0.2.4
|
||||
>=media-libs/gmmlib-22.0.2:=
|
||||
media-libs/mesa
|
||||
>=virtual/opencl-3
|
||||
l0? ( >=dev-libs/level-zero-1.7.9 )
|
||||
l0? ( >=dev-libs/level-zero-1.7.15 )
|
||||
vaapi? (
|
||||
x11-libs/libdrm[video_cards_intel]
|
||||
x11-libs/libva
|
||||
)
|
||||
"
|
||||
|
||||
# for Khronos OpenGL headers
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
media-libs/mesa
|
||||
"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
DOCS=( "README.md" "FAQ.md" )
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-22.11.22682-metrics.patch" )
|
||||
PATCHES=( "${FILESDIR}/${PN}-22.12.22749-metrics.patch" )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
|
@ -51,7 +49,7 @@ src_configure() {
|
|||
-DCMAKE_INSTALL_LIBDIR="$(get_libdir)"
|
||||
-DBUILD_WITH_L0="$(usex l0)"
|
||||
-DDISABLE_LIBVA="$(usex !vaapi)"
|
||||
# -DNEO__METRICS_LIBRARY_INCLUDE_DIR="${ESYSROOT}/usr/include"
|
||||
-DNEO__METRICS_LIBRARY_INCLUDE_DIR="${ESYSROOT}/usr/include"
|
||||
-DKHRONOS_GL_HEADERS_DIR="${ESYSROOT}/usr/include"
|
||||
-DOCL_ICD_VENDORDIR="${EPREFIX}/etc/OpenCL/vendors"
|
||||
-DSUPPORT_DG1="ON"
|
|
@ -1 +0,0 @@
|
|||
DIST smack-0.5.0.tar.bz2 38923 BLAKE2B e40ace9a4d97aaefe94d0ecdbce7f610c6cec73df87f3256078aaa5bd1ffcd45b047c4124cafd12da3dab5e1a74689726abd1ac3f1802b9a933aeb4cce7954cc SHA512 16c02538d44e3c53a783a5fd546a2813ae4da8e3d4e61fcc03a2c6c5127453ffaac1b5d5a04c499f6158d747b5cf37fdfa675dc4017d884f3eccb6dc0d76e754
|
|
@ -1,19 +0,0 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="low-level IO storage which packs data into sorted compressed blobs"
|
||||
HOMEPAGE="http://reverbrain.com/smack/"
|
||||
SRC_URI="https://dev.gentoo.org/~patrick/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/snappy
|
||||
dev-libs/boost"
|
||||
RDEPEND="${DEPEND}"
|
Binary file not shown.
|
@ -10,7 +10,7 @@ SRC_URI="https://dev.gentoo.org/~grozin/${P}.tar.xz"
|
|||
|
||||
LICENSE="LGPL-2 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE="+ansi athena emacs +readline tk X"
|
||||
|
||||
# See bug #205803
|
||||
|
|
Binary file not shown.
|
@ -1,2 +1,2 @@
|
|||
DIST HTML_Common2-2.1.2.tgz 8579 BLAKE2B 43d71ca1010e3cb4d73f25417b601872485f9c8990cb3117d112a84f2eca67437687d423146c1f67f8053116d4aef04b4859982805c7009047a682385878dc8e SHA512 f6082e44578dfa063f4f1a896ea477c485122e3d2cc89764c16ee76c3153d60276cbc290b4f3b8c18536aaeffb6797b9c56b8b0f2ffe1ef953fe02a5fb32b864
|
||||
DIST HTML_Common2-2.2.0.tgz 8884 BLAKE2B fc0c7d3573e8da0ec315dff4a59e54187cc9e378f2d576f30af7faaa8fce033a62aaed239d9613ff591e6c11b71f44cf78a35a4998abe9adb9550c7509e907df SHA512 7ebee98688a58484b92a50abd632ef21b166f9e20a47025e3e47af60b8dbb6108f3ceb5603b64602fee2275c2398fdd1831cfa3d2c151f266f2a7961823751d3
|
||||
DIST HTML_Common2-2.3.0.tgz 9085 BLAKE2B 577f83d110196c6edb0056f4e352fe3dbca3ec49d9b3fd6821f75b7b846f35bf6082c7a96962cedc891dab927e00b5987e57394f42f0401ba317b1496104f4f9 SHA512 b8d7a288d842a07de34a7a6b94ed9ac311a1fb3928a099f583a1d9ab6ce8514f938f7c8425cfa179647cdd5ecd514ed71ea2bb2ec968f49e27879dee7937b1a9
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
inherit php-pear-r2
|
||||
|
||||
|
@ -9,9 +9,11 @@ DESCRIPTION="Abstract base class for HTML classes (PHP5 port of PEAR-HTML_Common
|
|||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
DEPEND="test? ( dev-php/phpunit )"
|
||||
#IUSE="test"
|
||||
#RESTRICT="!test? ( test )"
|
||||
# Tests fail with current phpunit
|
||||
RESTRICT="test"
|
||||
#BDEPEND="test? ( dev-php/phpunit )"
|
||||
|
||||
src_test() {
|
||||
phpunit tests/AllTests.php || die
|
Binary file not shown.
|
@ -14,4 +14,4 @@ SRC_URI="http://www.dalkescientific.com/Python/${P}.tar.gz"
|
|||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
KEYWORDS="amd64 ~riscv x86"
|
||||
|
|
|
@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
KEYWORDS="~amd64 ~riscv"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
DIST autobahn-22.2.2.tar.gz 375443 BLAKE2B a321cfeaa35e7da5aa58ade0da3bc5891baab1d4a915782e9d25038679261c19744d65baa4a981cb01025902dc8f4ffb93d8c0ad59b8db32119c0fb0eeb49d53 SHA512 95b0ee867a866b1cf67a55ffa9386addd3640b12a3e5a2673b4d496aa6d41ec49408e1f528bc21d1e390d5e3343dda0b1625d4ac0d9e9101db151c7c79623263
|
||||
DIST autobahn-22.3.1.tar.gz 375616 BLAKE2B 2644ff3766b268df54cf955d657870530723342dc9b040b05806766e25dbf89b78b448d8b6a949cb8a8d1486a16f6901348dc127903c34502f8663997b539ac8 SHA512 5fbeec8808d90431e37ede1b3c147ffd8e92af99af3bc4f6fec3519cdbfe5962c3d770e9102b7f54bfbdd03f453b488c8ba8eb104c6a34458ca429fd1233e037
|
||||
DIST autobahn-22.3.2.tar.gz 376020 BLAKE2B 5d7b776c24541b08363942ed1868d5e7a2ccb4f99edc1ad722d3d68417852f324e79afa5ec8cc0251499ba27c078087ba40be744d657b562f5f1c431492705b6 SHA512 a33619bb7624f56bf571a4c61d11290316554c5c5a23724c6d5624f1e8e673dfc6a8e12ea3b17f809306a14f45e982b3425a23efb123003b575b248718c9a299
|
||||
|
|
115
dev-python/autobahn/autobahn-22.3.2.ebuild
Normal file
115
dev-python/autobahn/autobahn-22.3.2.ebuild
Normal file
|
@ -0,0 +1,115 @@
|
|||
# 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} )
|
||||
|
||||
inherit distutils-r1 optfeature
|
||||
|
||||
MY_P=${PN}-$(ver_rs 3 -)
|
||||
|
||||
DESCRIPTION="WebSocket and WAMP for Twisted and Asyncio"
|
||||
HOMEPAGE="https://pypi.org/project/autobahn/
|
||||
https://crossbar.io/autobahn/
|
||||
https://github.com/crossbario/autobahn-python"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
|
||||
IUSE="test xbr"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# The order of deps is based on their appearance in setup.py
|
||||
# All extra deps should be included in test and in optfeature
|
||||
RDEPEND="
|
||||
>=dev-python/zope-interface-5.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/twisted-20.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/attrs-20.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/txaio-21.2.1[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
>=dev-python/hyperlink-21.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/wsaccel-0.6.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/snappy-0.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/msgpack-1.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/ujson-4.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/cbor2-5.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/py-ubjson-0.16.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/flatbuffers-1.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-20.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/service_identity-18.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pynacl-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytrie-0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/cffi-1.14.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/argon2-cffi-20.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/passlib-1.7.4[${PYTHON_USEDEP}]
|
||||
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-aiohttp[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
if use xbr ; then
|
||||
eerror "***************"
|
||||
eerror "Required xbr dependencies are incomplete in Gentoo."
|
||||
eerror "So this functionality will not yet work"
|
||||
eerror "Please file a bug if this feature is needed"
|
||||
eerror "***************"
|
||||
else
|
||||
# remove xbr components
|
||||
export AUTOBAHN_STRIP_XBR="True"
|
||||
fi
|
||||
|
||||
# avoid useless rust dependency
|
||||
sed -i -e '/cryptography/s:>=3.4.6::' setup.py || die
|
||||
|
||||
# remove twisted plugin cache regen in setup.py
|
||||
# to fix tinderbox sandbox issue
|
||||
sed -e '/import/s:reactor:__importmustfail__:' \
|
||||
-i setup.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
einfo "Testing all, cryptosign using twisted"
|
||||
local -x USE_TWISTED=true
|
||||
cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
|
||||
"${EPYTHON}" -m twisted.trial autobahn || die "Tests failed with ${EPYTHON}"
|
||||
unset USE_TWISTED
|
||||
|
||||
einfo "RE-testing cryptosign and component_aio using asyncio"
|
||||
local -x USE_ASYNCIO=true
|
||||
epytest autobahn/wamp/test/test_wamp_{cryptosign,component_aio}.py
|
||||
unset USE_ASYNCIO
|
||||
|
||||
rm -f twisted/plugins/dropin.cache || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "C-based WebSocket acceleration" "dev-python/wsaccel"
|
||||
optfeature "non-standard WebSocket compression support" "dev-python/snappy"
|
||||
optfeature "accelerated WAMP serialization support" \
|
||||
"dev-python/msgpack dev-python/ujson dev-python/cbor2 dev-python/flatbuffers dev-python/py-ubjson"
|
||||
optfeature "TLS transport encryption" \
|
||||
"dev-python/pyopenssl dev-python/pynacl dev-python/pytrie dev-python/pyqrcode dev-python/service_identity"
|
||||
optfeature "WAMP-SCRAM authentication" \
|
||||
"dev-python/cffi dev-python/argon2-cffi dev-python/passlib"
|
||||
optfeature "native SIMD acceleration" "dev-python/cffi"
|
||||
|
||||
python_foreach_impl twisted-regen-cache
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_foreach_impl twisted-regen-cache
|
||||
}
|
|
@ -1,2 +1,3 @@
|
|||
DIST black-21.12b0.tar.gz 1200305 BLAKE2B cd019b230d2ba1fab88075a5e14cb5de88a4ee283b53d869564f071a104d2810ca31c04db09310b99a1610bdace7d5b9b360b2a3a4810822322a4eacc8998ad8 SHA512 1f6e4eeafd653fa9db608585110f5c5067942031b2d67e630befa899d7fca3c35f52cbde8fc91c2697fb294fb16525254756ebce16e556fc139b621f738bfa22
|
||||
DIST black-22.1.0.tar.gz 1161720 BLAKE2B d74cbdd39dc1576583cee57089cb6d75a338f2d6640697adda79d38d02eeb51664049dca934d5014761d0fd4080ca2f40a3ea10c30e40bde9fe6af6c178b202c SHA512 9b97a3b32ecebebeb61ea581784a9b2215540c20533097fe87d5ef3c046dbe7c2ab8f2f21d1884cbe0ddd458434f17eb9b540764f955385873e6fdef86c3014c
|
||||
DIST black-22.3.0.tar.gz 1154456 BLAKE2B c89b43722839748dff0ce60debb684cd8eeae5ef5fb7e080f6b0031412381d7be121ce62ad252a67fa7930726243680a4bf183417611617be5af39722164289d SHA512 fc44576b93a6e158f625ad5444247f6a59a1ebcc7f0c73ed40d557a9a865457b297eabd492f01999e51ee3e5c3fa83f3d6e3c10937ecaa8c1d36f7541736d2e4
|
||||
|
|
49
dev-python/black/black-22.3.0.ebuild
Normal file
49
dev-python/black/black-22.3.0.ebuild
Normal file
|
@ -0,0 +1,49 @@
|
|||
# Copyright 2020-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} )
|
||||
|
||||
inherit distutils-r1 optfeature
|
||||
|
||||
MY_PV="${PV//_beta/b}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="The uncompromising Python code formatter"
|
||||
HOMEPAGE="https://black.readthedocs.io/en/stable/ https://github.com/psf/black"
|
||||
SRC_URI="https://github.com/psf/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~x64-macos"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/click-8.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/platformdirs-2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pathspec-0.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/tomli-1.1.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/typing-extensions-3.10.0.0[${PYTHON_USEDEP}]
|
||||
' python3_{8..9})
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-python/setuptools_scm-6.3.1[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}]
|
||||
dev-python/aiohttp-cors[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/parameterized[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=${MY_PV}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "blackd - HTTP API for black" "dev-python/aiohttp dev-python/aiohttp-cors"
|
||||
}
|
|
@ -1,2 +1 @@
|
|||
DIST bottleneck-1.3.2.tar.gz 102565 BLAKE2B 4d903bd8ff918a54cdee5b6c6815e8d404c6d3cd1a73e02f81888aab077970a113fcd24acef9da8a35138aa808c211883bf9bd952f83f17df4f94a6172fbe140 SHA512 9b6f812a625c9bb39501e8834ce41ae34ce57038d3ec9528aa8aa80910663c4e3b420d535f0ec8fa9e506faecabaf0151950afcebdc919479ed04787f26dc3ee
|
||||
DIST bottleneck-1.3.4.gh.tar.gz 118739 BLAKE2B af4b32bf296f11538b12f364592553d407668762e1e2d94c814bf262bc9ef88f1338cd388ff1c02065f8266988fe6cad5f8461aed2a144a9bfaf98f8ae46eeae SHA512 0cb3837139f947a7da026bddc8ff6e8025ee0aac6aedf4046383eb8385789d1816158ae20438b15a28c7f0b6552c3570c18abdbb6ef265fa9f497edebae1d808
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Fast NumPy array functions written in C"
|
||||
HOMEPAGE="https://pypi.org/project/Bottleneck/"
|
||||
SRC_URI="https://github.com/kwgoodman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND=">=dev-python/numpy-1.9.1[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" ./tools/test-installed-bottleneck.py -vv -m full || die
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
@ -13,7 +13,7 @@ SRC_URI="https://github.com/schettino72/configclass/archive/${PV}.tar.gz -> ${P}
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
KEYWORDS="amd64 ~riscv x86"
|
||||
|
||||
RDEPEND=">=dev-python/mergedict-0.2.0[${PYTHON_USEDEP}]"
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ SRC_URI="https://github.com/tgalal/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="examples"
|
||||
# Tests require an active internet connection
|
||||
RESTRICT="test"
|
||||
|
|
|
@ -1,35 +0,0 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="WhatsApp's handshake implementation using Noise Protocol"
|
||||
HOMEPAGE="https://github.com/tgalal/consonance"
|
||||
SRC_URI="https://github.com/tgalal/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="examples"
|
||||
# Tests require an active internet connection
|
||||
RESTRICT="test"
|
||||
PROPERTIES="test_network"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/dissononce[${PYTHON_USEDEP}]
|
||||
dev-python/protobuf-python[${PYTHON_USEDEP}]
|
||||
dev-python/python-axolotl-curve25519[${PYTHON_USEDEP}]
|
||||
dev-python/transitions[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
use examples && dodoc examples/*.py
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
@ -13,7 +13,7 @@ SRC_URI="https://github.com/pydoit/doit-py/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
KEYWORDS="amd64 ~riscv x86"
|
||||
|
||||
DEPEND="
|
||||
test? (
|
||||
|
|
|
@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
KEYWORDS="amd64 ~riscv x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/cloudpickle[${PYTHON_USEDEP}]
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
DIST google-api-python-client-2.37.0.tar.gz 28868090 BLAKE2B 971fa3a873c902a34c100066a026ab6698d142a4875282d8be890b403a2edf1f00ea5a3dc4bcf90a30ad9dfb8aa5e1d5eb1b60e64a6718a6e054d49b7ff94afc SHA512 72543f78779403a5d16cfae8f84718d7a6dc08e9fcaa4e97d7a1f6e5ba6594b3a87762e229b94ccfc3a3ca196bbe0cd17c5fde949d101d5975b61cdc57a32622
|
||||
DIST google-api-python-client-2.38.0.tar.gz 29194978 BLAKE2B 741cf925256f0bd648e68c339233cfc13a9eaa12e123e202eab64b8389bc493755838c3da8ca4e7f4ffeecacec783c41f37df1847edf0fb54387d58163c112fc SHA512 b93f1f946ebab226b9fdd9012c3ae70563197a895d9069f09c7eb8926cd8fe5567535d3677a6824f66720b9ed1f0a732f02be9440dc800a13cb7e335728a3ce8
|
||||
DIST google-api-python-client-2.40.0.tar.gz 29463380 BLAKE2B f70067d3afe614e34cf84480d7a653620b516689560033cf3ad72a963e53c76632d1254ed1ac5f492e9e4639a6d717889f0f84c283363892efa99ce1007bbb82 SHA512 ae345d46bcb13509dd631039079c3ef96899899c206bc19b47a873d8ebc9372e70f55bcada1c8ba9775d826dbe8b1fde96a8f496f5574bb15b3c73c7d848f189
|
||||
DIST google-api-python-client-2.41.0.tar.gz 29608471 BLAKE2B 5a6f9eb414f02b9528d0ee8f8777da6596bd298f6aea8191966d1ebaa67219f8ea2e44a77bc667bfedab39c4ab0352a13ba04fd805f0df9a6936247cd4cf3481 SHA512 b9ee6a4374438d019d0efd09d02426c1c773fd2ca561e2bf91e426535fec2865a47a32cc5cf780e5e7da193ca3d8b5677339fee2a4983e7f4af9612d901c883d
|
||||
DIST google-api-python-client-2.42.0.tar.gz 29772877 BLAKE2B f478a719c3a6ef2f78d1fa16c231d47f2d72b55e67746612579f644b92dbd93ebd7f320f0684d85c1c1e253ed2f5163d7f6ce2904343bbe7a4f6746889663970 SHA512 e55cd75dec478a3410829a7eb7ee5478b52b44450d4ade69e3a7ee11b30e5ab5690c93ff6444f4b723db6cd1f26ac70553b3f1b9c77dc0b428db271b773faa9f
|
||||
|
|
|
@ -1,45 +0,0 @@
|
|||
# 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..9} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Google API Client for Python"
|
||||
HOMEPAGE="https://github.com/googleapis/google-api-python-client"
|
||||
SRC_URI="https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/httplib2-0.15[${PYTHON_USEDEP}]
|
||||
<dev-python/httplib2-1[${PYTHON_USEDEP}]
|
||||
dev-python/google-api-core[${PYTHON_USEDEP}]
|
||||
>=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}]
|
||||
<dev-python/uritemplate-5[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/oauth2client[${PYTHON_USEDEP}]
|
||||
dev-python/pandas[${PYTHON_USEDEP}]
|
||||
dev-python/parameterized[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# require Internet access (and credentials)
|
||||
tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive
|
||||
tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object
|
||||
)
|
||||
|
||||
epytest tests
|
||||
}
|
|
@ -1,47 +0,0 @@
|
|||
# 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} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Google API Client for Python"
|
||||
HOMEPAGE="https://github.com/googleapis/google-api-python-client"
|
||||
SRC_URI="https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/httplib2-0.15[${PYTHON_USEDEP}]
|
||||
<dev-python/httplib2-1[${PYTHON_USEDEP}]
|
||||
>=dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}]
|
||||
<dev-python/uritemplate-5[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/oauth2client[${PYTHON_USEDEP}]
|
||||
dev-python/pandas[${PYTHON_USEDEP}]
|
||||
dev-python/parameterized[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# require Internet access (and credentials)
|
||||
tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive
|
||||
tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object
|
||||
)
|
||||
|
||||
epytest tests
|
||||
}
|
|
@ -2,3 +2,4 @@ DIST hypothesis-python-6.38.0.tar.gz 9180960 BLAKE2B a62cb0cb31cfe4ece8ee829207b
|
|||
DIST hypothesis-python-6.39.3.tar.gz 9182758 BLAKE2B 3641e5a9fd7e3e3e9f6432fa5bd5b8f6e4508fd840c781a65f11e8e99cee40dbd343bb17c37c60a4aabff00d5faca98a3a49b756eb754763ffc26a63a8450b38 SHA512 6dcbecdbd564aced4b0e14608a226d71adccaccfd54a3b9029f85a3e616372b7422f97029b5254bf1b08e44f74c714d65c1cb5fc21b6a0e0bdcedff2cc539ed2
|
||||
DIST hypothesis-python-6.39.4.tar.gz 9182794 BLAKE2B 16c1867e2ea4dc08d6bb31aee14ec4c8fc7c7e21e57723d69184b227c1b2081e7f03a7d1f3a4975c485cbfc6011cb832de761874bddcfef716775a5bdd933927 SHA512 100e0b591980280b8a674e0c596fee65eee0428e0f116045b65f22a3bf2c114ff7068eac0b59764bbf5dc02b67711ca105fb655b705cbba7c1932cbbfc7da670
|
||||
DIST hypothesis-python-6.39.5.tar.gz 9182972 BLAKE2B ecd92b759f574d2abed5310815c603adb2585e9a724532feea2fe1818c1693eabd3523ecda57c42b5e714684c53e80bce437156b49a7a23e5d0a87ef103d367f SHA512 da6ebb225a58b177870f9848ad44eb71af6c9a502ffa104ba023a24139b427b647c33b622063bd1c6050b5922c5a17ef0cbcff64dc85e5a9379b9503738dabd8
|
||||
DIST hypothesis-python-6.39.6.tar.gz 9183382 BLAKE2B c1112dc11d9129c7685eccac563232c978fcb470b0537e468b802ecf1f758af8dfce323514f923605662e720d0d54f525e5aac3e871407255f5f0732856748fe SHA512 985645265e9644bd2731a08ab942984fae5cb35e04e27e60450bfcf237c375dae1f2d3bf3694031a452866669ae2e19a05085ce9e35630965938c066b265595a
|
||||
|
|
66
dev-python/hypothesis/hypothesis-6.39.6.ebuild
Normal file
66
dev-python/hypothesis/hypothesis-6.39.6.ebuild
Normal file
|
@ -0,0 +1,66 @@
|
|||
# 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 )
|
||||
PYTHON_REQ_USE="threads(+),sqlite"
|
||||
|
||||
inherit distutils-r1 multiprocessing optfeature
|
||||
|
||||
DESCRIPTION="A library for property based testing"
|
||||
HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
|
||||
SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
||||
IUSE="cli"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
|
||||
cli? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/black[${PYTHON_USEDEP}]
|
||||
dev-python/click[${PYTHON_USEDEP}]
|
||||
' python3_{8..10})
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
!!<dev-python/typing-3.7.4.1
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
# subtests are broken by warnings from random plugins
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin
|
||||
|
||||
epytest tests/cover tests/pytest tests/quality \
|
||||
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
if ! use cli || ! has "${EPYTHON}" python3.{8..10}; then
|
||||
rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "datetime support" dev-python/pytz
|
||||
optfeature "dateutil support" dev-python/python-dateutil
|
||||
optfeature "numpy support" dev-python/numpy
|
||||
optfeature "django support" dev-python/django dev-python/pytz
|
||||
optfeature "pandas support" dev-python/pandas
|
||||
optfeature "pytest support" dev-python/pytest
|
||||
}
|
|
@ -2,3 +2,4 @@ DIST ipython-7.31.1.tar.gz 5156314 BLAKE2B e6528c9d3920078918180c4c2fae5d0ac20cd
|
|||
DIST ipython-8.0.1.tar.gz 5306811 BLAKE2B 9088faf779e2783ce97c6a45f0baa3c7163e12f63546aa65eb961de2b2fbacaac8ba1cf0c3c705bc326b4c999fe3ce672f31e3abaa7168d912504880ad8d3c2f SHA512 c4f3cf6e4aa7dab1e4e8cec2d669e5fe4ea3eeac9063132a38544596fafbaaed0f287bbdce12e8bc3d7613766c51b0e1ff8c7c86fdbd53e387caade6bbcdb828
|
||||
DIST ipython-8.1.0.tar.gz 5312523 BLAKE2B 9a44555dcb91655c5d483a7ba5d99074b9c2c4af3ec272d0adabc345352359b061ea4fd92198c3910945139edb80c8837afe1ae3c34b0bddb517d226584f28a1 SHA512 847ddab96ecfe06e46921b081fe3a51910c3fde1fa440c9955e374614b1ae6a7d20fc2e78d286178366893d342126a01a160a4efb0aa7be0b2234229638e95bc
|
||||
DIST ipython-8.1.1.tar.gz 5313998 BLAKE2B 0972b2f4a8072c5775f5cc4637aeb8e684b342d097d77e2d9d0a3e659d7a10f94f741bafc7f33595cbb205d8dbbc72e88b820e5407cb9ab506189d44e8c19cf0 SHA512 ce93d4d0839f32256461ff53c510f694db6ec0358a487a6af016d41f811e1b78b3244f1c67097e14afd32635ae392b4bff5d6eb2fc823c299c699335dc43bdc0
|
||||
DIST ipython-8.2.0.tar.gz 5400583 BLAKE2B 6af50e671823005b035a8463e65463b06dacb3bf4d43c4d3bd9720d1747ebda8abe3d73a49f59ae0e6e2651035db20bcfa1e82dbb0a73e40b4e2507e63118921 SHA512 0bf93527bcafe5dfbfe034b901dff2f002e0fc732159073f0371263e23784f45eb6c9e3f7f2cb9567e93ea4ee313773f836157afe9d23256e71bc4b2fcac15af
|
||||
|
|
160
dev-python/ipython/ipython-8.2.0.ebuild
Normal file
160
dev-python/ipython/ipython-8.2.0.ebuild
Normal file
|
@ -0,0 +1,160 @@
|
|||
# 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} )
|
||||
PYTHON_REQ_USE='readline,sqlite,threads(+)'
|
||||
|
||||
inherit distutils-r1 optfeature virtualx
|
||||
|
||||
DESCRIPTION="Advanced interactive shell for Python"
|
||||
HOMEPAGE="https://ipython.org/ https://github.com/ipython/ipython/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/backcall[${PYTHON_USEDEP}]
|
||||
dev-python/decorator[${PYTHON_USEDEP}]
|
||||
>=dev-python/jedi-0.16[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib-inline[${PYTHON_USEDEP}]
|
||||
>=dev-python/pexpect-4.3[${PYTHON_USEDEP}]
|
||||
dev-python/pickleshare[${PYTHON_USEDEP}]
|
||||
>=dev-python/prompt_toolkit-2[${PYTHON_USEDEP}]
|
||||
<dev-python/prompt_toolkit-3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygments-2.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/stack_data[${PYTHON_USEDEP}]
|
||||
>=dev-python/traitlets-5.0[${PYTHON_USEDEP}]
|
||||
matplotlib? (
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
app-text/dvipng[truetype]
|
||||
>=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib-inline[${PYTHON_USEDEP}]
|
||||
dev-python/nbformat[${PYTHON_USEDEP}]
|
||||
>=dev-python/numpy-1.19[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/testpath[${PYTHON_USEDEP}]
|
||||
)
|
||||
doc? (
|
||||
>=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-2[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
RDEPEND+="
|
||||
nbconvert? (
|
||||
dev-python/nbconvert[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
PDEPEND="
|
||||
notebook? (
|
||||
dev-python/notebook[${PYTHON_USEDEP}]
|
||||
dev-python/ipywidgets[${PYTHON_USEDEP}]
|
||||
dev-python/widgetsnbextension[${PYTHON_USEDEP}]
|
||||
)
|
||||
qt5? ( dev-python/qtconsole[${PYTHON_USEDEP}] )
|
||||
smp? (
|
||||
>=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/2.1.0-substitute-files.patch )
|
||||
|
||||
python_prepare_all() {
|
||||
# Remove out of date insource files
|
||||
#rm IPython/extensions/cythonmagic.py || die
|
||||
#rm IPython/extensions/rmagic.py || die
|
||||
|
||||
# Prevent un-needed download during build
|
||||
if use doc; then
|
||||
sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
|
||||
fi
|
||||
|
||||
# Rename the test directory to reduce sys.path pollution
|
||||
# https://github.com/ipython/ipython/issues/12892
|
||||
mv IPython/extensions/{,ipython_}tests || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
emake -C docs html_noapi
|
||||
HTML_DOCS=( docs/build/html/. )
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x IPYTHON_TESTING_TIMEOUT_SCALE=20
|
||||
local EPYTEST_DESELECT=(
|
||||
# Internet
|
||||
IPython/core/display.py::IPython.core.display.Image.__init__
|
||||
# TODO: looks to be a regression due to a newer dep
|
||||
IPython/core/tests/test_oinspect.py::test_class_signature
|
||||
IPython/core/tests/test_oinspect.py::test_render_signature_long
|
||||
)
|
||||
[[ ${EPYTHON} == python3.10 ]] && EPYTEST_DESELECT+=(
|
||||
# TODO
|
||||
IPython/core/tests/test_completer.py::TestCompleter::test_all_completions_dups
|
||||
IPython/core/tests/test_completer.py::TestCompleter::test_deduplicate_completions
|
||||
)
|
||||
epytest || die "Tests failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
|
||||
# Create ipythonX.Y symlinks.
|
||||
# TODO:
|
||||
# 1. do we want them for pypy? No. pypy has no numpy
|
||||
# 2. handle it in the eclass instead (use _python_ln_rel).
|
||||
# With pypy not an option the dosym becomes unconditional
|
||||
dosym ../lib/python-exec/${EPYTHON}/ipython \
|
||||
/usr/bin/ipython${EPYTHON#python}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "code formatting" dev-python/black
|
||||
optfeature "sympyprinting" dev-python/sympy
|
||||
optfeature "cythonmagic" dev-python/cython
|
||||
optfeature "%lprun magic command" dev-python/line_profiler
|
||||
optfeature "%mprun magic command" dev-python/memory_profiler
|
||||
|
||||
if use nbconvert; then
|
||||
if ! has_version app-text/pandoc ; then
|
||||
einfo "Node.js will be used to convert notebooks to other formats"
|
||||
einfo "like HTML. Support for that is still experimental. If you"
|
||||
einfo "encounter any problems, please use app-text/pandoc instead."
|
||||
fi
|
||||
fi
|
||||
}
|
|
@ -1,2 +1,3 @@
|
|||
DIST kiwi-1.4.0.tar.gz 92361 BLAKE2B 773da71557d4c9fcd7778fa1771a1c52d0ca6aa4d698a33467a5a3fac8fd4bd3135aec9e836c96c4c18b2873e17743ce5cbc79c5dd1ea189f28adadcf2030e51 SHA512 6f69e232d5620be5f316d273066a1f8a78ebbef2dd8ee1ba56a2a57581fcc0c985fb0a51e6cca8436bcfeb51c4a95a865cde408c497bdec9c7e025f030744f54
|
||||
DIST kiwi-1.4.1.tar.gz 91319 BLAKE2B ac8d9cf1e8960f436566e2ff8d589ff6707fc4458299bc33ff96387c36246d583e67ef84610b710b3d9364d8a4ae963577b4abfc3ddbfc18a417f956512479d9 SHA512 7178f26c96ebf4a173b563bc95d2a07a9f75b618fc953aa0d45a8c2719cf868e4409ad2c95280704ee593fc99d9e2c83b0628940b3571d1be712241464a9cd6d
|
||||
DIST kiwisolver-1.3.2.tar.gz 89075 BLAKE2B 729880e3b18ac8c6c3e48d2fb32f00b4232118eb753f60837c7736c75a0f22e7a259aec46b76bc91286541847929eb4a92fcf9991650dea16d263f4d16beffc1 SHA512 e9ef20756df587b49f7b8e52ff388db6e2e551548ae7d60b6916586fb35249b10bda895a7be7635b300e6100ec1c7daf7d641de6d26d9b2c36055ac6c176302b
|
||||
|
|
32
dev-python/kiwisolver/kiwisolver-1.4.1.ebuild
Normal file
32
dev-python/kiwisolver/kiwisolver-1.4.1.ebuild
Normal file
|
@ -0,0 +1,32 @@
|
|||
# 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} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=kiwi-${PV}
|
||||
DESCRIPTION="An efficient C++ implementation of the Cassowary constraint solving algorithm"
|
||||
HOMEPAGE="https://github.com/nucleic/kiwi/"
|
||||
SRC_URI="
|
||||
https://github.com/nucleic/kiwi/archive/${PV}.tar.gz -> ${MY_P}.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Clear-BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/cppy-1.2.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-python/setuptools_scm-3.4.3[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 2021 Gentoo Authors
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
@ -13,7 +13,7 @@ SRC_URI="https://github.com/wireservice/leather/archive/${PV}.tar.gz -> ${P}.gh.
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
KEYWORDS="~amd64 ~riscv"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/cssselect[${PYTHON_USEDEP}]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
@ -13,6 +13,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
KEYWORDS="amd64 ~riscv x86"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
@ -12,7 +12,7 @@ SRC_URI="https://github.com/coleifer/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
KEYWORDS="amd64 ~riscv"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Extension pack for Python Markdown"
|
||||
HOMEPAGE="
|
||||
https://github.com/facelessuser/mkdocs-material-extensions
|
||||
https://pypi.org/project/mkdocs-material-extensions
|
||||
"
|
||||
SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~riscv ~x86"
|
||||
|
||||
RDEPEND=">=dev-python/mkdocs-material-5.0.0[${PYTHON_USEDEP}]"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
|
@ -1,3 +1,4 @@
|
|||
DIST mkdocs-material-8.2.1.gh.tar.gz 8102602 BLAKE2B 04e8e3230d44376ace16a34d78a19c290a3c87013a2193983a60d8b8fa8bf456d407e11be250750135ad7cfe8633152e7c031c4b4e9a99093ac98885caacacca SHA512 2a79504d882360152bc130f5ee2903ed360685294e4f57ab5cb6fef6095fa6ca68da2c5d580837a30cc50e3c6f89d3b7a2ff1c62e768faa080e65d8220e43db7
|
||||
DIST mkdocs-material-8.2.2.gh.tar.gz 8217637 BLAKE2B 2186f8e5a57cd4331e916cad922c6f0f859674d3775ff80cbc4e455b23d2ad154e3b1a7044d8d8ee20148e236c8224a831d6cd58db7b005cbafa62f42ff15b48 SHA512 fe5aef449793ed0137a122f7b00e9700ff4e142fe24d23600ec113eff1c2e939da9548d5098187839ff2d56e562c641b2bf24d41ec9accb984c85ced36c21782
|
||||
DIST mkdocs-material-8.2.5.gh.tar.gz 8229554 BLAKE2B 7c41595b8fde073bcced12a0087b3b5303c141a27762d9c7c2698bd52ca31862c629a0562c1eab4f4dfabdc6730ce84557361c6f499c736e4ffbbe7e32a28d0a SHA512 1b648c1318071cd72d7f9721fa93d7546f0fadd515c2f0aa61673abb516c5efb3b694df33f2048af00a7ed9399c72bdbacd1966681d34ecf201494807a5a58b7
|
||||
DIST mkdocs-material-8.2.8.gh.tar.gz 8304608 BLAKE2B ff44912e812a32c7bc99fb7a07178864a952ecfbe953fe8e4d06188e2cf79f87276a881aeba1b2e5b5c290b4e12afa72761b35988290b7039163c643ec51c154 SHA512 fd2308f78c2dfff81d917f958903fee44fdd214a209464c4279d399812a686a26084e40367b0809889f682adfe5d1fe3b4707dc206621f3aa216be59e13d5d0a
|
||||
|
|
41
dev-python/mkdocs-material/mkdocs-material-8.2.8.ebuild
Normal file
41
dev-python/mkdocs-material/mkdocs-material-8.2.8.ebuild
Normal file
|
@ -0,0 +1,41 @@
|
|||
# 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} )
|
||||
|
||||
DOCS_BUILDER="mkdocs"
|
||||
DOCS_DEPEND="
|
||||
dev-python/mkdocs-material-extensions
|
||||
dev-python/mkdocs-minify-plugin
|
||||
dev-python/mkdocs-redirects
|
||||
"
|
||||
|
||||
inherit distutils-r1 docs
|
||||
|
||||
DESCRIPTION="A Material Design theme for MkDocs"
|
||||
HOMEPAGE="
|
||||
https://github.com/squidfunk/mkdocs-material
|
||||
https://pypi.org/project/mkdocs-material
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~riscv ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/jinja-2.11.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/markdown-3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/mkdocs-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygments-2.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/pymdown-extensions-9.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
# mkdocs-material-extensions depends on mkdocs-material creating a circular dep
|
||||
PDEPEND=">=dev-python/mkdocs-material-extensions-1.0.3[${PYTHON_USEDEP}]"
|
|
@ -1 +1,2 @@
|
|||
DIST mkdocs-1.2.3.tar.gz 6919177 BLAKE2B 43ff118149a497dd366f7132487564be51ffeaff644a519c7bf9e52a3e3239e9696c21616e5d7494f7c4af8ee60ec77f27fd15e80f5c5c6c1b2db4cf1f672e44 SHA512 03385bc940df8a6b3668300f3752afe973b95f149bee58217ace82063aacb661dbd000a2a7a383c4804434473c3945cec3cb41d6608388350da3098c32709541
|
||||
DIST mkdocs-1.3.0.tar.gz 4085674 BLAKE2B e34605c2d1122ff86ed5cfb6134cdda67450e8f32d7628626ff4ac8c36c45b127312ad693efe35237b714adb9efd244f12f90cf8ecacf6009b75786db30ebb1b SHA512 d33d728eaff4e39106c1187cf04f579706ce28af364852c67706ab85f6b9ccdcd26ae84cd4d5ea7572e52fde1d1137eb3e424679dd4c8ef043c9637aac062270
|
||||
|
|
78
dev-python/mkdocs/mkdocs-1.3.0.ebuild
Normal file
78
dev-python/mkdocs/mkdocs-1.3.0.ebuild
Normal file
|
@ -0,0 +1,78 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Project documentation with Markdown"
|
||||
HOMEPAGE="https://www.mkdocs.org https://github.com/mkdocs/mkdocs"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~riscv ~x86"
|
||||
|
||||
IUSE="doc"
|
||||
|
||||
BDEPEND="
|
||||
doc? (
|
||||
$(python_gen_any_dep '
|
||||
dev-python/mdx_gh_links[${PYTHON_USEDEP}]
|
||||
dev-python/mkdocs-redirects[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/Babel-2.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/click-3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-2.10.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/markdown-3.2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/watchdog-2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ghp-import-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml_env_tag-0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/importlib_metadata-3.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-20.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/mergedeep-1.3.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests nose
|
||||
|
||||
python_prepare_all() {
|
||||
# Tests fails if additional themes are installed
|
||||
sed -i -e 's:test_get_themes:_&:' \
|
||||
mkdocs/tests/utils/utils_tests.py || die
|
||||
|
||||
# Skip this network test, "does not appear to be an IPv4 or IPv6 address"
|
||||
sed -i -e 's/test_IP_normalization/_&/' \
|
||||
mkdocs/tests/config/config_options_tests.py || die
|
||||
|
||||
# livereload has been dropped in this release, this test is a remnant
|
||||
rm mkdocs/tests/livereload_tests.py || die
|
||||
|
||||
# fix apparent typo in test (importing wrong thing)
|
||||
sed -i -e 's/from localization import/from mkdocs.localization import/g' \
|
||||
mkdocs/tests/theme_tests.py || die
|
||||
|
||||
# Does not work in emerge env
|
||||
sed -i -e 's/test_paths_localized_to_config/_&/' \
|
||||
mkdocs/tests/config/config_options_tests.py
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
default
|
||||
if use doc; then
|
||||
# cannot just do mkdocs build, because that fails if
|
||||
# the package isn't already installed
|
||||
python -m mkdocs build || die "Failed to make docs"
|
||||
# Colliding files found by ecompress:
|
||||
rm site/sitemap.xml.gz || die
|
||||
HTML_DOCS=( "site/." )
|
||||
fi
|
||||
}
|
|
@ -1,3 +1,4 @@
|
|||
DIST mkdocs_pymdownx_material_extras-1.0.7.tar.gz 17995 BLAKE2B a7a8715ec07b9ef5551eadb37e618f45ca2f8f3c707aa5269eb7d2587db70ba29cfaa8027bb606c4264bbf93d7b3950d7a5dc03640b71afc677658b044d064fa SHA512 33fe8fddd0ee5856fdfb02068e2698f26a8db139458d7736715b776fbc2d8ae8ccb3170dbb786c52338e4e7a1612006046eb429f2268469f6f2bb5ba7f8e256d
|
||||
DIST mkdocs_pymdownx_material_extras-1.1.3.tar.gz 40029 BLAKE2B faa17e6e4d27a5d5e34a98a6830e34b934f8623fafb87a73051eb424cf95d29c5dd185bbfbbe49dd3e93eeee00a8310ac0543d480ab70e5abee4047b1cecc774 SHA512 340818ebcd8f9cf175e5049028d0932a0d6208de3d8f86cf5ea47747680079c6b9b3bf27e0c32ee10ee6a1bc7ab8ffc6cc3aa48470be43ed32adfde74f44d5dd
|
||||
DIST mkdocs_pymdownx_material_extras-1.6.tar.gz 25764 BLAKE2B d28f98f82818aaaf81d70b80ed656d94f2454e366d1ebdf6ed6448adac112f6f5876ae43f791c29aab5d7f2da1d48f67d413f7e9dab57f1a85a497317fed36b0 SHA512 b815d773476d6a5a76c7a483907164870e37cfec31dc3a3596ccf21f4f93b8ea1ca52654cd1dfc64df67380e1c6f4dccb1d6534fa6425fb29cf0654f9cb094e1
|
||||
DIST mkdocs_pymdownx_material_extras-2.0.2.tar.gz 25789 BLAKE2B c1da5c38264e9186802e24a49c2c46f1f0da70640c3e806f26cb19f1f947b3eb5bdba31cc722fd566d40643504aa63adb8f59792c51be95f4baa2324cd0729f2 SHA512 fffc5982ef7127b2e990d9206de0f09e240250da2d56c1efed6e841dad759980300209f65faa0edf61bb1a882ebff367be6533fb3f47e7ebb606520def6143dc
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
# 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} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Custom alterations based on Mkdocs-Material"
|
||||
HOMEPAGE="
|
||||
https://github.com/facelessuser/mkdocs_pymdownx_material_extras
|
||||
https://pypi.org/project/mkdocs-pymdownx-material-extras"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~riscv ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/mkdocs-material-5.0.2[${PYTHON_USEDEP}]
|
||||
"
|
|
@ -1,3 +1,4 @@
|
|||
DIST moto-3.0.5.tar.gz 2219507 BLAKE2B 019e0f66d8a183f9d758c372252488e79692e140db19820b568279148d88181b944f547d3a213072a29fb61115b73b40b656d3a0657078c54ca1c6de001c65ab SHA512 0529711897a25ff969bf945abfda9e86ab0a310b6b273240b35c981960e04ed14f879a4a86e2251f9824d1d5bc9241afe4a0b964981c8a02a176bca459025359
|
||||
DIST moto-3.1.1.tar.gz 2236948 BLAKE2B 8ab52a59dc09f4819c1169d26fd198b13159635c2571fd27e38eaedc0a83fa5e7af0a7adba90db1c48658a849ff0b17e8d9c9750a47c6981960ac786f3d9a4e0 SHA512 2354886a9b3b46bb33b832495a94f1dcd10cf5cb00454b6e8b6b6838618842ca06f8577c1826bca02a10e2f723cf474a7c492cd9fb587bdb660deb118c17aa4d
|
||||
DIST moto-3.1.2.tar.gz 2245068 BLAKE2B f25a4476bfbbbd3cab77efc1ef2ceeb74b2b7ee9067aac4a02f90c6fd385c5ed0d66d3fd8171945e22dcd78555c9fdbec78656109b9f61fd15950c44b456d4ea SHA512 51dfef58069f09b4654aa59bef2ee0426c0e662af51d78013c19671b664ade78d2c664c20f19592236808ba7bcc50613700232e87be1ac8dcead4be2df36d39b
|
||||
DIST moto-3.1.3.tar.gz 2246198 BLAKE2B 935271da2b09b160c7ed8c8b1e2466b352d879c7b8bbe4406a410c301f9659fde3187ed76f2ad6695c79a667a44c698570dcb30206a0fe0b525a5e5bef72f40c SHA512 20963f9a1a99a2ac1654660284b3cb60439538da0d363baba92e813dd3c7bde815c125bc39cd1cf5c0cd883fba024dfda85b7e98a54141ad3e25311986c68c9a
|
||||
|
|
84
dev-python/moto/moto-3.1.3.ebuild
Normal file
84
dev-python/moto/moto-3.1.3.ebuild
Normal file
|
@ -0,0 +1,84 @@
|
|||
# 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} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Mock library for boto"
|
||||
HOMEPAGE="https://github.com/spulec/moto"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}]
|
||||
dev-python/boto[${PYTHON_USEDEP}]
|
||||
dev-python/cfn-lint[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}]
|
||||
dev-python/cookies[${PYTHON_USEDEP}]
|
||||
>=dev-python/docker-py-2.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/idna-2.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-2.10.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}]
|
||||
dev-python/boto3[${PYTHON_USEDEP}]
|
||||
dev-python/botocore[${PYTHON_USEDEP}]
|
||||
dev-python/flask[${PYTHON_USEDEP}]
|
||||
dev-python/flask-cors[${PYTHON_USEDEP}]
|
||||
dev-python/more-itertools[${PYTHON_USEDEP}]
|
||||
dev-python/pretty-yaml[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/python-jose[${PYTHON_USEDEP}]
|
||||
dev-python/python-sshpubkeys[${PYTHON_USEDEP}]
|
||||
>=dev-python/responses-0.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.5[${PYTHON_USEDEP}]
|
||||
dev-python/xmltodict[${PYTHON_USEDEP}]
|
||||
dev-python/werkzeug[${PYTHON_USEDEP}]
|
||||
dev-python/zipp[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
dev-python/responses[${PYTHON_USEDEP}]
|
||||
>=dev-python/sure-1.4.11[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
tests/test_firehose/test_firehose_put.py::test_put_record_http_destination
|
||||
tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination
|
||||
tests/test_swf/responses/test_decision_tasks.py::test_respond_decision_task_completed_with_schedule_activity_task_boto3
|
||||
tests/test_swf/responses/test_timeouts.py::test_activity_task_heartbeat_timeout_boto3
|
||||
tests/test_swf/responses/test_timeouts.py::test_decision_task_start_to_close_timeout_boto3
|
||||
tests/test_swf/responses/test_timeouts.py::test_workflow_execution_start_to_close_timeout_boto3
|
||||
# broken code (local variable used referenced before definition)
|
||||
tests/test_appsync/test_appsync_schema.py
|
||||
# Needs network (or docker?) but not marked as such, bug #807031
|
||||
# TODO: report upstream
|
||||
tests/test_batch/test_batch_jobs.py::test_terminate_job
|
||||
tests/test_batch/test_batch_jobs.py::test_cancel_pending_job
|
||||
tests/test_batch/test_batch_jobs.py::test_cancel_running_job
|
||||
tests/test_batch/test_batch_jobs.py::test_dependencies
|
||||
tests/test_batch/test_batch_jobs.py::test_container_overrides
|
||||
tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed
|
||||
tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function
|
||||
tests/test_sqs/test_integration.py::test_invoke_function_from_sqs_exception
|
||||
tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_exception
|
||||
)
|
||||
|
||||
# pytest-django causes freezegun try to mangle stuff inside django
|
||||
# which fails when django is not really used
|
||||
epytest -p no:django -m 'not network'
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
KEYWORDS="amd64 ~riscv ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ SRC_URI="https://github.com/Kozea/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|||
|
||||
LICENSE="LGPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
KEYWORDS="~amd64 ~riscv ~x86"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
|
|
|
@ -19,7 +19,7 @@ S=${WORKDIR}/${MY_P}
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
KEYWORDS="amd64 ~riscv x86"
|
||||
|
||||
RDEPEND="dev-libs/icu:="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
DIST pylint-2.12.2.gh.tar.gz 1032702 BLAKE2B de7dce04159b332baa5c23f4034ee249e49f9239c5c9190213a51a84a47ac2129f8a2265e1ad9c01ab448ec58f4f36653c6de5b0be6bfdf6aa286c8887313759 SHA512 0d2b9b785371af0a1c809271153abbab58f50455b34f12370461ded2c4f3d62656e4c0391adff48e179b95da945a2f44e762863e2b7d63808976bf5f684e20d2
|
||||
DIST pylint-2.13.0.gh.tar.gz 1114326 BLAKE2B 2d99ae38474a13ecf0b306b2de445b93ef39c4ed286abdbc62e08580b34ea22615983bded024f87eb4ad5e9cfdd12edbab6e7bf841d4e7827c945e798f31771f SHA512 7ca5fdf6d5835886ae01937fad56319cc9b71248d7a8aa6c6d92ba4bf5d35340ec0a16c1b2029d1ca5170f8c3abd29b1d6915a415d5df3c0949f4f9c0d6a690c
|
||||
DIST pylint-2.13.1.gh.tar.gz 1116054 BLAKE2B 633636f97e284a8a93c598261b90019ea359fd61cf2e833936749a6a650098772c46008f465b118634cfa3cc8d873d9bbdd7d4b0e54621e47b7c33a33938b01d SHA512 9e5f6f2578d240a4984e00fd9e9a33a39bac4855060054f96c4414d8e1c6c16cd6a27d4d5e82fde52f91b2d25595d638e66e928c82aa3eb72a37c61f7aa6e038
|
||||
DIST pylint-2.13.2.gh.tar.gz 1116482 BLAKE2B da35c9f39781bbd796e2ec055b41c44211588d7da360fd27f81eef57a3f5c65e27931ca927b41692627c9914f5c28e3262c0f34a45c38b20aa1b83710ab1d1f1 SHA512 15274658cf3067ffa6635a94f2c75d8854b3843be45ea5dc5896bc12583b156428858baeed19eed4bfab35489326d70d0cce1375354d9ec97d00cfd895fc4a47
|
||||
|
|
82
dev-python/pylint/pylint-2.13.2.ebuild
Normal file
82
dev-python/pylint/pylint-2.13.2.ebuild
Normal file
|
@ -0,0 +1,82 @@
|
|||
# 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} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python code static checker"
|
||||
HOMEPAGE="
|
||||
https://www.logilab.org/project/pylint
|
||||
https://pypi.org/project/pylint/
|
||||
https://github.com/pycqa/pylint/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/pycqa/pylint/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~ppc ~riscv ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
# Make sure to check https://github.com/PyCQA/pylint/blob/main/setup.cfg#L43 on bumps
|
||||
# Adjust dep bounds!
|
||||
RDEPEND="
|
||||
<dev-python/astroid-2.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/astroid-2.11.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/dill-0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/isort-4.2.5[${PYTHON_USEDEP}]
|
||||
<dev-python/isort-6[${PYTHON_USEDEP}]
|
||||
>=dev-python/mccabe-0.6[${PYTHON_USEDEP}]
|
||||
<dev-python/mccabe-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/tomli-1.1.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
' 3.8 3.9)
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/GitPython-3[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.4.4-sphinx-theme.patch"
|
||||
)
|
||||
|
||||
distutils_enable_sphinx doc --no-autodoc
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# No need to run the benchmarks
|
||||
tests/benchmark/test_baseline_benchmarks.py
|
||||
|
||||
# TODO
|
||||
'tests/test_functional.py::test_functional[forgotten_debug_statement_py37]'
|
||||
'tests/test_functional.py::test_functional[dataclass_with_field]'
|
||||
tests/checkers/unittest_typecheck.py::TestTypeChecker::test_nomember_on_c_extension_error_msg
|
||||
tests/checkers/unittest_typecheck.py::TestTypeChecker::test_nomember_on_c_extension_info_msg
|
||||
)
|
||||
# Specify the test directory explicitly to avoid import file mismatches
|
||||
epytest tests
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use examples ; then
|
||||
docompress -x "/usr/share/doc/${PF}/examples"
|
||||
docinto examples
|
||||
dodoc -r examples/.
|
||||
fi
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
|
@ -1,2 +1 @@
|
|||
DIST pyopencl-2021.2.13.tar.gz 452397 BLAKE2B 8764fe1caf14e73b39aa455e7ea9e00b1733df4ef0d21fd1e2b6383db60eae33a1e1569d71dbd56617dc463e31426e3814cfe0201f8c891293fb32f4fad6a96e SHA512 16b527f69d4fa8bb8dd16cea67e7403893c813c625e0eb1f465fa8a94c9e4a878a5d5d589592b017bb548e1ff7ec5c36c79acd3cb55dee57592ca360a524ac7c
|
||||
DIST pyopencl-2022.1.tar.gz 452537 BLAKE2B 0d4d178a6bdf14dc3769dcb78c42bc894c0a443a6811fe9b25dedbc4a43debc06d1a1c32cb2a0df06fe16d1b2e78e65ef4f3ca8e9931be39384b3c8c813336de SHA512 e873807e757c19b59dbac2a0522fbb9c6e8af955d62bdcf06d8f3d792db3c9d2ce15372a6eefdca5b3f6756c35a85b5ff8d7dc1b6449bfd12c2b588576dd6f24
|
||||
|
|
|
@ -1,57 +0,0 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python wrapper for OpenCL"
|
||||
HOMEPAGE="https://mathema.tician.de/software/pyopencl/
|
||||
https://pypi.org/project/pyopencl/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
IUSE="examples opengl"
|
||||
|
||||
DEPEND=">=virtual/opencl-2"
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mako-0.3.6[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytools-2021.2.7[${PYTHON_USEDEP}]"
|
||||
# libglvnd is only needed for the headers
|
||||
BDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
|
||||
>=dev-python/pybind11-2.5.0[${PYTHON_USEDEP}]
|
||||
opengl? ( media-libs/libglvnd )"
|
||||
|
||||
# The test suite fails if there are no OpenCL platforms available, and
|
||||
# even if there is one (which requires the presence of both an OpenCL
|
||||
# runtime *and* hardware supported by it - simply emerging any runtime
|
||||
# is not enough) the vast majority of tests end up skipped because by
|
||||
# default the portage user hasn't got sufficient privileges to talk
|
||||
# to the GPU.
|
||||
RESTRICT="test"
|
||||
|
||||
python_configure_all() {
|
||||
local myconf=()
|
||||
if use opengl; then
|
||||
myconf+=(--cl-enable-gl)
|
||||
fi
|
||||
|
||||
"${EPYTHON}" configure.py \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
|
@ -1,2 +1 @@
|
|||
DIST pyopengl-227f9c66976d9f5dadf62b9a97e6beaec84831ca.gh.tar.gz 3296655 BLAKE2B 74aca52a9566eb667a36e4e75470da8eca0d4aaa42dce246bcfc4b28e3581235ca6119efaadafa4354c915046931d30bf0b2cd2d0fffb9d87611468a34704b24 SHA512 dad3b4377708d7c7331384e0b3aa3ca69ac943bb22e4136f93b7790092e29ee4cdc254295bd9243203981834bc22a7a02163523177b7f7c581f9384d55ee13c8
|
||||
DIST pyopengl-3.1.5.gh.tar.gz 3287132 BLAKE2B a1d683715f4a57c0374cac827e7bd9c93ca303ac578f50a71edff983c6bf3c32858be454bf6ac00f757c52a0adc3b7df7f03181abf69304ed3621d168f2166d8 SHA512 66a6e07b4cee4d80d5b01cd6a506b54995e499611979f8a02fef76d95d6178fe9644fa4ad794812599be0aad293424be980f4a9d47480983503e09887250560d
|
||||
|
|
|
@ -1,32 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
|
||||
inherit distutils-r1 virtualx
|
||||
|
||||
DESCRIPTION="Accelerate module for PyOpenGL"
|
||||
HOMEPAGE="
|
||||
http://pyopengl.sourceforge.net/
|
||||
https://github.com/mcfletch/pyopengl/
|
||||
https://pypi.org/project/PyOpenGL-accelerate/"
|
||||
# pypi archive is missing tests
|
||||
EGIT_COMMIT="02d11dad9ff18e50db10e975c4756e17bf198464"
|
||||
SRC_URI="
|
||||
https://github.com/mcfletch/pyopengl/archive/${EGIT_COMMIT}.tar.gz
|
||||
-> pyopengl-${PV}.gh.tar.gz"
|
||||
S=${WORKDIR}/pyopengl-${EGIT_COMMIT}/accelerate
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/pyopengl[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
|
@ -15,7 +15,7 @@ S=${WORKDIR}/${P^}
|
|||
|
||||
LICENSE="GPL-2+ LGPL-2+ MPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
KEYWORDS="amd64 ~riscv x86"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ SRC_URI="
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc64 x86"
|
||||
KEYWORDS="amd64 ~ppc64 ~riscv x86"
|
||||
|
||||
RDEPEND="dev-python/text-unidecode[${PYTHON_USEDEP}]"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 2021 Gentoo Authors
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
@ -12,7 +12,7 @@ HOMEPAGE="https://github.com/wroberts/pytimeparse https://pypi.org/project/pytim
|
|||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
KEYWORDS="~amd64 ~riscv"
|
||||
|
||||
python_test() {
|
||||
local unittest_args=(
|
||||
|
|
21
dev-python/reportlab/files/reportlab-3.6.9-paths.patch
Normal file
21
dev-python/reportlab/files/reportlab-3.6.9-paths.patch
Normal file
|
@ -0,0 +1,21 @@
|
|||
Disable broken logic for finding freetype2 that hits symlink loops.
|
||||
|
||||
diff -dupr reportlab-3.6.9.orig/setup.py reportlab-3.6.9/setup.py
|
||||
--- reportlab-3.6.9.orig/setup.py 2022-03-28 10:13:33.892516135 +0200
|
||||
+++ reportlab-3.6.9/setup.py 2022-03-28 10:49:11.048573739 +0200
|
||||
@@ -737,13 +737,10 @@ def main():
|
||||
else:
|
||||
FT_LIB=FT_LIB_DIR=FT_INC_DIR=FT_MACROS=[]
|
||||
else:
|
||||
- ftv, I, L = inc_lib_dirs('freetype')
|
||||
FT_LIB=['freetype']
|
||||
- FT_LIB_DIR=L
|
||||
- FT_INC_DIR=I
|
||||
+ FT_LIB_DIR=[]
|
||||
+ FT_INC_DIR=['/usr/include/freetype2']
|
||||
FT_MACROS = [('RENDERPM_FT',None)]
|
||||
- infoline('installing with freetype version %s' % ftv)
|
||||
- infoline('FT_LIB_DIR=%r FT_INC_DIR=%r' % (FT_LIB_DIR,FT_INC_DIR))
|
||||
if not FT_LIB:
|
||||
infoline('# installing without freetype no ttf, sorry!')
|
||||
infoline('# You need to install a static library version of the freetype2 software')
|
|
@ -33,6 +33,10 @@ BDEPEND="
|
|||
app-arch/unzip
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/reportlab-3.6.9-paths.patch
|
||||
)
|
||||
|
||||
distutils_enable_sphinx docs/source
|
||||
|
||||
src_unpack() {
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
DIST Sphinx-4.4.0.tar.gz 6690021 BLAKE2B 5f63a6a70b8fb663ff1729766183f8936c9cd3bab81437526fb099ccc2a49c2abd42b602e2fc37af79254a9c8f1238fb4c99f2659142e9b9c2c1a2bd385ac100 SHA512 f5780a7da7a5d758b0e145ab9a7f191a9c65fd3ca4624ca3a04f0d161e3cd6c7133df53ff56e42f012687cbce0460178c2e7957974b5b929b341c98db996c640
|
||||
DIST Sphinx-4.5.0.tar.gz 6698212 BLAKE2B e6c46d35492c3d3068c4f97e497d33973ca86b40934578804fcec901fa89d2c52b45a7546b835b873846dd16936c1bd34a7b053aec8206c688d974671155fd56 SHA512 b44d2a81ed67adaefe16a07ae0cf053b5e6c775023aaa6c57d7b3950f171deac410e8004f787b151c3c2fc350650aa69a4dc2dc7239d1fd3d351e5194617cb2c
|
||||
|
|
122
dev-python/sphinx/sphinx-4.5.0.ebuild
Normal file
122
dev-python/sphinx/sphinx-4.5.0.ebuild
Normal file
|
@ -0,0 +1,122 @@
|
|||
# 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 )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python documentation generator"
|
||||
HOMEPAGE="https://www.sphinx-doc.org/
|
||||
https://github.com/sphinx-doc/sphinx"
|
||||
SRC_URI="mirror://pypi/S/${PN^}/${P^}.tar.gz"
|
||||
S=${WORKDIR}/${P^}
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="doc latex"
|
||||
|
||||
RDEPEND="
|
||||
<dev-python/alabaster-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/Babel-1.3[${PYTHON_USEDEP}]
|
||||
<dev-python/docutils-0.18[${PYTHON_USEDEP}]
|
||||
dev-python/imagesize[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-2.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygments-2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/snowballstemmer-1.1[${PYTHON_USEDEP}]
|
||||
dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}]
|
||||
dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}]
|
||||
dev-python/sphinxcontrib-jsmath[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinxcontrib-htmlhelp-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinxcontrib-serializinghtml-1.1.5[${PYTHON_USEDEP}]
|
||||
dev-python/sphinxcontrib-qthelp[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/importlib_metadata-4.4[${PYTHON_USEDEP}]
|
||||
' python3_{8,9} pypy3)
|
||||
latex? (
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-luatex
|
||||
app-text/dvipng
|
||||
)"
|
||||
BDEPEND="
|
||||
doc? (
|
||||
dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}]
|
||||
media-gfx/graphviz
|
||||
)
|
||||
test? (
|
||||
dev-python/html5lib[${PYTHON_USEDEP}]
|
||||
virtual/imagemagick-tools[jpeg,png,svg]
|
||||
dev-texlive/texlive-fontsextra
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-luatex
|
||||
app-text/dvipng
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-3.2.1-doc-link.patch"
|
||||
"${FILESDIR}/${PN}-4.3.2-doc-link.patch"
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# disable internet access
|
||||
sed -i -e 's:^intersphinx_mapping:disabled_&:' \
|
||||
doc/conf.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
esetup.py build_sphinx
|
||||
HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. )
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die
|
||||
local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir"
|
||||
|
||||
local EPYTEST_DESELECT=(
|
||||
# these tests require Internet access
|
||||
tests/test_build_latex.py::test_latex_images
|
||||
tests/test_build_linkcheck.py::test_defaults
|
||||
tests/test_build_linkcheck.py::test_defaults_json
|
||||
tests/test_build_linkcheck.py::test_anchors_ignored
|
||||
tests/test_build_linkcheck.py::test_linkcheck_exclude_documents
|
||||
# TODO
|
||||
tests/test_ext_autodoc_autoclass.py::test_classes
|
||||
tests/test_ext_autodoc_autofunction.py::test_classes
|
||||
)
|
||||
[[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=(
|
||||
tests/test_build_linkcheck.py::test_connect_to_selfsigned_fails
|
||||
tests/test_ext_autodoc.py::test_autodoc_inherited_members_None
|
||||
tests/test_ext_autodoc.py::test_autodoc_typed_inherited_instance_variables
|
||||
tests/test_ext_autodoc.py::test_autodoc_typed_instance_variables
|
||||
tests/test_ext_autodoc.py::test_automethod_for_builtin
|
||||
tests/test_ext_autodoc.py::test_cython
|
||||
tests/test_ext_autodoc.py::test_partialfunction
|
||||
tests/test_ext_autodoc_autoclass.py::test_autodoc_process_bases
|
||||
tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_decendants_of_generic_type
|
||||
tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_subclass_of_generic_type
|
||||
tests/test_ext_autodoc_autodata.py::test_autodata_type_comment
|
||||
tests/test_ext_autodoc_autofunction.py::test_builtin_function
|
||||
tests/test_ext_autodoc_autofunction.py::test_methoddescriptor
|
||||
tests/test_ext_autodoc_configs.py::test_autodoc_type_aliases
|
||||
tests/test_ext_autodoc_configs.py::test_autodoc_typehints_signature
|
||||
tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module
|
||||
tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module_skipped
|
||||
tests/test_pycode_parser.py::test_annotated_assignment
|
||||
tests/test_util_inspect.py::test_isattributedescriptor
|
||||
tests/test_util_typing.py::test_stringify_type_hints_pep_585
|
||||
)
|
||||
|
||||
epytest
|
||||
}
|
|
@ -17,6 +17,6 @@ SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
|
|||
|
||||
LICENSE="|| ( Artistic GPL-2+ )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
KEYWORDS="~amd64 ~ppc64 ~riscv ~x86"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
DIST tldextract-3.1.2.tar.gz 103248 BLAKE2B 5612016be7e8cd9b75dc5225f87ebc28635d66a7cacee54af2bd8db6ed6bb26ffe6ee5b4ab9b24473f19f0ad8d9d536e24236106288cd82cf635abef81f9babd SHA512 2c2340a9142d49aa7c0db71b5a7fb1a63e19354a5da8edd7de923e55c8ec03d8a8551f4710c66d6d1aece1d0d78701229ef5ed2ed49bcce44972b7b96747bd77
|
||||
DIST tldextract-3.2.0.tar.gz 103653 BLAKE2B 74b85da2e5a8c953075636f908bd32ba825c53fbea145a691cb681596376318b63729e2c6b7291f1ef21a55fa927d48e31cf0db241bb94be47f706fb68239515 SHA512 4e0731792793eb0a6d0da8387d15e8b9de17f20108361230703fd9f66f2aaad6260073b611e27135e571b1899844b271f3dae4e77122186cc78fbb05f3b3f237
|
||||
|
|
|
@ -1,31 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Accurately separate the TLD from the registered domain and subdomains of a URL"
|
||||
HOMEPAGE="https://pypi.org/project/tldextract/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/filelock[${PYTHON_USEDEP}]
|
||||
dev-python/idna[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/requests-file[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
dev-python/responses[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
|
@ -1 +1,2 @@
|
|||
DIST tomlkit-0.10.0.tar.gz 183499 BLAKE2B b9906dea2dd8867dca0208f3ce86b3d587f8504addfe25cf29f9164f50dc12d244010df53791ed01e0e7dd16e71ad77ce22c9ea7a37a6216880059c058f112e8 SHA512 05d03ae71a1d72ca0e03276f2b2530ca9fab7d6f366166a79839c66eaa00b55abb5f70a669ecb4d762dbbd655f10e4c4a373a7683cd781ae034d0910a0c3eccf
|
||||
DIST tomlkit-0.10.1.tar.gz 183650 BLAKE2B 373ab028b60503cfb9983a969e97318a61004a8db1bafed32b775e2a26a5557f8493ea9026ac9dbeff707d198c2913c34bf25c7e424345bb6b5ea3aa211e3a4a SHA512 a5082b88a9b3832393d860258dd7584ed05788777d4c1dd98415bfb7c64acf8f77eaf18c3fcf824913d999ffa37b4481675b3fce9b8af8ef9c1be0712ad622a9
|
||||
|
|
30
dev-python/tomlkit/tomlkit-0.10.1.ebuild
Normal file
30
dev-python/tomlkit/tomlkit-0.10.1.ebuild
Normal file
|
@ -0,0 +1,30 @@
|
|||
# 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="Style preserving TOML library"
|
||||
HOMEPAGE="https://github.com/sdispater/tomlkit"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
BDEPEND="test? ( dev-python/pyyaml[${PYTHON_USEDEP}] )"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_configure() {
|
||||
# use setup.py to avoid circular dep with poetry-core
|
||||
cat > pyproject.toml <<-EOF || die
|
||||
[build-system]
|
||||
requires = ["setuptools", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
EOF
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python object model built on JSON schema and JSON patch"
|
||||
HOMEPAGE="https://github.com/bcwaldon/warlock"
|
||||
SRC_URI="https://github.com/bcwaldon/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonpatch-0.10[${PYTHON_USEDEP}]
|
||||
<dev-python/jsonpatch-2[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-0.7[${PYTHON_USEDEP}]
|
||||
<dev-python/jsonschema-5[${PYTHON_USEDEP}]"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# broken by jsonschema-4 but this package is dead and glanceclient
|
||||
# (its only dep) does not seem to be affected
|
||||
tests/test_core.py::TestCore::test_recursive_models
|
||||
)
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
@ -15,7 +15,7 @@ SRC_URI="https://github.com/miracle2k/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 x86"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
|
||||
|
||||
# dev-ruby/sass confuses the tests, they expect 'sass' as the reference
|
||||
# compiler
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
@ -15,7 +15,7 @@ S="${WORKDIR}/${MY_P}"
|
|||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
KEYWORDS="amd64 ~riscv x86"
|
||||
|
||||
distutils_enable_sphinx doc
|
||||
distutils_enable_tests setup.py
|
||||
|
|
Binary file not shown.
|
@ -3,12 +3,15 @@ DIST atty-0.2.14.crate 5470 BLAKE2B 2db856a9e898a430258f059aeaf7c844a153293e8856
|
|||
DIST autocfg-1.0.1.crate 12908 BLAKE2B 40c53cab298e4f26634c3acff3ece6a3371188d91dbf377ed664eabedcde20536edaa93daf406618f37edde019f049a6e7b9a47f627344587dbd126bee2b5e3a SHA512 630b348acb98b012e97804e6325d03c89abc22f2157762c59144c04e6c733daf550bdc7f0fe0b9f3b50e15dae8c1c3c4bdfce3d805b02f0fc987311f5332419b
|
||||
DIST bitflags-1.2.1.crate 16745 BLAKE2B 0fa6d3ce44aad7616d5cd02aad8c1d0b0fed4022650eb43067c4a72e6fc88da05442674fa51826e4858a47c9de233e1ba2229820af094197cd11bb416ceffb2b SHA512 ad89b3798845e23737a620bba581c2ff1ff3e15bac12555c765e201d2c0b90ecea0cdbc5b5b1a3fa9858c385e8e041f8226f5acfae5bbbe9925643fff2bf3f0b
|
||||
DIST cbindgen-0.20.0.crate 183277 BLAKE2B 51529b21879e3a3212fbb951b3bdd5c8c396dce53e9dbe568bfe1e752caf3060bc784909cb4b37a6e6e80d357d5a8e2bab8d10d4470563358407bceb814bb7fc SHA512 83c2b0da580f0a2fc9a74922f3c44d0e73ce0d1de8b5a3f5819c7fcf1c481df1ff0346e84c5b4c199a9364542c85fb81ece4e1deca3a6f12231a4478f76a7c02
|
||||
DIST cbindgen-0.21.0.tar.gz 196398 BLAKE2B 8d8463cb499425be02280e1b1531ff4815e5fa516c145a2e102cce1ec7d475bc80fc9f5db7596a6aa5738ce0ab2c625f508d24862c4a9ef3b381c67c39983404 SHA512 db58da1417b32dd43cca5a2d9de1d065805d478adc707b74167f0ff46ea7be8b14d77f830a4f19340c08bfd281edd637c4ea990d20e1c2c6d301d803d93b0397
|
||||
DIST cfg-if-0.1.10.crate 7933 BLAKE2B 063a96ed176f34f788666b40adc483d147fc011dee941ab60569ddd0e57502b5dd06ed71090f4e14ce005d06e240500a286f74652615e9d068fba649610d8cf8 SHA512 9d22616bfb4a75770a828a0a3cddac6787297a5fdc53eb17e25811cc94de717f2de8bd66d53c5d65ba1c83d8892aefee5ae758cf56a1ef0a0c3120f70b244339
|
||||
DIST clap-2.33.3.crate 201925 BLAKE2B bec9c866481c5b3fddeb314f68af9bce38fc421e42816182de3209e8ea3447b72cf033e6251eea27fe974eff8085b7d98cdd2911b5cc0ec6b4bf4c750deb8a25 SHA512 3eb0fd648e2e3f9e5ff69a5e6cf0d867304fe18523accd036f28a86de368e4774088a6936c108ccc045092c539fe7f7494ea96420ebf6b4bec16880cea84bedf
|
||||
DIST clap-3.1.6.crate 202211 BLAKE2B 9fbd6d5ad8442118716e01c10ec9388644ef6e5621019a1245ae937324265b96d50aa70777d149daeea6f812ee05414623f938a056c38a201d9f6ee0b98bded5 SHA512 397c277eeb9acafc1098f6b6aa7e428cf7c7016356a99139dbff66dd6c6e12434b14a457679fd99ea50c1fb0b54b9b96bad65f1198025986835810484e542824
|
||||
DIST cloudabi-0.0.3.crate 22156 BLAKE2B e12054fd474754031f8f5038d5e2829e1586db974d38230cfd8774db591a58dfdcaea9fb61fc0b35366889d348b2c73ceaabbb462f1abeeffeaab167013c986f SHA512 691ed793e9b35ba382f03897f4c0efc31a528394862a27b814ba8993ad30bbe0ebc9808484baf580e8b69d9c13ad1612776a1efd0f6981545b420139ff83592c
|
||||
DIST getrandom-0.1.15.crate 24786 BLAKE2B 868817d62ee44fa5bbf54f9af0bd71a29503f92bc93e190a834f4ebdb8eb73dd29e175c661f9964298987949c0b82a53e99080cbe4090fc9c5453daea4b05595 SHA512 b26d9558554058f8a54b03f56f488db5ebad2d5cc84f737e489f8f532f8464ef9038d104173eb30acca61caa1f99e1ce267bc493c01ba1611b829e0a090cc87f
|
||||
DIST hashbrown-0.9.1.crate 77734 BLAKE2B d59002253112cf92173c3c1b305fd03fb7318ef187d7e033433baf6a354db046d1f3fe0387b3cf500fbcc0f83d2b2076527ba7cda2695f7627eca0bc3e3487c1 SHA512 dfa4742111f6fe757b7fa97f04c7b4a78ce9708c87e8e09ecf3c28f2566e48af9885fda380ed918cec37b5c696110fbdd30273aba6e7d2221c9e65f72af064fd
|
||||
DIST heck-0.3.1.crate 54666 BLAKE2B 99f7ceb44ea6af445749989730ce1e14156018ff046a136be2e6474b285088e1d90d6f8af9352affbbde5bac7e5a32971dd99f249f968105e9793b7de76def07 SHA512 134722192c46fd64b38d2fbec3a2511c560916e906491a72c4ec9d99b9f716dc58942fb99cac99b9a6ef2de5b5ad1d1c1155f292d091401b6873347d80c086d6
|
||||
DIST heck-0.4.0.crate 11161 BLAKE2B 13b8bc39cf3ab90e71433e3c7b3e5f1c19404bec58dc4298dca05d94d5c14c2fc97350de737cb78aa45196b1241aa8f1ccf3a11ca309da5fe0f6a657673412b3 SHA512 33bdbf4ff9ecc4f4d74cf06590e056f4d96bf0d990d5381b9da5b65682b2495ed74e27b45419c2afa986c1f6200909d5175b137ae73ced5cc8ac869e4e1bce8f
|
||||
DIST hermit-abi-0.1.16.crate 9889 BLAKE2B 1d1681d484019adb9c27336ef87fe9680c18a57de71ca9bb3022878411ce8f933bcb0f5d03f190425039a53a427ecbe75f8eea654661340ebbc165fbb61322b8 SHA512 b9aa336e195fdbb3c1a1fc7167f3efd284c2c3ab0613ec47f07b5cf5865b56cac3aa0da4936f6a336f036993344126b3d872875c362c516e0ca538d8e36195f9
|
||||
DIST indexmap-1.6.0.crate 47565 BLAKE2B 4b2c50788be5c5416973133c10caf092468444af6c101eceb5d2f53ec3502d73c034205186974efb335a1d8aa9a797b191a871fcfd573251c95ad1d13c0c47cc SHA512 f91c0d3588da037a2dc728c9cd823b4acf7edfbe7d59b28dbe1f5802294f2677eacf0ccea41235daa30b3d8187a97938653a040d8c9d2d38513440b2e82fd85e
|
||||
DIST itoa-0.4.6.crate 12167 BLAKE2B a0ab539cfdaca0a61fc55afdb74ef3231d300452fabbc747cac16a51ec74b4ad5c877e2b2a35f3087693c7eb55b5c389b5bc037b960733ab2afa36ff781591c2 SHA512 9085ad30313a2904fc60a85afed99c7388a345ed50c988f4e7307b23b5f38b14bc9ff64edf02b85fda6c363e035ac314241d5dba4a6e2dcfef3d2648cadb9692
|
||||
|
@ -16,6 +19,8 @@ DIST lazy_static-1.4.0.crate 10443 BLAKE2B 25b2e61bbac48f0dcbc79c81d7bf01f2403d8
|
|||
DIST libc-0.2.77.crate 507233 BLAKE2B f02ee13e41dfa6317a6cf7f0724f891cc9f98a68cd25e865e744ebbe49d93c86f16c2fd71ef4410ff28e0b386c5b4dff605c1236db83bdb91292ae48d0900782 SHA512 1e6dbd6f646a50fffd294ea56146c42dec6c4e027f2cd886ce2bbab9a5a2d036e4787f95201c448bef9ceddd52d863153c849343791d92900bf1378fbacee0f7
|
||||
DIST lock_api-0.3.4.crate 18750 BLAKE2B 1aa7cb716efa665df7b09ee8d95c9fe0ef7ec108d89348e413e78e3af4d6274a49530ac03d5438a503a7c6dcfe20973c1c040d79b6cf228c5a15696a1caa4a8c SHA512 1517ec7cb1f9012da78be866e026be40465cc9befbbfff4a5f644ec19653baab6b171323c3fb8ef218df4a7bc4b305e42a6b9d6849654d0542a1c2dc8fe11fd8
|
||||
DIST log-0.4.11.crate 36276 BLAKE2B 728647c829e96cb4fc795682facceebec887508e1ca14f13c0e7984db8ac39b3045885d1daa2f335de3e8f25c5cf1b519a1e7c8c6f4160a716bb8e39d085009f SHA512 e216fcb3c9635d8c4b67b05c1ada1e5de4e99dce89ab4c8f8033ddce6ac488605d8af09f93c42d25ebf8844feea22c93b71682e77a368ee01c686a15133fdeec
|
||||
DIST memchr-2.4.1.crate 64977 BLAKE2B 31479718c118093b684bed946eae0706d77d9d275bd49f5aeff4de490f479abd60c7dc462150eafffc6d6fc1da0853123b78be038826b775d2a41a4c39d93ab5 SHA512 d8912e3902a2126f86159bdc998532a2890b882cbb7d59b5a470fffcad4c32281e045f2fff48a235aa4189f1928866bf3d33b699d50866ad6b6c272bba7adb11
|
||||
DIST os_str_bytes-6.0.0.crate 21046 BLAKE2B 9d2a9f47aac852ca2e27e63a22c7267e1a4affde2277d50e128b54f377758322f07ca7263478c39c91e11a2b32b0e7a5fc5ba1b31e0ee014b412a4151642e605 SHA512 d2d3741a1190092cf251e035d2c55a7d022d99512160ed4ddccccb44ca85f664f94f8a937a76eff88581b593e2ebaddab6e753009f3046a8a2ebf451418e41d8
|
||||
DIST parking_lot-0.10.2.crate 39536 BLAKE2B f5d78c5c7ddbb51e694b93b39a3d06b71de92d903d944e17205b853de4d1275622c76aec17cc362da8f3b601fb7df64636b1ee7c7dadff653fa187abfd3df76f SHA512 fcbc057e3c59a51d3b9eb2cc0d20a0beb36bf480e11954a701c4cce1a795ea7791fc17fbf992a259f855ccd1556704397c58060c93c27bf0828051aeebb35168
|
||||
DIST parking_lot_core-0.7.2.crate 33875 BLAKE2B 5725d2c45be7bcc945a0e3765357d2c066684e4c8ba036e5d7da5ba0c15ccde4cd5fbbf02a9ae848aab365a8d71e8cdcf01942511e01b1e1302af7ac346fe2a3 SHA512 96c62ac274343f46f3e0481ba3265bb00a085a4a95c4fb642f923e42852050b04b5d3a4c547b0dc261b83fe91766856df897ea3104545b89962614f7c63dae2b
|
||||
DIST ppv-lite86-0.2.9.crate 20933 BLAKE2B 493fb977d0db8eb4699893ed1d05758ee7cf1b5610b767a2ec352f3f430edf3d1a3bacefae554fb16eb2786fe4fb9b574c7b9961458a938da9a79b9084f062a8 SHA512 d9fe88a221733197b43db2a2a608dd2acdd9aa37129af07ad2405d66171b6f9f4c1a61530013c7f9ad69194a2e52e7480ba80c696e97cf2adaea7677052cb010
|
||||
|
@ -35,10 +40,13 @@ DIST serde_json-1.0.57.crate 114723 BLAKE2B f6097bd4541b369d1d4c1f1d50c787489918
|
|||
DIST serial_test-0.5.0.crate 2305 BLAKE2B 92c8dda1878e66628f5337bd51da1d0d1e0b96e285bd50869f2e4eb3d481382c82f45552bc071a69672fdba74dfa39f50652a9cbae630a91da22ee4681ea26bf SHA512 668d4eaf6d5fa79ba2b3883a6a6f95736fb19a93516031b68991dd35962ce7881d4a9cb8b291ded37dee057352511d5bbab8f8d4e0670a147810ebdc27e1314c
|
||||
DIST serial_test_derive-0.5.0.crate 2899 BLAKE2B e2de0d823fcbe38022a99d166ddc7659ed34f814dac25167a08f07c975591f0de4109619ff1cc976256780da8005597e9a316c0ff2ab1202e4e7d84597a205fe SHA512 2c9e3a49c726975dfe6ccc7f7fd4bb9365660113c3d4352593285a4e5c6f250b4ba0375f0fa1a4a7b47bf7726cc59d4b63fc37c3bc80e9030eafe9b2c5ddeeac
|
||||
DIST smallvec-1.4.2.crate 26109 BLAKE2B 7227afe12e1430510bed73e4a97c512d3c7062bc9cdc05024ef5ab4fd1bd66ae0ca74549f8e5f509e9382c33dec2094e3529dc71d8c3ee3fc5102d00a5667c59 SHA512 5fa8ca2bd49dcf23c5f2c241b69811ff92bcca30b9687c3796cd4d4676450640cf5ab15745fd0df07993db42d12e2d4022fc395c55e5464b12ad6a1b3f7f75d5
|
||||
DIST strsim-0.10.0.crate 11355 BLAKE2B bcb25ad0a7284e24e4f17ebe0ccb621bdc4118e499b50b094d98aa7e8fcc0b96716c9953c3516ce7ea78309d41d424892ded595259696a5bbffdcb07802b5c2f SHA512 78b318532addfcf5c1ccc1e14539e258aab9d3cd893cc45d82342549bde838c177d90f13c560671f8f32929af47d0b467db35e6876bd7697d8b3f9e055aeeac1
|
||||
DIST strsim-0.8.0.crate 9309 BLAKE2B 40a8be506c43ee1ffe006ddc7dee98c3d418bdd205d57b78f5d1e4c9312feb57e1eaf952e02d92d4e0932db240c6fba45beb06ea8c4fc6de1cf1faa8b6a3a939 SHA512 1d55a8d946cd55f5f37d06aea536549ded95739fa58c0f2da285a0041154c181f663682bdcac643aa198b3e762d694a04f058db985c62ebe22b5c16327ba6d34
|
||||
DIST syn-1.0.41.crate 224979 BLAKE2B 19a47cfb286c0c055683fffcb87c7e04622d35a40ca92ff8558458b64d7c4a70710ebd6fb9b6f9e69aba3adfba76da72a131c5657a3c9f54e7110323edb4ea51 SHA512 0f0cf4adf8b4632a44420243e8cccbf7f8e4fc186a7eea8a775ef70932c9f6a3dbbe331c52e05f3b1ab0fa47a5f5d235d261ac01318ddd6ceb549d434f570e31
|
||||
DIST tempfile-3.1.0.crate 25823 BLAKE2B a34721369923771d5f9a2fc64adaff2bff41da97a0ce79e01aaedb8d6670867220c671c0d23f7a8a9c71b09c0559efe4e7c9bab1f7f9d890866be1de1ce050a9 SHA512 a87ee51c36a81a8a8eb8f091eb57926682f38b707f7f641332d8752170e6c139a656ae49c6861f51e07c2fab5c86cc9b2ac158f5d89c6bff15d18934dd4e7ba5
|
||||
DIST termcolor-1.1.3.crate 17242 BLAKE2B 5aef69c0004081bd3cc4d531d13d63627cc02313868c0faab62358d13abfa7b4ba82f142c2801d25a6ae46ecbc8b7bdbeaa21c9105ea3b8950ab6a38cdb88513 SHA512 5838fcbfd70f300cb4b62aab50565db52074c56b152ccc8ac1173e4676c0d5a636271bf5a645a77da6e1d4edbf0091af2cd4dd6d73b85c3d198c760898c06f3a
|
||||
DIST textwrap-0.11.0.crate 17322 BLAKE2B 257428908342774593bbd3528fcdae710712ff54e8a711393a24356d8ba0e16e466a4b20c05f942c48ca76b3b5b5aaa90ec202f782cad892caa8b71ccf124da6 SHA512 f5c0fe4f28ff1a3a0931e8e235b5157a45f67967985bcc752418c5ec3481fca44a8ae4800088889b37e8cd0533f53d3c456d5ffd19b767b3f83a87b49a2e209a
|
||||
DIST textwrap-0.15.0.crate 52998 BLAKE2B f6c3057ea6ffde88dd9824cd3159d398316d9d21f327d2af59239ff84d79f893a9d0e96dfbd883aab6c64b631dc99457018e38baf14d40789f02d633425ded86 SHA512 f44271c542c22f17a4e3a459255f95e6c02d999f7d6bc8414d3973fd4ac9353aa4ef436932a45340738126905463d776902715feaa9329371f8a14f14b5a7bfd
|
||||
DIST toml-0.5.6.crate 54341 BLAKE2B a367d22daf6169dbdc9cd58c97f824ab76567679e1032af7a0f924ca53720d2f0989c14545d1f5d82e7f46293e3d27849459157d0cd77dc78e9d76dd6d200648 SHA512 718f5d3fde823ae5d7fbea31e3cd0eaa66f6a2bcd854093d0179dfc4328930a984deff466bcabf3c81caa323aa743c609136b8d036b80087b88e888ba7577f54
|
||||
DIST unicode-segmentation-1.6.0.crate 90703 BLAKE2B b7d63bb8b62cabc604084957aaff021df24a1291f0ebdcddc424cceefe10ad399ed53152211c3e7557e39e21255166f922256f9f8e1fb488d3bae368b49a378e SHA512 80c6f92d9b39602a05809dc63a7cb05a305441689b6056801097a882a36c9795aabd660f884f707daa7e7fe6ad4983f6e245c226962cc982dbfeea2ddfddf41e
|
||||
DIST unicode-width-0.1.8.crate 16732 BLAKE2B 5aa7b87eef1322e4151a3fcf981ade311b8fa030527d7561815950e58d3f15156163dfe34da6a708c37dccc3f7652bf7fc2cd899fe8bb0118b67c4113ff3a2d2 SHA512 0abba6da6981a2451e01d93bbd47652c46eb6fb07cc0214f33259fb29945bfd5ee2b302e883ddca8f68e921635f222701b7310e7da2a5e225f854980d1e474b0
|
||||
|
@ -47,4 +55,5 @@ DIST vec_map-0.8.2.crate 14466 BLAKE2B 8f109fbff19604b82ea2aa61c952e2ce9b5597ccc
|
|||
DIST wasi-0.9.0+wasi-snapshot-preview1.crate 31521 BLAKE2B 716bdd2ec46d0bc9911c5e5e29fc783840559931b2563d8619675fc11da9527ddbe653a0f1ce0b782ee0c5f7a3131aba2b0867d415f003aa9c2389357569e7dc SHA512 dbe641f796ee3a5daafcaafc911ecc6dff170340f477c2df7a61fb4858a85aefc2637c9e61973ecce66a987aa8e08a736273a4aad3ef47eaf61ed4268dbf9c47
|
||||
DIST winapi-0.3.9.crate 1200382 BLAKE2B cb5799749ccd935ea2d7068d953cecf19f543d9db7dc16ad4584bb7005373ada34937a3ced7225544d8bc765da599911c7a3190efefb3a25b7c1bb7123b4f673 SHA512 ff8b7b78065f3d8999ec03c725a0460ebc059771bf071c7a3df3f0ecd733edf3b0a2450024d4e24e1aedddaecd9038ce1376c0d8bbf45132068cf45cf4a53a97
|
||||
DIST winapi-i686-pc-windows-gnu-0.4.0.crate 2918815 BLAKE2B 4d357e4d30f9552972170d65b9a5358b69c46a3e772fe05efc22f3d4ffc1caeeaad7aacdc7abd503a7ad0545f8bd7d22bf351dcb6df76f812fa4d45c34d65df0 SHA512 a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2
|
||||
DIST winapi-util-0.1.5.crate 10164 BLAKE2B fc800aceae5249a858c806c3e969ef2545766099872d856ebee51c883d9acf1122278db9607d50ca53eac351502b700fd2463900932d342240f97f683d517963 SHA512 7baeb661f397c4693dfa001fdc774b323c51a7c55caad40f2de5112a1cefd1d6151e3df41fa4ee193460a5905917c83d2b1de5fa10b4bd014ad96690af95c0fd
|
||||
DIST winapi-x86_64-pc-windows-gnu-0.4.0.crate 2947998 BLAKE2B 2ad1ea8b5fa07d544e910ccba043ae925269b76b26c9da356305b34b86741dd8b9aff0b9ffe3d562db4fcd7d7c46a11ce9e3168b782b1d89ae6881742b7ede82 SHA512 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue