216 changed files with 3580 additions and 1131 deletions
-
BINManifest.files.gz
-
BINapp-arch/Manifest.gz
-
2app-arch/pixz/pixz-1.0.7.ebuild
-
BINapp-benchmarks/Manifest.gz
-
2app-benchmarks/iozone/iozone-3.488.ebuild
-
BINapp-emulation/Manifest.gz
-
2app-emulation/diskimage-builder/Manifest
-
39app-emulation/diskimage-builder/diskimage-builder-3.3.1.ebuild
-
39app-emulation/diskimage-builder/diskimage-builder-3.4.0.ebuild
-
2app-emulation/diskimage-builder/diskimage-builder-3.5.0.ebuild
-
2app-emulation/open-vm-tools/open-vm-tools-11.2.0_p16938113-r1.ebuild
-
BINapp-text/Manifest.gz
-
1app-text/xchm/Manifest
-
32app-text/xchm/files/xchm-1.23-wx3.0-compat.patch
-
50app-text/xchm/xchm-1.23-r1.ebuild
-
BINdev-db/Manifest.gz
-
2dev-db/mysql/mysql-5.7.32.ebuild
-
2dev-db/mysql/mysql-8.0.22.ebuild
-
2dev-db/pgadmin4/pgadmin4-4.26.ebuild
-
BINdev-lang/Manifest.gz
-
3dev-lang/ghc/Manifest
-
797dev-lang/ghc/ghc-8.10.3.ebuild
-
BINdev-libs/Manifest.gz
-
2dev-libs/libcbor/libcbor-0.8.0.ebuild
-
2dev-libs/libfido2/libfido2-1.5.0-r1.ebuild
-
66dev-libs/libjcat/libjcat-0.1.3-r1.ebuild
-
2dev-libs/libtomcrypt/libtomcrypt-1.18.2-r1.ebuild
-
2dev-libs/libverto/libverto-0.3.1.ebuild
-
BINdev-python/Manifest.gz
-
1dev-python/PyGithub/Manifest
-
28dev-python/PyGithub/PyGithub-1.54.1.ebuild
-
2dev-python/PyICU/PyICU-2.6.ebuild
-
2dev-python/cssutils/cssutils-1.0.2-r2.ebuild
-
1dev-python/fakeredis/Manifest
-
44dev-python/fakeredis/fakeredis-1.4.4.ebuild
-
2dev-python/flask-compress/flask-compress-1.8.0.ebuild
-
2dev-python/funcy/funcy-1.14.ebuild
-
2dev-python/pycryptodome/pycryptodome-3.9.9-r1.ebuild
-
2dev-python/pypeg2/pypeg2-2.15.2-r1.ebuild
-
2dev-python/sympy/sympy-1.7.1-r1.ebuild
-
1dev-python/theano-pymc/Manifest
-
12dev-python/theano-pymc/metadata.xml
-
42dev-python/theano-pymc/theano-pymc-1.0.13-r1.ebuild
-
1dev-python/thrift/Manifest
-
25dev-python/thrift/thrift-0.13.0.ebuild
-
BINdev-ruby/Manifest.gz
-
1dev-ruby/asciidoctor/Manifest
-
44dev-ruby/asciidoctor/asciidoctor-2.0.12.ebuild
-
2dev-ruby/slim/slim-4.1.0.ebuild
-
1dev-ruby/webmock/Manifest
-
65dev-ruby/webmock/webmock-3.11.0.ebuild
-
BINdev-tcltk/Manifest.gz
-
26dev-tcltk/tclxml/files/tclxml-3.2.7-bool.patch
-
1dev-tcltk/tclxml/tclxml-3.2.7.ebuild
-
BINdev-util/Manifest.gz
-
2dev-util/dialog/dialog-1.3.20200327.ebuild
-
2dev-util/dwdiff/dwdiff-2.1.3.ebuild
-
78dev-util/radare2/radare2-4.5.1-r1.ebuild
-
14dev-util/radare2/radare2-9999.ebuild
-
BINmail-filter/Manifest.gz
-
51mail-filter/opendkim/files/opendkim-2.10.3-lua-pkgconfig-pt2.patch
-
6mail-filter/opendkim/opendkim-2.10.3-r25.ebuild
-
BINmedia-gfx/Manifest.gz
-
2media-gfx/cairosvg/cairosvg-2.5.0.ebuild
-
3media-gfx/darktable/Manifest
-
149media-gfx/darktable/darktable-3.0.2.ebuild
-
23media-gfx/darktable/darktable-3.4.0.ebuild
-
28media-gfx/darktable/files/darktable-3.0.2_cmake-opencl-kernel-loop.patch
-
2media-gfx/darktable/metadata.xml
-
BINmetadata/Manifest.gz
-
2metadata/dtd/timestamp.chk
-
BINmetadata/glsa/Manifest.files.gz
-
58metadata/glsa/glsa-202012-22.xml
-
59metadata/glsa/glsa-202012-23.xml
-
51metadata/glsa/glsa-202012-24.xml
-
2metadata/glsa/timestamp.chk
-
2metadata/glsa/timestamp.commit
-
BINmetadata/md5-cache/Manifest.gz
-
BINmetadata/md5-cache/app-arch/Manifest.gz
-
4metadata/md5-cache/app-arch/pixz-1.0.7
-
BINmetadata/md5-cache/app-benchmarks/Manifest.gz
-
4metadata/md5-cache/app-benchmarks/iozone-3.488
-
BINmetadata/md5-cache/app-emulation/Manifest.gz
-
15metadata/md5-cache/app-emulation/diskimage-builder-3.3.1
-
15metadata/md5-cache/app-emulation/diskimage-builder-3.4.0
-
4metadata/md5-cache/app-emulation/diskimage-builder-3.5.0
-
4metadata/md5-cache/app-emulation/open-vm-tools-11.2.0_p16938113-r1
-
BINmetadata/md5-cache/app-text/Manifest.gz
-
12metadata/md5-cache/app-text/xchm-1.23-r1
-
BINmetadata/md5-cache/dev-db/Manifest.gz
-
4metadata/md5-cache/dev-db/mysql-5.7.32
-
4metadata/md5-cache/dev-db/mysql-8.0.22
-
4metadata/md5-cache/dev-db/pgadmin4-4.26
-
BINmetadata/md5-cache/dev-lang/Manifest.gz
-
16metadata/md5-cache/dev-lang/ghc-8.10.3
-
BINmetadata/md5-cache/dev-libs/Manifest.gz
-
4metadata/md5-cache/dev-libs/libcbor-0.8.0
-
4metadata/md5-cache/dev-libs/libfido2-1.5.0-r1
-
15metadata/md5-cache/dev-libs/libjcat-0.1.3-r1
-
4metadata/md5-cache/dev-libs/libtomcrypt-1.18.2-r1
@ -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 |
@ -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}]" |
@ -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 |
@ -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 |
|||
} |
@ -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 |
|||
} |
@ -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 |
|||
} |
@ -1,2 +1,3 @@ |
|||
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 |
@ -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 |
@ -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.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 |
|||
} |
@ -1,2 +1,3 @@ |
|||
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.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 |
|||
} |
@ -1,3 +1,4 @@ |
|||
DIST webmock-3.11.0.gem 125440 BLAKE2B 8c57ca5b49922a61590595cdeeb5d3306edb3be616fd8e5c68617838831537f2106664201580f645de58322f11e684dfc8404d91139eaead5810c0cb40d5dc1f SHA512 dda7318d32dd88dcd4bc1fee9d1f4644f272348b532cbb59afde2e6a1fc42f359125b28d605ff1a18edac4ed71c00aceb1c67a364c15cfa56092e226588b449c |
|||
DIST webmock-3.7.6.gem 122368 BLAKE2B 9bc40971f1eec96d88217544acc67b7abfe6c0815a0696119e12fc5629b4f51e1164ecc982525d2c02fa50c7b1b09548c4831c1d597f06acde04a83227ba0dc9 SHA512 85455495476b22d94b23e34a92db3f0f8cf1aa5bb52ea6a8eb71f5f0bcbdad1edc13dff778c62806ec27850320e9f4e17f12525bbac552e5e105ee1ecd771efd |
|||
DIST webmock-3.8.1.gem 122368 BLAKE2B ba956c72f20e2c21cea90b107ef445e42a6995fdb31f9af65c3b561e9e1fbb9fbd299db009a1d83ddfdb473ce030d40aadf6633e23afbd072ee3b4debf7e0be2 SHA512 b1137fabb000469ee88fdd5521756f368463ee49988d5d89b51fa8352362ff249a4849159504834933e5e1248ed9b6791d254528b3cdea461fc9e8e5d92a334c |
|||
DIST webmock-3.8.2.gem 122880 BLAKE2B 0cd10f391377749c6420d08434c8e66230612c50bdff86b4dfd098690c006426e241c32bf716e2f8b9ee6c0ce6488d1975b54f3e4cd85cc14d6c7f0880f65701 SHA512 ae6bdda341bea804257d9f9b57d17a65a25d030ee2f5a9b7fff125a5f7881a34584c6b5d26a1e6dd5a49bba56ad5b6e731defecd109e19a5144df4caf90561d4 |
|||
|
@ -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" |
|||
|
|||