parent
6f4179eafd
commit
1d5166dc50
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29606 BLAKE2B d7b6abab687be372f9b008622fe4a517d8349ea447a8f385f982ed9613103f4456781a5ec67b3f6c30efb44e740c747c71fa2d0d3ef0bdfbef44d01068da05b4 SHA512 ba3528bf1aa8d89a0e25cdaee611c8944e33bd747d3032283aa8cdded98e395af63d6774858c9ca6a20920df66cf1bf0f0ff8b36b10794b2a14fa3226a53cbb8
|
||||
TIMESTAMP 2022-03-28T07:09:25Z
|
||||
MANIFEST Manifest.files.gz 29613 BLAKE2B 65539e7b27ecbc267b614662609f95de47bea395c9ad7b292c1101556fa3e0ccba24904e6e38a2a89dd8d1f67e77087770c81df571e3cb861d6d06de40bdf71b SHA512 97d3d6e3e220096e2f76220194d8481f1d1bc57e4dc2d177891b0fa275ecd9839c11d7f2ff66c40bc940cf531ba5deea5981755ecca6a165ad4eeae190d3714b
|
||||
TIMESTAMP 2022-03-29T07:09:30Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmJBXyVfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmJCsKpfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klBciQ//QTrhW7rHyVtFLyshPpHnOl+uwGwz3m6m/9V+KY7PUdfuTrUgtimJ+Lxz
|
||||
WhdpCRrXyE24jlCRvSbFsbRxw5n1gUyJv2EOwPhRP9d/7JjM1Aus4HlWrfF+qQ+D
|
||||
9JRH3qOiAfP0reGoOqMygfW/khL4ya9fr1Od+Ur9qNWJ9Zx2hI2zzaixIPxFZa9i
|
||||
8ok7IeQ03eKXBodj3di20tsM6b2LkgJEtj53hPuOd4QGPfSPSGgk//bYbFKbIpYD
|
||||
GrEfHwuflF8tLRYpdJq46KQlWAWq32jlDsF9PnGYkmf7kAmzRxTuvH9N9kg1ctk+
|
||||
SAgMGypn9s8f60RGzz7hQRb+H48BAq8JjwQW0gAPIjtsIaLTar/7AOLua5gFCIQA
|
||||
NFJU+67/iv//nxXsino+xITtq7DOqYBdL6BXxPHo+GnaxQq+Dx4O8g+/r/uMXWu/
|
||||
DWbMBdb+Q66Hhc4VogMHJUZ8LYDZN4D+iiQLkva2jvfXOWb97CYk7EHJQrRP6l8H
|
||||
IREzaq9aU8wIomUDDG/tgtjZJR1KDhPKTx32HENlupK/m64ergyYIUu0Q2IkIJZi
|
||||
glOfN0eapy1mDeSWvAnWPhAIf/SzQIRR/vnll+CIpux4/fqXdkszGFk/aH3RijXA
|
||||
/T6k9vvV+UmAxazqlK2c9iGkQEIYap0LKJaLtB+EBYRTQ/GJBnI=
|
||||
=zuhV
|
||||
klByIw/9GZnaSz+ily52HH2Uqk9P5wbes1O950+NmfS0iICJAWy0U0vKnm8VQJZO
|
||||
Ecq1QGxJBa7yFJxQe2uHmrmB6IVcqRKES+p8XukFWugiG1zFXNs1FG8EJuzAcNLt
|
||||
bhHgtxikFqB8iDEUXsAQbN9jYdXXdPZ5KkYsAhuoK9zBVpaGzBrI2n8+/sWcnMxf
|
||||
muPAUmVLXQc374hyYukngkehfBIZbycydeK5zSHCJumFvWvzSHtjHwnF9WUjg5BF
|
||||
eVX/JacVp66jwF1wOaBWZaXtdNmUU8wu8t6Ldr2ffMoP/e/Q4nsRDsUFm7imOasO
|
||||
aFJYIHYAcVpk+lVecxOhWQ5eorRtuBO9y135cRbVUX69odbx3k27hnCJKlrnBDKw
|
||||
ObJgUDKKZNTtPfdj59pWHzSZpJZVOIPk39vp20Da4d2vFYfNEGW7R/QMRGu5Q2Dh
|
||||
06ZJ31m4oMSVCoDaGOxHWl3gCK00dRvOaEShsLz4f8lePQPccIr0Qkbi0zK+qOXc
|
||||
nOsKh+FeA7ewEaMO5eV6xZEmvScIFMODa13NU3dV9bsbLsIn5lr2qu2DV29ft9MO
|
||||
TvRJINjAQzersny1EzB6OJ79eViLQU2AQ8aRkBEnQHrGPxzJQ7sENzMkm+jHjlmY
|
||||
OZSQxzZjHc0v0MmuMCc/9xY85L54PLq0FY2zbVSk5x9w4pfotQg=
|
||||
=bfbJ
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -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
|
||||
}
|
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
|
||||
|
||||
|
@ -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,5 +1,5 @@
|
||||
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
|
||||
EBUILD zotero-bin-5.0.96.3.ebuild 1758 BLAKE2B da6782640b9aef3c697d0f60fd1cc87d1b76539e1f4ea1d23628b769d2b0a0230000a0f4707e317fef3792fd6248e950086ffa0aaf14f52c52a18ed3d422caa9 SHA512 4359f979d921def27016d05e3ef65018f8cf6c2bdf8caeb51bbcb3263b88c6129e4ff645a14018d4a45ae024703aea23a3a5782fcc5016fc1d0fba3d79db1357
|
||||
EBUILD zotero-bin-6.0.3.ebuild 1772 BLAKE2B 2131d077455d567c5d1d7667a14b6026513020cf6e575afbda0c7b0ef30b4ac55a5d15f710e1d907d3c2ea444c8d5ac9325971c9d252a7ecd3cac5f0c1f9b659 SHA512 dd47676fe9f547aeb3966bb518217e3a583effd50edc05b7da5329b74fe3e43c66d263a19160e87069f7ad35b37382b75dbc0a980adce241bd1036cb686754c5
|
||||
EBUILD zotero-bin-6.0.4.ebuild 1772 BLAKE2B 2131d077455d567c5d1d7667a14b6026513020cf6e575afbda0c7b0ef30b4ac55a5d15f710e1d907d3c2ea444c8d5ac9325971c9d252a7ecd3cac5f0c1f9b659 SHA512 dd47676fe9f547aeb3966bb518217e3a583effd50edc05b7da5329b74fe3e43c66d263a19160e87069f7ad35b37382b75dbc0a980adce241bd1036cb686754c5
|
||||
MISC metadata.xml 398 BLAKE2B ef8965041b1ddb5dafacd8d3b913c2c272b50460607018468446993062620044b77ee4033d9811979768aafba6def9b3e06775d48f8f194f7ca95ec6ad048c5c SHA512 5a67ca8cbadcfa83e38f983b3e448073970e71f2d2a3c0756d8cbbe54050382095df564bdd5e52b0976a9588f882d814a71179957e09e429a2881a7f48041e53
|
||||
|
Binary file not shown.
@ -1,5 +1,4 @@
|
||||
DIST ant-1.10.9-gentoo.tar.bz2 6685 BLAKE2B 2249c7e1628052a2a6896c6995e0c5dd14ea77671ab0ef4402ece9968f41266cdf4411cd669dbb73c4d7043d7c6c5f6e992bfc2705e74899ff1058f0d4942704 SHA512 aade4c5322c29d1b6b4f6b99b229a1a07ff64faed104bdbbff3a82bd482d9cab5596c019dac92eaf4cab875fa9e46e5067ba816f910c2d6c94890ab85c50605b
|
||||
DIST apache-ant-1.10.9-src.tar.bz2 4593589 BLAKE2B afb73e592dbd4e0082f5890005ce70264ab9c59f1359a91cc83abcfb03938d98ed9d1eb797c9f72bd3d017a41c19635a6246e5b46ddcab660749a2530db1baaa SHA512 7a6c96131462dc0e1bcf41e2daa1b129a45d19302f4ee2915bb51c4cf347996fa5f8140f96653b21952decee16816476b8f258f8ad2c094a8305209cebcee4a4
|
||||
EBUILD ant-apache-log4j-1.10.9-r1.ebuild 392 BLAKE2B 1fa0ff853352fef1a6281a5af2745f4662e3f890b7a620ffc0b22be22f3e3b4cc299297cb8afc27fb415a99eace4b282e1fcf505580c45f8b8cb7d165f8f214e SHA512 8933d910b640fdff67621c61b3f79f9371315a37c50d6fcaf311e093c02ea2e033ca714547b0fd0f4df625bc48dea0d8dc873907df5118e3f8a756e83788eaaf
|
||||
EBUILD ant-apache-log4j-1.10.9.ebuild 388 BLAKE2B 4c25ff0efc34bff1fd224d7dea4fb3216b0a1f7c42796edbcdee9eb2bfbca95c441a52fee03dc381a5999905048f5092813db9b359e82ee8ff1423f30c0ad927 SHA512 a9925cb6bd56d0aeb25a398f3640d9867048b1555f9f7970f4294e8eee3cdb4ad0d1747ca4a1fde48346ddf51d1d6a58df8c02125554612cda6eddbd9966fe7c
|
||||
MISC metadata.xml 237 BLAKE2B 7c3263833976c18611a5cba44845af4d80f2f86c48cf587a657292ed0074022088cef88756e3209b292252dce5c0eea307c4f2f45f28b8517609124708f7d09a SHA512 e8227b536eb45569cbf744907106e101d1aa6bf9ba8337783786d719ab107d8bda0fde5dd7067d168181d694b4161b12d1ef3cb5a83b14971b21aa4479670559
|
||||
|
@ -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}"
|
@ -1,3 +1,4 @@
|
||||
DIST assertj-core-2.3.0.tar.gz 611609 BLAKE2B b99a01f67da75bad18e08df739c10943012f75eda9855ed906d407e474eeafe9a30be2e761de0bc791d72a6ff8c7ec8181cd37c6b6c9126f073df82a974163c3 SHA512 da67930d45afde12d317579edb62b5cff546283ea6a252c9b297f21b74404d7cfb63372d339f51733322205b89d35734e97888085387fb1a83c80d5963b05fd3
|
||||
EBUILD assertj-core-2.3.0-r1.ebuild 821 BLAKE2B 37c145003810d09f2a58cc9a0b78014efb2b023b6f12fd892f2faa9eedcd9dd74a75f131a798b9128aff8663584839792d8cf3a8a5193319fd8f510763483b76 SHA512 7d4d650ff8f8a1e27b5fce6cd3476699c9b4c47d68d2e4a6aee42db8a7b0638fcd901f30eb00ed7624c0e4d72e093597ceef879c0ef5dad541870fcca48e04d4
|
||||
EBUILD assertj-core-2.3.0.ebuild 801 BLAKE2B 251b6caa0e965be7b0c66d5af54b787d0260ae143806a02d9a05baefedf6378c46d721dbfa7cfb523a9379af88a7f057272ce330e79a95993760b75a42561f87 SHA512 8af9f5a57fd8fdaaf43727ee0e0a9fe58d6c0cfa285af076abfe807a8a26862a01f7ec3fb0ac52bd7c31a4bb024b7934e0808e564f70058979f2f4bcbfca6c74
|
||||
MISC metadata.xml 640 BLAKE2B 3582da14da36e366b2436a5f49b6c0265705ebc109a01fdfc9380ec5b02a92a7b7257e2f410118e88ff369c78e126ed87a697088e481637211de572cc84758b8 SHA512 975fe87b3997787302e135fb742893e042eef0a75c6ed0de1a61d34ccbbde8d17b9c637b31c2569236864b00ce9579c8818546ac49d4a1b6c1ad393013b83d7c
|
||||
|
@ -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
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
AUX bsf-2.4.0-PyJavaInstance.patch 1650 BLAKE2B ceb772a69d454d1d85e05486d28d13824724813e7875f731a165aaf97bdd7f0c006baa927e849f82de7fa16228c3de5847f8d59013142f8df4823a951b42c785 SHA512 7946622658473ef4cf6b5921f58d224f7378cb00c345a748653306d2648a89b5ab3ed68786d09bbb170b95dc657f7f55501013c854536d6dfd6b38e6a1f3963e
|
||||
AUX bsf-2.4.0-PyJavaInstance.patch 1654 BLAKE2B c6a0efc5c429adb7dd0ba6a7fd68e7b49ac13b98b1bd3998e70294dd4bf15516c719807c940fbf0b2203f6804878edce223b12b29cccefd790812db186a71cf1 SHA512 ceb07c1613c4a68654132a1b95d4db2494183cb86fe20be050bf4f57079fc1967ac76dda17b28df586d3fe34b696eef4d5790e6fe82a73d13c5a4f64267048f0
|
||||
AUX bsf-2.4.0-build-properties.xml 1984 BLAKE2B 6db0c1ca7f899e95a0728d61b79ef6c0a1320ee747b5479c9c50a7bd258dc7fee0b6b569e3813f323cbc694d405f9af1d269dd5370ac82e6eca2bde5072d905d SHA512 d262daec432d7a22c217e24089f22e4c349be0487fd00a2e6992e77770a3699e7e2b5977e2108455d7f73c31b372d6a73febdff2856e256f93b25f3781e11679
|
||||
DIST bsf-src-2.4.0.tar.gz 299749 BLAKE2B 41f3cfe77b1ccf6b78493df7f5f288b397234b3236977c4b7d2e6c85b330e40319474419f560eefa1632da4d0524593b8c3e0c66cd27b852749b1405c20df5a6 SHA512 a1e7564fd14abbf725fee75c4b0ba5f92d7eada0e242ad05897753bb4afe639d859c42cae1d684e8dd9151409d4cc68e1a422a70bc74d8016144cc30d03a2d43
|
||||
EBUILD bsf-2.4.0-r2.ebuild 2703 BLAKE2B 21733021922b517a7de471aa3688899d169e3accffe5859cfa16d08844f2ef0c91ad658e7b1439d2ea95a5dab9f83f0ada0db63b865beb351286274ac1269ad0 SHA512 52c57333a2bc951dcc37de9d0ef113b671f0e52a9e9c2d4cd459b9cc0f54e241adcb51b6a4196c3331d855665fb3537afcf9e88a5672fee72101ba8c9eac4d2d
|
||||
EBUILD bsf-2.4.0-r3.ebuild 2727 BLAKE2B 92e3e8b2e14b26f823abc503af43cd3baa86dfbea694a349cc8791615290b27e0479475faa31e13a692440dc211a7fe09688507e7486e34ea5e6135b82818ddb SHA512 e4ae153513c3a83b049099449afa137b18991651a656679268d7e7c5de8cdfda950024c54fb31f4b51f8c9d0f9a7ecead1c12ea3669c806abdf862686cee29f9
|
||||
MISC metadata.xml 904 BLAKE2B 6e791ca9562cd211b97a13c79701155efa8b58be87f9af9c076017da0ca9f406a2ccc673eefb1d56db9cb2b9481fc77b01e9f762a98bd858199883ac06fde17e SHA512 36cd9c82eaa80842fae4c0f51ca63611d6a2b7a5724d755d0651edf069a67dcad3ce13789ca07cf2be353efb1c8b3a04e367be548925e29507155235749af66b
|
||||
|
@ -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,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,4 +1,3 @@
|
||||
DIST xpp3-1.1.4c.jar 128334 BLAKE2B a0c1d871216e44f7196ae8edd4c0ca2503a16821b6f592e4af0fcc1da346135fd5023fa5210abe1ce772d0001274c0f6a3d2383b7ebad1a65ffa967ac31c1d5e SHA512 743d2a0b20d16e97b640d9ad3e20e56a7446cdaf4ca0ebba072bdbe3eed0ef90289c2829376b4a209b35e0960adee5e01f11e8f361798333d8b4eaf4f1038445
|
||||
EBUILD xpp3-1.1.4c-r5.ebuild 775 BLAKE2B 4904458b949700ab454da89f332c7e2e6e114ceaea21f53886f85d28d05d60fd0b0b515fd5c0519c408ad872c1c04d2d33748e27c0427efbcea075a697b6ee0a SHA512 85ca3d9ad08ca1f65f346593245c41d07614893a56b77d605e714f0046e15253fa953a5af9a4169854f8895e77629960ead6b81b171f28e35bda185b4566c5c5
|
||||
EBUILD xpp3-1.1.4c-r6.ebuild 981 BLAKE2B ce40a84d65ef3841f4ca9500ca0abb7f3f7fa6a402a82d6cf76f062b40c7f0d8da9fdc1e2b958be6faf523959cdfdc4d9aa7d143ef7d936c18acac28d22ae6c9 SHA512 ab9a8bb70ebb08500f0479033e1956fb1e5bd36fca40b21bc7dc3959dd9ffc134d899cb2d98c3e202c26f472a54c33a9d9ceafc418775f1815d52eeae84ca185
|
||||
MISC metadata.xml 237 BLAKE2B 7c3263833976c18611a5cba44845af4d80f2f86c48cf587a657292ed0074022088cef88756e3209b292252dce5c0eea307c4f2f45f28b8517609124708f7d09a SHA512 e8227b536eb45569cbf744907106e101d1aa6bf9ba8337783786d719ab107d8bda0fde5dd7067d168181d694b4161b12d1ef3cb5a83b14971b21aa4479670559
|
||||
|
@ -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,12 +1,8 @@
|
||||
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
|
||||
EBUILD zig-0.7.1.ebuild 1399 BLAKE2B 082b8b334ff914edfecdf59ed73201fa4a2b7988e97652304d3ef2f38545aacf1f2d03285c31139798140b8a119e4eea0bc39fecf2238ff3c2e159fdd9123275 SHA512 abbd6231a5090f6f37bd12a762864eb1d19fdc425570ea4e77c2314be5eb364839a644da38873d22429fbefeba53c289e045f693975002a414aa340da9698e4f
|
||||
EBUILD zig-0.8.0.ebuild 1399 BLAKE2B 997269a639e0993cceab1bf48ea8b395d8644228461bd548b404e6dbe7d69a4dc30e4dbc7ecd1142993c9c67f850b972d3419ca65dd3c24947326544b66d4464 SHA512 ef53ad8dad89c7f1a3805b8a7be38ed09879c0c28e0766cca1037b1e19f1a18015a0cb2da7d1229b8e0c380bab42f4a67299391d43cb672ad893e950681b2889
|
||||
EBUILD zig-0.8.1-r1.ebuild 1340 BLAKE2B 38c5990ffa9a28a6ceac5054569d186e26e79b5839435ec85203ec80fb5d8c4b8fb4990a65f740485b6cd302c7ad89f18146307ecb625760816f2608a738f860 SHA512 b9d54410407d1dcb41ff0290d53ca76f50718f02483df9a46c4424b80acb03dad802b1ef55d26659daa601288c53236378fa5c428fe71b222245f4f310d605ac
|
||||
EBUILD zig-0.9.0.ebuild 1374 BLAKE2B d89db854175aef06fdd8d0b747044b153cb9b7043ce7a1f94e544e50a56a44f1c69e3d94daea3a23babcc1b24b1850044224d74f1054c80a000d4f289b9ea21a SHA512 4fe58ac7082f79f53f89a59f370aea86c3e99e1af86982d8df8e9b58154589fe14b96e3b316861d98ff666fcbaec676774d339f62c3bf1cd2debc584fb50998e
|
||||
EBUILD zig-0.9.1.ebuild 1374 BLAKE2B c158df27df36c2182e6590bcf2aa218f024de32ed6c1a8893d2f85633de5add4cd1e700933235917febdb939d6bc36e08d30f44509892c0edbc80aa89cb64f67 SHA512 df850bc82ea6154181cd93af8c1ae18dcb899bf789aaeb0b98692a71338a1f6218e864772c2193ef127218a808471b150ff5903690c6b789518fce4c29208405
|
||||
EBUILD zig-9999.ebuild 1369 BLAKE2B fc325fcc3b89df99752b6a06d2694bd8afa88573759fb427f9dd8ff156c97a17b1562f24d1493e0478ea25bdf1fc0f8848c828e6b6410dd2a9d4a1e89426d0fd SHA512 0ebb58269f9b6ec9726a7c9747bfdee83da19b002f08947f108e32e2e6930f395b12583cdaae1b235dcdea77d7d8526ccb6b6879a4c687aeeb6714c659513d44
|
||||
EBUILD zig-0.7.1.ebuild 1529 BLAKE2B 25f6c337ebdc5067e53a48665970d0b7940a5971ba5f14f8e934f0b6c042cd3da65636351dcb24f83760f0fccd452f9bd1727c796af2125a181ae089e988fabc SHA512 ac69e5e562d9c8e16664cf5d04d72cac778865ba5a3bb6a07b1ee33c2564945c17696d2b7c8077601fa88e72f2cef7e90f8e9a2fc1c401df1bf0aad87aa70159
|
||||
EBUILD zig-0.8.1-r1.ebuild 1471 BLAKE2B 695564ebec394ff50100a1a7924273c39d205d3c498cc326fe1c2d2bf2a3ac094b5a483d775bcf1c199e386474664e61112c6d02724d9108a7a0ed6dff9d72ab SHA512 e73e9d09f261846b357cbc96df5f96eeaff0c6fe40b51256b6e82ffa770af0a46b6b1345c68d23e758b16399a9d0e960a63ac29686e82b91702a98d7824afdcb
|
||||
EBUILD zig-0.9.1.ebuild 1505 BLAKE2B 72471247881953966043c5627fadb866d186b2131f2ae8393739e8a24d991a30ac8a705dabe4502015bf9791d0fb19f3cfa67717118f155c4d60c97941add35a SHA512 01503be14b57c557aec12dad9a7c6e81d62ad1b343dd8e5fd18fb595b725e455b0485529b6c6b72a71ba36b1a4d823b3b2283b02aff1e62af4c998f48e57103b
|
||||
EBUILD zig-9999.ebuild 1505 BLAKE2B 72471247881953966043c5627fadb866d186b2131f2ae8393739e8a24d991a30ac8a705dabe4502015bf9791d0fb19f3cfa67717118f155c4d60c97941add35a SHA512 01503be14b57c557aec12dad9a7c6e81d62ad1b343dd8e5fd18fb595b725e455b0485529b6c6b72a71ba36b1a4d823b3b2283b02aff1e62af4c998f48e57103b
|
||||
MISC metadata.xml 363 BLAKE2B d0bd697b6c053d67a9140bdba55c3b221f294b13716faf13ab296d17c082952115ad689793baf88994f44036f493d82c94797278f7dc3c5b2b2a336ccb078860 SHA512 72b11e0bf02c4c3aa2d0c483c3728b22e06d0035964f876e4f0402f1864874f85113dabc293415eeef3cfac71d0679a2f3735a67b4020e72755b1e09905db885
|
||||
|
@ -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,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
|
||||
}
|
Binary file not shown.
@ -1,5 +1,7 @@
|
||||
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
|
||||
EBUILD expat-2.4.6.ebuild 2277 BLAKE2B 5e2039ed2e5604aafde9f4ae1b61a931c3c8e7bade01349eb804e62efc12650ae0ead3531672df8064c7dcb9a257cf00314ed7c6a591b10731a465cc9279697d SHA512 e69a6ec9a906245e8d884cb5019b68644f0e86a48fb5d30d012c588442db761b3bdb115f5ab4c7e50e36251a0edf22389ead0f36823db59a6a9d873dbc10ca82
|
||||
EBUILD expat-2.4.7.ebuild 2277 BLAKE2B 5e2039ed2e5604aafde9f4ae1b61a931c3c8e7bade01349eb804e62efc12650ae0ead3531672df8064c7dcb9a257cf00314ed7c6a591b10731a465cc9279697d SHA512 e69a6ec9a906245e8d884cb5019b68644f0e86a48fb5d30d012c588442db761b3bdb115f5ab4c7e50e36251a0edf22389ead0f36823db59a6a9d873dbc10ca82
|
||||
EBUILD expat-2.4.8.ebuild 2285 BLAKE2B dd2061f953c915e133c608b5aef2e1f63fe546a92fc02e00e936ebe2fc91d9cdd9299510c9e742b3682de6184f6cf5cfbd4cd337d42c7efd4c0c7af8b4bfed5f SHA512 a81794a0eb965a9adbd7762abcf4765abac6078f3d10874306f594c66cb1abb6b01fe346e0bd12fae249127dcf6accbbf5d9c3efc05fb2e1d66264462bf404b4
|
||||
MISC metadata.xml 514 BLAKE2B e38c182f42192e0f3b567423b148733b59ed885cca58d36829dfd57bad88565baca743024aa5fc701f368fcfc8886a92ae20a94f549e190a3d31e2ca5c0e28af SHA512 6248f12ed1f3e2bc10d7f11117ad18dc86ccb5ecc1fc48aac32032a062d1273e956cd22e712a1b14cc670642047f9dcaf63606dbad08895e1e3b94b0573bd74c
|
||||
|
@ -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,6 +1,7 @@
|
||||
AUX intel-compute-runtime-21.31.20514-no_Werror.patch 346 BLAKE2B 0ffeef51d3f2aa4ccd295cf1317b58343e39c7b32fe2acd52e45c0596c22b4c5fd3d301c333010abc3386b797c05d20860e61496444598c8f271b5e4b0f4fcae SHA512 932d80d81947c96f543f9d8704120e851f1004ba93718566f578610cbe8c2c65a131246bbc0e392135f866f277270d6bfe4424abca25f6cceedcfe17a4e800ba
|
||||
AUX intel-compute-runtime-22.12.22749-metrics.patch 1567 BLAKE2B 51f69ba75dca353b059b4dfaf8b98ebf221e03417247caa528511fb5b66d40d4950cec0eb3c7cd23f6722f2743a9e8bed110f065661b50fb36c8e9f65c440acf SHA512 d71e25194d2dc13284c6939c094bd9fed08adee4b8185078e20ba9aa128e5b2cdf5efcc6d2723687101144ec70d934b1b8fc1698e1295579603783a2e4220df3
|
||||
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
|
||||
EBUILD intel-compute-runtime-21.46.21636-r1.ebuild 1387 BLAKE2B 7a927c6d9cf7d1d4b80b4586fbd989e2cdf8877036c79df2db01054152d5db346f63856b0a37cd4e3bb800d38f918daaf44fc34d4306fb0f06287954ad281c3a SHA512 0fc688519ac6251963974264a7ecdd1f721c4ed02338e6358a25f84a036a81cca4a8e44c7191f5082cd3d687e7064e559f018b722267a33dcfbc889b756955bc
|
||||
EBUILD intel-compute-runtime-22.11.22682.ebuild 1705 BLAKE2B 475d20b4fe84b01a4a4dfa959195cddf5cf67d26362c27b0a48b622c35c98e13ee0dc41e0ea575687e60544040a233b3c5a8b2c58b5f794e183e903bbc8af184 SHA512 7634e780be56b0d324aa6c9225601a7cf54507cc75f15fd136fd51747f263aa68f5eafcb3434543ebec17375e4c217b78e9c9553e972d595644b4daec437e9b7
|
||||
EBUILD intel-compute-runtime-22.12.22749.ebuild 1703 BLAKE2B b5bfcd69ed035bd4c07d74424def5b1f2d284f84d4cd8335d92efece424cd2131a8642d2b62ab70b2b7b886c89c4e6b5ec48caf615b12364566c3c2c69f99727 SHA512 72eb8e2a5f0644242946d3057a57a8c70e525f0cfb465cb4f0bdce5d1e104b54e8e1411a976db5030c33f260551c9d478dec371f63d3b7326585dcfc342d76ba
|
||||
MISC metadata.xml 1429 BLAKE2B 6c2fde2fda8cd6b9d707c400c5b4d38e3d74dd73617faa9dd80f84100d499182ea959e695a473d32307914e76a26bae531a92677f0e4bedbdf05fc1cbd3095ff SHA512 ac61568ad36df6f6c8470b43f32d048930e4a569ec86d58ff563a86ae748f6bddb8700de487e4967da4998160f1c01517be0817cccc445a821984aff36617b6d
|
||||
|
@ -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()
|
@ -1,3 +0,0 @@
|
||||
DIST smack-0.5.0.tar.bz2 38923 BLAKE2B e40ace9a4d97aaefe94d0ecdbce7f610c6cec73df87f3256078aaa5bd1ffcd45b047c4124cafd12da3dab5e1a74689726abd1ac3f1802b9a933aeb4cce7954cc SHA512 16c02538d44e3c53a783a5fd546a2813ae4da8e3d4e61fcc03a2c6c5127453ffaac1b5d5a04c499f6158d747b5cf37fdfa675dc4017d884f3eccb6dc0d76e754
|
||||
EBUILD smack-0.5.0.ebuild 433 BLAKE2B ed39b17924215065b1f8f6007f78a436b5e807c8b8bc2ae33d899bf76cd524ccaf92f3c0cf4148f600bf0459dbb4b9243af523715bfc9495c2383eed142bcc63 SHA512 08dc764aa7c35f6950b15c6c0f12f0ec102d32963d2f056d955642a35ee19e9aad874589e4b561d2d900366028aca9a07751463de369be638c133ca813f99157
|
||||
MISC metadata.xml 248 BLAKE2B 2ac829e1663815f752e218e9ee474448a3d973c075939d578699f57790581498adfe9bad180a79fcc6ea0afc339f57d25cbcc0fdd430f82d192c23c03d15e465 SHA512 55c2e2e06f91e13fd73b9545c51d4169a47f040ead41eb1368479940b026def820de67137312b64a6203f80b57a421c8895ed690386a79086fa0ba6c3557aa47
|
@ -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.
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST HTML_Common2-2.1.2.tgz 8579 BLAKE2B 43d71ca1010e3cb4d73f25417b601872485f9c8990cb3117d112a84f2eca67437687d423146c1f67f8053116d4aef04b4859982805c7009047a682385878dc8e SHA512 f6082e44578dfa063f4f1a896ea477c485122e3d2cc89764c16ee76c3153d60276cbc290b4f3b8c18536aaeffb6797b9c56b8b0f2ffe1ef953fe02a5fb32b864
|
||||
DIST HTML_Common2-2.2.0.tgz 8884 BLAKE2B fc0c7d3573e8da0ec315dff4a59e54187cc9e378f2d576f30af7faaa8fce033a62aaed239d9613ff591e6c11b71f44cf78a35a4998abe9adb9550c7509e907df SHA512 7ebee98688a58484b92a50abd632ef21b166f9e20a47025e3e47af60b8dbb6108f3ceb5603b64602fee2275c2398fdd1831cfa3d2c151f266f2a7961823751d3
|
||||
EBUILD PEAR-HTML_Common2-2.1.2.ebuild 445 BLAKE2B c5119c780af4f92115c6385fa1670014ca17505dd578e790b5c1a95ae55fa2042fc963aeba59ca2d2316d60d74463a8b02075ce05c476dc12e551685b63092d3 SHA512 7b01dd97b32e7449f68a11312ffd4b10886f7811d5ec3065b9eae97b664c8f315de6c57405e331b35c485053c715ec98b38dff791dabd7f5afcefe2492f0a785
|
||||
DIST HTML_Common2-2.3.0.tgz 9085 BLAKE2B 577f83d110196c6edb0056f4e352fe3dbca3ec49d9b3fd6821f75b7b846f35bf6082c7a96962cedc891dab927e00b5987e57394f42f0401ba317b1496104f4f9 SHA512 b8d7a288d842a07de34a7a6b94ed9ac311a1fb3928a099f583a1d9ab6ce8514f938f7c8425cfa179647cdd5ecd514ed71ea2bb2ec968f49e27879dee7937b1a9
|
||||
EBUILD PEAR-HTML_Common2-2.2.0.ebuild 499 BLAKE2B 860e2cde4e111a63400bad148b49bca4db7aa54dd4161b919586f3d4267c8025509acd4c0089f1dca37db29510ed5563cf9dd7613602bbe8a3ff90d3bf4b9722 SHA512 16604903034bcc21e6d071241d928e774b08465e4fbfbe9d786cf4e06e5cb0dfdd918b9125dbdb0cf175f5102fc9164f9d4663edfa24fb7d3c5e3a699386b134
|
||||
EBUILD PEAR-HTML_Common2-2.3.0.ebuild 499 BLAKE2B 8a421c3c22feb5756be582c3dad87332b71afaac67e85c6d874be1f6d052c0ba5fc86ca3d255f49d7b9f95bfd5d2fb0d9c3e9e7f42435111e07ccfc0eaa51d32 SHA512 52a891b22ccb9db96b5119fde5b10ba214796b05cc8f4b6aba9ea5433119622a5ad54d1553adecfa8f9d0943066b856207bd72257a961a13425d43d1e08b751c
|
||||
MISC metadata.xml 236 BLAKE2B 55612da78a71f8cee31c387a5862636996734210d765fac66d8c7706acc5151e6a9e7ff5123aeb097c911495c6220ba3b5d2f1355f46e8ab6bdb240e1697e26d SHA512 2782b20a65dca663ff7c64b7e67db05641abed478fd5996e5750b2e52ba870829f89125baa8967dd29fd20ef9b46ad233b0dd08801308b7756717ec2f292446c
|
||||
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST PyRSS2Gen-1.1.tar.gz 9149 BLAKE2B 1f388e8616c79d8b5436f69191d479c529e1348308d69782a833bec714da6289fc459ea2b554a1e660027a25d0581c441a0e75a623add3c42c8c33c5cc8518e1 SHA512 2240686914c87984626eb739676927fcd53488158bdebf589e07e8a778e6d24305964e032581c61836f0fabc1264e42d05c88eac8f4c5f6536c31c775434ce02
|
||||
EBUILD PyRSS2Gen-1.1-r2.ebuild 458 BLAKE2B 2f8be69f711bf49c9ce6b7ef04fcb69df0e814e1d2baf081568a1ec5a66bff0af4f107cbf8e1bf00c1b4b602c88652fed44670b4641cd0b3852ffa150b872236 SHA512 22363f0fef8a1e184123e5de85e22de01660b6a923ada6f533e45604fe0ac49338c95580907df871fbad4519641d630043f072611d40a7a58418e769958b58bb
|
||||
EBUILD PyRSS2Gen-1.1-r2.ebuild 465 BLAKE2B b6f13bfbbfd9442de22561393ab3dbb7a75624239fdb313a8c11e6974927244bcb31bf53a7204c0f414909a454b074f4e78090ea1bb3fc1c4dfb159a7a8031cb SHA512 2fe2451820baa864cfa620b4909093bf453f73b91e1c302d33d1b94fa103c0cc85cef468d2912b98712d6bd6bb02321a26f2af36c63aee099ac0a222f210f523
|
||||
MISC metadata.xml 348 BLAKE2B 03db7aaa1d20fb6eadbe5106345624f7eb50d7b45d5adb3a8f4d15a86d3039caa9fbe2771256b1cd9ec2a7c2922ab2f4aaa0e36ed51d63daa620687dad876d66 SHA512 99437dcfe725fb9ee0657aaa499f1d9bf77cc7f21f15bce803dad2c2ebc17972154845a61c7e4ada3b499abcdf79688bc670843f5b595d636de5b77e255556e7
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST agate-1.6.3.tar.gz 202102 BLAKE2B b1a5624b4744b8f3ed266470da580cef2f2e1cf6159e1b33fcd461e4abd235c5e3fe0da35408a42c92fd4abf14a1f841a1ab9eb6cd31545d826a5223e85b4904 SHA512 e83a03c5a3e4b7fa9997030ce0d33e7b59b397e2ae07ee6a723eb7fb708a7fa8b8c4322dd034f42bf664bf2911d89731fd060e4ff33a237f83114a83312ac5ed
|
||||
EBUILD agate-1.6.3-r2.ebuild 1275 BLAKE2B 006fbbee0fab4936f55f84054ccc005267d1ffb3e792ea5eea272d3eb47e106b94bd17f1d5c0362fa2c8a912b01ace0268955939b8b259fe534bc29297933d86 SHA512 96f8db4bb80f0f81ba6f5d08ce3f63e121ff4babd47fbc7ebe0f0476cdc7710204d6f1f0583f2bfd83031bbcb8a0f22a7ad3b9fb9b1aaf4362bf479cf18bbdc6
|
||||
EBUILD agate-1.6.3-r2.ebuild 1282 BLAKE2B b1d322cde533e572fca11731bb6aa1597cc98010cf95317a26be049c1dd6862c32391ffcc0fc1f8c3b08ea78c29d362b1fc73acfc9110ed26daa251b942cb83b SHA512 c22457637c75799021b2309806ca274a6ce355da9328b0290df3627cffde3c4c39bea351a5cb67fd26b6f9e231453a120b2ceff736cec7eab2a3ab78dbffe892
|
||||
MISC metadata.xml 510 BLAKE2B e4f41aa63b508b2d2f0d5d064bb88dfeb8e335bb461d7c97bb4cb646526c3862c4ace62feb201bf8690627a8661d86e9eb3161d5018cc50adc3f19a5bc56a2ca SHA512 de2c8764bf315f86fb630d3d0a5a31a3f78430c47a6723af7c0bec4cb6216349456f062a3fd9ad7ecb400f144ba5b5450670c1edac2d3c85598cc610ecdf59d6
|
||||
|
@ -1,5 +1,7 @@
|
||||
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
|
||||
EBUILD autobahn-22.2.2.ebuild 3751 BLAKE2B c19a75f5f089a3b46933e293f2355860c382f6071b6a7094ccb035f19db97876d33a75dee0863cc08e3413bf21db97f8d2a385335ef992b36437c8e40435b6da SHA512 256a397da7b9765553b7a464caa73226ffccdadb6d6126207d42f21c2a6a4c703d713158aea26a9c7b251161ac33eff5c53a585ec72318f4e8d01cb5db920dcf
|
||||
EBUILD autobahn-22.3.1.ebuild 3755 BLAKE2B c39c6f86301b4d595e5236755b05bacc4ecce3cac1eeb82d80eaded33d242a4c7ecd711bd97e8a1c3b2e7a323513e40d755537dcffdf2477e1f914ae44a69f0d SHA512 91ab857cc3483a66f1b44e06d8f80a486dc64abb325638746fd97a5467a595b345de9e2ce325ca0349eaad765e53845c8bf513a49d7692dd5d6ee18b592ac93a
|
||||
EBUILD autobahn-22.3.2.ebuild 3755 BLAKE2B c39c6f86301b4d595e5236755b05bacc4ecce3cac1eeb82d80eaded33d242a4c7ecd711bd97e8a1c3b2e7a323513e40d755537dcffdf2477e1f914ae44a69f0d SHA512 91ab857cc3483a66f1b44e06d8f80a486dc64abb325638746fd97a5467a595b345de9e2ce325ca0349eaad765e53845c8bf513a49d7692dd5d6ee18b592ac93a
|
||||
MISC metadata.xml 596 BLAKE2B 07cc4fbcb4c6fde6b1bb49a0a30fa8d2ef7ff4424397e29053a6ac89d87acd9fa7b1897c5381910d53f590192945a89a5b987fcdb9595e42f67f23333010a0ba SHA512 4d4cecf09593ec201711b13de1820e59f007f745b41611471ec737da4d679323787ac06a3a987cede9bf2c8dff71c9dbcb197e6a9c9109cf4d3a34d9247f9962
|
||||
|
@ -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,7 +1,9 @@
|
||||
AUX black-21.12_beta0-support-tomli-2.patch 1530 BLAKE2B 2b378a2da1e067b6e2a562556423f1359122934bf946468bda1eeb556064eff9de59837d5375df5bea846175ff32e6ed3a98e86ffd485f07c2e947c2d9b1d069 SHA512 d8302a9febff804e9ee81820c00c6caa3c975349244f22136a086428dc47c259b969caafd83983cfaa1d26b13c0d42bd38c2df477b9c574e545ef36915668c0c
|
||||
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
|
||||
EBUILD black-21.12_beta0-r1.ebuild 1859 BLAKE2B 55de6d5698665e5e9dbaced8e5a8f3b38399899e5bd03d74b86281b6b8f0c2704181612a0aec3c062f4444618311bb2995a1ff631ca38a5d11e57d0683f284b7 SHA512 1a098b1dbe13f26f40e628e26e7115cb7d3aaa36e74d041b66fc348a7bf5b7e3fcc917e2be0ca0c2816584e618748c8c06604455b10e67498fcd1b57a837ddd9
|
||||
EBUILD black-21.12_beta0.ebuild 1742 BLAKE2B f141ef150cb63b6878ca9cf3be3782f83443cdd545b53a23c55c3df164cf53d601d773043acc52035d98f80f707df8d55eab387f48757ed52342e00a6d094275 SHA512 d5590abc3f486285ad92f01aca47df729cea9c292cd2c4f1958b687d396b51ba825c2497fc9896f824387485930b6d97d66c74fef580b00cda0173f481b1f101
|
||||
EBUILD black-22.1.0.ebuild 1398 BLAKE2B 706c43bd99730f9aa01c50a1910192e0f09070287d4447e581d4b4259c3a5a4a822ba6691124fea1f89f92085004079de619af68239d42a68ea526dce524ed39 SHA512 6a9653a3978d61494662dee26969bd4628010a024f42c860e79b83603c7d7568d1f4eb2d885009fbd1fd2ae203b56bb83a8294ce5d559254bb1cde72f99e352a
|
||||
EBUILD black-22.3.0.ebuild 1398 BLAKE2B 706c43bd99730f9aa01c50a1910192e0f09070287d4447e581d4b4259c3a5a4a822ba6691124fea1f89f92085004079de619af68239d42a68ea526dce524ed39 SHA512 6a9653a3978d61494662dee26969bd4628010a024f42c860e79b83603c7d7568d1f4eb2d885009fbd1fd2ae203b56bb83a8294ce5d559254bb1cde72f99e352a
|
||||
MISC metadata.xml 397 BLAKE2B 505ed4127741ef8d2fd77c36e6ad2d6168dca8ae5570cf7606a557fad29393c0dd78fe2eb1fe990d9d69abec19fb65d563481160b0bf0a914997b114e73f7c66 SHA512 357189214d3cc2a026b8c29ee5c695a62d73db229ca1f71372bfc5a1120317a4c4ffac942f5a196f20e84ae8988a4e707d4194ebde12ef7c96eb713b398f587c
|
||||
|
@ -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,6 +1,4 @@
|
||||
AUX bottleneck-1.3.4-install-test-data.patch 512 BLAKE2B 850df917f8b10b2c513c083863786072624c3e75c3dc81520f7325a3fe0b91d15b72fcf670b4fa047a56714ebcf7f101acd9b696c46cd0844105582cddd3ff7f SHA512 d1f27e5be6043b92372b1110b7705b3ca4fb01c4d62b9aefa9f5fe05b4d7cff9f8aef11d463785b55651b91b1c748851e1b571d801fc22d74c6d6e2ff52e9a09
|
||||
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
|
||||
EBUILD bottleneck-1.3.2-r1.ebuild 676 BLAKE2B 3000cec562a567fbe3160b35a1a13e8f89c6bcde975eff487cd17959251837b7f449b4d396e724facbc23d7ac99cb518c9a095b78fcc2768116d29ac06e04212 SHA512 7c686a142e18b030f422304c3467532a6d9400d8af5f74e5907da0cbaf2a6cb20278cc050d6cafba6b5f2e7bd9a3b728f7592e32d081a9c1a32cd987329a0db9
|
||||
EBUILD bottleneck-1.3.4.ebuild 874 BLAKE2B 929ac37335222284ff882080780fa3f08fd4a7a91277b8cfbb608c64d4b51a3f739331c96f249abaf5554018a9252a6abe27fa78ebaed22b486c8979bd13bfcf SHA512 bfd2aa09879f6c3ba430a86a9a5dc967210f68f4098716fdcd8d35ee8f965ee849d79c3f305726ae1a80714a59b3f12eb10e746412c398e50329bce5f0c8f9cb
|
||||
MISC metadata.xml 519 BLAKE2B 5e5e712122fb0bbc898942cbae15c7cf623aa8462257f063f65a06bc9caae6662c373963f0945f99c5fffe01270e2792e8e5d01af93b49a04f5c3c22cd3a30f7 SHA512 55d2c03dedaa48c8f802d1e4d1d7db4e829fe7357b501c3b2955d28da501eae00675b2775ab36d1131cf2ef0a3d037183bde8df4c85e986d81510df4e234b0ae
|
||||
|
@ -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,3 +1,3 @@
|
||||
DIST configclass-0.2.0.gh.tar.gz 4631 BLAKE2B 8e273e539a9f3cce70397ef0bcc420ba7d5b2b007de490bc4347412546b6af0bbea4950218e69590817f41c884044bd7d976c6a188f8665f2de0bc173f1e9c8e SHA512 7f22679d3470ede4106bdd99f1216bc49631c32452dc681fbd6a6b91735bbc82db1babed3cd94f93a0f9f2915d0866ee18704ffcfe477fd3134b6f18a094d192
|
||||
EBUILD configclass-0.2.0.ebuild 512 BLAKE2B acbcdd734e8a90c914dbcf236f1a2b86f05381cbf8c6d595e00f16066697a8101900547b4666cd22142c097675453253bdaaacaf1b61fee96d549a970f805b49 SHA512 e347802c134393b62e5d1cd84177d44a1a1024e7ea47b7033e872975aa464e618d6a18572fa245a0619e126369d45444d2247d608712b30e4ef5ae926eb18ccd
|
||||
EBUILD configclass-0.2.0.ebuild 519 BLAKE2B d01e4ef82801326450c54e488b96534dc7cfcbd7885b7afb9c9f5db8647b98fcc0873c004d9f8464860fe3a3db5582d526a7c8994ae5c1266a233b57d22cc5f1 SHA512 946c0c62fcfad1465760a0346a565747a2c6c331863499a94a31286e6189728f2d47d62666cddb9ba20780c9c7076c9e4d024a034f02f4e3738e8bb6b1b8633d
|
||||
MISC metadata.xml 402 BLAKE2B d65861f3cf818d5b95f2090b71c9c6995a70cdd9df6d3bce3c5321d3a0bc2ce6b3c7c09c03c8021a4801f56f0993f12a6b2b23534cf6ef35283996c335da94c9 SHA512 cc65aab1d9b14c4a48a81174c0b10df7e1c87670171cb923dddb2c28c0ad07b9c3dafb5423c6664784305b81c261f7a525da196e14c9900f84bba811334ec114
|
||||
|
@ -1,4 +1,3 @@
|
||||
DIST consonance-0.1.5.tar.gz 31225 BLAKE2B 049637747e0b9b027bfc9a064d4fe792a7d2cc42219d83662646120423af1ef18e4a8328a9deaa9e9d8d0f75065afceb6cc9c533fa5728b1e866c160811cce16 SHA512 3ab8a7a2dbca22d519c79a2903f90d79ce3b5709e0025667c9fbe0d5bfc8b3a4ab853403dd29b791bd2cf3101fdd2a3c806e694840256f373d1930daeea71509
|
||||
EBUILD consonance-0.1.5-r1.ebuild 908 BLAKE2B 99ed20cc06bfe39a86803301673868463c695397066f734bfd72b4a59b1648a9d6c3f375051c10462ccaa1ffec19a33bbc37ffd3aa71a7364b465c978c77c040 SHA512 39bb327b50134ddc093ef84e246d7c1a3fa377fac61f3ab67fdaa3263a6dec4c1b5fc15eebb07e6e777e5f6de19fd8f1e0a65fb15c7c9742a4317bb156fc1d85
|
||||
EBUILD consonance-0.1.5.ebuild 873 BLAKE2B 37b2dcdfdff2d1ac3407910c67bde20368924a94c67f4f6b5b00d20bb62c1767e9ca6a961b56bc9a78c60ac4252d50b73a998ed6d8cc7060950773017e94db63 SHA512 2a91338250b4d97577a4f09054720d49cb7e701310b648c834a6ebe494ffbbecdf2c34ad186eb5a205af2dddff85de194429b42c0ca1ea0dfa08218d7281200f
|
||||
EBUILD consonance-0.1.5-r1.ebuild 906 BLAKE2B b4c67a87600be92246cef323488bb3c4809a3114ef20656d2a6f82edc2c927b20aecd9c4a6b3085149268b1f7295f31501e0360876dd5fe70283fa79db867afa SHA512 5b360bdf24cfc9e6194807ae33c906512fc2c3be7b371c5cc7bc70093b363dfb5f2ec4c6c45792cafde3a839f59fcdcffa0bd5cde446a1034c9f8a4c26f2ada8
|
||||
MISC metadata.xml 631 BLAKE2B 1a0cbaea43cebd4827640482c9b8d740b853266f7430579e9560c419c8ed83d25db425d45d3c6bfc8e672a84ff62fe817a4ee9404bcae8417a5197559f1cf507 SHA512 22051966ad03ce0741f556fd729115f572e9d73e639e59748027d4b2b5e57493f8ed63455e489987535699b2a031eb8681bd29bb22d075697ca56869d2077627
|
||||
|
@ -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,3 +1,3 @@
|
||||
DIST doit-py-0.5.0.tar.gz 15174 BLAKE2B 092f21549d3c088baf8a96b8dd7575304d08c7ae7b0472e7a890159247422060af06c1cc14064cd608bd59e71788067c5374953b16f4511971bb3018c0245cd4 SHA512 f9e70be30f47b7251bdb479762dabe655be898f9fe37fc5ac6608110a82863a08002271620569745f9ec2f47c03529c044a6ea74244b8bb6438b3fbe7e4c28f7
|
||||
EBUILD doit-py-0.5.0.ebuild 620 BLAKE2B 96345acee6bd477797da7b811cdba31bf51e513e2967312ebf7d0a9bda2644c5728acc1575fabaada01f7debc42abe4d86c8bfe62001265168928174bd8c3924 SHA512 f0a068c68039bd6628fa4c5d7d7cfba15fca6ddf548c7a8c83bb0edac2c16edae62f0544659f7781266dd8e0011b214a2b2a6b19ac22bb0bd7f9f8f86f73ce3c
|
||||
EBUILD doit-py-0.5.0.ebuild 627 BLAKE2B 0fc21f1e7bad821adee4f2b76eaca432a06dcde9fa33cf59aa89c75864a31856b59eb6f788317fef38a286f87c2a563ac9acd23c6b7303c1a5ae3d8eb685093a SHA512 ce06d355483794d214c83cea9ddddbcd3218ce15414a2f8a7654dc49649a43304d679697d879eb6264f3ac3d94f13e4fd49f5962a077e3d983b78f6d8490d058
|
||||
MISC metadata.xml 574 BLAKE2B 7a0bbe729e4c116efeed154754527f4a2c8ce3f25aa0f0e7cddd9377ddd58032d49bd01583693014fd7006516d947f85976774da86ef2b952e14e06b4a81bc08 SHA512 e0f4d58ca417e125ace7705e1d326edad58ec391ef555f43ba3e34ee42007df84ee61f7234f98367f0410f4fa980c6a19e2493d3ae840c751687018919032294
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST doit-0.34.2.tar.gz 1449767 BLAKE2B c7d81144da99147dbc6bf7d670b6f411879a8080e405866866bc97ae4701d9a47a3d4882db9672e2e36bc8af577ba9632da1fb4ed2c9f87717f719ac1cd53d34 SHA512 24afc8078fef42a446733554c6ab63298ee5bb734381fc2bfc9d623dc98394916a1f89a18bb28e7ef862da8c0449b5cf16d605295e8948a0ea6968a231a1c8e2
|
||||
EBUILD doit-0.34.2.ebuild 1333 BLAKE2B 55c6cee8af39bd50d770b0c1d6593453cad0b1bce5e4c73b9a7f39909b986d0fc60c35022d72a1de4d661a4fd31f7d6a798539db397bb73dcc76fc24cc33835b SHA512 8b999ddd2c5d9a6744c3d97d1679e7e4a44658d7408deda726e0d94389afb4cc9b10a1aa6f918d8ab5126facdfe32dba0e7ba58238b139ac6d98f53da89fea58
|
||||
EBUILD doit-0.34.2.ebuild 1340 BLAKE2B b5b5cf0fa9ad50fa1fae8ace420c6b02f3c486930350eaed8c6acb2d5b855577305df0126bfaa906c104a97a19e65ad2fe8ed60b3b44b803376d6b6f45cb6132 SHA512 b26083148144f940816fc29d7836687e78f1f413e0f662643fc750f3325c1719309139055f0a31facfd7406ca6b266bf8184cb2bed950d50a70054f32f24e213
|
||||
MISC metadata.xml 568 BLAKE2B add52a6e7986bb88b9dc87d2f03c4ec3716ae7d5e2402556b7a3137b8267ca2cad0ae3324d628f3127afde36513414029c0f567a9683dd9b11b1a287ff5e3a7d SHA512 e772c9ccd8133fd73dcf04733facf60ef7c2f1559b83e5024faeea4d5fd7799c42a28be6c9b8676ea9b6d68969ca5be633320e8cb7dd8d1f0dca35e819eaebc7
|
||||
|
@ -1,11 +1,7 @@
|
||||
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
|
||||
EBUILD google-api-python-client-2.37.0.ebuild 1368 BLAKE2B bbee6bb0dec4e07887e0bd99c736c2702ca3a3fd10ed304b19dc63eeaed76b31af5289fbc862421aebc0ed0c1efd5454306d233b7b572d2600c123d9db017dbe SHA512 8c5c9dcc8d85824ac1667e6079b1da7f628ad7125d5caff22d3ba161dac2bf951d717199280379e962251abf3ffd102211d1c46e1530024e00d36448739b37cc
|
||||
EBUILD google-api-python-client-2.38.0-r1.ebuild 1370 BLAKE2B 4beaa5e82d45beb27773ac3a4d52bfe2b20da5c887c72cba5b0cd74fa5341f77d75c62ecf6f74a52a67f2f81b3897513e553845866c39350d2e41dbeb4edb1c7 SHA512 b2a516e55f37ea19f437186343cdbffaa0ba7b6aa49aa541fd19535f3ea2b8d7ef32f57eb4282fa38fdbc05855fc8630cc2aeff067cda43850e6c5f573cc8f41
|
||||
EBUILD google-api-python-client-2.40.0.ebuild 1380 BLAKE2B 5f6f5d2cc37bb4692c28dfd840683d4993f6c63def00904491dbe76e541ae90b01b11db178a55154baec88a9449b85d177ac961ed7b457f30d14507ac4181e75 SHA512 14caa36d73eb43ae96919dfa3a0a36c3ab8e73dd966b4383b21472488ee0394977d9a0b01ba0c31d30bd1f3dea52067341311b5986053913a2d7f7c7c0b6b201
|
||||
EBUILD google-api-python-client-2.41.0.ebuild 1380 BLAKE2B 5f6f5d2cc37bb4692c28dfd840683d4993f6c63def00904491dbe76e541ae90b01b11db178a55154baec88a9449b85d177ac961ed7b457f30d14507ac4181e75 SHA512 14caa36d73eb43ae96919dfa3a0a36c3ab8e73dd966b4383b21472488ee0394977d9a0b01ba0c31d30bd1f3dea52067341311b5986053913a2d7f7c7c0b6b201
|
||||
EBUILD google-api-python-client-2.42.0.ebuild 1380 BLAKE2B 5f6f5d2cc37bb4692c28dfd840683d4993f6c63def00904491dbe76e541ae90b01b11db178a55154baec88a9449b85d177ac961ed7b457f30d14507ac4181e75 SHA512 14caa36d73eb43ae96919dfa3a0a36c3ab8e73dd966b4383b21472488ee0394977d9a0b01ba0c31d30bd1f3dea52067341311b5986053913a2d7f7c7c0b6b201
|
||||
MISC metadata.xml 538 BLAKE2B bf0b8ab3a89ce9ab1d2159f4c0ebfe3f2646aced20bd2006485510c12d22e83cc130fac979f699ae6431a610c8d2acf86c04b39bc262abaf167c20571a860810 SHA512 30d004d944055660165954f8475e57ba45cef56423c80a324118836d78e5376261409955155a40c9bd988f230f3e2fc44c6aeb6fae3028c78c55a382ccd83bff
|
||||
|
@ -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
|
||||
}
|
@ -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
|
||||
}
|
@ -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,6 +1,8 @@
|
||||
AUX kiwisolver-1.3.1-darwin-build.patch 793 BLAKE2B fdcbfd2966f7f5e18859ca02bc85ef2928f053e49d4fa9bf9db5f086b32d74fd6d04488566ca63915cbd57b7a5b5fd0f3a9329c0b79918e40d487fcc3938f365 SHA512 e3031229d0e0ca18d3f0a9abe84aa3e0d8d62e212ea93551cecdd1be11698d2a73db5bc52c49b65a59681b0620f1718fab8c4093951edbffa6891495ec116931
|
||||
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
|
||||
EBUILD kiwisolver-1.3.2.ebuild 706 BLAKE2B c175a1023424a2be6873caa02cab3d65413cc14ba6ee937263f2aadd333b2ed6356e22e25850409a3f2516cd71faa4a7a87307669062da8e8e7a7a0b5f6b3c3e SHA512 bf0d8b1d4b03c8fcd0f00d2847cc7416b7ef93b2dc40f4b8f0f5696a6866092bed3f03da90b6cb8d1a71eaedac5516953cf2ee3585c69e9d96e918c68d251e8b
|
||||
EBUILD kiwisolver-1.4.0.ebuild 778 BLAKE2B da3f09da6a4812934d86dae664d7f498600d8989976eaa1f67fe0d1f8803d86305ca68bcc08effc79557ec2de9cf8b9e9d9300c68cc975ec57be6060941449c3 SHA512 4672f4f83ee84463eeabed2d6bbb6ab770a754c0d2713e7e60939f41c811462d28d381528e7a2701a160f3af76df314d0ca7d264ceb43ce436e8c9d50946e6f7
|
||||
EBUILD kiwisolver-1.4.1.ebuild 778 BLAKE2B da3f09da6a4812934d86dae664d7f498600d8989976eaa1f67fe0d1f8803d86305ca68bcc08effc79557ec2de9cf8b9e9d9300c68cc975ec57be6060941449c3 SHA512 4672f4f83ee84463eeabed2d6bbb6ab770a754c0d2713e7e60939f41c811462d28d381528e7a2701a160f3af76df314d0ca7d264ceb43ce436e8c9d50946e6f7
|
||||
MISC metadata.xml 366 BLAKE2B d724248e9950219de4990e67822a16781e1a28f41d863fde04b3e1212b982a86819636a621b6e23089b76042ebbb23e0944a88ef9ab4c4abe62103f12197e5c2 SHA512 526fe3a81426edfc4c050631133799d948d1becb016319e954491090b9f3f6d410958db7027b5c2e2386b40c783f8c984b2588cda56e3ac58f3d2b1a5a8af0f0
|
||||
|
@ -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,3 +1,3 @@
|
||||
DIST leather-0.3.4.gh.tar.gz 41368 BLAKE2B a1181da5904234677290134726da33a71e0f37e6f0161beb0ec7a73efca1b2b26e973221f2f42b72fd2640ef503a8adc905273885deef212ee9d1aae6d91f804 SHA512 0547adf5d455afe9397cf9c597cc7edbcdbe25bb56e32d764c67119bfe1329d959834f2a41720adb51ec926065e044feb27f7a5e3f800c8636a22d4f96752212
|
||||
EBUILD leather-0.3.4.ebuild 659 BLAKE2B feb742b0c9b99c969c3e2c71c6618267596428158de6016564be9cfc621bbda598d623426eaa5bd29fcefb7141beb534648252c0e69df3f8bac911583eb3bb6f SHA512 55cdeb650156a7b362090837f22ee78a6f181b8f96ae47bf622c2367a56ae743050cc38e626c75050b6aa4e73c4a0147c45f34999a5d18a4eb2dcd2c6e7e9e0a
|
||||
EBUILD leather-0.3.4.ebuild 666 BLAKE2B 3397d40ce6b919698daa154f0de30b0bc5156194d930a9d1e43d044972261bc77025326513c856027b90ba1b290ef798015118723939837a9f9451c0f61cbd4c SHA512 6d30176630bfc724fa5dc9213de82fe1df2ec75a48023b01e65b1872e2e48f659a2acf4f1ce7ef71883eb0da4f60ff6f6f6af22c3be48d890a487a709c01a0dd
|
||||
MISC metadata.xml 518 BLAKE2B 648219c9f1fc5535618ef0aa644fae01ddd4dbeeaa18abe51d6d3b78294bba210382c27ba9ff7f8ff62a649354663da3d483e46639d50b908a32993e27262ce2 SHA512 62a25d54f7de231344d7a3ddfa38f5ca145f6daa099e2a5666dc15ebee2448b2ee328d349b8a27db8d61fc2348186eae55507194338937f3bd33d1526ee0b33f
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST mergedict-1.0.0.tar.gz 5188 BLAKE2B 6ec3a5df1b9c366cbb8b87b4c02ff18f15953d1e10469c5d20e170f0a1deca949edab6f0bd0100fb085401375cce51b9e323279d296153144548b93a8d072e7e SHA512 0f9f619961d2840995d2c2498debcf8b47c54fae76f419588562311d5bc43483c994cbeb618f2a1220a9ab33c56f12e3e257323c40ecd0db3a7181d7dd80ef27
|
||||
EBUILD mergedict-1.0.0.ebuild 403 BLAKE2B 78ec3ff49b7a67415315f78e7d52c0a48bf0b870316058a960cfb4c8af60f725a4c861be0a255709b59fd0e1bc420a2d79aedf1c97ded04b289c71d0a3e4ac6a SHA512 e88a21ba794547ca720b15912972979d677ae2865a5479d48e584b9570528003cc5f759c010fc9103a3b0c8f25d2b25a8ea7ddb4c715b1874facd8a9187fdcee
|
||||
EBUILD mergedict-1.0.0.ebuild 410 BLAKE2B c6b49b61287107c1591a3fda81c39362878c5fb2a35bf78767e559fe2f58a53c300f36d3adc24873133557ae0a501e2e9a8b33f0dd7130cf22d0b750dd911ead SHA512 65d25b201ee2d1db73eb62d52203a261b8d3890344bc3b9b2c7cfe4ee32fb43b89c6a6a6446d320448034b64c1643cce9b904291400354a442d56ef0f4c76229
|
||||
MISC metadata.xml 376 BLAKE2B 187fde54addef683a9c1fd63cebaf56d1a9e7be22bff5635291785a7f5cd15c26f2bbae8d09033364849d3a955db8e3736c4180e72ef1df38179a5764cac4d2e SHA512 60ece1ab0999b9fb136fcfc52237285a8dcb7f54f73ee1d6b4ec2051361883f04237117f6e8f5d6558b61ca94d55ebab3b40b683d075b060c99eb6aad5c29ef3
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST micawber-0.5.4.tar.gz 34963 BLAKE2B 1c311e2d1c8f32f81be466893bf1eb34f8c38901b168a97c88f2043aba1624fa8b6d12460c7470c3bbd720ae29af23ab808a9464b13ebf5ec193f5818b6f3aa1 SHA512 26879174071256fd3f95e92b0ea01b11a44eab767aa7bb43ff62221212ea0ab1ad33b67060e2dec33963abad599b864573f6a9d5a98fcd8f1a6633a3c73d7c80
|
||||
EBUILD micawber-0.5.4.ebuild 669 BLAKE2B a41bbae5432875ef0614855a56850858378c9d02336ba1dbdaffa6c593ed450f4f38a4c9a4e1e99bfe16ed8af56ef5c650209f6fd90ead913c34e5c829893b74 SHA512 68aa80d472d7fc663aa22ffc775273635ef25233e18b6974782885ea2e794b0464653f10e1747650f90ea0ecd9d05f04da239d097a660db6445f2a7718a85585
|
||||
EBUILD micawber-0.5.4.ebuild 676 BLAKE2B e462eabe739ab39e3f6efe581b106f6ab51d66596faef31efcf67e09de67ecfc969cc5fdd7157b9ba722ee51ff3018b803bef06d8868f86cca97b5a648a0110f SHA512 846e7c5a834d4b744db791c58b2cb680449a549a8d2f93c22d4e65e7f2141bc52278df441d0114781525c3fdde5211d87ef16e122b59d6d158d8aafc3207475a
|
||||
MISC metadata.xml 393 BLAKE2B 242d3f01823c212076395d92bb9fce8d535794bf544e5cc3fb878cca3261e1d7247453588ef5cec22f5aa7926c540ff8d028ae231e87413f32dbfb346ac18f21 SHA512 951e67958b37cdcf0cef853500c7b9589b2d7ed4f6a7179f04ab477409bbdff938614d3577fe0c41ac25d1eed9eed32ed23a75d8ed74444e2c2e8ad34f3cb468
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST mkdocs-material-extensions-1.0.3.tar.gz 11983 BLAKE2B 0a9594c85df0782543275598368497bc5bd902c2e96dd75628b94eefc2f7998b948cc659577db6b27fe2787fe2a6547bdecac823f4a9533bb6b8d781922f9a6a SHA512 af6ec96db5628527d6dbdeb6557276cdf297ab5926cebf5508d6e5c4c5b8493b9f55b967230e2853d28bcbb17129a32778936ccd0264ab75c870be2eecf2e8ef
|
||||
EBUILD mkdocs-material-extensions-1.0.3-r1.ebuild 697 BLAKE2B 6dd3bf4edb898669f94364873f3ee5d1b45b226f2d06d4f508584122dd2e21e18f2299924604402c43cb4f291a535ceb05d357af4ded12fb5d55bc3fb3896927 SHA512 4ea1dffadf8660264dc5108ade6db768016ceca2e3b2d7c8f0b33b0acd141ba0af0e3f2bf00916ee02900648d5a1ff9a6d73123e9f2e7341210eeb9532a4e3b0
|
||||
EBUILD mkdocs-material-extensions-1.0.3.ebuild 844 BLAKE2B d8615b3ef223237d8cd38d8614e66e245dceee30813a0f08b802612cb7ce0774d6d92f8039a68a476a13806ff3b101dd00e45369607b21a3c7bc41e6c24edab9 SHA512 4f3df244db4233718d023359fdb82d244722f6976b9c4697ba9a185625afc11b7c751629afae8335d9e1ca3df3baca266f3559e5f72f51c8ecb66f9d4f89f32f
|
||||
MISC metadata.xml 451 BLAKE2B 3deb46d9e68b98525a9d7d31d2ccc0cf3c142d2988dd01636f037bec1b0ebfb07bd675c402fba89f6c7d171444e693b1c070eaee27c9a0ce94d48a1edd73b58e SHA512 add6b4dc2b6a8032aa3edf9ad22f02edaebf4cfae392c2920db40c201adedb20e6f085de59f2224a3fa037060c7cdb3dc238d3174a97f95aa35bc3bc8618f3da
|
||||
|
@ -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,7 +1,9 @@
|
||||
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
|
||||
EBUILD mkdocs-material-8.2.1.ebuild 911 BLAKE2B 485a8f628de12a6ec49433f457f54c422c5f918825bae01d4f62a95f2733c75c1ea18e5e5c384236689f5482c13408fd386778af5f1d8cea412d03e20d68bf84 SHA512 08cd7abf0654255f66f5865e6f08b1103476a53d7d9e0d08aea7ff6c210a2f25ce6eff0b0d9579e54be6235518f1c011357aa7bd77430044c9622f923ec3bf69
|
||||
EBUILD mkdocs-material-8.2.2.ebuild 913 BLAKE2B d5644402b86922c4bbe4840686f2ea5644beecbcdd2481f04dc776bf8cfdf94152c7db62d2dac7311d7258ab344aaf4a7cd2c7499f5f56a13fe3ce8d8de64967 SHA512 63d4cd09a8ca6c1293903837a528d80528ab590bdbc022cf24fef21e4c1dfcce1cfb20107726f63b939a0b39cd129e3dd01259695c80fef0dc3e9d92805fa429
|
||||
EBUILD mkdocs-material-8.2.5.ebuild 913 BLAKE2B d5644402b86922c4bbe4840686f2ea5644beecbcdd2481f04dc776bf8cfdf94152c7db62d2dac7311d7258ab344aaf4a7cd2c7499f5f56a13fe3ce8d8de64967 SHA512 63d4cd09a8ca6c1293903837a528d80528ab590bdbc022cf24fef21e4c1dfcce1cfb20107726f63b939a0b39cd129e3dd01259695c80fef0dc3e9d92805fa429
|
||||
EBUILD mkdocs-material-8.2.8.ebuild 1044 BLAKE2B 5191087856a6daaa579300c2c5cd32b2810a2e86d4f233982f3a0f03f472ddd4a1b1acbdc3e7d0672988f3d10b2a6f8d978ddef823458cba2d81cf055b5df9b4 SHA512 9e3a52f02adc5cb473611b064d6038b1e020ef1f406803a1af12ddc35072be3a7bd37d1199a043c16905378e3b70165ad3900d3b23c97f13d09acbc47d6acbdc
|
||||
MISC metadata.xml 1037 BLAKE2B 6997d0f85e31152c58092081b697d8934c54f933e188082eb55e5e9f252f57274f673e1d8e5b657907da2d1658f969cd67bdb32bdc05324746f211b718f3a4b2 SHA512 ccd4f4aa6e6e780d0aff5894b260eedb602d29cc25427c202561525d27de4a31d1e13f59267d8d732d0e12f3ca0485996bca6ef2a114e96b030259899e8ad47c
|
||||
|
@ -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,3 +1,5 @@
|
||||
DIST mkdocs-1.2.3.tar.gz 6919177 BLAKE2B 43ff118149a497dd366f7132487564be51ffeaff644a519c7bf9e52a3e3239e9696c21616e5d7494f7c4af8ee60ec77f27fd15e80f5c5c6c1b2db4cf1f672e44 SHA512 03385bc940df8a6b3668300f3752afe973b95f149bee58217ace82063aacb661dbd000a2a7a383c4804434473c3945cec3cb41d6608388350da3098c32709541
|
||||
DIST mkdocs-1.3.0.tar.gz 4085674 BLAKE2B e34605c2d1122ff86ed5cfb6134cdda67450e8f32d7628626ff4ac8c36c45b127312ad693efe35237b714adb9efd244f12f90cf8ecacf6009b75786db30ebb1b SHA512 d33d728eaff4e39106c1187cf04f579706ce28af364852c67706ab85f6b9ccdcd26ae84cd4d5ea7572e52fde1d1137eb3e424679dd4c8ef043c9637aac062270
|
||||
EBUILD mkdocs-1.2.3.ebuild 2091 BLAKE2B 0ab4bb1d6c05831ce87ab30676287989eafb1a73d47af083042c7a93a2f10195d1fa553d4b5ea2497e3cf6f5e889eefede27a72c84a5929412de4bbbb90b5571 SHA512 cbc592271a13958d634192c363f3fb008d637a06d59aa296e62fae3a5fa78937a393bc8a8e3c5b617414e6e2865f131baedd6fc1d3a44bd0379d0a5a6a772002
|
||||
EBUILD mkdocs-1.3.0.ebuild 2245 BLAKE2B 4547d9184efa1004fc54006552034e962f973ff5c36ba3d84e521663d43ea8ea44bd00a9242f47ba4d610404653ea62deddf1637b5713b89da11d3496d4ef8ba SHA512 86652d5ec55cdfc17d1a098909217494fa2598a973d5de1a53fb4fdbbcfe20b75cfee2b72de679e1a010fa9d22e0349e18a35037c6dda8caf88e2fe77fbf6677
|
||||
MISC metadata.xml 405 BLAKE2B de9dd789fea13afc3622c6961674d046806db1025e9d0475c0ff8bfe1c6d91a741b6112ccaafb46cb19b9dac971c50095ac89b13353c7c0e1571961a19a90387 SHA512 7a19785dbacb67aa5679d6e7c9617b52b25f724430fa3471b645e31df04157efc4060dbd4fccbfc37b5709138164d8ec89c2e94cddfd727b3ee4c705ddd38dcf
|
||||
|
@ -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,7 +1,9 @@
|
||||
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
|
||||
EBUILD mkdocs_pymdownx_material_extras-1.0.7.ebuild 557 BLAKE2B 2854ff1077a941e23e2d51fce318bd41b8239e10c1d6be3fb65ecd8f08397f00ec46991021a23ff1d454d7abe5e6779d9aa4d36340e9fe84ff238c8e69e4be10 SHA512 6bd3f7d6daae3de6152502f9cc7ff522f6220f5111e80cfee6e0d400c9492dcbe1ab5baafd709f67d11a132df8261df60ad89cf82dc57c6f47ca72de1f34f389
|
||||
EBUILD mkdocs_pymdownx_material_extras-1.1.3.ebuild 557 BLAKE2B 2854ff1077a941e23e2d51fce318bd41b8239e10c1d6be3fb65ecd8f08397f00ec46991021a23ff1d454d7abe5e6779d9aa4d36340e9fe84ff238c8e69e4be10 SHA512 6bd3f7d6daae3de6152502f9cc7ff522f6220f5111e80cfee6e0d400c9492dcbe1ab5baafd709f67d11a132df8261df60ad89cf82dc57c6f47ca72de1f34f389
|
||||
EBUILD mkdocs_pymdownx_material_extras-1.6.ebuild 568 BLAKE2B 17a5dc79e64a572492b3594934f7ed0b2bea9ebd9acf6bd7fe905c7387c0b52e7476ff9d4c9e1168649034c12a6cd625333bd06d4cd1d396e762f97eede9966e SHA512 c55f3deaa636949169f107ffb4e9fd0d8b35a31e4c2d004994f3465bb19b7e346da676d0e222e63c6f9cdf9873af00b563375035a42011a318b0950188720a1b
|
||||
EBUILD mkdocs_pymdownx_material_extras-2.0.2.ebuild 568 BLAKE2B 7b453b9fa57b127d4f7b63a360d76354029d917e8a2e7b251f5f4828cf1481449bb9715ec17c49c35edec93c41cfaf6c6e0f29e378835f7e7ba082b83d92cc6e SHA512 1b405681eff718ac0a3b0a064aaa5d78a6b6449a55c4827b7a6748e61379b6a7a50cc8992b6888d0d028822d34138e2711f1b48fa9bd0c41818c2776b98c040f
|
||||
MISC metadata.xml 1167 BLAKE2B a4efd99b0128f99bb7a8da17fde37695cff1f9e50ddec9d3b71e5eae4a09b8ba6646259c724220ee5905faa420efcdaf4be1d0828c8cc4d9e7040ebf1398bd0e SHA512 37d5b8e942796e54f31d0a2d592157d7a50d8fe5bdedf6f0e57305d60b4d7fd99f649e2604bb53cba5cf457227c3c1debfd607b3f5b97fcaee7e8209fbc900ec
|
||||
|
@ -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}]
|
||||
"
|
@ -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 @@
|
||||
AUX piexif-1.1.3-tests-pillow-7.2.0.patch 1382 BLAKE2B c7ea03ffe0708b975d64602910bf9c228f0093d9cb717a1b1b9f3e7b6358b94f3bcbd6da8f9bac12fe2ee0745d17defccd196bdd8ec018fea50b7d131e148616 SHA512 be1ee541e3bb6c219d6fd9ab68e9143c2131f695a2001d36a0d63b0566d71a542a09d58dc0bcbdb8c1353297156ea7853d483b9a44407cb31c30acc4252310bf
|
||||
DIST piexif-1.1.3.zip 1011134 BLAKE2B b27d4419cf545f6205b13c5646dff9fc7b1ce6e5de538f6a7189e6cadb54d301e11cbf0feaed8b073cbf16de95d67c621b68657b35fc0ba2025281ee64be4e51 SHA512 df5f7793c39911af58bbae76cf998e2a7bc820b84dcf9808ee8f6a38f766f824fef28392ef88387e18b10c270c4b27881be310f0368076b6fb65379a11a93270
|
||||
EBUILD piexif-1.1.3-r1.ebuild 820 BLAKE2B e07d5f0dffa67a1d3d44b23a9b5389c7bb5218a92205661bac6c6e8ff589f717360070e72f83b7180ae4516cc9e6ed14afe20adad47155209a52c46e0e018425 SHA512 973fdf18c0d4628ce07efeec4b48987627d22599215b80963f0e00c69f09b8f6de903ff93cdcbe0ea75c85eced3400ab0f31577b7eb35a8d5fa3fdfc19dcf77f
|
||||
EBUILD piexif-1.1.3-r1.ebuild 827 BLAKE2B cae7df00b4c42c480ceaa0b6cfae4e39d42ab44c1779b88d4ca19241ac0ccee8846a614c8ee1bb705e35e60a4a9482b587453f7b58709579031d76775ce99dbf SHA512 f34dde462ce0954cdafd78ca71a87e64451a8af44e3a74cab1fe578385e9c81b03beb4446db4e63d0d8d2e8a20104bc30b18aba8574c3824044b08b3a2d95152
|
||||
MISC metadata.xml 364 BLAKE2B 2ef968ac973776979f74c1ff510b657d691d7cfd1b963b04faed752e4dedfea8f325357b95ea9abede883a8ead27016bd2b657be119902fa21f9bef6ea2ebb0c SHA512 c62c0ee0303599f10b04701183db691da926fb3176f5ad5efcf58782c50280e03dcf5772ab1d033d3dc96730a2ad87c19ce9749a9c0ce2dd3dfdde76d2466eb7
|
||||
|
@ -1,4 +1,4 @@
|
||||
DIST pygal-3.0.0.tar.gz 3575455 BLAKE2B 9b64cf441aeb25b0a0b9834f07e5892fe163f28a5da796d37083f8f3a10d8737a69bad39e503d722e6a36f2de4367b4fd2bdc3a06c5bc30bce66a370690d9c88 SHA512 71ac9f197d711c8cf5bb47caef128754f81b1cb0ba98c4cc67de78b68fca5d40baae9fbb5c978f6abaed4c73b8edfea2de07de2fda1aa7c15e0d81387518cc49
|
||||
EBUILD pygal-3.0.0-r1.ebuild 1042 BLAKE2B 9887d6c9360f5ef4d757e8c4e0523db12a688a973ae69bc9f243e911d5e592b7e425da9c79a771194391878a7f85c3741217a278b333144210eb4ecb38935834 SHA512 a85c464b5e2ec3d59a22c608ea62f738ea20259772febdacc502d75df0f7d36cbe6b27ae93a3b23fe420a6ff322134ff73e993376ef6573160cefdac8b19201e
|
||||
EBUILD pygal-3.0.0-r2.ebuild 1076 BLAKE2B c98408713c8342726081df60e5aed7832e83f137c0f22100ecbadd572282c974f0c9eea456a815930836b530b9d1210579967d410beb3a0f6b2617a1b9b52056 SHA512 3845f8e5752d9310766217f5c5b5243f9c91c24d04bfb6771980a16ffbac72c14615aad405457c57f5d313738729a930adf24d728652d0de52230948ee0d2e4a
|
||||
EBUILD pygal-3.0.0-r2.ebuild 1083 BLAKE2B f88a23309a41877aeb38b47a937d09a5839287fe7d8125d2e72d0196412efe4e3f4183387b7e123a81f2583b6b19c5d5c047c1e8462339202303821b6d50b601 SHA512 a334a0917f0387ad8de39f5a4d5f179a9349dee7e3ab133eaa36af71e059bea5d568ddf8628e3c5b3b199c0987c905a522443c75423e8a3df739bacaed45eeba
|
||||
MISC metadata.xml 458 BLAKE2B 70473091a8343d255501ff6d306cbf376b57c42ba842e36a3948649f30ffa3f29ff502254cf265512b024878b8faa7d77b4164b5cf70ae6f851a5d2d51a3997c SHA512 3bcd119c30b25e2f821c10d1b2c58efc109d8049a446acb4960b47ddef18d3c1ed4efc6bb4dc551abbb42f17828c4898acdad3172523b7576a6a548e43a8e8b9
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST pyicu-v2.8.1.tar.bz2 242774 BLAKE2B eeb3c45124301b7072addcbfc3c97521d21fbdb5bdf2b0fe94f0181c225927a0b3bd6ab6271140fa9928d0220e5cb33c800b367cf4b0cf844ad64a2438aa016b SHA512 dc7fb292322c565da045db9d91e9b4cd58a559d6f78bf3f050bf25fbab942179b463b977340e08bbeb107e3a2be8a2eb0a0a91911e0c0b8b96327ba85fd13c46
|
||||
EBUILD pyicu-2.8.1.ebuild 662 BLAKE2B 26589c529d608bdafcf731c843d2d1f3b7dae6c2ca5f2f7bd7ec8213ee42013e46d633cd4f5107fcddd4f9fe47297dedb5f9e87e1beffcc5b5e438444a024741 SHA512 3959b8aada85e29867f46c1e1a8bca2cd6d8e4f88982f9aececf357f53552b0afbfbe668eaaccdeef6f8469c2b129ef8e25cc66be221f6b3779bcee06f4cc2c6
|
||||
EBUILD pyicu-2.8.1.ebuild 669 BLAKE2B 900d64afbf23856b71df56b9bc381edb87f16a19ed3149531a3b798a05738e2e7ab5a650ea9b4b8e909d6e92e8d5490b101439cac61894202346b0af22e586ca SHA512 6a9d1daf4af8d70c3acd9284017c1284aea9b80b96243bc192ad8486f46d2219c922c608949a9a8d727ff0a070ab63b4e6c817935a852ef79e4ce55501381d8e
|
||||
MISC metadata.xml 415 BLAKE2B a96dc033850e25f2afcd4128d38becd7c86263e5bb366a701c88a2bc81118aef03217bbfe0c2ff0719f636104b2a12995815c36f2a3e6539136509c7900c25e4 SHA512 e8d901e2276b0a92ae8e0cdd4b0e1cacd29d9eda86491a31a2057d013b7c4f8c340d0e83dbfd53500906f79a827d837cc7e445c24e6cf5b50ee809ec2c35eb13
|
||||
|
@ -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
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue