parent
394aaaba58
commit
00a6e83401
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +1 @@
|
|||||||
DIST diskimage-builder-3.3.1.tar.gz 450130 BLAKE2B 09f3b3549527d726f8479e1f8dc89ae50fdeacf6969e43f5b35591fa0a9d38ae0dd03b7292633604a938b0ef14e31b4e655645643bae22df4f3519c75d9dde83 SHA512 095c0968f5ceeb220c3871ccd14c7bf7c1b3d883bcb02f9cfe7406d5a336c36a813c8290bf133441a2a59972f485596aa5620b755016aba348afe3b7fc723c9f
|
|
||||||
DIST diskimage-builder-3.4.0.tar.gz 477142 BLAKE2B 998c4769f8b1e973628a6ab790c78afa32d3de23df6dda62e94917916aa92419d16a58ba3029bad6641508de2f404bfb16101197720ed050a1db6a92434e3144 SHA512 a05fc9b836cf8273d0c73ab1e95ecbd2172c56e457ba8ae00cb3a5f13b499dc1e8d81f262d155e8e2005bdc14af25370af9dfb3b2bf29342d5110edc7e630a87
|
|
||||||
DIST diskimage-builder-3.5.0.tar.gz 477918 BLAKE2B 0621a4af9bc68a19c45d88ddbe636ae3e6e86cc1668023b0f10020bff51929a03c12edfced248fc138a114ad4b538d7b71828ed44a5d18b54e39bd47919b9699 SHA512 bea42f47078966686af9774ef34300f326e2ddf4b536af53d1378cf413e6675df9f71c54d90fdb55fbdeeefc708264350a48d4a4b2824d0bc3263df04742d768
|
DIST diskimage-builder-3.5.0.tar.gz 477918 BLAKE2B 0621a4af9bc68a19c45d88ddbe636ae3e6e86cc1668023b0f10020bff51929a03c12edfced248fc138a114ad4b538d7b71828ed44a5d18b54e39bd47919b9699 SHA512 bea42f47078966686af9774ef34300f326e2ddf4b536af53d1378cf413e6675df9f71c54d90fdb55fbdeeefc708264350a48d4a4b2824d0bc3263df04742d768
|
||||||
|
@ -1,39 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Golden Disk Image builder."
|
|
||||||
HOMEPAGE="http://docs.openstack.org/developer/diskimage-builder/"
|
|
||||||
if [[ ${PV} == 9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://opendev.org/openstack/diskimage-builder.git"
|
|
||||||
else
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
|
|
||||||
DEPEND="${CDEPEND}"
|
|
||||||
RDEPEND="${CDEPEND}
|
|
||||||
>=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/Babel-2.4.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/networkx-1.10[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pyyaml-3.12[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
|
|
||||||
app-emulation/qemu
|
|
||||||
sys-block/parted
|
|
||||||
sys-fs/multipath-tools
|
|
||||||
sys-fs/dosfstools
|
|
||||||
sys-apps/gptfdisk
|
|
||||||
!dev-python/dib-utils[${PYTHON_USEDEP}]"
|
|
@ -1,39 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Golden Disk Image builder."
|
|
||||||
HOMEPAGE="http://docs.openstack.org/developer/diskimage-builder/"
|
|
||||||
if [[ ${PV} == 9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://opendev.org/openstack/diskimage-builder.git"
|
|
||||||
else
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
|
|
||||||
DEPEND="${CDEPEND}"
|
|
||||||
RDEPEND="${CDEPEND}
|
|
||||||
>=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/Babel-2.4.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/networkx-1.10[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pyyaml-3.12[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
|
|
||||||
app-emulation/qemu
|
|
||||||
sys-block/parted
|
|
||||||
sys-fs/multipath-tools
|
|
||||||
sys-fs/dosfstools
|
|
||||||
sys-apps/gptfdisk
|
|
||||||
!dev-python/dib-utils[${PYTHON_USEDEP}]"
|
|
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST xchm-1.23.tar.gz 474274 BLAKE2B de73c04e68b876edefb1d45d9e982bcce6fd3afa06f8704d05fa5cae710d9724ed20ca50be9022570832da9954ba2af141a66e5b3ab02554441c84bac1d6ffed SHA512 c0df4362ff6db8136b20f62a76e7e93185375f6ef9eeeb1001e27ead9806d486332573ba8c3ca1863a70ce6b1d3bcc6d3af48d42add719312774dccfd7d18c90
|
|
||||||
DIST xchm-1.31.tar.gz 981450 BLAKE2B c0c1908332f4d76f2c4dcf64ed713ae500d1b2022dedb5cb0df294fcdd1ce87d5144ca7347d6bc70b43af29f047ee270ffe05f1ee8da2dae5a5e0586c342900a SHA512 b5e1e979948d202163265f99357b361bb78371a2cc7cdedcc2d2c78207466c3f8291f720c92405913c7c5b9f607d3951a8bb3be3ece3ba1f408ceeb79199e9b5
|
DIST xchm-1.31.tar.gz 981450 BLAKE2B c0c1908332f4d76f2c4dcf64ed713ae500d1b2022dedb5cb0df294fcdd1ce87d5144ca7347d6bc70b43af29f047ee270ffe05f1ee8da2dae5a5e0586c342900a SHA512 b5e1e979948d202163265f99357b361bb78371a2cc7cdedcc2d2c78207466c3f8291f720c92405913c7c5b9f607d3951a8bb3be3ece3ba1f408ceeb79199e9b5
|
||||||
|
@ -1,32 +0,0 @@
|
|||||||
Description: Fix code to compile with wxwidgets 3.0
|
|
||||||
Drops support for wx < 2.7, which is just not relevant now. And in fact
|
|
||||||
configure.ac checks for at least 2.8.0.
|
|
||||||
Author: Olly Betts <olly@survex.com>
|
|
||||||
Last-Update: 2014-03-07
|
|
||||||
|
|
||||||
--- xchm-1.23.orig/src/chmframe.cpp
|
|
||||||
+++ xchm-1.23/src/chmframe.cpp
|
|
||||||
@@ -265,11 +265,7 @@ void CHMFrame::OnChangeFonts(wxCommandEv
|
|
||||||
enu.EnumerateFacenames();
|
|
||||||
_normalFonts = new wxArrayString;
|
|
||||||
|
|
||||||
-#if wxMAJOR_VERSION == 2 && wxMINOR_VERSION >= 7
|
|
||||||
*_normalFonts = enu.GetFacenames();
|
|
||||||
-#else
|
|
||||||
- *_normalFonts = *enu.GetFacenames();
|
|
||||||
-#endif
|
|
||||||
_normalFonts->Sort();
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -278,11 +274,7 @@ void CHMFrame::OnChangeFonts(wxCommandEv
|
|
||||||
enu.EnumerateFacenames(wxFONTENCODING_SYSTEM, TRUE);
|
|
||||||
_fixedFonts = new wxArrayString;
|
|
||||||
|
|
||||||
-#if wxMAJOR_VERSION == 2 && wxMINOR_VERSION >= 7
|
|
||||||
*_fixedFonts = enu.GetFacenames();
|
|
||||||
-#else
|
|
||||||
- *_fixedFonts = *enu.GetFacenames();
|
|
||||||
-#endif
|
|
||||||
_fixedFonts->Sort();
|
|
||||||
}
|
|
||||||
|
|
@ -1,50 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
WX_GTK_VER="3.0"
|
|
||||||
|
|
||||||
inherit eutils flag-o-matic wxwidgets xdg-utils
|
|
||||||
|
|
||||||
DESCRIPTION="Utility for viewing Compiled HTML Help (CHM) files"
|
|
||||||
HOMEPAGE="http://xchm.sourceforge.net/"
|
|
||||||
SRC_URI="mirror://sourceforge/xchm/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ppc x86"
|
|
||||||
|
|
||||||
IUSE=""
|
|
||||||
DEPEND=">=dev-libs/chmlib-0.36
|
|
||||||
x11-libs/wxGTK:${WX_GTK_VER}[X]"
|
|
||||||
RDEPEND=${DEPEND}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}"/${P}-wx3.0-compat.patch
|
|
||||||
|
|
||||||
append-flags -Wno-unused-local-typedefs
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install
|
|
||||||
|
|
||||||
dodoc AUTHORS README ChangeLog
|
|
||||||
|
|
||||||
cp "${D}"/usr/share/pixmaps/xchm-32.xpm "${D}"/usr/share/pixmaps/xchm.xpm
|
|
||||||
rm -f "${D}"/usr/share/pixmaps/xchm-*.xpm
|
|
||||||
rm -f "${D}"/usr/share/pixmaps/xchmdoc*.xpm
|
|
||||||
|
|
||||||
domenu "${FILESDIR}"/xchm.desktop
|
|
||||||
insinto /usr/share/mime/packages
|
|
||||||
doins "${FILESDIR}"/xchm.xml
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_mimeinfo_database_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_mimeinfo_database_update
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,797 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
# to make make a crosscompiler use crossdev and symlink ghc tree into
|
||||||
|
# cross overlay. result would look like 'cross-sparc-unknown-linux-gnu/ghc'
|
||||||
|
export CBUILD=${CBUILD:-${CHOST}}
|
||||||
|
export CTARGET=${CTARGET:-${CHOST}}
|
||||||
|
if [[ ${CTARGET} = ${CHOST} ]] ; then
|
||||||
|
if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
|
||||||
|
export CTARGET=${CATEGORY/cross-}
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
inherit autotools bash-completion-r1 eutils flag-o-matic ghc-package
|
||||||
|
inherit multilib multiprocessing pax-utils toolchain-funcs prefix
|
||||||
|
inherit check-reqs
|
||||||
|
DESCRIPTION="The Glasgow Haskell Compiler"
|
||||||
|
HOMEPAGE="https://www.haskell.org/ghc/"
|
||||||
|
|
||||||
|
# we don't have any binaries yet
|
||||||
|
arch_binaries=""
|
||||||
|
|
||||||
|
BIN_PV=${PV}
|
||||||
|
# sorted!
|
||||||
|
#arch_binaries="$arch_binaries alpha? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-alpha.tbz2 )"
|
||||||
|
#arch_binaries="$arch_binaries arm? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-armv7a-hardfloat-linux-gnueabi.tbz2 )"
|
||||||
|
#arch_binaries="$arch_binaries arm64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-aarch64-unknown-linux-gnu.tbz2 )"
|
||||||
|
arch_binaries="$arch_binaries amd64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-x86_64-pc-linux-gnu.tbz2 )"
|
||||||
|
#arch_binaries="$arch_binaries ia64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-ia64-fixed-fiw.tbz2 )"
|
||||||
|
#arch_binaries="$arch_binaries ppc? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-ppc.tbz2 )"
|
||||||
|
#arch_binaries="$arch_binaries ppc64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-ppc64.tbz2 )"
|
||||||
|
#arch_binaries="$arch_binaries ppc64? ( !big-endian? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-powerpc64le-unknown-linux-gnu.tbz2 ) )"
|
||||||
|
#arch_binaries="$arch_binaries sparc? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-sparc.tbz2 )"
|
||||||
|
#arch_binaries="$arch_binaries x86? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-i686-pc-linux-gnu.tbz2 )"
|
||||||
|
|
||||||
|
# various ports:
|
||||||
|
#arch_binaries="$arch_binaries x86-fbsd? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-x86-fbsd.tbz2 )"
|
||||||
|
|
||||||
|
# 0 - yet
|
||||||
|
yet_binary() {
|
||||||
|
case "${ARCH}" in
|
||||||
|
#alpha) return 0 ;;
|
||||||
|
#arm64) return 0 ;;
|
||||||
|
#arm) return 0 ;;
|
||||||
|
amd64) return 0 ;;
|
||||||
|
#ia64) return 0 ;;
|
||||||
|
#ppc) return 0 ;;
|
||||||
|
#ppc64)
|
||||||
|
# use big-endian && return 0
|
||||||
|
# return 0
|
||||||
|
# ;;
|
||||||
|
#sparc) return 0 ;;
|
||||||
|
#x86) return 0 ;;
|
||||||
|
*) return 1 ;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
GHC_PV=${PV}
|
||||||
|
#GHC_PV=8.10.0.20200123 # uncomment only for -alpha, -beta, -rc ebuilds
|
||||||
|
GHC_P=${PN}-${GHC_PV} # using ${P} is almost never correct
|
||||||
|
|
||||||
|
SRC_URI="!binary? (
|
||||||
|
https://downloads.haskell.org/ghc/${PV/_/-}/${GHC_P}-src.tar.xz
|
||||||
|
test? ( https://downloads.haskell.org/ghc/${PV/_/-}/${GHC_P}-testsuite.tar.xz )
|
||||||
|
)"
|
||||||
|
S="${WORKDIR}"/${GHC_P}
|
||||||
|
|
||||||
|
[[ -n $arch_binaries ]] && SRC_URI+=" !ghcbootstrap? ( $arch_binaries )"
|
||||||
|
|
||||||
|
BUMP_LIBRARIES=(
|
||||||
|
# "hackage-name hackage-version"
|
||||||
|
)
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0/${PV}"
|
||||||
|
#KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="big-endian doc elfutils ghcbootstrap ghcmakebinary +gmp numa profile test"
|
||||||
|
IUSE+=" binary"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-lang/perl-5.6.1
|
||||||
|
dev-libs/gmp:0=
|
||||||
|
sys-libs/ncurses:0=[unicode]
|
||||||
|
elfutils? ( dev-libs/elfutils )
|
||||||
|
!ghcmakebinary? ( dev-libs/libffi:= )
|
||||||
|
numa? ( sys-process/numactl )
|
||||||
|
"
|
||||||
|
|
||||||
|
# This set of dependencies is needed to run
|
||||||
|
# prebuilt ghc. We specifically avoid ncurses
|
||||||
|
# dependency with:
|
||||||
|
# utils/ghc-pkg_HC_OPTS += -DBOOTSTRAPPING
|
||||||
|
PREBUILT_BINARY_DEPENDS="
|
||||||
|
!prefix? ( elibc_glibc? ( >=sys-libs/glibc-2.17 ) )
|
||||||
|
"
|
||||||
|
# This set of dependencies is needed to install
|
||||||
|
# ghc[binary] in system. terminfo package is linked
|
||||||
|
# against ncurses.
|
||||||
|
PREBUILT_BINARY_RDEPENDS="${PREBUILT_BINARY_DEPENDS}
|
||||||
|
sys-libs/ncurses:0/6
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPEND+="binary? ( ${PREBUILT_BINARY_RDEPENDS} )"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
doc? ( app-text/docbook-xml-dtd:4.2
|
||||||
|
app-text/docbook-xml-dtd:4.5
|
||||||
|
app-text/docbook-xsl-stylesheets
|
||||||
|
dev-python/sphinx
|
||||||
|
>=dev-libs/libxslt-1.1.2 )
|
||||||
|
!ghcbootstrap? ( ${PREBUILT_BINARY_DEPENDS} )"
|
||||||
|
|
||||||
|
# we build binaries without profiling support
|
||||||
|
REQUIRED_USE="
|
||||||
|
?? ( ghcbootstrap binary )
|
||||||
|
?? ( profile binary )
|
||||||
|
"
|
||||||
|
|
||||||
|
# haskell libraries built with cabal in configure mode, #515354
|
||||||
|
QA_CONFIGURE_OPTIONS+=" --with-compiler --with-gcc"
|
||||||
|
|
||||||
|
is_crosscompile() {
|
||||||
|
[[ ${CHOST} != ${CTARGET} ]]
|
||||||
|
}
|
||||||
|
|
||||||
|
is_native() {
|
||||||
|
[[ ${CHOST} == ${CBUILD} ]] && [[ ${CHOST} == ${CTARGET} ]]
|
||||||
|
}
|
||||||
|
|
||||||
|
if ! is_crosscompile; then
|
||||||
|
PDEPEND="!ghcbootstrap? ( >=app-admin/haskell-updater-1.2 )"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# returns tool prefix for crosscompiler.
|
||||||
|
# Example:
|
||||||
|
# CTARGET=armv7a-unknown-linux-gnueabi
|
||||||
|
# CHOST=x86_64-pc-linux-gnu
|
||||||
|
# "armv7a-unknown-linux-gnueabi-"
|
||||||
|
# CTARGET=${CHOST}
|
||||||
|
# ""
|
||||||
|
# Used in tools and library prefix:
|
||||||
|
# "${ED}"/usr/bin/$(cross)haddock
|
||||||
|
# "${ED}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d"
|
||||||
|
|
||||||
|
cross() {
|
||||||
|
if is_crosscompile; then
|
||||||
|
echo "${CTARGET}-"
|
||||||
|
else
|
||||||
|
echo ""
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
append-ghc-cflags() {
|
||||||
|
local persistent compile assemble link
|
||||||
|
local flag ghcflag
|
||||||
|
|
||||||
|
for flag in $*; do
|
||||||
|
case ${flag} in
|
||||||
|
persistent) persistent="yes";;
|
||||||
|
compile) compile="yes";;
|
||||||
|
assemble) assemble="yes";;
|
||||||
|
link) link="yes";;
|
||||||
|
*)
|
||||||
|
[[ ${compile} ]] && ghcflag="-optc${flag}" CFLAGS+=" ${flag}" && GHC_FLAGS+=" ${ghcflag}" &&
|
||||||
|
[[ ${persistent} ]] && GHC_PERSISTENT_FLAGS+=" ${ghcflag}"
|
||||||
|
[[ ${assemble} ]] && ghcflag="-opta${flag}" CFLAGS+=" ${flag}" && GHC_FLAGS+=" ${ghcflag}" &&
|
||||||
|
[[ ${persistent} ]] && GHC_PERSISTENT_FLAGS+=" ${ghcflag}"
|
||||||
|
[[ ${link} ]] && ghcflag="-optl${flag}" LDFLAGS+=" ${flag}" && GHC_FLAGS+=" ${ghcflag}" &&
|
||||||
|
[[ ${persistent} ]] && GHC_PERSISTENT_FLAGS+=" ${ghcflag}"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
# $1 - lib name (under libraries/)
|
||||||
|
# $2 - lib version
|
||||||
|
# example: bump_lib "transformers" "0.4.2.0"
|
||||||
|
bump_lib() {
|
||||||
|
local pn=$1 pv=$2
|
||||||
|
local p=${pn}-${pv}
|
||||||
|
local f
|
||||||
|
|
||||||
|
einfo "Bumping ${pn} up to ${pv}"
|
||||||
|
|
||||||
|
for f in ghc.mk GNUmakefile; do
|
||||||
|
mv libraries/"${pn}"/$f "${WORKDIR}"/"${p}"/$f || die
|
||||||
|
done
|
||||||
|
mv libraries/"${pn}" "${WORKDIR}"/"${pn}".old || die
|
||||||
|
mv "${WORKDIR}"/"${p}" libraries/"${pn}" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
update_SRC_URI() {
|
||||||
|
local p pn pv
|
||||||
|
for p in "${BUMP_LIBRARIES[@]}"; do
|
||||||
|
set -- $p
|
||||||
|
pn=$1 pv=$2
|
||||||
|
|
||||||
|
SRC_URI+=" https://hackage.haskell.org/package/${pn}-${pv}/${pn}-${pv}.tar.gz"
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
update_SRC_URI
|
||||||
|
|
||||||
|
bump_libs() {
|
||||||
|
local p pn pv
|
||||||
|
for p in "${BUMP_LIBRARIES[@]}"; do
|
||||||
|
set -- $p
|
||||||
|
pn=$1 pv=$2
|
||||||
|
|
||||||
|
bump_lib "${pn}" "${pv}"
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
ghc_setup_cflags() {
|
||||||
|
# TODO: plumb CFLAGS and BUILD_CFLAGS to respective CONF_CC_OPTS_STAGE<N>
|
||||||
|
if ! is_native; then
|
||||||
|
export CFLAGS=${GHC_CFLAGS-"-O2 -pipe"}
|
||||||
|
export LDFLAGS=${GHC_LDFLAGS-"-Wl,-O1"}
|
||||||
|
einfo "Crosscompiling mode:"
|
||||||
|
einfo " CHOST: ${CHOST}"
|
||||||
|
einfo " CTARGET: ${CTARGET}"
|
||||||
|
einfo " CFLAGS: ${CFLAGS}"
|
||||||
|
einfo " LDFLAGS: ${LDFLAGS}"
|
||||||
|
einfo " prefix: $(cross)"
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
# We need to be very careful with the CFLAGS we ask ghc to pass through to
|
||||||
|
# gcc. There are plenty of flags which will make gcc produce output that
|
||||||
|
# breaks ghc in various ways. The main ones we want to pass through are
|
||||||
|
# -mcpu / -march flags. These are important for arches like alpha & sparc.
|
||||||
|
# We also use these CFLAGS for building the C parts of ghc, ie the rts.
|
||||||
|
strip-flags
|
||||||
|
strip-unsupported-flags
|
||||||
|
|
||||||
|
# Cmm can't parse line numbers #482086
|
||||||
|
replace-flags -ggdb[3-9] -ggdb2
|
||||||
|
|
||||||
|
GHC_FLAGS=""
|
||||||
|
GHC_PERSISTENT_FLAGS=""
|
||||||
|
for flag in ${CFLAGS}; do
|
||||||
|
case ${flag} in
|
||||||
|
|
||||||
|
# Ignore extra optimisation (ghc passes -O to gcc anyway)
|
||||||
|
# -O2 and above break on too many systems
|
||||||
|
-O*) ;;
|
||||||
|
|
||||||
|
# Arch and ABI flags are what we're really after
|
||||||
|
-m*) append-ghc-cflags compile assemble ${flag};;
|
||||||
|
|
||||||
|
# Sometimes it's handy to see backtrace of RTS
|
||||||
|
# to get an idea what happens there
|
||||||
|
-g*) append-ghc-cflags compile ${flag};;
|
||||||
|
|
||||||
|
# Ignore all other flags, including all -f* flags
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
for flag in ${LDFLAGS}; do
|
||||||
|
append-ghc-cflags link ${flag}
|
||||||
|
done
|
||||||
|
|
||||||
|
# GHC uses ${CBUILD}-gcc, ${CHOST}-gcc and ${CTARGET}-gcc at a single build.
|
||||||
|
# Skip any gentoo-specific tweaks for cross-case to avoid passing unsupported
|
||||||
|
# options to gcc.
|
||||||
|
if is_native; then
|
||||||
|
# prevent from failing to build unregisterised ghc:
|
||||||
|
# https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg171602.html
|
||||||
|
use ppc64 && append-ghc-cflags persistent compile -mminimal-toc
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# substitutes string $1 to $2 in files $3 $4 ...
|
||||||
|
relocate_path() {
|
||||||
|
local from=$1
|
||||||
|
local to=$2
|
||||||
|
shift 2
|
||||||
|
local file=
|
||||||
|
for file in "$@"
|
||||||
|
do
|
||||||
|
sed -i -e "s|$from|$to|g" \
|
||||||
|
"$file" || die "path relocation failed for '$file'"
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
# changes hardcoded ghc paths and updates package index
|
||||||
|
# $1 - new absolute root path
|
||||||
|
relocate_ghc() {
|
||||||
|
local to=$1 ghc_v=${BIN_PV}
|
||||||
|
|
||||||
|
# libdir for prebuilt binary and for current system may mismatch
|
||||||
|
# It does for prefix installation for example: bug #476998
|
||||||
|
local bin_ghc_prefix=${WORKDIR}/usr
|
||||||
|
local bin_libpath=$(echo "${bin_ghc_prefix}"/lib*)
|
||||||
|
local bin_libdir=${bin_libpath#${bin_ghc_prefix}/}
|
||||||
|
|
||||||
|
# backup original script to use it later after relocation
|
||||||
|
local gp_back="${T}/ghc-pkg-${ghc_v}-orig"
|
||||||
|
cp "${WORKDIR}/usr/bin/ghc-pkg-${ghc_v}" "$gp_back" || die "unable to backup ghc-pkg wrapper"
|
||||||
|
|
||||||
|
if [[ ${bin_libdir} != $(get_libdir) ]]; then
|
||||||
|
einfo "Relocating '${bin_libdir}' to '$(get_libdir)' (bug #476998)"
|
||||||
|
# moving the dir itself is not strictly needed
|
||||||
|
# but then USE=binary would result in installing
|
||||||
|
# in '${bin_libdir}'
|
||||||
|
mv "${bin_ghc_prefix}/${bin_libdir}" "${bin_ghc_prefix}/$(get_libdir)" || die
|
||||||
|
|
||||||
|
relocate_path "/usr/${bin_libdir}" "/usr/$(get_libdir)" \
|
||||||
|
"${WORKDIR}/usr/bin/ghc-${ghc_v}" \
|
||||||
|
"${WORKDIR}/usr/bin/ghci-${ghc_v}" \
|
||||||
|
"${WORKDIR}/usr/bin/ghc-pkg-${ghc_v}" \
|
||||||
|
"${WORKDIR}/usr/bin/hsc2hs" \
|
||||||
|
"${WORKDIR}/usr/bin/runghc-${ghc_v}" \
|
||||||
|
"$gp_back" \
|
||||||
|
"${WORKDIR}/usr/$(get_libdir)/${PN}-${ghc_v}/package.conf.d/"*
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Relocate from /usr to ${EPREFIX}/usr
|
||||||
|
relocate_path "/usr" "${to}/usr" \
|
||||||
|
"${WORKDIR}/usr/bin/ghc-${ghc_v}" \
|
||||||
|
"${WORKDIR}/usr/bin/ghci-${ghc_v}" \
|
||||||
|
"${WORKDIR}/usr/bin/ghc-pkg-${ghc_v}" \
|
||||||
|
"${WORKDIR}/usr/bin/haddock-ghc-${ghc_v}" \
|
||||||
|
"${WORKDIR}/usr/bin/hp2ps" \
|
||||||
|
"${WORKDIR}/usr/bin/hpc" \
|
||||||
|
"${WORKDIR}/usr/bin/hsc2hs" \
|
||||||
|
"${WORKDIR}/usr/bin/runghc-${ghc_v}" \
|
||||||
|
"${WORKDIR}/usr/$(get_libdir)/${PN}-${ghc_v}/package.conf.d/"*
|
||||||
|
|
||||||
|
# this one we will use to regenerate cache
|
||||||
|
# so it should point to current tree location
|
||||||
|
relocate_path "/usr" "${WORKDIR}/usr" "$gp_back"
|
||||||
|
|
||||||
|
if use prefix; then
|
||||||
|
hprefixify "${bin_libpath}"/${PN}*/settings
|
||||||
|
fi
|
||||||
|
|
||||||
|
# regenerate the binary package cache
|
||||||
|
"$gp_back" recache || die "failed to update cache after relocation"
|
||||||
|
rm "$gp_back"
|
||||||
|
}
|
||||||
|
|
||||||
|
ghc-check-reqs() {
|
||||||
|
# These are pessimistic values (slightly bigger than worst-case)
|
||||||
|
# Worst case is UNREG USE=profile ia64. See bug #611866 for some
|
||||||
|
# numbers on various arches.
|
||||||
|
CHECKREQS_DISK_BUILD=8G
|
||||||
|
CHECKREQS_DISK_USR=2G
|
||||||
|
# USE=binary roughly takes
|
||||||
|
use binary && CHECKREQS_DISK_BUILD=4G
|
||||||
|
|
||||||
|
"$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
ghc-check-reqs check-reqs_pkg_pretend
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
ghc-check-reqs check-reqs_pkg_setup
|
||||||
|
|
||||||
|
# quiet portage about prebuilt binaries
|
||||||
|
use binary && QA_PREBUILT="*"
|
||||||
|
|
||||||
|
[[ ${MERGE_TYPE} == binary ]] && return
|
||||||
|
|
||||||
|
if use ghcbootstrap; then
|
||||||
|
ewarn "You requested ghc bootstrapping, this is usually only used"
|
||||||
|
ewarn "by Gentoo developers to make binary .tbz2 packages."
|
||||||
|
|
||||||
|
[[ -z $(type -P ghc) ]] && \
|
||||||
|
die "Could not find a ghc to bootstrap with."
|
||||||
|
else
|
||||||
|
if ! yet_binary; then
|
||||||
|
eerror "Please try emerging with USE=ghcbootstrap and report build"
|
||||||
|
eerror "sucess or failure to the haskell team (haskell@gentoo.org)"
|
||||||
|
die "No binary available for '${ARCH}' arch yet, USE=ghcbootstrap"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
# Create the ${S} dir if we're using the binary version
|
||||||
|
use binary && mkdir "${S}"
|
||||||
|
|
||||||
|
# the Solaris and Darwin binaries from ghc (maeder) need to be
|
||||||
|
# unpacked separately, so prevent them from being unpacked
|
||||||
|
local ONLYA=${A}
|
||||||
|
case ${CHOST} in
|
||||||
|
*-darwin* | *-solaris*) ONLYA=${GHC_P}-src.tar.xz ;;
|
||||||
|
esac
|
||||||
|
unpack ${ONLYA}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
ghc_setup_cflags
|
||||||
|
|
||||||
|
if ! use ghcbootstrap && [[ ${CHOST} != *-darwin* && ${CHOST} != *-solaris* ]]; then
|
||||||
|
# Modify the wrapper script from the binary tarball to use GHC_PERSISTENT_FLAGS.
|
||||||
|
# See bug #313635.
|
||||||
|
sed -i -e "s|\"\$topdir\"|\"\$topdir\" ${GHC_PERSISTENT_FLAGS}|" \
|
||||||
|
"${WORKDIR}/usr/bin/ghc-${BIN_PV}"
|
||||||
|
|
||||||
|
# allow hardened users use vanilla binary to bootstrap ghc
|
||||||
|
# ghci uses mmap with rwx protection at it implements dynamic
|
||||||
|
# linking on it's own (bug #299709)
|
||||||
|
pax-mark -m "${WORKDIR}/usr/$(get_libdir)/${PN}-${BIN_PV}/bin/ghc"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use binary; then
|
||||||
|
if use prefix; then
|
||||||
|
relocate_ghc "${EPREFIX}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Move unpacked files to the expected place
|
||||||
|
mv "${WORKDIR}/usr" "${S}"
|
||||||
|
eapply_user
|
||||||
|
else
|
||||||
|
if ! use ghcbootstrap; then
|
||||||
|
case ${CHOST} in
|
||||||
|
*-darwin* | *-solaris*)
|
||||||
|
# UPDATE ME for ghc-7
|
||||||
|
mkdir "${WORKDIR}"/ghc-bin-installer || die
|
||||||
|
pushd "${WORKDIR}"/ghc-bin-installer > /dev/null || die
|
||||||
|
use sparc-solaris && unpack ghc-6.10.4-sparc-sun-solaris2.tar.bz2
|
||||||
|
use x86-solaris && unpack ghc-7.0.3-i386-unknown-solaris2.tar.bz2
|
||||||
|
use x86-macos && unpack ghc-7.4.1-i386-apple-darwin.tar.bz2
|
||||||
|
use x64-macos && unpack ghc-7.4.1-x86_64-apple-darwin.tar.bz2
|
||||||
|
popd > /dev/null
|
||||||
|
|
||||||
|
pushd "${WORKDIR}"/ghc-bin-installer/ghc-[67].?*.? > /dev/null || die
|
||||||
|
# fix the binaries so they run, on Solaris we need an
|
||||||
|
# LD_LIBRARY_PATH which has our prefix libdirs, on
|
||||||
|
# Darwin we need to replace the frameworks with our libs
|
||||||
|
# from the prefix fix before installation, because some
|
||||||
|
# of the tools are actually used during configure/make
|
||||||
|
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||||
|
export LD_LIBRARY_PATH="${EPREFIX}/$(get_libdir):${EPREFIX}/usr/$(get_libdir):${LD_LIBRARY_PATH}"
|
||||||
|
elif [[ ${CHOST} == *-darwin* ]] ; then
|
||||||
|
local readline_framework=GNUreadline.framework/GNUreadline
|
||||||
|
local gmp_framework=/opt/local/lib/libgmp.10.dylib
|
||||||
|
local ncurses_file=/opt/local/lib/libncurses.5.dylib
|
||||||
|
for binary in $(scanmacho -BRE MH_EXECUTE -F '%F' .) ; do
|
||||||
|
install_name_tool -change \
|
||||||
|
${readline_framework} \
|
||||||
|
"${EPREFIX}"/lib/libreadline.dylib \
|
||||||
|
${binary} || die
|
||||||
|
install_name_tool -change \
|
||||||
|
${gmp_framework} \
|
||||||
|
"${EPREFIX}"/usr/lib/libgmp.dylib \
|
||||||
|
${binary} || die
|
||||||
|
install_name_tool -change \
|
||||||
|
${ncurses_file} \
|
||||||
|
"${EPREFIX}"/usr/lib/libncurses.dylib \
|
||||||
|
${binary} || die
|
||||||
|
done
|
||||||
|
# we don't do frameworks!
|
||||||
|
sed -i \
|
||||||
|
-e 's/\(frameworks = \)\["GMP"\]/\1[]/g' \
|
||||||
|
-e 's/\(extraLibraries = \)\["m"\]/\1["m","gmp"]/g' \
|
||||||
|
rts/package.conf.in || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# it is autoconf, but we really don't want to give it too
|
||||||
|
# many arguments, in fact we do the make in-place anyway
|
||||||
|
./configure --prefix="${WORKDIR}"/usr || die
|
||||||
|
make install || die
|
||||||
|
popd > /dev/null
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
relocate_ghc "${WORKDIR}"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
|
sed -i -e "s|\"\$topdir\"|\"\$topdir\" ${GHC_PERSISTENT_FLAGS}|" \
|
||||||
|
"${S}/ghc/ghc.wrapper"
|
||||||
|
|
||||||
|
cd "${S}" # otherwise eapply will break
|
||||||
|
|
||||||
|
eapply "${FILESDIR}"/${PN}-7.0.4-CHOST-prefix.patch
|
||||||
|
eapply "${FILESDIR}"/${PN}-8.2.1-darwin.patch
|
||||||
|
eapply "${FILESDIR}"/${PN}-7.8.3-prim-lm.patch
|
||||||
|
eapply "${FILESDIR}"/${PN}-8.8.1-revert-CPP.patch
|
||||||
|
eapply "${FILESDIR}"/${PN}-8.10.1-allow-cross-bootstrap.patch
|
||||||
|
|
||||||
|
# a bunch of crosscompiler patches
|
||||||
|
# needs newer version:
|
||||||
|
#eapply "${FILESDIR}"/${PN}-8.2.1_rc1-hp2ps-cross.patch
|
||||||
|
|
||||||
|
# mingw32 target
|
||||||
|
pushd "${S}/libraries/Win32"
|
||||||
|
eapply "${FILESDIR}"/${PN}-8.2.1_rc1-win32-cross-2-hack.patch # bad workaround
|
||||||
|
popd
|
||||||
|
|
||||||
|
bump_libs
|
||||||
|
|
||||||
|
eapply_user
|
||||||
|
# as we have changed the build system
|
||||||
|
eautoreconf
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
if ! use binary; then
|
||||||
|
# initialize build.mk
|
||||||
|
echo '# Gentoo changes' > mk/build.mk
|
||||||
|
|
||||||
|
# Put docs into the right place, ie /usr/share/doc/ghc-${GHC_PV}
|
||||||
|
echo "docdir = ${EPREFIX}/usr/share/doc/$(cross)${P}" >> mk/build.mk
|
||||||
|
echo "htmldir = ${EPREFIX}/usr/share/doc/$(cross)${P}" >> mk/build.mk
|
||||||
|
|
||||||
|
# We also need to use the GHC_FLAGS flags when building ghc itself
|
||||||
|
echo "SRC_HC_OPTS+=${HCFLAGS} ${GHC_FLAGS}" >> mk/build.mk
|
||||||
|
echo "SRC_CC_OPTS+=${CFLAGS}" >> mk/build.mk
|
||||||
|
echo "SRC_LD_OPTS+=${LDFLAGS}" >> mk/build.mk
|
||||||
|
# Speed up initial Cabal bootstrap
|
||||||
|
echo "utils/ghc-cabal_dist_EXTRA_HC_OPTS+=$(ghc-make-args)" >> mk/build.mk
|
||||||
|
|
||||||
|
# We can't depend on haddock except when bootstrapping when we
|
||||||
|
# must build docs and include them into the binary .tbz2 package
|
||||||
|
# app-text/dblatex is not in portage, can not build PDF or PS
|
||||||
|
echo "BUILD_SPHINX_PDF = NO" >> mk/build.mk
|
||||||
|
echo "BUILD_SPHINX_HTML = $(usex doc YES NO)" >> mk/build.mk
|
||||||
|
echo "BUILD_MAN = $(usex doc YES NO)" >> mk/build.mk
|
||||||
|
|
||||||
|
# this controls presence on 'xhtml' and 'haddock' in final install
|
||||||
|
echo "HADDOCK_DOCS = YES" >> mk/build.mk
|
||||||
|
|
||||||
|
# not used outside of ghc's test
|
||||||
|
if [[ -n ${GHC_BUILD_DPH} ]]; then
|
||||||
|
echo "BUILD_DPH = YES" >> mk/build.mk
|
||||||
|
else
|
||||||
|
echo "BUILD_DPH = NO" >> mk/build.mk
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Any non-native build has to skip as it needs
|
||||||
|
# target haddock binary to be runnabine.
|
||||||
|
if ! is_native; then
|
||||||
|
# disable docs generation as it requires running stage2
|
||||||
|
echo "HADDOCK_DOCS=NO" >> mk/build.mk
|
||||||
|
echo "BUILD_SPHINX_HTML=NO" >> mk/build.mk
|
||||||
|
echo "BUILD_SPHINX_PDF=NO" >> mk/build.mk
|
||||||
|
fi
|
||||||
|
|
||||||
|
if is_crosscompile; then
|
||||||
|
# Install ghc-stage1 crosscompiler instead of
|
||||||
|
# ghc-stage2 cross-built compiler.
|
||||||
|
echo "Stage1Only=YES" >> mk/build.mk
|
||||||
|
fi
|
||||||
|
|
||||||
|
# allows overriding build flavours for libraries:
|
||||||
|
# v - vanilla (static libs)
|
||||||
|
# p - profiled
|
||||||
|
# dyn - shared libraries
|
||||||
|
# example: GHC_LIBRARY_WAYS="v dyn"
|
||||||
|
if [[ -n ${GHC_LIBRARY_WAYS} ]]; then
|
||||||
|
echo "GhcLibWays=${GHC_LIBRARY_WAYS}" >> mk/build.mk
|
||||||
|
fi
|
||||||
|
echo "BUILD_PROF_LIBS = $(usex profile YES NO)" >> mk/build.mk
|
||||||
|
|
||||||
|
# Get ghc from the unpacked binary .tbz2
|
||||||
|
# except when bootstrapping we just pick ghc up off the path
|
||||||
|
if ! use ghcbootstrap; then
|
||||||
|
export PATH="${WORKDIR}/usr/bin:${PATH}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "INTEGER_LIBRARY = $(usex gmp integer-gmp integer-simple)" >> mk/build.mk
|
||||||
|
|
||||||
|
# don't strip anything. Very useful when stage2 SIGSEGVs on you
|
||||||
|
echo "STRIP_CMD = :" >> mk/build.mk
|
||||||
|
|
||||||
|
local econf_args=()
|
||||||
|
|
||||||
|
# GHC embeds toolchain it was built by and uses it later.
|
||||||
|
# Don't allow things like ccache or versioned binary slip.
|
||||||
|
# We use stable thing across gcc upgrades.
|
||||||
|
# User can use EXTRA_ECONF=CC=... to override this default.
|
||||||
|
econf_args+=(
|
||||||
|
AR=${CTARGET}-ar
|
||||||
|
CC=${CTARGET}-gcc
|
||||||
|
# these should be inferred by GHC but ghc defaults
|
||||||
|
# to using bundled tools on windows.
|
||||||
|
Windres=${CTARGET}-windres
|
||||||
|
DllWrap=${CTARGET}-dllwrap
|
||||||
|
# we set the linker explicitly below
|
||||||
|
--disable-ld-override
|
||||||
|
)
|
||||||
|
case ${CTARGET} in
|
||||||
|
arm*)
|
||||||
|
# ld.bfd-2.28 does not work for ghc. Force ld.gold
|
||||||
|
# instead. This should be removed once gentoo gets
|
||||||
|
# a fix for R_ARM_COPY bug: https://sourceware.org/PR16177
|
||||||
|
econf_args+=(LD=${CTARGET}-ld.gold)
|
||||||
|
;;
|
||||||
|
sparc*)
|
||||||
|
# ld.gold-2.28 does not work for ghc. Force ld.bfd
|
||||||
|
# instead. This should be removed once gentoo gets
|
||||||
|
# a fix for missing --no-relax support bug:
|
||||||
|
# https://sourceware.org/ml/binutils/2017-07/msg00183.html
|
||||||
|
econf_args+=(LD=${CTARGET}-ld.bfd)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
econf_args+=(LD=${CTARGET}-ld)
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [[ ${CBUILD} != ${CHOST} ]]; then
|
||||||
|
# GHC bug: ghc claims not to support cross-building.
|
||||||
|
# It does, but does not distinct --host= value
|
||||||
|
# for stage1 and stage2 compiler.
|
||||||
|
econf_args+=(--host=${CBUILD})
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use ghcmakebinary; then
|
||||||
|
# When building booting libary we are trying to
|
||||||
|
# bundle or restrict most of external depends
|
||||||
|
# with unstable ABI:
|
||||||
|
# - embed libffi (default GHC behaviour)
|
||||||
|
# - disable ncurses support for ghci (via haskeline)
|
||||||
|
# https://bugs.gentoo.org/557478
|
||||||
|
# - disable ncurses support for ghc-pkg
|
||||||
|
echo "libraries/haskeline_CONFIGURE_OPTS += --flag=-terminfo" >> mk/build.mk
|
||||||
|
echo "utils/ghc-pkg_HC_OPTS += -DBOOTSTRAPPING" >> mk/build.mk
|
||||||
|
elif is_native; then
|
||||||
|
# using ${GTARGET}'s libffi is not supported yet:
|
||||||
|
# GHC embeds full path for ffi includes without /usr/${CTARGET} account.
|
||||||
|
econf_args+=(--with-system-libffi)
|
||||||
|
econf_args+=(--with-ffi-includes=$($(tc-getPKG_CONFIG) libffi --cflags-only-I | sed -e 's@^-I@@'))
|
||||||
|
fi
|
||||||
|
|
||||||
|
einfo "Final mk/build.mk:"
|
||||||
|
cat mk/build.mk || die
|
||||||
|
|
||||||
|
econf ${econf_args[@]} \
|
||||||
|
--enable-bootstrap-with-devel-snapshot \
|
||||||
|
$(use_enable elfutils dwarf-unwind) \
|
||||||
|
$(use_enable numa)
|
||||||
|
|
||||||
|
if [[ ${PV} == *9999* ]]; then
|
||||||
|
GHC_PV="$(grep 'S\[\"PACKAGE_VERSION\"\]' config.status | sed -e 's@^.*=\"\(.*\)\"@\1@')"
|
||||||
|
GHC_P=${PN}-${GHC_PV}
|
||||||
|
fi
|
||||||
|
fi # ! use binary
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
if ! use binary; then
|
||||||
|
# Stage1Only crosscompiler does not build stage2
|
||||||
|
if ! is_crosscompile; then
|
||||||
|
# 1. build/pax-mark compiler binary first
|
||||||
|
emake ghc/stage2/build/tmp/ghc-stage2
|
||||||
|
# 2. pax-mark (bug #516430)
|
||||||
|
pax-mark -m ghc/stage2/build/tmp/ghc-stage2
|
||||||
|
# 2. build/pax-mark haddock using ghc-stage2
|
||||||
|
if is_native; then
|
||||||
|
# non-native build does not build haddock
|
||||||
|
# due to HADDOCK_DOCS=NO, but it could.
|
||||||
|
emake utils/haddock/dist/build/tmp/haddock
|
||||||
|
pax-mark -m utils/haddock/dist/build/tmp/haddock
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
# 3. and then all the rest
|
||||||
|
emake all
|
||||||
|
fi # ! use binary
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
# TODO: deal with:
|
||||||
|
# - sandbox (pollutes environment)
|
||||||
|
# - extra packages (to extend testsuite coverage)
|
||||||
|
# bits are taken from 'validate'
|
||||||
|
local make_test_target='test' # can be fulltest
|
||||||
|
# not 'emake' as testsuite uses '$MAKE' without jobserver available
|
||||||
|
make $make_test_target stage=2 THREADS=$(makeopts_jobs)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
if use binary; then
|
||||||
|
use prefix && mkdir -p "${ED}"
|
||||||
|
mv "${S}/usr" "${ED}"
|
||||||
|
else
|
||||||
|
[[ -f VERSION ]] || emake VERSION
|
||||||
|
|
||||||
|
# -j1 due to a rare race in install script:
|
||||||
|
# make --no-print-directory -f ghc.mk phase=final install
|
||||||
|
# /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c -m 755 \
|
||||||
|
# -d "/tmp/portage-tmpdir/portage/cross-armv7a-unknown-linux-gnueabi/ghc-9999/image/usr/lib64/armv7a-unknown-linux-gnueabi-ghc-8.3.20170404/include"
|
||||||
|
# /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c -m 644 utils/hsc2hs/template-hsc.h \
|
||||||
|
# "/tmp/portage-tmpdir/portage/cross-armv7a-unknown-linux-gnueabi/ghc-9999/image/usr/lib64/armv7a-unknown-linux-gnueabi-ghc-8.3.20170404"
|
||||||
|
# /usr/bin/install: cannot create regular file \
|
||||||
|
# '/tmp/portage-tmpdir/portage/cross-armv7a-unknown-linux-gnueabi/ghc-9999/image/usr/lib64/armv7a-unknown-linux-gnueabi-ghc-8.3.20170404': No such file or directory
|
||||||
|
emake -j1 install DESTDIR="${D}"
|
||||||
|
|
||||||
|
# Skip for cross-targets as they all share target location:
|
||||||
|
# /usr/share/doc/ghc-9999/
|
||||||
|
if ! is_crosscompile; then
|
||||||
|
dodoc "distrib/README" "LICENSE" "VERSION"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# rename ghc-shipped files to avoid collision
|
||||||
|
# of external packages. Motivating example:
|
||||||
|
# user had installed:
|
||||||
|
# dev-lang/ghc-7.8.4-r0 (with transformers-0.3.0.0)
|
||||||
|
# dev-haskell/transformers-0.4.2.0
|
||||||
|
# then user tried to update to
|
||||||
|
# dev-lang/ghc-7.8.4-r1 (with transformers-0.4.2.0)
|
||||||
|
# this will lead to single .conf file collision.
|
||||||
|
local shipped_conf renamed_conf
|
||||||
|
local package_confdir="${ED}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d"
|
||||||
|
for shipped_conf in "${package_confdir}"/*.conf; do
|
||||||
|
# rename 'pkg-ver-id.conf' to 'pkg-ver-id-gentoo-${PF}.conf'
|
||||||
|
renamed_conf=${shipped_conf%.conf}-gentoo-${PF}.conf
|
||||||
|
mv "${shipped_conf}" "${renamed_conf}" || die
|
||||||
|
done
|
||||||
|
|
||||||
|
# remove link, but leave 'haddock-${GHC_P}'
|
||||||
|
rm -f "${ED}"/usr/bin/$(cross)haddock
|
||||||
|
|
||||||
|
if ! is_crosscompile; then
|
||||||
|
newbashcomp "${FILESDIR}"/ghc-bash-completion ghc-pkg
|
||||||
|
newbashcomp utils/completion/ghc.bash ghc
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# path to the package.cache
|
||||||
|
local package_confdir="${ED}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d"
|
||||||
|
PKGCACHE="${package_confdir}"/package.cache
|
||||||
|
# copy the package.conf.d, including timestamp, save it so we can help
|
||||||
|
# users that have a broken package.conf.d
|
||||||
|
cp -pR "${package_confdir}"{,.initial} || die "failed to backup intial package.conf.d"
|
||||||
|
|
||||||
|
# copy the package.conf, including timestamp, save it so we later can put it
|
||||||
|
# back before uninstalling, or when upgrading.
|
||||||
|
cp -p "${PKGCACHE}"{,.shipped} \
|
||||||
|
|| die "failed to copy package.conf.d/package.cache"
|
||||||
|
|
||||||
|
if is_crosscompile; then
|
||||||
|
# When we build a cross-compiler the layout is the following:
|
||||||
|
# usr/lib/${CTARGET}-ghc-${VER}/ contains target libraries
|
||||||
|
# but
|
||||||
|
# usr/lib/${CTARGET}-ghc-${VER}/bin/ directory
|
||||||
|
# containst host binaries (modulo bugs).
|
||||||
|
|
||||||
|
# Portage's stripping mechanism does not skip stripping
|
||||||
|
# foreign binaries. This frequently causes binaries to be
|
||||||
|
# broken.
|
||||||
|
#
|
||||||
|
# Thus below we disable stripping of target libraries and allow
|
||||||
|
# stripping hosts executables.
|
||||||
|
dostrip -x "/usr/$(get_libdir)/$(cross)${GHC_P}"
|
||||||
|
dostrip "/usr/$(get_libdir)/$(cross)${GHC_P}/bin"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
# have we got an earlier version of ghc installed?
|
||||||
|
if has_version "<${CATEGORY}/${PF}"; then
|
||||||
|
haskell_updater_warn="1"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
ghc-reregister
|
||||||
|
|
||||||
|
# path to the package.cache
|
||||||
|
PKGCACHE="${EROOT}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d/package.cache"
|
||||||
|
|
||||||
|
# give the cache a new timestamp, it must be as recent as
|
||||||
|
# the package.conf.d directory.
|
||||||
|
touch "${PKGCACHE}"
|
||||||
|
|
||||||
|
if [[ "${haskell_updater_warn}" == "1" ]]; then
|
||||||
|
ewarn
|
||||||
|
ewarn "\e[1;31m************************************************************************\e[0m"
|
||||||
|
ewarn
|
||||||
|
ewarn "You have just upgraded from an older version of GHC."
|
||||||
|
ewarn "You may have to run"
|
||||||
|
ewarn " 'haskell-updater'"
|
||||||
|
ewarn "to rebuild all ghc-based Haskell libraries."
|
||||||
|
ewarn
|
||||||
|
ewarn "\e[1;31m************************************************************************\e[0m"
|
||||||
|
ewarn
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_prerm() {
|
||||||
|
PKGCACHE="${EROOT}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d/package.cache"
|
||||||
|
rm -rf "${PKGCACHE}"
|
||||||
|
|
||||||
|
cp -p "${PKGCACHE}"{.shipped,}
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
ghc-package_pkg_postrm
|
||||||
|
}
|
Binary file not shown.
@ -1,66 +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} )
|
|
||||||
PYTHON_REQ_USE="xml"
|
|
||||||
|
|
||||||
inherit meson python-any-r1 vala xdg-utils
|
|
||||||
|
|
||||||
DESCRIPTION="Library and tool for reading and writing Jcat files "
|
|
||||||
HOMEPAGE="https://github.com/hughsie/libjcat"
|
|
||||||
SRC_URI="https://github.com/hughsie/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86"
|
|
||||||
IUSE="gpg gtk-doc +introspection +man pkcs7 test vala"
|
|
||||||
|
|
||||||
RDEPEND="dev-libs/glib:2
|
|
||||||
dev-libs/json-glib:=
|
|
||||||
gpg? (
|
|
||||||
app-crypt/gpgme
|
|
||||||
dev-libs/libgpg-error
|
|
||||||
)
|
|
||||||
introspection? ( dev-libs/gobject-introspection:= )
|
|
||||||
pkcs7? ( net-libs/gnutls )
|
|
||||||
vala? ( dev-lang/vala:= )"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
BDEPEND="virtual/pkgconfig
|
|
||||||
$(python_gen_any_dep '
|
|
||||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
gtk-doc? ( dev-util/gtk-doc )
|
|
||||||
man? ( sys-apps/help2man )
|
|
||||||
test? ( net-libs/gnutls[tools] )"
|
|
||||||
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-0.1.1-disable_installed_tests.patch
|
|
||||||
"${FILESDIR}"/${PN}-0.1.3-optional_vala.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
python_check_deps() {
|
|
||||||
has_version -b "dev-python/setuptools[${PYTHON_USEDEP}]"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
xdg_environment_reset
|
|
||||||
use vala && vala_src_prepare
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local emesonargs=(
|
|
||||||
$(meson_use gtk-doc gtkdoc)
|
|
||||||
$(meson_use gpg)
|
|
||||||
$(meson_use introspection)
|
|
||||||
$(meson_use man)
|
|
||||||
$(meson_use pkcs7)
|
|
||||||
$(meson_use test tests)
|
|
||||||
$(meson_use vala vala-bindings)
|
|
||||||
)
|
|
||||||
meson_src_configure
|
|
||||||
}
|
|
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST PyGithub-1.53.gh.tar.gz 3026570 BLAKE2B 7204c5934b94d5629b38e841a9c9011ea561ca8aa8d3d169915975fb02fe8db059fcb521d11bbb2350a806457d98abbfe36a19c4e5f633c82cdf06b8b7203c6d SHA512 f98d013d5fdf31ee59405c52edb35942ca5a3d2c1ff9653c71f03871bb28d0c247412bfc2593991026ddb989e1a33dfe91d19b4ebb1e89386b54493d51071768
|
DIST PyGithub-1.53.gh.tar.gz 3026570 BLAKE2B 7204c5934b94d5629b38e841a9c9011ea561ca8aa8d3d169915975fb02fe8db059fcb521d11bbb2350a806457d98abbfe36a19c4e5f633c82cdf06b8b7203c6d SHA512 f98d013d5fdf31ee59405c52edb35942ca5a3d2c1ff9653c71f03871bb28d0c247412bfc2593991026ddb989e1a33dfe91d19b4ebb1e89386b54493d51071768
|
||||||
|
DIST PyGithub-1.54.1.gh.tar.gz 3117667 BLAKE2B 1cf44acf8e69674dee8440162151236eead3af78e2ea9d1c57d7c9217b7249fbc1d8ca10f15e79f8f27ae9cd5ad126376b1702ac4d9758e4f0b0acf6e85eab22 SHA512 72aecef168c8741b773560bee31b0b6159abeea97cc9f659363ff9204eed610686fdaf6461dab0c643adf00140a53aa86d70b9011b39522650aa872f02e5e67e
|
||||||
DIST PyGithub-1.54.gh.tar.gz 3117061 BLAKE2B d180b9c0192ad22b84cb17ff6c9a7c4ad4d490c149549515727a0f1ab4e572461d461cdcd4138a0d9f03f26b0a689579bd7ec875896330a3c43e5cfb45411dc7 SHA512 c716df1f6dc64ea6bc56db82b0f0263dc0ec29994ea9fa967c22a0eee07c4ccd206f14168e36df7d913cfa387ecca703cd2331cd549bd42ebbec0e33ecd15c44
|
DIST PyGithub-1.54.gh.tar.gz 3117061 BLAKE2B d180b9c0192ad22b84cb17ff6c9a7c4ad4d490c149549515727a0f1ab4e572461d461cdcd4138a0d9f03f26b0a689579bd7ec875896330a3c43e5cfb45411dc7 SHA512 c716df1f6dc64ea6bc56db82b0f0263dc0ec29994ea9fa967c22a0eee07c4ccd206f14168e36df7d913cfa387ecca703cd2331cd549bd42ebbec0e33ecd15c44
|
||||||
|
@ -0,0 +1,28 @@
|
|||||||
|
# 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="Python library to access the Github API v3"
|
||||||
|
HOMEPAGE="https://github.com/PyGithub/PyGithub/"
|
||||||
|
# Use github since pypi is missing test data
|
||||||
|
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="LGPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND="dev-python/deprecated[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/pyjwt-2[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/requests-2.14.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/six[${PYTHON_USEDEP}]"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/httpretty-0.9.6[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
@ -1,2 +1 @@
|
|||||||
DIST fakeredis-1.4.4.gh.tar.gz 65483 BLAKE2B 500346bb96d2c1308d0565a006ca037784ff25670fd313c94df13f0ceb6d90dbec044c71c95bdabbd593823e26b47a8f8f2a2f7f5b3fa9307b9ccea407b2872c SHA512 04b85675b088e698f11edf8727b88544640cac0caa0048f009371a4c9a9ebc17443d8f03c9ead20ca40608f618c4d394cd6ba4c9d1e5e59b058713756856e450
|
|
||||||
DIST fakeredis-1.4.5.gh.tar.gz 66197 BLAKE2B f0f36d1e209673f7722849e835c2a33fac9f7e8bfb1294ecf2e69478295f14af514d0fc4a5732a20ce099333b136d682591fef031ce90d6262fa8c9025cbfa2e SHA512 e16ae5c5947a924b0c9c40ae68efebad5cccea9f88d1b5c3f1677e1ccb8c1fa75dbafc9b413c2359b774f3043c387ff91ecd4e2e21204036883175944338d59b
|
DIST fakeredis-1.4.5.gh.tar.gz 66197 BLAKE2B f0f36d1e209673f7722849e835c2a33fac9f7e8bfb1294ecf2e69478295f14af514d0fc4a5732a20ce099333b136d682591fef031ce90d6262fa8c9025cbfa2e SHA512 e16ae5c5947a924b0c9c40ae68efebad5cccea9f88d1b5c3f1677e1ccb8c1fa75dbafc9b413c2359b774f3043c387ff91ecd4e2e21204036883175944338d59b
|
||||||
|
@ -1,44 +0,0 @@
|
|||||||
# Copyright 2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( pypy3 python3_{6..9} )
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Fake implementation of redis API for testing purposes"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://github.com/jamesls/fakeredis/
|
|
||||||
https://pypi.org/project/fakeredis/"
|
|
||||||
SRC_URI="
|
|
||||||
https://github.com/jamesls/fakeredis/archive/${PV}.tar.gz
|
|
||||||
-> ${P}.gh.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 x86"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/redis-py[${PYTHON_USEDEP}]
|
|
||||||
dev-python/six[${PYTHON_USEDEP}]
|
|
||||||
dev-python/sortedcontainers[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/hypothesis[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
local excludes=(
|
|
||||||
# tests for use with aioredis, not packaged in ::gentoo
|
|
||||||
--ignore test/test_aioredis.py
|
|
||||||
# tests requiring lupa (lua support)
|
|
||||||
-k 'not test_eval and not test_lua and not test_script'
|
|
||||||
)
|
|
||||||
|
|
||||||
pytest -vv "${excludes[@]}" || die "Tests failed with ${EPYTHON}"
|
|
||||||
}
|
|
@ -0,0 +1 @@
|
|||||||
|
DIST theano-pymc-1.0.13.tar.gz 12975871 BLAKE2B 71528868885084d7c37f1f5cc5156aca5e764d09f0dc57aa46e21240ee2959aafb5882aef8977d9f215b051265d0d9bc3a7097ac0bb6d427cfc076ea6f591905 SHA512 da25e386965695a5630c54a671a7a573d0f0fae2eeeacf4f65130e4e4caf416373852ac14b1eb07ae39c194febe854d71fffe2adc24c348f64a4b73b43564229
|
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>sci@gentoo.org</email>
|
||||||
|
<name>Gentoo Science Project</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="pypi">Theano-PyMC</remote-id>
|
||||||
|
<remote-id type="github">pymc-devs/Theano-PyMC</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,42 @@
|
|||||||
|
# Copyright 2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||||
|
PYTHON_COMPAT=( python3_{6,7,8,9} )
|
||||||
|
inherit distutils-r1 optfeature
|
||||||
|
|
||||||
|
DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays"
|
||||||
|
HOMEPAGE="https://github.com/pymc-devs/Theano-PyMC"
|
||||||
|
SRC_URI="https://github.com/pymc-devs/Theano-PyMC/archive/rel-${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}"/Theano-PyMC-rel-${PV}
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/numpy[${PYTHON_USEDEP}]
|
||||||
|
dev-python/six[${PYTHON_USEDEP}]
|
||||||
|
dev-python/scipy[${PYTHON_USEDEP}]"
|
||||||
|
|
||||||
|
distutils_enable_sphinx doc 'dev-python/sphinx_rtd_theme'
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
sed -i -e "s/, 'flake8'//" setup.py || die
|
||||||
|
sed -i -e "s/tests.\*/tests\*/" setup.py || die
|
||||||
|
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
distutils_install_for_testing
|
||||||
|
pytest -vv || die "Tests failed with ${EPYTHON}"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit dev-util/nvidia-cuda-sdk
|
||||||
|
optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST thrift-0.11.0.tar.gz 52467 BLAKE2B 72dca118476dc5d618f6434614e5d72c6f496088731de9b62fcf47e76dcf707a171721df2aa4c87fdcf90670b8fd11c3a1cdb2b090b78683a3f4a204ef8121cb SHA512 cba59eef2841fa008a19cd36b322491b67d711698205d6671c76e38a3de2b330db8aa54516de8cdd4020dc795e67ed55913df53466f5dbf07d38fed2d10f9349
|
DIST thrift-0.11.0.tar.gz 52467 BLAKE2B 72dca118476dc5d618f6434614e5d72c6f496088731de9b62fcf47e76dcf707a171721df2aa4c87fdcf90670b8fd11c3a1cdb2b090b78683a3f4a204ef8121cb SHA512 cba59eef2841fa008a19cd36b322491b67d711698205d6671c76e38a3de2b330db8aa54516de8cdd4020dc795e67ed55913df53466f5dbf07d38fed2d10f9349
|
||||||
|
DIST thrift-0.13.0.tar.gz 59911 BLAKE2B b45363c2e8bbc5c7fae25533c7df9be49e6ea88b5ce077e9a580c28decf06de608d50100ba77cdb1ce8c7e56b87608d193b8579a4f89cc4fb74d672da0ba7e93 SHA512 063440db324efdae1fc4466133deaedeb1edd2f953f6924191ad819476f7b62a434d52960837e94516a673063ceab8b446b4f7dc8c94bb2d1fb84e95d2fa3d78
|
||||||
|
@ -0,0 +1,25 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{6,7,8,9} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Python implementation of Thrift"
|
||||||
|
HOMEPAGE="https://pypi.org/project/thrift/ https://thrift.apache.org/"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
python_install() {
|
||||||
|
distutils-r1_python_install
|
||||||
|
python_optimize
|
||||||
|
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST asciidoctor-2.0.10.tar.gz 613180 BLAKE2B 46125c85276eb0c7cf4404ca04d854449233e2cd14e24687aed9f95eb64ceb6ebac3d3ed73918679b9a5b047e41d82d02383d0e08acd0df5cc9bc216f14c79a3 SHA512 9ef908081569188d9903c7a7619fe0b50197f6f0cc922c4070e116bcd3f988a55da87443e84b6e260aabcc653a804fcaf29b96a722ab36f7ebb27ec11eb7ddbe
|
DIST asciidoctor-2.0.10.tar.gz 613180 BLAKE2B 46125c85276eb0c7cf4404ca04d854449233e2cd14e24687aed9f95eb64ceb6ebac3d3ed73918679b9a5b047e41d82d02383d0e08acd0df5cc9bc216f14c79a3 SHA512 9ef908081569188d9903c7a7619fe0b50197f6f0cc922c4070e116bcd3f988a55da87443e84b6e260aabcc653a804fcaf29b96a722ab36f7ebb27ec11eb7ddbe
|
||||||
DIST asciidoctor-2.0.11.tar.gz 625446 BLAKE2B 4c4a3a7e019971765efade92da39d5895f54bd3eb927eb1ecc1cc3e3998490fcdb93426c03c9fca82d777b28c6c8027f34d39289b2250254884613670eacf9d6 SHA512 eef126653fb75c4d4bce5481f9e12f1852cf5794f547e1131f2e3f5bc34c3813e32034e6890432e83fc543b4a5dcca46750d052844d7055bfe20ea4b0c4428f2
|
DIST asciidoctor-2.0.11.tar.gz 625446 BLAKE2B 4c4a3a7e019971765efade92da39d5895f54bd3eb927eb1ecc1cc3e3998490fcdb93426c03c9fca82d777b28c6c8027f34d39289b2250254884613670eacf9d6 SHA512 eef126653fb75c4d4bce5481f9e12f1852cf5794f547e1131f2e3f5bc34c3813e32034e6890432e83fc543b4a5dcca46750d052844d7055bfe20ea4b0c4428f2
|
||||||
|
DIST asciidoctor-2.0.12.tar.gz 625448 BLAKE2B 242ee146465685c7b5326c343df1e1e1bcd74d85c2bfae3fd3e661c63a11c82fba6a2ff9ddb0cd0131289ef09b14b6039a0c54e35471b000166584ae3530d6cd SHA512 b1fdfd8907d19943bebc9040e3e541df81eb874bf9d53a174e5be8a804e117e7ee3cd21046a4a4142cdc285e6269796d06915b0f42f4f16ae1e8975e444a8a76
|
||||||
|
@ -0,0 +1,44 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
USE_RUBY="ruby25 ruby26"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_TASK_TEST="test features"
|
||||||
|
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.adoc README.adoc"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_EXTRAINSTALL="data"
|
||||||
|
|
||||||
|
inherit ruby-fakegem
|
||||||
|
|
||||||
|
DESCRIPTION="Processor for converting AsciiDoc into HTML 5, DocBook 4.5 and other formats"
|
||||||
|
HOMEPAGE="https://github.com/asciidoctor/asciidoctor"
|
||||||
|
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
ruby_add_bdepend "test? (
|
||||||
|
dev-util/cucumber
|
||||||
|
dev-ruby/rspec-expectations:*
|
||||||
|
dev-ruby/asciimath
|
||||||
|
dev-ruby/coderay
|
||||||
|
dev-ruby/concurrent-ruby
|
||||||
|
dev-ruby/erubis
|
||||||
|
dev-ruby/haml
|
||||||
|
dev-ruby/nokogiri
|
||||||
|
dev-ruby/rouge
|
||||||
|
dev-ruby/slim
|
||||||
|
dev-ruby/tilt )"
|
||||||
|
|
||||||
|
all_ruby_prepare() {
|
||||||
|
rm Gemfile || die
|
||||||
|
}
|
||||||
|
|
||||||
|
all_ruby_install() {
|
||||||
|
all_fakegem_install
|
||||||
|
|
||||||
|
doman man/asciidoctor.1
|
||||||
|
}
|
@ -0,0 +1,65 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
USE_RUBY="ruby25 ruby26"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||||
|
|
||||||
|
inherit ruby-fakegem
|
||||||
|
|
||||||
|
DESCRIPTION="Allows stubbing HTTP requests and setting expectations on HTTP requests"
|
||||||
|
HOMEPAGE="https://github.com/bblimke/webmock"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="3"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
ruby_add_rdepend "
|
||||||
|
>=dev-ruby/addressable-2.3.6
|
||||||
|
>=dev-ruby/crack-0.3.2
|
||||||
|
>=dev-ruby/hashdiff-0.4.0:0
|
||||||
|
"
|
||||||
|
|
||||||
|
ruby_add_bdepend "test? (
|
||||||
|
dev-ruby/minitest:5
|
||||||
|
dev-ruby/rspec:3
|
||||||
|
>=dev-ruby/test-unit-3.0.0
|
||||||
|
dev-ruby/rack
|
||||||
|
>=dev-ruby/httpclient-2.8.0
|
||||||
|
|| ( dev-ruby/http:4 dev-ruby/http:3 ) )"
|
||||||
|
|
||||||
|
all_ruby_prepare() {
|
||||||
|
# Remove bundler support
|
||||||
|
rm Gemfile || die
|
||||||
|
sed -i -e '/[Bb]undler/d' Rakefile || die
|
||||||
|
sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die
|
||||||
|
sed -i -e '1igem "test-unit"' test/test_helper.rb || die
|
||||||
|
|
||||||
|
# There is now optional support for curb and typhoeus which we don't
|
||||||
|
# have in Gentoo yet. em_http_request is available in Gentoo but its
|
||||||
|
# version is too old. patron's latest version is not compatible.
|
||||||
|
sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/d' spec/spec_helper.rb || die
|
||||||
|
rm spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/* || die
|
||||||
|
|
||||||
|
# Avoid httpclient specs that require network access, most likely
|
||||||
|
# because mocking does not fully work.
|
||||||
|
sed -i -e '/httpclient streams response/,/^ end/ s:^:#:' \
|
||||||
|
-e '/are detected when manually specifying Authorization header/,/^ end/ s:^:#:' \
|
||||||
|
spec/acceptance/httpclient/httpclient_spec.rb
|
||||||
|
|
||||||
|
# Avoid specs that require network access
|
||||||
|
sed -i -e '/when request is not stubbed/,/^ end/ s:^:#:' spec/acceptance/shared/callbacks.rb
|
||||||
|
}
|
||||||
|
|
||||||
|
each_ruby_test() {
|
||||||
|
${RUBY} -S rake test NO_CONNECTION=true || die
|
||||||
|
${RUBY} -S rspec-3 spec || die
|
||||||
|
|
||||||
|
einfo "Delay to allow the test server to stop"
|
||||||
|
sleep 10
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,26 @@
|
|||||||
|
--- a/tclxml.c 2020-12-24 16:58:20.051675497 +0100
|
||||||
|
+++ b/tclxml.c 2020-12-24 16:58:49.586185021 +0100
|
||||||
|
@@ -20,6 +20,10 @@
|
||||||
|
#include <tclxslt/tclxslt.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
+#ifdef bool
|
||||||
|
+#undef bool
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
int Tcldom_libxml2_Init ( Tcl_Interp *interp );
|
||||||
|
|
||||||
|
#define TCL_DOES_STUBS \
|
||||||
|
--- a/tclxslt-libxslt.c 2020-12-24 16:59:07.004895777 +0100
|
||||||
|
+++ b/tclxslt-libxslt.c 2020-12-24 16:59:46.280243657 +0100
|
||||||
|
@@ -20,6 +20,10 @@
|
||||||
|
#include <libxslt/imports.h>
|
||||||
|
#include <libxslt/security.h>
|
||||||
|
|
||||||
|
+#ifdef bool
|
||||||
|
+#undef bool
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#undef TCL_STORAGE_CLASS
|
||||||
|
#define TCL_STORAGE_CLASS DLLEXPORT
|
||||||
|
|
Binary file not shown.
@ -0,0 +1,78 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit bash-completion-r1 eutils toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="unix-like reverse engineering framework and commandline tools"
|
||||||
|
HOMEPAGE="http://www.radare.org"
|
||||||
|
|
||||||
|
if [[ ${PV} == *9999 ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/radareorg/radare2"
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/radareorg/radare2/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="ssl libressl"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-libs/libzip
|
||||||
|
dev-libs/xxhash
|
||||||
|
sys-apps/file
|
||||||
|
sys-libs/zlib
|
||||||
|
dev-libs/capstone:0=
|
||||||
|
ssl? (
|
||||||
|
!libressl? ( dev-libs/openssl:0= )
|
||||||
|
libressl? ( dev-libs/libressl:0= )
|
||||||
|
)
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="virtual/pkgconfig"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# Fix hardcoded docdir for fortunes
|
||||||
|
sed -i -e "/^#define R2_FORTUNES/s/radare2/$PF/" \
|
||||||
|
libr/include/r_userconf.h.acr
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# Ideally these should be set by ./configure
|
||||||
|
tc-export CC AR LD OBJCOPY RANLIB
|
||||||
|
export HOST_CC=${CC}
|
||||||
|
|
||||||
|
econf \
|
||||||
|
--without-libuv \
|
||||||
|
--with-syscapstone \
|
||||||
|
--with-sysmagic \
|
||||||
|
--with-sysxxhash \
|
||||||
|
--with-syszip \
|
||||||
|
$(use_with ssl openssl)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
insinto /usr/share/zsh/site-functions
|
||||||
|
doins doc/zsh/_*
|
||||||
|
|
||||||
|
newbashcomp doc/bash_autocompletion.sh "${PN}"
|
||||||
|
bashcomp_alias "${PN}" rafind2 r2 rabin2 rasm2 radiff2
|
||||||
|
|
||||||
|
# a workaround for unstable $(INSTALL) call, bug #574866
|
||||||
|
local d
|
||||||
|
for d in doc/*; do
|
||||||
|
if [[ -d $d ]]; then
|
||||||
|
rm -rfv "$d" || die "failed to delete '$d'"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# These are not really docs. radare assumes
|
||||||
|
# uncompressed files: bug #761250
|
||||||
|
docompress -x /usr/share/doc/${PF}/fortunes.{creepy,fun,nsfw,tips}
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,51 @@
|
|||||||
|
From 6dcab8d2e001bb4b91314693affa65e9c1a9adbd Mon Sep 17 00:00:00 2001
|
||||||
|
From: Michael Orlitzky <michael@orlitzky.com>
|
||||||
|
Date: Tue, 22 Dec 2020 19:36:28 -0500
|
||||||
|
Subject: [PATCH 1/2] configure.ac: drop lua5.1 pkg-config check.
|
||||||
|
|
||||||
|
The official upstream name for the lua pkg-config file is "lua.pc", so
|
||||||
|
preferring the name "lua5.1.pc" to the official one can lead to
|
||||||
|
problems when both are installed. Specifically, if lua-5.2 is
|
||||||
|
installed and its pkg-config file is called "lua.pc", then ./configure
|
||||||
|
will still detect (and use!) lua-5.1 if it happens to be installed
|
||||||
|
with just the right name.
|
||||||
|
|
||||||
|
This was honestly left in only for superstitious reasons, and now it's
|
||||||
|
actually causing problems on Gentoo systems that have more than one
|
||||||
|
version of Lua installed. So, time to go.
|
||||||
|
|
||||||
|
Closes: https://github.com/trusteddomainproject/OpenDKIM/issues/111
|
||||||
|
---
|
||||||
|
configure.ac | 14 ++------------
|
||||||
|
1 file changed, 2 insertions(+), 12 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index 828fe53f..d3d688ec 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -1517,20 +1517,10 @@ lua_found="no"
|
||||||
|
|
||||||
|
if test \( x"$luapath" = x"auto" -o x"$luapath" = x"yes" \) -a x"$PKG_CONFIG" != x""
|
||||||
|
then
|
||||||
|
- PKG_CHECK_MODULES([LIBLUA], [lua5.1], [
|
||||||
|
+ PKG_CHECK_MODULES([LIBLUA], [lua], [
|
||||||
|
LIBLUA_INCDIRS="$LIBLUA_CFLAGS"
|
||||||
|
lua_found="yes"
|
||||||
|
- ],
|
||||||
|
- [
|
||||||
|
- AC_MSG_WARN([pkg-config for lua5.1 not found, trying lua...])
|
||||||
|
- PKG_CHECK_MODULES([LIBLUA], [lua], [
|
||||||
|
- LIBLUA_INCDIRS="$LIBLUA_CFLAGS"
|
||||||
|
- lua_found="yes"
|
||||||
|
- ],
|
||||||
|
- [AC_MSG_WARN([pkg-config for lua not found, trying manual search...])]
|
||||||
|
- )
|
||||||
|
- ]
|
||||||
|
- )
|
||||||
|
+ ])
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test \( x"$luapath" = x"yes" -o x"$luapath" = x"auto" \) -a x"$lua_found" = x"no"
|
||||||
|
--
|
||||||
|
2.26.2
|
||||||
|
|
Binary file not shown.
@ -1,6 +1,7 @@
|
|||||||
DIST darktable-2.6.2-gcc9.patch.tar.xz 25864 BLAKE2B 857803d4c46b47b1e06e962533c231621fa23e72dffae617bc4e078316fc22c5883df404b30e63d7ed2111078d0d7b54bfa3510524c92fa739238904e2ec17f0 SHA512 29b208fa0b04aa11a2c45312763ba471785b2d0f669c07a6092b82adc0284428d7dc9ea8ebae7bd851414f04191e6aafb434fcc127f062ef66d075208c7d49cb
|
DIST darktable-2.6.2-gcc9.patch.tar.xz 25864 BLAKE2B 857803d4c46b47b1e06e962533c231621fa23e72dffae617bc4e078316fc22c5883df404b30e63d7ed2111078d0d7b54bfa3510524c92fa739238904e2ec17f0 SHA512 29b208fa0b04aa11a2c45312763ba471785b2d0f669c07a6092b82adc0284428d7dc9ea8ebae7bd851414f04191e6aafb434fcc127f062ef66d075208c7d49cb
|
||||||
DIST darktable-2.6.2.tar.xz 3512572 BLAKE2B ee3070ac0f6b6b1c401865801631fb28397f484f30778065b7f899204813530a47ff6e752504b645f59bc29f868e1498e39f5f4e70f8259d8fecf5abc3f15cd6 SHA512 e7a90535747a8615fa2dbd1eb05f81314cc61c689a8a85fda0e2be40208ab0248e6f6ef296bb0894d3d527ed47c6cf6640538029c0c2d58a38d2d5ce10f6f5c0
|
DIST darktable-2.6.2.tar.xz 3512572 BLAKE2B ee3070ac0f6b6b1c401865801631fb28397f484f30778065b7f899204813530a47ff6e752504b645f59bc29f868e1498e39f5f4e70f8259d8fecf5abc3f15cd6 SHA512 e7a90535747a8615fa2dbd1eb05f81314cc61c689a8a85fda0e2be40208ab0248e6f6ef296bb0894d3d527ed47c6cf6640538029c0c2d58a38d2d5ce10f6f5c0
|
||||||
DIST darktable-3.0.2.tar.xz 3931240 BLAKE2B 5f86579a43e396c8116aba63c43e13d7312e5c3a569f9c242fe9a7882f02c5e0ebd7e4b9bbd34576eb83b3b78298038bf0d87bf4786dd19d0fa73ed30de21f67 SHA512 ee2d83f60621586f9e1be958f4b0c3d2214fbf30338837dbd07b901641c32d565cd29f814f5ff75a450495acee2383aa62ba3da3873009077704c925bab501f1
|
|
||||||
DIST darktable-3.2.1.tar.xz 3920728 BLAKE2B 79ef5df93d6c4728d19bc8bf01d018f071efe1ea94a68be53fced7217df608e5362b9905e2e633af4d0a11574ca3e42eac9d97fd3bfaf3a22b45b61213f60070 SHA512 0c76f7c145b470d0b129e4565727cef0c7509c1cb7f2405e41b20c81411741513cfc2976c7b8fe168bc1b017e7bfc292bb2d824c3beddce6432ee7143513bdc7
|
DIST darktable-3.2.1.tar.xz 3920728 BLAKE2B 79ef5df93d6c4728d19bc8bf01d018f071efe1ea94a68be53fced7217df608e5362b9905e2e633af4d0a11574ca3e42eac9d97fd3bfaf3a22b45b61213f60070 SHA512 0c76f7c145b470d0b129e4565727cef0c7509c1cb7f2405e41b20c81411741513cfc2976c7b8fe168bc1b017e7bfc292bb2d824c3beddce6432ee7143513bdc7
|
||||||
|
DIST darktable-3.4.0.tar.xz 4444452 BLAKE2B 98b717aafe940a6916a2c2c42577be4956a171e7b445d69d20cb6aa1db35a255919524e8547c229461c64022fa3df5ace57a9e7a5ed32304820d5f263c3acbfc SHA512 b0a1e58f9af4007b22bacd7c61c75bdd036db9b1bbb6bd0ed785759d1a7a5a095a49a2a68c1555c661c4fff2549fcd35d2db2d9d4c16fc035bb37939804c749f
|
||||||
DIST darktable-usermanual-2.6.0.pdf 15623135 BLAKE2B a7a254e49dd57ee03480d52f4506a436210324cc4a2651f3c2fd70ca65cb7aa1735934a5e046ffa662b2aa1f081042d2d1e6ce0f70b6768719c52e2d14c358ce SHA512 e68005ee8706f2342755ce3e4dcd6c2907c1607bc9b750154dceb4b52dcccf50c581ab65212efc8ffb2447f5d828e0fdb61d0471c3d14938e098528e50f32e14
|
DIST darktable-usermanual-2.6.0.pdf 15623135 BLAKE2B a7a254e49dd57ee03480d52f4506a436210324cc4a2651f3c2fd70ca65cb7aa1735934a5e046ffa662b2aa1f081042d2d1e6ce0f70b6768719c52e2d14c358ce SHA512 e68005ee8706f2342755ce3e4dcd6c2907c1607bc9b750154dceb4b52dcccf50c581ab65212efc8ffb2447f5d828e0fdb61d0471c3d14938e098528e50f32e14
|
||||||
DIST darktable-usermanual-3.0.0.pdf 16237603 BLAKE2B ff5c24bb038deb37269a84389937740fa0ff77a9fb5bef4c484cdd903e39609588f632f577ce53c690d3abb832ace451d0d9d3f563ebdb6196ae8e2dac008a01 SHA512 2523b48e2baaa71561dc119340aed3bbf2ab4481dceb0c3ca2bbb7b0cacfaab894fa4eef82b667648cd7bb049304dbda09fa1a638f7734219b672b3ea8ee0eac
|
DIST darktable-usermanual-3.0.0.pdf 16237603 BLAKE2B ff5c24bb038deb37269a84389937740fa0ff77a9fb5bef4c484cdd903e39609588f632f577ce53c690d3abb832ace451d0d9d3f563ebdb6196ae8e2dac008a01 SHA512 2523b48e2baaa71561dc119340aed3bbf2ab4481dceb0c3ca2bbb7b0cacfaab894fa4eef82b667648cd7bb049304dbda09fa1a638f7734219b672b3ea8ee0eac
|
||||||
|
DIST darktable-usermanual-3.4.0.pdf 16241791 BLAKE2B d6fc232c3eddb5474e36ce1fbc02c3472291e5ebdf2eae09c419215263f615546a79f88ee9d252b387fc5e4f2c9714398deab8de176b3d928b6a17c2878cef56 SHA512 fd154c02d5e0c63d9698b2f80a7439a191f4582b717b2f163923eda40aae1ebe8aeaf1a70efdc423eb8c8269d74fc0e23df8c9c0269ee8f5a357611501c3547e
|
||||||
|
@ -1,149 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit cmake flag-o-matic toolchain-funcs xdg
|
|
||||||
|
|
||||||
DOC_PV="3.0.0"
|
|
||||||
MY_PV="${PV/_/}"
|
|
||||||
MY_P="${P/_/.}"
|
|
||||||
|
|
||||||
DESCRIPTION="A virtual lighttable and darkroom for photographers"
|
|
||||||
HOMEPAGE="https://www.darktable.org/"
|
|
||||||
SRC_URI="https://github.com/darktable-org/${PN}/releases/download/release-${MY_PV}/${MY_P}.tar.xz
|
|
||||||
doc? ( https://github.com/darktable-org/${PN}/releases/download/release-${DOC_PV}/${PN}-usermanual.pdf -> ${PN}-usermanual-${DOC_PV}.pdf )"
|
|
||||||
|
|
||||||
LICENSE="GPL-3 CC-BY-3.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64"
|
|
||||||
LANGS=" ca cs da de es fr he hu it ja nb nl pl ru sl"
|
|
||||||
# TODO add lua once dev-lang/lua-5.2 is unmasked
|
|
||||||
IUSE="colord cups cpu_flags_x86_sse3 doc flickr geolocation gnome-keyring gphoto2 graphicsmagick jpeg2k kwallet
|
|
||||||
nls opencl openmp openexr tools webp
|
|
||||||
${LANGS// / l10n_}"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
dev-util/intltool
|
|
||||||
virtual/pkgconfig
|
|
||||||
nls? ( sys-devel/gettext )
|
|
||||||
"
|
|
||||||
COMMON_DEPEND="
|
|
||||||
dev-db/sqlite:3
|
|
||||||
dev-libs/json-glib
|
|
||||||
dev-libs/libxml2:2
|
|
||||||
>=dev-libs/pugixml-1.8:0=
|
|
||||||
gnome-base/librsvg:2
|
|
||||||
>=media-gfx/exiv2-0.25-r2:0=[xmp]
|
|
||||||
media-libs/lcms:2
|
|
||||||
>=media-libs/lensfun-0.2.3:0=
|
|
||||||
media-libs/libpng:0=
|
|
||||||
media-libs/tiff:0
|
|
||||||
net-libs/libsoup:2.4
|
|
||||||
net-misc/curl
|
|
||||||
sys-libs/zlib:=
|
|
||||||
virtual/jpeg:0
|
|
||||||
x11-libs/cairo
|
|
||||||
>=x11-libs/gtk+-3.22:3
|
|
||||||
x11-libs/pango
|
|
||||||
colord? ( x11-libs/colord-gtk:0= )
|
|
||||||
cups? ( net-print/cups )
|
|
||||||
flickr? ( media-libs/flickcurl )
|
|
||||||
geolocation? ( >=sci-geosciences/osm-gps-map-1.1.0 )
|
|
||||||
gnome-keyring? ( >=app-crypt/libsecret-0.18 )
|
|
||||||
gphoto2? ( media-libs/libgphoto2:= )
|
|
||||||
graphicsmagick? ( media-gfx/graphicsmagick )
|
|
||||||
jpeg2k? ( media-libs/openjpeg:2= )
|
|
||||||
opencl? ( virtual/opencl )
|
|
||||||
openexr? ( media-libs/openexr:0= )
|
|
||||||
webp? ( media-libs/libwebp:0= )
|
|
||||||
"
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
opencl? (
|
|
||||||
>=sys-devel/clang-4
|
|
||||||
>=sys-devel/llvm-4
|
|
||||||
)
|
|
||||||
"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
kwallet? ( >=kde-frameworks/kwallet-5.34.0-r1 )
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/"${PN}"-find-opencl-header.patch
|
|
||||||
"${FILESDIR}"/${PN}-3.0.2_cmake-opencl-kernel-loop.patch
|
|
||||||
"${FILESDIR}"/${PN}-3.0.2_jsonschema-automagic.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
S="${WORKDIR}/${P/_/~}"
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
|
||||||
# Bug #695658
|
|
||||||
if tc-is-gcc; then
|
|
||||||
test-flags-CC -floop-block &> /dev/null || \
|
|
||||||
die "Please switch to a gcc version built with USE=graphite"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use openmp ; then
|
|
||||||
tc-has-openmp || die "Please switch to an openmp compatible compiler"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
use cpu_flags_x86_sse3 && append-flags -msse3
|
|
||||||
|
|
||||||
sed -i -e 's:/appdata:/metainfo:g' data/CMakeLists.txt || die
|
|
||||||
|
|
||||||
cmake_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DBUILD_CURVE_TOOLS=$(usex tools)
|
|
||||||
-DBUILD_NOISE_TOOLS=$(usex tools)
|
|
||||||
-DBUILD_PRINT=$(usex cups)
|
|
||||||
-DCUSTOM_CFLAGS=ON
|
|
||||||
-DUSE_CAMERA_SUPPORT=$(usex gphoto2)
|
|
||||||
-DUSE_COLORD=$(usex colord)
|
|
||||||
-DUSE_FLICKR=$(usex flickr)
|
|
||||||
-DUSE_GRAPHICSMAGICK=$(usex graphicsmagick)
|
|
||||||
-DUSE_KWALLET=$(usex kwallet)
|
|
||||||
-DUSE_LIBSECRET=$(usex gnome-keyring)
|
|
||||||
-DUSE_LUA=OFF
|
|
||||||
-DUSE_MAP=$(usex geolocation)
|
|
||||||
-DUSE_NLS=$(usex nls)
|
|
||||||
-DUSE_OPENCL=$(usex opencl)
|
|
||||||
-DUSE_OPENEXR=$(usex openexr)
|
|
||||||
-DUSE_OPENJPEG=$(usex jpeg2k)
|
|
||||||
-DUSE_OPENMP=$(usex openmp)
|
|
||||||
-DUSE_WEBP=$(usex webp)
|
|
||||||
)
|
|
||||||
CMAKE_BUILD_TYPE="RELWITHDEBINFO"
|
|
||||||
cmake_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cmake_src_install
|
|
||||||
use doc && dodoc "${DISTDIR}"/${PN}-usermanual-${DOC_PV}.pdf
|
|
||||||
|
|
||||||
if use nls ; then
|
|
||||||
for lang in ${LANGS} ; do
|
|
||||||
if ! use l10n_${lang}; then
|
|
||||||
rm -r "${ED}"/usr/share/locale/${lang/-/_} || die
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
xdg_pkg_postinst
|
|
||||||
|
|
||||||
elog
|
|
||||||
elog "When updating a major version,"
|
|
||||||
elog "please bear in mind that your edits will be preserved during this process,"
|
|
||||||
elog "but it will not be possible to downgrade any more."
|
|
||||||
elog
|
|
||||||
ewarn "It will not be possible to downgrade!"
|
|
||||||
ewarn
|
|
||||||
}
|
|
@ -1,28 +0,0 @@
|
|||||||
From 767d48e0f60e7f858e8b31a88dd8cc1258e7ee9e Mon Sep 17 00:00:00 2001
|
|
||||||
From: Marcus Haehnel <marcus@mh-development.info>
|
|
||||||
Date: Sat, 21 Mar 2020 09:14:45 +0100
|
|
||||||
Subject: [PATCH] Fix invalid CMake syntax
|
|
||||||
|
|
||||||
The syntax of the foreach statement in data/kernels/CMakeLists.txt
|
|
||||||
was invalid. This lead to errors when running cmake.
|
|
||||||
|
|
||||||
Use correct syntax to make the build work.
|
|
||||||
---
|
|
||||||
data/kernels/CMakeLists.txt | 4 ++--
|
|
||||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/data/kernels/CMakeLists.txt b/data/kernels/CMakeLists.txt
|
|
||||||
index ce947bef9c..f605c18b7e 100644
|
|
||||||
--- a/data/kernels/CMakeLists.txt
|
|
||||||
+++ b/data/kernels/CMakeLists.txt
|
|
||||||
@@ -31,8 +31,8 @@ macro (testcompile_opencl_kernel IN)
|
|
||||||
endmacro (testcompile_opencl_kernel)
|
|
||||||
|
|
||||||
if (TESTBUILD_OPENCL_PROGRAMS)
|
|
||||||
- foreach(IN ${DT_OPENCL_KERNELS})
|
|
||||||
- testcompile_opencl_kernel(${IN})
|
|
||||||
+ foreach(KERNEL IN ITEMS ${DT_OPENCL_KERNELS})
|
|
||||||
+ testcompile_opencl_kernel(${KERNEL})
|
|
||||||
endforeach()
|
|
||||||
endif()
|
|
||||||
|
|
Binary file not shown.
@ -1 +1 @@
|
|||||||
Thu, 24 Dec 2020 04:38:26 +0000
|
Thu, 24 Dec 2020 19:08:27 +0000
|
||||||
|
Binary file not shown.
@ -0,0 +1,58 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||||
|
<glsa id="202012-22">
|
||||||
|
<title>HAProxy: Arbitrary code execution</title>
|
||||||
|
<synopsis>A buffer overflow in HAProxy might allow an attacker to execute
|
||||||
|
arbitrary code.
|
||||||
|
</synopsis>
|
||||||
|
<product type="ebuild">haproxy</product>
|
||||||
|
<announced>2020-12-24</announced>
|
||||||
|
<revised count="1">2020-12-24</revised>
|
||||||
|
<bug>715944</bug>
|
||||||
|
<access>remote</access>
|
||||||
|
<affected>
|
||||||
|
<package name="net-proxy/haproxy" auto="yes" arch="*">
|
||||||
|
<unaffected range="ge" slot="0/2.0">2.0.13</unaffected>
|
||||||
|
<unaffected range="ge">2.1.4</unaffected>
|
||||||
|
<vulnerable range="lt">2.1.4</vulnerable>
|
||||||
|
</package>
|
||||||
|
</affected>
|
||||||
|
<background>
|
||||||
|
<p>HAProxy is a TCP/HTTP reverse proxy for high availability environments.</p>
|
||||||
|
</background>
|
||||||
|
<description>
|
||||||
|
<p>It was discovered that HAProxy incorrectly handled certain HTTP/2
|
||||||
|
headers.
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
<impact type="normal">
|
||||||
|
<p>A remote attacker, by sending a specially crafted HTTP/2 request, could
|
||||||
|
possibly execute arbitrary code with the privileges of the process, or
|
||||||
|
cause a Denial of Service condition.
|
||||||
|
</p>
|
||||||
|
</impact>
|
||||||
|
<workaround>
|
||||||
|
<p>Disable HTTP/2 support.</p>
|
||||||
|
</workaround>
|
||||||
|
<resolution>
|
||||||
|
<p>All HAProxy 2.0.x users should upgrade to the latest version:</p>
|
||||||
|
|
||||||
|
<code>
|
||||||
|
# emerge --sync
|
||||||
|
# emerge --ask --oneshot --verbose ">=net-proxy/haproxy-2.0.13:0/2.0"
|
||||||
|
</code>
|
||||||
|
|
||||||
|
<p>All other HAProxy users should upgrade to the latest version:</p>
|
||||||
|
|
||||||
|
<code>
|
||||||
|
# emerge --sync
|
||||||
|
# emerge --ask --oneshot --verbose ">=net-proxy/haproxy-2.1.4"
|
||||||
|
</code>
|
||||||
|
|
||||||
|
</resolution>
|
||||||
|
<references>
|
||||||
|
<uri link="https://nvd.nist.gov/vuln/detail/CVE-2020-11100">CVE-2020-11100</uri>
|
||||||
|
</references>
|
||||||
|
<metadata tag="requester" timestamp="2020-05-20T16:01:15Z">sam_c</metadata>
|
||||||
|
<metadata tag="submitter" timestamp="2020-12-24T14:09:42Z">sam_c</metadata>
|
||||||
|
</glsa>
|
@ -0,0 +1,59 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||||
|
<glsa id="202012-23">
|
||||||
|
<title>Apache Tomcat: Information disclosure</title>
|
||||||
|
<synopsis>A vulnerability has been discovered in Apache Tomcat that allows
|
||||||
|
for the disclosure of sensitive information.
|
||||||
|
</synopsis>
|
||||||
|
<product type="ebuild">tomcat</product>
|
||||||
|
<announced>2020-12-24</announced>
|
||||||
|
<revised count="1">2020-12-24</revised>
|
||||||
|
<bug>758338</bug>
|
||||||
|
<access>remote</access>
|
||||||
|
<affected>
|
||||||
|
<package name="www-servers/tomcat" auto="yes" arch="*">
|
||||||
|
<unaffected range="ge" slot="8.5">8.5.60</unaffected>
|
||||||
|
<unaffected range="ge" slot="9">9.0.40</unaffected>
|
||||||
|
<vulnerable range="lt" slot="8.5">8.5.60</vulnerable>
|
||||||
|
<vulnerable range="lt" slot="9">9.0.40</vulnerable>
|
||||||
|
</package>
|
||||||
|
</affected>
|
||||||
|
<background>
|
||||||
|
<p>Apache Tomcat is a Servlet-3.0/JSP-2.2 Container.</p>
|
||||||
|
</background>
|
||||||
|
<description>
|
||||||
|
<p>It was discovered that Apache Tomcat could re-use an HTTP request header
|
||||||
|
value from the previous stream received on an HTTP/2 connection for the
|
||||||
|
request associated with the subsequent stream.
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
<impact type="low">
|
||||||
|
<p>A remote attacker, by sending well-timed HTTP/2 requests, could possibly
|
||||||
|
obtain sensitive information.
|
||||||
|
</p>
|
||||||
|
</impact>
|
||||||
|
<workaround>
|
||||||
|
<p>Disable HTTP/2 support.</p>
|
||||||
|
</workaround>
|
||||||
|
<resolution>
|
||||||
|
<p>All Apache Tomcat 8.5.x users should upgrade to the latest version:</p>
|
||||||
|
|
||||||
|
<code>
|
||||||
|
# emerge --sync
|
||||||
|
# emerge --ask --oneshot --verbose ">=www-servers/tomcat-8.5.60:8.5"
|
||||||
|
</code>
|
||||||
|
|
||||||
|
<p>All Apache Tomcat 9.x users should upgrade to the latest version:</p>
|
||||||
|
|
||||||
|
<code>
|
||||||
|
# emerge --sync
|
||||||
|
# emerge --ask --oneshot --verbose ">=www-servers/tomcat-9.0.40:9"
|
||||||
|
</code>
|
||||||
|
|
||||||
|
</resolution>
|
||||||
|
<references>
|
||||||
|
<uri link="https://nvd.nist.gov/vuln/detail/CVE-2020-17527">CVE-2020-17527</uri>
|
||||||
|
</references>
|
||||||
|
<metadata tag="requester" timestamp="2020-12-23T01:20:53Z">whissi</metadata>
|
||||||
|
<metadata tag="submitter" timestamp="2020-12-24T14:11:02Z">whissi</metadata>
|
||||||
|
</glsa>
|
@ -0,0 +1,51 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||||
|
<glsa id="202012-24">
|
||||||
|
<title>Samba: Multiple vulnerabilities</title>
|
||||||
|
<synopsis>Multiple vulnerabilities have been found in Samba, the worst of
|
||||||
|
which could result in a Denial of Service condition.
|
||||||
|
</synopsis>
|
||||||
|
<product type="ebuild">samba</product>
|
||||||
|
<announced>2020-12-24</announced>
|
||||||
|
<revised count="1">2020-12-24</revised>
|
||||||
|
<bug>743433</bug>
|
||||||
|
<bug>751724</bug>
|
||||||
|
<access>remote</access>
|
||||||
|
<affected>
|
||||||
|
<package name="net-fs/samba" auto="yes" arch="*">
|
||||||
|
<unaffected range="ge">4.12.9</unaffected>
|
||||||
|
<vulnerable range="lt">4.12.9</vulnerable>
|
||||||
|
</package>
|
||||||
|
</affected>
|
||||||
|
<background>
|
||||||
|
<p>Samba is a suite of SMB and CIFS client/server programs.</p>
|
||||||
|
</background>
|
||||||
|
<description>
|
||||||
|
<p>Multiple vulnerabilities have been discovered in Samba. Please review
|
||||||
|
the CVE identifiers referenced below for details.
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
<impact type="normal">
|
||||||
|
<p>Please review the referenced CVE identifiers for details.</p>
|
||||||
|
</impact>
|
||||||
|
<workaround>
|
||||||
|
<p>There is no known workaround at this time.</p>
|
||||||
|
</workaround>
|
||||||
|
<resolution>
|
||||||
|
<p>All Samba users should upgrade to the latest version:</p>
|
||||||
|
|
||||||
|
<code>
|
||||||
|
# emerge --sync
|
||||||
|
# emerge --ask --oneshot --verbose ">=net-fs/samba-4.12.9"
|
||||||
|
</code>
|
||||||
|
|
||||||
|
</resolution>
|
||||||
|
<references>
|
||||||
|
<uri link="https://nvd.nist.gov/vuln/detail/CVE-2020-14318">CVE-2020-14318</uri>
|
||||||
|
<uri link="https://nvd.nist.gov/vuln/detail/CVE-2020-14323">CVE-2020-14323</uri>
|
||||||
|
<uri link="https://nvd.nist.gov/vuln/detail/CVE-2020-14383">CVE-2020-14383</uri>
|
||||||
|
<uri link="https://nvd.nist.gov/vuln/detail/CVE-2020-1472">CVE-2020-1472</uri>
|
||||||
|
</references>
|
||||||
|
<metadata tag="requester" timestamp="2020-12-23T17:13:10Z">whissi</metadata>
|
||||||
|
<metadata tag="submitter" timestamp="2020-12-24T14:11:44Z">whissi</metadata>
|
||||||
|
</glsa>
|
@ -1 +1 @@
|
|||||||
Thu, 24 Dec 2020 04:38:26 +0000
|
Thu, 24 Dec 2020 19:08:27 +0000
|
||||||
|
@ -1 +1 @@
|
|||||||
2eb5914bcd47a75d45c570c51719238ece628750 1608754394 2020-12-23T20:13:14+00:00
|
ea35db4303f80b8dc5f6dffe7a6c3111e9e37b5a 1608819368 2020-12-24T14:16:08+00:00
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,15 +0,0 @@
|
|||||||
BDEPEND=python_targets_python3_6? ( dev-lang/python:3.6 ) python_targets_python3_7? ( dev-lang/python:3.7 ) python_targets_python3_8? ( dev-lang/python:3.8 ) >=dev-lang/python-exec-2:=[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] >=dev-python/setuptools-42.0.2[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)]
|
|
||||||
DEFINED_PHASES=compile configure install prepare test
|
|
||||||
DEPEND=>=dev-python/pbr-2.0.0[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] !~dev-python/pbr-2.1.0[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)]
|
|
||||||
DESCRIPTION=Golden Disk Image builder.
|
|
||||||
EAPI=7
|
|
||||||
HOMEPAGE=http://docs.openstack.org/developer/diskimage-builder/
|
|
||||||
IUSE=python_targets_python3_6 python_targets_python3_7 python_targets_python3_8
|
|
||||||
KEYWORDS=amd64 ~arm64 x86 ~amd64-linux ~x86-linux
|
|
||||||
LICENSE=Apache-2.0
|
|
||||||
RDEPEND=>=dev-python/pbr-2.0.0[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] !~dev-python/pbr-2.1.0[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] >=dev-python/Babel-2.3.4[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] !~dev-python/Babel-2.4.0[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] >=dev-python/networkx-1.10[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] >=dev-python/pyyaml-3.12[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] >=dev-python/six-1.10.0[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] >=dev-python/stevedore-1.20.0[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] app-emulation/qemu sys-block/parted sys-fs/multipath-tools sys-fs/dosfstools sys-apps/gptfdisk !dev-python/dib-utils[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] python_targets_python3_6? ( dev-lang/python:3.6 ) python_targets_python3_7? ( dev-lang/python:3.7 ) python_targets_python3_8? ( dev-lang/python:3.8 ) >=dev-lang/python-exec-2:=[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] >=dev-python/setuptools-42.0.2[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)]
|
|
||||||
REQUIRED_USE=|| ( python_targets_python3_6 python_targets_python3_7 python_targets_python3_8 )
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=mirror://pypi/d/diskimage-builder/diskimage-builder-3.3.1.tar.gz
|
|
||||||
_eclasses_=distutils-r1 6a128a9211d714bf9dfb5c0c9e72558e multibuild 6b3d5ee849dafe6cdfd7b859c211fb01 multilib d410501a125f99ffb560b0c523cd3d1e multiprocessing cac3169468f893670dac3e7cb940e045 python-r1 f1d4277b3ad100890cbd62e137f0a769 python-utils-r1 e41e32d357e5bdd388b5be2ce24f3883 toolchain-funcs 605c126bed8d87e4378d5ff1645330cb
|
|
||||||
_md5_=c991f3cbfb03a57fc83009f2871d68bf
|
|
@ -1,15 +0,0 @@
|
|||||||
BDEPEND=python_targets_python3_6? ( dev-lang/python:3.6 ) python_targets_python3_7? ( dev-lang/python:3.7 ) python_targets_python3_8? ( dev-lang/python:3.8 ) >=dev-lang/python-exec-2:=[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] >=dev-python/setuptools-42.0.2[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)]
|
|
||||||
DEFINED_PHASES=compile configure install prepare test
|
|
||||||
DEPEND=>=dev-python/pbr-2.0.0[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] !~dev-python/pbr-2.1.0[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)]
|
|
||||||
DESCRIPTION=Golden Disk Image builder.
|
|
||||||
EAPI=7
|
|
||||||
HOMEPAGE=http://docs.openstack.org/developer/diskimage-builder/
|
|
||||||
IUSE=python_targets_python3_6 python_targets_python3_7 python_targets_python3_8
|
|
||||||
KEYWORDS=~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux
|
|
||||||
LICENSE=Apache-2.0
|
|
||||||
RDEPEND=>=dev-python/pbr-2.0.0[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] !~dev-python/pbr-2.1.0[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] >=dev-python/Babel-2.3.4[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] !~dev-python/Babel-2.4.0[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] >=dev-python/networkx-1.10[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] >=dev-python/pyyaml-3.12[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] >=dev-python/six-1.10.0[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] >=dev-python/stevedore-1.20.0[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] app-emulation/qemu sys-block/parted sys-fs/multipath-tools sys-fs/dosfstools sys-apps/gptfdisk !dev-python/dib-utils[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] python_targets_python3_6? ( dev-lang/python:3.6 ) python_targets_python3_7? ( dev-lang/python:3.7 ) python_targets_python3_8? ( dev-lang/python:3.8 ) >=dev-lang/python-exec-2:=[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] >=dev-python/setuptools-42.0.2[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)]
|
|
||||||
REQUIRED_USE=|| ( python_targets_python3_6 python_targets_python3_7 python_targets_python3_8 )
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=mirror://pypi/d/diskimage-builder/diskimage-builder-3.4.0.tar.gz
|
|
||||||
_eclasses_=distutils-r1 6a128a9211d714bf9dfb5c0c9e72558e multibuild 6b3d5ee849dafe6cdfd7b859c211fb01 multilib d410501a125f99ffb560b0c523cd3d1e multiprocessing cac3169468f893670dac3e7cb940e045 python-r1 f1d4277b3ad100890cbd62e137f0a769 python-utils-r1 e41e32d357e5bdd388b5be2ce24f3883 toolchain-funcs 605c126bed8d87e4378d5ff1645330cb
|
|
||||||
_md5_=2fc91243cd38c870db49b9a2dce560e1
|
|
Binary file not shown.
@ -1,12 +0,0 @@
|
|||||||
DEFINED_PHASES=install postinst postrm prepare
|
|
||||||
DEPEND=>=dev-libs/chmlib-0.36 x11-libs/wxGTK:3.0[X]
|
|
||||||
DESCRIPTION=Utility for viewing Compiled HTML Help (CHM) files
|
|
||||||
EAPI=5
|
|
||||||
HOMEPAGE=http://xchm.sourceforge.net/
|
|
||||||
KEYWORDS=amd64 ppc x86
|
|
||||||
LICENSE=GPL-2
|
|
||||||
RDEPEND=>=dev-libs/chmlib-0.36 x11-libs/wxGTK:3.0[X]
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=mirror://sourceforge/xchm/xchm-1.23.tar.gz
|
|
||||||
_eclasses_=desktop 8f9bfcc33705104f56748d9dedb3177a edos2unix 33e347e171066657f91f8b0c72ec8773 epatch 0a83d4ccf28a70ddf61e7073c96e515a estack d780995dc525ff7e6a2c4c043ffec242 eutils 69bd92aa099f708425db9f1f01d61213 flag-o-matic fb54c9a3302f35aeae1c84f363e776f7 l10n 8cdd85e169b835d518bc2fd59f780d8e ltprune 4f3f2db5ce3ccbeeacdf3f94954043aa multilib d410501a125f99ffb560b0c523cd3d1e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 605c126bed8d87e4378d5ff1645330cb vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf wrapper 4251d4c84c25f59094fd557e0063a974 wxwidgets e1e6e1eb5b3d911b3abd712f611e2312 xdg-utils ff2ff954e6b17929574eee4efc5152ba
|
|
||||||
_md5_=2bd5c575d9f2d7ab7902568158114bf1
|
|
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -0,0 +1,16 @@
|
|||||||
|
BDEPEND=>=app-portage/elt-patches-20170815 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||||
|
DEFINED_PHASES=compile configure install postinst postrm preinst prepare prerm pretend setup test unpack
|
||||||
|
DEPEND=>=dev-lang/perl-5.6.1 dev-libs/gmp:0= sys-libs/ncurses:0=[unicode] elfutils? ( dev-libs/elfutils ) !ghcmakebinary? ( dev-libs/libffi:= ) numa? ( sys-process/numactl ) binary? ( !prefix? ( elibc_glibc? ( >=sys-libs/glibc-2.17 ) ) sys-libs/ncurses:0/6 ) doc? ( app-text/docbook-xml-dtd:4.2 app-text/docbook-xml-dtd:4.5 app-text/docbook-xsl-stylesheets dev-python/sphinx >=dev-libs/libxslt-1.1.2 ) !ghcbootstrap? ( !prefix? ( elibc_glibc? ( >=sys-libs/glibc-2.17 ) ) )
|
||||||
|
DESCRIPTION=The Glasgow Haskell Compiler
|
||||||
|
EAPI=7
|
||||||
|
HOMEPAGE=https://www.haskell.org/ghc/
|
||||||
|
IUSE=big-endian doc elfutils ghcbootstrap ghcmakebinary +gmp numa profile test binary
|
||||||
|
LICENSE=BSD
|
||||||
|
PDEPEND=!ghcbootstrap? ( >=app-admin/haskell-updater-1.2 )
|
||||||
|
RDEPEND=>=dev-lang/perl-5.6.1 dev-libs/gmp:0= sys-libs/ncurses:0=[unicode] elfutils? ( dev-libs/elfutils ) !ghcmakebinary? ( dev-libs/libffi:= ) numa? ( sys-process/numactl ) binary? ( !prefix? ( elibc_glibc? ( >=sys-libs/glibc-2.17 ) ) sys-libs/ncurses:0/6 )
|
||||||
|
REQUIRED_USE=?? ( ghcbootstrap binary ) ?? ( profile binary )
|
||||||
|
RESTRICT=!test? ( test )
|
||||||
|
SLOT=0/8.10.3
|
||||||
|
SRC_URI=!binary? ( https://downloads.haskell.org/ghc/8.10.3/ghc-8.10.3-src.tar.xz test? ( https://downloads.haskell.org/ghc/8.10.3/ghc-8.10.3-testsuite.tar.xz ) ) !ghcbootstrap? ( amd64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-8.10.3-x86_64-pc-linux-gnu.tbz2 ) )
|
||||||
|
_eclasses_=autotools b8cf7d8850baf5b731738e6d4f00937a bash-completion-r1 19ed4dd14584478ab819f2d4d88623c9 check-reqs 38804be59703af0fbf462b3710024074 edos2unix 33e347e171066657f91f8b0c72ec8773 eutils 69bd92aa099f708425db9f1f01d61213 flag-o-matic fb54c9a3302f35aeae1c84f363e776f7 ghc-package e3a4a688accbd5f1226e46b379cc1c3e l10n 8cdd85e169b835d518bc2fd59f780d8e libtool f143db5a74ccd9ca28c1234deffede96 multilib d410501a125f99ffb560b0c523cd3d1e multiprocessing cac3169468f893670dac3e7cb940e045 pax-utils a41d1fd1c111289ffa04490de6ee79d7 prefix de7d8e2b10085ed5ff09ad70e4753e5c toolchain-funcs 605c126bed8d87e4378d5ff1645330cb wrapper 4251d4c84c25f59094fd557e0063a974
|
||||||
|
_md5_=e22ec8049ace57a1fa2d4ffe0c9d1ecf
|
Binary file not shown.
@ -1,15 +0,0 @@
|
|||||||
BDEPEND=virtual/pkgconfig || ( ( dev-lang/python:3.9[xml] dev-python/setuptools[python_targets_python3_9(-),-python_single_target_python3_9(-)] ) ( dev-lang/python:3.8[xml] dev-python/setuptools[python_targets_python3_8(-),-python_single_target_python3_8(-)] ) ( dev-lang/python:3.7[xml] dev-python/setuptools[python_targets_python3_7(-),-python_single_target_python3_7(-)] ) ( dev-lang/python:3.6[xml] dev-python/setuptools[python_targets_python3_6(-),-python_single_target_python3_6(-)] ) ) gtk-doc? ( dev-util/gtk-doc ) man? ( sys-apps/help2man ) test? ( net-libs/gnutls[tools] ) >=dev-util/meson-0.54.0 >=dev-util/ninja-1.8.2
|
|
||||||
DEFINED_PHASES=compile configure install prepare setup test
|
|
||||||
DEPEND=dev-libs/glib:2 dev-libs/json-glib:= gpg? ( app-crypt/gpgme dev-libs/libgpg-error ) introspection? ( dev-libs/gobject-introspection:= ) pkcs7? ( net-libs/gnutls ) vala? ( dev-lang/vala:= )
|
|
||||||
DESCRIPTION=Library and tool for reading and writing Jcat files
|
|
||||||
EAPI=7
|
|
||||||
HOMEPAGE=https://github.com/hughsie/libjcat
|
|
||||||
IUSE=gpg gtk-doc +introspection +man pkcs7 test vala
|
|
||||||
KEYWORDS=~amd64 ~arm ~x86
|
|
||||||
LICENSE=LGPL-2.1+
|
|
||||||
RDEPEND=dev-libs/glib:2 dev-libs/json-glib:= gpg? ( app-crypt/gpgme dev-libs/libgpg-error ) introspection? ( dev-libs/gobject-introspection:= ) pkcs7? ( net-libs/gnutls ) vala? ( dev-lang/vala:= )
|
|
||||||
RESTRICT=!test? ( test )
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=https://github.com/hughsie/libjcat/archive/0.1.3.tar.gz -> libjcat-0.1.3.tar.gz
|
|
||||||
_eclasses_=edos2unix 33e347e171066657f91f8b0c72ec8773 eutils 69bd92aa099f708425db9f1f01d61213 l10n 8cdd85e169b835d518bc2fd59f780d8e meson 71d293a701d6362387e1214da368c848 multilib d410501a125f99ffb560b0c523cd3d1e multiprocessing cac3169468f893670dac3e7cb940e045 ninja-utils 132cbb376048d079b5a012f5467c4e7f python-any-r1 f630b6d8702353cdc13f2d4dd882e16e python-utils-r1 e41e32d357e5bdd388b5be2ce24f3883 toolchain-funcs 605c126bed8d87e4378d5ff1645330cb vala 2cd99cd72bb91f3f190fa4ca576be580 wrapper 4251d4c84c25f59094fd557e0063a974 xdg-utils ff2ff954e6b17929574eee4efc5152ba
|
|
||||||
_md5_=0a1474f05313b08ec2b5fc2565e49ec4
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue