parent
263475e059
commit
424dc78b9d
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29281 BLAKE2B 5093d222af67d077596b96729c24182d282cdaea794e25cc9cff92c124622288def32776af51a4e7adbc031ef000145ef090b2e7b3d101dc188acf2f3cdcbb1f SHA512 8814885cafab386276ea839e3a891c9194b17dba734c5300ef1415c3fc637777e40af772c10796427d3ee6d0e6a8d3aee4594e33420b2cae645ec74ef0e5513c
|
||||
TIMESTAMP 2020-12-25T13:08:33Z
|
||||
MANIFEST Manifest.files.gz 29258 BLAKE2B c2bf21184d2bbd886e8e2db675c7445d2b1ee960ff0c389950776617235e8defc33a938e9c59294c3dc9bfd24e3f98de7794cfc03791b41a6c052d62656189dd SHA512 0a5463890e6ef2b58c239e8a55efa406753f58ef85f4fec7ff517de4b4d92a9b7f8a79e80b2af1bd89316c3f6ecbe2c2cf41dd8bf08583888dd1063120f49ea8
|
||||
TIMESTAMP 2020-12-26T19:38:32Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAl/l5FFfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAl/nkThfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klAryQ/+NjDedSLpV0JpQnp1eYjrLwxktXC1iW72xTm7HZ53wvHQ7lix9qvVTige
|
||||
kSe3A39xOGtFwFHXrAeDuzZq/ziK2r2q6Dbdzx5dlGEAymxkt3878xg0SRy3FNiq
|
||||
2u5uKa2pNHN/EOCSgh9IHZiuFhFCTSM/zwIkjqah+ov7QiTToD88J0I0Legxxz/R
|
||||
1oI8u98cuuz6r9SshN1TWUyk+2iZI7qrEuY7fe/7+fsraSYjQWL0vPqZdnlsHx3t
|
||||
hzm8TxDkfiraE4BZIce80P+yySvms0rdg6XaolQfvdaOixDwPazBxN26F1JlPWOp
|
||||
u0iHWESKdHBdvmxuFQN8kzjUgy85RC4D8iTBSwErQUFfahezVnhnFksQbaH1tAzi
|
||||
k4oVdIw7g/T7hgy/owXHGAUb8U0/BW9dxHUX54ri7YCL2XzYmjgTU0v6RkPx0r1g
|
||||
shecZQm20k9mTqMdVVs5H29A+5gP9WXHQLltnuUrjAQ5kpZVQaFqNFQqYM6icxhZ
|
||||
16PcO1kWpNpDgnd7w5wz9r6wdYFvAQTAAvmCYMDow2aox4aDEmX5cCwVRqoXyuIS
|
||||
P3swL6XO+ZQFE44jpEaTVufnDlZ56pv7hDrjMtEEmFXxaILFOcxRHBPbn4EDzzL+
|
||||
QrMybX0Vbi7M18ZNKqKqxkNSCFfvFh2KMFQyMNOuje0QYfrfHck=
|
||||
=kndz
|
||||
klBBCg/+JVQwsDdXfkrBJhpek2+2EM7GvMRMbW9NypmhdbiLa1kg0BdJRIBbjtQ+
|
||||
lJPSEI+nNNMwTbjqu1z9TDZqNEpTOQBlVZOYhFr6ElS/TNzdZOGIBUzLlKPRefAk
|
||||
jskS5cPHcKp/y3VRuWNkie18ss8G71oz9slHEyVweetS9w0Aavxu4HuEBWxUAd3a
|
||||
kJL1UGwe9uQd21uQqVcIOzbCf5H5Ptdw5m7H0JLIrG+0i4XsywPXq91Wor9B7t1A
|
||||
clPOGcDxzQQXqI45GE8NrxLua1+6kZutLz2H7f7jpYpOAx4PritrB45mgYGLSEEd
|
||||
3++Gd4C3MF8oU/aAznJ4woySzsLNq2QPULSVPbq280p7pbpPqKoegBCVpz2hWST9
|
||||
sSmb8JYmP3WPdhZhNfdv89GdcRAYeV9SmXRi1BMVD+Q19K4/zTDn0dpugcA+ucLs
|
||||
18j74gnq5pVkUonkF/MhC1TWIERHJ13D84/Sjeqao3wLxvPmJPLmp/ZIewgPEpAk
|
||||
3u8srYaiQ2kOa59om0NIeTPN+8kHfG7Lg6x5me1ktZFj1Gc6z/ikk69v7O1B3YcU
|
||||
7m9STueoFQIgQlp4lvzbURr48NCc6iJLo7bhgQGlaGao7vwbnItkq+5hG+u68C68
|
||||
RaW6BfjL2z4ic1nZvtTcykRmFYMxPmjJeJH4W4IoEBktY0pTMz4=
|
||||
=GlxH
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,141 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit libtool multilib-minimal toolchain-funcs
|
||||
|
||||
DESCRIPTION="Multi-format archive and compression library"
|
||||
HOMEPAGE="https://www.libarchive.org/"
|
||||
SRC_URI="https://www.libarchive.org/downloads/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD BSD-2 BSD-4 public-domain"
|
||||
SLOT="0/13"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="acl blake2 +bzip2 +e2fsprogs expat +iconv kernel_linux libressl lz4 +lzma lzo nettle static-libs +threads xattr +zlib zstd"
|
||||
|
||||
RDEPEND="
|
||||
acl? ( virtual/acl[${MULTILIB_USEDEP}] )
|
||||
blake2? ( app-crypt/libb2[${MULTILIB_USEDEP}] )
|
||||
bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] )
|
||||
expat? ( dev-libs/expat[${MULTILIB_USEDEP}] )
|
||||
!expat? ( dev-libs/libxml2[${MULTILIB_USEDEP}] )
|
||||
iconv? ( virtual/libiconv[${MULTILIB_USEDEP}] )
|
||||
kernel_linux? (
|
||||
xattr? ( sys-apps/attr[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
!libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
|
||||
libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
|
||||
lz4? ( >=app-arch/lz4-0_p131:0=[${MULTILIB_USEDEP}] )
|
||||
lzma? ( app-arch/xz-utils[threads=,${MULTILIB_USEDEP}] )
|
||||
lzo? ( >=dev-libs/lzo-2[${MULTILIB_USEDEP}] )
|
||||
nettle? ( dev-libs/nettle:0=[${MULTILIB_USEDEP}] )
|
||||
zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )
|
||||
zstd? ( app-arch/zstd[${MULTILIB_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}
|
||||
kernel_linux? (
|
||||
virtual/os-headers
|
||||
e2fsprogs? ( sys-fs/e2fsprogs )
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.3.3-libressl.patch
|
||||
"${FILESDIR}"/${PN}-3.5.0-darwin-strnlen.patch # drop on next release
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
elibtoolize # is required for Solaris sol2_ld linker fix
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
export ac_cv_header_ext2fs_ext2_fs_h=$(usex e2fsprogs) #354923
|
||||
|
||||
local myconf=(
|
||||
$(use_enable acl)
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable xattr)
|
||||
$(use_with blake2 libb2)
|
||||
$(use_with bzip2 bz2lib)
|
||||
$(use_with expat)
|
||||
$(use_with !expat xml2)
|
||||
$(use_with iconv)
|
||||
$(use_with lz4)
|
||||
$(use_with lzma)
|
||||
$(use_with lzo lzo2)
|
||||
$(use_with nettle)
|
||||
$(use_with zlib)
|
||||
$(use_with zstd)
|
||||
|
||||
# Windows-specific
|
||||
--without-cng
|
||||
)
|
||||
if multilib_is_native_abi ; then
|
||||
myconf+=(
|
||||
--enable-bsdcat=$(tc-is-static-only && echo static || echo shared)
|
||||
--enable-bsdcpio=$(tc-is-static-only && echo static || echo shared)
|
||||
--enable-bsdtar=$(tc-is-static-only && echo static || echo shared)
|
||||
)
|
||||
else
|
||||
myconf+=(
|
||||
--disable-bsdcat
|
||||
--disable-bsdcpio
|
||||
--disable-bsdtar
|
||||
)
|
||||
fi
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
if multilib_is_native_abi ; then
|
||||
emake
|
||||
else
|
||||
emake libarchive.la
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
mkdir -p "${T}"/bin || die
|
||||
# tests fail when lbzip2[symlink] is used in place of ref bunzip2
|
||||
ln -s "${BROOT}/bin/bunzip2" "${T}"/bin || die
|
||||
local -x PATH=${T}/bin:${PATH}
|
||||
multilib-minimal_src_test
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
# sandbox is breaking long symlink behavior
|
||||
local -x SANDBOX_ON=0
|
||||
local -x LD_PRELOAD=
|
||||
emake check
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
if multilib_is_native_abi ; then
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
# Create symlinks for FreeBSD
|
||||
if ! use prefix && [[ ${CHOST} == *-freebsd* ]]; then
|
||||
# Exclude cat for the time being #589876
|
||||
for bin in cpio tar; do
|
||||
dosym bsd${bin} /usr/bin/${bin}
|
||||
echo '.so bsd${bin}.1' > "${T}"/${bin}.1
|
||||
doman "${T}"/${bin}.1
|
||||
done
|
||||
fi
|
||||
else
|
||||
local install_targets=(
|
||||
install-includeHEADERS
|
||||
install-libLTLIBRARIES
|
||||
install-pkgconfigDATA
|
||||
)
|
||||
emake DESTDIR="${D}" "${install_targets[@]}"
|
||||
fi
|
||||
|
||||
# Libs.private: should be used from libarchive.pc instead
|
||||
find "${ED}" -type f -name "*.la" -delete || die
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
cd "${S}" || die
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
@ -1,344 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||
|
||||
inherit meson bash-completion-r1 eutils linux-info python-any-r1 readme.gentoo-r1 systemd
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt.git"
|
||||
SRC_URI=""
|
||||
SLOT="0"
|
||||
else
|
||||
SRC_URI="https://libvirt.org/sources/${P}.tar.xz"
|
||||
KEYWORDS="amd64 ~arm64 ~ppc64 x86"
|
||||
SLOT="0/${PV}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||
HOMEPAGE="https://www.libvirt.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
IUSE="
|
||||
apparmor audit +caps +dbus dtrace firewalld fuse glusterfs iscsi
|
||||
iscsi-direct +libvirtd lvm libssh lxc +macvtap nfs nls numa openvz
|
||||
parted pcap policykit +qemu rbd sasl selinux +udev +vepa
|
||||
virtualbox +virt-network wireshark-plugins xen zfs
|
||||
"
|
||||
|
||||
REQUIRED_USE="
|
||||
firewalld? ( virt-network )
|
||||
libvirtd? ( || ( lxc openvz qemu virtualbox xen ) )
|
||||
lxc? ( caps libvirtd )
|
||||
openvz? ( libvirtd )
|
||||
policykit? ( dbus )
|
||||
qemu? ( libvirtd )
|
||||
vepa? ( macvtap )
|
||||
virt-network? ( libvirtd )
|
||||
virtualbox? ( libvirtd )
|
||||
xen? ( libvirtd )"
|
||||
|
||||
BDEPEND="
|
||||
acct-user/qemu
|
||||
policykit? ( acct-group/libvirt )
|
||||
app-text/xhtml1
|
||||
dev-lang/perl
|
||||
dev-libs/libxslt
|
||||
dev-perl/XML-XPath
|
||||
dev-python/docutils
|
||||
virtual/pkgconfig"
|
||||
|
||||
# gettext.sh command is used by the libvirt command wrappers, and it's
|
||||
# non-optional, so put it into RDEPEND.
|
||||
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
|
||||
# package will use 3 by default. Since we don't have slot pinning in an API,
|
||||
# we must go with the most recent
|
||||
RDEPEND="
|
||||
app-misc/scrub
|
||||
>=dev-libs/glib-2.48.0
|
||||
dev-libs/libgcrypt:0
|
||||
dev-libs/libnl:3
|
||||
>=dev-libs/libxml2-2.7.6
|
||||
>=net-analyzer/openbsd-netcat-1.105-r1
|
||||
>=net-libs/gnutls-1.0.25:0=
|
||||
net-libs/libssh2
|
||||
net-libs/libtirpc
|
||||
net-libs/rpcsvc-proto
|
||||
>=net-misc/curl-7.18.0
|
||||
sys-apps/dmidecode
|
||||
sys-devel/gettext
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/readline:=
|
||||
apparmor? ( sys-libs/libapparmor )
|
||||
audit? ( sys-process/audit )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
dbus? ( sys-apps/dbus )
|
||||
dtrace? ( dev-util/systemtap )
|
||||
firewalld? ( >=net-firewall/firewalld-0.6.3 )
|
||||
fuse? ( sys-fs/fuse:0= )
|
||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.1 )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
iscsi-direct? ( >=net-libs/libiscsi-1.18.0 )
|
||||
libssh? ( net-libs/libssh )
|
||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2[-device-mapper-only(-)] )
|
||||
nfs? ( net-fs/nfs-utils )
|
||||
numa? (
|
||||
>sys-process/numactl-2.0.2
|
||||
sys-process/numad
|
||||
)
|
||||
parted? (
|
||||
>=sys-block/parted-1.8[device-mapper]
|
||||
sys-fs/lvm2[-device-mapper-only(-)]
|
||||
)
|
||||
pcap? ( >=net-libs/libpcap-1.0.0 )
|
||||
policykit? ( >=sys-auth/polkit-0.9 )
|
||||
qemu? (
|
||||
>=app-emulation/qemu-1.5.0
|
||||
dev-libs/yajl
|
||||
)
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||
virt-network? (
|
||||
net-dns/dnsmasq[script]
|
||||
net-firewall/ebtables
|
||||
>=net-firewall/iptables-1.4.10[ipv6]
|
||||
net-misc/radvd
|
||||
sys-apps/iproute2[-minimal]
|
||||
)
|
||||
wireshark-plugins? ( net-analyzer/wireshark:= )
|
||||
xen? (
|
||||
>=app-emulation/xen-4.6.0
|
||||
app-emulation/xen-tools:=
|
||||
)
|
||||
udev? (
|
||||
virtual/libudev
|
||||
>=x11-libs/libpciaccess-0.10.9
|
||||
)
|
||||
zfs? ( sys-fs/zfs )"
|
||||
|
||||
DEPEND="${BDEPEND}
|
||||
${RDEPEND}
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.0.0-fix_paths_in_libvirt-guests_sh.patch
|
||||
"${FILESDIR}"/${PN}-6.7.0-do-not-use-sysconfig.patch
|
||||
"${FILESDIR}"/${PN}-6.7.0-doc-path.patch
|
||||
"${FILESDIR}"/${PN}-6.7.0-fix-paths-for-apparmor.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
# Check kernel configuration:
|
||||
CONFIG_CHECK=""
|
||||
use fuse && CONFIG_CHECK+="
|
||||
~FUSE_FS"
|
||||
|
||||
use lvm && CONFIG_CHECK+="
|
||||
~BLK_DEV_DM
|
||||
~DM_MULTIPATH
|
||||
~DM_SNAPSHOT"
|
||||
|
||||
use lxc && CONFIG_CHECK+="
|
||||
~BLK_CGROUP
|
||||
~CGROUP_CPUACCT
|
||||
~CGROUP_DEVICE
|
||||
~CGROUP_FREEZER
|
||||
~CGROUP_NET_PRIO
|
||||
~CGROUP_PERF
|
||||
~CGROUPS
|
||||
~CGROUP_SCHED
|
||||
~CPUSETS
|
||||
~IPC_NS
|
||||
~MACVLAN
|
||||
~NAMESPACES
|
||||
~NET_CLS_CGROUP
|
||||
~NET_NS
|
||||
~PID_NS
|
||||
~POSIX_MQUEUE
|
||||
~SECURITYFS
|
||||
~USER_NS
|
||||
~UTS_NS
|
||||
~VETH
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS"
|
||||
|
||||
kernel_is lt 4 7 && use lxc && CONFIG_CHECK+="
|
||||
~DEVPTS_MULTIPLE_INSTANCES"
|
||||
|
||||
use macvtap && CONFIG_CHECK+="
|
||||
~MACVTAP"
|
||||
|
||||
use virt-network && CONFIG_CHECK+="
|
||||
~BRIDGE_EBT_MARK_T
|
||||
~BRIDGE_NF_EBTABLES
|
||||
~NETFILTER_ADVANCED
|
||||
~NETFILTER_XT_CONNMARK
|
||||
~NETFILTER_XT_MARK
|
||||
~NETFILTER_XT_TARGET_CHECKSUM
|
||||
~IP_NF_FILTER
|
||||
~IP_NF_MANGLE
|
||||
~IP_NF_NAT
|
||||
~IP_NF_TARGET_MASQUERADE
|
||||
~IP6_NF_FILTER
|
||||
~IP6_NF_MANGLE
|
||||
~IP6_NF_NAT"
|
||||
# Bandwidth Limiting Support
|
||||
use virt-network && CONFIG_CHECK+="
|
||||
~BRIDGE_EBT_T_NAT
|
||||
~IP_NF_TARGET_REJECT
|
||||
~NET_ACT_POLICE
|
||||
~NET_CLS_FW
|
||||
~NET_CLS_U32
|
||||
~NET_SCH_HTB
|
||||
~NET_SCH_INGRESS
|
||||
~NET_SCH_SFQ"
|
||||
|
||||
# Handle specific kernel versions for different features
|
||||
kernel_is lt 3 6 && CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR"
|
||||
if kernel_is ge 3 6; then
|
||||
CONFIG_CHECK+=" ~MEMCG ~MEMCG_SWAP "
|
||||
kernel_is lt 4 5 && CONFIG_CHECK+=" ~MEMCG_KMEM "
|
||||
fi
|
||||
|
||||
ERROR_USER_NS="Optional depending on LXC configuration."
|
||||
|
||||
if [[ -n ${CONFIG_CHECK} ]]; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
touch "${S}/.mailmap" || die
|
||||
|
||||
default
|
||||
|
||||
# Tweak the init script:
|
||||
cp "${FILESDIR}/libvirtd.init-r19" "${S}/libvirtd.init" || die
|
||||
sed -e "s/USE_FLAG_FIREWALLD/$(usex firewalld 'need firewalld' '')/" \
|
||||
-i "${S}/libvirtd.init" || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_feature apparmor)
|
||||
$(meson_use apparmor apparmor_profiles)
|
||||
$(meson_feature audit)
|
||||
$(meson_feature caps capng)
|
||||
$(meson_feature dbus)
|
||||
$(meson_feature dtrace)
|
||||
$(meson_feature firewalld)
|
||||
$(meson_feature fuse)
|
||||
$(meson_feature glusterfs)
|
||||
$(meson_feature glusterfs storage_gluster)
|
||||
$(meson_feature iscsi storage_iscsi)
|
||||
$(meson_feature iscsi-direct storage_iscsi_direct)
|
||||
$(meson_feature libvirtd driver_libvirtd)
|
||||
$(meson_feature libssh)
|
||||
$(meson_feature lvm storage_lvm)
|
||||
$(meson_feature lvm storage_mpath)
|
||||
$(meson_feature lxc driver_lxc)
|
||||
$(meson_feature macvtap)
|
||||
$(meson_feature nls)
|
||||
$(meson_feature numa numactl)
|
||||
$(meson_feature numa numad)
|
||||
$(meson_feature openvz driver_openvz)
|
||||
$(meson_feature parted storage_disk)
|
||||
$(meson_feature pcap libpcap)
|
||||
$(meson_feature policykit polkit)
|
||||
$(meson_feature qemu driver_qemu)
|
||||
$(meson_feature qemu yajl)
|
||||
$(meson_feature rbd storage_rbd)
|
||||
$(meson_feature sasl)
|
||||
$(meson_feature selinux)
|
||||
$(meson_feature udev)
|
||||
$(meson_feature vepa virtualport)
|
||||
$(meson_feature virt-network driver_network)
|
||||
$(meson_feature virtualbox driver_vbox)
|
||||
$(meson_feature wireshark-plugins wireshark_dissector)
|
||||
$(meson_feature xen driver_libxl)
|
||||
$(meson_feature zfs storage_zfs)
|
||||
|
||||
-Dhal=disabled
|
||||
-Dnetcf=disabled
|
||||
-Dsanlock=disabled
|
||||
|
||||
-Ddriver_esx=enabled
|
||||
-Dinit_script=systemd
|
||||
-Dqemu_user=$(usex caps qemu root)
|
||||
-Dqemu_group=$(usex caps qemu root)
|
||||
-Ddriver_remote=enabled
|
||||
-Dstorage_fs=enabled
|
||||
-Ddriver_vmware=enabled
|
||||
|
||||
--localstatedir="${EPREFIX}/var"
|
||||
-Drunstatedir="${EPREFIX}/run"
|
||||
)
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# remove problematic tests, bug #591416, bug #591418
|
||||
sed -i -e 's#commandtest$(EXEEXT) # #' \
|
||||
-e 's#virfirewalltest$(EXEEXT) # #' \
|
||||
-e 's#nwfilterebiptablestest$(EXEEXT) # #' \
|
||||
-e 's#nwfilterxml2firewalltest$(EXEEXT)$##' \
|
||||
tests/Makefile
|
||||
|
||||
export VIR_TEST_DEBUG=1
|
||||
meson_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
|
||||
# Remove bogus, empty directories. They are either not used, or
|
||||
# libvirtd is able to create them on demand
|
||||
rm -rf "${D}"/etc/sysconfig || die
|
||||
rm -rf "${D}"/var || die
|
||||
rm -rf "${D}"/run || die
|
||||
|
||||
newbashcomp "${S}/tools/bash-completion/vsh" virsh
|
||||
bashcomp_alias virsh virt-admin
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
systemd_newtmpfilesd "${FILESDIR}"/libvirtd.tmpfiles.conf libvirtd.conf
|
||||
|
||||
newinitd "${S}/libvirtd.init" libvirtd
|
||||
newinitd "${FILESDIR}/libvirt-guests.init-r4" libvirt-guests
|
||||
newinitd "${FILESDIR}/virtlockd.init-r2" virtlockd
|
||||
newinitd "${FILESDIR}/virtlogd.init-r2" virtlogd
|
||||
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd
|
||||
newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests
|
||||
|
||||
DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r3")
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# we only ever want to generate this once
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml || die
|
||||
fi
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
readme.gentoo_print_elog
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST ansifilter-2.17.tar.bz2 436116 BLAKE2B 94a1788cffa66343643f48a18748d5359b090803cde723a02bc38f908c262631f1cd2eb150b6a743d66caa04983ea444ba150cf34ce07bdb456979e19631582f SHA512 ab9d590189482f2a27affd62b456c96b947b04d8c8b1214f1ea967971c8ed7df8a7c15d1079f957164d01916d144dcd5dc4b0ac05b452f9f4b8095273d3d3162
|
||||
EBUILD ansifilter-2.17.ebuild 1108 BLAKE2B c5afc96a41f9b2bf6474f02c61d11763b77bf930c277d5a21c054b3f405115e7c57a52c869e40ed8042ec312e7d17afe7de2471a1460b845f7badc24bf3b2e0c SHA512 125d486d6d5f7e86c894a862f03dd4b0760776dda3b6047c14f28112f34d11ee72601e74ddc3a64c09953eeba7e5de30e3d6725a5df2519fe061251678b84de6
|
||||
EBUILD ansifilter-2.17.ebuild 1126 BLAKE2B 18f2588012469516c0f65158f57bb6659ba36c13b062764cc7d905cf23cf7f3ed1b0c4bec064b80aa2a2b3d1a0917571897057c8a46171c103f27cd4bd002ec7 SHA512 e144c52557f2af3c7d0f3a8c7ebed27682667204bdceeb4b7d6482f1c94c94cae4603ac87e5af69c570e5d9bc67d48db84233fa81a38e33545bf37e27197d51f
|
||||
MISC metadata.xml 221 BLAKE2B 6d597a7a853603bd878e86c6552cb68211e81f627cdb673ae99dc6c6133f50f617101e43f4b4631b45b5969ee6ec42849b156a62594f939d00c112ce51d769e1 SHA512 e50d6cad26239ebf4260f0cf4bdf4e29ef2038e999039adf94f49b184b5993f02bb0d4cdb3de6c7b5cda99890db42dcd2b65c5342256be50dc19e6aab2406353
|
||||
|
@ -1,8 +1,9 @@
|
||||
AUX ebuild.st 6047 BLAKE2B 661a427601920a448b829bbbeb8472199f4ba17cccf698eb206e0651247eb9a115afd50553116f542b31d7ce6436f4bfce3ceef3a894b40087ae7a7c5c6080cc SHA512 1c01943ec901dc4ea314715232fac279fa051b441b39e8cc5bca759b67dda87c4982eba23a37f3b60b041815c347ea85faf774e5574471232e4e941eb186caf5
|
||||
AUX enscript-1.6.2-ruby.patch 661 BLAKE2B 119c3b301f0a9811b65a509ced694b049796600e65b10fd29a200fabee37fa73e7ba6e78705329979f619c7515d14294003fd33b364cad62e058357f1d48a7bf SHA512 6ca804c1f9e1bc19eb896c88c4e710b5212e570d5e0d84b5b40100d4645bdb483c55ad902ae5db9a617268387d6b1d6db54f69e9ba3479f0f669dc1b2314d65c
|
||||
AUX enscript-1.6.4-ebuild.st.patch 332 BLAKE2B 88feff57f5dabfb09dce2c11c65e64005f667b6a98107fc4a608ccb4e0d7a16a3fbc1b15bdb64f8538b417387a0d82f4f3df87ef2564eb384498d3f1606617c6 SHA512 8e86a7b2966810852703a7f3636b0c92e940d3fba21a46be46086830799cfecd2870cd38679f009cb9d984bf3c475e843df67970619cf43ebf272c209b204fd9
|
||||
AUX enscript-1.6.4-fsf-gcc-darwin.patch 832 BLAKE2B c16294bf4a42827bf7af1b4df233305ad1dec4abb9f4c9b01c23299c914e7c07e71759f00ebed8a8429b499acfe839fd5e093f43e17e107611b19f111632b9cb SHA512 d14f707cce8609555efa72d9c3a9ce1662fe8153c00e26eca5c08540d2b5fa0e024426f574601311f946012728c15240569ebe47586519fdf82b0ab117eebed6
|
||||
AUX enscript-1.6.5.2-php.st.patch 410 BLAKE2B 84e35ea8441b60bc5da3085b969f1b20334ed4f9632681b12cd50fbd95d144e40fcd1874aed99a08986432885efdeb70653b0ffed7e5a5b83d5bf1edbff60cbd SHA512 71bf65c91d6d362bbb700ef26b72137e524a969da0971b7f0c30ac409a7f002103769cc25c02222d0ccb1bf69919a419481af9ea479828e3df18ec7a2e1d29b0
|
||||
AUX ruby.st 3904 BLAKE2B 854c86166a43715e85e91802f2d82eae71773d9caabf604bd5edc0e53046ed0fa9944ec61c5ff7516e22740cc90ac73dc1d8edbdc0e9722ec876be3a129d2183 SHA512 43af0998ebe95530129aec126b9f91878bbbf7dd52530cb162b25f5779f9eb5b870f41727665e66dd5cf42a6d5e790899bf03c38c1a914adf2b0eecac83154e2
|
||||
DIST enscript-1.6.6.tar.gz 1330493 BLAKE2B 02e333271ac6716e049402d5904b0ad6926b31d4533c813a9e5bcf76045d4100def2476426b97c52585e8f5c0a741159fb3e78de79c817e75de81ebd464c0d61 SHA512 bf1c2b9ea7723518a1ef312145ddcd6ffdef0c6e8b5795ea84cb55d76fccc02f441d0c2dc6897e970368186e6a829ab74a090716624e0f7a8f575653fa495ebc
|
||||
EBUILD enscript-1.6.6.ebuild 1116 BLAKE2B 48fdf41dc6c83d9016d93930a1f4c96eaa37249e2ab49d7abf0cf4e392548cef4f0b4a8534d651d7dcace41aec2c69cd10f9b2307932dee86d35bd3eefa26659 SHA512 5b2135bd7488af0b67f746e79ae9db05059304fc3b3068c5788a1074957ccc9ed3a88ca29eeed4495af98418266b310d4213e2f406b6195ff1ffc605101cfa1e
|
||||
EBUILD enscript-1.6.6.ebuild 1259 BLAKE2B fbfdeab45e53a94badac4dfc1a6076e2ffbec55ed494c4fe49e569d95ee3ff12b04b24cd98fb43e7a415d10fa6e8dc9f36ea4df18cd7eb52208a5a87d4c8bab9 SHA512 49eb09441abf4ad009e16a7c3f7498a50fdec45cc46d0e104aca74c38f40e037dd343c0404dec592a03b05679607fe6cd2719fdcdde3621ea49e4856e3d92663
|
||||
MISC metadata.xml 255 BLAKE2B 06f078acf8e4416705c8bad8b4802a44592eb962c08c050e11332bfa97564fafdf08754ab056eb813f6baeaa6cdfaf5d71672455d77e74045f86098c221d5136 SHA512 c6c5f966cfbe396fde1b15334442de9e0004b44c4b48775588b0b25a058ad1751252761370c9c254280e97561fa6306f5aa0cc7959c675d4ee11f7f95d777a36
|
||||
|
@ -0,0 +1,37 @@
|
||||
darwin: __private_extern__ is an Apple-ism, we really don't want
|
||||
|
||||
In particular FSF GCC barfs about this, which is much preferred over
|
||||
ancient gcc-apple (4.2.1).
|
||||
|
||||
--- compat/regex.c
|
||||
+++ compat/regex.c
|
||||
@@ -5539,9 +5539,6 @@
|
||||
It returns 0 if it succeeds, nonzero if it doesn't. (See regex.h for
|
||||
the return codes and their meanings.) */
|
||||
|
||||
-#ifdef __APPLE__
|
||||
-__private_extern__
|
||||
-#endif
|
||||
int
|
||||
regcomp (preg, pattern, cflags)
|
||||
regex_t *preg;
|
||||
@@ -5620,9 +5617,6 @@
|
||||
|
||||
We return 0 if we find a match and REG_NOMATCH if not. */
|
||||
|
||||
-#ifdef __APPLE__
|
||||
-__private_extern__
|
||||
-#endif
|
||||
int
|
||||
regexec (preg, string, nmatch, pmatch, eflags)
|
||||
const regex_t *preg;
|
||||
@@ -5728,9 +5722,6 @@
|
||||
|
||||
/* Free dynamically allocated space used by PREG. */
|
||||
|
||||
-#ifdef __APPLE__
|
||||
-__private_extern__
|
||||
-#endif
|
||||
void
|
||||
regfree (preg)
|
||||
regex_t *preg;
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,159 @@
|
||||
# Copyright 1999-2020 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 ~x86-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,22 +1,13 @@
|
||||
DIST julia-1.2.0-freebsd-x86_64.tar.gz 82750080 BLAKE2B 2b95fedc8dbbc138c0794f42518cce280c62bb2442d6a0d53b809f21768497937b037e1e886cff19cb40d7a63f3e2ee8da0314250cab52e8b139724baff3ee91 SHA512 9c9af2e2346553ea5658ab5a9fe88539605774cd2737ac9bfb240b7fa3f9fd46f746d5dbdff2dd7405e8fbd33208c12a335b7d80cd0c78c62287ae5eb470fc8e
|
||||
DIST julia-1.2.0-linux-i686.tar.gz 87810731 BLAKE2B 1d72bf469f1dd3667ea00d038d18e20c10d9ceb579c61b2f30603bcd7ea55875423e4d54cbb774cfcc20044528f3ccd196131bb17cbaf7bf780fc5667c387e1e SHA512 ecd62047a0e36fe85a0442733949b19ca5d877fc2d2bced80566d1fcd6906345f66fb9114b6e687594e514b8c952d0352de5982f77f127e5196288431a1f64a9
|
||||
DIST julia-1.2.0-linux-x86_64.tar.gz 91990555 BLAKE2B 125313e7e53bddfcd64251fa2794e5b9d4bbbadb6100c1dc8f86039e13520859117f8ffcc2611d085805c9a80ad3544e88dd0e37803609e3b8b4097867fa8a5c SHA512 47e966d12204ffbefcdd8a60e850994df2247c37ee601f4147710d80e8e576672daaffe6d35d37fef644ea725f46d893832f096e24d938af856328299ad920d5
|
||||
DIST julia-1.3.0-freebsd-x86_64.tar.gz 86423604 BLAKE2B 5e36e49ebb708c4ec1c998b23861f69238b9bb2af337b0977df1a2de170869037577d422d3d2ddb359e537b9c75ba8cbe8e5963d42a832dba19f8bb4022a264d SHA512 b2c4a0e5ce379523ee606067d50b980fb9be6977f7d3d576b131183edfc72098be71bf0bede20d44f72ad7d0b414fe56eeaa67ca1cb47d36823721784da8526b
|
||||
DIST julia-1.3.0-linux-aarch64.tar.gz 78426016 BLAKE2B da758349e342a92194ff24e74dfb89ed9676bb97d8ffc15b80a305a5d75627b08a8939349b6de6aea294d64dd1386d1d24f5a8c793b368df38b86d06282222b7 SHA512 fa2a34aecbf83bd17f6ea24b55d30cfaab1916ea1c17b16271bbffaf93f430c262eb6d0ee9a9737a361a8dfad47126478ffa841c70cf9899e426607e12913e8b
|
||||
DIST julia-1.3.0-linux-armv7l.tar.gz 84672004 BLAKE2B e8d20943195a909d2db821f30df79f5020eb21ded179b795518db77772f5216fd04d88a7e21ef518b819349f6c3d5b681b1b7c7ff2ff2bf89a14d6ad48456f5f SHA512 2f6328a66f24aae0e6ed0ed5abb504805cf4a719a7ba30009966a1774f4e72630734c661c4de49cca37f5fa0fa766fa2eda29f01ee21ee3e2e3af81d2291f2dc
|
||||
DIST julia-1.3.0-linux-i686.tar.gz 90629130 BLAKE2B 027b045d71c209c3a935ac37d07fa89201d55b63e374038f5891fa751a87546aff63ffa0641f6b5041b4fbf1ed018cc6a809b56d3f732c134e3b98501fe92885 SHA512 fd772d0d3dbc11c357df26f980569315893a391604755e81421b6001b09e8e939f9a8e4bd0e0faa428fb4b08ac8f24a39bbe0875417630bf127d8b41324a9116
|
||||
DIST julia-1.3.0-linux-x86_64.tar.gz 95497903 BLAKE2B 2f67eb538c0277edaa97e95122bccf0f5822b7fc7a64a843aad7d421a22167de758a94011bf0e95a2b8b29c7d04e2b65451807bb36742206e88fcceab304f019 SHA512 4b286172622a2817378dae0720fa0a08d4f361b60adfb9685136fabc83d42bf439a22147051fb69d501e14947e42d2999ab081cfb3f60c44ee5d6a906758aaf3
|
||||
DIST julia-1.4.0-freebsd-x86_64.tar.gz 90034224 BLAKE2B 3150870a630c43d21520a52a9c009b777105f978f5b735c22ac1fa2a7599e30e09b1b7064149a83fedc52e7783b429e470358b82f21c51239b7761506269f066 SHA512 9f8cbe2065e05198f2a3edfdae17e2afa31c4a4c08ba4c3bcc31215ff6541c75a147009f87bd1028b6cdfac1f8616e07a948c8f8ee2586e61eacac53e33e3e87
|
||||
DIST julia-1.4.0-linux-aarch64.tar.gz 81685205 BLAKE2B 1a07a3ef94423d327e88b5cccb38360b23540806defeee1c64dc0656beee1b39008ca529e3d0cef7aab1e8947adb62fbbb1c6d248a0de2c63f3a5d14b3a5b684 SHA512 51b79e7b1fc85f67a26a595e84f88b656996cb8e14cd634076621b07690fc4f5d1ff1d71ce3a75243501bb7853bffda5d7428f03797570913cd3170dc13f651f
|
||||
DIST julia-1.4.0-linux-i686.tar.gz 94549552 BLAKE2B b058d81f55e7e579cff5b31054def68193be5032de02f09f6c4239e13bd73a630eee8ebd5f9ccd712f0e3be406932de51951202ec37b1534f20962db4eff5472 SHA512 f0363103713900a682fef900a745732714cd3dcbedbe2aa368afff768c24603241fc2f4be7419caf674e086f6cac59a8b14f3770e578959b7296cd5e26d6d5c9
|
||||
DIST julia-1.4.0-linux-x86_64.tar.gz 98969249 BLAKE2B bf0a79a8a8f1ed8c5668f2b2836414f8c0ae10199ee96eefea3d5bfefc0dde0902659556a572c3de6982477183d91f8e2f6d38f7334c50872f3257055a5310e3 SHA512 e2ac637d2bbe9ec4b900bc8f59263fdaa573cbe39ffbafd0e8280a5ba1906052f72816e4b5a12fab34f5b05ffd3f5cf95703c00d88f2f6ab6f022c3504cf1c95
|
||||
DIST julia-1.5.2-freebsd-x86_64.tar.gz 95898744 BLAKE2B dddafa63acc943bfc06eeae3fa9a3ef9b7484b29b88d37bf064ded255c836678f5d02dec0f7fa788bb763894acae5c51937882ed0391dcf66792198fec7dbce7 SHA512 13e4d1a7e01cd759d64c8ec3d85501904439fde5a9e2cb394963a8977035cd33b241fab27bf0642b069f202ead1d6c84f633002df3b27c4aa60e7adf45a3a8b1
|
||||
DIST julia-1.5.2-linux-aarch64.tar.gz 97088109 BLAKE2B 01aa5337cd1fc15655b596959cef8e54b56d8bb11fbced728df301a197aad550f0113b50c0b9e3cab34ea1082e176ced0398cde4e1d7c6d14a72b9a9cab937ea SHA512 09ac5360faae81eb9c78da5831d20f1f2d2c7a93561f6f2857015b579796a059cdecf529c283c9c37dd55163ce3e7b6cd175ee02734f1e11aa12f1163bd6587c
|
||||
DIST julia-1.5.2-linux-i686.tar.gz 101473619 BLAKE2B a87cb4cb38236e87041fac1012841d5aed25383bfb212188f4c23f4a961654d8a3b03b85dd5563f83620aa98323e2d2692107eda47559cf9ae332006453a139d SHA512 2ceb56bcae051815d585d3f36b4ae323ad7a3e383e75c07d87cb555fc2463d1a6017fd120f52a1f7110b803bfa546a34e62e8958765b52124612782ac3daf403
|
||||
DIST julia-1.5.2-linux-x86_64.tar.gz 105324048 BLAKE2B 410db75cb5b7ed269fd0d8f827773f50ff127ded3346e2f5fe908a1f9c0dd0f00b7600c5343853aaa0dfec3a616f657c52c96290f9c6ea012efcbc2a2b72e701 SHA512 5d14369b6296aa5fa0f7a58ce6b85dc25612ef508ee8dc1dcce7fe3a64de62b77daf419ea5d3a0a78345345787cb3ed563717ecc04df0c4d68b6d60593750f62
|
||||
DIST julia-1.5.2-musl-x86_64.tar.gz 101730667 BLAKE2B 1b213a246779815b79f47e6c287f0c7eb438dce42bc9e3e39681dcc0818c7a8c81f7040443c06fd323adb693c96b61cc69099c5df375cae119020ba9d0bb11cd SHA512 5cfbf7938f50286077e132815e10ce4e1e5a589a772ae3b946488d3126713e72ba393e1a45b3bc38b5bc43fc183e7f99b622c8c0d9d939330b142cdee24fccb3
|
||||
EBUILD julia-bin-1.2.0.ebuild 1034 BLAKE2B b179f39c2fd588cbe734a4c358e767344c01093cbdfd95cfcebff0a897fd3e57e754f3a7f1c200ebbb18635ba559eec305fde87db76a91db0e0b2a9f17cc6fd8 SHA512 d2e3b6da22ceac83f11a7a9e98f51183654bc08b60bada2dd7a889c73176cb914c9831b4b2c37c2b0a3cbb17abddfce5e5a1e2f1392de92fbaf44a26c555c422
|
||||
EBUILD julia-bin-1.3.0.ebuild 1284 BLAKE2B ade35ecb39d7389ba540615931495aa1f4e36eaefb575e3df7bd40efebab72682ab0e8ae02137e310c73ac499444698b46981da3ce550e7541b8ad01a5ad3cf5 SHA512 e3dccb628355689f766f0a8c689c577f430d8bd9dec4d8721e6352f7497507256646ec5cf745562dc3a75366ec5d4333b14cce5f33faf526ce447ebde4790143
|
||||
EBUILD julia-bin-1.4.0.ebuild 1180 BLAKE2B a5609546cd9a4ce53ffae2bb4d763edc63af157caad83bad62a008e5535204018b0d26c17fde28f8bb2f27a6a4c08e03311ddb4fea57fabb4b6a37465390a276 SHA512 60a3a680eaef3210f7a1716bfb29e526c0062879bb09b80023567d897db5fbef1cc1549c7de39e10ac4f42ecd43284e530a247fcebca2c684b8c09a072040254
|
||||
EBUILD julia-bin-1.5.2.ebuild 1224 BLAKE2B c9cda2c05d4eb4c5b732c6df675cfb148a0dbda6c31699245e4e92b1d4fc37173036027d49813cdbfd909457f4b6a80502d6b88acd0dc4da5f07d67738910743 SHA512 bd619fa0b3d0048f049da2931c39bdb0147bd6b7a72076049679ee7b32a2061332c37a20589672ffb955e01a755dbbf4636ce43f728415cf07d7f87e167d2f09
|
||||
DIST julia-1.5.3-freebsd-x86_64.tar.gz 95919875 BLAKE2B 620c295a3d0fa9a31ed01b936ddabd001cee621969f61a9165e03ebee05cd1384c62bccd95f4df15ba49f9d6feec16f05c367820c0907919f67809ca136b70bc SHA512 e767bfb3cef034262dc12e0da4006e80d20cc7c971906f5ad355c971e7c751830972a2f4aa47d18fc2a79eb5454f8f160c0c38d536510291690fa6e1da3c83a3
|
||||
DIST julia-1.5.3-linux-aarch64.tar.gz 97086173 BLAKE2B 5353a516f24c151d6213ed4c6e189a8ac68933012bcda06084b5e6c1f3a230ebca896b1e8dd29b345c312f323283b4f9045efcece655ef055a797cd5eefbd774 SHA512 0988e229dc9f44230af84796dfb059aa87809c6af5d0e8a7debc4b696e98c45ccc042f956f678819e71afe29d5619421106208c6dce5dfe47aea98482b22c1e3
|
||||
DIST julia-1.5.3-linux-i686.tar.gz 101362522 BLAKE2B aba1270fc85cc1afc19856768a39d1cf1c40fb32b676be5da47dc7747294299a044a5202c547d19ad8aa56060b04d7583d7e7c19176f2fdbcccb863593fffccb SHA512 0abaab22626cbd4da4a2389b2aca639f993aa442a8423cba2fda3d9693e0dab4f5b82592691ad74bb7ddf1ae48739406b61fe76b7da626a1f22fe01077b011d2
|
||||
DIST julia-1.5.3-linux-x86_64.tar.gz 105260711 BLAKE2B b132fbe090ca4a4cba518efcf2e475f0ceaebcbe2e5ef4eee33697909995ea58d97c3e5015b96eaf2ff23e5ff6b5b67eed62b94a34580961d5671c4f019d4847 SHA512 f0460da198797c92d39d361278be6959e90b2b3d08e070b705c1a5de3a17c0e6b0b010a397d0b02e613d060959fff14c074cf12fdeb956e8f8565989f084d86b
|
||||
DIST julia-1.5.3-musl-x86_64.tar.gz 101802400 BLAKE2B da69c1b4ff5bde8692c3fc9ed3d60fd655a32121a0e11a4d1f00b5e4494cc4bcdb0e323a2644cca3a291fa7f7604925d387204df90cc19fee89048c4ba83b2d5 SHA512 e98c74ce2a49532a491a46efe81a2edc85103f9ec04347fe6b052cffdaecadcecb48a02b15ad71853fff6ebb2281498000e89d44732f36d31b6252a1a88bd0a6
|
||||
EBUILD julia-bin-1.5.2.ebuild 1238 BLAKE2B 1f20fe4f0fabe3953a53fc3f810992bc545dd4d56d92a49628486a3d65fa2e9fb671619560d6a0409e398d441249df0c74448eb6fbfd70c49a955292c70a8016 SHA512 2174cc671417ff92eeb245a1bce7a722f8b76b37dbee11f72b1503e494b1c9a15eb0936e0bb9b4437546be64d4a2377573f76bd364977293f422261c98b8a177
|
||||
EBUILD julia-bin-1.5.3.ebuild 1238 BLAKE2B 1f20fe4f0fabe3953a53fc3f810992bc545dd4d56d92a49628486a3d65fa2e9fb671619560d6a0409e398d441249df0c74448eb6fbfd70c49a955292c70a8016 SHA512 2174cc671417ff92eeb245a1bce7a722f8b76b37dbee11f72b1503e494b1c9a15eb0936e0bb9b4437546be64d4a2377573f76bd364977293f422261c98b8a177
|
||||
MISC metadata.xml 1269 BLAKE2B c7ca56d7660c41df452725bae9526d587d79754a3e7b0cb0584bacc588b63523e4fbae113b26f48290d874bc49fac1eb2ecfc97946e516212cc511346f876e26 SHA512 8e0325b241bc76162b843b64e2fdac98873cba21e8e39d2ddd439647466d94e163fe315eeeae78435398db17635d3447ec9c713bf53d894487ac6acb67c5afdf
|
||||
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
MY_PN=${PN/-bin/}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
MY_PV=$(ver_cut 1-2)
|
||||
|
||||
DESCRIPTION="High-performance programming language for technical computing"
|
||||
HOMEPAGE="https://julialang.org/"
|
||||
SRC_URI="
|
||||
x86? ( https://julialang-s3.julialang.org/bin/linux/x86/${MY_PV}/${MY_P}-linux-i686.tar.gz )
|
||||
amd64? ( https://julialang-s3.julialang.org/bin/linux/x64/${MY_PV}/${MY_P}-linux-x86_64.tar.gz )
|
||||
amd64-fbsd? ( https://julialang-s3.julialang.org/bin/freebsd/x64/${MY_PV}/${MY_P}-freebsd-x86_64.tar.gz )
|
||||
arm? ( https://julialang-s3.julialang.org/bin/linux/armv7l/${MY_PV}/${MY_P}-linux-armv7l.tar.gz )
|
||||
arm64? ( https://julialang-s3.julialang.org/bin/linux/aarch64/${MY_PV}/${MY_P}-linux-aarch64.tar.gz )
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86"
|
||||
IUSE="elibc_glibc elibc_FreeBSD"
|
||||
|
||||
RDEPEND="!dev-lang/julia"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
RESTRICT="strip"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/$(get_libdir)/${MY_P}/"
|
||||
doins -r ./etc
|
||||
doins -r ./include
|
||||
doins -r ./lib
|
||||
doins -r ./share
|
||||
|
||||
exeinto "/usr/$(get_libdir)/${MY_P}/bin"
|
||||
doexe bin/julia
|
||||
|
||||
cat > 99julia-bin <<-EOF
|
||||
PATH="${EROOT}/usr/$(get_libdir)/${MY_P}/bin"
|
||||
EOF
|
||||
doenvd 99julia-bin
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
MY_PN=${PN/-bin/}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
MY_PV=$(ver_cut 1-2)
|
||||
|
||||
DESCRIPTION="High-performance programming language for technical computing"
|
||||
HOMEPAGE="https://julialang.org/"
|
||||
SRC_URI="
|
||||
x86? ( https://julialang-s3.julialang.org/bin/linux/x86/${MY_PV}/${MY_P}-linux-i686.tar.gz )
|
||||
amd64? ( https://julialang-s3.julialang.org/bin/linux/x64/${MY_PV}/${MY_P}-linux-x86_64.tar.gz )
|
||||
amd64-fbsd? ( https://julialang-s3.julialang.org/bin/freebsd/x64/${MY_PV}/${MY_P}-freebsd-x86_64.tar.gz )
|
||||
arm64? ( https://julialang-s3.julialang.org/bin/linux/aarch64/${MY_PV}/${MY_P}-linux-aarch64.tar.gz )
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~arm64 ~x86"
|
||||
IUSE="elibc_glibc elibc_FreeBSD"
|
||||
|
||||
RDEPEND="!dev-lang/julia"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
RESTRICT="strip"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/$(get_libdir)/${MY_P}/"
|
||||
doins -r ./etc
|
||||
doins -r ./include
|
||||
doins -r ./lib
|
||||
doins -r ./share
|
||||
|
||||
exeinto "/usr/$(get_libdir)/${MY_P}/bin"
|
||||
doexe bin/julia
|
||||
|
||||
cat > 99julia-bin <<-EOF
|
||||
PATH="${EROOT}/usr/$(get_libdir)/${MY_P}/bin"
|
||||
EOF
|
||||
doenvd 99julia-bin
|
||||
}
|
@ -1,27 +1,16 @@
|
||||
AUX julia-1.1.0-fix_build_system.patch 1651 BLAKE2B 62123d16fe25bd6d77ac7af05297bc2cb5529b58943fcd13060f0b2b3f329571ebbd82208793651ac5120cd4ed19b6eca6c3d0c829509288460a9e0e78817b48 SHA512 70f5cf43261216e16001acc2c64e0bc1457e1fd48a918b218f8b0b21877a44c274f3aad81f68f7176665ec94c2d17f89a880e1c0a9332beae9d25668f9a85a25
|
||||
AUX julia-1.1.0-fix_llvm_install.patch 680 BLAKE2B ca0d95c503b8f6e76722d54147f7a64cda5781cefc6e05ed7cfc631b356c3131d43ce6703da6c61b791da08836d9a6b5b494556c2a0ecba8960f8a9395b2d66a SHA512 4d474c1ab1d74aeb98367d55ec557e22e43a3e3d35615b7cde20fb9a194b94f24237735ad431800ded6e120beae9d2d3706b778ea7f26409790e3649ba39117b
|
||||
AUX julia-1.4.0-no_symlink_llvm.patch 335 BLAKE2B 0df56ed45619df80b669bc790e0f93e475c94dac39fc8efcbdaa677a6ab02a6a3f832abf07990e8f50df8d900147f5e0ac9e2896edbbc4a015e49e74864315fa SHA512 563ed79132655b8c28a01d17fb8765ed774c069e00d29847f864152f7641b53758c6d8ba5544789e8d3aeb0e1686ea946c31837b1e1b0a6f4bce6d531d5511ed
|
||||
DIST julia-1.2.0.tar.gz 8255435 BLAKE2B 286b7bd93cae247c545d9c384e244115f84daee977839022993e91c69013eb4107ac77d86f996ec7a8e9f863bf5cab29fb063437b822e5da79e72bc9e0db4b65 SHA512 c99b0b744508b43df4ee334f588dbb57a633969d7cb164d41b76d552c1d14f5ff6f06a8d0da7f7a48fd1e3a3b3c2379998c5af1bfdff4b0c17045132b82a40b8
|
||||
DIST julia-1.3.0.tar.gz 8793136 BLAKE2B e469d80c94e3b15b198011e62f591a699ec7218c755cf3e0c1be8f94e2a28e9800a10599a152f6865f534652d22f118bb14cd1886d257a96e6875562bce56f0c SHA512 c7fdc5c4435c82688fe608a7009ccee6d622f51a62578bf2323ad623acfd58bfb6ed1252f81481708b5b428c37292e078ce72b10df3fe32d29158b0726be2c2e
|
||||
DIST julia-1.4.0.tar.gz 7239281 BLAKE2B f11467cf91c2a72f03f77421537f4089bab6a1596ede27963551819453bea2a3a46cad9a43951df8857120a00a44f2f04eb5e23659ea4d1772feddb00ba85d2c SHA512 f8152a595f13932f6cad186cf2fdf2fb0bd64cc49bbb11a76d8299f4745ca6428823ead0e73a7bae1347f1b99bf1181d1f457587d13a7bfc7324ca81afc35cc1
|
||||
DIST julia-1.5.2.tar.gz 6945862 BLAKE2B 9dd9f83fb9ae251f66ae65e14a252b662c3c7d6f92638d91ef6e286032020052e1812f2891270854e0ddeda474afff55c8f87d300550503c1093f4c5e0a51959 SHA512 aa177d03bbde4f368dd2fb14f64d21130531616bcd544af7babbb7fb7c9ee5ea7528c756e10f78468aaffebbcbc6f48e92397c1c13dc3f130b64a82e478f43dc
|
||||
DIST julia-1.5.3.tar.gz 6949901 BLAKE2B 08f8496980a9bbb9effc0c72cb6b7a5ce1dbd1774735caa366ddc1bb5404117111c624a639f6eb48360061f9fc597a7b37dff24f8555f03ebc4a22524cbeb3b8 SHA512 9e644a64fd6e2caf0390a2bc470084406c078244e65b70a2e3b031d5806c1dff780273ccccfe4bccfd8c03778b7d3a44de7a84bd13f3512afe6864efa5a730fc
|
||||
DIST julia-Pkg-49908bffe83790bc7cf3c5d46faf3667f8902ad4.tar.gz 389738 BLAKE2B 1ed9201badf0a1db5142e0566bfe085b364e4681670937ac5fa53c15312ff8eb29d5e783b75fe3f4f379b041ba38c66ce94962fa7d98fcfd0b7b49acd1749d69 SHA512 a85aa80b3080794a8e3ae5ce54856e63457c461659c12fde5dde1b5ec33176ea06af49ee516d01ccd7b78d8358de2fe0ffcd5c6a6d5a5088cdcd76a0133780eb
|
||||
DIST julia-UnicodeData-13.0.0.txt 1851767 BLAKE2B 72bbcf352f2f6a004abb3f351fe5da160e83644feea8de0ca154b5a1aa78f36cb04b252d0c7b64a5eeca388e600b2875bb76bc2746ee799a1a6eff97c1fe8b06 SHA512 1a4a662e2ab33469976bf5f91aa6933ed9b73f6d4179a2daffb349e1869d7d6cfa885b164e82d15dcdad7458cd451c81add58d875eb0c70de854589dc97b2055
|
||||
DIST julia-cacert-2020-01-01.pem 223687 BLAKE2B 29d2ce73380897a5841deef1c7eb5e61ff3f5c278ab95286bbfdf5b1c4d41ae94402dc5cb376975977f2d31030e0df872273942a1b6cc91b7ff35ecfd7efc1c2 SHA512 cc129ae1a4377a43a74b0854b6eccb2b315cdfce018142d1dd5524fb64c8945cde067cb18f366351fa7d6af3f9f36cf21bc1f626f987f9e4627878472ea59cde
|
||||
DIST julia-dsfmt-2.2.3.tar.gz 291773 BLAKE2B 6ffae90494d72527920c80fc0fb005da1c7b84f8a03a7ecb0789434c0fff97359e5098e85431896dffccc7d5148c414e847aaba5feef648b8788421a466ff65e SHA512 6d8ddcd01aab3f9039f4f0288a8af53e290cc2f293ed8c4a8c9f3b3f12398e7eedfce8016117b425766ba89c61c86c13b3e420035b5f9bf91315b8b814c03662
|
||||
DIST julia-libgit2-b3e1a56ebb2b9291e82dc027ba9cbcfc3ead54d3.tar.gz 4981505 BLAKE2B b2a414690de2c8eea5247260d76a3ff447e4f925a3c749e88cb9bfe96d1e3086be04534801fdf9d1eb1f8d84c6a6dc0eb4b6401be311ed3d5391ec9d481b1dda SHA512 7384a7eeeb36ac79d4e7e1336546e48f8fc820653f887f944c3902fcaae4e59d855679b39c5279b7372995934e549e34c526e1459a82032206913f9747b3dd08
|
||||
DIST julia-libuv-2348256acf5759a544e5ca7935f638d2bc091d60.tar.gz 1555710 BLAKE2B 31ce57d23765c142799dd985a5511751d63238cf7e082fd1ad5574bf62201e9d6cb53b8da5dcc724765ccb4abd63da3ca6d6cbd45e078310c2ffa3859d09b8e4 SHA512 c8bf3c736a60feb0c6994aa7cd1b80e1a45bd6096aa66db320ddfc27b59a0797d303338ea75978619173e4f0a680254f3db29c9f6d1b84361030cc11c7729c98
|
||||
DIST julia-libuv-1fcc6d66f9df74189c74d3d390f02202bb7db953.tar.gz 1590342 BLAKE2B eca658f74421587aec78cb38f5a712033afb072e6425a6ce28fd5d4bac61e41cacbd5a850c1f2b29c386b944d1d9c4f16b7d090f7d2dd6b963b5dbc94ae18981 SHA512 70b0c738a60b4e476750b7de8d120e735359e2c36fcb3a8a38628a0ae326210ed3b15d793dfd5443d7aa5603e83e7d99f567aa4c1696846d950df9f83648669c
|
||||
DIST julia-libuv-35b1504507a7a4168caae3d78db54d1121b121e1.tar.gz 1577394 BLAKE2B 8ab36f781619f710a64ddc6cf257a4c2f6d27ac22e33ed6f184902d0c6cc3a3941254e0a825071fcd57f869e3ccc5eaf71856539cf6b484358d5aafe383000a9 SHA512 5932e9105346e952fd0f51f79898e5b9c993261ec1558408437647ab3b3ce282562f1e0a16db5704cb66e7aa7a4c6a75dd7f0da498a98b1b6af48da88b4869f0
|
||||
DIST julia-libwhich-81e9723c0273d78493dc8c8ed570f68d9ce7e89e.tar.gz 4183 BLAKE2B c932e23b1b476d3fd16cf6f451efd5fc6d9c1ec2c53e8ac086340a100817d9b30dae3eff50b284a42c09b2bbae30b9e2fd38b2881f8cbf4974a89f3bd0c87599 SHA512 6fb77b715d70d9bc95a8546c3bf97bd3677c7ea344b88bb5bc3bbfac9dceabe8a8cde7a0f64dec884cde802e4a3000e30837d3f824b5a9242348c4fe061526a3
|
||||
DIST julia-utf8proc-0890a538bf8238cded9be0c81171f57e43f2c755.tar.gz 155521 BLAKE2B 32dc1a8fb641e89057d317e579f1802b7f7dfbdbea7f91c01b282b9a88c2fc6143743d5e45f46d6d465857cfe1b28bd39e9a0da19e80516536c57cb62b139d27 SHA512 95d6dba2bbdfc5003f6d21fd02c926c7db9661895010041aacee55fa11dc2524bcffaa90965e2a9a8f2a9e49e93ec7572d6a4de6d5d9f9e075b787537864ea20
|
||||
DIST julia-utf8proc-454f60150c7f023526d353e1e6b386f93ee0b116.tar.gz 154318 BLAKE2B 6173490aa458f300f29d6fc0f22b80ccff436f4c52df2ac54786a3f518a140ab6624cef0a7221c8e3800307c9b8490a604215fcb028001b1b95e7630b62ed85d SHA512 50a19aa56edc5c023611c40e75862f4c9c08e1bfad0bac9ec64413406cff8f409ff106a37f8c66202e563cbe3ae1d5a40036b14fd309651b50c30d3f205f08f5
|
||||
DIST julia-utf8proc-5c632c57426f2e4246e3b64dd2fd088d3920f9e5.tar.gz 154973 BLAKE2B 9696fae33c408abbddd2c5741a0c98b11474c7615d6610e53be919a3cce4a58f129de4ae36bb02636e94d1e57504103e8dd3a3faad3ce7c38e1dba0f513d2d47 SHA512 dec5d7e976bd808bc8edc39dda62b85ecb462b98b6059ace4acee27ec75f6839e0a2899a9baa225379ae5ffb5b568c63a666f52c9958075e5af0376f8a284534
|
||||
DIST llvm-6.0.1.src.tar.xz 25306628 BLAKE2B 60232d4d22f8096b565cc8d81fea0639f24f14e8fc4f66ade69fa15479181f07f655f26dff3fa24bf105762b495da316c5c9352db234bd0af6b9c3fff6d4d881 SHA512 cbbb00eb99cfeb4aff623ee1a5ba075e7b5a76fc00c5f9f539ff28c108598f5708a0369d5bd92683def5a20c2fe60cab7827b42d628dbfcc79b57e0e91b84dd9
|
||||
DIST llvm-8.0.1.src.tar.xz 30477608 BLAKE2B 4319c837b36111401e3b0f9659b8d875c89463bcc7816df1aefe1e3ff989860bbaa92504718f8e15416cfd9f3491c13777cd5cb661877b237b342b0e515b93f5 SHA512 82e120be5cabdfd5111aebbea68a663fe229c8861d73802d6ab09a3bf48f60de333e07e61f8fb61beaa14ac2bea24fcd74fa6f761acaf62469f536b79fcb1e16
|
||||
DIST llvm-9.0.1.src.tar.xz 33035112 BLAKE2B 5ae7ac42507cb14983eec0785dfc9b9c788cae75d5493ddf6734da55d3733cc90e35634aa39aa536654d4b68c3ccb7c2f989746f21c634c8989a57d9d32a15b2 SHA512 bfb6960a4dd1e18f4005f324f478a781c69e8ec7c20569d9b243fcb9372dc7733b254f26c683373537990cc9c109c78eaf0f65449629ee17caca1bce9b9ccccd
|
||||
EBUILD julia-1.2.0.ebuild 5338 BLAKE2B 60f77129192f392a3abf31556de86df1bf16564e7c1597bacffe601edc231715db077903b32d244504e7672b9971d19cf22d735808e51983fa0793666aa4b6f4 SHA512 727270ae0b4c99c2da7cdf9f877f194bb2976be6b633aefde56381657bef6521dee6ca047bcdf9a7ebe736fe44871e23a45c7c81ad592759e604c58a20836744
|
||||
EBUILD julia-1.3.0.ebuild 5352 BLAKE2B a1d48a441ab61c2f0e55e8f3bc1d58568553360c6f3c91b05e0a718af40285625ab4b334ea5d80fb0e5806ffe56adf709744526af18f8bcdadcb010d403c00be SHA512 ce44a6606975e98b2be9d32db4d9d4badb9701f8512055f38f43dbbfe99057a4951fc7633a82ebce6d2d431595553c7c1d4358cd1627174d03b0f1dc3f58c2b1
|
||||
EBUILD julia-1.4.0-r1.ebuild 5258 BLAKE2B cf21aaaf7695742795dfaf1dbfb1d8b3cabd76335c0e5a770b66783ce9150769a0db89fcbb95812b30920a40e7d49246e300952768621c3810d6584271f73865 SHA512 5fd13e8da396a9c355a00f3fe13abfa219d48b663b5fdfb2b4c94c3b858e6dbfd308b55357fef551f6f48170fa3fbbf9851c1e7aa4b5821dc7c42994cee76da7
|
||||
EBUILD julia-1.4.0-r2.ebuild 5771 BLAKE2B c7b03606cde5f9414172128a16041122e7d2f154dd8fc1f6f0d7f63135556bdad1b215bfc9672d867156134d7b9870cae495bb906bf4a9e582c32efdd236863a SHA512 8d629496f63cd7dfa2f8a42354b8170adddc1ee6c0a5f6679c3aa23902c56cc61732bddeca720698ff0919c1b23382e6770fb579bd0347bc6253e7038b55aea2
|
||||
EBUILD julia-1.5.2.ebuild 5769 BLAKE2B 54c790de6e2fa9ff3a168e2facabb70da5aa2a2696fc752002b63ba4f875079e8758892b7219dd231028723f15a0743536375460dca955d1744364556834cd12 SHA512 824f64802d16b05837eec6ef1d4ce56ad3dac20035bdc03c579c418d25ab5e2f2b36d629cd695eb5940b8347c05d089ca424d19025228fff5d787b0158eb4880
|
||||
EBUILD julia-1.5.2-r1.ebuild 5859 BLAKE2B ea9d7704aa427f936df848f0a9aa1897b01f5f375379ca78cc3c14709c6a2d1a53222c8576b4cf12797918529922c553a4be4442e73d3120669ea00bcc2ca04d SHA512 42299e82b2d07964e70be5556dab6bc6ba3eaa9c9fa533d9d139067934315f8e7b6897ada249892d04d8e3fab303d38502cb83633c1498ca89d59c290f38c427
|
||||
EBUILD julia-1.5.3.ebuild 6067 BLAKE2B 027053e1570505acb7feb8bff3776169847e01b0a1232c6ac104ee77f44117ac7c97061fb59bb5fa55d1dcc319d4dfa7eb97c84dbd15ba0a1a34b7f3c47e5681 SHA512 f82396f0e0eecb1723d269c890e1f684f9834804e95a7b8fcc88661907ed1cc7a33c74ddc9d7f0f4ff36a345f316cb6a9a1f012a6f54b02ff672369af0516093
|
||||
MISC metadata.xml 1388 BLAKE2B b58f320281f3b56151e4f647b3124b2bd915c9194041c7aa3e228cceb56f1d4d6625b9b86394a39c1fb7c0bb524e792cd60576ec76a766dba41204297d792ddd SHA512 91835d230909a2d10ac26280e49d3538e57fc708f141ce366d55d21dc66b588e551aa4e054e76a44695c065a82e6aa09962b84e86eb1f4f12b87ecd90ca256b5
|
||||
|
@ -1,200 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
inherit pax-utils toolchain-funcs
|
||||
|
||||
MY_PV="${PV//_rc/-rc}"
|
||||
MY_LIBUV_V="2348256acf5759a544e5ca7935f638d2bc091d60"
|
||||
MY_UTF8PROC_V="454f60150c7f023526d353e1e6b386f93ee0b116"
|
||||
MY_LIBWHICH_V="81e9723c0273d78493dc8c8ed570f68d9ce7e89e"
|
||||
MY_DSFMT_V="2.2.3"
|
||||
MY_LLVM="6.0.1"
|
||||
|
||||
DESCRIPTION="High-performance programming language for technical computing"
|
||||
HOMEPAGE="https://julialang.org/"
|
||||
SRC_URI="
|
||||
https://github.com/JuliaLang/${PN}/releases/download/v${MY_PV}/${PN}-${MY_PV}.tar.gz
|
||||
https://api.github.com/repos/JuliaLang/libuv/tarball/${MY_LIBUV_V} -> ${PN}-libuv-${MY_LIBUV_V}.tar.gz
|
||||
https://api.github.com/repos/JuliaLang/utf8proc/tarball/${MY_UTF8PROC_V} -> ${PN}-utf8proc-${MY_UTF8PROC_V}.tar.gz
|
||||
https://api.github.com/repos/vtjnash/libwhich/tarball/${MY_LIBWHICH_V} -> ${PN}-libwhich-${MY_LIBWHICH_V}.tar.gz
|
||||
http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/dSFMT-src-${MY_DSFMT_V}.tar.gz -> ${PN}-dsfmt-${MY_DSFMT_V}.tar.gz
|
||||
http://releases.llvm.org/${MY_LLVM}/llvm-${MY_LLVM}.src.tar.xz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND+="
|
||||
dev-libs/double-conversion:0=
|
||||
dev-libs/gmp:0=
|
||||
dev-libs/libgit2:0=
|
||||
>=dev-libs/libpcre2-10.23:0=[jit]
|
||||
dev-libs/mpfr:0=
|
||||
dev-libs/openspecfun
|
||||
sci-libs/amd:0=
|
||||
sci-libs/arpack:0=
|
||||
sci-libs/camd:0=
|
||||
sci-libs/ccolamd:0=
|
||||
sci-libs/cholmod:0=
|
||||
sci-libs/colamd:0=
|
||||
sci-libs/fftw:3.0=[threads]
|
||||
sci-libs/openlibm:0=
|
||||
sci-libs/spqr:0=
|
||||
sci-libs/umfpack:0=
|
||||
sci-mathematics/glpk:0=
|
||||
>=sys-libs/libunwind-1.1:0=
|
||||
sys-libs/readline:0=
|
||||
sys-libs/zlib:0=
|
||||
>=virtual/blas-3.6
|
||||
virtual/lapack"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-vcs/git
|
||||
dev-util/patchelf
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.1.0-fix_build_system.patch
|
||||
"${FILESDIR}"/${PN}-1.1.0-fix_llvm_install.patch
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
src_unpack() {
|
||||
tounpack=(${A})
|
||||
# the main source tree, followed by deps
|
||||
unpack "${A/%\ */}"
|
||||
|
||||
mkdir -p "${S}/deps/srccache/"
|
||||
for i in "${tounpack[@]:1}"; do
|
||||
cp "${DISTDIR}/${i}" "${S}/deps/srccache/${i#julia-}" || die
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Sledgehammer:
|
||||
# - prevent fetching of bundled stuff in compile and install phase
|
||||
# - respect CFLAGS
|
||||
# - respect EPREFIX and Gentoo specific paths
|
||||
# - fix BLAS and LAPACK link interface
|
||||
|
||||
sed -i \
|
||||
-e 's|git submodule|${EPREFIX}/bin/true|g' \
|
||||
-e "s|GENTOOCFLAGS|${CFLAGS}|g" \
|
||||
-e "s|/usr/include|${EPREFIX}/usr/include|g" \
|
||||
deps/Makefile || die
|
||||
|
||||
local libblas="$($(tc-getPKG_CONFIG) --libs-only-l blas)"
|
||||
libblas="${libblas%% *}"
|
||||
libblas="lib${libblas#-l}"
|
||||
local liblapack="$($(tc-getPKG_CONFIG) --libs-only-l lapack)"
|
||||
liblapack="${liblapack%% *}"
|
||||
liblapack="lib${liblapack#-l}"
|
||||
|
||||
sed -i \
|
||||
-e "s|GENTOOCFLAGS|${CFLAGS}|g" \
|
||||
-e "s|GENTOOLIBDIR|$(get_libdir)|" \
|
||||
-e "s|^JULIA_COMMIT = .*|JULIA_COMMIT = v${PV}|" \
|
||||
-e "s|-lblas|$($(tc-getPKG_CONFIG) --libs blas)|" \
|
||||
-e "s|= libblas|= ${libblas}|" \
|
||||
-e "s|-llapack|$($(tc-getPKG_CONFIG) --libs lapack)|" \
|
||||
-e "s|= liblapack|= ${liblapack}|" \
|
||||
Make.inc || die
|
||||
|
||||
sed -i \
|
||||
-e "s|,lib)|,$(get_libdir))|g" \
|
||||
-e "s|\$(BUILD)/lib|\$(BUILD)/$(get_libdir)|g" \
|
||||
Makefile || die
|
||||
|
||||
sed -i \
|
||||
-e "s|ar -rcs|$(tc-getAR) -rcs|g" \
|
||||
src/Makefile || die
|
||||
|
||||
# disable doc install starting git fetching
|
||||
sed -i -e 's~install: $(build_depsbindir)/stringreplace $(BUILDROOT)/doc/_build/html/en/index.html~install: $(build_depsbindir)/stringreplace~' Makefile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# julia does not play well with the system versions of dsfmt, libuv,
|
||||
# and utf8proc
|
||||
|
||||
# USE_SYSTEM_LIBM=0 implies using external openlibm
|
||||
cat <<-EOF > Make.user
|
||||
USE_SYSTEM_ARPACK:=1
|
||||
USE_SYSTEM_BLAS:=1
|
||||
USE_SYSTEM_DSFMT:=0
|
||||
USE_SYSTEM_GMP:=1
|
||||
USE_SYSTEM_GRISU:=1
|
||||
USE_SYSTEM_LAPACK:=1
|
||||
USE_SYSTEM_LIBGIT2:=1
|
||||
USE_SYSTEM_LIBM:=0
|
||||
USE_SYSTEM_LIBUNWIND:=1
|
||||
USE_SYSTEM_LIBUV:=0
|
||||
USE_SYSTEM_LLVM:=0
|
||||
USE_SYSTEM_MPFR:=1
|
||||
USE_SYSTEM_OPENLIBM:=1
|
||||
USE_SYSTEM_OPENSPECFUN:=1
|
||||
USE_SYSTEM_PATCHELF:=1
|
||||
USE_SYSTEM_PCRE:=1
|
||||
USE_SYSTEM_READLINE:=1
|
||||
USE_SYSTEM_RMATH:=0
|
||||
USE_SYSTEM_SUITESPARSE:=1
|
||||
USE_SYSTEM_UTF8PROC:=0
|
||||
USE_SYSTEM_ZLIB=1
|
||||
VERBOSE=1
|
||||
libdir="${EROOT}/usr/$(get_libdir)"
|
||||
EOF
|
||||
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
# Julia accesses /proc/self/mem on Linux
|
||||
addpredict /proc/self/mem
|
||||
|
||||
emake cleanall
|
||||
emake julia-release \
|
||||
prefix="${EPREFIX}/usr" DESTDIR="${D}" \
|
||||
CC="$(tc-getCC)" CXX="$(tc-getCXX)" \
|
||||
USE_BINARYBUILDER=0
|
||||
pax-mark m $(file usr/bin/julia-* | awk -F : '/ELF/ {print $1}')
|
||||
emake USE_BINARYBUILDER=0
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Julia is special. It tries to find a valid git repository (that would
|
||||
# normally be cloned during compilation/installation). Just make it
|
||||
# happy...
|
||||
git init && \
|
||||
git config --local user.email "whatyoudoing@example.com" && \
|
||||
git config --local user.name "Whyyyyyy" && \
|
||||
git commit -a --allow-empty -m "initial" || die "git failed"
|
||||
|
||||
emake install \
|
||||
prefix="${EPREFIX}/usr" DESTDIR="${D}" \
|
||||
CC="$(tc-getCC)" CXX="$(tc-getCXX)" \
|
||||
USE_BINARYBUILDER=0
|
||||
cat > 99julia <<-EOF
|
||||
LDPATH=${EROOT}/usr/$(get_libdir)/julia
|
||||
EOF
|
||||
doenvd 99julia
|
||||
|
||||
dodoc README.md
|
||||
|
||||
mv "${ED}"/usr/etc/julia "${ED}"/etc || die
|
||||
rmdir "${ED}"/usr/etc || die
|
||||
mv "${ED}"/usr/share/doc/julia/html "${ED}"/usr/share/doc/${PF} || die
|
||||
rmdir "${ED}"/usr/share/doc/julia || die
|
||||
}
|
@ -1,201 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
inherit pax-utils toolchain-funcs
|
||||
|
||||
MY_PV="${PV//_rc/-rc}"
|
||||
MY_LIBUV_V="35b1504507a7a4168caae3d78db54d1121b121e1"
|
||||
MY_UTF8PROC_V="5c632c57426f2e4246e3b64dd2fd088d3920f9e5"
|
||||
MY_LIBWHICH_V="81e9723c0273d78493dc8c8ed570f68d9ce7e89e"
|
||||
MY_DSFMT_V="2.2.3"
|
||||
MY_LLVM="6.0.1"
|
||||
|
||||
DESCRIPTION="High-performance programming language for technical computing"
|
||||
HOMEPAGE="https://julialang.org/"
|
||||
SRC_URI="
|
||||
https://github.com/JuliaLang/${PN}/releases/download/v${MY_PV}/${PN}-${MY_PV}.tar.gz
|
||||
https://api.github.com/repos/JuliaLang/libuv/tarball/${MY_LIBUV_V} -> ${PN}-libuv-${MY_LIBUV_V}.tar.gz
|
||||
https://api.github.com/repos/JuliaLang/utf8proc/tarball/${MY_UTF8PROC_V} -> ${PN}-utf8proc-${MY_UTF8PROC_V}.tar.gz
|
||||
https://api.github.com/repos/vtjnash/libwhich/tarball/${MY_LIBWHICH_V} -> ${PN}-libwhich-${MY_LIBWHICH_V}.tar.gz
|
||||
http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/dSFMT-src-${MY_DSFMT_V}.tar.gz -> ${PN}-dsfmt-${MY_DSFMT_V}.tar.gz
|
||||
http://releases.llvm.org/${MY_LLVM}/llvm-${MY_LLVM}.src.tar.xz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND+="
|
||||
dev-libs/double-conversion:0=
|
||||
dev-libs/gmp:0=
|
||||
dev-libs/libgit2:0=
|
||||
>=dev-libs/libpcre2-10.23:0=[jit]
|
||||
dev-libs/mpfr:0=
|
||||
dev-libs/openspecfun
|
||||
>=net-libs/mbedtls-2.2
|
||||
net-libs/libssh2
|
||||
sci-libs/amd:0=
|
||||
sci-libs/arpack:0=
|
||||
sci-libs/camd:0=
|
||||
sci-libs/ccolamd:0=
|
||||
sci-libs/cholmod:0=
|
||||
sci-libs/colamd:0=
|
||||
sci-libs/fftw:3.0=[threads]
|
||||
sci-libs/openlibm:0=
|
||||
sci-libs/spqr:0=
|
||||
sci-libs/umfpack:0=
|
||||
sci-mathematics/glpk:0=
|
||||
>=sys-libs/libunwind-1.1:0=
|
||||
sys-libs/readline:0=
|
||||
sys-libs/zlib:0=
|
||||
>=virtual/blas-3.6
|
||||
virtual/lapack"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-vcs/git
|
||||
dev-util/patchelf
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.1.0-fix_build_system.patch
|
||||
"${FILESDIR}"/${PN}-1.1.0-fix_llvm_install.patch
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
src_unpack() {
|
||||
tounpack=(${A})
|
||||
# the main source tree, followed by deps
|
||||
unpack "${A/%\ */}"
|
||||
|
||||
mkdir -p "${S}/deps/srccache/"
|
||||
for i in "${tounpack[@]:1}"; do
|
||||
cp "${DISTDIR}/${i}" "${S}/deps/srccache/${i#julia-}" || die
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Sledgehammer:
|
||||
# - prevent fetching of bundled stuff in compile and install phase
|
||||
# - respect CFLAGS
|
||||
# - respect EPREFIX and Gentoo specific paths
|
||||
# - fix BLAS and LAPACK link interface
|
||||
|
||||
sed -i \
|
||||
-e 's|git submodule|${EPREFIX}/bin/true|g' \
|
||||
-e "s|GENTOOCFLAGS|${CFLAGS}|g" \
|
||||
-e "s|/usr/include|${EPREFIX}/usr/include|g" \
|
||||
deps/Makefile || die
|
||||
|
||||
local libblas="$($(tc-getPKG_CONFIG) --libs-only-l blas)"
|
||||
libblas="${libblas%% *}"
|
||||
libblas="lib${libblas#-l}"
|
||||
local liblapack="$($(tc-getPKG_CONFIG) --libs-only-l lapack)"
|
||||
liblapack="${liblapack%% *}"
|
||||
liblapack="lib${liblapack#-l}"
|
||||
|
||||
sed -i \
|
||||
-e "s|GENTOOCFLAGS|${CFLAGS}|g" \
|
||||
-e "s|GENTOOLIBDIR|$(get_libdir)|" \
|
||||
-e "s|^JULIA_COMMIT = .*|JULIA_COMMIT = v${PV}|" \
|
||||
-e "s|-lblas|$($(tc-getPKG_CONFIG) --libs blas)|" \
|
||||
-e "s|= libblas|= ${libblas}|" \
|
||||
-e "s|-llapack|$($(tc-getPKG_CONFIG) --libs lapack)|" \
|
||||
-e "s|= liblapack|= ${liblapack}|" \
|
||||
Make.inc || die
|
||||
|
||||
sed -i \
|
||||
-e "s|,lib)|,$(get_libdir))|g" \
|
||||
-e "s|\$(BUILD)/lib|\$(BUILD)/$(get_libdir)|g" \
|
||||
Makefile || die
|
||||
|
||||
sed -i \
|
||||
-e "s|ar -rcs|$(tc-getAR) -rcs|g" \
|
||||
src/Makefile || die
|
||||
|
||||
# disable doc install starting git fetching
|
||||
sed -i -e 's~install: $(build_depsbindir)/stringreplace $(BUILDROOT)/doc/_build/html/en/index.html~install: $(build_depsbindir)/stringreplace~' Makefile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# julia does not play well with the system versions of dsfmt, libuv,
|
||||
# and utf8proc
|
||||
|
||||
# USE_SYSTEM_LIBM=0 implies using external openlibm
|
||||
cat <<-EOF > Make.user
|
||||
USE_SYSTEM_LLVM:=0
|
||||
USE_SYSTEM_LIBUNWIND:=1
|
||||
USE_SYSTEM_PCRE:=1
|
||||
USE_SYSTEM_LIBM:=0
|
||||
USE_SYSTEM_OPENLIBM:=1
|
||||
USE_SYSTEM_DSFMT:=0
|
||||
USE_SYSTEM_BLAS:=1
|
||||
USE_SYSTEM_LAPACK:=1
|
||||
USE_SYSTEM_GMP:=1
|
||||
USE_SYSTEM_MPFR:=1
|
||||
USE_SYSTEM_SUITESPARSE:=1
|
||||
USE_SYSTEM_LIBUV:=0
|
||||
USE_SYSTEM_UTF8PROC:=0
|
||||
USE_SYSTEM_MBEDTLS:=1
|
||||
USE_SYSTEM_LIBSSH2:=1
|
||||
USE_SYSTEM_CURL:=1
|
||||
USE_SYSTEM_LIBGIT2:=1
|
||||
USE_SYSTEM_PATCHELF:=1
|
||||
USE_SYSTEM_ZLIB:=1
|
||||
USE_SYSTEM_P7ZIP:=1
|
||||
VERBOSE=1
|
||||
libdir="${EROOT}/usr/$(get_libdir)"
|
||||
EOF
|
||||
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
# Julia accesses /proc/self/mem on Linux
|
||||
addpredict /proc/self/mem
|
||||
|
||||
emake cleanall
|
||||
emake julia-release \
|
||||
prefix="${EPREFIX}/usr" DESTDIR="${D}" \
|
||||
CC="$(tc-getCC)" CXX="$(tc-getCXX)" \
|
||||
USE_BINARYBUILDER=0
|
||||
pax-mark m $(file usr/bin/julia-* | awk -F : '/ELF/ {print $1}')
|
||||
emake USE_BINARYBUILDER=0
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Julia is special. It tries to find a valid git repository (that would
|
||||
# normally be cloned during compilation/installation). Just make it
|
||||
# happy...
|
||||
git init && \
|
||||
git config --local user.email "whatyoudoing@example.com" && \
|
||||
git config --local user.name "Whyyyyyy" && \
|
||||
git commit -a --allow-empty -m "initial" || die "git failed"
|
||||
|
||||
emake install \
|
||||
prefix="${EPREFIX}/usr" DESTDIR="${D}" \
|
||||
CC="$(tc-getCC)" CXX="$(tc-getCXX)" \
|
||||
USE_BINARYBUILDER=0
|
||||
cat > 99julia <<-EOF
|
||||
LDPATH=${EROOT}/usr/$(get_libdir)/julia
|
||||
EOF
|
||||
doenvd 99julia
|
||||
|
||||
dodoc README.md
|
||||
|
||||
mv "${ED}"/usr/etc/julia "${ED}"/etc || die
|
||||
rmdir "${ED}"/usr/etc || die
|
||||
mv "${ED}"/usr/share/doc/julia/html "${ED}"/usr/share/doc/${PF} || die
|
||||
rmdir "${ED}"/usr/share/doc/julia || die
|
||||
}
|
@ -1,192 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
RESTRICT="splitdebug"
|
||||
|
||||
inherit llvm pax-utils toolchain-funcs
|
||||
|
||||
MY_PV="${PV//_rc/-rc}"
|
||||
MY_CACERT_V="2020-01-01"
|
||||
MY_DSFMT_V="2.2.3"
|
||||
MY_LIBGIT2_V="b3e1a56ebb2b9291e82dc027ba9cbcfc3ead54d3"
|
||||
MY_LIBUV_V="35b1504507a7a4168caae3d78db54d1121b121e1"
|
||||
MY_LIBWHICH_V="81e9723c0273d78493dc8c8ed570f68d9ce7e89e"
|
||||
MY_PKG_V="49908bffe83790bc7cf3c5d46faf3667f8902ad4"
|
||||
MY_UTF8PROC_V="5c632c57426f2e4246e3b64dd2fd088d3920f9e5"
|
||||
|
||||
DESCRIPTION="High-performance programming language for technical computing"
|
||||
HOMEPAGE="https://julialang.org/"
|
||||
SRC_URI="
|
||||
https://github.com/JuliaLang/${PN}/releases/download/v${MY_PV}/${PN}-${MY_PV}.tar.gz
|
||||
https://api.github.com/repos/JuliaLang/libuv/tarball/${MY_LIBUV_V} -> ${PN}-libuv-${MY_LIBUV_V}.tar.gz
|
||||
https://api.github.com/repos/JuliaLang/utf8proc/tarball/${MY_UTF8PROC_V} -> ${PN}-utf8proc-${MY_UTF8PROC_V}.tar.gz
|
||||
https://api.github.com/repos/libgit2/libgit2/tarball/${MY_LIBGIT2_V} -> ${PN}-libgit2-${MY_LIBGIT2_V}.tar.gz
|
||||
https://api.github.com/repos/vtjnash/libwhich/tarball/${MY_LIBWHICH_V} -> ${PN}-libwhich-${MY_LIBWHICH_V}.tar.gz
|
||||
https://curl.haxx.se/ca/cacert-${MY_CACERT_V}.pem -> ${PN}-cacert-${MY_CACERT_V}.pem
|
||||
http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/dSFMT-src-${MY_DSFMT_V}.tar.gz -> ${PN}-dsfmt-${MY_DSFMT_V}.tar.gz
|
||||
https://dev.gentoo.org/~tamiko/distfiles/Pkg-${MY_PKG_V}.tar.gz -> ${PN}-Pkg-${MY_PKG_V}.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
sys-devel/llvm:9=[llvm_targets_NVPTX(-)]
|
||||
"
|
||||
LLVM_MAX_SLOT=9
|
||||
|
||||
RDEPEND+="
|
||||
dev-libs/double-conversion:0=
|
||||
dev-libs/gmp:0=
|
||||
>=dev-libs/libpcre2-10.23:0=[jit,unicode]
|
||||
dev-libs/mpfr:0=
|
||||
dev-libs/openspecfun
|
||||
>=net-libs/mbedtls-2.2
|
||||
net-libs/libssh2
|
||||
sci-libs/amd:0=
|
||||
sci-libs/arpack:0=
|
||||
sci-libs/camd:0=
|
||||
sci-libs/ccolamd:0=
|
||||
sci-libs/cholmod:0=
|
||||
sci-libs/colamd:0=
|
||||
sci-libs/fftw:3.0=[threads]
|
||||
sci-libs/openlibm:0=
|
||||
sci-libs/spqr:0=
|
||||
sci-libs/umfpack:0=
|
||||
sci-mathematics/glpk:0=
|
||||
>=sys-libs/libunwind-1.1:0=
|
||||
sys-libs/readline:0=
|
||||
sys-libs/zlib:0=
|
||||
>=virtual/blas-3.6
|
||||
virtual/lapack"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/patchelf
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.1.0-fix_build_system.patch
|
||||
"${FILESDIR}"/${PN}-1.1.0-fix_llvm_install.patch
|
||||
"${FILESDIR}"/${PN}-1.4.0-no_symlink_llvm.patch
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
src_unpack() {
|
||||
tounpack=(${A})
|
||||
# the main source tree, followed by deps
|
||||
unpack "${A/%\ */}"
|
||||
|
||||
mkdir -p "${S}/deps/srccache/"
|
||||
for i in "${tounpack[@]:1}"; do
|
||||
if [[ $i == *Pkg* ]] || [[ $i = *Statistics* ]]; then
|
||||
# Bundled Pkg and Statistics packages go into ./stdlib
|
||||
local tarball="${i#julia-}"
|
||||
cp "${DISTDIR}/${i}" "${S}/stdlib/srccache/${tarball}" || die
|
||||
# and we have to fix up the sha1sum
|
||||
local name="${tarball%-*}"
|
||||
local sha1="${tarball#*-}"
|
||||
sha1="${sha1%.tar*}"
|
||||
einfo "using patched stdlib package \"${name}\""
|
||||
sed -i -e "s/PKG_SHA1 = .*/PKG_SHA1 = ${sha1}/" "${S}/stdlib/${name}.version" || die
|
||||
else
|
||||
cp "${DISTDIR}/${i}" "${S}/deps/srccache/${i#julia-}" || die
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Sledgehammer:
|
||||
# - prevent fetching of bundled stuff in compile and install phase
|
||||
# - respect CFLAGS
|
||||
# - respect EPREFIX and Gentoo specific paths
|
||||
|
||||
sed -i \
|
||||
-e "s|git submodule|${EPREFIX}/bin/true|g" \
|
||||
-e "s|GENTOOCFLAGS|${CFLAGS}|g" \
|
||||
-e "s|/usr/include|${EPREFIX}/usr/include|g" \
|
||||
deps/Makefile || die
|
||||
|
||||
sed -i \
|
||||
-e "s|GENTOOCFLAGS|${CFLAGS}|g" \
|
||||
-e "s|GENTOOLIBDIR|$(get_libdir)|" \
|
||||
Make.inc || die
|
||||
|
||||
sed -i \
|
||||
-e "s|,lib)|,$(get_libdir))|g" \
|
||||
-e "s|\$(BUILD)/lib|\$(BUILD)/$(get_libdir)|g" \
|
||||
Makefile || die
|
||||
|
||||
sed -i \
|
||||
-e "s|ar -rcs|$(tc-getAR) -rcs|g" \
|
||||
src/Makefile || die
|
||||
|
||||
# disable doc install starting git fetching
|
||||
sed -i -e 's~install: $(build_depsbindir)/stringreplace $(BUILDROOT)/doc/_build/html/en/index.html~install: $(build_depsbindir)/stringreplace~' Makefile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# julia does not play well with the system versions of dsfmt, libuv,
|
||||
# and utf8proc
|
||||
|
||||
# USE_SYSTEM_LIBM=0 implies using external openlibm
|
||||
cat <<-EOF > Make.user
|
||||
USE_BINARYBUILDER:=0
|
||||
USE_SYSTEM_LLVM:=1
|
||||
USE_SYSTEM_LIBUNWIND:=1
|
||||
USE_SYSTEM_PCRE:=1
|
||||
USE_SYSTEM_LIBM:=0
|
||||
USE_SYSTEM_OPENLIBM:=1
|
||||
USE_SYSTEM_DSFMT:=0
|
||||
USE_SYSTEM_BLAS:=1
|
||||
USE_SYSTEM_LAPACK:=1
|
||||
USE_SYSTEM_GMP:=1
|
||||
USE_SYSTEM_MPFR:=1
|
||||
USE_SYSTEM_SUITESPARSE:=1
|
||||
USE_SYSTEM_LIBUV:=0
|
||||
USE_SYSTEM_UTF8PROC:=0
|
||||
USE_SYSTEM_MBEDTLS:=1
|
||||
USE_SYSTEM_LIBSSH2:=1
|
||||
USE_SYSTEM_CURL:=1
|
||||
USE_SYSTEM_PATCHELF:=1
|
||||
USE_SYSTEM_ZLIB:=1
|
||||
USE_SYSTEM_P7ZIP:=1
|
||||
VERBOSE=1
|
||||
libdir="${EROOT}/usr/$(get_libdir)"
|
||||
EOF
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
# Julia accesses /proc/self/mem on Linux
|
||||
addpredict /proc/self/mem
|
||||
|
||||
emake julia-release \
|
||||
prefix="${EPREFIX}/usr" DESTDIR="${D}" \
|
||||
CC="$(tc-getCC)" CXX="$(tc-getCXX)"
|
||||
pax-mark m "$(file usr/bin/julia-* | awk -F : '/ELF/ {print $1}')"
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install \
|
||||
prefix="${EPREFIX}/usr" DESTDIR="${D}" \
|
||||
CC="$(tc-getCC)" CXX="$(tc-getCXX)"
|
||||
|
||||
dodoc README.md
|
||||
|
||||
mv "${ED}"/usr/etc/julia "${ED}"/etc || die
|
||||
rmdir "${ED}"/usr/etc || die
|
||||
mv "${ED}"/usr/share/doc/julia/html "${ED}"/usr/share/doc/${PF} || die
|
||||
rmdir "${ED}"/usr/share/doc/julia || die
|
||||
}
|
@ -0,0 +1,99 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 1797df9..90284d8 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -10,11 +10,11 @@ PLAT= guess
|
||||
# so take care if INSTALL_TOP is not an absolute path. See the local target.
|
||||
# You may want to make INSTALL_LMOD and INSTALL_CMOD consistent with
|
||||
# LUA_ROOT, LUA_LDIR, and LUA_CDIR in luaconf.h.
|
||||
-INSTALL_TOP= /usr/local
|
||||
+INSTALL_TOP= /usr
|
||||
INSTALL_BIN= $(INSTALL_TOP)/bin
|
||||
-INSTALL_INC= $(INSTALL_TOP)/include
|
||||
+INSTALL_INC= $(INSTALL_TOP)/include/lua$V
|
||||
INSTALL_LIB= $(INSTALL_TOP)/lib
|
||||
-INSTALL_MAN= $(INSTALL_TOP)/man/man1
|
||||
+INSTALL_MAN= $(INSTALL_TOP)/share/man/man1
|
||||
INSTALL_LMOD= $(INSTALL_TOP)/share/lua/$V
|
||||
INSTALL_CMOD= $(INSTALL_TOP)/lib/lua/$V
|
||||
|
||||
@@ -104,3 +104,18 @@ pc:
|
||||
.PHONY: all $(PLATS) help test clean install uninstall local dummy echo pc
|
||||
|
||||
# (end of Makefile)
|
||||
+
|
||||
+# Use libtool for binary installs, etc.
|
||||
+
|
||||
+export V
|
||||
+export LIBTOOL = $(BROOT)/usr/bin/libtool --quiet --tag=CC
|
||||
+# See libtool manual about how to set this
|
||||
+
|
||||
+gentoo_clean:
|
||||
+ cd src; $(MAKE) $@
|
||||
+
|
||||
+gentoo_install:
|
||||
+ mkdir -p $(INSTALL_BIN) $(INSTALL_INC) $(INSTALL_LIB)
|
||||
+ cd src; $(LIBTOOL) --mode=install $(INSTALL_EXEC) lua$V luac$V $(INSTALL_BIN)
|
||||
+ cd src; $(INSTALL_DATA) $(TO_INC) $(INSTALL_INC)
|
||||
+ cd src; $(LIBTOOL) --mode=install $(INSTALL_DATA) liblua$V.la $(INSTALL_LIB)
|
||||
diff --git a/src/Makefile b/src/Makefile
|
||||
index 514593d..8af8f99 100644
|
||||
--- a/src/Makefile
|
||||
+++ b/src/Makefile
|
||||
@@ -37,10 +37,10 @@ CORE_O= lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem
|
||||
LIB_O= lauxlib.o lbaselib.o lcorolib.o ldblib.o liolib.o lmathlib.o loadlib.o loslib.o lstrlib.o ltablib.o lutf8lib.o linit.o
|
||||
BASE_O= $(CORE_O) $(LIB_O) $(MYOBJS)
|
||||
|
||||
-LUA_T= lua
|
||||
+LUA_T= lua$V
|
||||
LUA_O= lua.o
|
||||
|
||||
-LUAC_T= luac
|
||||
+LUAC_T= luac$V
|
||||
LUAC_O= luac.o
|
||||
|
||||
ALL_O= $(BASE_O) $(LUA_O) $(LUAC_O)
|
||||
@@ -60,10 +60,10 @@ $(LUA_A): $(BASE_O)
|
||||
$(AR) $@ $(BASE_O)
|
||||
$(RANLIB) $@
|
||||
|
||||
-$(LUA_T): $(LUA_O) $(LUA_A)
|
||||
+origin$(LUA_T): $(LUA_O) $(LUA_A)
|
||||
$(CC) -o $@ $(LDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)
|
||||
|
||||
-$(LUAC_T): $(LUAC_O) $(LUA_A)
|
||||
+origin$(LUAC_T): $(LUAC_O) $(LUA_A)
|
||||
$(CC) -o $@ $(LDFLAGS) $(LUAC_O) $(LUA_A) $(LIBS)
|
||||
|
||||
test:
|
||||
@@ -218,3 +218,30 @@ lzio.o: lzio.c lprefix.h lua.h luaconf.h llimits.h lmem.h lstate.h \
|
||||
lobject.h ltm.h lzio.h
|
||||
|
||||
# (end of Makefile)
|
||||
+
|
||||
+export LIBTOOL = $(BROOT)/usr/bin/libtool --quiet --tag=CC
|
||||
+export LIB_VERSION = 6:1:1
|
||||
+
|
||||
+# The following rules use libtool for compiling and linking in order to
|
||||
+# provide shared library support.
|
||||
+
|
||||
+LIB_NAME = liblua$V.la
|
||||
+LIB_OBJS = $(CORE_O:.o=.lo) $(LIB_O:.o=.lo)
|
||||
+
|
||||
+%.lo %.o: %.c
|
||||
+ $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $<
|
||||
+
|
||||
+$(LIB_NAME): $(LIB_OBJS)
|
||||
+ $(LIBTOOL) --mode=link $(CC) -version-info $(LIB_VERSION) \
|
||||
+ -rpath $(RPATH) $(LDFLAGS) -o $(LIB_NAME) $(LIB_OBJS) $(LIB_LIBS)
|
||||
+
|
||||
+$(LUA_T): $(LUA_O:.o=.lo) $(LIB_NAME)
|
||||
+ $(LIBTOOL) --mode=link $(CC) -static -export-dynamic $(LDFLAGS) -o $@ $(LUA_O:.o=.lo) $(LIB_NAME) $(LUA_LIBS)
|
||||
+
|
||||
+$(LUAC_T): $(LUAC_O:.o=.lo) $(LIB_NAME)
|
||||
+ $(LIBTOOL) --mode=link $(CC) -static $(LDFLAGS) -o $@ $(LUAC_O:.o=.lo) $(LIB_NAME)
|
||||
+
|
||||
+gentoo_clean:
|
||||
+ $(LIBTOOL) --mode=clean $(RM) $(ALL_O:.o=.lo) $(LIB_NAME) lua$V luac$V
|
||||
+
|
||||
+gentoo_all: $(LIB_NAME) $(LUA_T) $(LUAC_T)
|
@ -0,0 +1,197 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit autotools multilib multilib-minimal portability toolchain-funcs
|
||||
|
||||
DESCRIPTION="A powerful light-weight programming language designed for extending applications"
|
||||
HOMEPAGE="http://www.lua.org/"
|
||||
TEST_PV="5.4.2"
|
||||
TEST_P="${PN}-${TEST_PV}-tests"
|
||||
SRC_URI="
|
||||
http://www.lua.org/ftp/${P}.tar.gz
|
||||
test? ( https://www.lua.org/tests/${TEST_P}.tar.gz )"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="5.4"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="+deprecated readline test test-complete"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=app-eselect/eselect-lua-3
|
||||
readline? ( sys-libs/readline:0= )
|
||||
!dev-lang/lua:0"
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
BDEPEND="sys-devel/libtool"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/lua${SLOT}/luaconf.h
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/lua-5.4.2-make.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# use glibtool on Darwin (versus Apple libtool)
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
sed -i -e '/LIBTOOL = /s:/libtool:/glibtool:' \
|
||||
Makefile src/Makefile || die
|
||||
fi
|
||||
|
||||
# correct lua versioning
|
||||
sed -i -e 's/\(LIB_VERSION = \)6:1:1/\10:0:0/' src/Makefile || die
|
||||
|
||||
sed -i -e 's:\(/README\)\("\):\1.gz\2:g' doc/readme.html || die
|
||||
|
||||
# Using dynamic linked lua is not recommended for performance
|
||||
# reasons. http://article.gmane.org/gmane.comp.lang.lua.general/18519
|
||||
# Mainly, this is of concern if your arch is poor with GPRs, like x86
|
||||
# Note that this only affects the interpreter binary (named lua), not the lua
|
||||
# compiler (built statically) nor the lua libraries.
|
||||
|
||||
# upstream does not use libtool, but we do (see bug #336167)
|
||||
cp "${FILESDIR}/configure.in" "${S}/configure.ac" || die
|
||||
eautoreconf
|
||||
|
||||
# custom Makefiles
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
sed -i \
|
||||
-e 's:\(define LUA_ROOT\s*\).*:\1"'${EPREFIX}'/usr/":' \
|
||||
-e "s:\(define LUA_CDIR\s*LUA_ROOT \"\)lib:\1$(get_libdir):" \
|
||||
src/luaconf.h \
|
||||
|| die "failed patching luaconf.h"
|
||||
|
||||
econf
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
tc-export CC
|
||||
|
||||
# what to link to liblua
|
||||
liblibs="-lm"
|
||||
liblibs="${liblibs} $(dlopen_lib)"
|
||||
|
||||
# what to link to the executables
|
||||
mylibs=
|
||||
use readline && mylibs="-lreadline"
|
||||
|
||||
cd src
|
||||
|
||||
local myCFLAGS=""
|
||||
use deprecated && myCFLAGS="-DLUA_COMPAT_5_3"
|
||||
use readline && myCFLAGS="-DLUA_USE_READLINE"
|
||||
|
||||
case "${CHOST}" in
|
||||
*-mingw*) : ;;
|
||||
*) myCFLAGS+=" -DLUA_USE_LINUX" ;;
|
||||
esac
|
||||
|
||||
emake CC="${CC}" CFLAGS="${myCFLAGS} ${CFLAGS}" \
|
||||
SYSLDFLAGS="${LDFLAGS}" \
|
||||
RPATH="${EPREFIX}/usr/$(get_libdir)/" \
|
||||
LUA_LIBS="${mylibs}" \
|
||||
LIB_LIBS="${liblibs}" \
|
||||
V=$(ver_cut 1-2) \
|
||||
gentoo_all
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake INSTALL_TOP="${ED}/usr" INSTALL_LIB="${ED}/usr/$(get_libdir)" \
|
||||
V=${SLOT} gentoo_install
|
||||
|
||||
case $SLOT in
|
||||
0)
|
||||
LIBNAME="lua"
|
||||
INCLUDEDIR_SUFFIX=''
|
||||
;;
|
||||
*) LIBNAME="lua${SLOT}"
|
||||
INCLUDEDIR_SUFFIX="/lua${SLOT}"
|
||||
;;
|
||||
esac
|
||||
|
||||
# We want packages to find our things...
|
||||
# A slotted Lua uses different directories for headers & names for
|
||||
# libraries, and pkgconfig should reflect that.
|
||||
local PATCH_PV=$(ver_cut 1-2)
|
||||
cp "${FILESDIR}/lua.pc" "${WORKDIR}" || die
|
||||
sed -r -i \
|
||||
-e "/^INSTALL_INC=/s,(/include)$,\1/lua${SLOT}," \
|
||||
-e "s:^prefix= :prefix= ${EPREFIX}:" \
|
||||
-e "s:^V=.*:V= ${PATCH_PV}:" \
|
||||
-e "s:^R=.*:R= ${PV}:" \
|
||||
-e "s:/,lib,:/$(get_libdir):g" \
|
||||
-e "/^Libs:/s:( )(-llua)($| ):\1-l${LIBNAME}\3:" \
|
||||
-e "/^includedir=/s:include$:include${INCLUDEDIR_SUFFIX}:" \
|
||||
"${WORKDIR}/lua.pc" || die
|
||||
|
||||
insinto "/usr/$(get_libdir)/pkgconfig"
|
||||
newins "${WORKDIR}/lua.pc" "lua${SLOT}.pc"
|
||||
# Copy Debian's symlink support:
|
||||
# https://salsa.debian.org/lua-team/lua5.3/blob/master/debian/rules#L19
|
||||
# FreeBSD calls the pkgconfig 'lua-5.3.pc'
|
||||
# Older systems called it 'lua53.pc'
|
||||
dosym "lua${SLOT}.pc" "/usr/$(get_libdir)/pkgconfig/lua-${SLOT}.pc"
|
||||
dosym "lua${SLOT}.pc" "/usr/$(get_libdir)/pkgconfig/lua${SLOT/.}.pc"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
DOCS="README"
|
||||
HTML_DOCS="doc/*.html doc/*.png doc/*.css doc/*.gif"
|
||||
einstalldocs
|
||||
newman doc/lua.1 lua${SLOT}.1
|
||||
newman doc/luac.1 luac${SLOT}.1
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
find "${ED}" -name 'liblua*.a' -delete || die
|
||||
}
|
||||
|
||||
# Makefile contains a dummy target that doesn't do tests
|
||||
# but causes issues with slotted lua (bug #510360)
|
||||
src_test() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
cd "${WORKDIR}/lua-${TEST_PV}-tests" || die
|
||||
# https://www.lua.org/tests/
|
||||
# There are two sets:
|
||||
# basic
|
||||
# complete.
|
||||
#
|
||||
# The basic subset is selected by passing -e'_U=true'
|
||||
# The complete set is noted to contain tests that may consume too much memory or have non-portable tests.
|
||||
# attrib.lua for example needs some multilib customization (have to compile the stuff in libs/ for each ABI)
|
||||
TEST_OPTS="$(usex test-complete '' '-e_U=true')"
|
||||
TEST_MARKER="${T}/test.failed"
|
||||
rm -f "${TEST_MARKER}"
|
||||
|
||||
# If we are failing, set the marker file, and only check it after done all ABIs
|
||||
abi_src_test() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
TEST_LOG="${T}/test.${MULTIBUILD_ID}.log"
|
||||
eval "${BUILD_DIR}"/src/lua${SLOT} ${TEST_OPTS} all.lua 2>&1 | tee "${TEST_LOG}" || die
|
||||
grep -sq -e "final OK" "${TEST_LOG}" || echo "FAIL ${MULTIBUILD_ID}" >>"${TEST_MARKER}"
|
||||
return 0
|
||||
}
|
||||
|
||||
multilib_foreach_abi abi_src_test
|
||||
|
||||
if [ -e "${TEST_MARKER}" ]; then
|
||||
cat "${TEST_MARKER}"
|
||||
die "Tests failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect lua set --if-unset "${PN}${SLOT}"
|
||||
|
||||
if has_version "app-editor/emacs"; then
|
||||
if ! has_version "app-emacs/lua-mode"; then
|
||||
einfo "Install app-emacs/lua-mode for lua support for emacs"
|
||||
fi
|
||||
fi
|
||||
}
|
@ -0,0 +1,180 @@
|
||||
https://github.com/Perl/perl5/pull/17946
|
||||
https://bugs.gentoo.org/757249
|
||||
---
|
||||
From b382aafc793fe1007f9058a5145a1d39d56cef70 Mon Sep 17 00:00:00 2001
|
||||
From: Adam Hartley <git@ahartley.com>
|
||||
Date: Mon, 6 Jul 2020 22:59:42 +0100
|
||||
Subject: [PATCH 1/7] Add 11.x support for darwin.sh
|
||||
|
||||
---
|
||||
hints/darwin.sh | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/hints/darwin.sh b/hints/darwin.sh
|
||||
index 0a91bc083c0..c0f06de1cab 100644
|
||||
--- a/hints/darwin.sh
|
||||
+++ b/hints/darwin.sh
|
||||
@@ -301,7 +301,7 @@ case "$osvers" in # Note: osvers is the kernel version, not the 10.x
|
||||
# We now use MACOSX_DEPLOYMENT_TARGET, if set, as an override by
|
||||
# capturing its value and adding it to the flags.
|
||||
case "$MACOSX_DEPLOYMENT_TARGET" in
|
||||
- 10.*)
|
||||
+ 10.* | 11.*)
|
||||
add_macosx_version_min ccflags $MACOSX_DEPLOYMENT_TARGET
|
||||
add_macosx_version_min ldflags $MACOSX_DEPLOYMENT_TARGET
|
||||
;;
|
||||
@@ -327,7 +327,7 @@ EOM
|
||||
# "ProductVersion: 10.11" "10.11"
|
||||
prodvers=`sw_vers|awk '/^ProductVersion:/{print $2}'|awk -F. '{print $1"."$2}'`
|
||||
case "$prodvers" in
|
||||
- 10.*)
|
||||
+ 10.* | 11.*)
|
||||
add_macosx_version_min ccflags $prodvers
|
||||
add_macosx_version_min ldflags $prodvers
|
||||
;;
|
||||
|
||||
From 960d1a5c4225d1dd12636a469e10a568464e4e7c Mon Sep 17 00:00:00 2001
|
||||
From: Adam Hartley <git@ahartley.com>
|
||||
Date: Wed, 8 Jul 2020 19:10:33 +0100
|
||||
Subject: [PATCH 3/7] Update error message
|
||||
|
||||
---
|
||||
hints/darwin.sh | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/hints/darwin.sh b/hints/darwin.sh
|
||||
index c0f06de1cab..988b766c4f4 100644
|
||||
--- a/hints/darwin.sh
|
||||
+++ b/hints/darwin.sh
|
||||
@@ -313,7 +313,7 @@ case "$osvers" in # Note: osvers is the kernel version, not the 10.x
|
||||
|
||||
*** Unexpected MACOSX_DEPLOYMENT_TARGET=$MACOSX_DEPLOYMENT_TARGET
|
||||
***
|
||||
-*** Please either set it to 10.something, or to empty.
|
||||
+*** Please either set it to 10.something, 11.something or to empty.
|
||||
|
||||
EOM
|
||||
exit 1
|
||||
|
||||
From d633cced1d5174e19c5f2234a9fb4c7603cfb9db Mon Sep 17 00:00:00 2001
|
||||
From: Adam Hartley <git@ahartley.com>
|
||||
Date: Sat, 11 Jul 2020 11:41:27 +0100
|
||||
Subject: [PATCH 4/7] Update deprecated syscall check for 11.x and greater
|
||||
|
||||
---
|
||||
hints/darwin.sh | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/hints/darwin.sh b/hints/darwin.sh
|
||||
index 988b766c4f4..4f73a9995e7 100644
|
||||
--- a/hints/darwin.sh
|
||||
+++ b/hints/darwin.sh
|
||||
@@ -342,11 +342,11 @@ EOM
|
||||
exit 1
|
||||
esac
|
||||
|
||||
- # The X in 10.X
|
||||
+ prodvers_major=$(echo $prodvers|awk -F. '{print $1}')
|
||||
prodvers_minor=$(echo $prodvers|awk -F. '{print $2}')
|
||||
|
||||
# macOS (10.12) deprecated syscall().
|
||||
- if [ "$prodvers_minor" -ge 12 ]; then
|
||||
+ if [[ ( "$prodvers_minor" -ge 12 && "$prodvers_major" -eq 10 ) || "$prodvers_major" -ge 11 ]]; then
|
||||
d_syscall='undef'
|
||||
# If deploying to pre-10.12, suppress Time::HiRes's detection of the system clock_gettime()
|
||||
case "$MACOSX_DEPLOYMENT_TARGET" in
|
||||
|
||||
From 9c3890f8521a7db6d9b2aa21561c7d0dae9fb91d Mon Sep 17 00:00:00 2001
|
||||
From: Adam Hartley <BytesGuy@users.noreply.github.com>
|
||||
Date: Wed, 22 Jul 2020 13:15:30 +0100
|
||||
Subject: [PATCH 5/7] Simplify syscall check
|
||||
|
||||
---
|
||||
hints/darwin.sh | 7 +++----
|
||||
1 file changed, 3 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/hints/darwin.sh b/hints/darwin.sh
|
||||
index 4f73a9995e7..40c84cf267a 100644
|
||||
--- a/hints/darwin.sh
|
||||
+++ b/hints/darwin.sh
|
||||
@@ -342,11 +342,10 @@ EOM
|
||||
exit 1
|
||||
esac
|
||||
|
||||
- prodvers_major=$(echo $prodvers|awk -F. '{print $1}')
|
||||
- prodvers_minor=$(echo $prodvers|awk -F. '{print $2}')
|
||||
+ darwin_major=$(echo $osvers|awk -F. '{print $1}')
|
||||
|
||||
- # macOS (10.12) deprecated syscall().
|
||||
- if [[ ( "$prodvers_minor" -ge 12 && "$prodvers_major" -eq 10 ) || "$prodvers_major" -ge 11 ]]; then
|
||||
+ # macOS 10.12 (darwin 6.0.0) deprecated syscall().
|
||||
+ if [ "$darwin_major" -ge 6 ]; then
|
||||
d_syscall='undef'
|
||||
# If deploying to pre-10.12, suppress Time::HiRes's detection of the system clock_gettime()
|
||||
case "$MACOSX_DEPLOYMENT_TARGET" in
|
||||
|
||||
From 99ff8934992102a3db63805e8ba9710577de164e Mon Sep 17 00:00:00 2001
|
||||
From: Adam Hartley <BytesGuy@users.noreply.github.com>
|
||||
Date: Wed, 22 Jul 2020 13:15:53 +0100
|
||||
Subject: [PATCH 6/7] Update darwin.sh
|
||||
|
||||
---
|
||||
hints/darwin.sh | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/hints/darwin.sh b/hints/darwin.sh
|
||||
index 40c84cf267a..1709d224f7c 100644
|
||||
--- a/hints/darwin.sh
|
||||
+++ b/hints/darwin.sh
|
||||
@@ -344,8 +344,8 @@ EOM
|
||||
|
||||
darwin_major=$(echo $osvers|awk -F. '{print $1}')
|
||||
|
||||
- # macOS 10.12 (darwin 6.0.0) deprecated syscall().
|
||||
- if [ "$darwin_major" -ge 6 ]; then
|
||||
+ # macOS 10.12 (darwin 16.0.0) deprecated syscall().
|
||||
+ if [ "$darwin_major" -ge 16 ]; then
|
||||
d_syscall='undef'
|
||||
# If deploying to pre-10.12, suppress Time::HiRes's detection of the system clock_gettime()
|
||||
case "$MACOSX_DEPLOYMENT_TARGET" in
|
||||
|
||||
From 1b712e4b359d9508461a0a832d06baa6e589b955 Mon Sep 17 00:00:00 2001
|
||||
From: Adam Hartley <BytesGuy@users.noreply.github.com>
|
||||
Date: Thu, 23 Jul 2020 19:53:07 +0100
|
||||
Subject: [PATCH 7/7] Future proof version check
|
||||
|
||||
---
|
||||
hints/darwin.sh | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/hints/darwin.sh b/hints/darwin.sh
|
||||
index 1709d224f7c..fdfbdd4a3b9 100644
|
||||
--- a/hints/darwin.sh
|
||||
+++ b/hints/darwin.sh
|
||||
@@ -301,7 +301,7 @@ case "$osvers" in # Note: osvers is the kernel version, not the 10.x
|
||||
# We now use MACOSX_DEPLOYMENT_TARGET, if set, as an override by
|
||||
# capturing its value and adding it to the flags.
|
||||
case "$MACOSX_DEPLOYMENT_TARGET" in
|
||||
- 10.* | 11.*)
|
||||
+ [1-9][0-9].*)
|
||||
add_macosx_version_min ccflags $MACOSX_DEPLOYMENT_TARGET
|
||||
add_macosx_version_min ldflags $MACOSX_DEPLOYMENT_TARGET
|
||||
;;
|
||||
@@ -313,7 +313,7 @@ case "$osvers" in # Note: osvers is the kernel version, not the 10.x
|
||||
|
||||
*** Unexpected MACOSX_DEPLOYMENT_TARGET=$MACOSX_DEPLOYMENT_TARGET
|
||||
***
|
||||
-*** Please either set it to 10.something, 11.something or to empty.
|
||||
+*** Please either set it to a valid macOS version number (e.g., 10.15) or to empty.
|
||||
|
||||
EOM
|
||||
exit 1
|
||||
@@ -327,7 +327,7 @@ EOM
|
||||
# "ProductVersion: 10.11" "10.11"
|
||||
prodvers=`sw_vers|awk '/^ProductVersion:/{print $2}'|awk -F. '{print $1"."$2}'`
|
||||
case "$prodvers" in
|
||||
- 10.* | 11.*)
|
||||
+ [1-9][0-9].*)
|
||||
add_macosx_version_min ccflags $prodvers
|
||||
add_macosx_version_min ldflags $prodvers
|
||||
;;
|
@ -1,12 +1,15 @@
|
||||
AUX tcl-8.5.13-multilib.patch 258 BLAKE2B ca0453e8e0f6fdc1302f024ff81a8a6e012d0bfce592b990a349b10bed87d2adbb5dd0f68590373604327074d8da0bddeedb74549a5b33babaeba565838bf3f5 SHA512 7c5e06ba1028016abb6d1b3160834e311044c85db8ee1ba4f4b4d7a961096afeebff4164b276907de8b807ea8138225f1cad7641f2221284383aa31423353924
|
||||
AUX tcl-8.5.14-conf.patch 427 BLAKE2B c7d97bccebc45beec003bcf005fab6ed7f544744d81f08778a997b767ea0a60fd07f7b7cbc464ef8252e47717b34c0c42c871331a04740e23caeddbfb351de16 SHA512 e8097acb127966e6f2914c888278acdd9042d881b4d9436853ad7ed2361e8d67a372d4b0b0d5f0333e6bf90220e72df5c5eeffd4b44bc8e94ea9631ddc98cf16
|
||||
AUX tcl-8.6.10-multilib.patch 382 BLAKE2B 048865231ab45fefcd7bf708ba301809f358d7eddc45adc108c022768887ffb3e9912de9ab4ab4822453efe5c70a435ebcd61d7aedaf796b4b00b574ae6a318e SHA512 d0500d5dd7ae2f382221fd4f1a63d2ef689023b8873f6682f87b482ef601bd881a16321c02010067ae0a50e70ea75ccdb8b34753d809e9f7d591c279d344d6be
|
||||
AUX tcl-8.6.8-conf.patch 401 BLAKE2B 278502e983b8c831a2bfe5e61c31d32181558aaebccb2c7a64c52c387ce674ad1543dcedb7b73bfa748e8b40424a59e4696057e3a7f6d0e9f7ddbe838473995f SHA512 8524f80bb54851fc28f1994cbbd9c78756f9f9b1ca31a2f602e2cc557bbb22093bb6cce0ce5099cb90847f3c0ed20503a3d122abb400482869afd2469b3867b8
|
||||
AUX tcl-8.6.8-libieee.patch 708 BLAKE2B ec8422ce98c68f2dd347bea807059fd8ee94fcd4540bdeb4c8d90cd7f028ff3dbe406ed26593ebd8815e611a1ae40390b4194bf8d3efd1863e8c15d04918681c SHA512 b25d2fbfc753296cef11b1943e19537aaf9f048f033078e516f36bc021107197f77b8f142fc7ace89ae6bdda037871ce7a5c45800ef0bebd04f77a5281bff457
|
||||
AUX tcl-8.6.9-include-spec.patch 488 BLAKE2B 06aa49163e8316b409238055d4b2ef67a3b37bdad69a190d39ce46a32dbd38320397b206036428c81e4a001ee0c01ee70f5970f584f919d0e5348000c7f93711 SHA512 ca4fc3ca2b3963d9c1b9b1c716e9c508d8c7aeaaad4b39c502472f3592c60907dbcda656369af371ec6c21f06a6dbc50fa02994a15284bedbdb22616ca9340ba
|
||||
DIST tcl-core8.6.10-src.tar.gz 6008840 BLAKE2B 592f708492e56da3577f190adc3da4f2979f32a570dfc29cb53fde58a83d804223dfe9527b76d094de3005a6e12dda73674573bab3af2e591b4573163b81b9c0 SHA512 de31ac8fc5226c831198af88befa05ccb1842dcfd209690e25b907f062033b3ae7a77bc12e85c4210ce85cfd7c598060e03fc81b0e624d422bfe4df655cc9068
|
||||
DIST tcl-core8.6.8-src.tar.gz 5887483 BLAKE2B 2b8428652e451b817fe63a811f910001929cdcbc8a8361cdf4f7df8e13cbf9b18c94a91c22c0f09cc46dc0174a66c44774b485539a8f24c14faee6658547b6b8 SHA512 36e6079b582c205e8c89435b361ef96550541357f473aea2ca4e6f01bd84e50ebd1474a75a1ae90640b9a5b392fb01ddfa71f0fa28e409b3569d88c32b4ddb69
|
||||
DIST tcl-core8.6.9-src.tar.gz 5932010 BLAKE2B ddc0cff12aeeebbf8d1c799db9e154a9ecbe2a2e2afce97c6f15c408301b7a40119bd1c861aa724c178bd9abfe0616c7bcafd9cf6714ed49cf882c9085222cf3 SHA512 306a38a27729b764bae2eae6c4cdd8cd6aee5de6bd924d6a487c8691ee874e4459abc1fa785183c2f6ff4d2d57be98093dd7460c5a668cf994e8f1c31516ae67
|
||||
DIST tcl8.5.17-src.tar.gz 4546317 BLAKE2B 27031dd3bd5790d03692e77edf91eb7fae8a40d8d193d8c8ce4e79b21f90e683bfc9d5b71764760223987fb163be844e6096d0aea1058b8ce255731d97e2a0ea SHA512 ad5ddb4cd6378fd6bbea8cd85ceb1cf90392b2e8c49fbfb3e4b35c81d3ae3e3f087697c41fcba8c8e06de1d9e7539397e26d58b864dc01ba65abe4ba4efa9568
|
||||
EBUILD tcl-8.5.17-r1.ebuild 3744 BLAKE2B 29003c3f0cfa65053f5d5cf1edc0efdb715999bd9fd7bac626ed1c48a5d509a9d4f92b638ba7d9b6641d60420c0811a0183fcf60845c9c382e7954b4ae0aff68 SHA512 c7e8b858cbd6aa63d018cf6e7806c166524b32e8fc57ec43688329e8c803546a084d265f681360afd31aa4eebb5e71b47d5459b8beb0f1a643b1dd5960d4320d
|
||||
EBUILD tcl-8.6.10.ebuild 4052 BLAKE2B f7c40d8a1460cec488d0dae7bfb197db706275d6a4e5f6cc7dcfd5d95713d647b7fbafe893d3cea634bfc8ec35f5483b4264706b2c80a42ccb18cb12ba8835cc SHA512 8c2910105b91d5fcb00bd8988d09c8c50f6c4819cb598ca82aaa845eec11a346ef258f62a14ec6b74155c9cb5c41feee33369d98aa88e0984c37338d1640417a
|
||||
EBUILD tcl-8.6.8.ebuild 3964 BLAKE2B d8c006d3404047dcb9f9ee120085bbe34889a5bf76dc38ba2ae511d353800ab06f93305d9f95426f3a4af2ab82dab2e15c25d95b81ed655a01790611496b1030 SHA512 715a16e0c5d846007e360fb67ed2168e5fa94411cd696c5ea55a59811499aefd3ec955406aba68447acb6f4f2ad4c64c9c80a80c77c92ae486356dbaab543a5e
|
||||
EBUILD tcl-8.6.9-r1.ebuild 3942 BLAKE2B fb6c064cd1b8ef6043f0da8a1b7efa28faee2718c2245a1259207b27eef127d420b1088d0be0d2089d78162478d555ee41ef663f5c435a379d0bdc1c34d2f8ee SHA512 9125bcb8a24b10be93422b89c8e174f42b4b3876d61dac9e144ea4f047d33165c3a81852aa23692333f0a752db7d08ef86fa182b32053a7591975fdae8056e9c
|
||||
MISC metadata.xml 318 BLAKE2B 7ea8e51656c255c3aea3bee8849423604a164efff556974f6032de44d33e38bb0378b69c18821cc76f0284064bc84a1a56e79f522f8d7fb0adc50e2e191b5fca SHA512 61f3feb8311f1babb8a4df8c9fcddaab009ffc6d69248f18cb9e001a1659dfcf47f2699008ab83fb563b3417f6ead8113af20db7e3893f488e8d75bb2a3483cf
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- a/unix/configure.in 2020-12-26 10:39:12.107965844 +0100
|
||||
+++ b/unix/configure.in 2020-12-26 10:39:44.821378776 +0100
|
||||
@@ -773,7 +773,7 @@
|
||||
|
||||
eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
|
||||
|
||||
-test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(prefix)/lib/tcl$(VERSION)'
|
||||
+test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(libdir)/tcl$(VERSION)'
|
||||
PRIVATE_INCLUDE_DIR='$(includedir)'
|
||||
HTML_DIR='$(DISTDIR)/html'
|
||||
|
@ -0,0 +1,136 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools flag-o-matic multilib-minimal toolchain-funcs
|
||||
|
||||
MY_P="${PN}${PV}"
|
||||
|
||||
DESCRIPTION="Tool Command Language"
|
||||
HOMEPAGE="http://www.tcl.tk/"
|
||||
SRC_URI="mirror://sourceforge/tcl/${PN}-core${PV}-src.tar.gz"
|
||||
|
||||
LICENSE="tcltk"
|
||||
SLOT="0/8.6"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug +threads"
|
||||
|
||||
RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
SPARENT="${WORKDIR}/${MY_P}"
|
||||
S="${SPARENT}"/unix
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-multilib.patch
|
||||
"${FILESDIR}"/${PN}-8.6.8-conf.patch # Bug 125971
|
||||
"${FILESDIR}"/${PN}-8.6.9-include-spec.patch # Bug 731120
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
find \
|
||||
"${SPARENT}"/compat/* \
|
||||
"${SPARENT}"/doc/try.n \
|
||||
-delete || die
|
||||
|
||||
pushd "${SPARENT}" &>/dev/null || die
|
||||
default
|
||||
popd &>/dev/null || die
|
||||
|
||||
# httpold tests require netowk
|
||||
rm ../tests/httpold.test \
|
||||
../tests/env.test \
|
||||
../tests/http.test \
|
||||
|| die
|
||||
|
||||
# workaround stack check issues, bug #280934
|
||||
use hppa && append-cflags "-DTCL_NO_STACK_CHECK=1"
|
||||
|
||||
tc-export CC
|
||||
|
||||
sed \
|
||||
-e '/chmod/s:555:755:g' \
|
||||
-i Makefile.in || die
|
||||
|
||||
sed \
|
||||
-e 's:-O[2s]\?::g' \
|
||||
-i tcl.m4 || die
|
||||
|
||||
mv configure.{in,ac} || die
|
||||
|
||||
eautoconf
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# We went ahead and deleted the whole compat/ subdir which means
|
||||
# the configure tests to detect broken versions need to pass (else
|
||||
# we'll fail to build). This comes up when cross-compiling, but
|
||||
# might as well get a minor configure speed up normally.
|
||||
export ac_cv_func_memcmp_working="yes"
|
||||
export tcl_cv_str{str,toul,tod}_unbroken="ok"
|
||||
export tcl_cv_strtod_buggy="no"
|
||||
|
||||
econf \
|
||||
$(use_enable threads) \
|
||||
$(use_enable debug symbols)
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
#short version number
|
||||
local v1=$(ver_cut 1-2)
|
||||
local mylibdir=$(get_libdir)
|
||||
|
||||
S= default
|
||||
# fix the tclConfig.sh to eliminate refs to the build directory
|
||||
# and drop unnecessary -L inclusion to default system libdir
|
||||
|
||||
sed \
|
||||
-e "/^TCL_BUILD_LIB_SPEC=/s:-L$(pwd) *::g" \
|
||||
-e "/^TCL_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
|
||||
-e "/^TCL_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tcl${v1}/include:g" \
|
||||
-e "/^TCL_BUILD_STUB_LIB_SPEC=/s:-L$(pwd) *::g" \
|
||||
-e "/^TCL_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
|
||||
-e "/^TCL_BUILD_STUB_LIB_PATH=/s:$(pwd):${EPREFIX}/usr/${mylibdir}:g" \
|
||||
-e "/^TCL_LIBW_FILE=/s:'libtcl${v1}..TCL_DBGX..so':\"libtcl${v1}\$\{TCL_DBGX\}.so\":g" \
|
||||
-i "${ED}"/usr/${mylibdir}/tclConfig.sh || die
|
||||
if use prefix && [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then
|
||||
sed \
|
||||
-e "/^TCL_CC_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|g" \
|
||||
-e "/^TCL_LD_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|" \
|
||||
-i "${ED}"/usr/${mylibdir}/tclConfig.sh || die
|
||||
fi
|
||||
|
||||
# install private headers
|
||||
insinto /usr/${mylibdir}/tcl${v1}/include/unix
|
||||
doins *.h
|
||||
insinto /usr/${mylibdir}/tcl${v1}/include/generic
|
||||
doins "${SPARENT}"/generic/*.h
|
||||
rm -f "${ED}"/usr/${mylibdir}/tcl${v1}/include/generic/{tcl,tclDecls,tclPlatDecls}.h || die
|
||||
|
||||
# install symlink for libraries
|
||||
dosym libtcl${v1}$(get_libname) /usr/${mylibdir}/libtcl$(get_libname)
|
||||
dosym libtclstub${v1}.a /usr/${mylibdir}/libtclstub.a
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
dosym tclsh${v1} /usr/bin/tclsh
|
||||
dodoc "${SPARENT}"/{ChangeLog*,README.md,changes}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
for version in ${REPLACING_VERSIONS}; do
|
||||
if ver_test 8.6 -lt ${version}; then
|
||||
echo
|
||||
ewarn "You're upgrading from <${P}, you must recompile the other"
|
||||
ewarn "packages on your system that link with tcl after the upgrade"
|
||||
ewarn "completes. To perform this action, please run revdep-rebuild"
|
||||
ewarn "in package app-portage/gentoolkit."
|
||||
ewarn "If you have dev-lang/tk and dev-tcltk/tclx installed you should"
|
||||
ewarn "upgrade them before this recompilation, too,"
|
||||
echo
|
||||
fi
|
||||
done
|
||||
}
|
Binary file not shown.
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="C++ class library of cryptographic schemes"
|
||||
HOMEPAGE="https://cryptopp.com"
|
||||
SRC_URI="https://www.cryptopp.com/cryptopp${PV//.}.zip"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT="0/8" # subslot is so version
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x64-macos"
|
||||
IUSE="+asm static-libs"
|
||||
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
config_uncomment() {
|
||||
sed -i -e "s://\s*\(#define\s*$1\):\1:" config.h || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
use asm || config_uncomment CRYPTOPP_DISABLE_ASM
|
||||
|
||||
# ASM isn't Darwin/Mach-O ready, #479554, buildsys doesn't grok CPPFLAGS
|
||||
[[ ${CHOST} == *-darwin* ]] && config_uncomment CRYPTOPP_DISABLE_ASM
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export CXX="$(tc-getCXX)"
|
||||
export LIBDIR="${EPREFIX}/usr/$(get_libdir)"
|
||||
export PREFIX="${EPREFIX}/usr"
|
||||
tc-export AR RANLIB
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -f GNUmakefile all shared libcryptopp.pc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
use static-libs || rm -f "${ED}"/usr/$(get_libdir)/*.a
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="NVIDIA Accelerated Deep Learning on GPU library"
|
||||
HOMEPAGE="https://developer.nvidia.com/cuDNN"
|
||||
|
||||
SRC_URI="cuda11-1? ( cudnn-11.1-linux-x64-v${PV}.tgz )
|
||||
cuda11-0? ( cudnn-11.0-linux-x64-v${PV}.tgz )
|
||||
cuda10-2? ( cudnn-10.2-linux-x64-v${PV}.tgz )
|
||||
cuda10-1? ( cudnn-10.1-linux-x64-v${PV}.tgz )"
|
||||
|
||||
SLOT="0/8"
|
||||
KEYWORDS="~amd64 ~amd64-linux"
|
||||
RESTRICT="fetch"
|
||||
LICENSE="NVIDIA-cuDNN"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
IUSE="cuda10-1 cuda10-2 cuda11-0 +cuda11-1"
|
||||
REQUIRED_USE="^^ ( cuda10-2 cuda10-1 cuda11-0 cuda11-1 )"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
DEPEND="cuda11-1? ( =dev-util/nvidia-cuda-toolkit-11.1* )
|
||||
cuda11-0? ( =dev-util/nvidia-cuda-toolkit-11.0* )
|
||||
cuda10-2? ( =dev-util/nvidia-cuda-toolkit-10.2* )
|
||||
cuda10-1? ( =dev-util/nvidia-cuda-toolkit-10.1* )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
insinto /opt/cuda
|
||||
doins cuda/NVIDIA_SLA_cuDNN_Support.txt
|
||||
|
||||
insinto /opt/cuda/targets/x86_64-linux/include
|
||||
doins -r cuda/include/*
|
||||
|
||||
insinto /opt/cuda/targets/x86_64-linux/lib
|
||||
doins -r cuda/lib*/*
|
||||
}
|
@ -1,9 +1,5 @@
|
||||
DIST libzia-4.21.tar.gz 631871 BLAKE2B 8c54ae86e38569914c05da6c11b8ffe2c349884fb4e8ea00b05b88da12f6ee4e80ddac82f1790b67586c24d9df5b0ab71053fc80479cfdde22250a034db6dbef SHA512 e4277dfc3c004a0a1d1ccd8a11431e46344763ff5df68403b451e2be4b6bd00862fe2af0e15ce9017c3d6144d301e792f9279632687697e0dd4a238c805b04a8
|
||||
DIST libzia-4.22.tar.gz 626973 BLAKE2B 6cc87ce5bb11824fc6fbaebbf1ab3c4728884d626c18455088e02d61f84d361f194d07567eed5408671e0c31c015e1fb1d9245294457e699a0342f8487778023 SHA512 1b04460e3706e13e7b6e680a1c58c72131a7f7436a40e9b74ddfd1119cb8507e509658081b9d2daa8eb085f101091a897f8ffec518d74d4409cbd07d999d2c40
|
||||
DIST libzia-4.23.tar.gz 627405 BLAKE2B 913173aca367dd660b8e04502e1198072e99e9ece5cd30ef2d4ad528292b3aba00799d89ee336bdf6a1cebf43118610caddfeeedccdd4b5af48bd54ac795066b SHA512 c34aff9b8a19713ea9881ea5a58a038fe7f0127c3503c845ecd6187ab07f90f7ae2727331e43b9cfb6b8db15d8dcbf80b2e1f4105bb4a34e9b30d9778d3a815b
|
||||
DIST libzia-4.24.tar.gz 630318 BLAKE2B 83792c75e776b039788d46568a967690e10086b1f5daf3304a658721f1139bbed65b41a8fdcfe213757d342287696c383be7668be111896388b292086ca2cd0a SHA512 e7952822861d7702494309d70e9d7385c5dfa929b521387bc81883d4316a5fae96c5776b00f81da6dcbaa2965fdf30ac8a8a1b9963806d36454ebd6886ddcbd1
|
||||
EBUILD libzia-4.21.ebuild 838 BLAKE2B ff1f384a87ddb0b798b03c8f04b83f86168b4e45755f12d979825d4ffcc234784cfcd52773ca37eefc6cd04885946d25bab069b542faf6ccbeca3dfbc3c512f9 SHA512 edc8c49c7186755c8dd25cc0d2958c27c26d9f607804fccdb3a85debb8bba4edc3f124ba044712273411909781a06072f301db8e121d2df08a5389df3d5ed6d5
|
||||
EBUILD libzia-4.22.ebuild 963 BLAKE2B a2193135182336fdf555b83670eb02a97cc10aca94a4058b8cce044b3aafedc0c4126534ca3fc47ba5bfc3e5297def41c702de85a173ac1e678597ab4cd7a55d SHA512 68eddffdc4734b8e54f38e886f9bb8a510927210190c538f935f0da982b4ba850e4fa3234678804392c4ba21931d8f1dde5859aa1ef7817ea87c09573704a4d7
|
||||
EBUILD libzia-4.23.ebuild 963 BLAKE2B a2193135182336fdf555b83670eb02a97cc10aca94a4058b8cce044b3aafedc0c4126534ca3fc47ba5bfc3e5297def41c702de85a173ac1e678597ab4cd7a55d SHA512 68eddffdc4734b8e54f38e886f9bb8a510927210190c538f935f0da982b4ba850e4fa3234678804392c4ba21931d8f1dde5859aa1ef7817ea87c09573704a4d7
|
||||
EBUILD libzia-4.24.ebuild 965 BLAKE2B 43c805e94e0a1a466a0c6bd427320f29130991ed079deff9a3fe3d0858db261e2a59550bb883ab6c6fda8f7542422abb3f473377b7fa3553e5bd0e1df35ecbdb SHA512 cf875842735ff957b9385fdfe0ac37ae50cd5196ac2c3d3f87c91f37ddd242ade6efc402e65884222e789ff2c08e3b44625f9613c36ccd7f2369214feec1bcc9
|
||||
MISC metadata.xml 325 BLAKE2B 749bbcd37b8ec3f3b537e5cca5abba07f042c3f0f56e07786633d5a68eec8242e5f9269c1cdc2b6d2862766cbb9c0bf5ebf971a7a35537c368fb033a52c1be12 SHA512 a406f9e74ba2f99af089909a9a0aef44da9ae1261a61d76cc4689e3d80e610f8610fe54ec3da3441e53c9e1f8c18487eb5662bbbc488a50b48844814cd235f2c
|
||||
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="platform abstraction code for tucnak package"
|
||||
HOMEPAGE="http://tucnak.nagano.cz"
|
||||
SRC_URI="http://tucnak.nagano.cz/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="ftdi"
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
x11-libs/gtk+:2
|
||||
media-libs/libsdl
|
||||
media-libs/libpng:0
|
||||
ftdi? ( dev-embedded/libftdi:0 )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
MAKEOPTS+=" -j1"
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
sed -i -e "s/docsdir/#docsdir/g" \
|
||||
-e "s/docs_/#docs_/g" Makefile.am || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with ftdi) --with-sdl \
|
||||
--with-png --without-bfd \
|
||||
--disable-static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
find "${D}" -name '*.la' -type f -delete || die
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="platform abstraction code for tucnak package"
|
||||
HOMEPAGE="http://tucnak.nagano.cz"
|
||||
SRC_URI="http://tucnak.nagano.cz/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="ftdi"
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
x11-libs/gtk+:2
|
||||
media-libs/libsdl
|
||||
media-libs/libpng:0
|
||||
ftdi? ( dev-embedded/libftdi:0 )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
MAKEOPTS+=" -j1"
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
sed -i -e "s/docsdir/#docsdir/g" \
|
||||
-e "s/docs_/#docs_/g" Makefile.am || die
|
||||
|
||||
# Fix QA-Warning "QA Notice: pkg-config files with wrong LDFLAGS detected"
|
||||
sed -i -e 's/@LDFLAGS@//' libzia.pc.in || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with ftdi) --with-sdl \
|
||||
--with-png --without-bfd \
|
||||
--disable-static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
find "${D}" -name '*.la' -type f -delete || die
|
||||
}
|
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
DIST luadoc-3.0.1.tar.gz 108824 BLAKE2B 52092feeb22cdcd7570ba5d54c57598d16688daba7c90d81dc975cfd2545c5e42e6f4b8f1bdc150c877f6b953cbb193d03d1a02f0ac48cfbc5cf1ec4a91b101c SHA512 413b40e72cc0699c00caf47fe3d7233c8619bfd6064eac001762bcb2ae0b21ccc6f800bd05566cd83924546e5616d1e5840d8bc20ec6d1f1c7a64910a9df6be2
|
||||
EBUILD luadoc-3.0.1.ebuild 704 BLAKE2B aba9f49249c841012ecb6023cf9c1969000047965b3a293d779ee5af8bef86d797e03f59f6a548e82a3f865d94f2d5b1dd095c6654df4d76103a7349dabbeed4 SHA512 992219bf8e942992060b2d4f9d840fe98e1974461ab2575345ebca88cb4a6fd5254d2b5ada04fd742f9ef220c667b93af83b3c7b16c63c3cdec77bf9f0269038
|
||||
MISC metadata.xml 467 BLAKE2B 2ee83fad4c920b67cbd3b33312fe0868251d2dde132a0585a6d78a5ab27b3c4be10449143b71a4190fea548aee552a984693df9394e12c8329a4d70c221a4a3a SHA512 347b4a6ba41d274b379700ae75682edcbf5db33bb6e3365149721ee7ab6e118e9210090f914efacd13a1b1d584f67e7763edd41d0ce5aeda5f40057d74152924
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="LuaDoc is a documentation tool for Lua source code"
|
||||
HOMEPAGE="http://luadoc.luaforge.net/"
|
||||
SRC_URI="http://luaforge.net/frs/download.php/3185/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm ppc ppc64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=dev-lang/lua-5.1.3
|
||||
dev-lua/luafilesystem"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-e "s|/usr/local|\$(DESTDIR)/usr|" \
|
||||
-e "s|lib|$(get_libdir)|" \
|
||||
-e "s|lua5.1|lua|" \
|
||||
config || die
|
||||
|
||||
# lua-5.1.3
|
||||
find . -name '*.lua' -exec sed -i -e "s/gfind/gmatch/g" {} + || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
docinto html
|
||||
dodoc -r doc/us/.
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<longdescription lang="en">
|
||||
LuaDoc is a documentation generator tool for Lua source code.
|
||||
It parses the declarations and documentation comments in a set of Lua
|
||||
source files and produces a set of XHTML pages describing the commented
|
||||
declarations and functions.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -1,7 +1,3 @@
|
||||
DIST argcomplete-1.12.0.tar.gz 53625 BLAKE2B 29b4f620537a087629c63dc71c6a0101d40967145680518b566b9c81e3e744c5d73e1ed016795f0ea4338be4e8f20b7df1968e388e1ff09308e012ed1ba6d0c0 SHA512 5e21e3caf1dcee661c0dadf28d7b127147325475fe3ae569fae8797a762c34b55125df9f52de8d76f0aa6dd4efdac260a358b325a7659beae02b1dedab501c18
|
||||
DIST argcomplete-1.12.1.tar.gz 53677 BLAKE2B 85c5d75b59875b6fe5bb932ed05916f3af23ef64b993544c69ae431d9e6b5d8c23a9bd35d76b570538ce8e722a6ffc8cbcbfbc9209fbf29ddb000c60a809c03c SHA512 236871966361ac781c04f52c02d90c20badabad12d34bd7c5cb1cf1a74d442f9147e04b320530b55abc0490f7bcd11494cdc13ed5c339c91737f1c979010d096
|
||||
DIST argcomplete-1.12.2.tar.gz 53861 BLAKE2B 59a8472818aef4967cb978302bd98b206b206beaf37ac7743b1e3460e3f184e4fe2dccbb48e1b436dfd1127248d3fa2f10ace81ba35c744d93adb5efedd7e470 SHA512 3099507eac285b396df1c02d7e7bdedc1dd26aaf599a81147ebaabe211a97362ddb94533c9bc733d30a9fe84fcb9d6b52794e4c12f99f881b320280d0d1479f0
|
||||
EBUILD argcomplete-1.12.0-r1.ebuild 837 BLAKE2B 854f8cdceb843ad602bbf6990f87f65af2014c0db0bf22b7efd50a000e983e6da5453a5823e007d84cd1e3debf3ed4228a32969277a49f5514dddc8612bf33b6 SHA512 7a487867cc788f382f2a33fd3e870d8ebdfc1abf75cdf78da270978defa07c7b1387589c3abec343d060dba5c41fb40671f7999ea49808a4a1e16272ab4b557b
|
||||
EBUILD argcomplete-1.12.1-r1.ebuild 837 BLAKE2B 5c23f44b26c0cd7d3428a23ab27abd6ba3037d4bc51a5051f36478963059117a68f7e3458c5e8caa060a914f908a362dbec71a279186957b8179d770fdbd4836 SHA512 34cb046f79af7fb846ccbad048fe65e2b201cfe9203e2d6c56f4932e012c9461e4588ff1456c7b8be8d822413b933dc68d217ea397d4a68f473183b327b851e4
|
||||
EBUILD argcomplete-1.12.2.ebuild 845 BLAKE2B e4b5274d0ddef1cd9fc44ce31a5fe3b45efe058f6bd4afe8073a8d89a54e6242254f4ed9350609b3828f9d482efb402b94cdfd28eacd238aff7e945900166aea SHA512 9064048d5c985a95d09802ceb031a2417efa3e755e5fc4a33496fc4aabc38068d3596da2c071667ded79b5cfd662d276e31b74550f80d068d9cbe6fec41dff1b
|
||||
EBUILD argcomplete-1.12.2.ebuild 837 BLAKE2B 5c23f44b26c0cd7d3428a23ab27abd6ba3037d4bc51a5051f36478963059117a68f7e3458c5e8caa060a914f908a362dbec71a279186957b8179d770fdbd4836 SHA512 34cb046f79af7fb846ccbad048fe65e2b201cfe9203e2d6c56f4932e012c9461e4588ff1456c7b8be8d822413b933dc68d217ea397d4a68f473183b327b851e4
|
||||
MISC metadata.xml 410 BLAKE2B 5cc57d8d5fce195e6c050674f8626a6b2a884a956306c668a40fb81c3bed51d9dd8a23c4b69cca5ece9facdd6d459341abc2e5fd4454b1f3614b5866b3501682 SHA512 9a04c26c63f40f33ed3f5d004e5a0478dcaa5f90c363f1364ee14f309433d65e3db5809b3fa8b504c4d4f961b79a8ae39efbd6b3af1fe1cf681ad1f4f9a89fc3
|
||||
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Bash tab completion for argparse"
|
||||
HOMEPAGE="https://pypi.org/project/argcomplete/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep '
|
||||
<dev-python/importlib_metadata-2[${PYTHON_USEDEP}]
|
||||
' -2 python3_{5,6,7} pypy3)"
|
||||
# pip is called as an external tool
|
||||
BDEPEND="
|
||||
test? (
|
||||
app-shells/fish
|
||||
app-shells/tcsh
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
>=dev-python/pip-19
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" test/test.py -v || die
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Bash tab completion for argparse"
|
||||
HOMEPAGE="https://pypi.org/project/argcomplete/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep '
|
||||
<dev-python/importlib_metadata-3[${PYTHON_USEDEP}]
|
||||
' -2 python3_{5,6,7} pypy3)"
|
||||
# pip is called as an external tool
|
||||
BDEPEND="
|
||||
test? (
|
||||
app-shells/fish
|
||||
app-shells/tcsh
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
>=dev-python/pip-19
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" test/test.py -v || die
|
||||
}
|
@ -1,7 +1,3 @@
|
||||
DIST httpretty-0.9.6.tar.gz 7147633 BLAKE2B e1d02ddfce5ca987c6ef1a17723544f86a8573c2a6a26ec197072021e52015efce5064af21bfbe1ec03f3ac11c21717a80f114b5be2526b113e3bc0a608702f4 SHA512 bc1c64d34370209c732bc12dd9935600b647507ab2c8f18c85f348e9b5e853618ba39e10e5a073b35036e6cbe3db2cb7a342a721d0e4affa81fe178fd0b75d92
|
||||
DIST httpretty-1.0.2.tar.gz 399185 BLAKE2B 033e954fccf6a351c09dac3c1585ddc65f064eca109dfd8f499fd510ea09ba3ce5198d3f4b54fb832b47425ab721ddc1b2da596b6066028bda1f0a1303cdc0ed SHA512 f9ef1c82f4fe3a31696e06228cea512664c5118b3c32910d7810d1fcf16b05d31b9b55db7bb6bd64967aadb162a2952757627439769db9117164b8248de9049c
|
||||
DIST httpretty-1.0.3.tar.gz 411707 BLAKE2B b2211457c937e19f8110bc28446a2b78a8042a742341c0492589def7447e819f051d301e9d254260778f349302ccf6fc163a9f2280a55af925ae353752450320 SHA512 a6349257376c12198d0bf7923245c34f6b8a0889946ba0c2551fd3379a8d9a8e4610de81c66f945656c1879ad3fb1485f2f4148634fcc4e156b9f0a59f7dd758
|
||||
EBUILD httpretty-0.9.6.ebuild 1027 BLAKE2B 0309210657bdf6837a4fe2be9a7aca3ace9ef7483274045053a6b16d6f86268f0ed2c433bdc67c332b166da9e4525e3606d224091b61c4c3f92d2cc4448637e7 SHA512 5e8b08de759503299d45fe8bbe0e05dbc2669e98bcf923d58e45fd8c678f7e7fbed69139a31c65e92bddd816af9fb7b34582e6bb1eb81ed6179a22a3f00f8b8c
|
||||
EBUILD httpretty-1.0.2-r1.ebuild 1336 BLAKE2B 2925512848a8da4f8d707e8422f398212e146168d7eb669a6eef6f510d05a2822c43d595d6e4296e300249be3169260b8f7263e7a6e7a7d7c2b39041e9b4c5b8 SHA512 15b950045d0edf254f3349b3e0ddfaf241f824cb0f2273aa6a4351522bbd783b90eaa8f88b3dacd45de8df99e6a1f6e57bcc1d75a0672e34046c8ad0563a6bb3
|
||||
EBUILD httpretty-1.0.3.ebuild 1342 BLAKE2B 6e4806f5107a21995add20a1781ff3465a68672e0801ef83308dff1e7c18429a550830016cac8404665ee06f57edd3ac62865f730394f396c08b0a04aa552330 SHA512 0a33064f1ab6f53f01bfa441ffe06017dc07ee3ea4fa83d1bc329ea8ebc9f0cb2160651095428d57ee47be59a9acc7a48d8dcba089e62cd2044052cf894859c1
|
||||
EBUILD httpretty-1.0.3.ebuild 1335 BLAKE2B ad4c6ac33e39b4ee70c3931016113264651ed87d4deadf5c4c67a0378fd741c7fef0304c8620c1d763683cbf04b3e92429d365cf7bca0841afa20b35d366419f SHA512 ad1b4e93a1ae1759e1c0977b33f3a4c1b144f7b4ec669ddae1acba5fcee504afeb8f6c5c48be1edad8fa24a102d10e75e7e95e770750334b4922d92a115678e9
|
||||
MISC metadata.xml 615 BLAKE2B cbb8f3643ad93eb01b98baccd41c86da491499f068f5fbfab8d9baeef534b1d71b118c798f0d09777c251694492a55cf1e9bcd8be619c5fecaad63fd8ce52c56 SHA512 9cfef8b6e35ad7a533ef9b8efe991b0e248e6ab0444a169aa47111373d4da464d883cde23a4d6a6a2920ae5b92270ff18ae87b7f41fc2f87cde4595f9b0b2c85
|
||||
|
@ -1,43 +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} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="HTTP client mock for Python"
|
||||
HOMEPAGE="https://github.com/gabrielfalcao/httpretty"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="amd64 ~arm64 ppc64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/urllib3[${PYTHON_USEDEP}]"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/nose-1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
dev-python/sure[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-1.1[${PYTHON_USEDEP}]
|
||||
>=www-servers/tornado-2.2[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_prepare_all() {
|
||||
# remove useless deps
|
||||
sed -i -e '/randomly/d' -e '/rednose/d' setup.cfg || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests -v tests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="HTTP client mock for Python"
|
||||
HOMEPAGE="https://github.com/gabrielfalcao/httpretty"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="amd64 arm arm64 ppc ~ppc64 sparc x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/urllib3[${PYTHON_USEDEP}]"
|
||||
# redis skipped as it requires a redis server running
|
||||
DEPEND="
|
||||
test? (
|
||||
dev-python/eventlet[${PYTHON_USEDEP}]
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
>=dev-python/nose-1.2[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-1.1[${PYTHON_USEDEP}]
|
||||
dev-python/sure[${PYTHON_USEDEP}]
|
||||
>=www-servers/tornado-2.2[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_prepare_all() {
|
||||
# remove useless deps
|
||||
sed -i -e '/randomly/d' -e '/rednose/d' setup.cfg || die
|
||||
# tests requiring network access
|
||||
rm tests/functional/test_passthrough.py || die
|
||||
# requires running redis server
|
||||
# it is skipped correctly but it causes unnecessary dep on redis-py
|
||||
rm tests/functional/bugfixes/test_redis.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests -v tests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,13 +1,9 @@
|
||||
DIST importlib_metadata-1.7.0.tar.gz 29233 BLAKE2B a8cd97a384ab06201025fcbdc401fb25788c2eb1dd4f1697ca00e79634cbce32b984cb8a7c2aeacfb0871f92857d08f3ce9c3ae43d698df7401db91add07b6ca SHA512 31f7cda6a1149ca2040032945b19b55d2e97ef8be67db1423c2c2cbb79da3dead46338f3c9eb03b46f9202fca08ed7bf388adc25d34903ddff4b2873c8a89aba
|
||||
DIST importlib_metadata-2.0.0.tar.gz 29289 BLAKE2B 4ec24db057006affe1dee20e021a47d385770b1aa905db4ff4223d59f19b53dc85c21475875074664a84a0fb6994493735f5e098d38f938816ebc69dced7a40d SHA512 3f789d717f04f7649dd4a75895669b4f9b875671937035c1c76bd089504afff8c2ba5bfb6a91096ba29eccadc88dca98ea1da5107772fd2053541db15c52b16a
|
||||
DIST importlib_metadata-3.1.0.tar.gz 29246 BLAKE2B 2144e10601e089e26e1d85269ed067d505de8ca86071524e038e87850420f42701b36fad5e1fe01529230333d5f23e0882f17a279bacfa39da335f3d968987dd SHA512 24d20d7658c2d15d2207d3660bd181016a16d0a2e3c86b8e86f7f95baab18f01f1a8753942d15ab648a40431bfc6db7d5109339575ef1a50802403eb580baede
|
||||
DIST importlib_metadata-3.1.1.tar.gz 32217 BLAKE2B 85155574f554146d89fedbaeffa5b5842c5c76f98d0f8488a019cded9fc7e45323b31a9cb612f81c379feb822a0e5a44f86566510c5bccaa344cbe10ef8676e9 SHA512 a0a3fc0c4cb08ba5676ae144a2176e9b2e02d122a09c1be67fe0c1e1c8304aeac4f624fa060898b20f99f67f9cfee2bdf1177d82cd12e5879edfa268e02cdce3
|
||||
DIST importlib_metadata-3.2.0.tar.gz 32793 BLAKE2B e99fc4544ec64bc320754b1bac80ab021fd4212930cb2b28fc44cd6f6c9691214fce2fc408aa65147ae45df589e5ad64d4681e29620a16ffd1d3231faebde077 SHA512 3e744ebaa4606477252243b6e473c33b70332879385719835a4187d5edad135f0f9076c26e4843aea4497c2a5a2b51fa7b5654e9ff97a8f5ec3808053dccc734
|
||||
DIST importlib_metadata-3.3.0.tar.gz 33549 BLAKE2B 6646cf7f8dbbeeadd7b4e9e572a59c14e2f17444dcd84aef817e27b299cbc3f0fa868657a59221a42ea8c49c5cc75e9e170a787df3e3014808d19eff1f89debf SHA512 af2215405b0f7e120d2745f3736d021174e611ad226abe64b496192a210e85786e78560349f1188deb3bffbfceb36385e9fbac20f4447aafb025a1d735c333ac
|
||||
EBUILD importlib_metadata-1.7.0-r2.ebuild 996 BLAKE2B 2e04af2cd739c2f896b5380dd73625c88cc76150bb8ad9ed1f73a71d253132e6afb272263dcb38383965f620e97696ec57eba41e72aed3673dd140a8e2411dd4 SHA512 1d5a62e708c34147dd3a25f77565c1ab4298ed0c0915f4c056cc7199edc854e2d86aff18dff6e5028ec3f03c03e697525d7c06470d0f68e652d3bb62e1152ad1
|
||||
EBUILD importlib_metadata-2.0.0.ebuild 1050 BLAKE2B 6657fb32eb94f02f06e5e09c75cf824278b45d8e9411da2eb5279dcc60c7a3be5018782380a44ac12e6c0421346815f0dcf2d9bfd2af38a57e5e5c842c98363f SHA512 990434854cc236cdf4eb6b44525007dd385985783d7e7387eb6c9d0dd0455c9afc152a30f51e932ad909fac3cb5e46c3b34b250705b5f86d1212255b35b6a5fa
|
||||
EBUILD importlib_metadata-3.1.0.ebuild 1016 BLAKE2B 59cf223d538c76d04291195d5c6af921dcce936eb936a168114ef20df8db04cd84eb2adf5e743d0d57d8095b87bc9e1e6fa4e1ef5acad670ec27e017a81880cd SHA512 7dbbd757b1c9ef77646cf095b4b42c03b1d397dea0cb74216b381c03870f9de536b529e8513d41b68def070ded09704530f20feef00724ef875a7c351362e9d7
|
||||
EBUILD importlib_metadata-3.1.0.ebuild 1008 BLAKE2B 7255bba30420cdde3405e5fa0c351700cb03caeaf1ca87068877072e65461874ae9a0c5a32c3c894b0c59da37b12a0e146c7e917e1ed24486bfe3c6ee8d62484 SHA512 6dfc50b17e21f401ed8295282dd458dd3722f5a4c0bdd2c728d544d7bca55937effa65153032d928de06449ca21fbeca7d1dfc83cb7eabf101efe6a26d8ac393
|
||||
EBUILD importlib_metadata-3.1.1.ebuild 1044 BLAKE2B 455410110f0f1e17d7df2cdbb64364b625d3b4140733f33be55d77deb16c0e2c21a4e816924b603bfa87c76c5294954e2996e252f31f04f5a311326f58c26dc5 SHA512 001f3af3e0133c3149755e482322cc5c91bfb74f578adfd165273926b94f22747c217e8e75ea4cae87918c6ba09bd4c11d236e722b1cb552823c301f2700163d
|
||||
EBUILD importlib_metadata-3.2.0.ebuild 1134 BLAKE2B 3e75a125614992d4b1edbc736476b96fdecc97e412ae34a7d0661339f59045365097983c98966f97e1c26fc1a08a1c32eac62dd8c055ee2633a256de48b1a44d SHA512 9425d39127e14bc4bdec23fea4156d9b12fc752397f4c60f3b68b5047aa4a98fa9e96572627254e221e0f9723d82e7ad86772489331fafe1badf6b9238e0461a
|
||||
EBUILD importlib_metadata-3.3.0.ebuild 1134 BLAKE2B 3e75a125614992d4b1edbc736476b96fdecc97e412ae34a7d0661339f59045365097983c98966f97e1c26fc1a08a1c32eac62dd8c055ee2633a256de48b1a44d SHA512 9425d39127e14bc4bdec23fea4156d9b12fc752397f4c60f3b68b5047aa4a98fa9e96572627254e221e0f9723d82e7ad86772489331fafe1badf6b9238e0461a
|
||||
MISC metadata.xml 645 BLAKE2B e0d506f3cb5304b3cb14bd546c997978bfa70d77b16abd318c8e733ae90057b4dae2533107c3157a53df21b9f3046be0317c62367b3de26cfb245f4bf572ae85 SHA512 054fdafb3815ca9fb34178219c48ce5779f2ac8a700112d470fbf3bfdf780a6d98e0f30b6b0c7d6bc48cb12bda304dac01eacfa45d06964da704457311402679
|
||||
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Read metadata from Python packages"
|
||||
HOMEPAGE="https://importlib-metadata.readthedocs.io/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/zipp[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
${RDEPEND}
|
||||
>=dev-python/importlib_resources-1.3.0[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/pyfakefs[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx "${PN}/docs" \
|
||||
'>=dev-python/rst-linker-1.9'
|
||||
distutils_enable_tests unittest
|
||||
|
||||
python_prepare_all() {
|
||||
# remove dep on setuptools_scm
|
||||
sed -e 's:test_find_local:_&:' \
|
||||
-i importlib_metadata/tests/test_integration.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
# Included in Python >= 3.8
|
||||
PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Read metadata from Python packages"
|
||||
HOMEPAGE="https://github.com/python/importlib_metadata"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
||||
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep 'dev-python/typing-extensions[${PYTHON_USEDEP}]' python3_{6,7})
|
||||
dev-python/zipp[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/importlib_resources-1.3.0[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/pyfakefs[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs dev-python/jaraco-packaging dev-python/rst-linker
|
||||
distutils_enable_tests unittest
|
||||
|
||||
python_prepare_all() {
|
||||
# Skip a test that requires pep517 which is not in the tree
|
||||
sed -e 's:test_find_local:_&:' -i tests/test_integration.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -1,6 +1,8 @@
|
||||
DIST ipywidgets-7.5.1.tar.gz 5656334 BLAKE2B 8bd98f523b619bea02e01ae5faffb08040dc5011905dd69510728b02736e66444b3c3cdf1e7272884c1df97f610aff790063f783e1d0939786669ef39cd1fc94 SHA512 856b3e4dad331766eff6e5f1fd31984a4b6ede5c678ffd51a4896f6448dac53ba181ccec2821f10e07e0f1095318427affe19f1420d0337bc3d37ef1e0a9ea0d
|
||||
DIST ipywidgets-7.6.0.tar.gz 4066107 BLAKE2B 5e5f9f6fca1e554ef2b6157a493435148a9832c7f69ec1245e24828363e2a9a1edea804236beaff1f0870d3c7aa028d329e18bc7b1aade7b212110dda3be018a SHA512 eee04406d90f8cadab0208923d51679677b6f630417b69acd0382fcb69cf3d727e47e5abde071939f0b5f45b8b0e72d0bf9316e41508c2c0df7518bfb322db51
|
||||
DIST ipywidgets-7.6.1.tar.gz 4066110 BLAKE2B 81f46c91352c8c490c588263489e5e6b2de07df4a0ed8a94e620abd16d064a0776330bb4e3cacf610e99c5528deeca18fe019c9f573d67de212b8271bae29210 SHA512 7a69f57d378c76b0c4aea1878e5a5f19adfca0acf3ec362ebddad5b05513c3bb078321c3c700f91da78dace2adb468d6182cd650da6ae299cd7022329368e538
|
||||
EBUILD ipywidgets-7.5.1-r1.ebuild 662 BLAKE2B 59d22bbe2c5149799509cdb5bf95592b6e4eaadb687fb8a6337ba39b111aece352e86fc44cc811ec45c174ca8e83bdc7c0c17a933312e355f5a355b19413516e SHA512 3f7c57a8e75fdd19b6a718cc09f6bb5b296070f22e2fff8a4a231633c0dd201bb2c96e8083389950086145584f592c670197fc7808fac4d96f4c7c1292e00c61
|
||||
EBUILD ipywidgets-7.5.1.ebuild 662 BLAKE2B bca9b4a4d217793b05b1eef3ff58b8a5c0958ae98ecb1acaa7f8cc6417755c9a00d04d98775860ab752ff79545b62814cd9ba994dc20be7816cef2f351a0afdc SHA512 b956f20f561e0d3a835d658adfe8454305a2b6193d0e0bfa5ed2b91b8bd43a8fbece646ccae88e2e9593a5d3b989262b952c7b648723017bce335fe33341e939
|
||||
EBUILD ipywidgets-7.6.0.ebuild 664 BLAKE2B f9002ab5e29c788dc83c10130d1e42e92c6094216593308ffaefedf5e9a4d6ae5d607a49665a548916eb2c8a406eb04ea3a2832abf4374afc674f0c4f5f299f6 SHA512 ea57701c1282fb716ba8746fb287e0fc46cdef092b969c92833b0aa473d443ec2356f1d8bfc4e07681b3d397050c8314d2102a7a86fd15e6312b30d04ba1952b
|
||||
EBUILD ipywidgets-7.6.1.ebuild 692 BLAKE2B 050bb849c9300a5ffc23659c29624a989034907527b297997517c3704ca63feba144ca276f2903d8d683db54be73cb28e3e4f333abbd23d3fc9799c48ccbc9f3 SHA512 53de75afe4494284a17082d230651f707d64e09f338b10c4523d442e4d887e5277efd5b31ddf1bcb81029ba19d73af2bde942aa9d44f06fdbb763e90f9e6d037
|
||||
MISC metadata.xml 536 BLAKE2B 885f71096220f3b226d03e8b44bfb31ccccf060a55c1de6634369d2570463912e19146577c10c0152ad0aac8c5d0a107317db1e2a2f705bc8a21efb6ac59a636 SHA512 2e7e02e4dbb0b2ef05216f597a14bca27af0526da6ec962da402e206ec5eb8a9b08174d52cf5d6d231c20c899a7e87a8f942c7cefb93dfa50eeab7bc65d61a05
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=no
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="IPython HTML widgets for Jupyter"
|
||||
HOMEPAGE="https://ipywidgets.readthedocs.io/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/ipykernel-4.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/nbformat-4.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/traitlets-4.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/widgetsnbextension-3.5.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1,7 +1,9 @@
|
||||
DIST django-stubs-1.5.0.tar.gz 180400 BLAKE2B 0619a76f89fe4fad456a82e3048009f25fdfd8b8e3071fd5a0cc0eebd62b3e9e8b77d29c5e4e8d1e0297fc466cc7e0c49771750b609fff49516e2aa1499c198b SHA512 c3e89f02a22561b5446e1cc0f01be791767984b5791fe5bd362ec6128e2ba7b32e921f9ee719a80ace05f7f0c84a912731700b457761f64617c1415cd232c7da
|
||||
DIST jedi-0.17.1.tar.gz 472489 BLAKE2B 7486925cb307f6a25538c2f5d52763802222561cfc4beca1637e433f4450b06ef328204e75779b6b2ac4ca2cfcf5ab647daecd329941ca6fb0ae2a5dd2bd8b5f SHA512 0a9d552d2b4c45730c9cccf06ebb434b159b755acea0dbaddf5f628dccf8e9c752e03d151258e377b817f1a25fb9ca8e0289dbd2da290f55dc719883413b65cf
|
||||
DIST jedi-0.17.2.tar.gz 474372 BLAKE2B cd0bf217202e4413a7d4f1d4095fb22ad5c3de557993fd33e246a1fb516992a16a7382db9e18e0c0414ff5d927008c8148e9bbd8ee0dbd62368d01a31611c326 SHA512 cd96faa6f9cd6e8ad8b9a52ceaa6a84f30c8ced51b20d621932f0babf1b90bbc445fbe5ffd11a4f0e356bf20bdd1da756ccc3574e5fc978883de72dfdb519977
|
||||
DIST jedi-0.18.0.tar.gz 462786 BLAKE2B 35021ed1566fffc24056060f16b8a0aa6f8b6e382f716ff5978711fd66340e96f4e0b628463aadead5605db32cfc20df06a6c53a9b435658f1c455a6212da6e5 SHA512 fcee84496285a0b0b1cf1f3827593d0603bd87c84baf725cc7bdbf594979f49729b18a29b7465848413bdd3a5670fcc41187dd3eadbd9750d77788c5a9408dbf
|
||||
DIST typeshed-jedi_v0.16.0.tar.gz 497407 BLAKE2B d322d70d3c46d1abcedddbd10aed5c6f213698f4e9f9aec1b4bd7e7186ab7ce384ec6a95d6adc46c7459e3bbb748d6ff432115cae744a315aed60972d2390eee SHA512 1551082938b52717f90e28ffd25e838ab04798ea86ea719fa35975a9de006bcc063a00cc8c8babd994990cdff694d48490f4d8c898c322666450d7ef3be8688a
|
||||
EBUILD jedi-0.17.1-r1.ebuild 2124 BLAKE2B 7a1cfd3426ae6e5b2c714eed9513f117af440dc5ff4ce18f0558e1108dbf90e946cb5488142151fb53d1f31a8072cfc1f2d450ec316624c21f98b148dd9b3efb SHA512 301dc533d0fa8b208b4ab76a8c8757c2f8096f7e6dabac1b39a2ed34679dcf6eec43fbaa8048f635287a542ee08132c8154b6519df3c3bf1acdd1786cc00c2c7
|
||||
EBUILD jedi-0.17.2-r1.ebuild 2122 BLAKE2B 024075a30fd86c3299a0e3a53f67fb2a2b1d86ed66b16105b9d4d50ab2896b39f8b1b48e738ea0827d7dac994579ef79de9e61808b520c33051361c10b11491f SHA512 8be3d7c4985a1ac7e71ccade2f3b74cab705ee70cab85c8e1e2e3455731c430c8949ced57c90d40f2275f2ce992ea641d9346fdc0d2056e643bdfc3f6f8c1f6e
|
||||
EBUILD jedi-0.18.0.ebuild 2172 BLAKE2B 460e20959868921d03ba1e08e2ad8ae38b1aae032488e211e8b4e18e1d9cf540cccd5f7712fa1ccdd24fb1e8078ed376a329850f8bcbd853c0c11e60ed810bb0 SHA512 b3aa103e1180fff0999753abe9fa13e28ef69186e46cac7b9b5f7d1fba8acd1eb4d6457a79627962ab7e8babb3284590b00b6b94c6612f873fb3ec6f84a82ad6
|
||||
MISC metadata.xml 400 BLAKE2B 7ae1b5a2edac295d8d1cce978fd3c6470eacd06b890c960c33c58050a5bebdfd091cbcf48190e2f6b3681341db155f36e9492f41a4c5d88b2f1ebaacd92ca15b SHA512 f3bd9785ed160ea3335a03139abf10e68d10d2431b4b6f56da12c9a074954ad70972e953b2d283646009af180b9a50e59adffd455adb2937905812a98146360c
|
||||
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
TYPESHED_P="typeshed-jedi_v0.16.0"
|
||||
DJANGO_STUBS_P="django-stubs-v1.5.0"
|
||||
|
||||
DESCRIPTION="Autocompletion library for Python"
|
||||
HOMEPAGE="https://github.com/davidhalter/jedi"
|
||||
SRC_URI="
|
||||
https://github.com/davidhalter/${PN}/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz
|
||||
https://github.com/davidhalter/typeshed/archive/${TYPESHED_P#typeshed-}.tar.gz
|
||||
-> ${TYPESHED_P}.tar.gz
|
||||
https://github.com/davidhalter/django-stubs/archive/${DJANGO_STUBS_P#django-stubs-}.tar.gz
|
||||
-> ${DJANGO_STUBS_P/v/}.tar.gz"
|
||||
|
||||
LICENSE="MIT
|
||||
test? ( Apache-2.0 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
RDEPEND="=dev-python/parso-0.8*[${PYTHON_USEDEP}]"
|
||||
|
||||
distutils_enable_sphinx docs \
|
||||
dev-python/sphinx_rtd_theme
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# upstream includes these as submodules ...
|
||||
rmdir "${S}"/jedi/third_party/{django-stubs,typeshed} || die
|
||||
mv "${WORKDIR}/${DJANGO_STUBS_P/v/}" \
|
||||
"${S}/jedi/third_party/django-stubs" || die
|
||||
mv "${WORKDIR}/${TYPESHED_P}" \
|
||||
"${S}/jedi/third_party/typeshed" || die
|
||||
|
||||
# don't run doctests, don't depend on colorama
|
||||
sed -i "s:'docopt',:: ; s:'colorama',::" setup.py || die
|
||||
sed -i "s: --doctest-modules::" pytest.ini || die
|
||||
|
||||
# test_complete_expanduser relies on $HOME not being empty
|
||||
> "${HOME}"/somefile || die
|
||||
|
||||
# TODO: investigate
|
||||
sed -e 's:test_local_import:_&:' \
|
||||
-i test/test_utils.py || die
|
||||
sed -e '/with sqlite3\.connect/,+2d' \
|
||||
-i test/completion/stdlib.py || die
|
||||
rm test/completion/django.py || die
|
||||
|
||||
# these tests fail with various pytest<->python version combinations
|
||||
rm test/completion/pytest.py || die
|
||||
|
||||
# tests relying on pristine virtualenv
|
||||
# this relies on test* not matching anything else
|
||||
sed -e "/#\? \['test'\]/,+1d" \
|
||||
-i test/completion/on_import.py || die
|
||||
# this one's broken by 'path' module (dev-python/path-py)
|
||||
sed -e 's:test_os_issues:_&:' \
|
||||
-i test/test_inference/test_imports.py || die
|
||||
sed -e 's:test_venv_and_pths:_&:' \
|
||||
-i test/test_inference/test_sys_path.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST jeepney-0.4.3.tar.gz 28121 BLAKE2B 2c9b5b5ec26a9af25d28af602827c73c8ec9377a88a4aa79b9a986675c1ef3f195763a338f3efa4ee371f7751dcf05a9f9cfed06c8d6677d81da3699773d5561 SHA512 bfb12c9259a57324759f8be44d1faf2c0535762e72db5f1370e64cb144c0fc537c9bc9cfb9b075932fb3a20e3ef4e0c990c10905cc5a69e3fb088e8de4193689
|
||||
DIST jeepney-0.6.0.tar.gz 49513 BLAKE2B e5f9b5104cf07dbcd2d40c2d22b690dfd56c456ab56daf44f4abee83f0bfe7e1dfbad797348044d51e3dc20fbc6ce68bf8df54f9c1e46d7a86ceb22d3ab30f8d SHA512 140be9dd28ed853d2d41b6a8bbeb2f22c0270ce7bf33b943ec2ac010db17d4f06e253fa8637fbbb3044fe9ffdbfa1e15f0c663eb44bdd538f8c47c2e7dab3ca5
|
||||
EBUILD jeepney-0.4.3.ebuild 802 BLAKE2B aefbece367f00496eaf9b986ee25c8b470dbac4d4ec4c9715b8b1d29b8c31f4307d6b0ce67154b9fd78bd518f984c8fd109185610a7b9dc89efef7b57568fd49 SHA512 13e500ebc659528d61478f15329c0b084c5556779e742144c5d3e5d3bff1c3c9eeaec607974c58e74c730c8893ff662223adca2fc2971f8a4672af687e339fb1
|
||||
EBUILD jeepney-0.6.0.ebuild 932 BLAKE2B 7de2a523889d9d54bfb61f8b3e6def9747aec1beaef87ab20eb6e30143a147749612e8d81f037abe07c622b744569cb124731755692265baa208e196f0b75497 SHA512 64e6149711ac1b43ccfd1fb11d33553bc4d26710e4f6442dbbabcaba3104e52a15572f2d873ccf539374b33d0837492c51d0eb2e7da53d5f8d9c892f94f9027a
|
||||
EBUILD jeepney-0.6.0.ebuild 931 BLAKE2B e6bd0780e2a5e1b42665059e5c5031efbb29310520f904ec1de25e430280242cb55a3f6d7eab034ae8c558298a89d2a9de81f6353e4028793fcc527fbbed07b9 SHA512 c8b76c5400cfff00e1fb01c9d8d17dbc09a9e2f2df169a2023688d46330aaa331d11aaa19a3516249f06316481c3540f6f73be6f5a128d43b1270e12a97b3373
|
||||
MISC metadata.xml 456 BLAKE2B e597aacc0128f9cd06d21a03ca156343861a56adba6449e12127025265c6019308ba2e8f360d7a4f43bbca3f95a78789d964bdd3e5bd5fea7d21d7b8eb413c74 SHA512 6cb3b5fae02190cce838221a1d5269bc005f985d5935f77880b066999340818338a747a9e24aa5d39ab71f69c842747068e3b573dcf475c7d552af1bc9af031b
|
||||
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=no
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://libvirt.org/git/libvirt-python.git"
|
||||
RDEPEND="app-emulation/libvirt:=[-python(-)]"
|
||||
else
|
||||
SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz"
|
||||
KEYWORDS="amd64 ~arm64 ~ppc64 x86"
|
||||
RDEPEND="app-emulation/libvirt:0/${PV}"
|
||||
fi
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
DESCRIPTION="libvirt Python bindings"
|
||||
HOMEPAGE="https://www.libvirt.org"
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
IUSE="examples test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="virtual/pkgconfig"
|
||||
BDEPEND="test? (
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests setup.py
|
||||
|
||||
python_install_all() {
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue