parent
c5828c3ebe
commit
ce474c0f6e
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29290 BLAKE2B 3e3e951b4712e5911ee3d96b00dec77976c9d905a0cc73af2f4daa3db37d038b305d2306bc819edca6edc47cbe0aa14dbd3ed4f56d35e7d96479ab91701fc486 SHA512 962c4a4fd32cb08beff16d60ef4bd56cd853492be7a6fd285d125e3c1cfadc780c75c681c906f1740fe6b12d38c88f8ec8ce6f92d448c5b01f4cf36241d64e3f
|
||||
TIMESTAMP 2021-01-28T05:08:30Z
|
||||
MANIFEST Manifest.files.gz 29332 BLAKE2B 88ef44694fde025d44295179e7d0a787ef338c14d92fb5c0efcae18652e03275dd61f440de453b720706fdee2cbb2629fe5460bf34e1619bae88d760dca80604 SHA512 5e3d6c15417bd434a2bc53cfdf41abb3a4fc17f893c128163914391c4539af9a6c542d137b00367386f551a14e8c8028bc93b3b5331010f394749dfe20c04b21
|
||||
TIMESTAMP 2021-01-28T12:38:26Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmASRs5fFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmASsEJfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klByEg/+Ki8dn5AuUhOowsbh66nHbyG6Ct0U1GRsmyf3jpPur8KNGiu6t/OyOZil
|
||||
UnSr359VBCmPK3gqGbM/zyqyI455nY+LPSNC8AZatBD7/h6z1Kz+agnwanUpqN7H
|
||||
NThdgfJI8m6kmMGhof7sB/k304ZNJPlW0nb+fPZQ0WsYAxLM3Z3Ko6BjLRP9qu8p
|
||||
qZgq5r0/ZXk4VeYpjwi2tmQUx8AOpcXH76XyhukIqz6aarJRdp9RnjyAyPVsk2kK
|
||||
Tg/w3DEZKUVCe5633MyVZ4L4lP6JUOxtYphVGSA+ytKQxJ5zJQ6yY/Cpm4DJuSY6
|
||||
vxw/eO94pzwf52/qynQb/4AyU25LxEeynABWG0WVjnWvK2pCRJGzNe+YVs3g3pCR
|
||||
/G5EM0Aj7QyeDYdTRMMbE4u7liI3zMcstNALIQx3fPw3pJa/Jo2RYbwG2BQQx1YG
|
||||
lZL7+vB+Lm7wog7S59RAgG+SWT+7ISlr8CRH0Y0uwIYoZMTkPktO3jNvCKkqGc4I
|
||||
PrYasFvtLupb8nX3FOyDHVru3Bowd3RmbkyCrPy0GSbT7CTSYx8yqoXTzTs1p8IC
|
||||
RFKuvWXN7a0EboKU7uz0xuLB4tYLVH5UdiJY5h4Q+1LafGoJyFSuq6B9g2HnvHRs
|
||||
hdeOentBmKfGy6fzIVmN2TAM2qA2XJHA576NE4ijXmQBT2V+FLg=
|
||||
=Pb2x
|
||||
klDwWA//ULX/O0TxVQzmAx5nxy3xr8xc93YxGr+G3hbB8wJTaDDQKyIuLu+t9yrP
|
||||
JSeStkvgpL8m+s8jqo59XofBHVG6YmqJxPH4DMScokgmyinUo+oziqwh9yR4hXIH
|
||||
f+hav7W/foWh7BfasRjdxI2N8x8A4WNrZDn2x2YoX6jo6MCFrOYn+6MOCQToAyS1
|
||||
/NPmTfnSUpjSS4z/kh358DK3RHQqtrClTFmjXUfV1dawFWUgdaI5lgsXW5U2iKNs
|
||||
4j05bn2cig59tGFoHl8IVqr4qvSuCFs+fdpyx9QljY7/Ri0jsI/t0Zyv/mtE8ZFd
|
||||
FVaKWuS4vxDVJoJpTsYEmCZuADB3sPWN5pCZ8OBhaNtFsvVcRh53YwyZBPiSq1Pz
|
||||
IfSeseql2p1+JJXjzylZodOYA4sUZ0ClttiC+GMOf7b/bwgV5Haq1a5YPlF0h+2O
|
||||
ffwv5SPUAKZwGvOwT9vVD+rIGP17K7rfr4u0A12fLGM5g62K5nW01FHMts+QlG1k
|
||||
33nyWJZ8b0eqgcpeNgJGY0Jfq2uTBPJVypMyr0ataJ+xEH8LMgPssqN/6z5ltjr/
|
||||
9UR6y2FwUWmx8F0IEJCafmMmQhlh66mO+f9jtfnd41DpElqbc1jinehi9dFquqr6
|
||||
a4Z0+QbeFYId6Xrw7pXzjViXhLEAV/241hWrHKB3+uOHkVc6pQI=
|
||||
=Q2bd
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="A versatile deduplicating backup tool"
|
||||
HOMEPAGE="https://github.com/zbackup/zbackup"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+-with-openssl-exception"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="libressl tartool"
|
||||
|
||||
DEPEND="app-arch/lzma
|
||||
dev-libs/lzo:2
|
||||
dev-libs/protobuf:0=
|
||||
sys-libs/zlib
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# Add tartool build
|
||||
PATCHES=( "${FILESDIR}/${P}-tartool.patch" )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_TARTOOL="$(usex tartool)"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
Binary file not shown.
@ -0,0 +1,3 @@
|
||||
DIST bcl-publickeys.asc 29990 BLAKE2B 220a23b549c9f13f5b3a55200b07f34e8178e6a1dba69d484f564f0d1293a02c6ca3c986091be511122d43e465f6d32206f9bbcaffe42aef03d5d3eca2e79db0 SHA512 5740390fef55fa10e6f89743390706001bd9f7d242a19e906e140a116de1aad1d3c22b280a7e789e792e7636fd60b6d32ba30ed6d82ae13381cf8d27320cef1f
|
||||
EBUILD openpgp-keys-bcl-20210128.ebuild 570 BLAKE2B 3a1d212b828f3c7aacb467da53e9e2f1f146f05c5d8bd3bc05e2e0bcf537bb994a25e2b2a349aa47846bfeca263cdd5cf20a51c0e5e08ed79a345c04aab78682 SHA512 8db54973d1c62ef3445578ec1d3baaa4aa0a4aeb4ea1c5368bf0b44ed69cc07f9fd46f6f3c9d441ab39eea25119f00c1bd5f3fc832cafd23224c3d4d42bb25d6
|
||||
MISC metadata.xml 247 BLAKE2B b1be080032e657afc879ab3aaa222f493f548e83f31b4d760ed187eb47a7063e725e4d4c38ec73891d530e6ac8480aa69a659039bc9bb259981d2c7af3a7decb SHA512 5a4c7eac292be21b8ade871e7e31f73bd55c1f39220b457ee5ab021e85a3063bc913f33b4c36f4da97a038c786ce63ab43ccf4dccc9ae4da7596ae1c5bc8e709
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>dist-kernel@gentoo.org</email>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
</pkgmetadata>
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="OpenPGP keys used by Brian C. Lane"
|
||||
HOMEPAGE="https://www.brianlane.com/about-brian-c-lane/"
|
||||
SRC_URI="
|
||||
https://www.brianlane.com/publickeys.txt -> bcl-publickeys.asc
|
||||
"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_install() {
|
||||
local files=( ${A} )
|
||||
insinto /usr/share/openpgp-keys
|
||||
newins - bcl.asc < <(cat "${files[@]/#/${DISTDIR}/}")
|
||||
}
|
Binary file not shown.
@ -1,859 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8,9} )
|
||||
PYTHON_REQ_USE="ncurses,readline"
|
||||
|
||||
PLOCALES="bg de_DE fr_FR hu it sv tr zh_CN"
|
||||
|
||||
FIRMWARE_ABI_VERSION="4.0.0-r50"
|
||||
|
||||
inherit eutils linux-info toolchain-funcs multilib python-r1 \
|
||||
udev fcaps readme.gentoo-r1 pax-utils l10n xdg-utils
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="https://git.qemu.org/git/qemu.git"
|
||||
EGIT_SUBMODULES=(
|
||||
tests/fp/berkeley-{test,soft}float-3
|
||||
ui/keycodemapdb
|
||||
)
|
||||
inherit git-r3
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="https://download.qemu.org/${P}.tar.xz"
|
||||
KEYWORDS="amd64 arm64 ~ppc ppc64 x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
|
||||
HOMEPAGE="http://www.qemu.org http://www.linux-kvm.org"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2 BSD-2"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="accessibility +aio alsa bzip2 capstone +caps +curl debug doc
|
||||
+fdt glusterfs gnutls gtk infiniband iscsi io-uring
|
||||
jack jemalloc +jpeg kernel_linux
|
||||
kernel_FreeBSD lzo multipath
|
||||
ncurses nfs nls numa opengl +oss +pin-upstream-blobs
|
||||
plugins +png pulseaudio python rbd sasl +seccomp sdl sdl-image selinux
|
||||
+slirp
|
||||
smartcard snappy spice ssh static static-user systemtap test usb
|
||||
usbredir vde +vhost-net vhost-user-fs virgl virtfs +vnc vte xattr xen
|
||||
xfs +xkb 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 lm32 moxie rx tricore unicore32"
|
||||
IUSE_USER_TARGETS="${COMMON_TARGETS}
|
||||
aarch64_be armeb mipsn32 mipsn32el ppc64abi32 ppc64le sparc32plus
|
||||
tilegx"
|
||||
|
||||
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 )
|
||||
static? ( static-user !alsa !gtk !jack !opengl !pulseaudio !plugins !rbd !snappy )
|
||||
static-user? ( !plugins )
|
||||
virtfs? ( caps xattr )
|
||||
vte? ( gtk )
|
||||
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(+)]
|
||||
xkb? ( x11-libs/libxkbcommon[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 )
|
||||
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(+)] )
|
||||
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-fabric/libibumad:=[static-libs(+)]
|
||||
sys-fabric/libibverbs:=[static-libs(+)]
|
||||
sys-fabric/librdmacm:=[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:0=[unicode]
|
||||
sys-libs/ncurses:0=[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]
|
||||
)
|
||||
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(+)] )
|
||||
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(+)] )
|
||||
"
|
||||
|
||||
X86_FIRMWARE_DEPEND="
|
||||
pin-upstream-blobs? (
|
||||
~sys-firmware/edk2-ovmf-201905[binary]
|
||||
~sys-firmware/ipxe-1.0.0_p20190728[binary,qemu]
|
||||
~sys-firmware/seabios-1.12.0[binary,seavgabios]
|
||||
~sys-firmware/sgabios-0.1_pre8[binary]
|
||||
)
|
||||
!pin-upstream-blobs? (
|
||||
sys-firmware/edk2-ovmf
|
||||
sys-firmware/ipxe[qemu]
|
||||
>=sys-firmware/seabios-1.10.2[seavgabios]
|
||||
sys-firmware/sgabios
|
||||
)"
|
||||
PPC64_FIRMWARE_DEPEND="
|
||||
pin-upstream-blobs? (
|
||||
~sys-firmware/seabios-1.12.0[binary,seavgabios]
|
||||
)
|
||||
!pin-upstream-blobs? (
|
||||
>=sys-firmware/seabios-1.10.2[seavgabios]
|
||||
)
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
$(python_gen_impl_dep)
|
||||
dev-lang/perl
|
||||
sys-apps/texinfo
|
||||
virtual/pkgconfig
|
||||
doc? ( dev-python/sphinx )
|
||||
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_ppc64? ( ${PPC64_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 )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.11.1-capstone_include_path.patch
|
||||
"${FILESDIR}"/${PN}-4.0.0-mkdir_systemtap.patch #684902
|
||||
"${FILESDIR}"/${PN}-4.2.0-cflags.patch
|
||||
"${FILESDIR}"/${PN}-5.1.0-pixman-for-vhost-user-gpu.patch
|
||||
"${FILESDIR}"/${PN}-5.1.0-usb-oob-CVE-2020-14364.patch #743649
|
||||
)
|
||||
|
||||
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/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}"/default-configs >/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
|
||||
}
|
||||
|
||||
handle_locales() {
|
||||
# Make sure locale list is kept up-to-date.
|
||||
local detected sorted
|
||||
detected=$(echo $(cd po && printf '%s\n' *.po | grep -v messages.po | sed 's:.po$::' | sort -u))
|
||||
sorted=$(echo $(printf '%s\n' ${PLOCALES} | sort -u))
|
||||
if [[ ${sorted} != "${detected}" ]] ; then
|
||||
eerror "The ebuild needs to be kept in sync."
|
||||
eerror "PLOCALES: ${sorted}"
|
||||
eerror " po/*.po: ${detected}"
|
||||
die "sync PLOCALES"
|
||||
fi
|
||||
|
||||
# Deal with selective install of locales.
|
||||
if use nls ; then
|
||||
# Delete locales the user does not want. #577814
|
||||
rm_loc() { rm po/$1.po || die; }
|
||||
l10n_for_each_disabled_locale_do rm_loc
|
||||
else
|
||||
# Cheap hack to disable gettext .mo generation.
|
||||
rm -f po/*.po
|
||||
fi
|
||||
}
|
||||
|
||||
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
|
||||
export WINDRES=${CHOST}-windres
|
||||
|
||||
# Verbose builds
|
||||
MAKEOPTS+=" V=1"
|
||||
|
||||
# Run after we've applied all patches.
|
||||
handle_locales
|
||||
|
||||
# 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
|
||||
--with-confsuffix=/qemu
|
||||
--localstatedir=/var
|
||||
--disable-bsd-user
|
||||
--disable-containers # bug #732972
|
||||
--disable-guest-agent
|
||||
--disable-strip
|
||||
|
||||
# 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 debug debug-info)
|
||||
$(use_enable debug debug-tcg)
|
||||
$(use_enable doc docs)
|
||||
$(use_enable plugins)
|
||||
$(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
|
||||
}
|
||||
conf_opts+=(
|
||||
$(conf_notuser accessibility brlapi)
|
||||
$(conf_notuser aio linux-aio)
|
||||
$(conf_notuser bzip2)
|
||||
$(conf_notuser capstone)
|
||||
$(conf_notuser caps cap-ng)
|
||||
$(conf_notuser curl)
|
||||
$(conf_notuser fdt)
|
||||
$(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_notuser jemalloc 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 png vnc-png)
|
||||
$(conf_notuser rbd)
|
||||
$(conf_notuser sasl vnc-sasl)
|
||||
$(conf_notuser sdl)
|
||||
$(conf_notuser 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 usb libusb)
|
||||
$(conf_notuser usbredir usb-redir)
|
||||
$(conf_notuser vde)
|
||||
$(conf_notuser vhost-net)
|
||||
$(conf_notuser vhost-user-fs)
|
||||
$(conf_notuser virgl virglrenderer)
|
||||
$(conf_notuser virtfs)
|
||||
$(conf_notuser vnc)
|
||||
$(conf_notuser vte)
|
||||
$(conf_notuser xen)
|
||||
$(conf_notuser xen xen-pci-passthrough)
|
||||
$(conf_notuser xfs xfsctl)
|
||||
$(conf_notuser xkb 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=$(printf "%s," "${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
|
||||
|
||||
# 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"
|
||||
|
||||
# FreeBSD's kernel does not support QEMU assigning/grabbing
|
||||
# host USB devices yet
|
||||
use kernel_FreeBSD && \
|
||||
sed -i -E -e "s|^(HOST_USB=)bsd|\1stub|" "${S}"/config-host.mak
|
||||
}
|
||||
|
||||
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-r1 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 Changelog 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"
|
||||
# PPC64 loads vgabios-stdvga
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 || 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,159 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
WX_GTK_VER="3.0-gtk3"
|
||||
|
||||
inherit elisp-common java-pkg-opt-2 systemd wxwidgets
|
||||
|
||||
# NOTE: If you need symlinks for binaries please tell maintainers or
|
||||
# open up a bug to let it be created.
|
||||
|
||||
UPSTREAM_V="$(ver_cut 1-2)"
|
||||
|
||||
DESCRIPTION="Erlang programming language, runtime environment and libraries (OTP)"
|
||||
HOMEPAGE="https://www.erlang.org/"
|
||||
SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> ${P}.tar.gz
|
||||
http://erlang.org/download/otp_doc_man_${UPSTREAM_V}.tar.gz -> ${PN}_doc_man_${UPSTREAM_V}.tar.gz
|
||||
doc? ( http://erlang.org/download/otp_doc_html_${UPSTREAM_V}.tar.gz -> ${PN}_doc_html_${UPSTREAM_V}.tar.gz )"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
# We use this subslot because Compiled HiPE Code can be loaded on the exact
|
||||
# same build of ERTS that was used when compiling the code. See
|
||||
# http://erlang.org/doc/system_principles/misc.html for more information.
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="doc emacs +hipe java +kpoll libressl odbc sctp ssl systemd tk wxwidgets"
|
||||
|
||||
RDEPEND="
|
||||
acct-group/epmd
|
||||
acct-user/epmd
|
||||
sys-libs/ncurses:0
|
||||
sys-libs/zlib
|
||||
emacs? ( >=app-editors/emacs-23.1:* )
|
||||
java? ( >=virtual/jdk-1.8:* )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
sctp? ( net-misc/lksctp-tools )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-0.9.7d:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)
|
||||
systemd? ( sys-apps/systemd )
|
||||
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl
|
||||
"
|
||||
|
||||
S="${WORKDIR}/otp-OTP-${PV}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/18.2.1-wx3.0.patch
|
||||
"${FILESDIR}"/${PN}-22.0-dont-ignore-LDFLAGS.patch
|
||||
"${FILESDIR}"/${PN}-23.1.2-ac2.70.patch
|
||||
)
|
||||
|
||||
SITEFILE=50"${PN}"-gentoo.el
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
./otp_build autoconf || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use wxwidgets && setup-wxwidgets
|
||||
|
||||
local myconf=(
|
||||
--disable-builtin-zlib
|
||||
$(use_enable hipe)
|
||||
$(use_enable kpoll kernel-poll)
|
||||
$(use_with java javac)
|
||||
$(use_enable sctp)
|
||||
$(use_with ssl ssl "${EPREFIX}"/usr)
|
||||
$(use_enable ssl dynamic-ssl-lib)
|
||||
$(use_enable systemd)
|
||||
$(usex wxwidgets "--with-wx-config=${WX_CONFIG}" "--with-wxdir=/dev/null")
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
if use emacs ; then
|
||||
pushd lib/tools/emacs &>/dev/null || die
|
||||
elisp-compile *.el
|
||||
popd &>/dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
extract_version() {
|
||||
local path="$1"
|
||||
local var_name="$2"
|
||||
sed -n -e "/^${var_name} = \(.*\)$/s::\1:p" "${S}/${path}/vsn.mk" || die "extract_version() failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local erl_libdir_rel="$(get_libdir)/erlang"
|
||||
local erl_libdir="/usr/${erl_libdir_rel}"
|
||||
local erl_interface_ver="$(extract_version lib/erl_interface EI_VSN)"
|
||||
local erl_erts_ver="$(extract_version erts VSN)"
|
||||
local my_manpath="/usr/share/${PN}/man"
|
||||
|
||||
[[ -z "${erl_erts_ver}" ]] && die "Couldn't determine erts version"
|
||||
[[ -z "${erl_interface_ver}" ]] && die "Couldn't determine interface version"
|
||||
|
||||
emake INSTALL_PREFIX="${D}" install
|
||||
|
||||
if use doc ; then
|
||||
# Note: we explicitly install docs into:
|
||||
# /usr/share/doc/${PF}/{doc,lib,erts-*}
|
||||
# To maintain that layout we gather everything in 'html-docs'.
|
||||
# See bug #684376.
|
||||
mkdir html-docs || die
|
||||
mv "${WORKDIR}"/doc "${WORKDIR}"/lib "${WORKDIR}"/erts-* html-docs/ || die
|
||||
local DOCS=( "AUTHORS" "HOWTO"/* "README.md" "CONTRIBUTING.md" html-docs/. )
|
||||
docompress -x /usr/share/doc/${PF}
|
||||
else
|
||||
local DOCS=("README.md")
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
|
||||
dosym "../${erl_libdir_rel}/bin/erl" /usr/bin/erl
|
||||
dosym "../${erl_libdir_rel}/bin/erlc" /usr/bin/erlc
|
||||
dosym "../${erl_libdir_rel}/bin/escript" /usr/bin/escript
|
||||
dosym "../${erl_libdir_rel}/lib/erl_interface-${erl_interface_ver}/bin/erl_call" /usr/bin/erl_call
|
||||
dosym "../${erl_libdir_rel}/erts-${erl_erts_ver}/bin/beam.smp" /usr/bin/beam.smp
|
||||
|
||||
## Clean up the no longer needed files
|
||||
rm "${ED}/${erl_libdir}/Install" || die
|
||||
|
||||
insinto "${my_manpath}"
|
||||
doins -r "${WORKDIR}"/man/*
|
||||
# extend MANPATH, so the normal man command can find it
|
||||
# see bug 189639
|
||||
newenvd - "90erlang" <<-_EOF_
|
||||
MANPATH="${my_manpath}"
|
||||
_EOF_
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install erlang lib/tools/emacs/*.{el,elc}
|
||||
sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \
|
||||
"${FILESDIR}/${SITEFILE}" > "${T}/${SITEFILE}" || die
|
||||
elisp-site-file-install "${T}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/epmd.init-r2 epmd
|
||||
newconfd "${FILESDIR}"/epmd.confd-r2 epmd
|
||||
use systemd && systemd_newunit "${FILESDIR}"/epmd.service-r1 epmd.service
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST janet-1.12.2.tar.gz 558788 BLAKE2B 0cdbc33d968b0b589cfc0ccd6dd5ffffe23932daa48e67c035d67d4bba0519083503693be470498c1f6d2811b164bfbb3d2fdb35967c6bd64808ec87f1fd9770 SHA512 bde3d516b0a1c55ad8edb2dc701a3afdb5e7c2bd028b132598d1a08796aca5f17f71dd2c760192a9703a07adb3450a7af6971611ae57005eafad1b741b0b69a6
|
||||
DIST janet-1.9.1.tar.gz 995046 BLAKE2B c65f59e874690b124b61811406670ed6bf9e23d930b5206a9fefebd64629a2287076a40db885b8a820d733a353237fea65dadccdf4efdd33f1537127f67e66b1 SHA512 4024b2f5bc52338b77c954e384157234ef3cecf21142ef60158adb656396b42accae3af8acb8e54f602f5fbce0e1e1f7f29030878ef2ac7055e933dd710db879
|
||||
DIST janet-1.13.1.tar.gz 584998 BLAKE2B f1bfd9e62dde786127a1307d38f48fc7e75b9fb09f009f9d01eeefa593b67c2469e213fd366fac7c52e0372e61b1a9afdb558e8a1be1ab2f4f538b5fb39075f3 SHA512 8022ecbaf7680855611202a3c17b8e5f6dc61a9302508c9de5312dbd9e80d40c24786bb5e8ae653ab5a7b00191a2d7c44cc3e305d31245e3e8c53be0e1c80372
|
||||
EBUILD janet-1.12.2.ebuild 1748 BLAKE2B a03cc9399f248d6050bf59f6ce251fbce076a9276da10415cc13c58cfc07e44d3ac6772a7c86394ed83e4b78063742d2f42d7c52eeb47227b8c9d7ffd657cf56 SHA512 ddec46f26a72ddb59c9bc5f46db601625afb1764ebeb5826221ab4d89634538f6d840e622d292bd8ece3a4577c31b5a8a7746fd88f8e25baeb8e2b1df3f6c9f8
|
||||
EBUILD janet-1.9.1.ebuild 1236 BLAKE2B 4fecac4c852138871a7773b18d3990c47cb750a96d3357739f9c763fd01d6e7f7a5f82b9cf0123aef3d6fdd35f21dfcae51806574bf96990a1b24d99f1589f58 SHA512 44295b27d54b8c99914918dbe834c4d23eb7edbe8f6e440a3255e35153977b9bf47dcc5aa31920b0b6a42ac6978eb6b2a92a7aafcc986a7b127dd99753964d36
|
||||
EBUILD janet-1.13.1.ebuild 1748 BLAKE2B d33aedc446e1692e0c39aace488070501e3cff1efff6545fd0d43710efa16d7a5a5cc52d0fbc360756b04d78dd8f015c12526cab986bad05bd75de5326fae923 SHA512 9d41ab1921792cfc549d1bb8b9bebe3b8080de6ade08ca189ea8422bfa3a7106e722374b31d240caee2d00656b85dca99bf69608218ee20e2c2677b43083b09d
|
||||
MISC metadata.xml 960 BLAKE2B fe836e1f5b7313091bf2c4341a30f7c395056fd4c63a2477a83a55daecede052eea148dc44cb253e8bead356e7b501b7698be4c787f05fdabc08638b2db7163c SHA512 a54e679498bc1239c6eda2302213e220a69eb25e5be02d3c945c89ed3943849adb7043ea6794aa5ad6e3a53026f7b06c16e7ba2ea35d5022d1cc97a9f561a4ba
|
||||
|
Binary file not shown.
@ -1,4 +1,3 @@
|
||||
DIST efl-1.25.1.tar.xz 72306872 BLAKE2B 060d729380ba62677307c5346da1786e879c14c4e40f0a3288c8cb81ece08f4ac501d989495b1c3dcbfeb19a86d23130892ae874861de5684c867aef60cb07d6 SHA512 cd281c2299aa6f74f0204e59a13dc254135e6dc40641e0a437c6f5025efe517d415f0915f69e123123319a9bbddb748aec1948ed0b5eb386e028cf45b244bed8
|
||||
EBUILD efl-1.25.1-r10.ebuild 8182 BLAKE2B a5f2b0d2a0aa975f4d08034565d7140dd9d335f22907e5d2809c7eadf3857fdac1dccb3a4e1aa20ca8428e4a66d5b72493cbeaeb65e16e98f87b3054b08a875f SHA512 473c8ebf5e5867dcdc67631baac3181ace13db4ebf6c6982cb2be9426f2c9d4f3cf558dc1008c7c0a9d786325efe8dfb0d297f55dd27b9b935eb3f738c7396f0
|
||||
EBUILD efl-1.25.1-r2.ebuild 7856 BLAKE2B 794aae8443dab4a98bbf0d38ce8da17b82b7b929d95903adcc9a3fba3b3cd30442a593571e422d66471ac3f7e85b948213861e5111f0547902930db9f996127f SHA512 759e0e824ddee8f70a0611fa7b695713c03fab01623dacf4379d3e0b6a985175872bb85751ff3368e9dc8f82e8a190573aa55f3f3288635415469f3a992b4e2b
|
||||
MISC metadata.xml 1985 BLAKE2B 5ad17cbfc665a26357c6b8d473d211663224eca97ed9a22c8575122e331b9661118890db1cf4f41e9e0e9b16f157d48da0920026fc83fdf965e4d1bd7c3d1ede SHA512 dbc127099457c88bcc419bd0c415f801765aeb85f010d7de43ea03e9400a7888c33c80f53048bf4edfd34ff95a43ac506026775a7bf11b041adc89acef0ec15d
|
||||
MISC metadata.xml 1888 BLAKE2B 4c689687387fb09a2387587bc32e5cb4f09b94264fb1b594d8dc0c1c214eaeb6cf5f39110ea3dde72acdcf328da25bfcd2756dc85c8b060ad64aa321b8dc8a23 SHA512 40289f8c6e10786c8c9d5069b775c7db5695910a33593e706d3ed0f623bdb8b6149161a25ad55deedd479fbc214dac174d6b99151e5167272fa464f5115eece1
|
||||
|
@ -1,313 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DOCS_BUILDER="doxygen"
|
||||
DOCS_DIR="${S}/doc"
|
||||
|
||||
inherit docs meson xdg-utils
|
||||
|
||||
DESCRIPTION="Enlightenment Foundation Libraries all-in-one package"
|
||||
HOMEPAGE="https://www.enlightenment.org"
|
||||
SRC_URI="https://download.enlightenment.org/rel/libs/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD-2 GPL-2 LGPL-2.1 ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 x86"
|
||||
IUSE="+X avif bmp connman cpu_flags_arm_neon dds debug drm +eet efl-one elogind examples fbcon
|
||||
+fontconfig fribidi gif gles2-only gnutls glib +gstreamer harfbuzz hyphen ibus ico libressl
|
||||
lua +luajit jpeg2k json nls mono opengl +pdf physics pmaps postscript psd pulseaudio raw scim
|
||||
sdl +sound +ssl +svg +system-lz4 systemd tga tgv tiff tslib unwind v4l vnc wayland webp xcf
|
||||
xim xpm xpresent zeroconf"
|
||||
|
||||
REQUIRED_USE="
|
||||
?? ( elogind systemd )
|
||||
?? ( gles2-only opengl )
|
||||
?? ( fbcon tslib )
|
||||
^^ ( lua luajit )
|
||||
ssl
|
||||
drm? ( gles2-only )
|
||||
examples? ( eet svg )
|
||||
gles2-only? ( || ( wayland X ) )
|
||||
pulseaudio? ( sound )
|
||||
wayland? ( gles2-only !opengl )
|
||||
xim? ( X )
|
||||
xpresent? ( X )
|
||||
"
|
||||
|
||||
# Requires everything to be enabled unconditionally.
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/check
|
||||
net-misc/curl
|
||||
media-libs/giflib:=
|
||||
media-libs/libpng:0=
|
||||
sys-apps/dbus
|
||||
sys-libs/zlib
|
||||
virtual/jpeg:0=
|
||||
X? (
|
||||
media-libs/freetype
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXi
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXtst
|
||||
x11-libs/libXScrnSaver
|
||||
wayland? ( x11-libs/libxkbcommon[X] )
|
||||
)
|
||||
avif? ( ~media-libs/libavif-0.8.1 )
|
||||
connman? ( net-misc/connman )
|
||||
drm? (
|
||||
dev-libs/libinput
|
||||
dev-libs/wayland
|
||||
media-libs/mesa[gbm]
|
||||
x11-libs/libdrm
|
||||
x11-libs/libxkbcommon
|
||||
)
|
||||
elogind? (
|
||||
sys-auth/elogind
|
||||
virtual/libudev
|
||||
)
|
||||
fontconfig? ( media-libs/fontconfig )
|
||||
fribidi? ( dev-libs/fribidi )
|
||||
gles2-only? (
|
||||
media-libs/mesa[egl,gles2]
|
||||
virtual/opengl
|
||||
)
|
||||
glib? ( dev-libs/glib:2 )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
)
|
||||
hyphen? ( dev-libs/hyphen )
|
||||
ibus? ( app-i18n/ibus )
|
||||
jpeg2k? ( media-libs/openjpeg:= )
|
||||
json? ( >=media-libs/rlottie-0.0.1_pre20200424:= )
|
||||
lua? ( dev-lang/lua:0= )
|
||||
luajit? ( dev-lang/luajit:* )
|
||||
mono? ( dev-lang/mono )
|
||||
opengl? ( virtual/opengl )
|
||||
pdf? ( app-text/poppler:=[cxx] )
|
||||
physics? ( sci-physics/bullet:= )
|
||||
postscript? ( app-text/libspectre )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
raw? ( media-libs/libraw:= )
|
||||
scim? ( app-i18n/scim )
|
||||
sdl? ( media-libs/libsdl2 )
|
||||
sound? ( media-libs/libsndfile )
|
||||
ssl? (
|
||||
gnutls? ( net-libs/gnutls:= )
|
||||
!gnutls? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
)
|
||||
svg? ( gnome-base/librsvg )
|
||||
system-lz4? ( app-arch/lz4 )
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
tiff? ( media-libs/tiff:0= )
|
||||
tslib? ( x11-libs/tslib:= )
|
||||
unwind? ( sys-libs/libunwind )
|
||||
v4l? ( media-libs/libv4l )
|
||||
vnc? ( net-libs/libvncserver )
|
||||
wayland? (
|
||||
dev-libs/wayland
|
||||
media-libs/mesa[gles2,wayland]
|
||||
x11-libs/libxkbcommon
|
||||
)
|
||||
webp? ( media-libs/libwebp:= )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
xpresent? ( x11-libs/libXpresent )
|
||||
zeroconf? ( net-dns/avahi )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_setup() {
|
||||
# Deprecated, provided for backward-compatibility. Everything is moved to libefreet.so.
|
||||
QA_FLAGS_IGNORED="/usr/$(get_libdir)/libefreet_trash.so.1.25.1
|
||||
/usr/$(get_libdir)/libefreet_mime.so.1.25.1"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Remove automagic unwind configure option, #743154
|
||||
if ! use unwind; then
|
||||
sed -i "/config_h.set('HAVE_UNWIND/,/eina_ext_deps += unwind/d" src/lib/eina/meson.build ||
|
||||
die "Failed to remove libunwind dep"
|
||||
fi
|
||||
|
||||
# Fixup Doxyfile
|
||||
pushd "${DOCS_DIR}" || die
|
||||
cp Doxyfile.in Doxyfile || die
|
||||
sed -i \
|
||||
-e "s/@PACKAGE_VERSION@/${PV}/g" \
|
||||
-e "s/@top_builddir@/../g" \
|
||||
-e "s/@top_srcdir@/../g" \
|
||||
-e "s/@srcdir@/./g" \
|
||||
Doxyfile || die
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
--buildtype=release
|
||||
|
||||
-D buffer=false
|
||||
-D cocoa=false
|
||||
-D drm-deprecated=false
|
||||
-D g-mainloop=false
|
||||
-D mono-beta=false
|
||||
-D dotnet=false
|
||||
-D pixman=false
|
||||
-D wl-deprecated=false
|
||||
-D dotnet-stylecop-severity=Warning
|
||||
|
||||
-D edje-sound-and-video=true
|
||||
-D eeze=true
|
||||
-D install-eo-files=true
|
||||
-D libmount=true
|
||||
-D native-arch-optimization=true
|
||||
-D xinput2=true
|
||||
-D xinput22=true
|
||||
|
||||
$(meson_use X x11)
|
||||
$(meson_use debug debug-threads)
|
||||
$(meson_use drm)
|
||||
$(meson_use examples build-examples)
|
||||
$(meson_use fbcon fb)
|
||||
$(meson_use fontconfig)
|
||||
$(meson_use fribidi)
|
||||
$(meson_use glib)
|
||||
$(meson_use gstreamer)
|
||||
$(meson_use harfbuzz)
|
||||
$(meson_use hyphen)
|
||||
$(meson_use luajit elua)
|
||||
$(meson_use nls)
|
||||
$(meson_use physics)
|
||||
$(meson_use pulseaudio)
|
||||
$(meson_use sdl)
|
||||
$(meson_use sound audio)
|
||||
$(meson_use tslib)
|
||||
$(meson_use v4l v4l2)
|
||||
$(meson_use vnc vnc-server)
|
||||
$(meson_use wayland wl)
|
||||
$(meson_use xpresent)
|
||||
$(meson_use zeroconf avahi)
|
||||
|
||||
$(meson_use !system-lz4 embedded-lz4)
|
||||
)
|
||||
|
||||
if use elogind || use systemd; then
|
||||
emesonargs+=( -D systemd=true )
|
||||
else
|
||||
emesonargs+=( -D systemd=false )
|
||||
fi
|
||||
|
||||
if use opengl; then
|
||||
emesonargs+=( -D opengl=full )
|
||||
elif use gles2-only; then
|
||||
emesonargs+=( -D opengl=es-egl )
|
||||
else
|
||||
emesonargs+=( -D opengl=none )
|
||||
fi
|
||||
|
||||
if use gnutls; then
|
||||
emesonargs+=( -D crypto=gnutls )
|
||||
else
|
||||
emesonargs+=( -D crypto=openssl )
|
||||
fi
|
||||
|
||||
if use connman; then
|
||||
emesonargs+=( -D network-backend=connman )
|
||||
else
|
||||
emesonargs+=( -D network-backend=none )
|
||||
fi
|
||||
|
||||
local disabledEvasLoaders=""
|
||||
! use avif && disabledEvasLoaders="avif,"
|
||||
! use bmp && disabledEvasLoaders+="bmp,wbmp,"
|
||||
! use dds && disabledEvasLoaders+="dds,"
|
||||
! use eet && disabledEvasLoaders+="eet,"
|
||||
! use gstreamer && disabledEvasLoaders+="gst,"
|
||||
! use ico && disabledEvasLoaders+="ico,"
|
||||
! use jpeg2k && disabledEvasLoaders+="jp2k,"
|
||||
! use json && disabledEvasLoaders+="json,"
|
||||
! use pdf && disabledEvasLoaders+="pdf,"
|
||||
! use pmaps && disabledEvasLoaders+="pmaps,"
|
||||
! use postscript && disabledEvasLoaders+="ps,"
|
||||
! use psd && disabledEvasLoaders+="psd,"
|
||||
! use raw && disabledEvasLoaders+="raw,"
|
||||
! use svg && disabledEvasLoaders+="rsvg,svg,"
|
||||
! use tga && disabledEvasLoaders+="tga,"
|
||||
! use tgv && disabledEvasLoaders+="tgv,"
|
||||
! use tiff && disabledEvasLoaders+="tiff,"
|
||||
! use webp && disabledEvasLoaders+="webp,"
|
||||
! use xcf && disabledEvasLoaders+="xcf,"
|
||||
! use xpm && disabledEvasLoaders+="xpm,"
|
||||
[[ ! -z "$disabledEvasLoaders" ]] && disabledEvasLoaders=${disabledEvasLoaders::-1}
|
||||
emesonargs+=( -D evas-loaders-disabler="${disabledEvasLoaders}" )
|
||||
|
||||
local disabledImfLoaders=""
|
||||
! use ibus && disabledImfLoaders+="ibus,"
|
||||
! use scim && disabledImfLoaders+="scim,"
|
||||
! use xim && disabledImfLoaders+="xim,"
|
||||
[[ ! -z "$disabledImfLoaders" ]] && disabledImfLoaders=${disabledImfLoaders::-1}
|
||||
emesonargs+=( -D ecore-imf-loaders-disabler="${disabledImfLoaders}" )
|
||||
|
||||
local bindingsList="cxx,"
|
||||
use luajit && bindingsList+="lua,"
|
||||
use mono && bindingsList+="mono,"
|
||||
[[ ! -z "$bindingsList" ]] && bindingsList=${bindingsList::-1}
|
||||
emesonargs+=( -D bindings="${bindingsList}" )
|
||||
|
||||
local luaChoice=""
|
||||
if use luajit; then
|
||||
luaChoice+="luajit"
|
||||
else
|
||||
luaChoice+="lua"
|
||||
fi
|
||||
emesonargs+=( -D lua-interpreter="${luaChoice}" )
|
||||
|
||||
# Not all arm CPU's have neon instruction set, #722552
|
||||
if use arm && ! use cpu_flags_arm_neon; then
|
||||
emesonargs+=( -D native-arch-optimization=false )
|
||||
fi
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
docs_compile
|
||||
meson_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
|
||||
if use examples; then
|
||||
docompress -x /usr/share/doc/${PF}/examples/
|
||||
dodoc -r "${BUILD_DIR}"/src/examples/
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
Binary file not shown.
@ -0,0 +1,10 @@
|
||||
diff -r -U2 sbcl-2.1.0.orig/src/runtime/GNUmakefile sbcl-2.1.0/src/runtime/GNUmakefile
|
||||
--- sbcl-2.1.0.orig/src/runtime/GNUmakefile 2020-12-29 17:05:25.000000000 +0700
|
||||
+++ sbcl-2.1.0/src/runtime/GNUmakefile 2021-01-28 18:02:57.682523052 +0700
|
||||
@@ -12,5 +12,5 @@
|
||||
.PHONY: all clean TAGS tags targets
|
||||
|
||||
-all: targets tags
|
||||
+all: targets
|
||||
TARGET=sbcl
|
||||
|
@ -0,0 +1,245 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit multilib eutils flag-o-matic pax-utils toolchain-funcs
|
||||
|
||||
#same order as http://www.sbcl.org/platform-table.html
|
||||
BV_X86=1.4.3
|
||||
BV_AMD64=2.1.0
|
||||
BV_PPC=1.2.7
|
||||
BV_SPARC=1.0.28
|
||||
BV_ALPHA=1.0.28
|
||||
BV_ARM=1.4.11
|
||||
BV_ARM64=1.4.2
|
||||
BV_X64_MACOS=1.2.11
|
||||
BV_PPC_MACOS=1.0.47
|
||||
BV_X86_SOLARIS=1.2.7
|
||||
BV_X64_SOLARIS=1.2.7
|
||||
BV_SPARC_SOLARIS=1.0.23
|
||||
|
||||
DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp"
|
||||
HOMEPAGE="http://sbcl.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2
|
||||
x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 )
|
||||
amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 )
|
||||
ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 )
|
||||
sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 )
|
||||
alpha? ( mirror://sourceforge/sbcl/${PN}-${BV_ALPHA}-alpha-linux-binary.tar.bz2 )
|
||||
arm? ( mirror://sourceforge/sbcl/${PN}-${BV_ARM}-armhf-linux-binary.tar.bz2 )
|
||||
arm64? ( mirror://sourceforge/sbcl/${PN}-${BV_ARM64}-arm64-linux-binary.tar.bz2 )
|
||||
x64-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_X64_MACOS}-x86-64-darwin-binary.tar.bz2 )
|
||||
ppc-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC_MACOS}-powerpc-darwin-binary.tar.bz2 )
|
||||
x86-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_X86_SOLARIS}-x86-solaris-binary.tar.bz2 )
|
||||
x64-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_X64_SOLARIS}-x86-64-solaris-binary.tar.bz2 )
|
||||
sparc-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC_SOLARIS}-sparc-solaris-binary.tar.bz2 )"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
|
||||
IUSE="debug doc source +threads +unicode pax_kernel zlib"
|
||||
|
||||
CDEPEND=">=dev-lisp/asdf-3.3:="
|
||||
DEPEND="${CDEPEND}
|
||||
doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 )
|
||||
pax_kernel? ( sys-apps/elfix )"
|
||||
RDEPEND="${CDEPEND}
|
||||
!prefix? ( elibc_glibc? ( >=sys-libs/glibc-2.6 ) )"
|
||||
|
||||
# Disable warnings about executable stacks, as this won't be fixed soon by upstream
|
||||
QA_EXECSTACK="usr/bin/sbcl"
|
||||
|
||||
CONFIG="${S}/customize-target-features.lisp"
|
||||
ENVD="${T}/50sbcl"
|
||||
|
||||
# Prevent ASDF from using the system libraries
|
||||
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)"
|
||||
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)"
|
||||
|
||||
usep() {
|
||||
use ${1} && echo "true" || echo "false"
|
||||
}
|
||||
|
||||
sbcl_feature() {
|
||||
echo "$( [[ ${1} == "true" ]] && echo "(enable ${2})" || echo "(disable ${2})")" >> "${CONFIG}"
|
||||
}
|
||||
|
||||
sbcl_apply_features() {
|
||||
sed 's/^X//' > "${CONFIG}" <<-'EOF'
|
||||
(lambda (list)
|
||||
X (flet ((enable (x) (pushnew x list))
|
||||
X (disable (x) (setf list (remove x list))))
|
||||
EOF
|
||||
if use x86 || use amd64; then
|
||||
sbcl_feature "$(usep threads)" ":sb-thread"
|
||||
fi
|
||||
sbcl_feature "true" ":sb-ldb"
|
||||
sbcl_feature "false" ":sb-test"
|
||||
sbcl_feature "$(usep unicode)" ":sb-unicode"
|
||||
sbcl_feature "$(usep zlib)" ":sb-core-compression"
|
||||
sbcl_feature "$(usep debug)" ":sb-xref-for-internals"
|
||||
sed 's/^X//' >> "${CONFIG}" <<-'EOF'
|
||||
X )
|
||||
X list)
|
||||
EOF
|
||||
cat "${CONFIG}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mv sbcl-*-* sbcl-binary || die
|
||||
cd "${S}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# bug #468482
|
||||
eapply "${FILESDIR}"/concurrency-test-2.0.1.patch
|
||||
# bugs #486552, #527666, #517004
|
||||
eapply "${FILESDIR}"/bsd-sockets-test-2.0.5.patch
|
||||
# bugs #560276, #561018
|
||||
eapply "${FILESDIR}"/sb-posix-test-1.2.15.patch
|
||||
# bug #767742
|
||||
eapply "${FILESDIR}"/etags-2.1.0.patch
|
||||
|
||||
eapply "${FILESDIR}"/verbose-build-2.0.3.patch
|
||||
|
||||
eapply_user
|
||||
|
||||
# Make sure the *FLAGS variables are sane.
|
||||
# sbcl needs symbols in resulting binaries, so building with the -s linker flag will fail.
|
||||
strip-unsupported-flags
|
||||
filter-flags -fomit-frame-pointer -Wl,-s
|
||||
filter-ldflags -s
|
||||
|
||||
# original bugs #526194, #620532
|
||||
# this broke no-pie default builds, c.f. bug #632670
|
||||
# Pass CFLAGS down by appending our value, to let users override
|
||||
# the default values.
|
||||
# Keep passing LDFLAGS down via the LINKFLAGS variable.
|
||||
sed -e "s@\(CFLAGS += -g .*\)\$@\1 ${CFLAGS}@" \
|
||||
-e "s@LINKFLAGS += -g\$@LINKFLAGS += ${LDFLAGS}@" \
|
||||
-i src/runtime/GNUmakefile || die
|
||||
|
||||
sed -e "s@SBCL_PREFIX=\"/usr/local\"@SBCL_PREFIX=\"${EPREFIX}/usr\"@" \
|
||||
-i make-config.sh || die
|
||||
|
||||
# Use installed ASDF version
|
||||
cp "${EPREFIX}"/usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die
|
||||
# Avoid installation of ASDF info page. See bug #605752
|
||||
sed '/INFOFILES/s/asdf.info//' -i doc/manual/Makefile || die
|
||||
|
||||
use source && sed 's%"$(BUILD_ROOT)%$(MODULE).lisp "$(BUILD_ROOT)%' -i contrib/vanilla-module.mk
|
||||
|
||||
# Some shells(such as dash) don't have "time" as builtin
|
||||
# and we don't want to DEPEND on sys-process/time
|
||||
sed "s,^time ,," -i make.sh || die
|
||||
sed "s,/lib,/$(get_libdir),g" -i install.sh || die
|
||||
# #define SBCL_HOME ...
|
||||
sed "s,/usr/local/lib,${EPREFIX}/usr/$(get_libdir),g" -i src/runtime/runtime.c || die
|
||||
# change location of /etc/sbclrc ...
|
||||
sed "s,/etc/sbclrc,${EPREFIX}/etc/sbclrc,g" -i src/code/toplevel.lisp || die
|
||||
|
||||
find . -type f -name .cvsignore -delete
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# customizing SBCL version as per
|
||||
# http://sbcl.cvs.sourceforge.net/sbcl/sbcl/doc/PACKAGING-SBCL.txt?view=markup
|
||||
echo -e ";;; Auto-generated by Gentoo\n\"gentoo-${PR}\"" > branch-version.lisp-expr
|
||||
|
||||
# applying customizations
|
||||
sbcl_apply_features
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local bindir="${WORKDIR}"/sbcl-binary
|
||||
|
||||
if use pax_kernel ; then
|
||||
# To disable PaX on hardened systems
|
||||
pax-mark -mr "${bindir}"/src/runtime/sbcl
|
||||
|
||||
# Hack to disable PaX on second GENESIS stage
|
||||
sed -i -e '/^[ \t]*echo \/\/doing warm init - compilation phase$/a\ paxmark.sh -mr \.\/src\/runtime\/sbcl' \
|
||||
"${S}"/make-target-2.sh || die "Cannot disable PaX on second GENESIS runtime"
|
||||
fi
|
||||
|
||||
# clear the environment to get rid of non-ASCII strings, see bug #174702
|
||||
# set HOME for paludis
|
||||
env - HOME="${T}" PATH="${PATH}" \
|
||||
CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \
|
||||
CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \
|
||||
GNUMAKE=make ./make.sh \
|
||||
"sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \
|
||||
|| die "make failed"
|
||||
|
||||
# need to set HOME because libpango(used by graphviz) complains about it
|
||||
if use doc; then
|
||||
env - HOME="${T}" PATH="${PATH}" \
|
||||
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
|
||||
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
|
||||
make -C doc/manual info html || die "Cannot build manual"
|
||||
env - HOME="${T}" PATH="${PATH}" \
|
||||
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
|
||||
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
|
||||
make -C doc/internals info html || die "Cannot build internal docs"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ewarn "Unfortunately, it is known that some tests fail eg."
|
||||
ewarn "run-program.impure.lisp. This is an issue of the upstream's"
|
||||
ewarn "development and not of Gentoo's side. Please, before filing"
|
||||
ewarn "any bug(s) search for older submissions. Thank you."
|
||||
time ( cd tests && sh run-tests.sh )
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# install system-wide initfile
|
||||
dodir /etc/
|
||||
sed 's/^X//' > "${ED}"/etc/sbclrc <<-EOF
|
||||
;;; The following is required if you want source location functions to
|
||||
;;; work in SLIME, for example.
|
||||
X
|
||||
(setf (logical-pathname-translations "SYS")
|
||||
X '(("SYS:SRC;**;*.*.*" #p"${EPREFIX}/usr/$(get_libdir)/sbcl/src/**/*.*")
|
||||
X ("SYS:CONTRIB;**;*.*.*" #p"${EPREFIX}/usr/$(get_libdir)/sbcl/**/*.*")))
|
||||
X
|
||||
;;; Setup ASDF2
|
||||
(load "${EPREFIX}/etc/common-lisp/gentoo-init.lisp")
|
||||
EOF
|
||||
|
||||
# Install documentation
|
||||
unset SBCL_HOME
|
||||
INSTALL_ROOT="${ED}/usr" LIB_DIR="${EPREFIX}/usr/$(get_libdir)" DOC_DIR="${ED}/usr/share/doc/${PF}" \
|
||||
sh install.sh || die "install.sh failed"
|
||||
|
||||
# bug #517008
|
||||
pax-mark -mr "${D}"/usr/bin/sbcl
|
||||
|
||||
# rm empty directories lest paludis complain about this
|
||||
find "${ED}" -empty -type d -exec rmdir -v {} +
|
||||
|
||||
if use doc; then
|
||||
dodoc -r doc/internals/sbcl-internals
|
||||
|
||||
doinfo doc/manual/*.info*
|
||||
doinfo doc/internals/sbcl-internals.info
|
||||
|
||||
docinto internals-notes
|
||||
dodoc doc/internals-notes/*
|
||||
else
|
||||
rm -Rv "${ED}/usr/share/doc/${PF}" || die
|
||||
fi
|
||||
|
||||
# install the SBCL source
|
||||
if use source; then
|
||||
./clean.sh
|
||||
cp -av src "${ED}/usr/$(get_libdir)/sbcl/" || die
|
||||
fi
|
||||
|
||||
# necessary for running newly-saved images
|
||||
echo "SBCL_HOME=${EPREFIX}/usr/$(get_libdir)/${PN}" > "${ENVD}"
|
||||
echo "SBCL_SOURCE_ROOT=${EPREFIX}/usr/$(get_libdir)/${PN}/src" >> "${ENVD}"
|
||||
doenvd "${ENVD}"
|
||||
}
|
Binary file not shown.
@ -0,0 +1,124 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
inherit cmake llvm llvm.org python-any-r1
|
||||
|
||||
DESCRIPTION="OCaml bindings for LLVM"
|
||||
HOMEPAGE="https://llvm.org/"
|
||||
|
||||
# Keep in sync with sys-devel/llvm
|
||||
ALL_LLVM_EXPERIMENTAL_TARGETS=( ARC CSKY VE )
|
||||
ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM AVR BPF Hexagon Lanai Mips MSP430
|
||||
NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore
|
||||
"${ALL_LLVM_EXPERIMENTAL_TARGETS[@]}" )
|
||||
ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
|
||||
|
||||
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS=""
|
||||
IUSE="debug test ${ALL_LLVM_TARGETS[*]}"
|
||||
REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/ocaml-4.00.0:0=
|
||||
dev-ml/ocaml-ctypes:=
|
||||
~sys-devel/llvm-${PV}:=[debug?]
|
||||
!sys-devel/llvm[ocaml(-)]"
|
||||
for x in "${ALL_LLVM_TARGETS[@]}"; do
|
||||
RDEPEND+="
|
||||
${x}? ( ~sys-devel/llvm-${PV}[${x}] )"
|
||||
done
|
||||
unset x
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-lang/perl
|
||||
dev-ml/findlib
|
||||
>=dev-util/cmake-3.16
|
||||
test? ( dev-ml/ounit )
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
LLVM_COMPONENTS=( llvm )
|
||||
llvm.org_set_globals
|
||||
|
||||
pkg_setup() {
|
||||
LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local libdir=$(get_libdir)
|
||||
local mycmakeargs=(
|
||||
-DLLVM_LIBDIR_SUFFIX=${libdir#lib}
|
||||
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
-DLLVM_BUILD_LLVM_DYLIB=ON
|
||||
-DLLVM_LINK_LLVM_DYLIB=ON
|
||||
-DLLVM_OCAML_OUT_OF_TREE=ON
|
||||
|
||||
# cheap hack: LLVM combines both anyway, and the only difference
|
||||
# is that the former list is explicitly verified at cmake time
|
||||
-DLLVM_TARGETS_TO_BUILD=""
|
||||
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
|
||||
-DLLVM_BUILD_TESTS=$(usex test)
|
||||
|
||||
# disable various irrelevant deps and settings
|
||||
-DLLVM_ENABLE_FFI=OFF
|
||||
-DLLVM_ENABLE_TERMINFO=OFF
|
||||
-DHAVE_HISTEDIT_H=NO
|
||||
-DLLVM_ENABLE_ASSERTIONS=$(usex debug)
|
||||
-DLLVM_ENABLE_EH=ON
|
||||
-DLLVM_ENABLE_RTTI=ON
|
||||
|
||||
-DLLVM_HOST_TRIPLE="${CHOST}"
|
||||
|
||||
-DPython3_EXECUTABLE="${PYTHON}"
|
||||
|
||||
# disable go bindings
|
||||
-DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND
|
||||
|
||||
# TODO: ocamldoc
|
||||
)
|
||||
|
||||
use test && mycmakeargs+=(
|
||||
-DLLVM_LIT_ARGS="$(get_lit_flags)"
|
||||
)
|
||||
|
||||
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
|
||||
# also: custom rules for OCaml do not work for CPPFLAGS
|
||||
use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG"
|
||||
cmake_src_configure
|
||||
|
||||
local llvm_libdir=$(llvm-config --libdir)
|
||||
# an ugly hack; TODO: figure out a way to pass -L to ocaml...
|
||||
cd "${BUILD_DIR}/${libdir}" || die
|
||||
ln -s "${llvm_libdir}"/*.so . || die
|
||||
|
||||
if use test; then
|
||||
local llvm_bindir=$(llvm-config --bindir)
|
||||
# Force using system-installed tools.
|
||||
sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \
|
||||
"${BUILD_DIR}"/test/lit.site.cfg.py || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_build ocaml_all
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# respect TMPDIR!
|
||||
local -x LIT_PRESERVES_TMP=1
|
||||
cmake_build check-llvm-bindings-ocaml
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="${D}" \
|
||||
cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die
|
||||
|
||||
dodoc bindings/ocaml/README.txt
|
||||
}
|
@ -0,0 +1,124 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
inherit cmake llvm llvm.org python-any-r1
|
||||
|
||||
DESCRIPTION="OCaml bindings for LLVM"
|
||||
HOMEPAGE="https://llvm.org/"
|
||||
|
||||
# Keep in sync with sys-devel/llvm
|
||||
ALL_LLVM_EXPERIMENTAL_TARGETS=( ARC CSKY VE )
|
||||
ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM AVR BPF Hexagon Lanai Mips MSP430
|
||||
NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore
|
||||
"${ALL_LLVM_EXPERIMENTAL_TARGETS[@]}" )
|
||||
ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
|
||||
|
||||
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS=""
|
||||
IUSE="debug test ${ALL_LLVM_TARGETS[*]}"
|
||||
REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/ocaml-4.00.0:0=
|
||||
dev-ml/ocaml-ctypes:=
|
||||
~sys-devel/llvm-${PV}:=[debug?]
|
||||
!sys-devel/llvm[ocaml(-)]"
|
||||
for x in "${ALL_LLVM_TARGETS[@]}"; do
|
||||
RDEPEND+="
|
||||
${x}? ( ~sys-devel/llvm-${PV}[${x}] )"
|
||||
done
|
||||
unset x
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-lang/perl
|
||||
dev-ml/findlib
|
||||
>=dev-util/cmake-3.16
|
||||
test? ( dev-ml/ounit )
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
LLVM_COMPONENTS=( llvm )
|
||||
llvm.org_set_globals
|
||||
|
||||
pkg_setup() {
|
||||
LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local libdir=$(get_libdir)
|
||||
local mycmakeargs=(
|
||||
-DLLVM_LIBDIR_SUFFIX=${libdir#lib}
|
||||
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
-DLLVM_BUILD_LLVM_DYLIB=ON
|
||||
-DLLVM_LINK_LLVM_DYLIB=ON
|
||||
-DLLVM_OCAML_OUT_OF_TREE=ON
|
||||
|
||||
# cheap hack: LLVM combines both anyway, and the only difference
|
||||
# is that the former list is explicitly verified at cmake time
|
||||
-DLLVM_TARGETS_TO_BUILD=""
|
||||
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
|
||||
-DLLVM_BUILD_TESTS=$(usex test)
|
||||
|
||||
# disable various irrelevant deps and settings
|
||||
-DLLVM_ENABLE_FFI=OFF
|
||||
-DLLVM_ENABLE_TERMINFO=OFF
|
||||
-DHAVE_HISTEDIT_H=NO
|
||||
-DLLVM_ENABLE_ASSERTIONS=$(usex debug)
|
||||
-DLLVM_ENABLE_EH=ON
|
||||
-DLLVM_ENABLE_RTTI=ON
|
||||
|
||||
-DLLVM_HOST_TRIPLE="${CHOST}"
|
||||
|
||||
-DPython3_EXECUTABLE="${PYTHON}"
|
||||
|
||||
# disable go bindings
|
||||
-DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND
|
||||
|
||||
# TODO: ocamldoc
|
||||
)
|
||||
|
||||
use test && mycmakeargs+=(
|
||||
-DLLVM_LIT_ARGS="$(get_lit_flags)"
|
||||
)
|
||||
|
||||
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
|
||||
# also: custom rules for OCaml do not work for CPPFLAGS
|
||||
use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG"
|
||||
cmake_src_configure
|
||||
|
||||
local llvm_libdir=$(llvm-config --libdir)
|
||||
# an ugly hack; TODO: figure out a way to pass -L to ocaml...
|
||||
cd "${BUILD_DIR}/${libdir}" || die
|
||||
ln -s "${llvm_libdir}"/*.so . || die
|
||||
|
||||
if use test; then
|
||||
local llvm_bindir=$(llvm-config --bindir)
|
||||
# Force using system-installed tools.
|
||||
sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \
|
||||
"${BUILD_DIR}"/test/lit.site.cfg.py || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_build ocaml_all
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# respect TMPDIR!
|
||||
local -x LIT_PRESERVES_TMP=1
|
||||
cmake_build check-llvm-bindings-ocaml
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="${D}" \
|
||||
cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die
|
||||
|
||||
dodoc bindings/ocaml/README.txt
|
||||
}
|
Binary file not shown.
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=bdepend
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="The AWS SDK for Python"
|
||||
HOMEPAGE="https://github.com/boto/boto3"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/boto/boto3"
|
||||
inherit git-r3
|
||||
BOTOCORE_PV=${PV}
|
||||
else
|
||||
SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
# botocore is x.(y+3).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs/source \
|
||||
'dev-python/guzzle_sphinx_theme'
|
||||
distutils_enable_tests nose
|
||||
|
||||
python_prepare_all() {
|
||||
# don't lock versions to narrow ranges
|
||||
sed -e '/botocore/ d' \
|
||||
-e '/jmespath/ d' \
|
||||
-e '/s3transfer/ d' \
|
||||
-i setup.py || die
|
||||
|
||||
# prevent an infinite loop
|
||||
rm tests/functional/docs/test_smoke.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests -v tests/unit/ tests/functional/ || die "test failed under ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Low-level, data-driven core of boto 3"
|
||||
HOMEPAGE="https://github.com/boto/botocore"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/boto/botocore"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/jmespath[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
|
||||
)
|
||||
|
||||
distutils_enable_sphinx docs/source \
|
||||
'dev-python/guzzle_sphinx_theme'
|
||||
distutils_enable_tests nose
|
||||
|
||||
src_prepare() {
|
||||
# unpin deps
|
||||
sed -i -e "s:>=.*':':" setup.py || die
|
||||
# very unstable
|
||||
sed -i -e 's:test_stress_test_token_bucket:_&:' \
|
||||
tests/functional/retries/test_bucket.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# note: suites need to be run separately as one of the unit tests
|
||||
# seems to be leaking mocks and breaking a few functional tests
|
||||
nosetests -v tests/unit ||
|
||||
die "unit tests failed under ${EPYTHON}"
|
||||
nosetests -v tests/functional ||
|
||||
die "functional tests failed under ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
inherit llvm.org python-r1
|
||||
|
||||
DESCRIPTION="Python bindings for sys-devel/clang"
|
||||
HOMEPAGE="https://llvm.org/"
|
||||
|
||||
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# The module is opening libclang.so directly, and doing some blasphemy
|
||||
# on top of it.
|
||||
RDEPEND="
|
||||
>=sys-devel/clang-${PV}:*
|
||||
!sys-devel/llvm:0[clang(-),python(-)]
|
||||
!sys-devel/clang:0[python(-)]
|
||||
${PYTHON_DEPS}"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
LLVM_COMPONENTS=( clang/bindings/python )
|
||||
llvm.org_set_globals
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
python_foreach_impl python_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl python_domodule clang
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
inherit llvm.org python-r1
|
||||
|
||||
DESCRIPTION="Python bindings for sys-devel/clang"
|
||||
HOMEPAGE="https://llvm.org/"
|
||||
|
||||
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# The module is opening libclang.so directly, and doing some blasphemy
|
||||
# on top of it.
|
||||
RDEPEND="
|
||||
>=sys-devel/clang-${PV}:*
|
||||
!sys-devel/llvm:0[clang(-),python(-)]
|
||||
!sys-devel/clang:0[python(-)]
|
||||
${PYTHON_DEPS}"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
LLVM_COMPONENTS=( clang/bindings/python )
|
||||
llvm.org_set_globals
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
python_foreach_impl python_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl python_domodule clang
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
DIST construct-2.10.56.tar.gz 1184110 BLAKE2B 01ce1800970826ae3584a9733de171e04dd926e7d19d8b48b4364406b4aa0f4d878ec52f9a7f755bb249aeeaca75ae6221d6bdf302d4342d4974d268b1782175 SHA512 cc9aa126c26a017a3fb7b78a6b8f2056194028a44c8ed615a6dc4a445d50f0463e2de0b80810ab5a252070925a56b5a61dbb601a3de9e445d861356231a146d5
|
||||
DIST construct-2.10.57.tar.gz 1184585 BLAKE2B abaeebf5872cc97cc67d47cf79370fecdb1abafb62fa80b6acfa63de9087f70fa67fd69e90ab4e78e7ac179c1bb1011529e34201c3c2270e1a2651c97cc678b2 SHA512 ef2f0bbcf4cbcf4862033b16ccb428f84d63ca5c867157b47e38b441cb439c953b543cf69f352c0542525fd07b37d1b3b68910ae5331c482e75b4af937e116a1
|
||||
DIST construct-2.10.58.tar.gz 1184881 BLAKE2B d1dfa005542505b0a154f3c0ae74a1708747b1e7b9f5dc650b924169fa54620719bdf5bb868e616ae58e8890f547eaf3bad5b02ef1f7f7ffeeadffaa87413041 SHA512 8547847e3fa15c020ab7d178b229c5b93744b48497c4cf809a93527be5776eacd52783a0fa38583d694c262c119835c989fcbe0936eb247ca844d252c4bdebb5
|
||||
EBUILD construct-2.10.56.ebuild 956 BLAKE2B 5322a9faef0d7c98a154f1d8f8ea2b904aebea196460c42441b39dba7a7f50280ad41d09e2a179a228c3f18a82dcc4b0d8145dcd39a914e264ca0c60708507d8 SHA512 59d16bd0ac16750ccc49e806c993203afb8a7f3889c61e01bedf2439cfe72de39faa93a17023d98fee9498ad0ef33e8fceea834a3649728875494bb4ecc10b73
|
||||
EBUILD construct-2.10.57.ebuild 972 BLAKE2B 14fe5688c8136aa27af5780ddf171896a1f02a846934d72e373fff00ffdf2bd9ad96553f3d147eb2c475f19da243ca634646dd76385e85ee6156d1c433a2d13f SHA512 6192b931155be5711a2d838616d91e40d44d4e3c8e6203669bed06b2a95047074890b08f2e89ff15b70acc85bdb07ac94082c0cd9411cc1e2b1fb35140ec4d27
|
||||
EBUILD construct-2.10.58.ebuild 972 BLAKE2B 14fe5688c8136aa27af5780ddf171896a1f02a846934d72e373fff00ffdf2bd9ad96553f3d147eb2c475f19da243ca634646dd76385e85ee6156d1c433a2d13f SHA512 6192b931155be5711a2d838616d91e40d44d4e3c8e6203669bed06b2a95047074890b08f2e89ff15b70acc85bdb07ac94082c0cd9411cc1e2b1fb35140ec4d27
|
||||
MISC metadata.xml 491 BLAKE2B bf8f7729988a0a4c39c9f8081a4b05560d1596a69c8670e378ea1f1f81b8dd5a2c366e8211c36e07f809378c6ae769b01181a4ceaf3f82ec8eb2b1879d874a87 SHA512 a8a85937bda8fb36a51bd6e0c0bcb1ce721073ee07a8e198c88b64ee484e8fd1c813e937443885e5ea2e532cda3971e8eb59385797a7a8f44ec9524a57acbbf9
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A powerful declarative parser for binary data"
|
||||
HOMEPAGE="https://construct.readthedocs.io/en/latest/ https://pypi.org/project/construct/"
|
||||
SRC_URI="https://github.com/construct/construct/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/arrow[${PYTHON_USEDEP}]
|
||||
>=dev-python/numpy-1.15.4[${PYTHON_USEDEP}]
|
||||
dev-python/ruamel-yaml[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
rm tests/test_benchmarks.py || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "Version 2.10.x has significant API and implementation changes from"
|
||||
ewarn "previous 2.9.x releases. Please read the documentation at"
|
||||
ewarn "https://construct.readthedocs.io/en/latest/transition210.html"
|
||||
ewarn "for more info."
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
AUX execnet-1.7.1-tests.patch 7299 BLAKE2B a2bf00a2b283dcebb777ff4743f6dbd522ddb8ede743f77bbaa20b1b2e5956ea08e04359459a2c6837a5b2bb64585b8bf3bb826236acbbd874ffa5950d8d1196 SHA512 938bdc6185a5251a7f1e5185a694774a1b6e1c1ad39dbc444ee248f338f2e8a15dc3761980224f9eb378fa4c384a2c83f96f8a3ce55da2a24ea04b85997bdcf9
|
||||
DIST execnet-1.7.1.tar.gz 174157 BLAKE2B 0c2f7b8918bdd5a3cd1fdc49607e571874e20bd26a4806a6ec1a11359b912ed09244afb781670ff24fbee752516d59ab2bba7f662bbcddb802e7e6efd2c544ef SHA512 375748c03f8d955bd8fca90d5c6308073c31a978fd7a604257512e0a710f899dec5db8a91d5bb5f16de9b0656e1742da9ab513827a1a065a5125bafcf1e63a70
|
||||
DIST execnet-1.8.0.tar.gz 173765 BLAKE2B c6334a98b0e9dc7eb5e83fef05b795371edd0f85a6cbad9dc80d14f2e944204812c58419afebe5e70514f41d5ee7507b6a224a94e8cee2544607bc28ef5b175d SHA512 a0ca76002270daa5cbfa00563a51a3412008f893f755a1eb84f53e228dd61a82bdc94fe6152e30d471b4caff3059c662bb9de82100ec2c96df4d014836452698
|
||||
EBUILD execnet-1.7.1-r1.ebuild 1186 BLAKE2B 9ca86c306dbd9220bc508d084cf867525f090833a83361d08faf15d0986d0b97df01db28b5f74d1229e2e3a13dcb06fe645a48547e643879ab1da0ac8ef73a8b SHA512 04ace51765f7439d05fdffa0b3a32effb494abc8e6163bb81ab61242e791ff93a257913a7dfca8c37508e1b99bc75ff904e0d510f1ecc37a09dcf40ed738b0be
|
||||
EBUILD execnet-1.8.0.ebuild 1388 BLAKE2B 962749bd717d803f54aa212978b411428af36893829cd8df4f69d3018942ede3259004dd52843ab4ca2b7d42acfedf609ebbada5d7376ad22e2a95e3a706338a SHA512 2177827cfe65261af61e3051cae777a3c9a1a129dffc6c12143710dc91d668c202f32eb4fe25c3cd9d6764677989ed1d43d3808e2be8d0c9d561a93160e2ea9f
|
||||
MISC metadata.xml 441 BLAKE2B be64fae1f1acc10cff3492e6c2cd802f9f3bee83d646868d3dbe2336b35c791f8ec0be4aad6e89aaad167f03163740cdde543c5af6dc71c0780754f97a76f4af SHA512 9f17e1724f03b55e0313dd4b7528ef1f190258bd39efe35e144ad1807f4037a08e4302f749153f511c1bd0ab01a885e3700eb3ead4764d44161c0f7080a55673
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Rapid multi-Python deployment"
|
||||
HOMEPAGE="https://codespeak.net/execnet/
|
||||
https://pypi.org/project/execnet/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
||||
|
||||
RDEPEND=">=dev-python/apipkg-1.4[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]"
|
||||
|
||||
distutils_enable_sphinx doc
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i -r 's:(,[[:space:]]*|)"eventlet":: ; s:(,[[:space:]]*|)"gevent"(,|)::' \
|
||||
testing/conftest.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local deselect=(
|
||||
# needs python2.7 with apipkg?
|
||||
'testing/test_termination.py::test_close_initiating_remote_no_error[python2.7]'
|
||||
# tries to run python2
|
||||
testing/test_channel.py::TestStringCoerce::test_3to2
|
||||
testing/test_gateway.py::TestStringCoerce::test_3to2
|
||||
# does not like Gentoo defaults
|
||||
testing/test_gateway.py::TestPopenGateway::test_dont_write_bytecode
|
||||
# almost all tests call py2, not worth filtering for the rest
|
||||
testing/test_serializer.py
|
||||
)
|
||||
|
||||
pytest -vv ${deselect[@]/#/--deselect } ||
|
||||
die "Tests failed with ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
PYTHON_COMPAT=( python3_{7..9} pypy3 )
|
||||
PYTHON_REQ_USE="threads(+),sqlite"
|
||||
|
||||
inherit distutils-r1 eutils 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 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
||||
IUSE="cli test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
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}]
|
||||
' 'python*')
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
<dev-python/pytest-6.2[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
!!<dev-python/typing-3.7.4.1
|
||||
)
|
||||
"
|
||||
|
||||
python_prepare() {
|
||||
if ! use cli || [[ ${EPYTHON} != python* ]]; then
|
||||
sed -i -e '/console_scripts/d' setup.py || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing --via-root
|
||||
pytest -vv tests/cover tests/pytest tests/quality \
|
||||
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" ||
|
||||
die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
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,40 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
|
||||
inherit distutils-r1 llvm.org
|
||||
|
||||
DESCRIPTION="A stand-alone install of the LLVM suite testing tool"
|
||||
HOMEPAGE="https://llvm.org/"
|
||||
|
||||
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# Tests require 'FileCheck' and 'not' utilities (from llvm)
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
sys-devel/llvm )"
|
||||
|
||||
LLVM_COMPONENTS=( llvm/utils/lit )
|
||||
llvm.org_set_globals
|
||||
|
||||
# TODO: move the manpage generation here (from sys-devel/llvm)
|
||||
|
||||
src_prepare() {
|
||||
cd "${WORKDIR}" || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x LIT_PRESERVES_TMP=1
|
||||
local litflags=$(get_lit_flags)
|
||||
./lit.py ${litflags//;/ } tests || die
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
|
||||
inherit distutils-r1 llvm.org
|
||||
|
||||
DESCRIPTION="A stand-alone install of the LLVM suite testing tool"
|
||||
HOMEPAGE="https://llvm.org/"
|
||||
|
||||
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# Tests require 'FileCheck' and 'not' utilities (from llvm)
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
sys-devel/llvm )"
|
||||
|
||||
LLVM_COMPONENTS=( llvm/utils/lit )
|
||||
llvm.org_set_globals
|
||||
|
||||
# TODO: move the manpage generation here (from sys-devel/llvm)
|
||||
|
||||
src_prepare() {
|
||||
cd "${WORKDIR}" || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x LIT_PRESERVES_TMP=1
|
||||
local litflags=$(get_lit_flags)
|
||||
./lit.py ${litflags//;/ } tests || die
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST nest_asyncio-1.4.3.tar.gz 5996 BLAKE2B 399086236427fca6073b95ee898c9bb9ebbc984e36219b9f5bdcaff4d670a51985e1e3ca7597faf8b20ea3cb1610f5ad3fc12a30fe2207dadcd7d784c50679a7 SHA512 8d8e3384238c685211f4ae4e3a5c2d6bb0712880abe71b25287eabaee19deb3d669e6e4f2eead3d76825b460025e0cc4f8dc04197d140503b32563142c4ab596
|
||||
DIST nest_asyncio-1.5.1.tar.gz 5738 BLAKE2B 0aa7d9a71c75b97b1eeb40dab8b2b9942a6c2107643aa82429b3d27c3fcc3602494a86903669ec3ee4f577802463cdf05cfafc4bf0c6721b251a61b079d7381a SHA512 cb85ce82706d17081de58e4176bbc6bba9efd9eec99a36902dd689010d08d4267e742cabb89c088cc274aac13ed9929f09e0f55f375cee35e3c15385ed2fe0d3
|
||||
EBUILD nest_asyncio-1.4.3.ebuild 411 BLAKE2B 2448c710f0513412edb65ce49a4f164034232f63a1dc196ce7146175190d38cef13b2c7e8ab028ff4f256657f4b94064533b9e74aaedac01027d795a0319f700 SHA512 b8b25ab295e79b53aa0c1e935540801a236e4c30cccc3096da2a1e86b8348f80083caf28e18d553efc6b62dfe6661c0ae8cdbb72b6a742038967fdc102183380
|
||||
EBUILD nest_asyncio-1.5.1.ebuild 418 BLAKE2B dec4821732c85380515fd27b7fbca65f1a87bc61ac3ea013dd8144410696df3fd2e021baa1273500e794282b58e5af3157fb49f896cc618b956a0712aa286cf0 SHA512 707d4e0fff61a3e3776b0fafc2f376af7a82bc5631e28c4b94dd8208c92a50aff525d2786c704b07d6f9001391a59822c6d7dc4e4c5d53da73cbba1468f20584
|
||||
MISC metadata.xml 388 BLAKE2B 5997502316ff6f700e55980bfccbc7ddd0b4775d95866d76803b37ad0c8e6222cf13f2ad8cbee455d6327b4f96b66f7318bcf05d3f861ecd26288ae144f8a2ba SHA512 f55ce5e44a97d4cc234f0f17f231324b72d60213b9a0c4f94d6ee4cd24893cd6592f1ab8fc6c9527d482e430cf3268299ad08e3b7f76434fce2385a5f23af174
|
||||
|
@ -0,0 +1,18 @@
|
||||
# Copyright 2020-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Patch asyncio to allow nested event loops"
|
||||
HOMEPAGE="https://github.com/erdewit/nest_asyncio/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
distutils_enable_tests setup.py
|
@ -1,5 +1,7 @@
|
||||
DIST phonenumbers-8.12.15.tar.gz 2256651 BLAKE2B b3a583cb64ea1e4fc278f40cb78c7ad9aa66f1655e4483219f8d1e3384628b9b5cd672c584953c0233743d436fbc6723484d63724e466badf0b3fecf57791b87 SHA512 56c52ab736ce807609c79d5cc3d4e97cb3c5a3e59689cf3112c21ee672c04f095f1727fc37f4e3b1573dbcd4c9ccb00b3a5773c2c383264996e1761f46acfd0c
|
||||
DIST phonenumbers-8.12.16.tar.gz 2257000 BLAKE2B 33e513840f1147af9169ae4b01527b07597cd8fd3be2e299c77e79eed75b84c7e8bbe036e5961ddd93efcf4a8bab6e6a5da348800becac66d078947a2c98accb SHA512 4e2162a6fa02170241887f4876ee811d431b0bccb03d9be305478ae48f21f27643da1be238d68f52b50eb72e87f8de4961769500f026cd4bfb2ac291534d1e74
|
||||
DIST phonenumbers-8.12.17.tar.gz 2257177 BLAKE2B fb47b020d78c1f91973c5a316b1c08dafaa7847650c19ac012304f855701fbe6ef5068c26c125a52c69bcb02c68e7465e376f5f521c06f25c92402d60416eb6b SHA512 59999dd64c78d69cfe39c3fff7ac41e57739e7363073fd871c7ede6088e0b32085d92e560954cdd3db1c986cb2f17f884fc2ce04b23cd7d10eab1ea4b8b5c4be
|
||||
EBUILD phonenumbers-8.12.15.ebuild 433 BLAKE2B 11b1a8c231c75bd817bbafc293de8500cdbfc0a560fbc98116212568ca63a7e003b1051f0ea496489978b73f82c2210450217042091b85a85114e928f9fa64f9 SHA512 35b211635f454d87b95b4bc2435b7142cd8eebf7a631a920f3108e02e810990256169a8bcb35828d79537efc3e51ac3a143a25319f2d5cd4e2b1c7f26272afbb
|
||||
EBUILD phonenumbers-8.12.16.ebuild 435 BLAKE2B d974186dd5b9ef49120f67d6fc5f8d73ff6a80ab5ffa74fae9cc1799969cfe214f8303df9b1cb1f785079df953ed5ea8bc5a18e4718fedd103d64752a40f65db SHA512 6bbb205a0b04495d322611c8e31e0aed0f1fcfaddfb16747ae311189f6fd903b0fb953c9b724763a39b9358409d1a489b9ad48abff5632cad1ecd9cfc1752f51
|
||||
EBUILD phonenumbers-8.12.17.ebuild 435 BLAKE2B d974186dd5b9ef49120f67d6fc5f8d73ff6a80ab5ffa74fae9cc1799969cfe214f8303df9b1cb1f785079df953ed5ea8bc5a18e4718fedd103d64752a40f65db SHA512 6bbb205a0b04495d322611c8e31e0aed0f1fcfaddfb16747ae311189f6fd903b0fb953c9b724763a39b9358409d1a489b9ad48abff5632cad1ecd9cfc1752f51
|
||||
MISC metadata.xml 517 BLAKE2B fbbefd64340f179046eff07f02cfc01416d9c99817d8bd4061aa908eaabf59560e704e40876b5d514389766b26697ee811a1a4ef9ee5a306790156892f45e8d1 SHA512 5246cff049767fba3892ae49499127453cc26806d3eca35de98012c71df29cca4192d104810ea21921a1160e736a2225e3538e829016d9712a0b489be0e5a17b
|
||||
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python port of Google's libphonenumber"
|
||||
HOMEPAGE="https://github.com/daviddrysdale/python-phonenumbers"
|
||||
SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DOCS=(README.md)
|
||||
|
||||
distutils_enable_tests setup.py
|
@ -1,3 +1,5 @@
|
||||
DIST pytest-regressions-2.1.1.tar.gz 97596 BLAKE2B a0c62ec1a0c1f66d0539780008a99bcf7fb0f9bd6d73198154c9a1ebe9830679d4fb57f989a2ac03c19cce7ac617db26c07857581d2bf753fbe18358a9edcecc SHA512 488bf42502ad18995c1f1e7f32677c500d14869cc0e2655400610bf18b73f48538025c08fc23758737ebb92deba61b130a1f6f82a75f71d93f03181ccd74a9c4
|
||||
DIST pytest-regressions-2.2.0.tar.gz 98162 BLAKE2B d87b331a35a988e8da6a6c827b594eea6ac64adb17a5b4a054ff0e9526d8d0153d84e0f59ffc805f76a96c1b100961ae12d05849fe2dd35ff4c18f42e235b3b0 SHA512 a4c91590f6e3825eef97da4fb21c1b852b68b60d6dc61ca9e1581737c0cb02831b091ae215aa16a5c50d06d413dabf243de4e98ebd01ce2af7fd2ddbaedec3fb
|
||||
EBUILD pytest-regressions-2.1.1.ebuild 1058 BLAKE2B 1716a67041a5d634defff5a2e16fcc4e21026ede4d6f91937f2a9c48ccb2c643f46455ed40a8660a443a82fe74ad3d494769da9750b85c4d66794af71b0ea0c8 SHA512 99ff85f74ee2009006e09a7a97a3e5de655682b7944bc0d1a9f5fa18c87a74bd515575884950533b91138f99f388f660aee4a6a590b55997ce8f3441198cf143
|
||||
MISC metadata.xml 480 BLAKE2B e6c6ac7fcdf6df37deb29f3551fac8fef3a9282ceae658aea4d80fcc7950e34805b7b3f77b87a9231c4b251e58f4076ef150b9e49744058ef298cb2278f5f2b0 SHA512 2659af13e07c58c86cf62f78f7196a92553411cdb1876e234d2a166a973ad49ab0c0d57df5d32e291d0d49e44dc9ce82b7dc2ae3f5ae24553524906151794d3a
|
||||
EBUILD pytest-regressions-2.2.0.ebuild 1068 BLAKE2B b1e8d0cc1a8a8d12c55e1e926daa455b4cf7f823f2222efe15af8ad89d4c683274ee082972372388a609b8cd051184809018d4686758750f0e386bf3049148ce SHA512 26db84b0e897ff9dff56aad6a0e72fc040fe5b7151d11cb70e4d64ca86dbcaa48bd29d944bfbb45139d7b4eee04c1a55331bd75713ed4f49127f123712824381
|
||||
MISC metadata.xml 581 BLAKE2B 0c89ac086ea6a4df82876ebef5710c1e5f83a198c7f6554d25d2f4a79b9ed4522477233fecc66f8212b9d67c4d051e6845a4ee5a82320e95c8e5d1b3b9fbaf3c SHA512 2332331595aadb30675a3c78a19a5fc072b780ea17526f97450c16510b697711ce879289aee329801d0b16c6d058a375d21a718e386eba662c22a8d8f7739748
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Easy to use fixtures to write regression tests"
|
||||
HOMEPAGE="https://github.com/ESSS/pytest-regressions"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-datadir[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/pandas[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/tox[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests --install pytest
|
||||
distutils_enable_sphinx doc dev-python/sphinx_rtd_theme
|
||||
|
||||
python_prepare_all() {
|
||||
# Does not work with the panda's version in ::gentoo
|
||||
sed -i -e 's:test_non_numeric_data:_&:' \
|
||||
-e 's:test_non_pandas_dataframe:_&:' \
|
||||
tests/test_dataframe_regression.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST rply-0.7.7.tar.gz 26366 BLAKE2B 09e6b93e9581745209b2d1fede6e0e4f08c2a34cc2495ea73aebb27b012353bbdb749ef127128cd5d9df201607f73625e248945038a927d788e324fb632341b4 SHA512 c01166b7df067a6a55d1b43caa7b5a349045e838899daf82e2ba70a2c2525fd68e95f11e5319a1fe36936e696352a37bdc13f132f739cd52759a9a9c91e317ba
|
||||
DIST rply-0.7.8.tar.gz 26697 BLAKE2B 95c4be3bbbd7aea7f278dbe0c37fd43d012df768169d0363d1a938f762c2f9ad69d596cbbaaafee3c93f3d615ea5cd1509e9b642188320f8acd09c12d6b7c780 SHA512 b43e6425f046561cfca616801d37d7151f015aeb2ea2365abc00f97fd6b41f1a01a17e330aed5a81537065e4b29d49cd0824b5a5cb8b2d11da2ff1f8de952fce
|
||||
EBUILD rply-0.7.7-r1.ebuild 569 BLAKE2B 502be8cf23ea2474a75ccdb3ad86fc9226b26417813ecedbab46bbd5ac9e3f666eed956a2d1636e3a4abba9772e33a916b94a2c1e057204a3a240c2d56c0c341 SHA512 2afc224db6282b58586a68a68b9fa1b34c62bc92dae9266173da5c0603b948b692a717efb6f1dcf856ffdfebf796de0659affc97fcb3d7d5e79bd13b147539e3
|
||||
EBUILD rply-0.7.8.ebuild 571 BLAKE2B 21376282d00edb6914d9c89f4f9fde8b6b67b28bfd220598340925a019fb7f3abb22416eca388faf26bd1ed90f020df87292badd2dc838c0222d02f14b0560be SHA512 7bb6d039406411a315cf006d993b865b546a933f72085aef003c9aca26d2c79949c1f677431e3e14fa7c8236bc19b6376917a44a73fdda4a587b2c86386961fa
|
||||
MISC metadata.xml 356 BLAKE2B d47709ed8a660507a33ead01d41c7d93124b429f642f81659f55d6da019fbe32c7b0d48690319ecb0099635c950c8938f08fa4b3d8e1261b39bc9cea5f20556d SHA512 3bb601a253d74589a2cff142af8f37801027bb8515cca97b4f5839f32b56c314a2dfc7db5b7225ad79f2090f7fd1db84616f86f9ee7685a21700a506074237be
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Pure python parser generator that also works with RPython"
|
||||
HOMEPAGE="https://github.com/alex/rply"
|
||||
SRC_URI="https://github.com/alex/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="
|
||||
dev-python/appdirs[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/py[${PYTHON_USEDEP}] )"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1,7 +1,9 @@
|
||||
AUX snakeoil-0.8.8-py39.patch 1243 BLAKE2B 30c096614e4a4023781a1ba0b5694e5c61521116f35d026b8138b48f03e29dd5d413433248fbb2922faed32e0de30bd0329032d666c73e8a0fbb073131d843b1 SHA512 2ccb78c26c8a4df1a757422122617087ea34873de48e94d43c980d86963a2ed3f2b7e71dcc03686a313eefb07bfdc4010763eec8aef38ce8cb5786495aed1522
|
||||
DIST snakeoil-0.8.8.tar.gz 296519 BLAKE2B 5a5f6326d01874b46a5cb85f5370217f4f3dfd5743679280f1f59737567cd5d79deb945be847fd3cd47ff0ed67cc836d2a3e53c4aefbe8080da767f380295538 SHA512 ea1ff6ea45c9f5fc3bc539cc65031050093cc1fbdda869b7160b286dcf3233577ca297ab55ee3d7ee4253c5485f9e956e14ee2a97bfb88680811d1b8af6cd62d
|
||||
DIST snakeoil-0.8.9.tar.gz 271205 BLAKE2B dcaf4d26b430a2e99481182aa912a884a0cf5943f65028f4da098ec1b0ab177a97aeb0743d90cade589eba598598eccd275b15379d281ad0dc0bf62badd24c55 SHA512 d80f4c5be5d97598a119bd29413df1960487e4af2532b33b03c17337d15d24b34c4e5617f0d5d40db973f009697de25ae8c5bf5e60c19409835b3e77b4ffb461
|
||||
DIST snakeoil-0.9.0.tar.gz 271675 BLAKE2B 7dd65335fd79a7d335e5047ba928d7c156c5758874e20e41a06fc25fd2133697bccadc3cd24bcd611b7b210dfe330c121487c6d5bf5afa6330b714c928f3fd44 SHA512 c34938fdc5dd41ab84c5775090cc6bac1ac6bf0bd145c8d8966582917205ef422da272d12e4272afde764f52c62c8f02be076ce13c6552e0384a18fc8442cf96
|
||||
EBUILD snakeoil-0.8.8.ebuild 894 BLAKE2B 4c30ab784f3495a7e618ac0c0994fd24e336429144ca246459b441ed1d9b30b98dbf91f21f39fb7a85f3641f2c5c7ba160b3f57a121f3088ad03a311a3f38fbb SHA512 3b95671e781cb058e6459c13e3692bd79db88ad6e41fe50a9a16344412ce29cbf41a49142af1ede56edfa90a0376fa3b0f65ed478c1c320b422629009b69d6c8
|
||||
EBUILD snakeoil-0.8.9.ebuild 856 BLAKE2B e8cb85cefd445f8eb1113e7ad5264cfb235efc1228a0388453258937a92df52f627c4ef87d7656bf6b585439d1367c33469ac3c2b7a2aed27ed3ccd9d23e81c3 SHA512 ecee6f93a1e8db80346dab481a7cbe9381ea68ac7ccacb782030eaecab64a3530e16eafd3c03456f5e81186bb716c3e1e787dae23d4f6b507c349748e16cf00b
|
||||
EBUILD snakeoil-9999.ebuild 859 BLAKE2B fe7edfc38fe2a93a85d88057c72396482efb7d074c2ffca8191dfd9168511221bcf73798ee271dbaf202783856745980b6d7ec0f046c02324861f529cd67dac5 SHA512 adb46897c51505c370ac5c81d0ed0ee7a645dbc5b60c9241a2ed449299073dbdb69661138216fa78402da46b5436f49b38fd836a389a526cdbf4032dde9a4e01
|
||||
EBUILD snakeoil-0.9.0.ebuild 720 BLAKE2B 92f9f964592a63930e00ac23a7b5d102776ea63ad2af6ba5e47f5ba1f9fc4e18184056bfedaf60eb8c21569830e5152a0e58b061dcd18ba1d57af1ab2a83592f SHA512 59a367b088eaa2b993468c39c5a03a54cc0cdfea6f651c281750ca207b67905c19475c2066871f475884373b69587ddc8b079a129cfef1705a589374f486fc3c
|
||||
EBUILD snakeoil-9999.ebuild 720 BLAKE2B 92f9f964592a63930e00ac23a7b5d102776ea63ad2af6ba5e47f5ba1f9fc4e18184056bfedaf60eb8c21569830e5152a0e58b061dcd18ba1d57af1ab2a83592f SHA512 59a367b088eaa2b993468c39c5a03a54cc0cdfea6f651c281750ca207b67905c19475c2066871f475884373b69587ddc8b079a129cfef1705a589374f486fc3c
|
||||
MISC metadata.xml 386 BLAKE2B f9bc5cb5f590209e7211fffa5ac87e106e636f871dec0b31a90c4aaed63cb9fd4bf4fe510a4f36676eb47028465a58d5088307aec6c2c5b000d370aca5437b68 SHA512 47ee140ad8c665e0541a71721eec7739913a93944a0be471287c0df7403d63757500b27d3ffb909590846991c69727ea95d960dc98e7887bea3b178bc4dd6047
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/pkgcore/snakeoil.git"
|
||||
inherit git-r3
|
||||
else
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
fi
|
||||
|
||||
DESCRIPTION="misc common functionality and useful optimizations"
|
||||
HOMEPAGE="https://github.com/pkgcore/snakeoil"
|
||||
|
||||
LICENSE="BSD BSD-2 MIT"
|
||||
SLOT="0"
|
||||
|
||||
[[ ${PV} == 9999 ]] && BDEPEND+=" dev-python/cython[${PYTHON_USEDEP}]"
|
||||
|
||||
distutils_enable_tests pytest
|
Binary file not shown.
@ -1,13 +1,9 @@
|
||||
DIST bundler-2.1.4.gem 396800 BLAKE2B f770bd63255df09a20160369dc64e8923e996fb5ea4c11ee763d9a88e5fba142277ccd677861e3c0494b99a36261d5e7bdfb9c40c2abb76322061542f95b8505 SHA512 6c870061a78e17d97a9219433c7ef8fbf1112de17d0e0f3d8b6db1a518318528e3803184278412aabe65008e93f451ffa59465062856918ef488f9438399eff6
|
||||
DIST bundler-2.2.0.gem 400896 BLAKE2B a9d67d052bc6b7b8c09a6dbc249e348209a6a02bb3a43f9dbef29c3dce651974a4c9bde200085632cc7f4fb0957aae42a7cbaae28c8cab91986dacf1f52f1deb SHA512 bbee12a30362d1dfd8a7de4258d6623d08df91a38ba1e869f9a5878871d8fd145221f8eaa99fcb72e0c1404c9c31df37a5a1dbf4a94610cb3381566cc6c45516
|
||||
DIST bundler-2.2.3.gem 401408 BLAKE2B 7162444956c65d6684a299c7ce15f64a178dab40867315241eaa3cfcb51b6973a004980abef359c911de06ce2051e5ca98e68e3df388963f40378a6f5fabda62 SHA512 da1f1dfae51cdf3dd6792fc66c33389c113579b8a723fb204ae3b315dcd1d45aed65524469336934d7276be53b026952c944457e326c97b20d4c423dd44321ef
|
||||
DIST bundler-2.2.4.gem 386048 BLAKE2B 7a2cec046b75ff371df9b563a81f48c8a2a3782f75ec4868869b4b2fda5e117b6cd38daf6a566ec1201fe7a5f6b8b2c4dbe0cc552d2a63bcb4e5e9f53c710046 SHA512 f3c988278746896da276e5af5cf046c5910962c2022fc8d37ab00db1a81a69d77a1fd21fabd8a1d086891d18bfb4ac321dbb60f830b139aa7c3192ea879b4cf8
|
||||
DIST bundler-2.2.5.gem 386560 BLAKE2B 070f52338e9424e571ae40c01ba559158fd9938910be4d5b1d4c8990cdaac4f6a2cb7d2a554a2e7bbb35b18a31e9d1dba5c4e711556294496ac6978ae63a94f0 SHA512 d985168531ad7415841535a496717faff2cbdcff04c8b701c0e29533f3fe5c87cb5815e6b219ab1d536c29c8c8d80b051f4f05aeb2b6fe279dc12404bf824742
|
||||
DIST bundler-2.2.6.gem 386560 BLAKE2B e1e3f50425839bbb13360fc986f98588aa09643b6fb5b8c13911b5680ef0ae2ca0b19f71ffa99234f6f6a39ca6467564f25ac26874c67b493e028f086e89c211 SHA512 58e80bb313c132125e2b601113e6e262d00f768ca75adbacbff2e98cdcd83e40aa68a8f92aa56e477c66cd396687ad6d9f54f4df9366fd6b51424b6ff5429504
|
||||
DIST bundler-2.2.7.gem 386560 BLAKE2B 30d2f113f30cf4cff2d85ce06b36b947fd2d3cc0b1f03f1a0eae023babaa43820249f6b727095c5590e96adfd9914922454dbf0a2a42b8d8a6b0c75adcc5c04b SHA512 bd2fe4d7ad10fa98004514a93e2e5634bf0ca16a41410d01ed78e320d53923c6690c4564b70e5efcaf21636ef860ef56c425ce0a8e4b240fd97e05efae48c089
|
||||
EBUILD bundler-2.1.4.ebuild 929 BLAKE2B a79ad4ac2dd54ceb6163218b366b45bdaaa8e5b927e232ec6a7cfff0aca675b0b994065c837778619ccf27938d5971990fe3e6357adcfad721910b24a0b4a436 SHA512 c1b5d4cb99131409fd72849a5090366c4ab180ebfbfd9c0416304e0eba18fc502ec51c56120a1545369309c9ebc16b2b4b109760aeb3a1123a2851d85357c91c
|
||||
EBUILD bundler-2.2.0.ebuild 931 BLAKE2B 45ea33bc46297106a0cf1cbf84426c45e4b7699126bec073a7312c3b4e7a9cc968c9b008ea0635b2c3fdabc57856b4b7e23285e4bbf65305d5752e685f007c1f SHA512 bf4c48c4944bd02dcbe255a8f23a2df6bd24ceb8ccabbb1bcc8ab8bb36fb656ac2672e570261178576e57fdd75a764ef195f67e7bd1c81d91fbb5046d51044f7
|
||||
EBUILD bundler-2.2.3.ebuild 938 BLAKE2B be710cc6084c21afe9b6826249b64d8d3f051cf7e23f104e21b6c79204eb5f56eb9ed8f2ef0d39372ff8cdf010f183bdb1698e6956a249a255bff8297076fbb9 SHA512 453daf930f02fe82539a9f9b7277b93ef1def4512743d2bc16ce56ba738dfdf56ad531427b1ed13c85659dcb8560a96f65e5742087ee0a2eef59aff930449f81
|
||||
EBUILD bundler-2.2.4.ebuild 905 BLAKE2B a16b0446efa247f2d3e6530db4fd5b933321488357783cb9317e40868b3cdb6b701eccedbe4103644c4974492de3d8f3c75477f9842ed85c38611ab2e0d51727 SHA512 3e46e8408b4b609e4e9972330aad5b8d7f2743f7900837d9e178d5a4e02ed020df4447fb5181a23beda91674c208725484ab5404077ce60f591fab094e123feb
|
||||
EBUILD bundler-2.2.5.ebuild 905 BLAKE2B a16b0446efa247f2d3e6530db4fd5b933321488357783cb9317e40868b3cdb6b701eccedbe4103644c4974492de3d8f3c75477f9842ed85c38611ab2e0d51727 SHA512 3e46e8408b4b609e4e9972330aad5b8d7f2743f7900837d9e178d5a4e02ed020df4447fb5181a23beda91674c208725484ab5404077ce60f591fab094e123feb
|
||||
EBUILD bundler-2.2.6.ebuild 905 BLAKE2B a16b0446efa247f2d3e6530db4fd5b933321488357783cb9317e40868b3cdb6b701eccedbe4103644c4974492de3d8f3c75477f9842ed85c38611ab2e0d51727 SHA512 3e46e8408b4b609e4e9972330aad5b8d7f2743f7900837d9e178d5a4e02ed020df4447fb5181a23beda91674c208725484ab5404077ce60f591fab094e123feb
|
||||
EBUILD bundler-2.2.7.ebuild 905 BLAKE2B a16b0446efa247f2d3e6530db4fd5b933321488357783cb9317e40868b3cdb6b701eccedbe4103644c4974492de3d8f3c75477f9842ed85c38611ab2e0d51727 SHA512 3e46e8408b4b609e4e9972330aad5b8d7f2743f7900837d9e178d5a4e02ed020df4447fb5181a23beda91674c208725484ab5404077ce60f591fab094e123feb
|
||||
MISC metadata.xml 342 BLAKE2B 9247517894a366c8b67564e015ff966b22eb3df924ec8438d9886ee854d922e376a274e1dcb455e23451febbb1bf4d8f60023e6b7763cd42772749de1bab372c SHA512 2eb67c3eb94b1d7dfe3e3c818588e6a8b15b375e2e4497afbed91dd0ac28b261cc53e2c04a7f713db710c90566ffea60a0d27acc56893010f9f1b31a6f34cb3e
|
||||
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
USE_RUBY="ruby25 ruby26 ruby27"
|
||||
|
||||
# The specs require a number of gems to be installed in a temporary
|
||||
# directory, but this requires network access. They also don't work
|
||||
# when run with a path that contains "-".
|
||||
RUBY_FAKEGEM_RECIPE_TEST="none"
|
||||
|
||||
# No documentation task
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md"
|
||||
|
||||
RUBY_FAKEGEM_BINDIR="exe"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="man"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="An easy way to vendor gem dependencies"
|
||||
HOMEPAGE="https://github.com/carlhuda/bundler"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(ver_cut 1)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="+doc test"
|
||||
|
||||
ruby_add_rdepend virtual/rubygems
|
||||
|
||||
RDEPEND+=" dev-vcs/git !<dev-ruby/bundler-1.17.3-r1:0"
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
USE_RUBY="ruby25 ruby26 ruby27 ruby30"
|
||||
|
||||
# The specs require a number of gems to be installed in a temporary
|
||||
# directory, but this requires network access. They also don't work
|
||||
# when run with a path that contains "-".
|
||||
RUBY_FAKEGEM_RECIPE_TEST="none"
|
||||
|
||||
# No documentation task
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md"
|
||||
|
||||
RUBY_FAKEGEM_BINDIR="exe"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="man"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="An easy way to vendor gem dependencies"
|
||||
HOMEPAGE="https://github.com/carlhuda/bundler"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(ver_cut 1)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="+doc test"
|
||||
|
||||
ruby_add_rdepend virtual/rubygems
|
||||
|
||||
RDEPEND+=" dev-vcs/git !<dev-ruby/bundler-1.17.3-r1:0"
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
USE_RUBY="ruby25 ruby26 ruby27"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="History.md README.md"
|
||||
|
||||
# Rake tasks are not distributed in the gem.
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
inherit virtualx ruby-fakegem
|
||||
|
||||
DESCRIPTION="Capybara aims to simplify the process of integration testing Rack applications"
|
||||
HOMEPAGE="https://github.com/jnicklas/capybara"
|
||||
LICENSE="MIT"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
SLOT="3"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="${DEPEND} test? ( || ( www-client/firefox www-client/firefox-bin ) )"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/rspec:3
|
||||
>=dev-ruby/launchy-2.4.0
|
||||
>=dev-ruby/selenium-webdriver-3.5:3
|
||||
dev-ruby/sinatra:2
|
||||
www-servers/puma
|
||||
)"
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/addressable
|
||||
>=dev-ruby/mini_mime-0.1.3
|
||||
>=dev-ruby/nokogiri-1.8:0
|
||||
>=dev-ruby/rack-1.6.0:*
|
||||
>=dev-ruby/rack-test-0.6.3:*
|
||||
>=dev-ruby/regexp_parser-1.5:1
|
||||
>=dev-ruby/xpath-3.2:3"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/bundler/d' -e '/pry/d' -e '1igem "sinatra"' -e '/statistics/Id' spec/spec_helper.rb || die
|
||||
|
||||
# Avoid window-manager specific tests (sizes are specific for fluxbox)
|
||||
sed -i -e '/#maximize/,/^ end/ s:^:#:' lib/capybara/spec/session/window/window_spec.rb || die
|
||||
|
||||
# Avoid spec that requires unpackaged geckodriver
|
||||
#sed -i -e '/describe.*register_server/,/^ end/ s:^:#:' spec/capybara_spec.rb || die
|
||||
|
||||
# Avoid test dependency on puma server for now
|
||||
sed -i -e '/should have :puma registered/,/^ end/ s:^:#:' spec/capybara_spec.rb || die
|
||||
|
||||
# Update spec to catch the right error code. This seems to have
|
||||
# changed recently accross ruby versions.
|
||||
sed -i -e '/raise_error/ s/EOFError/Net::ReadTimeout/' spec/server_spec.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
virtx ${RUBY} -Ilib -S rspec-3 spec
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST redcarpet-3.4.0.tar.gz 105525 BLAKE2B 38b28f400b7300ea49cebda9b4739193b54c322c1c20ecba50938893286ad87e44ba9e9da83eab8433af0790d76bc0db4189fc0b70a4438480fe784570809e1a SHA512 25ed1fd35ebf815f396ed819baec69aae366bafab3983a53d364b1ef0d3f18cecaa523953d12cb0e5b896c30ac86e000318f33c633047bd271362474b9b8f877
|
||||
DIST redcarpet-3.5.1.tar.gz 106950 BLAKE2B 2f84e0dbadaa79827d9d244988b19161996e249e493208b20b6339f0eccf73160fe84d79f11a23419573693bbc9c1faae61e690ffe5ec133f8a0baddb69d92b5 SHA512 348ee8fc56b89bb1b9fe0b004cab08e9542f3806a885fb5fb0ff58c9a0fa704ad37611484e071951ad00d1d337988d5dae6d240cd65df890f8fe0865e242608d
|
||||
EBUILD redcarpet-3.4.0.ebuild 1031 BLAKE2B 44ad77ce9fff4057c3eaf59bf83b3f30c3e37c870fe468cb2ff9f667485fcf063db72f436c60c1cd969228173161989c342e2ac26fd53ca90598d72a4df0f810 SHA512 4c01aef2e885a9a6eed7374b27e16b29b442b08677089c4b1520e445102f75512080fa9532a2969abb077b53d232efd649686da59b398efdcb27c693dfc4b73e
|
||||
EBUILD redcarpet-3.5.1.ebuild 995 BLAKE2B 55c8243edaa2c80427755606c45fc22a1cba2afb159dea890c394a4d25d583959ae2e6f0edad1c7117e7dfaa6e10df422ca8c85ad6de10cba440c33cb589ac6c SHA512 8b2deccd17fdff59314044031e6057bd07785e07e05daa565af8059b6804d23e919e6cf45a10947a3837bbc2f279a7b67c1ed59720b232f0a8e1531c00312afa
|
||||
MISC metadata.xml 339 BLAKE2B 3f8aaf2e00581b0e8a62f7a035a0bb80208dd8b4a1541cf77a3550cfaa486e800662c9f251bf02ec3e9a326dfe62d254981f04808b35700130b055488025c79b SHA512 eb85f708675bd9dd3d132e73d14e52689a94279ffc754097a986ddc3224ee21a69e7e81f1bc391725f1d2f1d41f72f8553079a10ffde7c8eb55048b7c6f089d2
|
||||
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby23 ruby24 ruby25 ruby26"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOCS="README.markdown CONTRIBUTING.md CHANGELOG.md doc"
|
||||
RUBY_FAKEGEM_TASK_TEST="test:unit"
|
||||
inherit multilib ruby-fakegem
|
||||
|
||||
SRC_URI="https://github.com/vmg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
DESCRIPTION="A Ruby wrapper for Upskirt"
|
||||
HOMEPAGE="https://github.com/vmg/redcarpet"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/nokogiri )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/bundler/d' -e 's/=> :compile//' Rakefile || die
|
||||
|
||||
# Avoid unneeded dependency on rake-compiler
|
||||
sed -i -e '/extensiontask/I s:^:#:' Rakefile || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
sed -i -e "s#ruby#${RUBY}#" bin/redcarpet || die
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext/redcarpet extconf.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake V=1 -Cext/${PN}
|
||||
cp ext/${PN}/*$(get_modname) lib || die
|
||||
}
|
Binary file not shown.
@ -1,5 +1,3 @@
|
||||
DIST guile-json-4.4.1.tar.gz 158009 BLAKE2B a08a9e52fbccbc2dc8ad18bfd07ab37ab914cb8f3287331ea29ef76a234afc906b78c15775114b3d13187e0ad8a986379fcce43461119738b307e982f58c4b5a SHA512 c204b69f17b022c300f8edbbf9c800d02b7b82eea0064fdcd52b01b325e3d5f36caa64841bba7218e8d71748db60a3233be5f25ce28914cf71f5ac93826c3c88
|
||||
DIST guile-json-4.5.1.tar.gz 160081 BLAKE2B 672be56f0b7192a1f64189805542281750f16dc1da9350f87b563da3ba7b01f474b80ad49fdd4bf5f43af714ef283dfb403266e40d14170482d1d0f2aca6ef7d SHA512 07944106ef414ff4956802de0e00c009fd49f0d4af53031cb8dc032cbf67718c1761ca54302ab0ca4643156e3f5ae4f79fb51785bf4db2222fc722693801e454
|
||||
EBUILD guile-json-4.4.1.ebuild 670 BLAKE2B b86e74df8928cea0af49ff4a59f552f83db35eb5cdc86b35c1ae9a07aeeff6c8f8112a0408c4a0a7f2abbf65645e482f66a3fe8736f014ecf5a6199083c5dff8 SHA512 e90e4cc149e376f6ecc381b12a00955dcc6b1359405e59332b7a6d9a9998992109f142c43c3e59713dd886a59490ffa534b3ecc1f086ceaa509a556925ba4436
|
||||
EBUILD guile-json-4.5.1.ebuild 670 BLAKE2B 49267b90a42381aa2a37a949613bc21142a5f548af4d09d050df64a0d01b88dc56c763d7f34f4aebfb429d1eb9b141ba4a110ac4fee352576233b0d52778a41a SHA512 14710ef4935f75aa633d48cdf5406e5559f2b21229c52bd26ae68173c8c91ac20bf4ddc5f4e67fd1b517fc07dcb0e455a06b50215c4a89d2e0491efa8bfb28ca
|
||||
MISC metadata.xml 326 BLAKE2B d05d251d501000390dccc9c07656dc4a36a8c7b2fca80ccb9cc147ab6fcf270e03574e4614676a3e5c2a2a2b2c000463d3c73595a5f5da7941de840ce8b69a94 SHA512 08bc92338019e10651874c2a45053da7e5d61f9d0013849f3939902c452dc43abee97be085d8f6520dac35fc12bd01fd71e1a1ecaf48e5be947a203768f04449
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="JSON module for Guile"
|
||||
HOMEPAGE="https://savannah.nongnu.org/projects/guile-json/"
|
||||
SRC_URI="http://download.savannah.nongnu.org/releases/guile-json/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-scheme/guile-2.0.0"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# guile generates ELF files without use of C or machine code
|
||||
# It's a portage's false positive. bug #677600
|
||||
QA_FLAGS_IGNORED='.*[.]go'
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112
|
||||
find "${S}" -name "*.scm" -exec touch {} + || die
|
||||
}
|
Binary file not shown.
@ -1,5 +1,3 @@
|
||||
DIST diffoscope-164.tar.gz 1568354 BLAKE2B ee9aea028e8719d45cc077108c42e36b1a74eff0c6c191e81daf43e68c0f3307eb4335ce8dea547377cd7146f1aa5020ac5b56f24239789a74bec5bc6c3048bc SHA512 816f19801b200a05c01cbc2da408074915b626847eb133e96404a4dce883d5626f31bfd525373e899bf92592d790a4b5ca9920c168859e41f81cb6c4b78bf79f
|
||||
DIST diffoscope-165.tar.gz 1568656 BLAKE2B 606b2f11bc03da085d51fd10ceefbfe1ba4bf5599e45cc317ec0f555633e1f58219098fc59418dfa380f5afdb143af89e71fd7b90aeb8a77959a4abdbe410722 SHA512 0adbb7032bfff196d7028c6c140268b27d00adbbc253f3914b89dbe0505cc128ecb2c11db6a1efcdcffb8188031aad2557000a7f4de04e0598c9ef6ac05f1f28
|
||||
EBUILD diffoscope-164-r1.ebuild 2187 BLAKE2B a2e6f968f5dab8e641a85bdb892c07038e33adf59781fdea3eca1e32542ad77c33d70d530c974d68808bc98e315b351941337f207975358813a764c9714e9a31 SHA512 0a1af94edfabeca89f8b4624a6ec84b041f9de8ba40e3139c018e82bf9a78719824a9194a49b94e6cf3a9bef6eec9c2d24497c3d381cfa627cee74dd5816ab72
|
||||
EBUILD diffoscope-165.ebuild 2187 BLAKE2B a2e6f968f5dab8e641a85bdb892c07038e33adf59781fdea3eca1e32542ad77c33d70d530c974d68808bc98e315b351941337f207975358813a764c9714e9a31 SHA512 0a1af94edfabeca89f8b4624a6ec84b041f9de8ba40e3139c018e82bf9a78719824a9194a49b94e6cf3a9bef6eec9c2d24497c3d381cfa627cee74dd5816ab72
|
||||
MISC metadata.xml 2137 BLAKE2B 70393ec4166e001aaeeb4c10958693ff090b04e7e5bf7eb760746dc4920e0554724f61e1a073f008660789438bec33378796ebc117c1cedcac5116b0b1d32142 SHA512 a1f5648c7593f16db4df87b750360034647704b1809ed52d585d49b5769ee8e190ff853941d2739da7c5f514ef02442b3b3ebf55fb21541e7bc551c720a305d0
|
||||
|
@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8} )
|
||||
PYTHON_REQ_USE="ncurses"
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Will try to get to the bottom of what makes files or directories different"
|
||||
HOMEPAGE="https://diffoscope.org/ https://pypi.org/project/diffoscope/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="acl binutils bzip2 libcaca colord cpio +diff docx dtc e2fsprogs file
|
||||
find gettext gif gpg gzip haskell hdf5 hex imagemagick iso java llvm
|
||||
mono opendocument pascal pdf postscript R rpm sqlite squashfs
|
||||
ssh tar tcpdump xz zip zstd"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="dev-python/python-magic[${PYTHON_USEDEP}]
|
||||
dev-python/libarchive-c[${PYTHON_USEDEP}]
|
||||
dev-python/distro[${PYTHON_USEDEP}]
|
||||
acl? ( sys-apps/acl )
|
||||
binutils? ( sys-devel/binutils )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
libcaca? ( media-libs/libcaca )
|
||||
colord? ( x11-misc/colord )
|
||||
cpio? ( app-arch/cpio )
|
||||
diff? ( sys-apps/diffutils )
|
||||
docx? ( app-text/docx2txt )
|
||||
dtc? ( sys-apps/dtc )
|
||||
e2fsprogs? ( sys-fs/e2fsprogs )
|
||||
file? ( sys-apps/file )
|
||||
find? ( sys-apps/findutils )
|
||||
gettext? ( sys-devel/gettext )
|
||||
gif? ( media-libs/giflib )
|
||||
gpg? ( app-crypt/gnupg )
|
||||
gzip? ( app-arch/gzip )
|
||||
haskell? ( dev-lang/ghc )
|
||||
hdf5? ( sci-libs/hdf5 )
|
||||
hex? ( app-editors/vim-core )
|
||||
imagemagick? ( media-gfx/imagemagick )
|
||||
iso? ( app-cdr/cdrtools )
|
||||
java? ( virtual/jdk )
|
||||
llvm? ( sys-devel/llvm )
|
||||
mono? ( dev-lang/mono )
|
||||
opendocument? ( app-text/odt2txt )
|
||||
pascal? ( dev-lang/fpc )
|
||||
pdf? (
|
||||
app-text/pdftk
|
||||
app-text/poppler
|
||||
dev-python/PyPDF2[${PYTHON_USEDEP}]
|
||||
)
|
||||
postscript? ( app-text/ghostscript-gpl )
|
||||
R? ( dev-lang/R )
|
||||
rpm? ( app-arch/rpm )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
squashfs? ( sys-fs/squashfs-tools )
|
||||
ssh? ( net-misc/openssh )
|
||||
tar? ( app-arch/tar )
|
||||
tcpdump? ( net-analyzer/tcpdump )
|
||||
xz? ( app-arch/xz-utils )
|
||||
zip? ( app-arch/unzip )
|
||||
zstd? ( app-arch/zstd )
|
||||
"
|
||||
# Presence if filemagic's magic.py breaks imports
|
||||
# of dev-python/python-magic: https://bugs.gentoo.org/716482
|
||||
RDEPEND+=" !dev-python/filemagic"
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit user systemd
|
||||
|
||||
DESCRIPTION="Extensible continuous integration server"
|
||||
HOMEPAGE="https://jenkins.io/"
|
||||
LICENSE="MIT"
|
||||
SRC_URI="http://mirrors.jenkins-ci.org/war/${PV}/${PN/-bin/}.war -> ${P}.war"
|
||||
RESTRICT="mirror"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="media-fonts/dejavu
|
||||
media-libs/freetype
|
||||
!dev-util/jenkins-bin:lts
|
||||
>=virtual/jre-1.8.0"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
JENKINS_DIR=/var/lib/jenkins
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup jenkins
|
||||
enewuser jenkins -1 -1 ${JENKINS_DIR} jenkins
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /var/log/jenkins ${JENKINS_DIR}/backup ${JENKINS_DIR}/home
|
||||
|
||||
insinto /opt/jenkins
|
||||
newins "${DISTDIR}"/${P}.war ${PN/-bin/}.war
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/${PN}-r1.logrotate ${PN/-bin/}
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}.init2 jenkins
|
||||
newconfd "${FILESDIR}"/${PN}.confd jenkins
|
||||
|
||||
systemd_newunit "${FILESDIR}"/${PN}.service2 jenkins.service
|
||||
|
||||
fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup
|
||||
}
|
@ -0,0 +1,100 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
inherit cmake llvm llvm.org python-single-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="The LLVM debugger"
|
||||
HOMEPAGE="https://llvm.org/"
|
||||
|
||||
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="libedit lzma ncurses +python test"
|
||||
REQUIRED_USE=${PYTHON_REQUIRED_USE}
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
libedit? ( dev-libs/libedit:0= )
|
||||
lzma? ( app-arch/xz-utils:= )
|
||||
ncurses? ( >=sys-libs/ncurses-5.9-r3:0= )
|
||||
python? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
')
|
||||
${PYTHON_DEPS}
|
||||
)
|
||||
~sys-devel/clang-${PV}[xml]
|
||||
~sys-devel/llvm-${PV}
|
||||
!<sys-devel/llvm-4.0"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
>=dev-util/cmake-3.16
|
||||
python? ( >=dev-lang/swig-3.0.11 )
|
||||
test? (
|
||||
$(python_gen_cond_dep "
|
||||
~dev-python/lit-${PV}[\${PYTHON_USEDEP}]
|
||||
dev-python/psutil[\${PYTHON_USEDEP}]
|
||||
")
|
||||
sys-devel/lld
|
||||
)
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
LLVM_COMPONENTS=( lldb )
|
||||
LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support llvm/utils/unittest )
|
||||
llvm.org_set_globals
|
||||
|
||||
pkg_setup() {
|
||||
LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DLLDB_ENABLE_CURSES=$(usex ncurses)
|
||||
-DLLDB_ENABLE_LIBEDIT=$(usex libedit)
|
||||
-DLLDB_ENABLE_PYTHON=$(usex python)
|
||||
-DLLDB_ENABLE_LZMA=$(usex lzma)
|
||||
-DLLDB_USE_SYSTEM_SIX=1
|
||||
-DLLVM_ENABLE_TERMINFO=$(usex ncurses)
|
||||
|
||||
-DLLDB_INCLUDE_TESTS=$(usex test)
|
||||
|
||||
-DCLANG_LINK_CLANG_DYLIB=ON
|
||||
# TODO: fix upstream to detect this properly
|
||||
-DHAVE_LIBDL=ON
|
||||
-DHAVE_LIBPTHREAD=ON
|
||||
|
||||
# normally we'd have to set LLVM_ENABLE_TERMINFO, HAVE_TERMINFO
|
||||
# and TERMINFO_LIBS... so just force FindCurses.cmake to use
|
||||
# ncurses with complete library set (including autodetection
|
||||
# of -ltinfo)
|
||||
-DCURSES_NEED_NCURSES=ON
|
||||
|
||||
-DPython3_EXECUTABLE="${PYTHON}"
|
||||
)
|
||||
use test && mycmakeargs+=(
|
||||
-DLLVM_BUILD_TESTS=$(usex test)
|
||||
-DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm"
|
||||
-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
|
||||
-DLLVM_LIT_ARGS="$(get_lit_flags)"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local -x LIT_PRESERVES_TMP=1
|
||||
cmake_build check-lldb-lit
|
||||
# failures + hangs
|
||||
#use python && cmake_build check-lldb
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
find "${D}" -name '*.a' -delete || die
|
||||
|
||||
use python && python_optimize
|
||||
}
|
@ -0,0 +1,100 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
inherit cmake llvm llvm.org python-single-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="The LLVM debugger"
|
||||
HOMEPAGE="https://llvm.org/"
|
||||
|
||||
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="libedit lzma ncurses +python test"
|
||||
REQUIRED_USE=${PYTHON_REQUIRED_USE}
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
libedit? ( dev-libs/libedit:0= )
|
||||
lzma? ( app-arch/xz-utils:= )
|
||||
ncurses? ( >=sys-libs/ncurses-5.9-r3:0= )
|
||||
python? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
')
|
||||
${PYTHON_DEPS}
|
||||
)
|
||||
~sys-devel/clang-${PV}[xml]
|
||||
~sys-devel/llvm-${PV}
|
||||
!<sys-devel/llvm-4.0"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
>=dev-util/cmake-3.16
|
||||
python? ( >=dev-lang/swig-3.0.11 )
|
||||
test? (
|
||||
$(python_gen_cond_dep "
|
||||
~dev-python/lit-${PV}[\${PYTHON_USEDEP}]
|
||||
dev-python/psutil[\${PYTHON_USEDEP}]
|
||||
")
|
||||
sys-devel/lld
|
||||
)
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
LLVM_COMPONENTS=( lldb )
|
||||
LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support llvm/utils/unittest )
|
||||
llvm.org_set_globals
|
||||
|
||||
pkg_setup() {
|
||||
LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DLLDB_ENABLE_CURSES=$(usex ncurses)
|
||||
-DLLDB_ENABLE_LIBEDIT=$(usex libedit)
|
||||
-DLLDB_ENABLE_PYTHON=$(usex python)
|
||||
-DLLDB_ENABLE_LZMA=$(usex lzma)
|
||||
-DLLDB_USE_SYSTEM_SIX=1
|
||||
-DLLVM_ENABLE_TERMINFO=$(usex ncurses)
|
||||
|
||||
-DLLDB_INCLUDE_TESTS=$(usex test)
|
||||
|
||||
-DCLANG_LINK_CLANG_DYLIB=ON
|
||||
# TODO: fix upstream to detect this properly
|
||||
-DHAVE_LIBDL=ON
|
||||
-DHAVE_LIBPTHREAD=ON
|
||||
|
||||
# normally we'd have to set LLVM_ENABLE_TERMINFO, HAVE_TERMINFO
|
||||
# and TERMINFO_LIBS... so just force FindCurses.cmake to use
|
||||
# ncurses with complete library set (including autodetection
|
||||
# of -ltinfo)
|
||||
-DCURSES_NEED_NCURSES=ON
|
||||
|
||||
-DPython3_EXECUTABLE="${PYTHON}"
|
||||
)
|
||||
use test && mycmakeargs+=(
|
||||
-DLLVM_BUILD_TESTS=$(usex test)
|
||||
-DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm"
|
||||
-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
|
||||
-DLLVM_LIT_ARGS="$(get_lit_flags)"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local -x LIT_PRESERVES_TMP=1
|
||||
cmake_build check-lldb-lit
|
||||
# failures + hangs
|
||||
#use python && cmake_build check-lldb
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
find "${D}" -name '*.a' -delete || die
|
||||
|
||||
use python && python_optimize
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
DIST pkgcheck-0.7.7.tar.gz 236359 BLAKE2B 46628e6fe1ab711773209785f3160ad5521f7173a676363a44102bd26b443eafe4f88829d9a6c9cf10538ebfa7ca8b28cb8c27f9719f98217ff626d1b5a9a0b3 SHA512 ac88a3aa689983bfac0efa85240e3a02c822a075095ff9940fac0cdc188428126e7612807e57a7582f21fcf1d668dba29d4785d062d757f6444fa024d0437751
|
||||
DIST pkgcheck-0.7.9.tar.gz 275854 BLAKE2B 4a98d801fc4e628f6b116fa6d05a5e31bf259f7774fc724c5ca497ea29c5e475a4679fdc4d5c2256de307af740c7bdb95a1d10e30adba94e8336a1e8a3657838 SHA512 1af7d90dcc1c13882f946f470746f7d03638762ed12d97094977c05eb11208f00a19d3a8789ce074efcc91e15258ac784027018016487213ae17e91ed6916630
|
||||
EBUILD pkgcheck-0.7.7.ebuild 1414 BLAKE2B 01638e4375ff92e362b168ffae6c79b3f736232701e0b391458eea12060d8445190781f7d81bf0db6506f7d4cc7ee2f64276184d01cab4eeda2c26ccb0c8a981 SHA512 fd0c558a38cac10ed4c8a9ebd63df097d48d41bac5f52a7aa94d9e48685cc1c0f9d76922f1cc2bc386824ca182131c6957c4aac4d98882e32700e101412e1908
|
||||
EBUILD pkgcheck-0.7.9.ebuild 1421 BLAKE2B fe4c9582207726a3e3a5164009c98a28a5ad4145cd2886df2fa0e4b43c7fcbe83afa00b120e8129a82148c8ea805141ba2321202c0d10ecf84fe7d6900c21a5d SHA512 d2736619a9b30762f282e7d5cfeebd3548c4411cb95cf562ac31907e9b5411b9ef9b69718126bad90eee0fae24ce71bdf702085141e0c15c948a4168be0bb88a
|
||||
EBUILD pkgcheck-9999.ebuild 1468 BLAKE2B e86c456ffd7e7ad84e3d50f2a01236e32c0d561899a3bf92dc68dbb602aa33f75aaba166ea31ce9b5466102523940dee727104294f2d7e1c2e9b883b28397e1f SHA512 dabe7b1a9a7e77fa920c25585a9c387abb3fe05a637c1360eccbdfe589b879e18b1e84fb5ff29be4f83b77a624fb772e019ed252a531052194eca55a93ac1e7c
|
||||
EBUILD pkgcheck-0.7.7-r1.ebuild 1439 BLAKE2B 119d16039b070ce4c7ce4d52fac350e51a3e1cb13f96bf50a0dd59786bc097ff508a5ef08b637f599a050d21b8d4bb82f1fd17735d3a722d140d074d73886a48 SHA512 80580afd199abc27974b9e46e433d521a2e49a92fbdf482afa88992a94693e49ae02c592e91dfcbe6a270591b88089bbee667fad38209d2f73151ace488bd30d
|
||||
EBUILD pkgcheck-0.7.9-r1.ebuild 1446 BLAKE2B b7d1fcc843cb5af9b6413e17eeaa7c40167ec21ee2cddc54ba5806f11722562c0342ec7c3d20fa94764eab618c85ef4aee9d5f6eb956338a603be2176df80fd0 SHA512 9146d5ab33160c5619ee17719b1c45688b5e62459fcc6abca8f2a069c2b5c576393b707fa975c1eb081b8dafb1a3a6a488a37b0c4a9a282ce681a38785d601aa
|
||||
EBUILD pkgcheck-9999.ebuild 1376 BLAKE2B 9f9f2cd48f1d064df36e52edc07ad5190a58247b8a06731bae12dfa1070a650a5d292443d54cc3dbfe5e5d9a8af58615c64ec45838e7af08d8cad4b942134707 SHA512 5c9accc1bbd4a46b075ef3bc3ff9f6128f1bc2495e34463c09ac3176a1b0d841d8fd79c97488b34aac366d6d0618120d2d7cf1f41866a604e0e68bb12cce4b58
|
||||
MISC metadata.xml 328 BLAKE2B b84dba717460e84f7ee3163fd8d6a5f13eb3b15dd1bb749f6ece81f062e3530988dacefadb24c1395eb36593a7ab6d868b06c8c4ee8f620a17c85faf04283b24 SHA512 5696505214a737ad495b23bfac2a51fbbc5b1e815eb6fcbabb3c6674325f05e3f6f418de05257c08935e389e47879e8a2d1b3723ec86aeb5ad97c6110fd2ec75
|
||||
|
@ -1,8 +1,6 @@
|
||||
DIST radare2-4.5.1.tar.gz 8266567 BLAKE2B 0d23c1d47dd79ffd9398ca7b2c8b383ba6a7e3ec662046d1111ab34cabcdaaf1fdd449686433b3229e3c22c31c705530b0a85bbd22b5fc79891a5ad292ba0ff1 SHA512 f08a4cd1e0d65643463d9f9dbb1aacfe793c7b411ec820a18b75a5975d265cfc2cf91e593522c8823aa369098ded21415939acb07c84d8acd102889bf5aed899
|
||||
DIST radare2-5.0.0.tar.gz 7897849 BLAKE2B be785b693e9de7264f21b857291286849e054e807d87b4c56a6177a132f9fa141c25661f9d28ea10b61fd298161693794f2ee70279cfd076a2b1a98c563dd2a9 SHA512 059bc341bc34c5f39ef7493af9e2d3b7e52667a2d16f12ef19c9c6ba83c911fd02e07cd527599caea503d5e81a5fedbd8ff343db4d41257e0f48ace9dd52f3ba
|
||||
DIST radare2-5.1.0.tar.gz 7908690 BLAKE2B 4757eb0f729d6fa0de9bdf41b697c2ba722f8a2815e4ddb267ee1e68d50530596eaf549a7b062fd798aede214f982e309693f27df4f26257968559d35afe3076 SHA512 f973aeeb4d3a1e9eaf889a14bba4d54568dc2527d1160c7d999a7b2c870270cec7dc11a0eed12ae8f1d0aeacf63f14a92c7ca99f44e38573a6ce2276a08180f1
|
||||
EBUILD radare2-4.5.1-r1.ebuild 1700 BLAKE2B 71ba7c3ec35e8555ae9125e89c9b2b2b97bc6206d591b54ccb79151c195854cfc97b36725ee521cdd431d80214537dbd9c5b04cd418c7da7f222d1f11c744cda SHA512 2658993539d9e2631b83a6e6a52a1d363598f50656e254e21434c76b14e31b79da7c43388e72f77cd7010462982789251da93c02120f969c314dc4bb880b1705
|
||||
EBUILD radare2-5.0.0.ebuild 1700 BLAKE2B 71ba7c3ec35e8555ae9125e89c9b2b2b97bc6206d591b54ccb79151c195854cfc97b36725ee521cdd431d80214537dbd9c5b04cd418c7da7f222d1f11c744cda SHA512 2658993539d9e2631b83a6e6a52a1d363598f50656e254e21434c76b14e31b79da7c43388e72f77cd7010462982789251da93c02120f969c314dc4bb880b1705
|
||||
EBUILD radare2-5.1.0.ebuild 1700 BLAKE2B d66644f48b043f437e1161b57bd40f97d5be9bdc29a6df60fc631ec781461f1e7ba67aefe2c4100e6641beb947d06c79dcdf586c4613d88fb6c4d987b7b35353 SHA512 9084fb753207d024beaca63143781b7f9dc73043845118a2eb86e6230bd5394964c8638bb657fb463ea3fc01ed28270cb325d1bccda49c29a3164a73c908ba7d
|
||||
EBUILD radare2-9999.ebuild 1700 BLAKE2B 71ba7c3ec35e8555ae9125e89c9b2b2b97bc6206d591b54ccb79151c195854cfc97b36725ee521cdd431d80214537dbd9c5b04cd418c7da7f222d1f11c744cda SHA512 2658993539d9e2631b83a6e6a52a1d363598f50656e254e21434c76b14e31b79da7c43388e72f77cd7010462982789251da93c02120f969c314dc4bb880b1705
|
||||
MISC metadata.xml 361 BLAKE2B f92dfa8905623cd3a34f0b61766ae071d09801460b8b2a13bf4c3bb0a4715446b61b79309101b032511851f9d7a15973bca97ce9d1ed667266e2d6a3485933a2 SHA512 fb01d7b5abd1966cf270227640d1e4197a09930afb6f03e18bf4f79ba74e73fd86782b99efbb710b697315c25b63e575ec6120fb1cedaa19d4562831f41f81a4
|
||||
|
@ -1,78 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit bash-completion-r1 eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="unix-like reverse engineering framework and commandline tools"
|
||||
HOMEPAGE="http://www.radare.org"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/radareorg/radare2"
|
||||
else
|
||||
SRC_URI="https://github.com/radareorg/radare2/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="ssl libressl"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libzip
|
||||
dev-libs/xxhash
|
||||
sys-apps/file
|
||||
sys-libs/zlib
|
||||
dev-libs/capstone:0=
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
# Fix hardcoded docdir for fortunes
|
||||
sed -i -e "/^#define R2_FORTUNES/s/radare2/$PF/" \
|
||||
libr/include/r_userconf.h.acr
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Ideally these should be set by ./configure
|
||||
tc-export CC AR LD OBJCOPY RANLIB
|
||||
export HOST_CC=${CC}
|
||||
|
||||
econf \
|
||||
--without-libuv \
|
||||
--with-syscapstone \
|
||||
--with-sysmagic \
|
||||
--with-sysxxhash \
|
||||
--with-syszip \
|
||||
$(use_with ssl openssl)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins doc/zsh/_*
|
||||
|
||||
newbashcomp doc/bash_autocompletion.sh "${PN}"
|
||||
bashcomp_alias "${PN}" rafind2 r2 rabin2 rasm2 radiff2
|
||||
|
||||
# a workaround for unstable $(INSTALL) call, bug #574866
|
||||
local d
|
||||
for d in doc/*; do
|
||||
if [[ -d $d ]]; then
|
||||
rm -rfv "$d" || die "failed to delete '$d'"
|
||||
fi
|
||||
done
|
||||
|
||||
# These are not really docs. radare assumes
|
||||
# uncompressed files: bug #761250
|
||||
docompress -x /usr/share/doc/${PF}/fortunes.{creepy,fun,nsfw,tips}
|
||||
}
|
@ -1,6 +1,4 @@
|
||||
DIST crystal-molinillo-0.1.0.tar.gz 23932 BLAKE2B c9bcd707a3208f5d80e6e3030523d50f86cb5977799de8ea6035d014094e3c2fff9bb189fa98f566e72e1e7ad161e47e44c89d9b264d47f109b2e891ecb469e5 SHA512 8d74d95896cd7ff510c87e2ffba6ae5f04ceeddde574930ee609851312b65d713a315cc24f9aa3fab02f9447ccb25ef2dd2e8179640b8c5cfb3d7d6b52d1ded5
|
||||
DIST shards-0.12.0.tar.gz 52205 BLAKE2B 6aed0be06f1f7e336861705fc0e29fbc3a97336f37d3a1eef09d3ea2ebaf2e61f1e5594f893974a6c13114ee575a69cf6a71fce0cc5f8985b8c365392735e8ca SHA512 3dfdf09be8701e568614923ffd5be90c63bdefc06f310c35b1b38e4b92f8bc1f432398656c08cadd36be52491f2ae8fda3c9b4117dbc4d53dbc8068b78300468
|
||||
DIST shards-0.13.0.tar.gz 55407 BLAKE2B 430abf54b5b035e966112a5b300a8924e0d6c6c4866e4cefba816c1b901876210990678a2d9b0c6bbc9da095decc217b64da32da61a5501e6045dfe64e10bfdf SHA512 7b5540b009f23cfc9630b206884a81c80a63991f64e84eed29545fef0e6a888e3854c6b0c8d958d4af3d6cef4718d7cb08d7948dcd2c9629c82b552776500b2b
|
||||
EBUILD shards-0.12.0-r1.ebuild 1054 BLAKE2B 0915ae7c2dac36c73051551c3def48c4acb1eccc0c6243f16591f6b7a8acd76691ad6ad7a5a2e2c114dd69450ad3c3f88e6181b3d2d49e2e0c6e12058cea4834 SHA512 446706165bc7dda679c93423feb5868a3d5ed661a0783d6a4cc12e8d87bb56535d100a23f95004177d206e8cb146dfba11656d8dd0ed73dbfa5111ea9856c5ec
|
||||
EBUILD shards-0.13.0.ebuild 1054 BLAKE2B a0df5a35bc945b59d7200469f771309a1bd046b21ba684c6b61955fe10b84e1df6eb36ba96366164591a328e6a82b0678af26e18d7f0ff4381a0d57b140cc087 SHA512 734b4b5bff2e1c8c7a2de794a14812f2d5887db86c8461c235e83996b66b721736f8517522661bd083f0b01fc6081216ca875895a45c66fa9d2705c3331c495a
|
||||
MISC metadata.xml 334 BLAKE2B 9958fd270de05b67ac94b791633635bd62770ad0ebe44630e43c26933d2059d042bc00997a8b5b8983c0e839a8adaf238359a17285e4bf8321f082077baaabbc SHA512 8010e36b15550ce7e599e30f1716b3df9d17f464f01cad097e829f3ec97624578f9bb7e24f832e14c67b4cdd5c8d25c998282e39ea0341e81baff39c1bcae658
|
||||
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multiprocessing toolchain-funcs
|
||||
|
||||
CRYSTAL_MOLINILLO_PV=0.1.0
|
||||
CRYSTAL_MOLINILLO_P=crystal-molinillo-${CRYSTAL_MOLINILLO_PV}
|
||||
|
||||
DESCRIPTION="Dependency manager for the Crystal language"
|
||||
HOMEPAGE="https://github.com/crystal-lang/shards"
|
||||
SRC_URI="
|
||||
https://github.com/crystal-lang/shards/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/crystal-lang/crystal-molinillo/archive/v${CRYSTAL_MOLINILLO_PV}.tar.gz -> ${CRYSTAL_MOLINILLO_P}.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
>dev-lang/crystal-0.11.1[yaml]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RESTRICT=test # missing files in tarball
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# bundle crystal-molinillo to bootstrap 'shards'
|
||||
mkdir -p lib || die
|
||||
ln -s ../../${CRYSTAL_MOLINILLO_P} lib/molinillo || die
|
||||
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake release=1 FLAGS="--link-flags=\"${LDFLAGS}\" --verbose --threads $(makeopts_jobs)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/${PN}
|
||||
dodoc README.md
|
||||
}
|
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
DIST git-lfs-2.11.0.tar.gz 2839623 BLAKE2B e9d0e8ea37f19617a4f727abdc93c3c937052ad98b6ac40de27ced6b250789701797d04f1bf795b259e83155e5d8a1ca122dbf8b40503c2c41d6d891a3ecf096 SHA512 2117b425864a36f773c14d34c78999636d836646184cf8d89045ef6de90cbded873d4de4613ecfafb0fa2ea8ae068e11f5ae22eed6af01715b5fac9be70f033b
|
||||
DIST git-lfs-2.12.1.tar.gz 2848245 BLAKE2B 745a1ad252b925074a9ddfd9f899098dfca0b672b176178675652d910737f76c2c55aa502d0a544ad36a7eee00a464e12b9bb178ccd1fb118c2a96b362de80d1 SHA512 728bf414910a9a9106ea6769b939aae9ec25976e686399d0612e8ff99131a6571641b4121cb123ad6c32fc6dd59674ca50416a48e4771924b27062326df78ce0
|
||||
DIST git-lfs-2.13.1.tar.gz 2526962 BLAKE2B 3f3af1c0f976a17c108159fff15a065600f32af2a31d459fcd4b9e64d8e77aa8569aa81c932f38713ff6bafdb636aae464a2044f2664d124ca7de0a7157da969 SHA512 48397ed0ae976544c80df59df1991b0f35606d0a3ed9eb0aef66857e5bf2974e8ad5677be98b53433628d26f9e5135e9f28b15c8789cc6a4ed091946b79e6fce
|
||||
EBUILD git-lfs-2.11.0.ebuild 1392 BLAKE2B d6e33aa99c265dd3e2fd889c5bd9a70b751e15cc9757343e1e1bd7bec432e8015611e7b3009d1cd291eaa6b69e0a6fb7581d50f744f1a164d52936095ee5c03d SHA512 497ae5f9fa85cc412cb1708f13e75acaafc4087c5243aee8bdc9ff4567756cd60602cda6092ea1f98fe560a7ae9a6a05f69ffbb862136d2782b2850d8512ad15
|
||||
EBUILD git-lfs-2.12.1.ebuild 1533 BLAKE2B e946cc14e7954b40e712bc8afeafbd5227f37aa5f2b6b9c1bf966845b914a81212ded0a6d2158ce770f207fc5fcd39280a13cd1a809c2414e2c854bcbb83fd3d SHA512 2a196f4170676e72faadfcb489e4e152a4cdc28ba4bb21c38b2c11f91731d7136f32a511b5abecc32b37d3adbca04ed0c32991232f9d23503363f806bb19f8c7
|
||||
EBUILD git-lfs-9999.ebuild 1533 BLAKE2B e946cc14e7954b40e712bc8afeafbd5227f37aa5f2b6b9c1bf966845b914a81212ded0a6d2158ce770f207fc5fcd39280a13cd1a809c2414e2c854bcbb83fd3d SHA512 2a196f4170676e72faadfcb489e4e152a4cdc28ba4bb21c38b2c11f91731d7136f32a511b5abecc32b37d3adbca04ed0c32991232f9d23503363f806bb19f8c7
|
||||
EBUILD git-lfs-2.13.1.ebuild 1574 BLAKE2B a4115ded4f732b9a9e4d2c16ce0ccb75ee553ff311433aaa56e9a4f799b6a69db0360526dbb1b610805063b756a4de3f717db6a7b0025da41033684dc13aca72 SHA512 7ccef2d1bedb5bff04bc8cb73d3f8c797790173278d6bcccacb82e2072b6203859114d7525990dbb897a30281c44642ef626d321e1d28a893806a5adc7a97e69
|
||||
EBUILD git-lfs-9999.ebuild 1574 BLAKE2B a4115ded4f732b9a9e4d2c16ce0ccb75ee553ff311433aaa56e9a4f799b6a69db0360526dbb1b610805063b756a4de3f717db6a7b0025da41033684dc13aca72 SHA512 7ccef2d1bedb5bff04bc8cb73d3f8c797790173278d6bcccacb82e2072b6203859114d7525990dbb897a30281c44642ef626d321e1d28a893806a5adc7a97e69
|
||||
MISC metadata.xml 558 BLAKE2B 307387b4326dd3982b949f3dc06f69efa31fcd70cbb03b1c68a5557965fdc14bb32f638a644c951ec06bf979baf8046228bf0820c9dac96a3d984c3cec3b32eb SHA512 8ae42faa56a37e9ebbd3c6fba90e4e87b44f8022ffb2bc3fb2eb7128c5bf7c34497c7a13c73252db5b5096135ed153a61c74382a54870c32c36eba7af23f7cbe
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST img2pdf-0.3.6.tar.gz 91006 BLAKE2B ad89b42be4613c30383770f336b07773bf13e87061fca61eb7d5e25d6489662fc2bae94d9a6d61d531a77f41b9e94492d0db1f32570f6d471fa9f8cb0816630d SHA512 2a9d31b9de52123941fd650123a483f4dc0757edda304da994353b5f3167bddbb25fa1ed8fededcf859c5d07b65b9c2d5185000949002a68dcae1e7bf0f1547d
|
||||
DIST img2pdf-0.4.0.tar.gz 107027 BLAKE2B 0bf13e2d4a5aff68779130bc14100a5c6d1ac4eaca9da28ceb50104550b6e4331f6a2202514bcdac0480c0148794d18e9f2dd46ded68bbaa301a207460f91c85 SHA512 bab9ee6ef5273a686cb10e52bdeb62b6df3c0da99d0f0558677e07dc7ad776c2d62829a2f5e9c5639acfb9fc6e9c5e3a81aed42dc288c2a39d245775f1d4391b
|
||||
EBUILD img2pdf-0.3.6.ebuild 563 BLAKE2B 37031fdbc0276e3e64bb865377a717334892f926a1bf97ef320b0bf8b7b894e8a3a1a86c7b90ab30e11683712ea10a0ba545dfb2b2dff67f5f78c1852518a14f SHA512 c4f94db0ce5e98bcdb0eab1b72eb4b04c3a8061f5cf82bcb8520b5eeef8a2d98dc98a81420e73b5323688d036fc00471d20c5897532c1bca54d34f416ef12471
|
||||
EBUILD img2pdf-0.4.0.ebuild 1229 BLAKE2B b11202968dfce6f9c1aceecf4b4c1befdafdfc464e059ba1f3cee9798c671028bab6554587065d3a4bae8c3a676cd6ff209a2640967fadece11a6f8dd2dc33df SHA512 97e9c28fd8f0d91058233958f239286990347c4e6b88678821a6b48519fd3ffd7f622e4bed892920dd5a4ace5748262f4454fa24f5386703156f1210ca4e6169
|
||||
MISC metadata.xml 1120 BLAKE2B df864ac9c560f0e55a889701014713ecc210b15b094ad729b94bfbe29fcadbf6d31f37d4b2761a538fa6e4a9617a0b030f487b2e2d5c3b347d834a2c287f07ec SHA512 825a15bf571a32a1b458a4d731fdc578ac024f8a067ff61e9cdd85066fcae5f92bb48a3fcb4bf0e78c5b01f5d4550b6a3b7bd6c1951f7e7264fb4c8078c216e2
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Losslessly convert raster images to PDF"
|
||||
HOMEPAGE="https://gitlab.mister-muffin.de/josch/img2pdf"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="gui"
|
||||
|
||||
# missing dev-python/pdfrw dependency and
|
||||
# require old version of imagemagick
|
||||
# waiting new version
|
||||
RESTRICT="test"
|
||||
|
||||
#BDEPEND="test? (
|
||||
# dev-python/numpy[${PYTHON_USEDEP}]
|
||||
# dev-python/pdfrw[${PYTHON_USEDEP}]
|
||||
# dev-python/pikepdf[${PYTHON_USEDEP}]
|
||||
# dev-python/pytest[${PYTHON_USEDEP}]
|
||||
# dev-python/scipy[${PYTHON_USEDEP}]
|
||||
# <media-gfx/imagemagick-7.0.0[jpeg,jpeg2k,png,q8,q32,tiff]
|
||||
#)"
|
||||
RDEPEND="dev-python/pikepdf[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
gui? ( $(python_gen_impl_dep tk) )"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_python_prepare_all
|
||||
|
||||
# Remove gui executable if there's no demand/support for it.
|
||||
if ! use gui; then
|
||||
sed -i '/gui_scripts/d' setup.py || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
pytest -vv src/img2pdf_test.py || die "Tests fail with ${EPYTHON}"
|
||||
}
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST libkeyfinder-2.2.3.tar.gz 117373 BLAKE2B a6d3ff64f26e0842c95dea125ae86f3c642db101fe934bf0a54a3586276cea1f2ee427e480e4f375067b80b2c9d9623f9276110371cc91c8b8d9319c92fd91d3 SHA512 7617bb7305854790e2d5fba5e401387612cad4fa61e9209a6af45301ee8dcc990c116e478c70a5d845d12fc6dfaf63362dca608f4774640bc6c29459ca192f45
|
||||
DIST libkeyfinder-2.2.4.tar.gz 79053 BLAKE2B 4d30931451625b00e1ecc2bfb6349497887ab805b5a986e05dbc51fb007a2aededcefbf9fc18c1beb7a7bc4e368c763a658979b5c5c6f7e91f4a21797ad414d7 SHA512 6673b9a81dbfa3693fc4e7af4e5fc0f351f0c60b00fdafeb9e3437e2f77b5fec7d1e78e3989ff1daca72770a1d3cdbe3837508718b8e8aba3ac3f3d56af81a56
|
||||
EBUILD libkeyfinder-2.2.3.ebuild 653 BLAKE2B caca1cae9f0e66b72a8934fc05c52e448f274c8e0bd07534b1b107d9bb33326d6326c341bf31de5004c3bf15e53e552ffa25939122299d8399db0c08bc6612a5 SHA512 2788c76a06485cedbfa5eb72ef84a22538c47d330c4c353b9470c73dc9bcb95258b091630508e0cef81ab125551464b262c62a3db72e559335b9d2bde0f4eac2
|
||||
EBUILD libkeyfinder-2.2.4.ebuild 626 BLAKE2B 8e8ccfefe5732c82eec1b155ebdb52ab05dea92dca7bbd2b5a54edc463cbdc0f808beabc133412536d646b1e2957ba1b5e705aff1043309bcb27a53d5e5829b5 SHA512 5384f945acb1f6323faad9e043c911e737c1d00542a901bcf12ce73a87a8714e3a26f79c28e0a40f63b2debc63bb71021e2e57d2fc8d9bddf2b0afa787192d88
|
||||
MISC metadata.xml 259 BLAKE2B 91d2cc7f9ffec656984dd18988a2590a831985a51c93d540af04f796a82b49fedb3adbd5eae9c4c502aa8b4132252c0816589d47d7e8030d9e943dd852f3503d SHA512 1884a7f7d50806bd4addad63ca916f7e27388c953e6345e15fe20d500c217f5f0fcc05fcfa6e20220c28a870801f5e8aab538f5c7f8f211d27de27c98abdb600
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue