parent
6bbb5edb98
commit
c278774db2
Binary file not shown.
Binary file not shown.
@ -0,0 +1,72 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..11} )
|
||||||
|
|
||||||
|
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||||
|
|
||||||
|
MY_P=aws-cli-${PV}
|
||||||
|
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/aws/aws-cli/
|
||||||
|
https://pypi.org/project/awscli/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||||
|
-> ${MY_P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
S=${WORKDIR}/${MY_P}
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
|
||||||
|
|
||||||
|
# botocore is x.(y+2).(z-1)
|
||||||
|
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 1 ))"
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||||
|
dev-python/colorama[${PYTHON_USEDEP}]
|
||||||
|
dev-python/docutils[${PYTHON_USEDEP}]
|
||||||
|
dev-python/rsa[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
!app-admin/awscli-bin
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# do not rely on bundled deps in botocore (sic!)
|
||||||
|
find -name '*.py' -exec sed -i \
|
||||||
|
-e 's:from botocore[.]vendored import:import:' \
|
||||||
|
-e 's:from botocore[.]vendored[.]:from :' \
|
||||||
|
{} + || die
|
||||||
|
# strip overzealous upper bounds on requirements
|
||||||
|
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
# integration tests require AWS credentials and Internet access
|
||||||
|
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
newbashcomp bin/aws_bash_completer aws
|
||||||
|
|
||||||
|
insinto /usr/share/zsh/site-functions
|
||||||
|
newins bin/aws_zsh_completer.sh _aws
|
||||||
|
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
|
||||||
|
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,40 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="Create & extract files from DOS .ARC files"
|
||||||
|
HOMEPAGE="https://arc.sourceforge.net"
|
||||||
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-5.21m-darwin.patch
|
||||||
|
"${FILESDIR}"/${PN}-5.21m-gentoo-fbsd.patch
|
||||||
|
"${FILESDIR}"/${PN}-5.21o-interix.patch
|
||||||
|
"${FILESDIR}"/${PN}-5.21p-fno-common.patch
|
||||||
|
"${FILESDIR}"/${PN}-5.21p-variadic-arcdie.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
sed -i Makefile \
|
||||||
|
-e 's/CFLAGS = $(OPT) $(SYSTEM)/CFLAGS += $(SYSTEM)/' \
|
||||||
|
|| die "sed Makefile"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake CC="$(tc-getCC)" OPT="${LDFLAGS}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin arc marc
|
||||||
|
doman arc.1
|
||||||
|
dodoc Arc521.doc Arcinfo Changelog Readme
|
||||||
|
}
|
@ -0,0 +1,38 @@
|
|||||||
|
Convert arcdie to variadic function, which solves the issue with
|
||||||
|
-Werror=implicit-int enabled.
|
||||||
|
|
||||||
|
Bug: https://bugs.gentoo.org/870517
|
||||||
|
|
||||||
|
diff --git a/arcmisc.c b/arcmisc.c
|
||||||
|
index ea12b41..3d6272e 100644
|
||||||
|
--- a/arcmisc.c
|
||||||
|
+++ b/arcmisc.c
|
||||||
|
@@ -3,6 +3,7 @@
|
||||||
|
* $Header: /cvsroot/arc/arc/arcmisc.c,v 1.4 2005/10/09 01:38:22 highlandsun Exp $
|
||||||
|
*/
|
||||||
|
|
||||||
|
+#include <stdarg.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <ctype.h>
|
||||||
|
#include "arc.h"
|
||||||
|
@@ -223,11 +224,14 @@ upper(string)
|
||||||
|
}
|
||||||
|
/* VARARGS1 */
|
||||||
|
VOID
|
||||||
|
-arcdie(s, arg1, arg2, arg3)
|
||||||
|
- char *s;
|
||||||
|
+arcdie(char * s, ...)
|
||||||
|
{
|
||||||
|
+ va_list ap;
|
||||||
|
+
|
||||||
|
fprintf(stderr, "ARC: ");
|
||||||
|
- fprintf(stderr, s, arg1, arg2, arg3);
|
||||||
|
+ va_start(ap, s);
|
||||||
|
+ vfprintf(stderr, s, ap);
|
||||||
|
+ va_end(ap);
|
||||||
|
fprintf(stderr, "\n");
|
||||||
|
#if UNIX
|
||||||
|
perror("UNIX");
|
||||||
|
--
|
||||||
|
2.35.1
|
||||||
|
|
Binary file not shown.
@ -1,2 +1,2 @@
|
|||||||
DIST apptainer-1.0.3.tar.gz 11972174 BLAKE2B 7fb0602184d9d78ef0de224ec888a01e046d3d44cd79a3233bbb8eab276d9ee360810356a25f4ef05612e337b5a905334f528d5aa5bfa489d9910538719afd2c SHA512 93ebe5abce32f35d56fe7d0f818703961cb7f7115965bad387fc895a275d45b569efeecf57ab5778457732233caa57651cd011a3bcac5ed5aaf2dd665082d959
|
DIST apptainer-1.0.3.tar.gz 11972174 BLAKE2B 7fb0602184d9d78ef0de224ec888a01e046d3d44cd79a3233bbb8eab276d9ee360810356a25f4ef05612e337b5a905334f528d5aa5bfa489d9910538719afd2c SHA512 93ebe5abce32f35d56fe7d0f818703961cb7f7115965bad387fc895a275d45b569efeecf57ab5778457732233caa57651cd011a3bcac5ed5aaf2dd665082d959
|
||||||
DIST apptainer-1.1.0.tar.gz 12761996 BLAKE2B 60b145c68a4c2f7587cbefb94e28337e3f3c9cee51b0f07a024a313605e5cc087bcc0d2775bf83691aa5f5c6d5b84870697acd2e5b09e685f9e44ec766afde2b SHA512 ea7db1d4b9bc5b87542a044abc82f04759b09a676fb429bfb3f33c9a4eb01808f1c2c81e450e99a273b5c61a7df723680352ebc6a1124a6efc060bb85defe20f
|
DIST apptainer-1.1.2.tar.gz 12896912 BLAKE2B 29a8df78617661e0a181955942e8321c112a69efaf15f4bb3e1563cc0789197916a3be1eb5396fb608d57b0edd5d5de2a70a2bda935095d8d511410660ebc106 SHA512 3fad253379a87ea790f22a14aec703296f606255d4ce847454a59f9dba0b9a6fc449489e7760c4696c1df90fc6abec198934310c1b762e33a83c72cafc7cb370
|
||||||
|
Binary file not shown.
@ -0,0 +1,35 @@
|
|||||||
|
https://bugs.gentoo.org/875674
|
||||||
|
|
||||||
|
--- xtrs-4.9d/trs_disk.c
|
||||||
|
+++ xtrs-4.9d/trs_disk.c
|
||||||
|
@@ -3137,7 +3137,7 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
-real_restore(curdrive)
|
||||||
|
+real_restore(int curdrive)
|
||||||
|
{
|
||||||
|
#if __linux
|
||||||
|
DiskState *d = &disk[curdrive];
|
||||||
|
--- xtrs-4.9d/trs_memory.c
|
||||||
|
+++ xtrs-4.9d/trs_memory.c
|
||||||
|
@@ -153,7 +153,7 @@
|
||||||
|
memory_map = which + (trs_model << 4) + (romin << 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
-void mem_romin(state)
|
||||||
|
+void mem_romin(int state)
|
||||||
|
{
|
||||||
|
romin = (state & 1);
|
||||||
|
memory_map = (memory_map & ~4) + (romin << 2);
|
||||||
|
--- xtrs-4.9d/trs_printer.c
|
||||||
|
+++ xtrs-4.9d/trs_printer.c
|
||||||
|
@@ -18,7 +18,7 @@
|
||||||
|
#include "z80.h"
|
||||||
|
#include "trs.h"
|
||||||
|
|
||||||
|
-void trs_printer_write(value)
|
||||||
|
+void trs_printer_write(int value)
|
||||||
|
{
|
||||||
|
if(value == 0x0D)
|
||||||
|
{
|
@ -0,0 +1,83 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit flag-o-matic toolchain-funcs readme.gentoo-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Radio Shack TRS-80 emulator"
|
||||||
|
HOMEPAGE="https://www.tim-mann.org/xtrs.html"
|
||||||
|
SRC_URI="https://www.tim-mann.org/trs80/${P}.tar.gz
|
||||||
|
ls-dos? (
|
||||||
|
https://www.tim-mann.org/trs80/ld4-631.zip
|
||||||
|
https://dev.gentoo.org/~ulm/distfiles/ld4-631l.xd3
|
||||||
|
)"
|
||||||
|
|
||||||
|
LICENSE="xtrs ls-dos? ( freedist )"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~x86"
|
||||||
|
IUSE="ls-dos"
|
||||||
|
RESTRICT="ls-dos? ( bindist )"
|
||||||
|
|
||||||
|
RDEPEND="sys-libs/ncurses:0=
|
||||||
|
sys-libs/readline:0=
|
||||||
|
x11-libs/libX11"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
ls-dos? ( app-arch/unzip dev-util/xdelta:3 )"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${P}-lcmod.patch
|
||||||
|
"${FILESDIR}"/${P}-implicit.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
sed -i -e 's/$(CC) -o/$(CC) $(LDFLAGS) -o/' Makefile || die
|
||||||
|
if use ls-dos; then
|
||||||
|
cd "${WORKDIR}" || die
|
||||||
|
xdelta3 -d -s ld4-631.dsk "${DISTDIR}"/ld4-631l.xd3 out.dsk || die
|
||||||
|
mv out.dsk ld4-631.dsk || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
case $(tc-endian) in
|
||||||
|
little) ;;
|
||||||
|
big) append-flags -Dbig_endian ;;
|
||||||
|
*) die ;;
|
||||||
|
esac
|
||||||
|
emake CC="$(tc-getCC)" DEBUG="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dodir /usr/bin /usr/share/xtrs/disks /usr/share/man/man1
|
||||||
|
emake PREFIX="${D}"/usr install
|
||||||
|
|
||||||
|
insopts -m0444
|
||||||
|
insinto /usr/share/xtrs/disks
|
||||||
|
doins cpmutil.dsk utility.dsk
|
||||||
|
|
||||||
|
if use ls-dos; then
|
||||||
|
doins "${WORKDIR}"/ld4-631.dsk
|
||||||
|
dosym disks/ld4-631.dsk /usr/share/xtrs/disk4p-0
|
||||||
|
dosym disks/utility.dsk /usr/share/xtrs/disk4p-1
|
||||||
|
fi
|
||||||
|
|
||||||
|
dodoc ChangeLog README xtrsrom4p.README cpmutil.html dskspec.html
|
||||||
|
|
||||||
|
local DOC_CONTENTS="For copyright reasons, xtrs does not include actual
|
||||||
|
ROM images. Because of this, unless you supply your own ROM, xtrs
|
||||||
|
will not function in any mode except 'Model 4p' mode (a minimal
|
||||||
|
free ROM is included for this), which can be run like this:
|
||||||
|
\n\nxtrs -model 4p -diskdir /usr/share/xtrs
|
||||||
|
\n\nIf you already own a copy of the ROM software (e.g., if you have
|
||||||
|
a TRS-80 with this ROM), then you can make yourself a copy of this
|
||||||
|
for use with xtrs, using utilities available on the web. To load
|
||||||
|
your own ROM, specify the '-romfile' option, or the 'Xtrs.romfile'
|
||||||
|
X resource. ROM files can be in Intel hex or binary format."
|
||||||
|
readme.gentoo_create_doc
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
readme.gentoo_print_elog
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,62 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit savedconfig toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="Dynamic virtual terminal manager"
|
||||||
|
HOMEPAGE="https://www.brain-dump.org/projects/dvtm/"
|
||||||
|
|
||||||
|
if [[ ${PV} == *9999 ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="
|
||||||
|
https://github.com/martanne/dvtm
|
||||||
|
https://git.sr.ht/~martanne/dvtm
|
||||||
|
https://repo.or.cz/dvtm.git
|
||||||
|
"
|
||||||
|
else
|
||||||
|
SRC_URI="https://www.brain-dump.org/projects/${PN}/${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
RDEPEND=">=sys-libs/ncurses-6.1:=[unicode(+)]"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-0.15-gentoo.patch
|
||||||
|
"${FILESDIR}"/${PN}-0.15-stop-installing-terminfo.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
restore_config config.h
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
tc-export PKG_CONFIG
|
||||||
|
emake CC="$(tc-getCC)" ${PN}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" STRIP=true install
|
||||||
|
|
||||||
|
insinto /usr/share/${PN}
|
||||||
|
newins config.h ${PF}.config.h
|
||||||
|
|
||||||
|
dodoc README.md
|
||||||
|
|
||||||
|
save_config config.h
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
elog "This ebuild has support for user defined configs"
|
||||||
|
elog "Please read this ebuild for more details and re-emerge as needed"
|
||||||
|
elog "if you want to add or remove functionality for ${PN}"
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -50,8 +50,6 @@ install: all
|
||||||
|
sed -e "s/VERSION/${VERSION}/" < "$$m" > "${DESTDIR}${MANPREFIX}/man1/$$m" && \
|
||||||
|
chmod 644 "${DESTDIR}${MANPREFIX}/man1/$$m"; \
|
||||||
|
done
|
||||||
|
- @echo installing terminfo description
|
||||||
|
- @TERMINFO=${TERMINFO} tic -s dvtm.info
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
@for b in ${BIN}; do \
|
Binary file not shown.
@ -0,0 +1,11 @@
|
|||||||
|
https://bugs.gentoo.org/871036
|
||||||
|
--- a/sgrep.h
|
||||||
|
+++ b/sgrep.h
|
||||||
|
@@ -20,2 +20,3 @@
|
||||||
|
#include <stdlib.h>
|
||||||
|
+#include <string.h>
|
||||||
|
#include <assert.h>
|
||||||
|
@@ -616,2 +617,3 @@
|
||||||
|
int create_index(const IndexOptions *options);
|
||||||
|
+int index_query(IndexOptions *options, int argc, char *argv[]);
|
||||||
|
int add_region_to_index(struct IndexWriterStruct *writer,
|
Binary file not shown.
@ -1,67 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
# Skeleton command:
|
|
||||||
# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/Pragmatists/JUnitParams/archive/refs/tags/JUnitParams-1.1.1.tar.gz --slot 0 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild junitparams-1.1.1.ebuild
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
JAVA_PKG_IUSE="doc source test"
|
|
||||||
MAVEN_ID="pl.pragmatists:JUnitParams:1.1.1"
|
|
||||||
JAVA_TESTING_FRAMEWORKS="junit-4"
|
|
||||||
|
|
||||||
inherit java-pkg-2 java-pkg-simple
|
|
||||||
|
|
||||||
DESCRIPTION="Better parameterised tests for JUnit"
|
|
||||||
HOMEPAGE="https://github.com/Pragmatists/JUnitParams"
|
|
||||||
SRC_URI="https://github.com/Pragmatists/JUnitParams/archive/refs/tags/JUnitParams-${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm arm64 ppc64 x86"
|
|
||||||
|
|
||||||
# Common dependencies
|
|
||||||
# POM: pom.xml
|
|
||||||
# junit:junit:4.12 -> >=dev-java/junit-4.12:4
|
|
||||||
|
|
||||||
CDEPEND="
|
|
||||||
>=dev-java/junit-4.12:4
|
|
||||||
"
|
|
||||||
|
|
||||||
# Compile dependencies
|
|
||||||
# POM: pom.xml
|
|
||||||
# test? org.assertj:assertj-core:1.7.1 -> >=dev-java/assertj-core-2.3.0:2
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
>=virtual/jdk-1.8:*
|
|
||||||
${CDEPEND}
|
|
||||||
test? (
|
|
||||||
>=dev-java/assertj-core-2.3.0:2
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=virtual/jre-1.8:*
|
|
||||||
${CDEPEND}"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/junitparams-1.1.1-test.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
S="${WORKDIR}/JUnitParams-JUnitParams-${PV}"
|
|
||||||
|
|
||||||
JAVA_GENTOO_CLASSPATH="junit-4"
|
|
||||||
JAVA_SRC_DIR="src/main/java"
|
|
||||||
|
|
||||||
JAVA_TEST_GENTOO_CLASSPATH="assertj-core-2"
|
|
||||||
JAVA_TEST_SRC_DIR="src/test/java"
|
|
||||||
JAVA_TEST_RESOURCE_DIRS="src/test/resources"
|
|
||||||
|
|
||||||
JAVA_TEST_EXCLUDES=(
|
|
||||||
# java.lang.RuntimeException: Could not find method: paramsForSuperclassMethod so no params were used.
|
|
||||||
"junitparams.SuperclassTest"
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
}
|
|
Binary file not shown.
@ -1,5 +1,2 @@
|
|||||||
DIST go1.18.5.src.tar.gz 22847094 BLAKE2B 8edf133aa5b1fa4076db72bd7c63240db6cbd6b9b4725c2a71384ff302bee77e193bcfad6b55bfd31ee58f08fc59d9bbee5750d9227598fe402d6293863595ff SHA512 4ba69ad49b5c17963fdc39ae7f5360fa38950db39ec1fb9b52744d6a209abf177dab6bd587e7457c83a4fd265589907ec241d8b09d0eac76cf984243a14500ef
|
|
||||||
DIST go1.18.6.src.tar.gz 22865753 BLAKE2B fc86e509006e61434bcf6968aca345474560457be1573c836f24cd1d173d7cd515bbe70376d4231cd4318c77bd8e7c3af1101ded8403b3ca8f0afd08563a38ba SHA512 2af66b09bfe033b413eb7603a73a490319bf49fec0a2e20c40350e60b9ef35250a6dc8544c5fc67bd1ede55e242d056e7749f69ef500a38b1efe4b8f93078de3
|
|
||||||
DIST go1.18.7.src.tar.gz 22872579 BLAKE2B 194ef3440c0e23c4409e433fa9c62419d9aa7c3445bacd45c905cb78b480882e220ca5cb0a45ebe071d8c6592db470832f9358b36b18af557a4684ef6872c456 SHA512 cf1ff024e94b900b87cc52d3ec04b0f7f853880a99c416791ad4b9af5f8e50ec82fbe00788bc8dcc184ef5ce1a9df17f5f5e95cf01c0c8138f28f53d691ca5d4
|
DIST go1.18.7.src.tar.gz 22872579 BLAKE2B 194ef3440c0e23c4409e433fa9c62419d9aa7c3445bacd45c905cb78b480882e220ca5cb0a45ebe071d8c6592db470832f9358b36b18af557a4684ef6872c456 SHA512 cf1ff024e94b900b87cc52d3ec04b0f7f853880a99c416791ad4b9af5f8e50ec82fbe00788bc8dcc184ef5ce1a9df17f5f5e95cf01c0c8138f28f53d691ca5d4
|
||||||
DIST go1.19.1.src.tar.gz 26527375 BLAKE2B 80e80189e7e94f0a6bcb5dfdccc56fa3fee82d461816606b5600f6238f8929bb230c74c527ca01a087024002f9e9eb807997bd43639a7af81774d731361ce3a2 SHA512 7e8cf557f05d5a537f9305bb9c19cf8ab9ce640376e5ea97ff0d490b016364936e8dfc129462760c4e817af01fdf09e3f815b88412f9985bb254dfa3167752c0
|
|
||||||
DIST go1.19.2.src.tar.gz 26534465 BLAKE2B 9b1eb84a8d840facf69dde8f6263d08239b67b583b3b4fdf0aa5c03cb15c41c0dd6b10df61bfe7d1b02eeb0d1eb97fc5adeaa71e9745318c2648057be3f37259 SHA512 72901e5eaf1857b22bf62a82690579aa4bd8b8130f16416313d249600c99e1ae3c1451ac5c53138ce41dd39dd72dcf8d0f3592b98f4239754efcf4f8b0103cb4
|
DIST go1.19.2.src.tar.gz 26534465 BLAKE2B 9b1eb84a8d840facf69dde8f6263d08239b67b583b3b4fdf0aa5c03cb15c41c0dd6b10df61bfe7d1b02eeb0d1eb97fc5adeaa71e9745318c2648057be3f37259 SHA512 72901e5eaf1857b22bf62a82690579aa4bd8b8130f16416313d249600c99e1ae3c1451ac5c53138ce41dd39dd72dcf8d0f3592b98f4239754efcf4f8b0103cb4
|
||||||
|
@ -1,196 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
export CBUILD=${CBUILD:-${CHOST}}
|
|
||||||
export CTARGET=${CTARGET:-${CHOST}}
|
|
||||||
|
|
||||||
MY_PV=${PV/_/}
|
|
||||||
|
|
||||||
inherit toolchain-funcs
|
|
||||||
|
|
||||||
case ${PV} in
|
|
||||||
*9999*)
|
|
||||||
EGIT_REPO_URI="https://github.com/golang/go.git"
|
|
||||||
inherit git-r3
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
|
|
||||||
S="${WORKDIR}"/go
|
|
||||||
case ${PV} in
|
|
||||||
*_beta*|*_rc*) ;;
|
|
||||||
*)
|
|
||||||
KEYWORDS="-* amd64 arm arm64 ppc64 ~riscv ~s390 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
esac
|
|
||||||
|
|
||||||
DESCRIPTION="A concurrent garbage collected and typesafe programming language"
|
|
||||||
HOMEPAGE="https://go.dev"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
IUSE="cpu_flags_x86_sse2"
|
|
||||||
|
|
||||||
BDEPEND="|| (
|
|
||||||
dev-lang/go
|
|
||||||
dev-lang/go-bootstrap )"
|
|
||||||
|
|
||||||
# the *.syso files have writable/executable stacks
|
|
||||||
QA_EXECSTACK='*.syso'
|
|
||||||
|
|
||||||
# Do not complain about CFLAGS, etc, since Go doesn't use them.
|
|
||||||
QA_FLAGS_IGNORED='.*'
|
|
||||||
|
|
||||||
# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
|
|
||||||
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
|
|
||||||
|
|
||||||
# This package triggers "unrecognized elf file(s)" notices on riscv.
|
|
||||||
# https://bugs.gentoo.org/794046
|
|
||||||
QA_PREBUILT='.*'
|
|
||||||
|
|
||||||
# Do not strip this package. Stripping is unsupported upstream and may
|
|
||||||
# fail.
|
|
||||||
RESTRICT+=" strip"
|
|
||||||
|
|
||||||
DOCS=(
|
|
||||||
AUTHORS
|
|
||||||
CONTRIBUTING.md
|
|
||||||
CONTRIBUTORS
|
|
||||||
PATENTS
|
|
||||||
README.md
|
|
||||||
)
|
|
||||||
|
|
||||||
go_arch() {
|
|
||||||
# By chance most portage arch names match Go
|
|
||||||
local tc_arch=$(tc-arch $@)
|
|
||||||
case "${tc_arch}" in
|
|
||||||
x86) echo 386;;
|
|
||||||
x64-*) echo amd64;;
|
|
||||||
ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;;
|
|
||||||
riscv) echo riscv64 ;;
|
|
||||||
s390) echo s390x ;;
|
|
||||||
*) echo "${tc_arch}";;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
go_arm() {
|
|
||||||
case "${1:-${CHOST}}" in
|
|
||||||
armv5*) echo 5;;
|
|
||||||
armv6*) echo 6;;
|
|
||||||
armv7*) echo 7;;
|
|
||||||
*)
|
|
||||||
die "unknown GOARM for ${1:-${CHOST}}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
go_os() {
|
|
||||||
case "${1:-${CHOST}}" in
|
|
||||||
*-linux*) echo linux;;
|
|
||||||
*-darwin*) echo darwin;;
|
|
||||||
*-freebsd*) echo freebsd;;
|
|
||||||
*-netbsd*) echo netbsd;;
|
|
||||||
*-openbsd*) echo openbsd;;
|
|
||||||
*-solaris*) echo solaris;;
|
|
||||||
*-cygwin*|*-interix*|*-winnt*)
|
|
||||||
echo windows
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
die "unknown GOOS for ${1:-${CHOST}}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
go_tuple() {
|
|
||||||
echo "$(go_os $@)_$(go_arch $@)"
|
|
||||||
}
|
|
||||||
|
|
||||||
go_cross_compile() {
|
|
||||||
[[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
if has_version -b dev-lang/go; then
|
|
||||||
export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
|
|
||||||
elif has_version -b dev-lang/go-bootstrap; then
|
|
||||||
export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
|
|
||||||
else
|
|
||||||
eerror "Go cannot be built without go or go-bootstrap installed"
|
|
||||||
die "Should not be here, please report a bug"
|
|
||||||
fi
|
|
||||||
|
|
||||||
export GOROOT_FINAL="${EPREFIX}"/usr/lib/go
|
|
||||||
export GOROOT="${PWD}"
|
|
||||||
export GOBIN="${GOROOT}/bin"
|
|
||||||
|
|
||||||
# Go's build script does not use BUILD/HOST/TARGET consistently. :(
|
|
||||||
export GOHOSTARCH=$(go_arch ${CBUILD})
|
|
||||||
export GOHOSTOS=$(go_os ${CBUILD})
|
|
||||||
export CC=$(tc-getBUILD_CC)
|
|
||||||
|
|
||||||
export GOARCH=$(go_arch)
|
|
||||||
export GOOS=$(go_os)
|
|
||||||
export CC_FOR_TARGET=$(tc-getCC)
|
|
||||||
export CXX_FOR_TARGET=$(tc-getCXX)
|
|
||||||
use arm && export GOARM=$(go_arm)
|
|
||||||
use x86 && export GO386=$(usex cpu_flags_x86_sse2 '' 'softfloat')
|
|
||||||
|
|
||||||
cd src
|
|
||||||
bash -x ./make.bash || die "build failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
go_cross_compile && return 0
|
|
||||||
|
|
||||||
cd src
|
|
||||||
PATH="${GOBIN}:${PATH}" \
|
|
||||||
./run.bash -no-rebuild || die "tests failed"
|
|
||||||
cd ..
|
|
||||||
rm -fr pkg/*_race || die
|
|
||||||
rm -fr pkg/obj/go-build || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# There is a known issue which requires the source tree to be installed [1].
|
|
||||||
# Once this is fixed, we can consider using the doc use flag to control
|
|
||||||
# installing the doc and src directories.
|
|
||||||
# The use of cp is deliberate in order to retain permissions
|
|
||||||
# [1] https://golang.org/issue/2775
|
|
||||||
dodir /usr/lib/go
|
|
||||||
cp -R api bin doc lib pkg misc src test "${ED}"/usr/lib/go
|
|
||||||
einstalldocs
|
|
||||||
|
|
||||||
# testdata directories are not needed on the installed system
|
|
||||||
rm -fr $(find "${ED}"/usr/lib/go -iname testdata -type d -print)
|
|
||||||
|
|
||||||
local bin_path
|
|
||||||
if go_cross_compile; then
|
|
||||||
bin_path="bin/$(go_tuple)"
|
|
||||||
else
|
|
||||||
bin_path=bin
|
|
||||||
fi
|
|
||||||
local f x
|
|
||||||
for x in ${bin_path}/*; do
|
|
||||||
f=${x##*/}
|
|
||||||
dosym ../lib/go/${bin_path}/${f} /usr/bin/${f}
|
|
||||||
done
|
|
||||||
|
|
||||||
# install the @golang-rebuild set for Portage
|
|
||||||
insinto /usr/share/portage/config/sets
|
|
||||||
newins "${FILESDIR}"/go-sets.conf go.conf
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
[[ -z ${REPLACING_VERSIONS} ]] && return
|
|
||||||
elog "After ${CATEGORY}/${PN} is updated it is recommended to rebuild"
|
|
||||||
elog "all packages compiled with previous versions of ${CATEGORY}/${PN}"
|
|
||||||
elog "due to the static linking nature of go."
|
|
||||||
elog "If this is not done, the packages compiled with the older"
|
|
||||||
elog "version of the compiler will not be updated until they are"
|
|
||||||
elog "updated individually, which could mean they will have"
|
|
||||||
elog "vulnerabilities."
|
|
||||||
elog "Run 'emerge @golang-rebuild' to rebuild all 'go' packages"
|
|
||||||
elog "See https://bugs.gentoo.org/752153 for more info"
|
|
||||||
}
|
|
@ -1,196 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
export CBUILD=${CBUILD:-${CHOST}}
|
|
||||||
export CTARGET=${CTARGET:-${CHOST}}
|
|
||||||
|
|
||||||
MY_PV=${PV/_/}
|
|
||||||
|
|
||||||
inherit toolchain-funcs
|
|
||||||
|
|
||||||
case ${PV} in
|
|
||||||
*9999*)
|
|
||||||
EGIT_REPO_URI="https://github.com/golang/go.git"
|
|
||||||
inherit git-r3
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
|
|
||||||
S="${WORKDIR}"/go
|
|
||||||
case ${PV} in
|
|
||||||
*_beta*|*_rc*) ;;
|
|
||||||
*)
|
|
||||||
KEYWORDS="-* amd64 arm arm64 ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
esac
|
|
||||||
|
|
||||||
DESCRIPTION="A concurrent garbage collected and typesafe programming language"
|
|
||||||
HOMEPAGE="https://go.dev"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
IUSE="cpu_flags_x86_sse2"
|
|
||||||
|
|
||||||
BDEPEND="|| (
|
|
||||||
dev-lang/go
|
|
||||||
dev-lang/go-bootstrap )"
|
|
||||||
|
|
||||||
# the *.syso files have writable/executable stacks
|
|
||||||
QA_EXECSTACK='*.syso'
|
|
||||||
|
|
||||||
# Do not complain about CFLAGS, etc, since Go doesn't use them.
|
|
||||||
QA_FLAGS_IGNORED='.*'
|
|
||||||
|
|
||||||
# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
|
|
||||||
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
|
|
||||||
|
|
||||||
# This package triggers "unrecognized elf file(s)" notices on riscv.
|
|
||||||
# https://bugs.gentoo.org/794046
|
|
||||||
QA_PREBUILT='.*'
|
|
||||||
|
|
||||||
# Do not strip this package. Stripping is unsupported upstream and may
|
|
||||||
# fail.
|
|
||||||
RESTRICT+=" strip"
|
|
||||||
|
|
||||||
DOCS=(
|
|
||||||
AUTHORS
|
|
||||||
CONTRIBUTING.md
|
|
||||||
CONTRIBUTORS
|
|
||||||
PATENTS
|
|
||||||
README.md
|
|
||||||
)
|
|
||||||
|
|
||||||
go_arch() {
|
|
||||||
# By chance most portage arch names match Go
|
|
||||||
local tc_arch=$(tc-arch $@)
|
|
||||||
case "${tc_arch}" in
|
|
||||||
x86) echo 386;;
|
|
||||||
x64-*) echo amd64;;
|
|
||||||
ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;;
|
|
||||||
riscv) echo riscv64 ;;
|
|
||||||
s390) echo s390x ;;
|
|
||||||
*) echo "${tc_arch}";;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
go_arm() {
|
|
||||||
case "${1:-${CHOST}}" in
|
|
||||||
armv5*) echo 5;;
|
|
||||||
armv6*) echo 6;;
|
|
||||||
armv7*) echo 7;;
|
|
||||||
*)
|
|
||||||
die "unknown GOARM for ${1:-${CHOST}}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
go_os() {
|
|
||||||
case "${1:-${CHOST}}" in
|
|
||||||
*-linux*) echo linux;;
|
|
||||||
*-darwin*) echo darwin;;
|
|
||||||
*-freebsd*) echo freebsd;;
|
|
||||||
*-netbsd*) echo netbsd;;
|
|
||||||
*-openbsd*) echo openbsd;;
|
|
||||||
*-solaris*) echo solaris;;
|
|
||||||
*-cygwin*|*-interix*|*-winnt*)
|
|
||||||
echo windows
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
die "unknown GOOS for ${1:-${CHOST}}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
go_tuple() {
|
|
||||||
echo "$(go_os $@)_$(go_arch $@)"
|
|
||||||
}
|
|
||||||
|
|
||||||
go_cross_compile() {
|
|
||||||
[[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
if has_version -b dev-lang/go; then
|
|
||||||
export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
|
|
||||||
elif has_version -b dev-lang/go-bootstrap; then
|
|
||||||
export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
|
|
||||||
else
|
|
||||||
eerror "Go cannot be built without go or go-bootstrap installed"
|
|
||||||
die "Should not be here, please report a bug"
|
|
||||||
fi
|
|
||||||
|
|
||||||
export GOROOT_FINAL="${EPREFIX}"/usr/lib/go
|
|
||||||
export GOROOT="${PWD}"
|
|
||||||
export GOBIN="${GOROOT}/bin"
|
|
||||||
|
|
||||||
# Go's build script does not use BUILD/HOST/TARGET consistently. :(
|
|
||||||
export GOHOSTARCH=$(go_arch ${CBUILD})
|
|
||||||
export GOHOSTOS=$(go_os ${CBUILD})
|
|
||||||
export CC=$(tc-getBUILD_CC)
|
|
||||||
|
|
||||||
export GOARCH=$(go_arch)
|
|
||||||
export GOOS=$(go_os)
|
|
||||||
export CC_FOR_TARGET=$(tc-getCC)
|
|
||||||
export CXX_FOR_TARGET=$(tc-getCXX)
|
|
||||||
use arm && export GOARM=$(go_arm)
|
|
||||||
use x86 && export GO386=$(usex cpu_flags_x86_sse2 '' 'softfloat')
|
|
||||||
|
|
||||||
cd src
|
|
||||||
bash -x ./make.bash || die "build failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
go_cross_compile && return 0
|
|
||||||
|
|
||||||
cd src
|
|
||||||
PATH="${GOBIN}:${PATH}" \
|
|
||||||
./run.bash -no-rebuild || die "tests failed"
|
|
||||||
cd ..
|
|
||||||
rm -fr pkg/*_race || die
|
|
||||||
rm -fr pkg/obj/go-build || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# There is a known issue which requires the source tree to be installed [1].
|
|
||||||
# Once this is fixed, we can consider using the doc use flag to control
|
|
||||||
# installing the doc and src directories.
|
|
||||||
# The use of cp is deliberate in order to retain permissions
|
|
||||||
# [1] https://golang.org/issue/2775
|
|
||||||
dodir /usr/lib/go
|
|
||||||
cp -R api bin doc lib pkg misc src test "${ED}"/usr/lib/go
|
|
||||||
einstalldocs
|
|
||||||
|
|
||||||
# testdata directories are not needed on the installed system
|
|
||||||
rm -fr $(find "${ED}"/usr/lib/go -iname testdata -type d -print)
|
|
||||||
|
|
||||||
local bin_path
|
|
||||||
if go_cross_compile; then
|
|
||||||
bin_path="bin/$(go_tuple)"
|
|
||||||
else
|
|
||||||
bin_path=bin
|
|
||||||
fi
|
|
||||||
local f x
|
|
||||||
for x in ${bin_path}/*; do
|
|
||||||
f=${x##*/}
|
|
||||||
dosym ../lib/go/${bin_path}/${f} /usr/bin/${f}
|
|
||||||
done
|
|
||||||
|
|
||||||
# install the @golang-rebuild set for Portage
|
|
||||||
insinto /usr/share/portage/config/sets
|
|
||||||
newins "${FILESDIR}"/go-sets.conf go.conf
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
[[ -z ${REPLACING_VERSIONS} ]] && return
|
|
||||||
elog "After ${CATEGORY}/${PN} is updated it is recommended to rebuild"
|
|
||||||
elog "all packages compiled with previous versions of ${CATEGORY}/${PN}"
|
|
||||||
elog "due to the static linking nature of go."
|
|
||||||
elog "If this is not done, the packages compiled with the older"
|
|
||||||
elog "version of the compiler will not be updated until they are"
|
|
||||||
elog "updated individually, which could mean they will have"
|
|
||||||
elog "vulnerabilities."
|
|
||||||
elog "Run 'emerge @golang-rebuild' to rebuild all 'go' packages"
|
|
||||||
elog "See https://bugs.gentoo.org/752153 for more info"
|
|
||||||
}
|
|
@ -1,201 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
export CBUILD=${CBUILD:-${CHOST}}
|
|
||||||
export CTARGET=${CTARGET:-${CHOST}}
|
|
||||||
|
|
||||||
MY_PV=${PV/_/}
|
|
||||||
|
|
||||||
inherit toolchain-funcs
|
|
||||||
|
|
||||||
case ${PV} in
|
|
||||||
*9999*)
|
|
||||||
EGIT_REPO_URI="https://github.com/golang/go.git"
|
|
||||||
inherit git-r3
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
|
|
||||||
S="${WORKDIR}"/go
|
|
||||||
case ${PV} in
|
|
||||||
*_beta*|*_rc*) ;;
|
|
||||||
*)
|
|
||||||
KEYWORDS="-* amd64 arm arm64 ~loong ~mips ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
esac
|
|
||||||
|
|
||||||
DESCRIPTION="A concurrent garbage collected and typesafe programming language"
|
|
||||||
HOMEPAGE="https://go.dev"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
IUSE="abi_mips_o32 abi_mips_n64 cpu_flags_x86_sse2"
|
|
||||||
|
|
||||||
BDEPEND="|| (
|
|
||||||
dev-lang/go
|
|
||||||
dev-lang/go-bootstrap )"
|
|
||||||
|
|
||||||
# the *.syso files have writable/executable stacks
|
|
||||||
QA_EXECSTACK='*.syso'
|
|
||||||
|
|
||||||
# Do not complain about CFLAGS, etc, since Go doesn't use them.
|
|
||||||
QA_FLAGS_IGNORED='.*'
|
|
||||||
|
|
||||||
# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
|
|
||||||
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
|
|
||||||
|
|
||||||
# This package triggers "unrecognized elf file(s)" notices on riscv.
|
|
||||||
# https://bugs.gentoo.org/794046
|
|
||||||
QA_PREBUILT='.*'
|
|
||||||
|
|
||||||
# Do not strip this package. Stripping is unsupported upstream and may
|
|
||||||
# fail.
|
|
||||||
RESTRICT+=" strip"
|
|
||||||
|
|
||||||
DOCS=(
|
|
||||||
CONTRIBUTING.md
|
|
||||||
PATENTS
|
|
||||||
README.md
|
|
||||||
SECURITY.md
|
|
||||||
)
|
|
||||||
|
|
||||||
go_arch() {
|
|
||||||
# By chance most portage arch names match Go
|
|
||||||
local tc_arch=$(tc-arch $@)
|
|
||||||
case "${tc_arch}" in
|
|
||||||
x86) echo 386;;
|
|
||||||
x64-*) echo amd64;;
|
|
||||||
loong) echo loong64;;
|
|
||||||
mips) if use abi_mips_o32; then
|
|
||||||
[[ $(tc-endian $@) = big ]] && echo mips || echo mipsle
|
|
||||||
elif use abi_mips_n64; then
|
|
||||||
[[ $(tc-endian $@) = big ]] && echo mips64 || echo mips64le
|
|
||||||
fi ;;
|
|
||||||
ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;;
|
|
||||||
riscv) echo riscv64 ;;
|
|
||||||
s390) echo s390x ;;
|
|
||||||
*) echo "${tc_arch}";;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
go_arm() {
|
|
||||||
case "${1:-${CHOST}}" in
|
|
||||||
armv5*) echo 5;;
|
|
||||||
armv6*) echo 6;;
|
|
||||||
armv7*) echo 7;;
|
|
||||||
*)
|
|
||||||
die "unknown GOARM for ${1:-${CHOST}}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
go_os() {
|
|
||||||
case "${1:-${CHOST}}" in
|
|
||||||
*-linux*) echo linux;;
|
|
||||||
*-darwin*) echo darwin;;
|
|
||||||
*-freebsd*) echo freebsd;;
|
|
||||||
*-netbsd*) echo netbsd;;
|
|
||||||
*-openbsd*) echo openbsd;;
|
|
||||||
*-solaris*) echo solaris;;
|
|
||||||
*-cygwin*|*-interix*|*-winnt*)
|
|
||||||
echo windows
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
die "unknown GOOS for ${1:-${CHOST}}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
go_tuple() {
|
|
||||||
echo "$(go_os $@)_$(go_arch $@)"
|
|
||||||
}
|
|
||||||
|
|
||||||
go_cross_compile() {
|
|
||||||
[[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
if has_version -b dev-lang/go; then
|
|
||||||
export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
|
|
||||||
elif has_version -b dev-lang/go-bootstrap; then
|
|
||||||
export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
|
|
||||||
else
|
|
||||||
eerror "Go cannot be built without go or go-bootstrap installed"
|
|
||||||
die "Should not be here, please report a bug"
|
|
||||||
fi
|
|
||||||
|
|
||||||
export GOROOT_FINAL="${EPREFIX}"/usr/lib/go
|
|
||||||
export GOROOT="${PWD}"
|
|
||||||
export GOBIN="${GOROOT}/bin"
|
|
||||||
|
|
||||||
# Go's build script does not use BUILD/HOST/TARGET consistently. :(
|
|
||||||
export GOHOSTARCH=$(go_arch ${CBUILD})
|
|
||||||
export GOHOSTOS=$(go_os ${CBUILD})
|
|
||||||
export CC=$(tc-getBUILD_CC)
|
|
||||||
|
|
||||||
export GOARCH=$(go_arch)
|
|
||||||
export GOOS=$(go_os)
|
|
||||||
export CC_FOR_TARGET=$(tc-getCC)
|
|
||||||
export CXX_FOR_TARGET=$(tc-getCXX)
|
|
||||||
use arm && export GOARM=$(go_arm)
|
|
||||||
use x86 && export GO386=$(usex cpu_flags_x86_sse2 '' 'softfloat')
|
|
||||||
|
|
||||||
cd src
|
|
||||||
bash -x ./make.bash || die "build failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
go_cross_compile && return 0
|
|
||||||
|
|
||||||
cd src
|
|
||||||
PATH="${GOBIN}:${PATH}" \
|
|
||||||
./run.bash -no-rebuild || die "tests failed"
|
|
||||||
cd ..
|
|
||||||
rm -fr pkg/*_race || die
|
|
||||||
rm -fr pkg/obj/go-build || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# There is a known issue which requires the source tree to be installed [1].
|
|
||||||
# Once this is fixed, we can consider using the doc use flag to control
|
|
||||||
# installing the doc and src directories.
|
|
||||||
# The use of cp is deliberate in order to retain permissions
|
|
||||||
# [1] https://golang.org/issue/2775
|
|
||||||
dodir /usr/lib/go
|
|
||||||
cp -R api bin doc lib pkg misc src test "${ED}"/usr/lib/go
|
|
||||||
einstalldocs
|
|
||||||
|
|
||||||
# testdata directories are not needed on the installed system
|
|
||||||
rm -fr $(find "${ED}"/usr/lib/go -iname testdata -type d -print)
|
|
||||||
|
|
||||||
local bin_path
|
|
||||||
if go_cross_compile; then
|
|
||||||
bin_path="bin/$(go_tuple)"
|
|
||||||
else
|
|
||||||
bin_path=bin
|
|
||||||
fi
|
|
||||||
local f x
|
|
||||||
for x in ${bin_path}/*; do
|
|
||||||
f=${x##*/}
|
|
||||||
dosym ../lib/go/${bin_path}/${f} /usr/bin/${f}
|
|
||||||
done
|
|
||||||
|
|
||||||
# install the @golang-rebuild set for Portage
|
|
||||||
insinto /usr/share/portage/config/sets
|
|
||||||
newins "${FILESDIR}"/go-sets.conf go.conf
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
[[ -z ${REPLACING_VERSIONS} ]] && return
|
|
||||||
elog "After ${CATEGORY}/${PN} is updated it is recommended to rebuild"
|
|
||||||
elog "all packages compiled with previous versions of ${CATEGORY}/${PN}"
|
|
||||||
elog "due to the static linking nature of go."
|
|
||||||
elog "If this is not done, the packages compiled with the older"
|
|
||||||
elog "version of the compiler will not be updated until they are"
|
|
||||||
elog "updated individually, which could mean they will have"
|
|
||||||
elog "vulnerabilities."
|
|
||||||
elog "Run 'emerge @golang-rebuild' to rebuild all 'go' packages"
|
|
||||||
elog "See https://bugs.gentoo.org/752153 for more info"
|
|
||||||
}
|
|
Binary file not shown.
@ -1,8 +1,5 @@
|
|||||||
DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B ee67c5407df8cef493b9c0004f15e428f22a536a17e5f4e3eb29a003b8a8ec0abe0fa3e072591161d5f30ef7d8867c1ce34d1b341ad858e93c00263499941a99 SHA512 6fc6eeb60fac698702d1aac495fc0161eb7216a1f8db2020af8fccec5837831f7cc20dc2a169bf4f0b5f520748280b4a86621f3697d622aa58faaa45dbfaad13
|
DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B ee67c5407df8cef493b9c0004f15e428f22a536a17e5f4e3eb29a003b8a8ec0abe0fa3e072591161d5f30ef7d8867c1ce34d1b341ad858e93c00263499941a99 SHA512 6fc6eeb60fac698702d1aac495fc0161eb7216a1f8db2020af8fccec5837831f7cc20dc2a169bf4f0b5f520748280b4a86621f3697d622aa58faaa45dbfaad13
|
||||||
DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f SHA512 b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6
|
DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f SHA512 b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6
|
||||||
DIST llvm-project-15.0.1.src.tar.xz 112068688 BLAKE2B 8fd6690445f7cbc8b47a7c1dd1f2c4fbc39f9a97f9d4a0015d466726454b090b0d1ff9b0d926eba7065e84782901687f74e6540a36dc6656a93f3c92c7bc7e06 SHA512 cef84bc173118a30db3ece5e5c6f874bf689c77afc40a4792fdcb7556555ac14a8e6de1dc811755405e5d162d63bc69abaecba30d220a42765160d69f0073fda
|
|
||||||
DIST llvm-project-15.0.1.src.tar.xz.sig 438 BLAKE2B d8f634adab531bb19178fb27bc83b3a90c856e9402dd5af700f9af43813f68d20c21b9112dd95e9f6f10609ee51ed5aaf77edb96ca16fb93136b8aea432affd3 SHA512 cbf2570840d8dc12f6436c495a23cf9d439ee195755c01a6d1d5bcc20133599dc956dc43a0f5016698e3c9a960826f5f3c2840a73f993467e275856a67999fda
|
|
||||||
DIST llvm-project-15.0.2.src.tar.xz 112071864 BLAKE2B 96f2884d6c1007260d71e5dd41951eed029e8f50ff78f3c90f7194df13e1d4fb80ab7705c51c45a3e6b2a7714a98d9c5919fc7064d1d5f7c675e65b9b4229b65 SHA512 a0e815369c15bb4f8e8aa0fede29c3d557fcc5c8f2b39d457c03f1ef1d860082a41027238571b2aee9a158a87eb118deb08dc2ba94ce750320837a84e9908b8c
|
DIST llvm-project-15.0.2.src.tar.xz 112071864 BLAKE2B 96f2884d6c1007260d71e5dd41951eed029e8f50ff78f3c90f7194df13e1d4fb80ab7705c51c45a3e6b2a7714a98d9c5919fc7064d1d5f7c675e65b9b4229b65 SHA512 a0e815369c15bb4f8e8aa0fede29c3d557fcc5c8f2b39d457c03f1ef1d860082a41027238571b2aee9a158a87eb118deb08dc2ba94ce750320837a84e9908b8c
|
||||||
DIST llvm-project-15.0.2.src.tar.xz.sig 438 BLAKE2B 37a3a7fbc2d74db9060e85f04e159b475cf818c95a6fe2e9f5f038eb990f414d94833ecac2f9c826825a69b752876399e37e70e6934def06363f7ccb18be033a SHA512 cfe3bc400a64536ad9181c2ede7227a0953a8632fdc777d1ea1d9225c1fc4e699d90ce0b99e057ee5b87c1272d5810c4b52fb0cac167ddd2aad88f1f3ef46ee8
|
DIST llvm-project-15.0.2.src.tar.xz.sig 438 BLAKE2B 37a3a7fbc2d74db9060e85f04e159b475cf818c95a6fe2e9f5f038eb990f414d94833ecac2f9c826825a69b752876399e37e70e6934def06363f7ccb18be033a SHA512 cfe3bc400a64536ad9181c2ede7227a0953a8632fdc777d1ea1d9225c1fc4e699d90ce0b99e057ee5b87c1272d5810c4b52fb0cac167ddd2aad88f1f3ef46ee8
|
||||||
DIST llvm-project-215c9fa4deac9ec6b4e504843830551f03b60620.tar.gz 168942763 BLAKE2B 545c7c372c38667b7d811753464e91134aae600060d9054979eab8735d535a72d6bbb33a6008dc81f3b14513f58791ca3b8c3068e62ff146ccb14f32abb41a32 SHA512 d0c244357650ef5d56bc7afd836cd747cc2cce92d5f7fb4ddec3414e5bafe4e611acb2a7ff42343c184caad14a30fa9a6ced7e493df3ceb06fe8f9445aeb5a9b
|
|
||||||
DIST llvm-project-5a0722e0469894564dd9b0ee1d4f8c291d09c776.tar.gz 169164627 BLAKE2B c9a8672cac0faa747baa366545d21f91b50e7611e062eb95042cbccc2dc00b74f44c5c2fcccda49b44975320dfadca5916585766235a406dfbd7321afba03025 SHA512 bad4043fab0e4f9c633bc0aa74df1f1ea886f1d20c1c7a2704bd8317371cf6325e70a770623307d7a455e815cce8c5f00be1ed4ec3f06a7b69038a2784f73243
|
DIST llvm-project-5a0722e0469894564dd9b0ee1d4f8c291d09c776.tar.gz 169164627 BLAKE2B c9a8672cac0faa747baa366545d21f91b50e7611e062eb95042cbccc2dc00b74f44c5c2fcccda49b44975320dfadca5916585766235a406dfbd7321afba03025 SHA512 bad4043fab0e4f9c633bc0aa74df1f1ea886f1d20c1c7a2704bd8317371cf6325e70a770623307d7a455e815cce8c5f00be1ed4ec3f06a7b69038a2784f73243
|
||||||
|
@ -1,67 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..11} )
|
|
||||||
inherit cmake llvm llvm.org python-any-r1
|
|
||||||
|
|
||||||
DESCRIPTION="OpenCL C library"
|
|
||||||
HOMEPAGE="https://libclc.llvm.org/"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0-with-LLVM-exceptions || ( MIT BSD )"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE_VIDEO_CARDS="video_cards_nvidia video_cards_r600 video_cards_radeonsi"
|
|
||||||
IUSE="${IUSE_VIDEO_CARDS}"
|
|
||||||
REQUIRED_USE="|| ( ${IUSE_VIDEO_CARDS} )"
|
|
||||||
|
|
||||||
LLVM_MAX_SLOT=15
|
|
||||||
BDEPEND="
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
|| (
|
|
||||||
sys-devel/clang:15
|
|
||||||
sys-devel/clang:14
|
|
||||||
sys-devel/clang:13
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
LLVM_COMPONENTS=( libclc )
|
|
||||||
llvm.org_set_globals
|
|
||||||
|
|
||||||
llvm_check_deps() {
|
|
||||||
has_version -b "sys-devel/clang:${LLVM_SLOT}"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
# we do not need llvm_pkg_setup
|
|
||||||
python-any-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local libclc_targets=()
|
|
||||||
|
|
||||||
use video_cards_nvidia && libclc_targets+=(
|
|
||||||
"nvptx--"
|
|
||||||
"nvptx64--"
|
|
||||||
"nvptx--nvidiacl"
|
|
||||||
"nvptx64--nvidiacl"
|
|
||||||
)
|
|
||||||
use video_cards_r600 && libclc_targets+=(
|
|
||||||
"r600--"
|
|
||||||
)
|
|
||||||
use video_cards_radeonsi && libclc_targets+=(
|
|
||||||
"amdgcn--"
|
|
||||||
"amdgcn-mesa-mesa3d"
|
|
||||||
"amdgcn--amdhsa"
|
|
||||||
)
|
|
||||||
# TODO: spirv
|
|
||||||
[[ ${#libclc_targets[@]} ]] || die "libclc target missing!"
|
|
||||||
|
|
||||||
libclc_targets=${libclc_targets[*]}
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DLIBCLC_TARGETS_TO_BUILD="${libclc_targets// /;}"
|
|
||||||
-DLLVM_CONFIG="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config"
|
|
||||||
)
|
|
||||||
cmake_src_configure
|
|
||||||
}
|
|
@ -1,68 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..11} )
|
|
||||||
inherit cmake llvm llvm.org python-any-r1
|
|
||||||
|
|
||||||
DESCRIPTION="OpenCL C library"
|
|
||||||
HOMEPAGE="https://libclc.llvm.org/"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0-with-LLVM-exceptions || ( MIT BSD )"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS=""
|
|
||||||
IUSE_VIDEO_CARDS="video_cards_nvidia video_cards_r600 video_cards_radeonsi"
|
|
||||||
IUSE="${IUSE_VIDEO_CARDS}"
|
|
||||||
REQUIRED_USE="|| ( ${IUSE_VIDEO_CARDS} )"
|
|
||||||
|
|
||||||
LLVM_MAX_SLOT=16
|
|
||||||
BDEPEND="
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
|| (
|
|
||||||
sys-devel/clang:16
|
|
||||||
sys-devel/clang:15
|
|
||||||
sys-devel/clang:14
|
|
||||||
sys-devel/clang:13
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
LLVM_COMPONENTS=( libclc )
|
|
||||||
llvm.org_set_globals
|
|
||||||
|
|
||||||
llvm_check_deps() {
|
|
||||||
has_version -b "sys-devel/clang:${LLVM_SLOT}"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
# we do not need llvm_pkg_setup
|
|
||||||
python-any-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local libclc_targets=()
|
|
||||||
|
|
||||||
use video_cards_nvidia && libclc_targets+=(
|
|
||||||
"nvptx--"
|
|
||||||
"nvptx64--"
|
|
||||||
"nvptx--nvidiacl"
|
|
||||||
"nvptx64--nvidiacl"
|
|
||||||
)
|
|
||||||
use video_cards_r600 && libclc_targets+=(
|
|
||||||
"r600--"
|
|
||||||
)
|
|
||||||
use video_cards_radeonsi && libclc_targets+=(
|
|
||||||
"amdgcn--"
|
|
||||||
"amdgcn-mesa-mesa3d"
|
|
||||||
"amdgcn--amdhsa"
|
|
||||||
)
|
|
||||||
# TODO: spirv
|
|
||||||
[[ ${#libclc_targets[@]} ]] || die "libclc target missing!"
|
|
||||||
|
|
||||||
libclc_targets=${libclc_targets[*]}
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DLIBCLC_TARGETS_TO_BUILD="${libclc_targets// /;}"
|
|
||||||
-DLLVM_CONFIG="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config"
|
|
||||||
)
|
|
||||||
cmake_src_configure
|
|
||||||
}
|
|
@ -0,0 +1,7 @@
|
|||||||
|
https://bugs.gentoo.org/871054
|
||||||
|
--- a/libstroke/stroke.c
|
||||||
|
+++ b/libstroke/stroke.c
|
||||||
|
@@ -13,2 +13,3 @@
|
||||||
|
#include <stdio.h>
|
||||||
|
+#include <string.h>
|
||||||
|
#include <math.h>
|
@ -1 +1,2 @@
|
|||||||
DIST link-grammar-5.10.5.tar.gz 4637765 BLAKE2B d280a06492462725c9c62352b6bf4fb0a11a09b2b3049e41d9a078fa2ad37c8ef0f0e99e05039e355e81d127c168024068319a4fcf64caa840c00c165ed22f11 SHA512 09774f7ce01bc7ec9912162297c9b7be176e655b70981a147d53245c015f62581e7f45c005d0590d1a65e870e3c2ac4288517012fd9caa9887e4fd86d8e6aa05
|
DIST link-grammar-5.10.5.tar.gz 4637765 BLAKE2B d280a06492462725c9c62352b6bf4fb0a11a09b2b3049e41d9a078fa2ad37c8ef0f0e99e05039e355e81d127c168024068319a4fcf64caa840c00c165ed22f11 SHA512 09774f7ce01bc7ec9912162297c9b7be176e655b70981a147d53245c015f62581e7f45c005d0590d1a65e870e3c2ac4288517012fd9caa9887e4fd86d8e6aa05
|
||||||
|
DIST link-grammar-5.11.0.tar.gz 4672430 BLAKE2B 35892e05805a83ebbd700611d19aaa9ad1ede4ba3baf60c85ef8e5abbc40134fcb71d9cb9f41518f663c60ad11aac7bd0b316c8c95a12631032f5ad79564d686 SHA512 6a24bc8d5c9f0dd63460c092fc46880503018e949aa277148f8f551d6cc9d929d3a981eeaba00afc6e618c1e4505438d0c7e9a57dfe7a8deb7d3a8f183c56636
|
||||||
|
@ -0,0 +1,109 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..11} )
|
||||||
|
|
||||||
|
inherit autotools python-r1 out-of-source
|
||||||
|
|
||||||
|
DESCRIPTION="A Syntactic English parser"
|
||||||
|
HOMEPAGE="https://www.abisource.com/projects/link-grammar/ https://www.link.cs.cmu.edu/link/"
|
||||||
|
SRC_URI="https://www.abisource.com/downloads/${PN}/${PV}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="0/5"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||||
|
IUSE="aspell +hunspell python"
|
||||||
|
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||||
|
|
||||||
|
# XXX: sqlite is automagic
|
||||||
|
# Does not build with >=sci-mathematics/minisat-2, bug #593662
|
||||||
|
RDEPEND="
|
||||||
|
dev-db/sqlite:3
|
||||||
|
dev-libs/libpcre2:=
|
||||||
|
aspell? ( app-text/aspell )
|
||||||
|
hunspell? ( app-text/hunspell )
|
||||||
|
python? ( ${PYTHON_DEPS} )
|
||||||
|
!sci-mathematics/minisat"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
dev-lang/swig:0
|
||||||
|
sys-devel/autoconf-archive
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
if use aspell && use hunspell; then
|
||||||
|
ewarn "You have enabled 'aspell' and 'hunspell' support, but both cannot coexist,"
|
||||||
|
ewarn "only hunspell will be built. Press Ctrl+C and set only 'aspell' USE flag if"
|
||||||
|
ewarn "you want aspell support."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
my_src_configure() {
|
||||||
|
local myconf=(
|
||||||
|
--disable-maintainer-mode
|
||||||
|
--disable-editline
|
||||||
|
# java is hopelessly broken, invokes maven at build time (bug #806157)
|
||||||
|
--disable-java-bindings
|
||||||
|
--disable-perl-bindings
|
||||||
|
--enable-sat-solver=bundled
|
||||||
|
--with-regexlib=pcre2
|
||||||
|
$(use_enable aspell)
|
||||||
|
$(use_enable hunspell)
|
||||||
|
$(usev hunspell --with-hunspell-dictdir="${EPREFIX}"/usr/share/myspell)
|
||||||
|
)
|
||||||
|
|
||||||
|
econf \
|
||||||
|
--disable-python-bindings \
|
||||||
|
"${myconf[@]}"
|
||||||
|
|
||||||
|
if use python; then
|
||||||
|
python_configure() {
|
||||||
|
econf \
|
||||||
|
--enable-python-bindings \
|
||||||
|
"${myconf[@]}"
|
||||||
|
}
|
||||||
|
python_foreach_impl run_in_build_dir python_configure
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
my_src_compile() {
|
||||||
|
local -x MAIN_BUILD_DIR="${BUILD_DIR}"
|
||||||
|
default
|
||||||
|
|
||||||
|
if use python; then
|
||||||
|
python_compile() {
|
||||||
|
emake -C bindings/python \
|
||||||
|
VPATH="${S}:${MAIN_BUILD_DIR}" \
|
||||||
|
_clinkgrammar_la_DEPENDENCIES="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la \
|
||||||
|
_clinkgrammar_la_LIBADD="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la
|
||||||
|
}
|
||||||
|
python_foreach_impl run_in_build_dir python_compile
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
my_src_install() {
|
||||||
|
local -x MAIN_BUILD_DIR="${BUILD_DIR}"
|
||||||
|
default
|
||||||
|
|
||||||
|
if use python; then
|
||||||
|
python_install() {
|
||||||
|
emake -C bindings/python \
|
||||||
|
VPATH="${S}:${MAIN_BUILD_DIR}" \
|
||||||
|
_clinkgrammar_la_DEPENDENCIES="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la \
|
||||||
|
_clinkgrammar_la_LIBADD="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la \
|
||||||
|
DESTDIR="${D}" \
|
||||||
|
install
|
||||||
|
}
|
||||||
|
python_foreach_impl run_in_build_dir python_install
|
||||||
|
fi
|
||||||
|
|
||||||
|
# no static archives
|
||||||
|
find "${ED}" -name '*.la' -delete || die
|
||||||
|
}
|
Binary file not shown.
@ -1,9 +1,6 @@
|
|||||||
DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B ee67c5407df8cef493b9c0004f15e428f22a536a17e5f4e3eb29a003b8a8ec0abe0fa3e072591161d5f30ef7d8867c1ce34d1b341ad858e93c00263499941a99 SHA512 6fc6eeb60fac698702d1aac495fc0161eb7216a1f8db2020af8fccec5837831f7cc20dc2a169bf4f0b5f520748280b4a86621f3697d622aa58faaa45dbfaad13
|
DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B ee67c5407df8cef493b9c0004f15e428f22a536a17e5f4e3eb29a003b8a8ec0abe0fa3e072591161d5f30ef7d8867c1ce34d1b341ad858e93c00263499941a99 SHA512 6fc6eeb60fac698702d1aac495fc0161eb7216a1f8db2020af8fccec5837831f7cc20dc2a169bf4f0b5f520748280b4a86621f3697d622aa58faaa45dbfaad13
|
||||||
DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f SHA512 b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6
|
DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f SHA512 b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6
|
||||||
DIST llvm-project-15.0.1.src.tar.xz 112068688 BLAKE2B 8fd6690445f7cbc8b47a7c1dd1f2c4fbc39f9a97f9d4a0015d466726454b090b0d1ff9b0d926eba7065e84782901687f74e6540a36dc6656a93f3c92c7bc7e06 SHA512 cef84bc173118a30db3ece5e5c6f874bf689c77afc40a4792fdcb7556555ac14a8e6de1dc811755405e5d162d63bc69abaecba30d220a42765160d69f0073fda
|
|
||||||
DIST llvm-project-15.0.1.src.tar.xz.sig 438 BLAKE2B d8f634adab531bb19178fb27bc83b3a90c856e9402dd5af700f9af43813f68d20c21b9112dd95e9f6f10609ee51ed5aaf77edb96ca16fb93136b8aea432affd3 SHA512 cbf2570840d8dc12f6436c495a23cf9d439ee195755c01a6d1d5bcc20133599dc956dc43a0f5016698e3c9a960826f5f3c2840a73f993467e275856a67999fda
|
|
||||||
DIST llvm-project-15.0.2.src.tar.xz 112071864 BLAKE2B 96f2884d6c1007260d71e5dd41951eed029e8f50ff78f3c90f7194df13e1d4fb80ab7705c51c45a3e6b2a7714a98d9c5919fc7064d1d5f7c675e65b9b4229b65 SHA512 a0e815369c15bb4f8e8aa0fede29c3d557fcc5c8f2b39d457c03f1ef1d860082a41027238571b2aee9a158a87eb118deb08dc2ba94ce750320837a84e9908b8c
|
DIST llvm-project-15.0.2.src.tar.xz 112071864 BLAKE2B 96f2884d6c1007260d71e5dd41951eed029e8f50ff78f3c90f7194df13e1d4fb80ab7705c51c45a3e6b2a7714a98d9c5919fc7064d1d5f7c675e65b9b4229b65 SHA512 a0e815369c15bb4f8e8aa0fede29c3d557fcc5c8f2b39d457c03f1ef1d860082a41027238571b2aee9a158a87eb118deb08dc2ba94ce750320837a84e9908b8c
|
||||||
DIST llvm-project-15.0.2.src.tar.xz.sig 438 BLAKE2B 37a3a7fbc2d74db9060e85f04e159b475cf818c95a6fe2e9f5f038eb990f414d94833ecac2f9c826825a69b752876399e37e70e6934def06363f7ccb18be033a SHA512 cfe3bc400a64536ad9181c2ede7227a0953a8632fdc777d1ea1d9225c1fc4e699d90ce0b99e057ee5b87c1272d5810c4b52fb0cac167ddd2aad88f1f3ef46ee8
|
DIST llvm-project-15.0.2.src.tar.xz.sig 438 BLAKE2B 37a3a7fbc2d74db9060e85f04e159b475cf818c95a6fe2e9f5f038eb990f414d94833ecac2f9c826825a69b752876399e37e70e6934def06363f7ccb18be033a SHA512 cfe3bc400a64536ad9181c2ede7227a0953a8632fdc777d1ea1d9225c1fc4e699d90ce0b99e057ee5b87c1272d5810c4b52fb0cac167ddd2aad88f1f3ef46ee8
|
||||||
DIST llvm-project-215c9fa4deac9ec6b4e504843830551f03b60620.tar.gz 168942763 BLAKE2B 545c7c372c38667b7d811753464e91134aae600060d9054979eab8735d535a72d6bbb33a6008dc81f3b14513f58791ca3b8c3068e62ff146ccb14f32abb41a32 SHA512 d0c244357650ef5d56bc7afd836cd747cc2cce92d5f7fb4ddec3414e5bafe4e611acb2a7ff42343c184caad14a30fa9a6ced7e493df3ceb06fe8f9445aeb5a9b
|
|
||||||
DIST llvm-project-5a0722e0469894564dd9b0ee1d4f8c291d09c776.tar.gz 169164627 BLAKE2B c9a8672cac0faa747baa366545d21f91b50e7611e062eb95042cbccc2dc00b74f44c5c2fcccda49b44975320dfadca5916585766235a406dfbd7321afba03025 SHA512 bad4043fab0e4f9c633bc0aa74df1f1ea886f1d20c1c7a2704bd8317371cf6325e70a770623307d7a455e815cce8c5f00be1ed4ec3f06a7b69038a2784f73243
|
DIST llvm-project-5a0722e0469894564dd9b0ee1d4f8c291d09c776.tar.gz 169164627 BLAKE2B c9a8672cac0faa747baa366545d21f91b50e7611e062eb95042cbccc2dc00b74f44c5c2fcccda49b44975320dfadca5916585766235a406dfbd7321afba03025 SHA512 bad4043fab0e4f9c633bc0aa74df1f1ea886f1d20c1c7a2704bd8317371cf6325e70a770623307d7a455e815cce8c5f00be1ed4ec3f06a7b69038a2784f73243
|
||||||
DIST llvmorg-13.0.1.tar.gz 147290251 BLAKE2B 2a44b012a672501761d0c27c6b3a315b69bfef0cd13b078a7e7d2fccc4a9c8c0f2bee0f164c4271c9106b0a99cb06e8b64986f66253b613336719fb86b82541b SHA512 9a8cb5d11964ba88b7624f19ec861fb28701f23956ea3c92f6ac644332d5f41fde97bd8933dd3ee70ed378058c252fa3a3887c8d1af90d219970c2b27691166f
|
DIST llvmorg-13.0.1.tar.gz 147290251 BLAKE2B 2a44b012a672501761d0c27c6b3a315b69bfef0cd13b078a7e7d2fccc4a9c8c0f2bee0f164c4271c9106b0a99cb06e8b64986f66253b613336719fb86b82541b SHA512 9a8cb5d11964ba88b7624f19ec861fb28701f23956ea3c92f6ac644332d5f41fde97bd8933dd3ee70ed378058c252fa3a3887c8d1af90d219970c2b27691166f
|
||||||
|
@ -1,115 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..11} )
|
|
||||||
inherit cmake llvm llvm.org python-any-r1
|
|
||||||
|
|
||||||
DESCRIPTION="OCaml bindings for LLVM"
|
|
||||||
HOMEPAGE="https://llvm.org/"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86"
|
|
||||||
IUSE="debug test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-lang/ocaml-4.00.0:0=
|
|
||||||
dev-ml/ocaml-ctypes:=
|
|
||||||
~sys-devel/llvm-${PV}:=[debug?]
|
|
||||||
!sys-devel/llvm[ocaml(-)]
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
dev-lang/perl
|
|
||||||
dev-ml/findlib
|
|
||||||
>=dev-util/cmake-3.16
|
|
||||||
"
|
|
||||||
|
|
||||||
LLVM_COMPONENTS=( llvm cmake third-party )
|
|
||||||
LLVM_USE_TARGETS=llvm
|
|
||||||
llvm.org_set_globals
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup
|
|
||||||
python-any-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local libdir=$(get_libdir)
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DLLVM_LIBDIR_SUFFIX=${libdir#lib}
|
|
||||||
|
|
||||||
-DBUILD_SHARED_LIBS=OFF
|
|
||||||
-DLLVM_BUILD_LLVM_DYLIB=ON
|
|
||||||
-DLLVM_LINK_LLVM_DYLIB=ON
|
|
||||||
-DLLVM_OCAML_OUT_OF_TREE=ON
|
|
||||||
|
|
||||||
# cheap hack: LLVM combines both anyway, and the only difference
|
|
||||||
# is that the former list is explicitly verified at cmake time
|
|
||||||
-DLLVM_TARGETS_TO_BUILD=""
|
|
||||||
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
|
|
||||||
-DLLVM_BUILD_TESTS=$(usex test)
|
|
||||||
|
|
||||||
# disable various irrelevant deps and settings
|
|
||||||
-DLLVM_ENABLE_FFI=OFF
|
|
||||||
-DLLVM_ENABLE_TERMINFO=OFF
|
|
||||||
-DHAVE_HISTEDIT_H=NO
|
|
||||||
-DLLVM_ENABLE_ASSERTIONS=$(usex debug)
|
|
||||||
-DLLVM_ENABLE_EH=ON
|
|
||||||
-DLLVM_ENABLE_RTTI=ON
|
|
||||||
|
|
||||||
-DLLVM_HOST_TRIPLE="${CHOST}"
|
|
||||||
|
|
||||||
-DPython3_EXECUTABLE="${PYTHON}"
|
|
||||||
|
|
||||||
# disable go bindings
|
|
||||||
-DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND
|
|
||||||
|
|
||||||
# TODO: ocamldoc
|
|
||||||
)
|
|
||||||
|
|
||||||
use test && mycmakeargs+=(
|
|
||||||
-DLLVM_LIT_ARGS="$(get_lit_flags)"
|
|
||||||
)
|
|
||||||
|
|
||||||
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
|
|
||||||
# also: custom rules for OCaml do not work for CPPFLAGS
|
|
||||||
use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG"
|
|
||||||
cmake_src_configure
|
|
||||||
|
|
||||||
local llvm_libdir=$(llvm-config --libdir)
|
|
||||||
# an ugly hack; TODO: figure out a way to pass -L to ocaml...
|
|
||||||
cd "${BUILD_DIR}/${libdir}" || die
|
|
||||||
ln -s "${llvm_libdir}"/*.so . || die
|
|
||||||
|
|
||||||
if use test; then
|
|
||||||
local llvm_bindir=$(llvm-config --bindir)
|
|
||||||
# Force using system-installed tools.
|
|
||||||
sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \
|
|
||||||
"${BUILD_DIR}"/test/lit.site.cfg.py || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
cmake_build ocaml_all
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# respect TMPDIR!
|
|
||||||
local -x LIT_PRESERVES_TMP=1
|
|
||||||
cmake_build check-llvm-bindings-ocaml
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
DESTDIR="${D}" \
|
|
||||||
cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die
|
|
||||||
|
|
||||||
dodoc bindings/ocaml/README.txt
|
|
||||||
}
|
|
@ -1,115 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..11} )
|
|
||||||
inherit cmake llvm llvm.org python-any-r1
|
|
||||||
|
|
||||||
DESCRIPTION="OCaml bindings for LLVM"
|
|
||||||
HOMEPAGE="https://llvm.org/"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
KEYWORDS=""
|
|
||||||
IUSE="debug test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-lang/ocaml-4.00.0:0=
|
|
||||||
dev-ml/ocaml-ctypes:=
|
|
||||||
~sys-devel/llvm-${PV}:=[debug?]
|
|
||||||
!sys-devel/llvm[ocaml(-)]
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
dev-lang/perl
|
|
||||||
dev-ml/findlib
|
|
||||||
>=dev-util/cmake-3.16
|
|
||||||
"
|
|
||||||
|
|
||||||
LLVM_COMPONENTS=( llvm cmake third-party )
|
|
||||||
LLVM_USE_TARGETS=llvm
|
|
||||||
llvm.org_set_globals
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup
|
|
||||||
python-any-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local libdir=$(get_libdir)
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DLLVM_LIBDIR_SUFFIX=${libdir#lib}
|
|
||||||
|
|
||||||
-DBUILD_SHARED_LIBS=OFF
|
|
||||||
-DLLVM_BUILD_LLVM_DYLIB=ON
|
|
||||||
-DLLVM_LINK_LLVM_DYLIB=ON
|
|
||||||
-DLLVM_OCAML_OUT_OF_TREE=ON
|
|
||||||
|
|
||||||
# cheap hack: LLVM combines both anyway, and the only difference
|
|
||||||
# is that the former list is explicitly verified at cmake time
|
|
||||||
-DLLVM_TARGETS_TO_BUILD=""
|
|
||||||
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
|
|
||||||
-DLLVM_BUILD_TESTS=$(usex test)
|
|
||||||
|
|
||||||
# disable various irrelevant deps and settings
|
|
||||||
-DLLVM_ENABLE_FFI=OFF
|
|
||||||
-DLLVM_ENABLE_TERMINFO=OFF
|
|
||||||
-DHAVE_HISTEDIT_H=NO
|
|
||||||
-DLLVM_ENABLE_ASSERTIONS=$(usex debug)
|
|
||||||
-DLLVM_ENABLE_EH=ON
|
|
||||||
-DLLVM_ENABLE_RTTI=ON
|
|
||||||
|
|
||||||
-DLLVM_HOST_TRIPLE="${CHOST}"
|
|
||||||
|
|
||||||
-DPython3_EXECUTABLE="${PYTHON}"
|
|
||||||
|
|
||||||
# disable go bindings
|
|
||||||
-DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND
|
|
||||||
|
|
||||||
# TODO: ocamldoc
|
|
||||||
)
|
|
||||||
|
|
||||||
use test && mycmakeargs+=(
|
|
||||||
-DLLVM_LIT_ARGS="$(get_lit_flags)"
|
|
||||||
)
|
|
||||||
|
|
||||||
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
|
|
||||||
# also: custom rules for OCaml do not work for CPPFLAGS
|
|
||||||
use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG"
|
|
||||||
cmake_src_configure
|
|
||||||
|
|
||||||
local llvm_libdir=$(llvm-config --libdir)
|
|
||||||
# an ugly hack; TODO: figure out a way to pass -L to ocaml...
|
|
||||||
cd "${BUILD_DIR}/${libdir}" || die
|
|
||||||
ln -s "${llvm_libdir}"/*.so . || die
|
|
||||||
|
|
||||||
if use test; then
|
|
||||||
local llvm_bindir=$(llvm-config --bindir)
|
|
||||||
# Force using system-installed tools.
|
|
||||||
sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \
|
|
||||||
"${BUILD_DIR}"/test/lit.site.cfg.py || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
cmake_build ocaml_all
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# respect TMPDIR!
|
|
||||||
local -x LIT_PRESERVES_TMP=1
|
|
||||||
cmake_build check-llvm-bindings-ocaml
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
DESTDIR="${D}" \
|
|
||||||
cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die
|
|
||||||
|
|
||||||
dodoc bindings/ocaml/README.txt
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@
|
|||||||
DIST aesara-rel-2.7.9.gh.tar.gz 7919763 BLAKE2B f877edcc824f3d790a56422a0fa660e8e3f653fff7e3d87ef4a95fa76369b1bb5df351a571ea039d66d79c0f564512437672df76c3b82e7d660c865cf908dea3 SHA512 061f7e39343eb081b28dd20b1eb7ffc226b7e4b96695d5beb9e28eb3f5ec9480c02c7889c932290248baa908dc0047c19e4cef3c220eccc4cc617b2050a9614e
|
DIST aesara-rel-2.7.9.gh.tar.gz 7919763 BLAKE2B f877edcc824f3d790a56422a0fa660e8e3f653fff7e3d87ef4a95fa76369b1bb5df351a571ea039d66d79c0f564512437672df76c3b82e7d660c865cf908dea3 SHA512 061f7e39343eb081b28dd20b1eb7ffc226b7e4b96695d5beb9e28eb3f5ec9480c02c7889c932290248baa908dc0047c19e4cef3c220eccc4cc617b2050a9614e
|
||||||
DIST aesara-rel-2.8.6.gh.tar.gz 7941385 BLAKE2B 8e01e8afe7a4a33ad133d2759336dea66223c7f001c963d937bcae903f315b4dffbd0e877fbfe2f1b7f31b7f73acd8b7ac38a716337aa129b9a36b0367715f96 SHA512 abfa9f63f096eb6d8961eaa700a13f41833ba79d684b83fbcd7bf4a9d8f0ab49eae1bc3d1249817cf03f63526127612482cbc79c03bf2596743caca810f1fc56
|
DIST aesara-rel-2.8.6.gh.tar.gz 7941385 BLAKE2B 8e01e8afe7a4a33ad133d2759336dea66223c7f001c963d937bcae903f315b4dffbd0e877fbfe2f1b7f31b7f73acd8b7ac38a716337aa129b9a36b0367715f96 SHA512 abfa9f63f096eb6d8961eaa700a13f41833ba79d684b83fbcd7bf4a9d8f0ab49eae1bc3d1249817cf03f63526127612482cbc79c03bf2596743caca810f1fc56
|
||||||
DIST aesara-rel-2.8.7.gh.tar.gz 7944368 BLAKE2B e4b9bf0df3d5bc1745645b4034ca8b94e6a8dbf12bc884df2b0c7701634b4b2015d6fdbf77854da88c6fc6ed89b369a561a289522c7790add70ff281c6088b8f SHA512 0b847424a0e91c4e07b8edefb5f8d1ef46e476c4622fade95f2a7a3b459097c82b62b6f215d98d4de8e8511e50a0a82e4c3b7573d45ac0e0c8ec3b80ae9c61f8
|
DIST aesara-rel-2.8.7.gh.tar.gz 7944368 BLAKE2B 6772a8f88d9480044f0da275925577f85d86ef77a1f500f079478a5843ddd4afe2344e00664c5be06a8098587754d3fe7aeb71b8fbc4f12160263b5b98a56de4 SHA512 5f0646af9d9525ab81365fb1e8a6e3ff783bf8fe710ea6fafa91101903aef592d3db42cff47b0620132431198c5d7d16cad65d5668dccdd6b42a7ee62aa12ac6
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
DIST aws-sam-translator-1.50.0.gh.tar.gz 1103467 BLAKE2B 8d9408b7e92a5c515da47075a0722c937223e73dfa99d92d6daf91997a2edf4e1854afb88f7020fdab3457453d1c54ea77cf7e3466ec71ede36bfb3fc9c469fa SHA512 2f8f494218a1ac018893de59e7bede88b73ce446b29cc818d9309275851b080608656f69c422a9b49c885a6e6cbe7f34826f31cf4da9f2ee0667a1663dbee32a
|
DIST aws-sam-translator-1.50.0.gh.tar.gz 1103467 BLAKE2B 8d9408b7e92a5c515da47075a0722c937223e73dfa99d92d6daf91997a2edf4e1854afb88f7020fdab3457453d1c54ea77cf7e3466ec71ede36bfb3fc9c469fa SHA512 2f8f494218a1ac018893de59e7bede88b73ce446b29cc818d9309275851b080608656f69c422a9b49c885a6e6cbe7f34826f31cf4da9f2ee0667a1663dbee32a
|
||||||
DIST aws-sam-translator-1.51.0.gh.tar.gz 1107033 BLAKE2B be5d46fa4caa7619c0b959eeec65d0902fdb197369c84c930618398a9b4110c2b1e281c80e63c659be266bb6b2f191495c40578fde73ab31c93bd05906bd55e3 SHA512 d21f3d0b3d4947ad25811f0274e5807089a8d1e2aab76310a80a92f48cfe9ac683bcecea3c833692948f94934be5662cf7585aab0a4a949fcf368901d2e1b9a8
|
DIST aws-sam-translator-1.51.0.gh.tar.gz 1107033 BLAKE2B be5d46fa4caa7619c0b959eeec65d0902fdb197369c84c930618398a9b4110c2b1e281c80e63c659be266bb6b2f191495c40578fde73ab31c93bd05906bd55e3 SHA512 d21f3d0b3d4947ad25811f0274e5807089a8d1e2aab76310a80a92f48cfe9ac683bcecea3c833692948f94934be5662cf7585aab0a4a949fcf368901d2e1b9a8
|
||||||
|
DIST aws-sam-translator-1.52.0.gh.tar.gz 1155351 BLAKE2B 523b7b8b31ee001da05b43a1a9ca17da30d3a4a63ebfefdd7dcb9e4a67088f8b6d51da3eefa241e4330bf901a7cd3544094d58b1b512fb8d967198a7d7b92ab0 SHA512 d6108086143d76bce810ec0276763dac944381ad22bb89f8ed5ed5197168bf9139808c5177655c6d59b57017b398cb8220acfb69d14d25883753e3b695b456f4
|
||||||
|
@ -0,0 +1,59 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="A library that transform SAM templates into AWS CloudFormation templates"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/aws/serverless-application-model/
|
||||||
|
https://pypi.org/project/aws-sam-translator/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/aws/serverless-application-model/archive/v${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
S="${WORKDIR}/serverless-application-model-${PV}"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
<dev-python/boto3-2[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/boto3-1.19.5[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jsonschema-3.2[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/mock[${PYTHON_USEDEP}]
|
||||||
|
dev-python/parameterized[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
EPYTEST_DESELECT=(
|
||||||
|
tests/validator/test_validator_api.py::TestValidatorApi::test_errors_13_error_definitionuri
|
||||||
|
tests/unit/test_region_configuration.py::TestRegionConfiguration::test_is_service_supported_positive_4_ec2
|
||||||
|
tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_transform_template_translate::test_sar_success_one_app
|
||||||
|
tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_transform_template_translate::test_sar_throttling_doesnt_stop_processing
|
||||||
|
tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_transform_template_translate::test_sleep_between_sar_checks
|
||||||
|
tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_transform_template_translate::test_unexpected_sar_error_stops_processing
|
||||||
|
tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_and_on_after_transform_template::test_time_limit_exceeds_between_combined_sar_calls
|
||||||
|
)
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
# remove pytest-cov dependency
|
||||||
|
sed -i -e '/addopts/d' pytest.ini || die
|
||||||
|
|
||||||
|
# deps are installed by ebuild, don't try to reinstall them via pip
|
||||||
|
truncate --size=0 requirements/*.txt || die
|
||||||
|
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
@ -1,28 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..11} pypy3 )
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Modern password hashing for software and servers"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://github.com/pyca/bcrypt/
|
|
||||||
https://pypi.org/project/bcrypt/
|
|
||||||
"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
>=dev-python/cffi-1.1:=[${PYTHON_USEDEP}]
|
|
||||||
' 'python*')
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
@ -1 +1,2 @@
|
|||||||
|
DIST black-22.10.0.gh.tar.gz 1177403 BLAKE2B c8185f1cd16bf890ad0c75a50ccf211eb8e0d50a62654abc30ff6404818c323a08551d9a79194d05df6f4f92c4c7bca43b1d317243d84542f8eda3dcc0b2895c SHA512 ec03dd7b29becaabac1393d636ba394182c4fdacc57112980c76485f05e8fdf41e23cf8dc72dfdf530a5f060e709a0bc9d60d797e897020ae036e0a5410fc4b2
|
||||||
DIST black-22.8.0.gh.tar.gz 1173503 BLAKE2B 851e2dedf35871dc07caaafbffa15aa91e18640a352df717e19dc98b48134af21343e36faf90899fedd700149f988f5385c18c2d01ca330ef6e7a721cbe41a38 SHA512 f9db2079aedb14a8d9388a2c0997ffd55c74636d487ef7a3ad86fcd038a3e5d3f63168a1bca266b3e3128cd8590a641bd4259be9c238a8df968c3c085682d3b6
|
DIST black-22.8.0.gh.tar.gz 1173503 BLAKE2B 851e2dedf35871dc07caaafbffa15aa91e18640a352df717e19dc98b48134af21343e36faf90899fedd700149f988f5385c18c2d01ca330ef6e7a721cbe41a38 SHA512 f9db2079aedb14a8d9388a2c0997ffd55c74636d487ef7a3ad86fcd038a3e5d3f63168a1bca266b3e3128cd8590a641bd4259be9c238a8df968c3c085682d3b6
|
||||||
|
@ -0,0 +1,55 @@
|
|||||||
|
# Copyright 2020-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
# py3.11 blocked by mypy_extensions
|
||||||
|
DISTUTILS_USE_PEP517=hatchling
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
|
||||||
|
inherit distutils-r1 optfeature
|
||||||
|
|
||||||
|
DESCRIPTION="The uncompromising Python code formatter"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://black.readthedocs.io/en/stable/
|
||||||
|
https://github.com/psf/black/
|
||||||
|
https://pypi.org/project/black/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/psf/black/archive/${PV}.tar.gz -> ${P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/click-8.0.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pathspec-0.9.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/platformdirs-2[${PYTHON_USEDEP}]
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
>=dev-python/tomli-1.1.0[${PYTHON_USEDEP}]
|
||||||
|
' 3.8 3.9 3.10)
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
>=dev-python/typing-extensions-3.10.0.0[${PYTHON_USEDEP}]
|
||||||
|
' 3.8 3.9)
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}]
|
||||||
|
dev-python/hatch-vcs[${PYTHON_USEDEP}]
|
||||||
|
test? (
|
||||||
|
>=dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}]
|
||||||
|
dev-python/aiohttp-cors[${PYTHON_USEDEP}]
|
||||||
|
dev-python/colorama[${PYTHON_USEDEP}]
|
||||||
|
dev-python/parameterized[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
optfeature "blackd - HTTP API for black" "dev-python/aiohttp dev-python/aiohttp-cors"
|
||||||
|
}
|
@ -0,0 +1,68 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1 multiprocessing
|
||||||
|
|
||||||
|
DESCRIPTION="The AWS SDK for Python"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/boto/boto3/
|
||||||
|
https://pypi.org/project/boto3/
|
||||||
|
"
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
EGIT_REPO_URI="https://github.com/boto/boto3"
|
||||||
|
inherit git-r3
|
||||||
|
BOTOCORE_PV=${PV}
|
||||||
|
else
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/boto/boto3/archive/${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
|
||||||
|
# botocore is x.(y+3).z
|
||||||
|
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/mock[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs/source \
|
||||||
|
'dev-python/guzzle_sphinx_theme'
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
# don't lock versions to narrow ranges
|
||||||
|
sed -e '/botocore/ d' \
|
||||||
|
-e '/jmespath/ d' \
|
||||||
|
-e '/s3transfer/ d' \
|
||||||
|
-i setup.py || die
|
||||||
|
|
||||||
|
# do not rely on bundled deps in botocore (sic!)
|
||||||
|
find -name '*.py' -exec sed -i \
|
||||||
|
-e 's:from botocore[.]vendored import:import:' \
|
||||||
|
-e 's:from botocore[.]vendored[.]:from :' \
|
||||||
|
{} + || die
|
||||||
|
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
epytest tests/{functional,unit} -n "$(makeopts_jobs)"
|
||||||
|
}
|
@ -0,0 +1,72 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1 multiprocessing
|
||||||
|
|
||||||
|
DESCRIPTION="Low-level, data-driven core of boto 3"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/boto/botocore/
|
||||||
|
https://pypi.org/project/botocore/
|
||||||
|
"
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
EGIT_REPO_URI="https://github.com/boto/botocore"
|
||||||
|
inherit git-r3
|
||||||
|
else
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/boto/botocore/archive/${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
fi
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/six[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/jmespath-2[${PYTHON_USEDEP}]
|
||||||
|
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs/source \
|
||||||
|
'dev-python/guzzle_sphinx_theme'
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# unpin deps
|
||||||
|
sed -i -e "s:>=.*':':" setup.py || die
|
||||||
|
|
||||||
|
# unbundle deps
|
||||||
|
rm -r botocore/vendored || die
|
||||||
|
find -name '*.py' -exec sed -i \
|
||||||
|
-e 's:from botocore[.]vendored import:import:' \
|
||||||
|
-e 's:from botocore[.]vendored[.]:from :' \
|
||||||
|
{} + || die
|
||||||
|
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local EPYTEST_DESELECT=(
|
||||||
|
# rely on bundled six
|
||||||
|
tests/functional/test_six_imports.py::test_no_bare_six_imports
|
||||||
|
tests/functional/test_six_threading.py::test_six_thread_safety
|
||||||
|
# fails on unrelated warnings
|
||||||
|
tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME
|
||||||
|
tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME
|
||||||
|
)
|
||||||
|
|
||||||
|
epytest tests/{functional,unit} -n "$(makeopts_jobs)"
|
||||||
|
}
|
@ -1,9 +1,6 @@
|
|||||||
DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B ee67c5407df8cef493b9c0004f15e428f22a536a17e5f4e3eb29a003b8a8ec0abe0fa3e072591161d5f30ef7d8867c1ce34d1b341ad858e93c00263499941a99 SHA512 6fc6eeb60fac698702d1aac495fc0161eb7216a1f8db2020af8fccec5837831f7cc20dc2a169bf4f0b5f520748280b4a86621f3697d622aa58faaa45dbfaad13
|
DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B ee67c5407df8cef493b9c0004f15e428f22a536a17e5f4e3eb29a003b8a8ec0abe0fa3e072591161d5f30ef7d8867c1ce34d1b341ad858e93c00263499941a99 SHA512 6fc6eeb60fac698702d1aac495fc0161eb7216a1f8db2020af8fccec5837831f7cc20dc2a169bf4f0b5f520748280b4a86621f3697d622aa58faaa45dbfaad13
|
||||||
DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f SHA512 b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6
|
DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f SHA512 b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6
|
||||||
DIST llvm-project-15.0.1.src.tar.xz 112068688 BLAKE2B 8fd6690445f7cbc8b47a7c1dd1f2c4fbc39f9a97f9d4a0015d466726454b090b0d1ff9b0d926eba7065e84782901687f74e6540a36dc6656a93f3c92c7bc7e06 SHA512 cef84bc173118a30db3ece5e5c6f874bf689c77afc40a4792fdcb7556555ac14a8e6de1dc811755405e5d162d63bc69abaecba30d220a42765160d69f0073fda
|
|
||||||
DIST llvm-project-15.0.1.src.tar.xz.sig 438 BLAKE2B d8f634adab531bb19178fb27bc83b3a90c856e9402dd5af700f9af43813f68d20c21b9112dd95e9f6f10609ee51ed5aaf77edb96ca16fb93136b8aea432affd3 SHA512 cbf2570840d8dc12f6436c495a23cf9d439ee195755c01a6d1d5bcc20133599dc956dc43a0f5016698e3c9a960826f5f3c2840a73f993467e275856a67999fda
|
|
||||||
DIST llvm-project-15.0.2.src.tar.xz 112071864 BLAKE2B 96f2884d6c1007260d71e5dd41951eed029e8f50ff78f3c90f7194df13e1d4fb80ab7705c51c45a3e6b2a7714a98d9c5919fc7064d1d5f7c675e65b9b4229b65 SHA512 a0e815369c15bb4f8e8aa0fede29c3d557fcc5c8f2b39d457c03f1ef1d860082a41027238571b2aee9a158a87eb118deb08dc2ba94ce750320837a84e9908b8c
|
DIST llvm-project-15.0.2.src.tar.xz 112071864 BLAKE2B 96f2884d6c1007260d71e5dd41951eed029e8f50ff78f3c90f7194df13e1d4fb80ab7705c51c45a3e6b2a7714a98d9c5919fc7064d1d5f7c675e65b9b4229b65 SHA512 a0e815369c15bb4f8e8aa0fede29c3d557fcc5c8f2b39d457c03f1ef1d860082a41027238571b2aee9a158a87eb118deb08dc2ba94ce750320837a84e9908b8c
|
||||||
DIST llvm-project-15.0.2.src.tar.xz.sig 438 BLAKE2B 37a3a7fbc2d74db9060e85f04e159b475cf818c95a6fe2e9f5f038eb990f414d94833ecac2f9c826825a69b752876399e37e70e6934def06363f7ccb18be033a SHA512 cfe3bc400a64536ad9181c2ede7227a0953a8632fdc777d1ea1d9225c1fc4e699d90ce0b99e057ee5b87c1272d5810c4b52fb0cac167ddd2aad88f1f3ef46ee8
|
DIST llvm-project-15.0.2.src.tar.xz.sig 438 BLAKE2B 37a3a7fbc2d74db9060e85f04e159b475cf818c95a6fe2e9f5f038eb990f414d94833ecac2f9c826825a69b752876399e37e70e6934def06363f7ccb18be033a SHA512 cfe3bc400a64536ad9181c2ede7227a0953a8632fdc777d1ea1d9225c1fc4e699d90ce0b99e057ee5b87c1272d5810c4b52fb0cac167ddd2aad88f1f3ef46ee8
|
||||||
DIST llvm-project-215c9fa4deac9ec6b4e504843830551f03b60620.tar.gz 168942763 BLAKE2B 545c7c372c38667b7d811753464e91134aae600060d9054979eab8735d535a72d6bbb33a6008dc81f3b14513f58791ca3b8c3068e62ff146ccb14f32abb41a32 SHA512 d0c244357650ef5d56bc7afd836cd747cc2cce92d5f7fb4ddec3414e5bafe4e611acb2a7ff42343c184caad14a30fa9a6ced7e493df3ceb06fe8f9445aeb5a9b
|
|
||||||
DIST llvm-project-5a0722e0469894564dd9b0ee1d4f8c291d09c776.tar.gz 169164627 BLAKE2B c9a8672cac0faa747baa366545d21f91b50e7611e062eb95042cbccc2dc00b74f44c5c2fcccda49b44975320dfadca5916585766235a406dfbd7321afba03025 SHA512 bad4043fab0e4f9c633bc0aa74df1f1ea886f1d20c1c7a2704bd8317371cf6325e70a770623307d7a455e815cce8c5f00be1ed4ec3f06a7b69038a2784f73243
|
DIST llvm-project-5a0722e0469894564dd9b0ee1d4f8c291d09c776.tar.gz 169164627 BLAKE2B c9a8672cac0faa747baa366545d21f91b50e7611e062eb95042cbccc2dc00b74f44c5c2fcccda49b44975320dfadca5916585766235a406dfbd7321afba03025 SHA512 bad4043fab0e4f9c633bc0aa74df1f1ea886f1d20c1c7a2704bd8317371cf6325e70a770623307d7a455e815cce8c5f00be1ed4ec3f06a7b69038a2784f73243
|
||||||
DIST llvmorg-13.0.1.tar.gz 147290251 BLAKE2B 2a44b012a672501761d0c27c6b3a315b69bfef0cd13b078a7e7d2fccc4a9c8c0f2bee0f164c4271c9106b0a99cb06e8b64986f66253b613336719fb86b82541b SHA512 9a8cb5d11964ba88b7624f19ec861fb28701f23956ea3c92f6ac644332d5f41fde97bd8933dd3ee70ed378058c252fa3a3887c8d1af90d219970c2b27691166f
|
DIST llvmorg-13.0.1.tar.gz 147290251 BLAKE2B 2a44b012a672501761d0c27c6b3a315b69bfef0cd13b078a7e7d2fccc4a9c8c0f2bee0f164c4271c9106b0a99cb06e8b64986f66253b613336719fb86b82541b SHA512 9a8cb5d11964ba88b7624f19ec861fb28701f23956ea3c92f6ac644332d5f41fde97bd8933dd3ee70ed378058c252fa3a3887c8d1af90d219970c2b27691166f
|
||||||
|
@ -1,53 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..11} )
|
|
||||||
inherit llvm.org python-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Python bindings for sys-devel/clang"
|
|
||||||
HOMEPAGE="https://llvm.org/"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
|
||||||
IUSE="test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
# The module is opening libclang.so directly, and doing some blasphemy
|
|
||||||
# on top of it.
|
|
||||||
DEPEND="
|
|
||||||
>=sys-devel/clang-${PV}:*
|
|
||||||
!sys-devel/llvm:0[clang(-),python(-)]
|
|
||||||
!sys-devel/clang:0[python(-)]
|
|
||||||
"
|
|
||||||
RDEPEND="
|
|
||||||
${DEPEND}
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
test? (
|
|
||||||
sys-devel/clang:${PV%%.*}
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
LLVM_COMPONENTS=( clang/bindings/python )
|
|
||||||
llvm.org_set_globals
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
# tests rely on results from a specific clang version, so override
|
|
||||||
# the search path
|
|
||||||
local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${PV%%.*}/$(get_libdir)
|
|
||||||
"${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
python_foreach_impl python_test
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
python_foreach_impl python_domodule clang
|
|
||||||
}
|
|
@ -1,53 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..11} )
|
|
||||||
inherit llvm.org python-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Python bindings for sys-devel/clang"
|
|
||||||
HOMEPAGE="https://llvm.org/"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS=""
|
|
||||||
IUSE="test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
# The module is opening libclang.so directly, and doing some blasphemy
|
|
||||||
# on top of it.
|
|
||||||
DEPEND="
|
|
||||||
>=sys-devel/clang-${PV}:*
|
|
||||||
!sys-devel/llvm:0[clang(-),python(-)]
|
|
||||||
!sys-devel/clang:0[python(-)]
|
|
||||||
"
|
|
||||||
RDEPEND="
|
|
||||||
${DEPEND}
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
test? (
|
|
||||||
sys-devel/clang:${PV%%.*}
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
LLVM_COMPONENTS=( clang/bindings/python )
|
|
||||||
llvm.org_set_globals
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
# tests rely on results from a specific clang version, so override
|
|
||||||
# the search path
|
|
||||||
local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${PV%%.*}/$(get_libdir)
|
|
||||||
"${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
python_foreach_impl python_test
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
python_foreach_impl python_domodule clang
|
|
||||||
}
|
|
@ -1,9 +1,6 @@
|
|||||||
DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B ee67c5407df8cef493b9c0004f15e428f22a536a17e5f4e3eb29a003b8a8ec0abe0fa3e072591161d5f30ef7d8867c1ce34d1b341ad858e93c00263499941a99 SHA512 6fc6eeb60fac698702d1aac495fc0161eb7216a1f8db2020af8fccec5837831f7cc20dc2a169bf4f0b5f520748280b4a86621f3697d622aa58faaa45dbfaad13
|
DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B ee67c5407df8cef493b9c0004f15e428f22a536a17e5f4e3eb29a003b8a8ec0abe0fa3e072591161d5f30ef7d8867c1ce34d1b341ad858e93c00263499941a99 SHA512 6fc6eeb60fac698702d1aac495fc0161eb7216a1f8db2020af8fccec5837831f7cc20dc2a169bf4f0b5f520748280b4a86621f3697d622aa58faaa45dbfaad13
|
||||||
DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f SHA512 b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6
|
DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f SHA512 b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6
|
||||||
DIST llvm-project-15.0.1.src.tar.xz 112068688 BLAKE2B 8fd6690445f7cbc8b47a7c1dd1f2c4fbc39f9a97f9d4a0015d466726454b090b0d1ff9b0d926eba7065e84782901687f74e6540a36dc6656a93f3c92c7bc7e06 SHA512 cef84bc173118a30db3ece5e5c6f874bf689c77afc40a4792fdcb7556555ac14a8e6de1dc811755405e5d162d63bc69abaecba30d220a42765160d69f0073fda
|
|
||||||
DIST llvm-project-15.0.1.src.tar.xz.sig 438 BLAKE2B d8f634adab531bb19178fb27bc83b3a90c856e9402dd5af700f9af43813f68d20c21b9112dd95e9f6f10609ee51ed5aaf77edb96ca16fb93136b8aea432affd3 SHA512 cbf2570840d8dc12f6436c495a23cf9d439ee195755c01a6d1d5bcc20133599dc956dc43a0f5016698e3c9a960826f5f3c2840a73f993467e275856a67999fda
|
|
||||||
DIST llvm-project-15.0.2.src.tar.xz 112071864 BLAKE2B 96f2884d6c1007260d71e5dd41951eed029e8f50ff78f3c90f7194df13e1d4fb80ab7705c51c45a3e6b2a7714a98d9c5919fc7064d1d5f7c675e65b9b4229b65 SHA512 a0e815369c15bb4f8e8aa0fede29c3d557fcc5c8f2b39d457c03f1ef1d860082a41027238571b2aee9a158a87eb118deb08dc2ba94ce750320837a84e9908b8c
|
DIST llvm-project-15.0.2.src.tar.xz 112071864 BLAKE2B 96f2884d6c1007260d71e5dd41951eed029e8f50ff78f3c90f7194df13e1d4fb80ab7705c51c45a3e6b2a7714a98d9c5919fc7064d1d5f7c675e65b9b4229b65 SHA512 a0e815369c15bb4f8e8aa0fede29c3d557fcc5c8f2b39d457c03f1ef1d860082a41027238571b2aee9a158a87eb118deb08dc2ba94ce750320837a84e9908b8c
|
||||||
DIST llvm-project-15.0.2.src.tar.xz.sig 438 BLAKE2B 37a3a7fbc2d74db9060e85f04e159b475cf818c95a6fe2e9f5f038eb990f414d94833ecac2f9c826825a69b752876399e37e70e6934def06363f7ccb18be033a SHA512 cfe3bc400a64536ad9181c2ede7227a0953a8632fdc777d1ea1d9225c1fc4e699d90ce0b99e057ee5b87c1272d5810c4b52fb0cac167ddd2aad88f1f3ef46ee8
|
DIST llvm-project-15.0.2.src.tar.xz.sig 438 BLAKE2B 37a3a7fbc2d74db9060e85f04e159b475cf818c95a6fe2e9f5f038eb990f414d94833ecac2f9c826825a69b752876399e37e70e6934def06363f7ccb18be033a SHA512 cfe3bc400a64536ad9181c2ede7227a0953a8632fdc777d1ea1d9225c1fc4e699d90ce0b99e057ee5b87c1272d5810c4b52fb0cac167ddd2aad88f1f3ef46ee8
|
||||||
DIST llvm-project-215c9fa4deac9ec6b4e504843830551f03b60620.tar.gz 168942763 BLAKE2B 545c7c372c38667b7d811753464e91134aae600060d9054979eab8735d535a72d6bbb33a6008dc81f3b14513f58791ca3b8c3068e62ff146ccb14f32abb41a32 SHA512 d0c244357650ef5d56bc7afd836cd747cc2cce92d5f7fb4ddec3414e5bafe4e611acb2a7ff42343c184caad14a30fa9a6ced7e493df3ceb06fe8f9445aeb5a9b
|
|
||||||
DIST llvm-project-5a0722e0469894564dd9b0ee1d4f8c291d09c776.tar.gz 169164627 BLAKE2B c9a8672cac0faa747baa366545d21f91b50e7611e062eb95042cbccc2dc00b74f44c5c2fcccda49b44975320dfadca5916585766235a406dfbd7321afba03025 SHA512 bad4043fab0e4f9c633bc0aa74df1f1ea886f1d20c1c7a2704bd8317371cf6325e70a770623307d7a455e815cce8c5f00be1ed4ec3f06a7b69038a2784f73243
|
DIST llvm-project-5a0722e0469894564dd9b0ee1d4f8c291d09c776.tar.gz 169164627 BLAKE2B c9a8672cac0faa747baa366545d21f91b50e7611e062eb95042cbccc2dc00b74f44c5c2fcccda49b44975320dfadca5916585766235a406dfbd7321afba03025 SHA512 bad4043fab0e4f9c633bc0aa74df1f1ea886f1d20c1c7a2704bd8317371cf6325e70a770623307d7a455e815cce8c5f00be1ed4ec3f06a7b69038a2784f73243
|
||||||
DIST llvmorg-13.0.1.tar.gz 147290251 BLAKE2B 2a44b012a672501761d0c27c6b3a315b69bfef0cd13b078a7e7d2fccc4a9c8c0f2bee0f164c4271c9106b0a99cb06e8b64986f66253b613336719fb86b82541b SHA512 9a8cb5d11964ba88b7624f19ec861fb28701f23956ea3c92f6ac644332d5f41fde97bd8933dd3ee70ed378058c252fa3a3887c8d1af90d219970c2b27691166f
|
DIST llvmorg-13.0.1.tar.gz 147290251 BLAKE2B 2a44b012a672501761d0c27c6b3a315b69bfef0cd13b078a7e7d2fccc4a9c8c0f2bee0f164c4271c9106b0a99cb06e8b64986f66253b613336719fb86b82541b SHA512 9a8cb5d11964ba88b7624f19ec861fb28701f23956ea3c92f6ac644332d5f41fde97bd8933dd3ee70ed378058c252fa3a3887c8d1af90d219970c2b27691166f
|
||||||
|
@ -1,42 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYTHON_COMPAT=( python3_{8..11} )
|
|
||||||
|
|
||||||
inherit distutils-r1 llvm.org
|
|
||||||
|
|
||||||
DESCRIPTION="A stand-alone install of the LLVM suite testing tool"
|
|
||||||
HOMEPAGE="https://llvm.org/"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
|
||||||
IUSE="test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
# Tests require 'FileCheck' and 'not' utilities (from llvm)
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/psutil[${PYTHON_USEDEP}]
|
|
||||||
sys-devel/llvm
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
LLVM_COMPONENTS=( llvm/utils/lit )
|
|
||||||
llvm.org_set_globals
|
|
||||||
|
|
||||||
# TODO: move the manpage generation here (from sys-devel/llvm)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
cd "${WORKDIR}" || die
|
|
||||||
distutils-r1_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
local -x LIT_PRESERVES_TMP=1
|
|
||||||
local litflags=$(get_lit_flags)
|
|
||||||
./lit.py ${litflags//;/ } tests || die
|
|
||||||
}
|
|
@ -1,42 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYTHON_COMPAT=( python3_{8..11} )
|
|
||||||
|
|
||||||
inherit distutils-r1 llvm.org
|
|
||||||
|
|
||||||
DESCRIPTION="A stand-alone install of the LLVM suite testing tool"
|
|
||||||
HOMEPAGE="https://llvm.org/"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS=""
|
|
||||||
IUSE="test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
# Tests require 'FileCheck' and 'not' utilities (from llvm)
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/psutil[${PYTHON_USEDEP}]
|
|
||||||
sys-devel/llvm
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
LLVM_COMPONENTS=( llvm/utils/lit )
|
|
||||||
llvm.org_set_globals
|
|
||||||
|
|
||||||
# TODO: move the manpage generation here (from sys-devel/llvm)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
cd "${WORKDIR}" || die
|
|
||||||
distutils-r1_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
local -x LIT_PRESERVES_TMP=1
|
|
||||||
local litflags=$(get_lit_flags)
|
|
||||||
./lit.py ${litflags//;/ } tests || die
|
|
||||||
}
|
|
@ -1,5 +1,2 @@
|
|||||||
DIST nbconvert-6.5.0.tar.gz 908377 BLAKE2B a91c6c93e9e33f90c5c7f19743e20aa6cf88e5dd29be4ee777744d96037dddd15294858776c8391d79f5436e929fb1b623a3f11f6c4cbcf60728dba2204b6e2e SHA512 4e0d26d581435525f819c05207890cc7cbeaff786a16c354f0356c9bc50111a724a92b7e15445a0cf0ebf1e1c2f0ff064a2c8722267f66dd8677ad82b5e61714
|
|
||||||
DIST nbconvert-6.5.2.tar.gz 910454 BLAKE2B 0c80232697e1ecf31af17f10ae5ad9bcfaec89e06ab5f81c87f231f2abd585c23977d0b154363e72f6066a97d04ec96184b0d8325e5aaa399a1a9335109577bb SHA512 b955bd55bc1f69700652faae12a585230d939877551f792eebee57936a293b9b54caff5eb1bcaf996efa38c737f141069d4af2c2959b8b6318966c9020e8a2f5
|
|
||||||
DIST nbconvert-6.5.3.tar.gz 910597 BLAKE2B a6336f2227098caf1d59aafa770fc3dd3466160329d5344dc760425cdde7ca35ad8d1e8839fe3189d1623a682a61ea3feedb7fdfdb2ec349e6ec890d873a936a SHA512 a991d8a66fe7a244d3943974d93eb13769016843d37f6c9dcf4ba84dd16511364f45b5020060bf2c10d35fe52b4df4b678d045eedc883d3156a6cb689a977525
|
DIST nbconvert-6.5.3.tar.gz 910597 BLAKE2B a6336f2227098caf1d59aafa770fc3dd3466160329d5344dc760425cdde7ca35ad8d1e8839fe3189d1623a682a61ea3feedb7fdfdb2ec349e6ec890d873a936a SHA512 a991d8a66fe7a244d3943974d93eb13769016843d37f6c9dcf4ba84dd16511364f45b5020060bf2c10d35fe52b4df4b678d045eedc883d3156a6cb689a977525
|
||||||
DIST nbconvert-7.0.0.tar.gz 860724 BLAKE2B f333145df45f7295259e964f50a68ab6c33f195c42f68deddc87d23348761cc816e9bfbe4552b2a0276ca28a9f0820183f118b531cdb1f1f8ca4355dc5486f3d SHA512 3c458a757060f1c9165c5ae7f0b5aad53be29d50ac385a37567007a5ac4fe67987592c66ba048e3659d089e9ac1ef210f14b750b5215bc181197c86257223b85
|
|
||||||
DIST nbconvert-7.1.0.tar.gz 816516 BLAKE2B c24766716212247dee90ca91a5dbcc65ae2d47b566029eb04e14e65ef94e16f6d7700ea4cc820584bc3b498553196bb5600151a30378ec82f91bf4dde68a5e77 SHA512 5d6e1c09637765e171336528219669a9279a68f3845cb0503b79129b50550f7b5a08526a30de67da6ca132ee5d911743c5afd46773598d6045f3007167f93d5b
|
DIST nbconvert-7.1.0.tar.gz 816516 BLAKE2B c24766716212247dee90ca91a5dbcc65ae2d47b566029eb04e14e65ef94e16f6d7700ea4cc820584bc3b498553196bb5600151a30378ec82f91bf4dde68a5e77 SHA512 5d6e1c09637765e171336528219669a9279a68f3845cb0503b79129b50550f7b5a08526a30de67da6ca132ee5d911743c5afd46773598d6045f3007167f93d5b
|
||||||
|
@ -1,82 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Converting Jupyter Notebooks"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://nbconvert.readthedocs.io/
|
|
||||||
https://github.com/jupyter/nbconvert/
|
|
||||||
https://pypi.org/project/nbconvert/
|
|
||||||
"
|
|
||||||
SRC_URI="
|
|
||||||
mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/bleach[${PYTHON_USEDEP}]
|
|
||||||
dev-python/defusedxml[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/entrypoints-0.2.2[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jinja[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jupyter_core[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jupyterlab_pygments[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/markupsafe-2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/mistune-2.0.2[${PYTHON_USEDEP}]
|
|
||||||
dev-python/nbclient[${PYTHON_USEDEP}]
|
|
||||||
dev-python/nbformat[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pandocfilters-1.4.1[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pygments[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/traitlets-5.1.1[${PYTHON_USEDEP}]
|
|
||||||
dev-python/testpath[${PYTHON_USEDEP}]
|
|
||||||
dev-python/tornado[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/pebble[${PYTHON_USEDEP}]
|
|
||||||
dev-python/ipykernel[${PYTHON_USEDEP}]
|
|
||||||
dev-python/ipywidgets[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/jupyter_client-4.2[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${P}-mistune-2.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
mkdir -p "${HOME}/.local" || die
|
|
||||||
cp -r share "${HOME}/.local/" || die
|
|
||||||
distutils-r1_src_test
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
local EPYTEST_DESELECT=(
|
|
||||||
# Missing pyppeteer for now
|
|
||||||
# TODO: Doesn't skip?
|
|
||||||
nbconvert/exporters/tests/test_webpdf.py
|
|
||||||
# Needs pyppeteer too
|
|
||||||
'nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_webpdf_with_chromium'
|
|
||||||
)
|
|
||||||
|
|
||||||
epytest --pyargs nbconvert
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if ! has_version app-text/pandoc ; then
|
|
||||||
einfo "Pandoc is required for converting to formats other than Python,"
|
|
||||||
einfo "HTML, and Markdown. If you need this functionality, install"
|
|
||||||
einfo "app-text/pandoc."
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,83 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Converting Jupyter Notebooks"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://nbconvert.readthedocs.io/
|
|
||||||
https://github.com/jupyter/nbconvert/
|
|
||||||
https://pypi.org/project/nbconvert/
|
|
||||||
"
|
|
||||||
SRC_URI="
|
|
||||||
mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 arm arm64 ~ia64 ppc ppc64 ~riscv ~s390 sparc x86"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/bleach[${PYTHON_USEDEP}]
|
|
||||||
dev-python/defusedxml[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/entrypoints-0.2.2[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jinja[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jupyter_core[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jupyterlab_pygments[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/markupsafe-2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/mistune-2.0.2[${PYTHON_USEDEP}]
|
|
||||||
dev-python/nbclient[${PYTHON_USEDEP}]
|
|
||||||
dev-python/nbformat[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pandocfilters-1.4.1[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pygments[${PYTHON_USEDEP}]
|
|
||||||
dev-python/tinycss2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/traitlets-5.1.1[${PYTHON_USEDEP}]
|
|
||||||
dev-python/testpath[${PYTHON_USEDEP}]
|
|
||||||
dev-python/tornado[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/pebble[${PYTHON_USEDEP}]
|
|
||||||
dev-python/ipykernel[${PYTHON_USEDEP}]
|
|
||||||
dev-python/ipywidgets[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/jupyter_client-4.2[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${P}-mistune-2.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
mkdir -p "${HOME}/.local" || die
|
|
||||||
cp -r share "${HOME}/.local/" || die
|
|
||||||
distutils-r1_src_test
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
local EPYTEST_DESELECT=(
|
|
||||||
# Missing pyppeteer for now
|
|
||||||
# TODO: Doesn't skip?
|
|
||||||
nbconvert/exporters/tests/test_webpdf.py
|
|
||||||
# Needs pyppeteer too
|
|
||||||
'nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_webpdf_with_chromium'
|
|
||||||
)
|
|
||||||
|
|
||||||
epytest --pyargs nbconvert
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if ! has_version app-text/pandoc ; then
|
|
||||||
einfo "Pandoc is required for converting to formats other than Python,"
|
|
||||||
einfo "HTML, and Markdown. If you need this functionality, install"
|
|
||||||
einfo "app-text/pandoc."
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,84 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Converting Jupyter Notebooks"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://nbconvert.readthedocs.io/
|
|
||||||
https://github.com/jupyter/nbconvert/
|
|
||||||
https://pypi.org/project/nbconvert/
|
|
||||||
"
|
|
||||||
SRC_URI="
|
|
||||||
mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 arm arm64 ~ia64 ppc ppc64 ~riscv ~s390 sparc x86"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/bleach[${PYTHON_USEDEP}]
|
|
||||||
dev-python/defusedxml[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/entrypoints-0.2.2[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jinja[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jupyter_core[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jupyterlab_pygments[${PYTHON_USEDEP}]
|
|
||||||
dev-python/lxml[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/markupsafe-2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/mistune-2.0.2[${PYTHON_USEDEP}]
|
|
||||||
dev-python/nbclient[${PYTHON_USEDEP}]
|
|
||||||
dev-python/nbformat[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pandocfilters-1.4.1[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pygments[${PYTHON_USEDEP}]
|
|
||||||
dev-python/tinycss2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/traitlets-5.1.1[${PYTHON_USEDEP}]
|
|
||||||
dev-python/testpath[${PYTHON_USEDEP}]
|
|
||||||
dev-python/tornado[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/pebble[${PYTHON_USEDEP}]
|
|
||||||
dev-python/ipykernel[${PYTHON_USEDEP}]
|
|
||||||
dev-python/ipywidgets[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/jupyter_client-4.2[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/nbconvert-6.5.0-mistune-2.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
mkdir -p "${HOME}/.local" || die
|
|
||||||
cp -r share "${HOME}/.local/" || die
|
|
||||||
distutils-r1_src_test
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
local EPYTEST_DESELECT=(
|
|
||||||
# Missing pyppeteer for now
|
|
||||||
# TODO: Doesn't skip?
|
|
||||||
nbconvert/exporters/tests/test_webpdf.py
|
|
||||||
# Needs pyppeteer too
|
|
||||||
'nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_webpdf_with_chromium'
|
|
||||||
)
|
|
||||||
|
|
||||||
epytest --pyargs nbconvert
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if ! has_version app-text/pandoc ; then
|
|
||||||
einfo "Pandoc is required for converting to formats other than Python,"
|
|
||||||
einfo "HTML, and Markdown. If you need this functionality, install"
|
|
||||||
einfo "app-text/pandoc."
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,95 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=hatchling
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
|
|
||||||
inherit distutils-r1 virtualx
|
|
||||||
|
|
||||||
DESCRIPTION="Converting Jupyter Notebooks"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://nbconvert.readthedocs.io/
|
|
||||||
https://github.com/jupyter/nbconvert/
|
|
||||||
https://pypi.org/project/nbconvert/
|
|
||||||
"
|
|
||||||
SRC_URI="
|
|
||||||
mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/lxml[${PYTHON_USEDEP}]
|
|
||||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/bleach[${PYTHON_USEDEP}]
|
|
||||||
dev-python/defusedxml[${PYTHON_USEDEP}]
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
>=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}]
|
|
||||||
' 3.8 3.9)
|
|
||||||
>=dev-python/jinja-3.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/jupyter_core-4.7[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jupyterlab_pygments[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/markupsafe-2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/mistune-2.0.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/nbclient-0.5.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/nbformat-5.1[${PYTHON_USEDEP}]
|
|
||||||
dev-python/packaging[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pandocfilters-1.4.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pygments-2.4.1[${PYTHON_USEDEP}]
|
|
||||||
dev-python/tinycss2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/traitlets-5.1.1[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
dev-python/notebook[${PYTHON_USEDEP}]
|
|
||||||
test? (
|
|
||||||
dev-python/ipykernel[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/ipywidgets-7[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
mkdir share/templates/classic/static || die
|
|
||||||
# tries to refetch stuff even if it's already present
|
|
||||||
sed -e 's:css = .*:raise PermissionError("You shall not fetch!"):' \
|
|
||||||
-i hatch_build.py || die
|
|
||||||
distutils-r1_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
python_configure() {
|
|
||||||
cp "${BROOT}$(python_get_sitedir)/notebook/static/style/style.min.css" \
|
|
||||||
share/templates/classic/static/style.css || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
virtx distutils-r1_src_test
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
local EPYTEST_DESELECT=(
|
|
||||||
# Missing pyppeteer for now
|
|
||||||
# TODO: Doesn't skip?
|
|
||||||
nbconvert/exporters/tests/test_webpdf.py
|
|
||||||
# Needs pyppeteer too
|
|
||||||
'nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_webpdf_with_chromium'
|
|
||||||
# TODO
|
|
||||||
nbconvert/exporters/tests/test_qtpng.py::TestQtPNGExporter::test_export
|
|
||||||
nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_convert_full_qualified_name
|
|
||||||
nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_post_processor
|
|
||||||
)
|
|
||||||
|
|
||||||
nonfatal epytest --pyargs nbconvert || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if ! has_version app-text/pandoc ; then
|
|
||||||
einfo "Pandoc is required for converting to formats other than Python,"
|
|
||||||
einfo "HTML, and Markdown. If you need this functionality, install"
|
|
||||||
einfo "app-text/pandoc."
|
|
||||||
fi
|
|
||||||
}
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue