parent
a0c8789af6
commit
81a92bd764
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29305 BLAKE2B b4e73de827c6df86fad947152cfd3846a292e36351abd079e8c1e74005bbe21d3af6de614c1f76d62fa3b5f8451ac812f558bf545565e935e05ffd3c6f9a9edb SHA512 b197aa6408e47e133f47d50d99c163865e6ba8aed0e4947fae20c1f1ca2a2a310c302fa4334592f7fb2f3d8dc7d4a431950735108d5975b3faab37c3e03f38a3
|
||||
TIMESTAMP 2023-08-07T05:40:21Z
|
||||
MANIFEST Manifest.files.gz 29333 BLAKE2B a351dbc1fbec20da69b522a3cf6aaca45dcc6aac8b5fbb712d7eeb9e94a29e565bdbc33b2cbab8f4c71c4b4d0f64f2100c8cea1af9abe2869303bdfe600c1e16 SHA512 e7235172a1f9fffef4c23c34600ce6962c572f051aa0cf7dea0cf4784795b73cc4e3e4386b5306c6b4f7bbb43f23c0d0c40ed49e4e96772146fbfba9e3a788bd
|
||||
TIMESTAMP 2023-08-08T08:10:18Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmTQg8VfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmTR+GpfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klAMDw//cIosLSB5RZWtkT8nwxNMwiXtSvE5M1wWF3sRfkOMMsz3Y2S4uJNqEAah
|
||||
j9bFgvPVtRSFEYtT5UMilZE+uOCY547drWdV69OkDEzaiTQyeHy+OE8X8v5zn/G8
|
||||
VpeQC+wUAoX3QXhdhH1zoihqwW5+uUyq1qRA2YuAvn2ay8gPxVfeTKNfF/r0o0Or
|
||||
kyYpzO8R25fAElkIHpkaVA5rqa6JshARpn082nu0n2SWfhcNtfKwt3rMdi06blfZ
|
||||
CmrANaE50vOQkawf0T+7ApT8mNSkY34B7xIcIAb6OZTN7LCZh4UcU6lWvQsmO1Gc
|
||||
mCKJIsl+b9h87KdizAT7Zl4GHj7s3p02aRHg4eG05ZCbQ36uOM0UC5YBbw1pik5b
|
||||
R5pvz04YrkJdaoIe2dpsivlxmmZwznYANFnYFCzL0+2dXDiLf/wBTJT66/F1wv2d
|
||||
lAH9scA5cKj8DBdbV1YEfer8VD+Qzcpp6bEpDc47rUqDB1x6CzJ23/JhT74OMVOM
|
||||
UMiOgxCavMIxjTD2SZvS8LRCIepTT1gMT16jImVs6742LkxLS60uBQAI5slxpBJZ
|
||||
TfTwauZFJ3fhwsQrXXrk+eJaqqpZrqjJvy6nqTew4v+V+HyfZQqfDxpQ/D8k4Lnw
|
||||
xa2dcUVYAqpPgxLh37dywNbC4qRY3DMVUoTCtLrKMt+jAWL382A=
|
||||
=OVwd
|
||||
klBc/xAAkZEp4/2M7d7D+S3GrQLnbEPraKhy3ev//7tCafa2uYYFOGfCbWCFMyB8
|
||||
SMTjgQN2zxaIEwv6Hym3qyi5YwS+qzFCCHpXTPsOprg0MWNxPK2mFOfbq1no5jg9
|
||||
gcIyIsDWgnYWQsMyyDQIMkqhvkqZVWHrsKb1UOWdUHCZ+jyb+WCEcVX06Id6jJou
|
||||
R7MzW1E0fpOg+8NQ9MBlGQcHXgdxFZkWV/LlFQGd/dRvac6/assAmD006I+njIAD
|
||||
89BgY1j/y+rOqKgBDzqWGHZ98a9Z2E86V8onDZpfIuW7Ktpfd5868GT/biJKIWvM
|
||||
G8H18tXu9OBY+Jbc40dUdUf/+cMBdvUV7v4rQdCCyUsWUTet4MOy6jxn+Whp+Vba
|
||||
2SK09GGyBq2Yd9FGh9ox3hRJuyisRpxRBA2avlGXwg7RUL2srWoJmii62nr3+hRx
|
||||
gsJtOnHWkaDLAjSlE/yNwJ2JzMj4IznCMY6Kfo7/D97jYNhlaDGgrVV/L/OjneeW
|
||||
f1BtVBUsLfhG18nr3loYQN5etY0ZzIm12nFkPq0s78q6iHMAxLeor/KONU+d9CkY
|
||||
xgfegffxWV9xZ1AuMtd0B8Z5s7HqqiOQd/LlyknUYem/Qu2yXMRAaxU4AfV+60mo
|
||||
WqSH/oW31YRl2k8aLkBuyfM/xQqmLbnftE9cFgBrfv3izXin6IM=
|
||||
=Fm7u
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..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 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
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() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||
)
|
||||
|
||||
# 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.
@ -1,3 +1,5 @@
|
||||
DIST bzip3-1.3.1.tar.xz 277248 BLAKE2B 37044fae19a2743d2e5bd48c65f034578ccd30c316d9c19c0c8786f1248babe1dcb942cc18d3a65e0756210b551af8c7a15a1675d98dbd77d4832beff0598a9a SHA512 41616eaa53422eb5bb8780db731ecd0371599e688622810be5d1fac04aa489d212db3273a5f0d15702507c8c92b36e9a4006c52bc67da7ac6ce41c73ff412e51
|
||||
DIST bzip3-1.3.2.tar.xz 277768 BLAKE2B 6ee7e5d7f1ab11c19664937fc631e51f5707b6893441bdd6e1beb52e9e2e46255e31c782f61939eba3f966f2be74b422a89f5fcd9d3f42caea07784f2f858efd SHA512 76521377adfe737b30e77f5c3241c1c12214165492fba5acbc5ba09c8e7b91396b772f9fec936d6603413c3ef179a13597b13509df99bd8a2d56cbf14a70a84f
|
||||
EBUILD bzip3-1.3.1.ebuild 780 BLAKE2B c0beeaff4442ba49098444f5b0c04625180a4529776ac9c3b73cf5c9cdde95229c5e42b6db53cae58952b83c7aef907f83ab366e80958f24ba5f3bb3697640f9 SHA512 f68707c80a45818b97de6210cb137b26129ae5e90d57aded24c99a83817ce3e67c6b77b90bbd4a5b8329140dc76754b48d60503e50df16f26f11b944fca25440
|
||||
EBUILD bzip3-1.3.2.ebuild 782 BLAKE2B e2e032db4b8b2a8ec53f240c3dd78e9863ee88d9ee9cef1b48fa7f573b0d0510b3426d4d6fd56ee969aceeeb8351990e7e9d701ee0572baec969c4ae8b0ea3b3 SHA512 e9ecd0a9932d41902bb232d4b6e6862a627b15f50d48bf70450e4b55341dde203fc22327894faf41f09bd0711ebe4bdda2d324ece79f1deedd6070dfd9d10ba2
|
||||
MISC metadata.xml 879 BLAKE2B eacb925ae4939be72ae25f0f333d8c8e1c08b2fd7946e27dfadd214b8fd5f27eef3f141f9ca911cf89151245f2fa11c7a8c5459c63badbfaf71e62aaca6d67f4 SHA512 963eae34b110b883993959f97a84c5fbaae914e009d024379d8b83ad02b335f3d7404ecd9020e291a38e78cb358dd4d0ff1b4b8f3604a2cc719e9d82ebee1e50
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A better and stronger spiritual successor to BZip2"
|
||||
HOMEPAGE="https://github.com/kspalaiologos/bzip3"
|
||||
|
||||
if [[ ${PV} == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/kspalaiologos/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/kspalaiologos/${PN}/releases/download/${PV}/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~arm64 ~loong ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-3+"
|
||||
SLOT="0"
|
||||
|
||||
src_configure() {
|
||||
# ./configure script will default to Clang if it is found on the system,
|
||||
# force the use of CC selected by the user with CC=$(tc-getCC)
|
||||
econf CC=$(tc-getCC)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -type f -name '*.la' -delete || die
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,360 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Please bump with app-editors/vim-core and app-editors/vim
|
||||
|
||||
VIM_VERSION="9.0"
|
||||
VIM_PATCHES_VERSION="9.0.1000"
|
||||
|
||||
LUA_COMPAT=( lua5-{1..4} luajit )
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
USE_RUBY="ruby27 ruby30 ruby31"
|
||||
|
||||
inherit bash-completion-r1 flag-o-matic lua-single prefix python-single-r1 ruby-single toolchain-funcs vim-doc xdg-utils
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/vim/vim.git"
|
||||
EGIT_CHECKOUT_DIR=${WORKDIR}/vim-${PV}
|
||||
else
|
||||
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
|
||||
https://gitweb.gentoo.org/proj/vim-patches.git/snapshot/vim-patches-vim-${VIM_PATCHES_VERSION}-patches.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
fi
|
||||
S="${WORKDIR}"/vim-${PV}
|
||||
|
||||
DESCRIPTION="GUI version of the Vim text editor"
|
||||
HOMEPAGE="https://www.vim.org https://github.com/vim/vim"
|
||||
|
||||
LICENSE="vim"
|
||||
SLOT="0"
|
||||
IUSE="acl aqua crypt cscope debug lua minimal motif netbeans nls perl python racket ruby selinux session sound tcl"
|
||||
REQUIRED_USE="
|
||||
lua? ( ${LUA_REQUIRED_USE} )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
aqua? ( !motif )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
~app-editors/vim-core-${PV}
|
||||
>=app-eselect/eselect-vi-1.1
|
||||
>=sys-libs/ncurses-5.2-r2:0=
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libXext
|
||||
x11-libs/libXt
|
||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
||||
!aqua? (
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
!motif? (
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libXft
|
||||
)
|
||||
)
|
||||
crypt? ( dev-libs/libsodium:= )
|
||||
cscope? ( dev-util/cscope )
|
||||
lua? (
|
||||
${LUA_DEPS}
|
||||
$(lua_gen_impl_dep 'deprecated' lua5-1)
|
||||
)
|
||||
nls? ( virtual/libintl )
|
||||
perl? ( dev-lang/perl:= )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
racket? ( dev-scheme/racket )
|
||||
ruby? ( ${RUBY_DEPS} )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
session? ( x11-libs/libSM )
|
||||
sound? ( media-libs/libcanberra )
|
||||
tcl? ( dev-lang/tcl:0= )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
x11-base/xorg-proto"
|
||||
# configure runs the Lua interpreter
|
||||
BDEPEND="
|
||||
sys-devel/autoconf
|
||||
virtual/pkgconfig
|
||||
lua? ( ${LUA_DEPS} )
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
PDEPEND="!minimal? ( app-vim/gentoo-syntax )"
|
||||
|
||||
if [[ ${PV} != 9999* ]]; then
|
||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||
PATCHES=(
|
||||
"${WORKDIR}/vim-patches-vim-${VIM_PATCHES_VERSION}-patches"
|
||||
)
|
||||
fi
|
||||
|
||||
# various failures (bugs #630042 and #682320)
|
||||
RESTRICT="test"
|
||||
|
||||
# platform-specific checks (bug #898450):
|
||||
# - acl() -- Solaris
|
||||
# - statacl() -- AIX
|
||||
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||
'acl'
|
||||
'statacl'
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug 82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
use lua && lua-single_pkg_setup
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i -e \
|
||||
'1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' \
|
||||
"${S}"/runtime/tools/mve.awk || die "mve.awk sed failed"
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' \
|
||||
>> "${S}"/src/feature.h || die "echo failed"
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' \
|
||||
>> "${S}"/src/feature.h || die "echo failed"
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
||||
sed -i -e \
|
||||
's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.ac || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c; do
|
||||
echo >> "$c" || die "echo failed"
|
||||
done
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]]; then
|
||||
sed -i -e \
|
||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile || die
|
||||
fi
|
||||
|
||||
cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp failed"
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.ac is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i -e \
|
||||
's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
||||
rm -v src/auto/configure || die "rm failed"
|
||||
|
||||
# --with-features=huge forces on cscope even if we --disable it. We need
|
||||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
||||
if ! use cscope; then
|
||||
sed -i -e \
|
||||
'/# define FEAT_CSCOPE/d' src/feature.h || die "couldn't disable cscope"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
local file
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc*; do
|
||||
if [[ -e ${file} ]]; then
|
||||
addwrite $file
|
||||
fi
|
||||
done
|
||||
|
||||
use debug && append-flags "-DDEBUG"
|
||||
|
||||
local myconf=(
|
||||
--with-features=huge
|
||||
--disable-gpm
|
||||
--with-gnome=no
|
||||
$(use_enable sound canberra)
|
||||
$(use_enable acl)
|
||||
$(use_enable crypt libsodium)
|
||||
$(use_enable cscope)
|
||||
$(use_enable netbeans)
|
||||
$(use_enable nls)
|
||||
$(use_enable perl perlinterp)
|
||||
$(use_enable python python3interp)
|
||||
$(use_with python python3-command "${PYTHON}")
|
||||
$(use_enable racket mzschemeinterp)
|
||||
$(use_enable ruby rubyinterp)
|
||||
$(use_enable selinux)
|
||||
$(use_enable session xsmp)
|
||||
$(use_enable tcl tclinterp)
|
||||
)
|
||||
|
||||
if use lua; then
|
||||
# -DLUA_COMPAT_OPENLIB=1 is required to enable the
|
||||
# deprecated (in 5.1) luaL_openlib API (#874690)
|
||||
use lua_single_target_lua5-1 && append-cppflags -DLUA_COMPAT_OPENLIB=1
|
||||
|
||||
myconf+=(
|
||||
--enable-luainterp
|
||||
$(use_with lua_single_target_luajit luajit)
|
||||
--with-lua-prefix="${EPREFIX}/usr"
|
||||
)
|
||||
fi
|
||||
|
||||
# Default is gtk unless aqua or motif are enabled
|
||||
echo ; echo
|
||||
if use aqua; then
|
||||
einfo "Building gvim with the Carbon GUI"
|
||||
myconf+=(
|
||||
--enable-darwin
|
||||
--enable-gui=carbon
|
||||
)
|
||||
elif use motif; then
|
||||
einfo "Building gvim with the MOTIF GUI"
|
||||
myconf+=( --enable-gui=motif )
|
||||
else
|
||||
myconf+=( --enable-gtk3-check )
|
||||
einfo "Building gvim with the gtk+-3 GUI"
|
||||
myconf+=( --enable-gui=gtk3 )
|
||||
fi
|
||||
echo ; echo
|
||||
|
||||
# let package manager strip binaries
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# keep prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=( --without-local-dir )
|
||||
|
||||
if tc-is-cross-compiler ; then
|
||||
export vim_cv_getcwd_broken=no \
|
||||
vim_cv_memmove_handles_overlap=yes \
|
||||
vim_cv_stat_ignores_slash=yes \
|
||||
vim_cv_terminfo=yes \
|
||||
vim_cv_toupper_broken=no
|
||||
fi
|
||||
|
||||
econf \
|
||||
--with-modified-by="Gentoo-${PVR} (RIP Bram)" \
|
||||
--with-vim-name=gvim \
|
||||
--with-x \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo
|
||||
einfo "Starting vim tests. Several error messages will be shown"
|
||||
einfo "while the tests run. This is normal behaviour and does not"
|
||||
einfo "indicate a fault."
|
||||
einfo
|
||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
||||
ewarn "state. Usually, running 'reset' will fix this."
|
||||
einfo
|
||||
|
||||
# Don't let vim talk to X
|
||||
unset DISPLAY
|
||||
|
||||
# Make gvim not try to connect to X. See :help gui-x11-start in vim for how
|
||||
# this evil trickery works.
|
||||
ln -s "${S}"/src/gvim "${S}"/src/testvim || die
|
||||
|
||||
# Make sure our VIMPROG is used.
|
||||
sed -i -e 's:\.\./vim:../testvim:' src/testdir/test49.vim || die
|
||||
|
||||
# Don't do additional GUI tests.
|
||||
emake -j1 VIMPROG=../testvim -C src/testdir nongui
|
||||
}
|
||||
|
||||
# Call eselect vi update with --if-unset
|
||||
# to respect user's choice (bug 187449)
|
||||
eselect_vi_update() {
|
||||
ebegin "Calling eselect vi update"
|
||||
eselect vi update --if-unset
|
||||
eend $?
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||
|
||||
dobin src/gvim
|
||||
dosym gvim /usr/bin/gvimdiff
|
||||
dosym gvim /usr/bin/evim
|
||||
dosym gvim /usr/bin/eview
|
||||
dosym gvim /usr/bin/gview
|
||||
dosym gvim /usr/bin/rgvim
|
||||
dosym gvim /usr/bin/rgview
|
||||
|
||||
emake -C src DESTDIR="${D}" DATADIR="${EPREFIX}"/usr/share install-icons
|
||||
|
||||
dodir /usr/share/man/man1
|
||||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gvim.1 || die "echo failed"
|
||||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gview.1 || die "echo failed"
|
||||
echo ".so vimdiff.1" > "${ED}"/usr/share/man/man1/gvimdiff.1 || \
|
||||
die "echo failed"
|
||||
|
||||
insinto /etc/vim
|
||||
newins "${FILESDIR}"/gvimrc-r1 gvimrc
|
||||
eprefixify "${ED}"/etc/vim/gvimrc
|
||||
|
||||
# bash completion script, bug #79018.
|
||||
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
|
||||
|
||||
# don't install vim desktop file
|
||||
rm -v "${ED}"/usr/share/applications/vim.desktop || die "failed to remove vim.desktop"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# update fdo mime stuff, bug #78394
|
||||
xdg_desktop_database_update
|
||||
|
||||
# update icon cache
|
||||
xdg_icon_cache_update
|
||||
|
||||
# call eselect vi update
|
||||
eselect_vi_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# update fdo mime stuff, bug #78394
|
||||
xdg_desktop_database_update
|
||||
|
||||
# update icon cache
|
||||
xdg_icon_cache_update
|
||||
|
||||
# call eselect vi update
|
||||
eselect_vi_update
|
||||
}
|
@ -0,0 +1,231 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Please bump with app-editors/vim and app-editors/gvim
|
||||
|
||||
VIM_VERSION="9.0"
|
||||
VIM_PATCHES_VERSION="9.0.1000"
|
||||
inherit bash-completion-r1 desktop flag-o-matic prefix toolchain-funcs vim-doc xdg-utils
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/vim/vim.git"
|
||||
EGIT_CHECKOUT_DIR=${WORKDIR}/vim-${PV}
|
||||
else
|
||||
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
|
||||
https://gitweb.gentoo.org/proj/vim-patches.git/snapshot/vim-patches-vim-${VIM_PATCHES_VERSION}-patches.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
fi
|
||||
S="${WORKDIR}/vim-${PV}"
|
||||
|
||||
DESCRIPTION="vim and gvim shared files"
|
||||
HOMEPAGE="https://www.vim.org https://github.com/vim/vim"
|
||||
|
||||
LICENSE="vim"
|
||||
SLOT="0"
|
||||
IUSE="nls acl minimal"
|
||||
|
||||
# ncurses is only needed by ./configure, so no subslot operator required
|
||||
DEPEND=">=sys-libs/ncurses-5.2-r2:0"
|
||||
BDEPEND="sys-devel/autoconf"
|
||||
|
||||
if [[ ${PV} != 9999* ]]; then
|
||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||
PATCHES=(
|
||||
"${WORKDIR}/vim-patches-vim-${VIM_PATCHES_VERSION}-patches"
|
||||
)
|
||||
fi
|
||||
|
||||
# platform-specific checks (bug #898406):
|
||||
# - acl() -- Solaris
|
||||
# - statacl() -- AIX
|
||||
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||
'acl'
|
||||
'statacl'
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug #82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i \
|
||||
-e '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' \
|
||||
"${S}"/runtime/tools/mve.awk || die "sed failed"
|
||||
|
||||
# See bug #77841. We remove this file after the tarball extraction.
|
||||
rm -v "${S}"/runtime/tools/vimspell.sh || die "rm failed"
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h || die
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h || die
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug #29398 (27 Sep 2003 agriffis)
|
||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.ac || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c; do
|
||||
echo >> "$c" || die "echo failed"
|
||||
done
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]]; then
|
||||
sed -i -e \
|
||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile || die "sed failed"
|
||||
fi
|
||||
|
||||
cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp failed"
|
||||
|
||||
# Fix bug #76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug #18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.ac is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
||||
|
||||
# Remove src/auto/configure file.
|
||||
rm -v src/auto/configure || die "rm configure failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Fix bug #37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc*; do
|
||||
if [[ -e "${file}" ]]; then
|
||||
addwrite ${file}
|
||||
fi
|
||||
done
|
||||
|
||||
# Let Portage do the stripping. Some people like that.
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
local myconf=(
|
||||
--with-modified-by="Gentoo-${PVR} (RIP Bram)"
|
||||
--enable-gui=no
|
||||
--without-x
|
||||
--disable-darwin
|
||||
--disable-perlinterp
|
||||
--disable-pythoninterp
|
||||
--disable-rubyinterp
|
||||
--disable-gpm
|
||||
--disable-selinux
|
||||
$(use_enable nls)
|
||||
$(use_enable acl)
|
||||
)
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=( --without-local-dir )
|
||||
|
||||
if tc-is-cross-compiler ; then
|
||||
export vim_cv_getcwd_broken=no \
|
||||
vim_cv_memmove_handles_overlap=yes \
|
||||
vim_cv_stat_ignores_slash=yes \
|
||||
vim_cv_terminfo=yes \
|
||||
vim_cv_toupper_broken=no
|
||||
fi
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
emake tools
|
||||
}
|
||||
|
||||
src_test() { :; }
|
||||
|
||||
src_install() {
|
||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||
|
||||
dodir /usr/{bin,share/{man/man1,vim}}
|
||||
emake -C src \
|
||||
installruntime \
|
||||
installmanlinks \
|
||||
installmacros \
|
||||
installtutor \
|
||||
installtutorbin \
|
||||
installtools \
|
||||
install-languages \
|
||||
DESTDIR="${D}" \
|
||||
BINDIR="${EPREFIX}"/usr/bin \
|
||||
MANDIR="${EPREFIX}"/usr/share/man \
|
||||
DATADIR="${EPREFIX}"/usr/share
|
||||
|
||||
keepdir ${vimfiles}/keymap
|
||||
|
||||
# default vimrc is installed by vim-core since it applies to
|
||||
# both vim and gvim
|
||||
insinto /etc/vim/
|
||||
newins "${FILESDIR}"/vimrc-r6 vimrc
|
||||
eprefixify "${ED}"/etc/vim/vimrc
|
||||
|
||||
if use minimal; then
|
||||
# To save space, install only a subset of the files.
|
||||
# Helps minimalize the livecd, bug 65144.
|
||||
rm -rv "${ED}${vimfiles}"/{compiler,doc,ftplugin,indent} || die
|
||||
rm -rv "${ED}${vimfiles}"/{macros,print,tools,tutor} || die
|
||||
rm -v "${ED}"/usr/bin/vimtutor || die
|
||||
|
||||
for f in "${ED}${vimfiles}"/colors/*.vim; do
|
||||
if [[ ${f} != */@(default).vim ]] ; then
|
||||
printf '%s\0' "${f}"
|
||||
fi
|
||||
done | xargs -0 rm -f || die
|
||||
|
||||
for f in "${ED}${vimfiles}"/syntax/*.vim; do
|
||||
if [[ ${f} != */@(conf|crontab|fstab|inittab|resolv|sshdconfig|syntax|nosyntax|synload).vim ]] ; then
|
||||
printf '%s\0' "${f}"
|
||||
fi
|
||||
done | xargs -0 rm -f || die
|
||||
fi
|
||||
|
||||
newbashcomp "${FILESDIR}"/xxd-completion xxd
|
||||
|
||||
# install gvim icon since both vim/gvim desktop files reference it
|
||||
doicon -s scalable "${FILESDIR}"/gvim.svg
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# update icon cache
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# update icon cache
|
||||
xdg_icon_cache_update
|
||||
}
|
@ -0,0 +1,370 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Please bump with app-editors/vim-core and app-editors/gvim
|
||||
|
||||
VIM_VERSION="9.0"
|
||||
VIM_PATCHES_VERSION="9.0.1000"
|
||||
|
||||
LUA_COMPAT=( lua5-{1..4} luajit )
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
USE_RUBY="ruby27 ruby30 ruby31"
|
||||
|
||||
inherit vim-doc flag-o-matic bash-completion-r1 lua-single python-single-r1 ruby-single toolchain-funcs desktop xdg-utils
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/vim/vim.git"
|
||||
else
|
||||
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://gitweb.gentoo.org/proj/vim-patches.git/snapshot/vim-patches-vim-${VIM_PATCHES_VERSION}-patches.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Vim, an improved vi-style text editor"
|
||||
HOMEPAGE="https://www.vim.org https://github.com/vim/vim"
|
||||
|
||||
LICENSE="vim"
|
||||
SLOT="0"
|
||||
IUSE="X acl crypt cscope debug gpm lua minimal nls perl python racket ruby selinux sound tcl terminal vim-pager"
|
||||
REQUIRED_USE="
|
||||
lua? ( ${LUA_REQUIRED_USE} )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
vim-pager? ( !minimal )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=app-eselect/eselect-vi-1.1
|
||||
>=sys-libs/ncurses-5.2-r2:0=
|
||||
nls? ( virtual/libintl )
|
||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
||||
crypt? ( dev-libs/libsodium:= )
|
||||
cscope? ( dev-util/cscope )
|
||||
gpm? ( >=sys-libs/gpm-1.19.3 )
|
||||
lua? ( ${LUA_DEPS}
|
||||
$(lua_gen_impl_dep 'deprecated' lua5-1)
|
||||
)
|
||||
~app-editors/vim-core-${PV}
|
||||
vim-pager? ( app-editors/vim-core[-minimal] )
|
||||
perl? ( dev-lang/perl:= )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
racket? ( dev-scheme/racket )
|
||||
ruby? ( ${RUBY_DEPS} )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
sound? ( media-libs/libcanberra )
|
||||
tcl? ( dev-lang/tcl:0= )
|
||||
X? ( x11-libs/libXt )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
# configure runs the Lua interpreter
|
||||
BDEPEND="
|
||||
sys-devel/autoconf
|
||||
lua? ( ${LUA_DEPS} )
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
PDEPEND="!minimal? ( app-vim/gentoo-syntax )"
|
||||
|
||||
if [[ ${PV} != 9999* ]]; then
|
||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||
PATCHES=(
|
||||
"${WORKDIR}/vim-patches-vim-${VIM_PATCHES_VERSION}-patches"
|
||||
)
|
||||
fi
|
||||
|
||||
# platform-specific checks (bug #898452):
|
||||
# - acl() -- Solaris
|
||||
# - statacl() -- AIX
|
||||
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||
'acl'
|
||||
'statacl'
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug #82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
use lua && lua-single_pkg_setup
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i -e \
|
||||
'1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' \
|
||||
"${S}"/runtime/tools/mve.awk || die "mve.awk sed failed"
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' \
|
||||
>> "${S}"/src/feature.h || die "echo failed"
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' \
|
||||
>> "${S}"/src/feature.h || die "echo failed"
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug #29398 (27 Sep 2003 agriffis)
|
||||
sed -i -e \
|
||||
's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.ac || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c; do
|
||||
echo >> "$c" || die "echo failed"
|
||||
done
|
||||
|
||||
# conditionally make the manpager.sh script
|
||||
if use vim-pager; then
|
||||
cat > "${S}"/runtime/macros/manpager.sh <<-_EOF_ || die "cat EOF failed"
|
||||
#!/bin/sh
|
||||
sed -e 's/\x1B\[[[:digit:]]\+m//g' | col -b | \\
|
||||
vim \\
|
||||
-c 'let no_plugin_maps = 1' \\
|
||||
-c 'set nolist nomod ft=man ts=8' \\
|
||||
-c 'let g:showmarks_enable=0' \\
|
||||
-c 'runtime! macros/less.vim' -
|
||||
_EOF_
|
||||
fi
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]]; then
|
||||
sed -i -e \
|
||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile || die "sed failed"
|
||||
fi
|
||||
|
||||
cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp failed"
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.ac is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
||||
rm src/auto/configure || die "rm failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
# Fix bug #37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug #57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug #24447). The hvc
|
||||
# things are for ppc64, see bug #86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc*; do
|
||||
if [[ -e "${file}" ]]; then
|
||||
addwrite ${file}
|
||||
fi
|
||||
done
|
||||
|
||||
local myconf=()
|
||||
if use minimal; then
|
||||
myconf=(
|
||||
--with-features=tiny
|
||||
--disable-nls
|
||||
--disable-canberra
|
||||
--disable-acl
|
||||
--enable-gui=no
|
||||
--without-x
|
||||
--disable-darwin
|
||||
--disable-luainterp
|
||||
--disable-perlinterp
|
||||
--disable-pythoninterp
|
||||
--disable-mzschemeinterp
|
||||
--disable-rubyinterp
|
||||
--disable-selinux
|
||||
--disable-tclinterp
|
||||
--disable-gpm
|
||||
)
|
||||
else
|
||||
use debug && append-flags "-DDEBUG"
|
||||
|
||||
myconf=(
|
||||
--with-features=huge
|
||||
$(use_enable sound canberra)
|
||||
$(use_enable acl)
|
||||
$(use_enable crypt libsodium)
|
||||
$(use_enable cscope)
|
||||
$(use_enable gpm)
|
||||
$(use_enable nls)
|
||||
$(use_enable perl perlinterp)
|
||||
$(use_enable python python3interp)
|
||||
$(use_with python python3-command "${PYTHON}")
|
||||
$(use_enable racket mzschemeinterp)
|
||||
$(use_enable ruby rubyinterp)
|
||||
$(use_enable selinux)
|
||||
$(use_enable tcl tclinterp)
|
||||
$(use_enable terminal)
|
||||
)
|
||||
|
||||
# --with-features=huge forces on cscope even if we --disable it. We need
|
||||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
||||
if ! use cscope; then
|
||||
sed -i -e \
|
||||
'/# define FEAT_CSCOPE/d' src/feature.h || die "sed failed"
|
||||
fi
|
||||
|
||||
if use lua; then
|
||||
# -DLUA_COMPAT_OPENLIB=1 is required to enable the
|
||||
# deprecated (in 5.1) luaL_openlib API (#874690)
|
||||
use lua_single_target_lua5-1 && append-cppflags -DLUA_COMPAT_OPENLIB=1
|
||||
|
||||
myconf+=(
|
||||
--enable-luainterp
|
||||
$(use_with lua_single_target_luajit luajit)
|
||||
--with-lua-prefix="${EPREFIX}/usr"
|
||||
)
|
||||
fi
|
||||
|
||||
# don't test USE=X here ... see bug #19115
|
||||
# but need to provide a way to link against X ... see bug #20093
|
||||
myconf+=(
|
||||
--enable-gui=no
|
||||
--disable-darwin
|
||||
$(use_with X x)
|
||||
)
|
||||
fi
|
||||
|
||||
# let package manager strip binaries
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# keep prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=( --without-local-dir )
|
||||
|
||||
if tc-is-cross-compiler ; then
|
||||
export vim_cv_getcwd_broken=no \
|
||||
vim_cv_memmove_handles_overlap=yes \
|
||||
vim_cv_stat_ignores_slash=yes \
|
||||
vim_cv_terminfo=yes \
|
||||
vim_cv_toupper_broken=no
|
||||
fi
|
||||
|
||||
econf \
|
||||
--with-modified-by="Gentoo-${PVR} (RIP Bram)" \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo
|
||||
einfo "Starting vim tests. Several error messages will be shown"
|
||||
einfo "while the tests run. This is normal behaviour and does not"
|
||||
einfo "indicate a fault."
|
||||
einfo
|
||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
||||
ewarn "state. Usually, running 'reset' will fix this."
|
||||
einfo
|
||||
|
||||
# Don't let vim talk to X
|
||||
unset DISPLAY
|
||||
|
||||
# Arch and opensuse seem to do this and at this point, I'm willing
|
||||
# to try anything to avoid random test hangs!
|
||||
export TERM=xterm
|
||||
|
||||
# See https://github.com/vim/vim/blob/f08b0eb8691ff09f98bc4beef986ece1c521655f/src/testdir/runtest.vim#L5
|
||||
# for more information on test variables we can use.
|
||||
# Note that certain variables need vim-compatible regex (not PCRE), see e.g.
|
||||
# http://www.softpanorama.org/Editors/Vimorama/vim_regular_expressions.shtml.
|
||||
#
|
||||
# Skipped tests:
|
||||
# - Test_expand_star_star
|
||||
# Hangs because of a recursive symlink in /usr/include/nodejs (bug #616680)
|
||||
# - Test_exrc
|
||||
# Looks in wrong location? (bug #742710)
|
||||
# - Test_job_tty_in_out
|
||||
# Fragile and depends on TERM(?)
|
||||
# - Test_spelldump_bang
|
||||
# Hangs.
|
||||
# - Test_fuzzy_completion_env
|
||||
# Too sensitive to leaked environment variables.
|
||||
# - Test_term_mouse_multiple_clicks_to_select_mode
|
||||
# Hangs.
|
||||
# - Test_spelldump
|
||||
# Hangs.
|
||||
export TEST_SKIP_PAT='\(Test_expand_star_star\|Test_exrc\|Test_job_tty_in_out\|Test_spelldump_bang\|Test_fuzzy_completion_env\|Test_term_mouse_multiple_clicks_to_select_mode\|Test_spelldump\)'
|
||||
|
||||
emake -j1 -C src/testdir nongui
|
||||
}
|
||||
|
||||
# Call eselect vi update with --if-unset
|
||||
# to respect user's choice (bug #187449)
|
||||
eselect_vi_update() {
|
||||
ebegin "Calling eselect vi update"
|
||||
eselect vi update --if-unset
|
||||
eend $?
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||
|
||||
# Note: Do not install symlinks for 'vi', 'ex', or 'view', as these are
|
||||
# managed by eselect-vi
|
||||
dobin src/vim
|
||||
if ! use minimal ; then
|
||||
dosym vim /usr/bin/vimdiff
|
||||
fi
|
||||
dosym vim /usr/bin/rvim
|
||||
dosym vim /usr/bin/rview
|
||||
if use vim-pager ; then
|
||||
dosym ${vimfiles}/macros/less.sh /usr/bin/vimpager
|
||||
dosym ${vimfiles}/macros/manpager.sh /usr/bin/vimmanpager
|
||||
insinto ${vimfiles}/macros
|
||||
doins runtime/macros/manpager.sh
|
||||
fperms a+x ${vimfiles}/macros/manpager.sh
|
||||
fi
|
||||
|
||||
domenu runtime/vim.desktop
|
||||
|
||||
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
|
||||
|
||||
# keep in sync with 'complete ... -F' list
|
||||
bashcomp_alias vim ex vi view rvim rview vimdiff
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# Call eselect vi update
|
||||
eselect_vi_update
|
||||
|
||||
# update desktop file mime cache
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# Call eselect vi update
|
||||
eselect_vi_update
|
||||
|
||||
# update desktop file mime cache
|
||||
xdg_desktop_database_update
|
||||
}
|
Binary file not shown.
@ -1,8 +1,10 @@
|
||||
DIST eldev-1.4.1.tar.gz 268814 BLAKE2B d31ef7842888f523dab25d279064ceda2f427f70f3353d015485bc78346f368e2a56f1a5dfc0243efae36752576be32b869726e391b040eda9c3ea4418002d67 SHA512 485ccbdbcb40c3e2a19de5bad7b35bc439a4fe7c228c28ca0c75ca8292ff6216bbf78bb2d26678b94b9fcc5526aea12e1e9c6aa0368e343a08c9081ef1058e81
|
||||
DIST eldev-1.5.1.tar.gz 277342 BLAKE2B 9efc21e393703aa6649bf95ce0ab774f0306e04371001ab8de9202a9c0c975c9c8ba695dddecfb2be1717b49862aaea9a4ea714f38ccd05545597a93ddf2d61b SHA512 a06f8ecd9b5e1536f03fc6b23b721febb11841fe63b610ae410fe1a317f9e0c28c5cba590104d899e3987acb17bf354bdd17a0447aa83fab99871717574e7598
|
||||
DIST eldev-1.5.2.tar.gz 278912 BLAKE2B 6f4aa63817f09bd5fc744a08b7204227c607e1c1cf586d31d0f1835bdc720ab41a272c9dbcd309a8512ef5ddec31db50f6d31e4d52446b66aa3b5abd0e7f6c36 SHA512 86f91c7dde1a1f1012268f6b32d86855d6996ab70c828c70dd188d01609dacbba8aa68dfd86a4995a1ee944aca08d08f844696bd70f996346279dd808ab446b2
|
||||
DIST eldev-1.5.tar.gz 276909 BLAKE2B 963940d203c0864d091c50703d18805b48e3bcc4d4fec07262421c453ad346a3963d711b2a96f10e46c2329ba75f6a92093ec2845726e83958e6973a8d579b0a SHA512 fcb277175254de51b37caab04ba74422925b22d3bc98e9e84a2f563f3251fa2bfabb573c98800a05245713d256fbdb59d1091d94a037ddb3a7dda4879f451e88
|
||||
EBUILD eldev-1.4.1.ebuild 1150 BLAKE2B a23151af7f489ef8c7d4257858cf26ff8c3968308712535deb7d6f1d5f5b7110176c597a65df33ed438feb06790ca6c2e9a05e92689643e6f52286206df74f48 SHA512 9797018c6396dad2a4cdb604eb32ca6087df2abde4ae698d82484695517540cbc4b8429f45e77e3b2e8387b86ec0847a3660a9db28d4cf2697990bf14bf81bf0
|
||||
EBUILD eldev-1.5.1.ebuild 1266 BLAKE2B da46690b2345f74c543a5cd3fd94cfd2c072cdce13da71051c2f0ecfcd3a4fd82fa3b3976a08ff34b894b32104298964122a69ae94afe8741eae9dee2acbadc1 SHA512 01c6c2232244713f9533f4ef3e7b30df221c0fa42efb9fa15adeb68664ab20b823e296fbd24b2b5b1a6973969edc3e3d932366ce68dbe66ce34a405559f3a255
|
||||
EBUILD eldev-1.5.2.ebuild 1266 BLAKE2B da46690b2345f74c543a5cd3fd94cfd2c072cdce13da71051c2f0ecfcd3a4fd82fa3b3976a08ff34b894b32104298964122a69ae94afe8741eae9dee2acbadc1 SHA512 01c6c2232244713f9533f4ef3e7b30df221c0fa42efb9fa15adeb68664ab20b823e296fbd24b2b5b1a6973969edc3e3d932366ce68dbe66ce34a405559f3a255
|
||||
EBUILD eldev-1.5.ebuild 1266 BLAKE2B da46690b2345f74c543a5cd3fd94cfd2c072cdce13da71051c2f0ecfcd3a4fd82fa3b3976a08ff34b894b32104298964122a69ae94afe8741eae9dee2acbadc1 SHA512 01c6c2232244713f9533f4ef3e7b30df221c0fa42efb9fa15adeb68664ab20b823e296fbd24b2b5b1a6973969edc3e3d932366ce68dbe66ce34a405559f3a255
|
||||
EBUILD eldev-9999.ebuild 1266 BLAKE2B da46690b2345f74c543a5cd3fd94cfd2c072cdce13da71051c2f0ecfcd3a4fd82fa3b3976a08ff34b894b32104298964122a69ae94afe8741eae9dee2acbadc1 SHA512 01c6c2232244713f9533f4ef3e7b30df221c0fa42efb9fa15adeb68664ab20b823e296fbd24b2b5b1a6973969edc3e3d932366ce68dbe66ce34a405559f3a255
|
||||
MISC metadata.xml 982 BLAKE2B db2324ced8f4bc4ba579130677175a9de7a8dc7b8d937cd902edd69a20bc897bf4ee034acb6a9400b88de82c58c2b144e62ec4ac7b75d8dc63cdf56670cacc9e SHA512 3e4d2d7ea4fbada45b4d933d7711266bcd9ffd217ee3c3e3351e9f66145785dc11449b4f09f5ffa4853d2b475db45e501848d259f80fb5aa26429acadcb6da7d
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Emacs Lisp Development Tool"
|
||||
HOMEPAGE="https://github.com/doublep/eldev/"
|
||||
|
||||
if [[ ${PV} == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/doublep/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/doublep/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~ppc64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
|
||||
DOCS=( README.adoc )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_test() {
|
||||
ELDEV_LOCAL="${S}" ./bin/${PN} test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp_src_install
|
||||
dobin bin/${PN}
|
||||
|
||||
# NOTICE: If ELDEV_LOCAL is defined Eldev will use it
|
||||
# to load up it's components,
|
||||
# if it is not it will bootstrap itself from network
|
||||
# always check if it uses installed Emacs Lisp files.
|
||||
# Also, do not forget to run `env-update` & reopen your shell.
|
||||
# https://github.com/doublep/eldev#influential-environment-variables
|
||||
echo "ELDEV_LOCAL=${SITELISP}/${PN}" >> "${T}"/99${PN} || die
|
||||
doenvd "${T}"/99${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp_pkg_postinst
|
||||
|
||||
ewarn "Remember to run \`env-update && source /etc/profile\` if you plan"
|
||||
ewarn "to use Eldev in a shell before logging out (or restarting"
|
||||
ewarn "your login manager)."
|
||||
}
|
@ -1,6 +1,8 @@
|
||||
AUX 50geiser-gentoo.el 295 BLAKE2B 5dfbb043d11f242fae453719c85c7b5dd6abfa16e390de35c390d4dec9f80e512039e5d7dd6d79986df9e8d0822c12562d32001ad6bc6a33ab8c168299548044 SHA512 1a7ebc8f2b2e95ee5b1e7c81d498d6239fa88110165f54e6926bedcee4d1ba64c11e6946d8129d0a6958b0ecb280011af3c64c283279d183dc843b0328aa178c
|
||||
DIST geiser-0.28.2.tar.bz2 655614 BLAKE2B 6b5f86b5a9776df11c2a0fc331a4ed1d45361953004f6c5e605c158d9663e21e4452afb3ae46d84aebfa5606912a3013d444bcceda7a26e2ded55f8c9e52cfce SHA512 7f9622e31d3d80a8a67565bc35d0846b81c700783dc7f992bf8b8f6c999f1a534f658d23287b5f469f278f54c3970be003632a628b43ba0d03d24e0ceb3a4a75
|
||||
DIST geiser-0.29.1.tar.bz2 655999 BLAKE2B c684fee1344f266107591e444c88b2ffdd5b73f4c1e2c63901b3c191d518b55ba0f2b35a19b3b6268a139fe69fd28aee9cae7d398b67b373e9118b0b3b4e7a8a SHA512 6609b6e2c1d8c217b6a132685468100f6caaaa5191d3d13b04c839bf96da8e8c1e7eee77d86c391314a9c8996c8854a7833e29fdc05ac10e8fa7b974ac2aa4e9
|
||||
DIST geiser-0.29.tar.bz2 655923 BLAKE2B 70e20fa0698b2c363f8d03847449d38e0b4a68aebbccc7be8408f7ce550319b85412ae4678e9ded1aa5b2a3222b1e28414de4a1e877ba23464d1983840fbad3b SHA512 05289a01e5a6b2eeef998d94b3a715924ece0b93ac435d52bbaf120580ad2c0b1f3759d49e1c275c230ad98227e9c53d65e25da9bdf54e508c1613330601cde6
|
||||
EBUILD geiser-0.28.2.ebuild 787 BLAKE2B 5432099982d6ec87a4a94a40201b8dec33b5cf3279c6cfec6150615fabb30d00195950cdc41e65368dbaa9ade0952e6d757176b6e8ee761e4198c8fe976fab1c SHA512 2d0fe5af93fa915e5d8c881f0b3ef1d18cbcf012f20f8301d7a374deb1b722f9c50a1e6a711c950ccf8f30d5b6756f5a814f4608da28333b6e95bc71b4af110f
|
||||
EBUILD geiser-0.29.1.ebuild 788 BLAKE2B b131e481b594457b0b23e558385a8233f4f826428a0c2b11a47ba5ee693a0b5d9424d3196b2bc834cb0db3a9d07486e35f273d049ff3e373279a4f0b37cf0b02 SHA512 9257736b5803f3e0456db33e901dcf54a284aee08f716f688118735e93d5182ffad6325a3708de70429a82f615f5f41e45ab8db3a550df6663ddbdfddaff0be9
|
||||
EBUILD geiser-0.29.ebuild 788 BLAKE2B b131e481b594457b0b23e558385a8233f4f826428a0c2b11a47ba5ee693a0b5d9424d3196b2bc834cb0db3a9d07486e35f273d049ff3e373279a4f0b37cf0b02 SHA512 9257736b5803f3e0456db33e901dcf54a284aee08f716f688118735e93d5182ffad6325a3708de70429a82f615f5f41e45ab8db3a550df6663ddbdfddaff0be9
|
||||
MISC metadata.xml 551 BLAKE2B 2aedbc78837b20f258a94790c4a84f8bfab77f4d71e65354ea6439122c4d84378776c7f9c9a7649c0aadc68df9f33eeca482712961eb8b3af0dffde4d1769ded SHA512 aa663549e7f0710b8629889dd57bb99cc2ec2f2ea93c86d6b75dd85fe4a8467abb4688b38a38b8051655fc0705b8f1e0a7c71c6159abc7170e0bb1b9a0c7c112
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Generic interaction mode between Emacs and different Scheme implementations"
|
||||
HOMEPAGE="https://gitlab.com/emacs-geiser/geiser/"
|
||||
SRC_URI="https://gitlab.com/emacs-geiser/${PN}/-/archive/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="app-emacs/transient"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
app-text/texi2html
|
||||
sys-apps/texinfo
|
||||
"
|
||||
|
||||
DOCS=( readme.org news.org doc/html )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_compile() {
|
||||
BYTECOMPFLAGS="-L elisp" elisp-compile elisp/*.el
|
||||
|
||||
emake -C doc info web
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp-install ${PN} elisp/*.el{,c}
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
|
||||
doinfo doc/*.info
|
||||
einstalldocs
|
||||
}
|
@ -1,9 +1,9 @@
|
||||
AUX 50haskell-mode-gentoo.el 44 BLAKE2B 1587be01b819c8d788bc8b9c3e9481885b2be3ceda43336f8d8728f245c961cb49aa6b1245558ce4d25ed28fcfc310c4fa95f992335ca75b6cdff90e33f18af0 SHA512 3a4dc946f9f5b5e7dfed41d19b8e576f3d164d81049b7bcad08791803116104f0450634569ee60a65f78e42b2153b925062b05f31cf8b5477160a73eadbfcf2a
|
||||
DIST haskell-mode-17.2.tar.gz 1144963 BLAKE2B 79005da9ac5a36f0dee0586aaee42d2db64711b56633d9e22b250044863383a332c6ce19c90d8c4d41dccc881eeeacc48cb75f705fd56d5af4ea678899f784d5 SHA512 3ef7052948d02d89150b3cd80e252b0dea2ebd9c485a6e7272c474906f282247b62f4ad4f639074326af908630cedbfa507f9b3b52f44a1579e7edce5e44e588
|
||||
DIST haskell-mode-17.2_p20230616.tar.gz 1149636 BLAKE2B 80bc038c475729b2e31e111e773f2de1b6c61717859f01f8a1ff8f8f5589973bee96cdd65eb4e5508e0572770486fc4a03d1deb44cc5f2d84a9676ef6db244e3 SHA512 4cdfecd169adc1d913c7cebcbcb19ce94eec0eb89bbdccab9a5e5e0c4eaab989615cb1c78e96bf5968cc506f19dc6eb37d9206f811d68b58cd87ac973f229b19
|
||||
DIST haskell-mode-17.3.tar.gz 1149597 BLAKE2B 6cb39102f031d6b6e387a7f7f2419105a8b3d9f10ab5974aa1e56ca587367290253cd9ee823c9ed87fdd0490c02bfdad2c279acc84ebed2adb7a14ca3905a521 SHA512 94d11652a6dab958de94cb5e1525e3888a7463a7328110cfb39b983874f71655c30e3a05eb20f0456b71e2678a7e09f1a389fdee78d493cf08fed2a10fbcc34e
|
||||
EBUILD haskell-mode-17.2.ebuild 1044 BLAKE2B 127435561dc7208bf9548ff08dd1666972bf209746b4cd0b463b1ab3f0a5e2f40035562c29c6eee894b860821dbeb6bcc5bd82cf43ac4bb15fc5f07bf984aab8 SHA512 5f174d53adb3895a5187c219cb7ad1b29df40101520c2b37c6a2e5b0a4941c7ede6e337b26f22f1a76559fa09d5329a1c3698476e59c4d13c8ead92e208c4bc4
|
||||
DIST haskell-mode-17.4.tar.gz 1149313 BLAKE2B b30e2051448ba749b0d0b1872f824e8624c4f7d15447a94e61a69898c097ed51f289c3d0f581acffe244178e6b406466ff622e50a395be500a807ef787f92f09 SHA512 95296f9937019a9735388fde918a609aafedaeeede55f85729ddbc0b26d91dd9d39841c6aa727cdf0ebc69161b1367ce5ca895bf9a23c0b4fde8dfa49ef66b04
|
||||
EBUILD haskell-mode-17.2_p20230616.ebuild 1308 BLAKE2B bb021024511a3d2df57dd9d9943e28278a8b5ef608dc5c771435752195cdbdcb942820768710b44f6d757d3cedc6d73034b138b3504566f2d1c64f36da9a6a1c SHA512 ad23b1f9d7fafc0cfe7287b55f65ef3178642b8af93754e4ba39aad5171358a49edde90d814ad24dfa027eee2fb14606447a7e300f104989c61b2162bfa0fbd1
|
||||
EBUILD haskell-mode-17.3.ebuild 1278 BLAKE2B 9f8700b26e782054c2dacf75329b88f8c382da5bd792e07a096e220ba07eaa651f2fb712839e91a2241c709d11deba1a0aaf7a9141bf8e7c0e3d6c04134cfb72 SHA512 8dbc1fe05fa5f201c6a5d878619a05e16d5bb33dbc8eefe0c21cc4bcb2ae6eda73b7ff9e944efaf866e73eb24e08c0b72939c63804107fd9b6a50596c56e1b92
|
||||
EBUILD haskell-mode-17.4.ebuild 1278 BLAKE2B 9f8700b26e782054c2dacf75329b88f8c382da5bd792e07a096e220ba07eaa651f2fb712839e91a2241c709d11deba1a0aaf7a9141bf8e7c0e3d6c04134cfb72 SHA512 8dbc1fe05fa5f201c6a5d878619a05e16d5bb33dbc8eefe0c21cc4bcb2ae6eda73b7ff9e944efaf866e73eb24e08c0b72939c63804107fd9b6a50596c56e1b92
|
||||
EBUILD haskell-mode-9999.ebuild 1278 BLAKE2B 9f8700b26e782054c2dacf75329b88f8c382da5bd792e07a096e220ba07eaa651f2fb712839e91a2241c709d11deba1a0aaf7a9141bf8e7c0e3d6c04134cfb72 SHA512 8dbc1fe05fa5f201c6a5d878619a05e16d5bb33dbc8eefe0c21cc4bcb2ae6eda73b7ff9e944efaf866e73eb24e08c0b72939c63804107fd9b6a50596c56e1b92
|
||||
MISC metadata.xml 435 BLAKE2B e26af32c9bc1dc33f2c5b965c3d44ddae9e9a7a38333706e9b2fed22378a0cefdbd4676b6c9b6d66750f232b46fdc05dd5bd1997dbe5b4d1361690607605108f SHA512 cdb49aca769484b149543aab98abacaabc93e4c3f932b79e8fa71acd305126608b8f9bbd1e966183482985eec3e2cff20dacee529170904273f774ac51957dde
|
||||
|
@ -1,9 +1,9 @@
|
||||
AUX 50helm-gentoo.el 79 BLAKE2B 7f188281cba0bf1f683977149ffa01f2bf6679cec1d73553e27c445ebcf97d2a6b227d09c77a01dadce49e755d97cc572af4fc5358ca35866a4c12dd8caa61b6 SHA512 30d2ce1f8073f15439cc6d68620e9ca776ed74fdedfca4944d7d749891f33aa2ad1dccffdfb85f1e1049460015daf2104f0b9cd0f5b872c5d5c5ee1eccd25b21
|
||||
AUX helm-3.8.8-no-autoload-check.patch 674 BLAKE2B 1cae635d26e3c5b41b585de585a87dab6cf37bd180cdea546c25fd12adbd8d9ed1e42e613164815b776455c991efdf075fcc4c19b4a812109c9508be76590db1 SHA512 14fdc3c5163389f11c9b684f569b9bc0e6e5ad4aaf9c2e170f66b05973e7a9a4744b0e293e167f2d714fa81f157b4b960bac07faf1e052a12167ad56ef131eda
|
||||
DIST helm-3.8.8.tar.gz 2362007 BLAKE2B 80f854bc38e51de62aa6d9a35cdeff4ac4c193908dc19361ad10ad419585d30a2fd94be1d4d410b69634012e4c01045d4dd2f55c5b4ac8da960d7f7b8d4eed08 SHA512 a1fca373d2c64771aabb3ba396e0d65b3434f0a413bab1e61761c16e9dcf274ceb94e258ef90f4ddd2b150a09606255ea61186d2e4e69ad2600fc40369c693c7
|
||||
DIST helm-3.9.0.tar.gz 2366592 BLAKE2B 8aeaecf444127dc9758c1116c2f2b6d6a11515b7a549444ba13cc2e6cb48c301ff76343220af2328af89050e210ceed00b5c45e9dee0c0546c40066b5c0bde0a SHA512 bf3917fb06e7d841fddb0b7a0f493dd18ea73568e84c2a535f3fffa1582efb65268a668f23871f66d221caa8be166b667e43095adb59342e3b2a130c5a59d708
|
||||
DIST helm-3.9.1.tar.gz 2370645 BLAKE2B 819f0bf8cbd3728a78e90da6955f799a8ad2320323a9a16eb72a4fcfe21c04995f0fd0072a7a8bf6fcf593dedc4c3b224f0310ec317b9e39f326b4c147343b1b SHA512 7cd5d93493a08ec173b6786ec4e0cbaf3a90473f7ef8f7564232cedc438ed01466faeb8aced07419aedadd1469c8c43fe6072ee725643e133ceb3004675dc3b7
|
||||
EBUILD helm-3.8.8.ebuild 717 BLAKE2B 88673316473a486ed6a5f5efd5e1d78d5027e7fb980aab7503c2acb425d57d56fb2269b5dbc4aa4a971555443fc2f7451902ae5127f3a817f30a30573f9e87dc SHA512 8f2cdbf3dbeeb4172a6c55ad8ca6d54ebc7109b506572a87e4d8c58534e88d52df6f12e5f8297fde903b4e4cef4e160f97a8d13d4a4c6b8e758d31fd9e2ecfa7
|
||||
DIST helm-3.9.3.tar.gz 2373295 BLAKE2B ff34d5a68a1e25571c734185a37843d958b859096c22ca0222b64fb684a6de607d11b08f7beaa618f0017126c744f7f12dfe9d3ea03757874e485f4bdb5c2fc8 SHA512 4c1cce5eb93f89f388fb5da6a813f819867db6bc965ca378a788eaa5bf17c577b20034be9df57691737662d34809da4d86532b8b98765d6f102f84ee2169e80b
|
||||
EBUILD helm-3.9.0.ebuild 724 BLAKE2B 672394f3f4088fd07b141b5f5ef324439713898ca45b63e0a9c3faa62ec309acbd7148a7c1dc737547926eb9b6b4170769b37c463a632aa80568592451b4ebbf SHA512 1c2f85b8e68468a0ba535dbbdb11a53d6ee4d6fa52b87c0ef6401e2206d798382f08e52a6f2a93750de5a1579a1989084fdb95117c201ab33e3641c7c790573b
|
||||
EBUILD helm-3.9.1.ebuild 726 BLAKE2B 7347a810765b4c6f9475c04699553151603648db65db533ec786ff4bbbdca9f00430d97803c80b710077ec262a9b31b19b9c1f22c0b03190a41918fecc5516a2 SHA512 0586031bc2f2ef226861a8be5f8763ed33e94b79e95aef9ec0e478ee87e19b4b8c13cafd6c00299fd49137d86065ed37d92ff058d52412e1b047212d24632a25
|
||||
EBUILD helm-3.9.3.ebuild 726 BLAKE2B 7347a810765b4c6f9475c04699553151603648db65db533ec786ff4bbbdca9f00430d97803c80b710077ec262a9b31b19b9c1f22c0b03190a41918fecc5516a2 SHA512 0586031bc2f2ef226861a8be5f8763ed33e94b79e95aef9ec0e478ee87e19b4b8c13cafd6c00299fd49137d86065ed37d92ff058d52412e1b047212d24632a25
|
||||
MISC metadata.xml 822 BLAKE2B 5de057ddb881d67550d3e8cd0be43d3328b8e7a38b98338ffccec147095cd5d8f8bc68695c797a872e2ed7e455859fc1d6170f414231016edab5a8d742ad2a40 SHA512 08367530e4e47577e1812d229b97094b9c012c4c91eb7e69f5724e98d8790327fe35fb9b480cf33eedd105f1fd85133c39397eda0426461d80bdee704a51c55a
|
||||
|
@ -1,8 +1,8 @@
|
||||
AUX package-lint-symbol-info-data-directory.patch 1249 BLAKE2B 119c77c1a720bb08be8dc82b74eba56b0ada00bdc769d6efa644613e582613929e4e1a64ef932160053e07275d533dad86db83d0441c69487a7505bf9cb9dbf4 SHA512 ca0bf2708d7d06361b604f1ac0466f0273492629f827939424a5c1bc764bf1756f71b69eab29eab9db76b168db7e45ab370ff0c8e5ac601bff08a4bd4424a745
|
||||
DIST package-lint-0.16.tar.gz 224744 BLAKE2B a1d26ae28727e305416498b66da188cbadababc9f415c199eff380dbce4888ee3137b6f13a26147d427142a9d244c784e192d21df3173d0a0c2dde4acb1e8630 SHA512 f5d79b69d37671233614a622cd5fd6c28c230adb0d5b7934ccd6bedc12228adb7bdef6739fdd32be383cefceb65b9538a00f763b49be6499e4b6e3f8b1a34616
|
||||
DIST package-lint-0.17.tar.gz 284965 BLAKE2B 752adde42a820f54adef63cbe9f0cebef5af1d4d51dfefe9bf1c18929e739137081b722632f1fae8e171f4e25c0b9b15b47d9b3fb2c0f0542b214054c46ea190 SHA512 3f2240e03f67d6575b93643d26abd768bfe71fa1223c38b5b889c0f11784d22d3ad1849fa8f1424dccafc3befafdb49b1d796f175867490db96534c0e4b5f25e
|
||||
DIST package-lint-0.18.tar.gz 319579 BLAKE2B ba9ebc1bb3155b24ae6bfb7ce78f2360502ebac2aaa9f06bbe30c59b750cf3d4cafc318c2e0da9cd6414837d5bf2ad187cb6d4b3cf4edef4d10dffb453b1e06a SHA512 5f39e9de275b7d57e8a9cefa1edfd244e004ee5b436ac500739b5b615795cc894443f1596801a493cd60f9205c02203c12e9577893212b1f03e47eed66100471
|
||||
EBUILD package-lint-0.16-r1.ebuild 745 BLAKE2B b114a345947a6dd90275147bd3b29f0678553c35dcd9422522f8b9885d4ad4eca661550e0c8b97c0719e3a5b1e280c93cf1f94432e687d33d10454d56dbeae07 SHA512 d88793f42a0f8bc5019ccd7fb119580e4e1cb8afb80eb3c6b5419407b70c78bacb6ad3051a13c85c6face482a3b39865ee28c67435af6b7425099604968f92c7
|
||||
DIST package-lint-0.19.tar.gz 319593 BLAKE2B f17822bb2fd08c6e468457abfd283bfa8e3eab94bf7daf76701bcc603d4f73cd205348a19f403d78321402dce3b09f2f13a7ce27f34a96db19feff42fcb0389d SHA512 5024d45b5c3c6b6f958884b7bcf5ae9fb27afd61d66353c421de89b05abc87457fd6b301f0aa0254a9fdbea57e88a0ecbdc03eeb5a710c1a29a88af29626c850
|
||||
EBUILD package-lint-0.17.ebuild 745 BLAKE2B b114a345947a6dd90275147bd3b29f0678553c35dcd9422522f8b9885d4ad4eca661550e0c8b97c0719e3a5b1e280c93cf1f94432e687d33d10454d56dbeae07 SHA512 d88793f42a0f8bc5019ccd7fb119580e4e1cb8afb80eb3c6b5419407b70c78bacb6ad3051a13c85c6face482a3b39865ee28c67435af6b7425099604968f92c7
|
||||
EBUILD package-lint-0.18.ebuild 745 BLAKE2B b114a345947a6dd90275147bd3b29f0678553c35dcd9422522f8b9885d4ad4eca661550e0c8b97c0719e3a5b1e280c93cf1f94432e687d33d10454d56dbeae07 SHA512 d88793f42a0f8bc5019ccd7fb119580e4e1cb8afb80eb3c6b5419407b70c78bacb6ad3051a13c85c6face482a3b39865ee28c67435af6b7425099604968f92c7
|
||||
EBUILD package-lint-0.19.ebuild 745 BLAKE2B b114a345947a6dd90275147bd3b29f0678553c35dcd9422522f8b9885d4ad4eca661550e0c8b97c0719e3a5b1e280c93cf1f94432e687d33d10454d56dbeae07 SHA512 d88793f42a0f8bc5019ccd7fb119580e4e1cb8afb80eb3c6b5419407b70c78bacb6ad3051a13c85c6face482a3b39865ee28c67435af6b7425099604968f92c7
|
||||
MISC metadata.xml 1239 BLAKE2B 108fe66a5ec45cea84e75f042a5952af1ef92e4993b55f46e3392758beb9667562101cd7c1024d0089bd8ad66c9247fdb267e737030ae6b02fba7726cd27f1fc SHA512 227780ef543751dbda0bd612eca5e474ded35b199e380cb18c984d8e9e23ace2e5b08289687b169d420cf7f84baead74e2897af392f21a76e3e158b79e6c5f32
|
||||
|
Binary file not shown.
@ -1,4 +1,6 @@
|
||||
AUX detachtty-11.0.0-clang16-build-fix.patch 810 BLAKE2B 9583e3c87803b78ffba6d86cf3786be0eacca2a186d6e5fd612157355ae22003d28139b541ef96de3342c7560ca4accda9ea62fd4f40a0f63bca97404993e4c9 SHA512 6ba2ba204097e756609c2c9af17b53a49d87cc45ab2a79d3fa775367ffc6920acba8c4c5f5760a3bf567dd961f1b41b79abefaad8db238dbab69fc812727babe
|
||||
AUX detachtty-11.0.0-sparc.patch 2669 BLAKE2B c1912520e5e7388bd905059a0d3f0d28726533884c4eafa89b1f6800feb2e05740dd96ee0b501f76d4f2329cf0e49b7b349d6990e12c359be13615f84e77670b SHA512 b62b7f809d79ba8f391f4f3b0c84eb969884b9de1f8ef27a50e1af84f6fe6f699c17321a6f4b225ae8c64d463c090a1bb5d105bf450a01aec4ccf8bb189449f5
|
||||
DIST detachtty-11.0.0.tar.gz 23189 BLAKE2B 734489fe35acb5bfb381b8fee1b91d60f15ec795f2ba58f5855544d913957f7da4174c15583dc4090e397c5f562e78a23c1534a741a9812980f4a9cd2d2e291e SHA512 608d68ebe9b8fae55b4295b9c50d8e9065226dbb78818535af79bd2e70cc4a831820b6c673414289548b1063843b5dc80c8b7d2371dd716a16eceb20cd064a10
|
||||
EBUILD detachtty-11.0.0-r1.ebuild 681 BLAKE2B 61382cb119e896487f13e974751c3a0b7f258c717f1595bfb5167f0c96f795b6d5fe5cfe13a5f6761ab4bc0b758f9eb15c3f330ce4631ca42612f167e0c723bd SHA512 70ffe9f2a4d6f4f683a546367797997951551a942c3f8a31b54f2682af019976b10a707347c4df16b3a9b5685af26d8901ba411460197e048df26ede575a00e7
|
||||
EBUILD detachtty-11.0.0.ebuild 632 BLAKE2B 0a118db31a6f4dc05bb848f53d1949728deaa4956458bd9ca0848f16e49516605bc0a7e2ed494d090a16c3b6f6d6a6096ff0533059cb69df6fb4b9d83108a1c8 SHA512 6cdbf7fcfb37ec030344cf6ac68b544bbe8f68bad4fefde6f565c85a7ccc9cea6c825a09c0cd96bf7c6539c4019c665548d4a9971a81e2a00ea504417ca55b2f
|
||||
MISC metadata.xml 722 BLAKE2B 37cae352305296b27699d3259b62de49d3e418e3d10edd854ff9f8ad8eb1aef245242bdf386e300d0426d21f184c8c5d64fe4eec7ffa7de4a6e156b5d0b0294f SHA512 07d6b9a618776747b6cdaa0d80abd0e8ad2d7dee3314ef16609aea1bfad9cc98acfa86879b02b53e98a1f3adf87b8a8790563761d39d0899d377a699f89588e1
|
||||
MISC metadata.xml 805 BLAKE2B 7414ac0367f4111cd0e453909bcc8ea89b921f0ef5c4bed76bf8751f2965eff639c1d0122605fe9e1383d16df8002f5235f0196cec6b8fe879c36e65c25a2a23 SHA512 311aec96e3feda42a65a924c56107f6e0b303e8bd1f702ca73557dbaeb6499cdc5bc062c5794a89c618312e558e66e4b0e9ff42d0667ccdd13389d92a353906f
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Attach/detach from interactive processes across the network"
|
||||
HOMEPAGE="https://github.com/cosmos72/detachtty"
|
||||
SRC_URI="https://github.com/cosmos72/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-sparc.patch"
|
||||
"${FILESDIR}/${P}-clang16-build-fix.patch"
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin attachtty detachtty
|
||||
doman "${PN}.1"
|
||||
dosym detachtty.1 /usr/share/man/man1/attachtty.1
|
||||
einstalldocs
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
Bug: https://bugs.gentoo.org/894544
|
||||
Upstream PR: https://github.com/cosmos72/detachtty/pull/6
|
||||
--- a/attachtty.c
|
||||
+++ b/attachtty.c
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
#include <errno.h>
|
||||
#include <time.h>
|
||||
+#include <string.h>
|
||||
|
||||
#include "config.h"
|
||||
|
||||
--- a/config.h
|
||||
+++ b/config.h
|
||||
@@ -24,7 +24,7 @@
|
||||
#define DETACHTTY_CONFIG_H
|
||||
|
||||
#include <netdb.h>
|
||||
-#include <sys/poll.h>
|
||||
+#include <poll.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/un.h>
|
||||
--- a/copy-stream.c
|
||||
+++ b/copy-stream.c
|
||||
@@ -23,6 +23,7 @@
|
||||
#include <errno.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
+#include <string.h>
|
||||
|
||||
#include "config.h"
|
||||
|
||||
--- a/detachtty.c
|
||||
+++ b/detachtty.c
|
||||
@@ -26,6 +26,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <pty.h>
|
||||
#include <fcntl.h>
|
||||
+#include <string.h>
|
||||
|
||||
#ifndef UNIX_PATH_MAX
|
||||
# define UNIX_PATH_MAX 108
|
@ -1,127 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Auto-Generated by cargo-ebuild 0.5.4
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
ahash-0.7.6
|
||||
aho-corasick-0.7.20
|
||||
ariadne-0.1.5
|
||||
atty-0.2.14
|
||||
autocfg-1.1.0
|
||||
bincode-1.3.3
|
||||
bitflags-1.3.2
|
||||
cc-1.0.79
|
||||
cfg-if-1.0.0
|
||||
chumsky-0.9.2
|
||||
clap-4.0.22
|
||||
clap_derive-4.0.21
|
||||
clap_lex-0.3.2
|
||||
colored_json-3.0.1
|
||||
dyn-clone-1.0.11
|
||||
either-1.8.1
|
||||
env_logger-0.10.0
|
||||
fastrand-1.9.0
|
||||
getrandom-0.2.8
|
||||
hashbrown-0.12.3
|
||||
heck-0.4.1
|
||||
hermit-abi-0.1.19
|
||||
hifijson-0.2.0
|
||||
indexmap-1.9.2
|
||||
instant-0.1.12
|
||||
itertools-0.10.5
|
||||
itoa-1.0.6
|
||||
libc-0.2.139
|
||||
libmimalloc-sys-0.1.30
|
||||
log-0.4.17
|
||||
memchr-2.5.0
|
||||
memmap2-0.5.10
|
||||
mimalloc-0.1.34
|
||||
once_cell-1.17.1
|
||||
os_str_bytes-6.4.1
|
||||
proc-macro-error-1.0.4
|
||||
proc-macro-error-attr-1.0.4
|
||||
proc-macro2-1.0.51
|
||||
quote-1.0.23
|
||||
redox_syscall-0.2.16
|
||||
regex-1.7.1
|
||||
remove_dir_all-0.5.3
|
||||
ryu-1.0.13
|
||||
serde-1.0.152
|
||||
serde_derive-1.0.152
|
||||
serde_json-1.0.94
|
||||
strsim-0.10.0
|
||||
syn-1.0.109
|
||||
tempfile-3.3.0
|
||||
termcolor-1.2.0
|
||||
unicode-ident-1.0.8
|
||||
version_check-0.9.4
|
||||
wasi-0.11.0+wasi-snapshot-preview1
|
||||
winapi-0.3.9
|
||||
winapi-i686-pc-windows-gnu-0.4.0
|
||||
winapi-util-0.1.5
|
||||
winapi-x86_64-pc-windows-gnu-0.4.0
|
||||
yansi-0.5.1
|
||||
"
|
||||
|
||||
declare -A GIT_CRATES=(
|
||||
[regex-syntax]="https://github.com/01mf02/regex;90eebbdb9396ca10510130327073a3d596674d04;regex-%commit%/regex-syntax"
|
||||
)
|
||||
|
||||
inherit cargo
|
||||
|
||||
DESCRIPTION="Just another JSON query tool"
|
||||
# Double check the homepage as the cargo_metadata crate
|
||||
# does not provide this value so instead repository is used
|
||||
HOMEPAGE="https://github.com/01mf02/jaq"
|
||||
SRC_URI="
|
||||
https://github.com/01mf02/jaq/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz
|
||||
$(cargo_crate_uris)
|
||||
"
|
||||
|
||||
# License set may be more restrictive as OR is not respected
|
||||
# use cargo-license for a more accurate license picture
|
||||
LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 EPL-2.0 MIT Unicode-DFS-2016 Unlicense"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
BDEPEND="
|
||||
app-misc/yq
|
||||
"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/jaq"
|
||||
|
||||
DOCS=(
|
||||
README.md
|
||||
examples/
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
local crate crate_uri commit crate_dir sedexpr ifs
|
||||
for crate in "${!GIT_CRATES[@]}"; do
|
||||
IFS=';' read -r crate_uri commit crate_dir <<< "${GIT_CRATES[${crate}]}"
|
||||
: "${crate_dir:=${crate}-%commit%}"
|
||||
|
||||
# replace git patch for crates.io
|
||||
sedexpr+="s@^(${crate}[[:space:]]*=[[:space:]]*[{][[:space:]]*.*)[[:space:]]*git[[:space:]]*=[[:space:]]*[\"'][[:graph:]]+[\"'](,|)(.*[[:space:]]*[}])@\\1path = \"${WORKDIR}/${crate_dir//%commit%/${commit}}\",\\3 @;"
|
||||
|
||||
# get rid of the rev=
|
||||
sedexpr+="s@^(${crate}[[:space:]]*=[[:space:]]*[{][[:space:]]*.*)[[:space:]]*rev[[:space:]]*=[[:space:]]*[\"'][[:alnum:]]+[\"'](,|[[:space:]]*)(.*[[:space:]]*[}])@\\1\\3@;"
|
||||
|
||||
# make sure we don't have a trailing comma
|
||||
sedexpr+="s@^(${crate}[[:space:]]*=[[:space:]]*[{][[:space:]]*.*),([[:space:]]*[}])@\\1\\2@;"
|
||||
done
|
||||
|
||||
sed -r -e "${sedexpr}" -i Cargo.toml || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd "${S}/jaq" >/dev/null || die
|
||||
cargo_src_install
|
||||
popd >/dev/null || die
|
||||
default
|
||||
}
|
@ -1,127 +0,0 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Auto-Generated by cargo-ebuild 0.5.4
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
ahash-0.7.6
|
||||
aho-corasick-0.7.20
|
||||
ariadne-0.1.5
|
||||
atty-0.2.14
|
||||
autocfg-1.1.0
|
||||
bincode-1.3.3
|
||||
bitflags-1.3.2
|
||||
cc-1.0.79
|
||||
cfg-if-1.0.0
|
||||
chumsky-0.9.2
|
||||
clap-4.0.22
|
||||
clap_derive-4.0.21
|
||||
clap_lex-0.3.2
|
||||
colored_json-3.0.1
|
||||
dyn-clone-1.0.11
|
||||
either-1.8.1
|
||||
env_logger-0.10.0
|
||||
fastrand-1.9.0
|
||||
getrandom-0.2.8
|
||||
hashbrown-0.12.3
|
||||
heck-0.4.1
|
||||
hermit-abi-0.1.19
|
||||
hifijson-0.2.0
|
||||
indexmap-1.9.2
|
||||
instant-0.1.12
|
||||
itertools-0.10.5
|
||||
itoa-1.0.6
|
||||
libc-0.2.140
|
||||
libmimalloc-sys-0.1.30
|
||||
log-0.4.17
|
||||
memchr-2.5.0
|
||||
memmap2-0.5.10
|
||||
mimalloc-0.1.34
|
||||
once_cell-1.17.1
|
||||
os_str_bytes-6.4.1
|
||||
proc-macro-error-1.0.4
|
||||
proc-macro-error-attr-1.0.4
|
||||
proc-macro2-1.0.52
|
||||
quote-1.0.26
|
||||
redox_syscall-0.2.16
|
||||
regex-1.7.1
|
||||
remove_dir_all-0.5.3
|
||||
ryu-1.0.13
|
||||
serde-1.0.155
|
||||
serde_derive-1.0.155
|
||||
serde_json-1.0.94
|
||||
strsim-0.10.0
|
||||
syn-1.0.109
|
||||
tempfile-3.3.0
|
||||
termcolor-1.2.0
|
||||
unicode-ident-1.0.8
|
||||
version_check-0.9.4
|
||||
wasi-0.11.0+wasi-snapshot-preview1
|
||||
winapi-0.3.9
|
||||
winapi-i686-pc-windows-gnu-0.4.0
|
||||
winapi-util-0.1.5
|
||||
winapi-x86_64-pc-windows-gnu-0.4.0
|
||||
yansi-0.5.1
|
||||
"
|
||||
|
||||
declare -A GIT_CRATES=(
|
||||
[regex-syntax]="https://github.com/01mf02/regex;90eebbdb9396ca10510130327073a3d596674d04;regex-%commit%/regex-syntax"
|
||||
)
|
||||
|
||||
inherit cargo
|
||||
|
||||
DESCRIPTION="Just another JSON query tool"
|
||||
# Double check the homepage as the cargo_metadata crate
|
||||
# does not provide this value so instead repository is used
|
||||
HOMEPAGE="https://github.com/01mf02/jaq"
|
||||
|
||||
MY_PV="${PV//_/-}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
SRC_URI="
|
||||
https://github.com/01mf02/jaq/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz
|
||||
$(cargo_crate_uris)
|
||||
"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# License set may be more restrictive as OR is not respected
|
||||
# use cargo-license for a more accurate license picture
|
||||
LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 EPL-2.0 MIT Unicode-DFS-2016 Unlicense"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/jaq"
|
||||
|
||||
DOCS=(
|
||||
README.md
|
||||
examples/
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
local crate crate_uri commit crate_dir sedexpr ifs
|
||||
for crate in "${!GIT_CRATES[@]}"; do
|
||||
IFS=';' read -r crate_uri commit crate_dir <<< "${GIT_CRATES[${crate}]}"
|
||||
: "${crate_dir:=${crate}-%commit%}"
|
||||
|
||||
# replace git patch for crates.io
|
||||
sedexpr+="s@^(${crate}[[:space:]]*=[[:space:]]*[{][[:space:]]*.*)[[:space:]]*git[[:space:]]*=[[:space:]]*[\"'][[:graph:]]+[\"'](,|)(.*[[:space:]]*[}])@\\1path = \"${WORKDIR}/${crate_dir//%commit%/${commit}}\",\\3 @;"
|
||||
|
||||
# get rid of the rev=
|
||||
sedexpr+="s@^(${crate}[[:space:]]*=[[:space:]]*[{][[:space:]]*.*)[[:space:]]*rev[[:space:]]*=[[:space:]]*[\"'][[:alnum:]]+[\"'](,|[[:space:]]*)(.*[[:space:]]*[}])@\\1\\3@;"
|
||||
|
||||
# make sure we don't have a trailing comma
|
||||
sedexpr+="s@^(${crate}[[:space:]]*=[[:space:]]*[{][[:space:]]*.*),([[:space:]]*[}])@\\1\\2@;"
|
||||
done
|
||||
|
||||
sed -r -e "${sedexpr}" -i Cargo.toml || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd "${S}/jaq" >/dev/null || die
|
||||
cargo_src_install
|
||||
popd >/dev/null || die
|
||||
default
|
||||
}
|
@ -0,0 +1,114 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Auto-Generated by cargo-ebuild 0.5.4
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
ahash@0.7.6
|
||||
aho-corasick@1.0.2
|
||||
ariadne@0.1.5
|
||||
atty@0.2.14
|
||||
bincode@1.3.3
|
||||
bitflags@1.3.2
|
||||
cc@1.0.79
|
||||
cfg-if@1.0.0
|
||||
chumsky@0.9.2
|
||||
clap@4.0.22
|
||||
clap_derive@4.0.21
|
||||
clap_lex@0.3.2
|
||||
colored_json@3.0.1
|
||||
dyn-clone@1.0.11
|
||||
either@1.8.1
|
||||
env_logger@0.10.0
|
||||
equivalent@1.0.0
|
||||
fastrand@1.9.0
|
||||
getrandom@0.2.10
|
||||
hashbrown@0.12.3
|
||||
hashbrown@0.14.0
|
||||
heck@0.4.1
|
||||
hermit-abi@0.1.19
|
||||
hifijson@0.2.0
|
||||
indexmap@2.0.0
|
||||
instant@0.1.12
|
||||
itertools@0.10.5
|
||||
itoa@1.0.8
|
||||
libc@0.2.147
|
||||
libm@0.2.7
|
||||
libmimalloc-sys@0.1.33
|
||||
log@0.4.19
|
||||
memchr@2.5.0
|
||||
memmap2@0.5.10
|
||||
mimalloc@0.1.37
|
||||
once_cell@1.18.0
|
||||
os_str_bytes@6.4.1
|
||||
proc-macro-error-attr@1.0.4
|
||||
proc-macro-error@1.0.4
|
||||
proc-macro2@1.0.63
|
||||
quote@1.0.29
|
||||
redox_syscall@0.2.16
|
||||
regex-automata@0.3.0
|
||||
regex-syntax@0.7.3
|
||||
regex@1.9.0
|
||||
remove_dir_all@0.5.3
|
||||
ryu@1.0.14
|
||||
serde@1.0.155
|
||||
serde_derive@1.0.155
|
||||
serde_json@1.0.99
|
||||
strsim@0.10.0
|
||||
syn@1.0.109
|
||||
tempfile@3.3.0
|
||||
termcolor@1.2.0
|
||||
time-core@0.1.1
|
||||
time-macros@0.2.9
|
||||
time@0.3.22
|
||||
unicode-ident@1.0.10
|
||||
version_check@0.9.4
|
||||
wasi@0.11.0+wasi-snapshot-preview1
|
||||
winapi-i686-pc-windows-gnu@0.4.0
|
||||
winapi-util@0.1.5
|
||||
winapi-x86_64-pc-windows-gnu@0.4.0
|
||||
winapi@0.3.9
|
||||
yansi@0.5.1
|
||||
"
|
||||
|
||||
inherit cargo
|
||||
|
||||
DESCRIPTION="Just another JSON query tool"
|
||||
HOMEPAGE="https://github.com/01mf02/jaq"
|
||||
|
||||
MY_PV="${PV//_/-}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
SRC_URI="
|
||||
https://github.com/01mf02/jaq/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz
|
||||
${CARGO_CRATE_URIS}
|
||||
"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="MIT"
|
||||
# Dependent crate licenses
|
||||
LICENSE+="
|
||||
BSD EPL-2.0 MIT Unicode-DFS-2016
|
||||
|| ( Apache-2.0 Boost-1.0 )
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
BDEPEND="
|
||||
>=virtual/rust-1.62
|
||||
"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/jaq"
|
||||
|
||||
DOCS=(
|
||||
README.md
|
||||
examples/
|
||||
)
|
||||
|
||||
src_install() {
|
||||
pushd "${S}/jaq" >/dev/null || die
|
||||
cargo_src_install
|
||||
popd >/dev/null || die
|
||||
default
|
||||
}
|
@ -1,11 +1,13 @@
|
||||
AUX screen-4.3.0-no-utempter.patch 341 BLAKE2B 3339783b3574f82f093c82a613ad18c5c58c184c082c2c311281cdd57e7176abae0f5935466a4a8b4d931d1d1b93d8f0a4e6b558a268553af4a0170061e6ebfe SHA512 f4191ba1ecac3076f958f56309c0a1d523b455fa4e3388f1cfca59c8ccff0afdfb20ef18d54794ba539b2b6d1511ed599dc44787344dc5ccce2902c9b9848155
|
||||
AUX screen-4.6.2-utmp-exit.patch 1558 BLAKE2B e08e83f8b9f0cd09cd9bad4486a75d71bd899a7917954702ece0837099639079a746138374cbeaf71072cca64ae36a3c2a32250123c6747089e724272227e0dd SHA512 0e7c6c224f6fb8e01650b778cb2b155942752504dc97112d9594b7fa0da1bb8bd828240a2519b1c21f1c162181da89a8daa51ef7f74c8ced0b85cdb3e911a67c
|
||||
AUX screen-4.9.0-CVE-2023-24626.patch 1039 BLAKE2B ba35a0be4d75b02f08d29f0c135103213cc2d875cd4bbd39cd8ae7cc000eb7fb1b0671844220e0bb6ec48283d1c265c4ea889d82e5882af60c8472d71c57c6f9 SHA512 591599518c2a6505b2407834e9c676d8269eb5f2e8165e113885ee5e18a9176b5e0fc99c8a827f672126212c58257a7a5d852a484a46414026e0960c7e233315
|
||||
AUX screen-4.9.0-clang16-chmod.patch 303 BLAKE2B c55b727ca1d7a7acd758c1f123467d53e4d0f4909097f3c560b78910555f0312b9844ca202163c00bea36964c0fbbee6d5634e9926948aca628328ef1f9e0eee SHA512 8ccd19b9462514f6d91c5a3d7be69d808c2011e02ce0000b6730497ea2639a2ea5d0769e52bf0764d3e5e39ec01bcc965222928c89a2873995fb1d09051aee91
|
||||
AUX screen-4.9.0-configure-implicit-function-decls.patch 16667 BLAKE2B 6079042dae21c51b81176aadf27314cf0502fcee995bd9668102bc114ac0c2fdb6587fe2c647cbd92d994cb9b6fdba9e259a1f0a6bd7cf7d7905c3f7e36e8aff SHA512 c9ff18fccba0a0ed19e64509ea128b91bbb6fac405e8395ce724435f1af2f2015f645342aa1fc1b4cb023927412db6e1c242c8060a81deab2a8c064523dedd4d
|
||||
AUX screen-9999-no-utempter.patch 465 BLAKE2B be4d690d2f478a2660cb3c0b0f83d9a62328b82b06b85860a84e1b3a924c751080d7e9f35c4b48c3fe6a0152ae75df1dc665b97f8bc70e026bbadd19d4891df1 SHA512 c011936e35e04e7704b0d8d7892f2ebe22fb6993241e7c4b6733e48f6400ca8aeb20c638108018fab006e402332460e89d321e2118f564316e3f7e26a05212d2
|
||||
AUX screenrc 10412 BLAKE2B f4866f4a83b22c37484b66e4c7d52ec479fe12ae3e72e5c9e769b1b543ecf04d14ef4339e1c72064741cbf39502ef82d3beb213326a30889f128e135f60bd528 SHA512 06fbec5e28480a2c369330fac0c94faa47e5d28e037d9fefd0cb3e813002c504866dc8ac86872b7ac6f16059a219e396a9c425b578b8afe882153ddb506158f7
|
||||
DIST screen-4.9.0.tar.gz 798229 BLAKE2B 0f64a14ce9a719bd4a6d045c55069769045a09ee2086c44c2e3d9da6d1e5ada2f094e00e16029767e1155ce35d4f360d0e2879995eefa052f3214ced71b7617c SHA512 18bbb085d77ecd02cbc02fa88a945c39f06e0c6de4eeaa16b278440dac5c9896811abbe0838144e997cd344ae08b9530399fa8fcb31a65fc571ead90e8307f84
|
||||
EBUILD screen-4.9.0-r1.ebuild 3799 BLAKE2B 9122bd6fe28ed527d67e39ff496ea5250160aeb434339c40a61ab247474574c46d837af4104e5708bfbef5e293647e0a407ac4b4d6ab0ec34a0b0430b4bb4385 SHA512 b47d14da8ff0ff3daf772dbfcc3820d40e5bb38be6445912e460e0f61cb615adffc174e03f52b69337c7a710cfe60275e636f0d882e350ef723712531ac9f2a9
|
||||
EBUILD screen-4.9.0-r2.ebuild 3853 BLAKE2B 80cb85fffcb64598b4fa69753b72e460e47e953bcef070b35d2e34ac851cfd5e51f2d5cac74a73598abf3d967866e1306a7db81f64c7cc3a12813d95dde54ac0 SHA512 fb77ebc81eee36b71b7667ff2bac1d6e132eebeebd5b127c467ae9cf0c1a2237601ff4140b2ff96fd457b4cdc9144cf89d30b4efdd23874c8e45f4c42aaa89b7
|
||||
EBUILD screen-4.9.0-r3.ebuild 3908 BLAKE2B e92d53fe269ecdfea1b9c7d2a8bc76edb19c2ca07873898ad6af95307ff940bd150102d4879c6ff1accaf486e6a5508cc005c6a27b1aa037e92a13fc6bcc4ccc SHA512 de4a3debc5546cb6ebfbac88422d2b13af9710f7c302ff0dcdb1c01527aa3648c1eb93ce4a7c843d59678eedcf4c4245425cae2eab7c33e9fdc3c0ae3ce23813
|
||||
EBUILD screen-9999.ebuild 3737 BLAKE2B 2baafb117eaf022530aa430d7b9ba7b810e7995dcad916ee4d96cf4ff5933aa437119621a7a8b984148f74277f089fe6b7ab7fbe244411d89f66781bee76f9b8 SHA512 95259ccf47b3f934857cd166b4c8ca9cdef1578d2e130590d60cf72e8be6928998eaa6595a566168c7b976662f4b2507a264414036c13572d845c2f388af9b58
|
||||
MISC metadata.xml 1894 BLAKE2B 2312aa5911bfd18b3f9202ccb52afa84f2a29462c8282d36a84fb9624f5ff9bcf3d96e06cace55d542ff7c8182eed5560483717265ecc3fc9218e43bdf9d9094 SHA512 a7c331d1614b5bf139d61a72ad27c070184c208039da97c218b55e07a699d635c0db20ec3792c87d93affa2cb038ae834adcf3dc7c37a4b5c2f8aa36b081cfca
|
||||
|
@ -0,0 +1,12 @@
|
||||
Bug: https://bugs.gentoo.org/894562
|
||||
Taken from: https://git.savannah.gnu.org/cgit/screen.git/commit/?id=7f320d3a643ec95682a7213b7e991e27038d8a57
|
||||
--- a/display.c
|
||||
+++ b/display.c
|
||||
@@ -27,6 +27,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
+#include <sys/stat.h>
|
||||
#include <signal.h>
|
||||
#include <fcntl.h>
|
||||
#ifndef sun
|
@ -0,0 +1,148 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools flag-o-matic pam tmpfiles
|
||||
|
||||
DESCRIPTION="screen manager with VT100/ANSI terminal emulation"
|
||||
HOMEPAGE="https://www.gnu.org/software/screen/"
|
||||
|
||||
if [[ ${PV} != 9999 ]] ; then
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
else
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://git.savannah.gnu.org/git/screen.git"
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/${P}" # needed for setting S later on
|
||||
S="${WORKDIR}"/${P}/src
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
IUSE="debug nethack pam selinux multiuser"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2:=
|
||||
virtual/libcrypt:=
|
||||
pam? ( sys-libs/pam )"
|
||||
RDEPEND="${DEPEND}
|
||||
acct-group/utmp
|
||||
selinux? ( sec-policy/selinux-screen )"
|
||||
BDEPEND="sys-apps/texinfo"
|
||||
|
||||
PATCHES=(
|
||||
# Don't use utempter even if it is found on the system.
|
||||
"${FILESDIR}"/${PN}-4.3.0-no-utempter.patch
|
||||
"${FILESDIR}"/${PN}-4.6.2-utmp-exit.patch
|
||||
"${FILESDIR}"/${PN}-4.9.0-configure-implicit-function-decls.patch
|
||||
"${FILESDIR}"/${P}-CVE-2023-24626.patch
|
||||
"${FILESDIR}"/${PN}-4.9.0-clang16-chmod.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# sched.h is a system header and causes problems with some C libraries
|
||||
mv sched.h _sched.h || die
|
||||
sed -i '/include/ s:sched.h:_sched.h:' screen.h || die
|
||||
|
||||
# Fix manpage
|
||||
sed -i \
|
||||
-e "s:/usr/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
|
||||
-e "s:/usr/local/screens:${EPREFIX}/tmp/screen:g" \
|
||||
-e "s:/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
|
||||
-e "s:/etc/utmp:${EPREFIX}/var/run/utmp:g" \
|
||||
-e "s:/local/screens/S\\\-:${EPREFIX}/tmp/screen/S\\\-:g" \
|
||||
doc/screen.1 || die
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] || use elibc_musl; then
|
||||
sed -i -e '/^#define UTMPOK/s/define/undef/' acconfig.h || die
|
||||
fi
|
||||
|
||||
# disable musl dummy headers for utmp[x]
|
||||
use elibc_musl && append-cppflags "-D_UTMP_H -D_UTMPX_H"
|
||||
|
||||
# reconfigure
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-cppflags "-DMAXWIN=${MAX_SCREEN_WINDOWS:-100}"
|
||||
|
||||
if [[ ${CHOST} == *-solaris* ]]; then
|
||||
# enable msg_header by upping the feature standard compatible
|
||||
# with c99 mode
|
||||
append-cppflags -D_XOPEN_SOURCE=600
|
||||
fi
|
||||
|
||||
use nethack || append-cppflags "-DNONETHACK"
|
||||
use debug && append-cppflags "-DDEBUG"
|
||||
|
||||
local myeconfargs=(
|
||||
--with-socket-dir="${EPREFIX}/tmp/${PN}"
|
||||
--with-sys-screenrc="${EPREFIX}/etc/screenrc"
|
||||
--with-pty-mode=0620
|
||||
--with-pty-group=5
|
||||
--enable-rxvt_osc
|
||||
--enable-telnet
|
||||
--enable-colors256
|
||||
$(use_enable pam)
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
LC_ALL=POSIX emake comm.h term.h
|
||||
emake osdef.h
|
||||
|
||||
emake -C doc screen.info
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=(
|
||||
README ChangeLog INSTALL TODO NEWS* patchlevel.h
|
||||
doc/{FAQ,README.DOTSCREEN,fdpat.ps,window_to_display.ps}
|
||||
)
|
||||
|
||||
emake DESTDIR="${D}" SCREEN="${P}" install
|
||||
|
||||
local tmpfiles_perms tmpfiles_group
|
||||
|
||||
if use multiuser || use prefix ; then
|
||||
fperms 4755 /usr/bin/${P}
|
||||
tmpfiles_perms="0755"
|
||||
tmpfiles_group="root"
|
||||
else
|
||||
fowners root:utmp /usr/bin/${P}
|
||||
fperms 2755 /usr/bin/${P}
|
||||
tmpfiles_perms="0775"
|
||||
tmpfiles_group="utmp"
|
||||
fi
|
||||
|
||||
newtmpfiles - screen.conf <<<"d /tmp/screen ${tmpfiles_perms} root ${tmpfiles_group}"
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins terminfo/{screencap,screeninfo.src}
|
||||
|
||||
insinto /etc
|
||||
doins "${FILESDIR}"/screenrc
|
||||
|
||||
if use pam; then
|
||||
pamd_mimic_system screen auth
|
||||
fi
|
||||
|
||||
dodoc "${DOCS[@]}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
elog "Some dangerous key bindings have been removed or changed to more safe values."
|
||||
elog "We enable some xterm hacks in our default screenrc, which might break some"
|
||||
elog "applications. Please check /etc/screenrc for information on these changes."
|
||||
fi
|
||||
|
||||
tmpfiles_process screen.conf
|
||||
|
||||
ewarn "This revision changes the screen socket location to ${EROOT}/tmp/${PN}"
|
||||
}
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST skrooge-2.29.0.tar.xz 22825768 BLAKE2B 7077fb27339c54f3bafb9224c30f7f22633d1318c7dd5aac0739fe24c0b5bf7092945ee30dfdf6ea03ea4ed849f79804f16c667e83e52af43af1bcedfdef7841 SHA512 7188ca3a5a9f6adbb0df986a08823813f71c7a11f184af19cbea88aa2ae4293269ad084487510676ab4095ed38c9fd951e7a31c142cc2e0f2b4b0077f84c5165
|
||||
DIST skrooge-2.30.0.tar.xz 22661568 BLAKE2B 32bbd16b40afd836016c9d590c17d71fde7225802890d862e275c6c694fa11db504f757f158ab94c4c034481e577a0f45d013f4d4d21d6d200265c7131f98c11 SHA512 5a96c7263fcbc0313562dd5a64de3c31219c0a6a8e610fd0cbabe0f16903b1123390f07d466341b8fd31695861ab5a006b7f5aee7986fbd0028138ec90aa8902
|
||||
EBUILD skrooge-2.29.0-r1.ebuild 2618 BLAKE2B fd6f4b7f07660fa930a744f6537dea72fe303b9f4c76aa8846bff24d3367f5f01e61bc0e5a26966e9b3a4d03126aafeee6a4bc38e1481aa4dec473053c444bd3 SHA512 4dbe9233e022410c5a0d5e642757e30a21f38872556c215fbbeb8042023146a042761cff48de487aa4cc896c1ea4e026ed5847eda505462899450bc94f0ea0d6
|
||||
EBUILD skrooge-2.30.0.ebuild 2594 BLAKE2B f4e6d3d0e3b61c2bec96ed57ba25a3a867040ea8ddd4846d1a1c5cf31727c4a9ec03f3946a82c08581ac7041bdbd0ded9df165ace629798815901f47283fa417 SHA512 741541ad7a20a0897da0048204a86431d8345b0e88afecbcfb1688f021e085e1fd8b953bbae55bce6074b086132f592ab6d88b4406fb68afeecf3bcb72ab0a94
|
||||
EBUILD skrooge-2.30.0.ebuild 2593 BLAKE2B 6367b62c8b8d39a2a8b8c0718191defe1745c8bd1e4dbe806923a28899eb00fae0982be5d0e682225128bc9139fe0cd2ddb31c6a319aea44721d467250a16fac SHA512 0b7785d16eeb228f196587c92c456f4e0da1095f2172ab39dffe97993c6e5cf0202cef5d8fdf0bb2998668fec5928f82444d90fb997339b04469a1cb1687f766
|
||||
MISC metadata.xml 393 BLAKE2B f192bb06b0b86aba02ffc2ade42d2e46927758d90759cb4c4c0edaea49e1aa82a119f073233b0028ece6a3ee976e942cb55becdf420d09c93dbb06230eedf4e7 SHA512 741040cc75c5a4df36ef09ee97fe652501754fca36884f52177936bd7b1a512e5f248e95a3e4c674918f56f76275c41899577b3621aa5e3fb97f18410f109c8a
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,9 +1,11 @@
|
||||
AUX squirrelsh-1.2.7-gcc6.patch 7031 BLAKE2B ea33b4989e47eaa8970b3c89a22448f093278d790c424256d2f836d6b5e057c41045785ae0c07be7c09c5869597c879b94fb6a9684ea2efef66dec5b2033828d SHA512 45dd46d6526d09416af23ba4668f374b5c1f48c1f71aebc361b385a298d1cf0c27b53657dc892dd6c2cfa542df5fc92cc978a3daa94b7b947bc24b958f7cb1ee
|
||||
AUX squirrelsh-drop-register.patch 329 BLAKE2B 5e0a56484d5014ce44080c7167b20a73db85bf4c7c40ec940e8d19ca24df8467bdab13d962130e06a4574c8287994aff1e291f77e2fbcc62fd27b60d864e8aec SHA512 83e45c8ecd28ceb11f69d97a3a8ca0d299df10423c2be7355dfd1881654bb33d2386d98c46a1bfd3ad57b0e7abc1f354dedaa809e8f16c1202c89b529304d892
|
||||
AUX squirrelsh-fix-in_LDFLAGS.patch 511 BLAKE2B f32272660d29a84b2e8b75d024ff533ce8121f66963e3f25291daed5dc144ddef1c0877d59b50e85a52b41c0a2a030ecd16dbb6d0fb94b07261192124598e546 SHA512 d7bc6f7f21a20e1123c986ece16098b7eec1887e6990a80a23367e2449df2ae913e02a137b2c7cefe6567a500d8fdd427f5c2bc1dc2ae845088d96ceb7c357e3
|
||||
AUX squirrelsh-no-docs.patch 885 BLAKE2B 0ceee5b6ce996caf1debec106327a9a59569446a5f271ec23f446ecf7eadf169a134bacb5160d5ed95fb874a36cd20daafb34e8cd3559d5d0fcd7bc6dc9f4f8c SHA512 3882fd15ba594a93ea46c3656a0efa8424099fee11e480cc7f89f70027f04ec56b7107b33cf51bbaaf188e54023c500e81c3ec7eb8e545ece270022684af8907
|
||||
AUX squirrelsh-no-strip.patch 903 BLAKE2B cefa3bb32d03e26f9aba808fcdfd9d8c7a7d2c03bec27cc2c31410c15e7d3649483f8266a77823835ed613f9b4e271951c478e93a6637f65cadb25d826086f11 SHA512 1d45054e11aef3f42dbf061b342adb942c0e370fac1b5eece0561a02a2f8799c158f221450bf82a4ead772cbc73a207dea9517af945840e975c65f30bdd1f6e1
|
||||
AUX squirrelsh-remove-forced-abi.patch 653 BLAKE2B 92710dce7c0375d8a2a5a9cde5300f9d7630a9296e82a2c7b15311f1298615e85a974af9fa77def60ef2a0e966e00decc5e4ac236f6c1e4257f1e4241277c85f SHA512 6e2b43c7ecff32fda8e2655722f97f48a0a92f6fe5e1e3aeb28bc3b5459fccefa3aa4c04aca016001661af229c59982caf7b09209d7004c2dd397493c873cd50
|
||||
AUX squirrelsh-rename-LDFLAGS.patch 4981 BLAKE2B 405bf56a8dec4ac1c0e62d3cbdc4c3b6fbcd38b443304607b42f85132e22ebb79211939fa651271db56702b7de5b0f46515f38ea57ed43b048fad14aeee6bb6b SHA512 eb8058878bd23332dd58970caac5121838bd52b7a63249013b305b09a95a1ca5914a526e4d0d052772f32086d1e2237feae56bfc4549987e71a6db60ffff6cd3
|
||||
DIST squirrelsh-1.2.7-src.tar.bz2 673462 BLAKE2B a2e6a1e0c3e3c5eeb329ec33596514e09657439723d34069b66b744f525318d237d15e951bf4c8fe364d50091cd8dcb2d25cae837ebdfd5a219c0bab20d1adce SHA512 7db82cad969ba209cae6b2d1c4cf76ba10acbf79c051f4340556ae81dc98d36dfb6f1f6993e9198e5a5254eaaab3fbaca3d01fc547c2f303572060b2093af78a
|
||||
EBUILD squirrelsh-1.2.7-r1.ebuild 1200 BLAKE2B b5c3956dcaa9241ea3cec392ee5baf653f792c8251ce8d10640ff52d9cf9e181dfe4a6fd819ff44eed59c0571ccb8beac1bc0bc880c5b582c3054665131ddc01 SHA512 4d2c6fce21da47e406aa391df39fced95a4b373a78539bace163094a79b653ef685189445ce2278472770da6f55e0bd2129871446bbd73498781193d3d5b5cc4
|
||||
EBUILD squirrelsh-1.2.7.ebuild 1176 BLAKE2B 72c1895670ffb0b9f64d71dc4727238f2e8822c88d95502926d31bf08952032b7f5b613ea9b6478d90b36af443c549a767d40ee28fe816d24bb2c1052fb787a6 SHA512 9e4e55135edfb6ab009bc3bc9471d3a820114ac62057cf8d9355d243c668f2eb6c56165f0f77fa0bc1f5b1e4239383e52556a1f73e2101564b0fae3daf368950
|
||||
MISC metadata.xml 248 BLAKE2B adbfd1f3d31aac1d9331ecddb0749fd1a9139c28cd880ede04560ee2c8a760de99813b4c867df0a1f9c20a4d5b01f8bacc9e5327c097001d802748a77af8f0a3 SHA512 097dccbb7f6f015abc4741bedf802e2659e864a9aca4d55eaee6cb0664364cac362dbe607b278eddfe052cc9f76a52ea861e6bbfaf967d9bf9e7703358872ada
|
||||
|
@ -0,0 +1,12 @@
|
||||
Bug: https://bugs.gentoo.org/894640
|
||||
--- a/shell/hash_md5.cpp
|
||||
+++ b/shell/hash_md5.cpp
|
||||
@@ -52,7 +52,7 @@ void MD5Init (MD5Context *ctx)
|
||||
// The core of the MD5 algorithm
|
||||
void MD5Transform (unsigned buf[4], const unsigned in[16])
|
||||
{
|
||||
- register unsigned a, b, c, d;
|
||||
+ unsigned a, b, c, d;
|
||||
|
||||
a = buf[0];
|
||||
b = buf[1];
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit edo toolchain-funcs
|
||||
|
||||
DESCRIPTION="Cross-platform object-oriented scripting shell using the squirrel language"
|
||||
HOMEPAGE="http://squirrelsh.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="dev-libs/libpcre"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-rename-LDFLAGS.patch
|
||||
"${FILESDIR}"/${PN}-no-strip.patch
|
||||
"${FILESDIR}"/${PN}-fix-in_LDFLAGS.patch
|
||||
"${FILESDIR}"/${PN}-remove-forced-abi.patch
|
||||
"${FILESDIR}"/${PN}-no-docs.patch
|
||||
"${FILESDIR}"/${P}-gcc6.patch
|
||||
"${FILESDIR}"/${PN}-drop-register.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
# This package uses a custom written configure script
|
||||
edo ./configure --prefix="${D}"/usr \
|
||||
--with-cc="$(tc-getCC)" \
|
||||
--with-cpp="$(tc-getCXX)" \
|
||||
--with-linker="$(tc-getCXX)" \
|
||||
--libdir=/usr/"$(get_libdir)" \
|
||||
--with-pcre="system" \
|
||||
--with-squirrel="local" \
|
||||
--with-mime=no
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
doman doc/${PN}.1
|
||||
dodoc HISTORY INSTALL README
|
||||
use doc && dodoc doc/*.pdf
|
||||
}
|
Binary file not shown.
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MY_PN=${PN//-bin/}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Conversion between markup formats (binary package)"
|
||||
HOMEPAGE="https://pandoc.org/
|
||||
https://github.com/jgm/pandoc/"
|
||||
|
||||
BASE_URI="https://github.com/jgm/${MY_PN}/releases/download/${PV}/${MY_P}"
|
||||
SRC_URI="
|
||||
amd64? ( ${BASE_URI}-linux-amd64.tar.gz )
|
||||
arm64? ( ${BASE_URI}-linux-arm64.tar.gz )
|
||||
"
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~arm64"
|
||||
IUSE="+pandoc-symlink"
|
||||
|
||||
RDEPEND="pandoc-symlink? ( !${CATEGORY}/${MY_PN} )"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/${PN}"
|
||||
QA_PRESTRIPPED="${QA_FLAGS_IGNORED}"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
# Manpages are gzipped.
|
||||
unpack "${S}"/share/man/man1/*.1.gz
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/bin
|
||||
newexe bin/${MY_PN} ${PN}
|
||||
dosym ${PN} /usr/bin/pandoc-lua-bin
|
||||
dosym ${PN} /usr/bin/pandoc-server-bin
|
||||
|
||||
newman "${WORKDIR}"/${MY_PN}-lua.1 pandoc-lua-bin.1
|
||||
newman "${WORKDIR}"/${MY_PN}-server.1 pandoc-server-bin.1
|
||||
newman "${WORKDIR}"/${MY_PN}.1 ${PN}.1
|
||||
|
||||
if use pandoc-symlink ; then
|
||||
dosym ${PN} /usr/bin/${MY_PN}
|
||||
dosym pandoc-lua-bin /usr/bin/${MY_PN}-lua
|
||||
dosym pandoc-server-bin /usr/bin/${MY_PN}-server
|
||||
|
||||
dosym ${PN}.1 /usr/share/man/man1/${MY_PN}.1
|
||||
dosym pandoc-lua-bin.1 /usr/share/man/man1/${MY_PN}-lua.1
|
||||
dosym pandoc-server-bin.1 /usr/share/man/man1/${MY_PN}-server.1
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -0,0 +1,143 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
POSTGRES_COMPAT=( {12..15} )
|
||||
POSTGRES_USEDEP="server"
|
||||
inherit autotools postgres-multi toolchain-funcs
|
||||
|
||||
MY_P="${PN}-$(ver_rs 3 '')"
|
||||
|
||||
if [[ ${PV} = *9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://git.osgeo.org/gitea/postgis/postgis.git"
|
||||
else
|
||||
PGIS="$(ver_cut 1-2)"
|
||||
SRC_URI="https://download.osgeo.org/postgis/source/${MY_P}.tar.gz"
|
||||
#KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
KEYWORDS=""
|
||||
fi
|
||||
|
||||
DESCRIPTION="Geographic Objects for PostgreSQL"
|
||||
HOMEPAGE="https://postgis.net"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="address-standardizer doc gtk static-libs topology"
|
||||
|
||||
REQUIRED_USE="${POSTGRES_REQ_USE}"
|
||||
|
||||
# Needs a running psql instance, doesn't work out of the box
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="${POSTGRES_DEP}
|
||||
dev-libs/json-c:=
|
||||
dev-libs/libxml2:2
|
||||
dev-libs/protobuf-c:=
|
||||
>=sci-libs/geos-3.9.0
|
||||
>=sci-libs/proj-4.9.0:=
|
||||
>=sci-libs/gdal-1.10.0:=
|
||||
address-standardizer? ( dev-libs/libpcre2 )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
app-text/docbook-xsl-stylesheets
|
||||
app-text/docbook-xml-dtd:4.5
|
||||
dev-libs/libxslt
|
||||
virtual/imagemagick-tools[png]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-3.0.3-try-other-cpp-names.patch"
|
||||
# source: https://github.com/google/flatbuffers/pull/7897
|
||||
#"${FILESDIR}/${PN}-3.3.2-flatbuffers-abseil-2023.patch" # bug 905378
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if [[ ${PV} = *9999* ]] ; then
|
||||
source "${S}"/Version.config
|
||||
PGIS="${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}"
|
||||
fi
|
||||
|
||||
# These modules are built using the same *FLAGS that were used to build
|
||||
# dev-db/postgresql. The right thing to do is to ignore the current
|
||||
# *FLAGS settings.
|
||||
QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so"
|
||||
|
||||
# bug #775968
|
||||
touch build-aux/ar-lib || die
|
||||
|
||||
local AT_M4DIR="macros"
|
||||
eautoreconf
|
||||
|
||||
postgres-multi_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export CPP=$(tc-getCPP)
|
||||
|
||||
local myeconfargs=(
|
||||
$(use_with address-standardizer)
|
||||
$(use_with gtk gui)
|
||||
$(use_with topology)
|
||||
)
|
||||
postgres-multi_foreach econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
postgres-multi_foreach emake
|
||||
postgres-multi_foreach emake -C topology
|
||||
|
||||
if use doc ; then
|
||||
postgres-multi_foreach emake comments
|
||||
postgres-multi_foreach emake cheatsheets
|
||||
postgres-multi_forbest emake -C doc html
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
postgres-multi_foreach emake DESTDIR="${D}" install
|
||||
postgres-multi_foreach emake -C topology DESTDIR="${D}" install
|
||||
postgres-multi_forbest dobin ./utils/postgis_restore.pl
|
||||
|
||||
dodoc CREDITS TODO loader/README.* doc/*txt
|
||||
|
||||
docinto topology
|
||||
dodoc topology/{TODO,README}
|
||||
|
||||
if use doc ; then
|
||||
postgres-multi_foreach emake DESTDIR="${D}" comments-install
|
||||
|
||||
docinto html
|
||||
postgres-multi_forbest dodoc doc/html/{postgis.html,style.css}
|
||||
|
||||
docinto html/images
|
||||
postgres-multi_forbest dodoc doc/html/images/*
|
||||
fi
|
||||
|
||||
use static-libs || find "${ED}" -name '*.a' -delete
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ebegin "Refreshing PostgreSQL symlinks"
|
||||
postgresql-config update
|
||||
eend $?
|
||||
|
||||
local base_uri="https://postgis.net/docs/manual-"
|
||||
if [[ ${PV} = *9999* ]] ; then
|
||||
base_uri+="dev"
|
||||
else
|
||||
base_uri+="${PGIS}"
|
||||
fi
|
||||
|
||||
elog "To finish installing PostGIS, follow the directions detailed at:"
|
||||
elog "${base_uri}/postgis_installation.html#create_new_db_extensions"
|
||||
}
|
Binary file not shown.
@ -1,11 +1,11 @@
|
||||
AUX go-sets.conf 313 BLAKE2B 03e94776e317d34b72bfb8385b8b0dfa6a599a6086e4d0c9214e7b49293768947c21d9afb323ffcc7fd85ba0af72d9cb243dbb571eee9eb81de9400fd5f5e79c SHA512 7d01b98bc8d1b609183682dd942bd4c9fa757a98243c7de3cf6c497c7bc20b8cdbe59dd669ce4bb11f914a0e9b6d100e65cea2dffd99f38be50b18e0ecf66315
|
||||
DIST go1.19.10.src.tar.gz 26563069 BLAKE2B 2aec01a67ba3e61f83b635bdf830bf6407342bd877b84367f268560cbb691291825622c4035db99f86ca7ae2153fd11f3f800ab7a90089da7624a531e189f374 SHA512 e8e7d1118d0c409d692ebb406f0e6807781dfd8f7dbe8b03be145e3fc287cde967fde387a216eb9996366508f4e61954cd131cd33f85b652bfd223e37bf41a67
|
||||
DIST go1.19.11.src.tar.gz 26568253 BLAKE2B 06d06edd602ee88114353a8d867e9ba0cb88333115d308290b4bc2ec52f7655a50ff506068862c5c5ac8311e4e971635d409b4d6bbff2082f0667b2515e2576f SHA512 da95a1f007a1aff3bd6eeb4b7560654e1ed990e9f6d14663c5309e72714718287a2eb2937f9ec9a041adf384454a2a3bbf8f1671f11c4bd55c76d95e03e7538b
|
||||
DIST go1.19.12.src.tar.gz 26575152 BLAKE2B 27f7053922e9329f0a3365c6623a7df1a0ef3383cc8fc5f5dac7f74415a558924fa930ae0c5010986573efa877f571ebe3b1835e916a9d927d7121555f2361c6 SHA512 15488e6f9ce86a4ca5650bb9df7845abb11ada0d11fb9a1b048f8c1f7047ad677b45e6c4026eff41c81a14adaa1bf78826f8e81000e7083dbbb6055a31b894e1
|
||||
DIST go1.20.5.src.tar.gz 26192951 BLAKE2B 13ab06a45a7b13eb5cf8886594343bc169df3c4ff0062ac89c0997283686563edccb7d39423457947f945782bef418ab1a1f3b8712aa8817a8f4c61b54e8574c SHA512 94cecb366cd9d9722b53e52ea3b0a5715a9e9dc21da0273dd3db9354557f71b9501b018125ef073dacc2e59125335f436cea1151cd8df0d60e2ad513f841905c
|
||||
DIST go1.20.6.src.tar.gz 26194491 BLAKE2B 1a31f77ec5208d738ab190557a7b8767d8f8a6d56ae6beda81b55995d4281f11117216124e53c566a032db9cc26e0eea146e2ea8ed02240092e2c78e9b5f32c8 SHA512 509ade7c2a76bd46b26dda4522692ceef5023aae21461b866006341f98544e7ea755aee230a9fea789ed7afb1c49a693c34c8337892e308dfb051aef2b08c975
|
||||
DIST go1.20.7.src.tar.gz 26192928 BLAKE2B 89a1b2bde472c22534e63585cd8fcff6076a16a7f1d15e90ec5cf5277225ae3bf53805531b256d0090cb170ed7e1bd1ed494cffcf5b3777f435bbb3591906612 SHA512 c3dae709d0db8ab32a68bda2d260ffe86ee77c703bdbf34eefd0e1f745dd0aa04e3d17833877e7f06aa066686da501a85361591e510a341affc0244dde2b9946
|
||||
EBUILD go-1.19.10.ebuild 5233 BLAKE2B 86b49ba0ccc71624134e67f3e97db2b58460835459080228ccaa6a6b043123bc4592cf8ac180d8e67eebfe0b6aaef0bd48c5e9358246099c20668181301b7842 SHA512 10577e3953f04e5998acce259355643455dab7e67bd42efa5fbc4d2aeb91d0807acdb3c59813f2d69acb853e7f6d6d2fcb3cb72e2ec9834dec5ccc6f6a50a7ba
|
||||
EBUILD go-1.19.11.ebuild 5238 BLAKE2B 9474a897fd3bfdffaebe01b5b0b7ad5b5c1debf5796f874df293773850217b0224f9806c2fb2b5b5c5c57b36b9c60562558e3f8ebc25b8526fe7a2d008371aaa SHA512 3ddf84e3ed971fed853dddb14e1832e5907d97cd88e7f2732b8cc868b5258357af49b897c71db39f17d79ca263a749cabfac5005ee361d6a5df35900e28f33d5
|
||||
EBUILD go-1.19.12.ebuild 5235 BLAKE2B feec7ff92b8e32271235bd796c71f78f52e3c90c754d85496742564b4ff0b37fcf21fdf692f097c4298b36e5a3932349dace9ea3e1e91e4f6e632484ee2fb75c SHA512 63f5f1ae9a0f26e400d847df01ca9dad27dfa937e027b826098b63fc83e89665565e1308e7832eab2bd6e04eacf49d8704d2af2b2624db6b7782784d86957cad
|
||||
EBUILD go-1.20.5.ebuild 5233 BLAKE2B 86b49ba0ccc71624134e67f3e97db2b58460835459080228ccaa6a6b043123bc4592cf8ac180d8e67eebfe0b6aaef0bd48c5e9358246099c20668181301b7842 SHA512 10577e3953f04e5998acce259355643455dab7e67bd42efa5fbc4d2aeb91d0807acdb3c59813f2d69acb853e7f6d6d2fcb3cb72e2ec9834dec5ccc6f6a50a7ba
|
||||
EBUILD go-1.20.6.ebuild 5238 BLAKE2B 9474a897fd3bfdffaebe01b5b0b7ad5b5c1debf5796f874df293773850217b0224f9806c2fb2b5b5c5c57b36b9c60562558e3f8ebc25b8526fe7a2d008371aaa SHA512 3ddf84e3ed971fed853dddb14e1832e5907d97cd88e7f2732b8cc868b5258357af49b897c71db39f17d79ca263a749cabfac5005ee361d6a5df35900e28f33d5
|
||||
EBUILD go-9999.ebuild 4798 BLAKE2B 50daca174e8bc89f747432e96bc7d66e6c7dd50320d0b4c97754bb90267d62b700d34c250a892fdf60c907fa5eb881dd7adb3e64eba7ceb240740bd90c399f83 SHA512 051671c9a99efe554f9ed66423a20d053546ba68fdbf8a900e4ef0a365622bf8fcc976c678e393ade4a5475e01ccc53668d61d98e1b976e69de030662498273a
|
||||
EBUILD go-1.20.7.ebuild 5387 BLAKE2B dd5ab008bfa013637657123ff661eb49013aef219a0ea4d2ae1ab004a880b788f3a70c9f5ed8bb61dc19b6c2742452beff3148c6dad1fb1514ddac45cc6c4ca5 SHA512 76445badfa0da69c9c635ca6d3ce1a72cc830c2e8aa2903f31a6f75ddad412c799097c0b976f237aa3d480d23f9c5aa39a4ad8a696ee9397ec68eec8eb9111e7
|
||||
EBUILD go-9999.ebuild 5390 BLAKE2B 2602168f932b6725e2deff77d4c398d923fec3c688c3a0972236c537c78402c9d4c0d8387a9972c470365978b0e283bde24834c2f190626e5f9996b54a78c501 SHA512 e85fd9152873a57641b328c8acf303da144e16555053db1935d7b6f057e3393ed9a9de073cd1aa274f534b66bd59ef170a965037cea6ac873e6d7d9889204b0f
|
||||
MISC metadata.xml 590 BLAKE2B 56da63bdc350df5c6ef3b511a386627f4020f655027ca88da6a83ecb09581d3c3055c836eb8fe98a383412b3d431a77a9935ad753fe2d8392afa37cd613c15b0 SHA512 5d78adbae30c3a805194567bbb1af2ad59b78487819e7841a040d2a4d5db02f5b5d1d58f7cfc7a37f39e5e9bcf332dda4d336456e33e36c33caef792ac45d48b
|
||||
|
@ -0,0 +1,475 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
# Patch version
|
||||
FIREFOX_PATCHSET="firefox-102esr-patches-10j.tar.xz"
|
||||
SPIDERMONKEY_PATCHSET="spidermonkey-102-patches-05j.tar.xz"
|
||||
|
||||
LLVM_MAX_SLOT=16
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_REQ_USE="ssl,xml(+)"
|
||||
|
||||
WANT_AUTOCONF="2.1"
|
||||
|
||||
inherit autotools check-reqs flag-o-matic llvm multiprocessing prefix python-any-r1 toolchain-funcs
|
||||
|
||||
MY_PN="mozjs"
|
||||
MY_PV="${PV/_pre*}" # Handle Gentoo pre-releases
|
||||
|
||||
MY_MAJOR=$(ver_cut 1)
|
||||
|
||||
MOZ_ESR=yes
|
||||
|
||||
MOZ_PV=${PV}
|
||||
MOZ_PV_SUFFIX=
|
||||
if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then
|
||||
MOZ_PV_SUFFIX=${BASH_REMATCH[1]}
|
||||
|
||||
# Convert the ebuild version to the upstream Mozilla version
|
||||
MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI
|
||||
MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI
|
||||
MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI
|
||||
fi
|
||||
|
||||
if [[ -n ${MOZ_ESR} ]] ; then
|
||||
# ESR releases have slightly different version numbers
|
||||
MOZ_PV="${MOZ_PV}esr"
|
||||
fi
|
||||
|
||||
MOZ_PN="firefox"
|
||||
MOZ_P="${MOZ_PN}-${MOZ_PV}"
|
||||
MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}"
|
||||
MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}"
|
||||
|
||||
MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}"
|
||||
|
||||
if [[ ${PV} == *_rc* ]] ; then
|
||||
MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}"
|
||||
fi
|
||||
|
||||
PATCH_URIS=(
|
||||
https://dev.gentoo.org/~{juippis,whissi}/mozilla/patchsets/${FIREFOX_PATCHSET}
|
||||
https://dev.gentoo.org/~{juippis,whissi}/mozilla/patchsets/${SPIDERMONKEY_PATCHSET}
|
||||
)
|
||||
|
||||
SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz
|
||||
${PATCH_URIS[@]}"
|
||||
|
||||
DESCRIPTION="SpiderMonkey is Mozilla's JavaScript engine written in C and C++"
|
||||
HOMEPAGE="https://spidermonkey.dev https://firefox-source-docs.mozilla.org/js/index.html "
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
SLOT="$(ver_cut 1)"
|
||||
LICENSE="MPL-2.0"
|
||||
IUSE="clang cpu_flags_arm_neon debug +jit lto test"
|
||||
|
||||
#RESTRICT="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="${PYTHON_DEPS}
|
||||
|| (
|
||||
(
|
||||
sys-devel/llvm:16
|
||||
clang? (
|
||||
sys-devel/clang:16
|
||||
sys-devel/lld:16
|
||||
virtual/rust:0/llvm-16
|
||||
)
|
||||
)
|
||||
(
|
||||
sys-devel/llvm:15
|
||||
clang? (
|
||||
sys-devel/clang:15
|
||||
virtual/rust:0/llvm-15
|
||||
lto? ( sys-devel/lld:15 )
|
||||
)
|
||||
)
|
||||
(
|
||||
sys-devel/llvm:14
|
||||
clang? (
|
||||
sys-devel/clang:14
|
||||
virtual/rust:0/llvm-14
|
||||
lto? ( sys-devel/lld:14 )
|
||||
)
|
||||
)
|
||||
)
|
||||
!clang? ( virtual/rust )
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
$(python_gen_any_dep 'dev-python/six[${PYTHON_USEDEP}]')
|
||||
)"
|
||||
DEPEND=">=dev-libs/icu-71.1:=
|
||||
dev-libs/nspr
|
||||
sys-libs/readline:0=
|
||||
sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/firefox-${MY_PV}/js/src"
|
||||
|
||||
llvm_check_deps() {
|
||||
if ! has_version -b "sys-devel/llvm:${LLVM_SLOT}" ; then
|
||||
einfo "sys-devel/llvm:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
if use clang ; then
|
||||
if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then
|
||||
einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
if ! has_version -b "virtual/rust:0/llvm-${LLVM_SLOT}" ; then
|
||||
einfo "virtual/rust:0/llvm-${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
if use lto ; then
|
||||
if ! has_version -b "sys-devel/lld:${LLVM_SLOT}" ; then
|
||||
einfo "sys-devel/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2
|
||||
}
|
||||
|
||||
python_check_deps() {
|
||||
if use test ; then
|
||||
python_has_version "dev-python/six[${PYTHON_USEDEP}]"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if use test ; then
|
||||
CHECKREQS_DISK_BUILD="4000M"
|
||||
else
|
||||
CHECKREQS_DISK_BUILD="3600M"
|
||||
fi
|
||||
|
||||
check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if [[ ${MERGE_TYPE} != binary ]] ; then
|
||||
if use test ; then
|
||||
CHECKREQS_DISK_BUILD="4000M"
|
||||
else
|
||||
CHECKREQS_DISK_BUILD="3600M"
|
||||
fi
|
||||
|
||||
check-reqs_pkg_setup
|
||||
|
||||
llvm_pkg_setup
|
||||
|
||||
if use clang && use lto ; then
|
||||
local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }')
|
||||
[[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}")
|
||||
[[ -z ${version_lld} ]] && die "Failed to read ld.lld version!"
|
||||
|
||||
local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }')
|
||||
[[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}")
|
||||
[[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!"
|
||||
|
||||
if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then
|
||||
eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}."
|
||||
eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:"
|
||||
eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version"
|
||||
eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version"
|
||||
eerror " - Build ${CATEGORY}/${PN} without USE=lto"
|
||||
eerror " - Rebuild lld with llvm that was used to build rust (may need to rebuild the whole "
|
||||
eerror " llvm/clang/lld/rust chain depending on your @world updates)"
|
||||
die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!"
|
||||
fi
|
||||
fi
|
||||
|
||||
python-any-r1_pkg_setup
|
||||
|
||||
# Build system is using /proc/self/oom_score_adj, bug #604394
|
||||
addpredict /proc/self/oom_score_adj
|
||||
|
||||
if ! mountpoint -q /dev/shm ; then
|
||||
# If /dev/shm is not available, configure is known to fail with
|
||||
# a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py
|
||||
ewarn "/dev/shm is not mounted -- expect build failures!"
|
||||
fi
|
||||
|
||||
# Ensure we use C locale when building, bug #746215
|
||||
export LC_ALL=C
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
pushd ../.. &>/dev/null || die
|
||||
|
||||
use lto && rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch
|
||||
|
||||
eapply "${WORKDIR}"/firefox-patches
|
||||
eapply "${WORKDIR}"/spidermonkey-patches
|
||||
|
||||
default
|
||||
|
||||
# Make cargo respect MAKEOPTS
|
||||
export CARGO_BUILD_JOBS="$(makeopts_jobs)"
|
||||
|
||||
# sed-in toolchain prefix
|
||||
sed -i \
|
||||
-e "s/objdump/${CHOST}-objdump/" \
|
||||
python/mozbuild/mozbuild/configure/check_debug_ranges.py \
|
||||
|| die "sed failed to set toolchain prefix"
|
||||
|
||||
# use prefix shell in wrapper linker scripts, bug #789660
|
||||
hprefixify "${S}"/../../build/cargo-{,host-}linker
|
||||
|
||||
einfo "Removing pre-built binaries ..."
|
||||
find third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die
|
||||
|
||||
MOZJS_BUILDDIR="${WORKDIR}/build"
|
||||
mkdir "${MOZJS_BUILDDIR}" || die
|
||||
|
||||
popd &>/dev/null || die
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Show flags set at the beginning
|
||||
einfo "Current CFLAGS: ${CFLAGS}"
|
||||
einfo "Current CXXFLAGS: ${CXXFLAGS}"
|
||||
einfo "Current LDFLAGS: ${LDFLAGS}"
|
||||
einfo "Current RUSTFLAGS: ${RUSTFLAGS}"
|
||||
|
||||
local have_switched_compiler=
|
||||
if use clang; then
|
||||
# Force clang
|
||||
einfo "Enforcing the use of clang due to USE=clang ..."
|
||||
if tc-is-gcc; then
|
||||
have_switched_compiler=yes
|
||||
fi
|
||||
AR=llvm-ar
|
||||
CC=${CHOST}-clang
|
||||
CXX=${CHOST}-clang++
|
||||
NM=llvm-nm
|
||||
RANLIB=llvm-ranlib
|
||||
elif ! use clang && ! tc-is-gcc ; then
|
||||
# Force gcc
|
||||
have_switched_compiler=yes
|
||||
einfo "Enforcing the use of gcc due to USE=-clang ..."
|
||||
AR=gcc-ar
|
||||
CC=${CHOST}-gcc
|
||||
CXX=${CHOST}-g++
|
||||
NM=gcc-nm
|
||||
RANLIB=gcc-ranlib
|
||||
fi
|
||||
|
||||
if [[ -n "${have_switched_compiler}" ]] ; then
|
||||
# Because we switched active compiler we have to ensure
|
||||
# that no unsupported flags are set
|
||||
strip-unsupported-flags
|
||||
fi
|
||||
|
||||
# Ensure we use correct toolchain
|
||||
export HOST_CC="$(tc-getBUILD_CC)"
|
||||
export HOST_CXX="$(tc-getBUILD_CXX)"
|
||||
export AS="$(tc-getCC) -c"
|
||||
tc-export CC CXX LD AR AS NM OBJDUMP RANLIB PKG_CONFIG
|
||||
|
||||
cd "${MOZJS_BUILDDIR}" || die
|
||||
|
||||
# ../python/mach/mach/mixin/process.py fails to detect SHELL
|
||||
export SHELL="${EPREFIX}/bin/bash"
|
||||
|
||||
local -a myeconfargs=(
|
||||
--host="${CBUILD:-${CHOST}}"
|
||||
--target="${CHOST}"
|
||||
|
||||
--disable-ctype
|
||||
--disable-jemalloc
|
||||
--disable-smoosh
|
||||
--disable-strip
|
||||
|
||||
--enable-readline
|
||||
--enable-release
|
||||
--enable-shared-js
|
||||
|
||||
--with-intl-api
|
||||
--with-system-icu
|
||||
--with-system-nspr
|
||||
--with-system-zlib
|
||||
--with-toolchain-prefix="${CHOST}-"
|
||||
|
||||
$(use_enable debug)
|
||||
$(use_enable jit)
|
||||
$(use_enable test tests)
|
||||
)
|
||||
|
||||
if use debug; then
|
||||
myeconfargs+=( --disable-optimize )
|
||||
myeconfargs+=( --enable-debug-symbols )
|
||||
else
|
||||
myeconfargs+=( --enable-optimize )
|
||||
myeconfargs+=( --disable-debug-symbols )
|
||||
fi
|
||||
|
||||
if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then
|
||||
myeconfargs+=( --enable-rust-simd )
|
||||
fi
|
||||
|
||||
# Modifications to better support ARM, bug 717344
|
||||
if use cpu_flags_arm_neon ; then
|
||||
myeconfargs+=( --with-fpu=neon )
|
||||
|
||||
if ! tc-is-clang ; then
|
||||
# thumb options aren't supported when using clang, bug 666966
|
||||
myeconfargs+=( --with-thumb=yes )
|
||||
myeconfargs+=( --with-thumb-interwork=no )
|
||||
fi
|
||||
fi
|
||||
|
||||
# Tell build system that we want to use LTO
|
||||
if use lto ; then
|
||||
if use clang ; then
|
||||
myeconfargs+=( --enable-linker=lld )
|
||||
myeconfargs+=( --enable-lto=cross )
|
||||
else
|
||||
myeconfargs+=( --enable-linker=bfd )
|
||||
myeconfargs+=( --enable-lto=full )
|
||||
fi
|
||||
fi
|
||||
|
||||
# LTO flag was handled via configure
|
||||
filter-lto
|
||||
|
||||
# Use system's Python environment
|
||||
export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none"
|
||||
export PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach
|
||||
|
||||
# Show flags we will use
|
||||
einfo "Build CFLAGS: ${CFLAGS}"
|
||||
einfo "Build CXXFLAGS: ${CXXFLAGS}"
|
||||
einfo "Build LDFLAGS: ${LDFLAGS}"
|
||||
einfo "Build RUSTFLAGS: ${RUSTFLAGS}"
|
||||
|
||||
# Forcing system-icu allows us to skip patching bundled ICU for PPC
|
||||
# and other minor arches
|
||||
ECONF_SOURCE="${S}" \
|
||||
econf \
|
||||
${myeconfargs[@]} \
|
||||
XARGS="${EPREFIX}/usr/bin/xargs"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${MOZJS_BUILDDIR}" || die
|
||||
default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if "${MOZJS_BUILDDIR}/js/src/js" -e 'print("Hello world!")'; then
|
||||
einfo "Smoke-test successful, continuing with full test suite"
|
||||
else
|
||||
die "Smoke-test failed: did interpreter initialization fail?"
|
||||
fi
|
||||
|
||||
cp "${FILESDIR}"/spidermonkey-${SLOT}-known-test-failures.txt "${T}"/known_failures.list || die
|
||||
|
||||
if [[ $(tc-endian) == "big" ]] ; then
|
||||
echo "non262/extensions/clone-errors.js" >> "${T}"/known_failures.list
|
||||
echo "test262/built-ins/Date/UTC/fp-evaluation-order.js" >> "${T}"/known_failures.list
|
||||
echo "test262/built-ins/TypedArray/prototype/set/typedarray-arg-set-values-same-buffer-other-type.js" >> "${T}"/known_failures.list
|
||||
fi
|
||||
|
||||
if use ppc; then
|
||||
echo "non262/Array/fill.js" >> "${T}"/known_failures.list
|
||||
echo "non262/Array/sort_basics.js" >> "${T}"/known_failures.list
|
||||
echo "non262/Symbol/typed-arrays.js" >> "${T}"/known_failures.list
|
||||
echo "non262/Intl/TypedArray/toLocaleString.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/entries.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/fill.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/map-species.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/iterator.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/reverse.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/join.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/sort_comparators.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/forEach.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/slice.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/sort_compare_nan.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/set-toobject.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/sort-non-function.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/includes.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/subarray-species.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/indexOf-never-returns-negative-zero.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/map-and-filter.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/at.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/from_errors.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/values.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/set-wrapped.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/every-and-some.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/from_mapping.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/lastIndexOf-never-returns-negative-zero.js" >> "${T}"/known_failures.list
|
||||
echo "non262/Reflect/preventExtensions.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/sort_sorted.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/of.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/keys.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/from_realms.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/from_iterable.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/filter-species.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/object-defineproperty.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/uint8clamped-constructor.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/indexOf-and-lastIndexOf.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/slice-species.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/set-tointeger.js" >> "${T}"/known_failures.list
|
||||
echo "non262/Reflect/ownKeys.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/seal-and-freeze.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/reduce-and-reduceRight.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/from_basics.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/find-and-findIndex.js" >> "${T}"/known_failures.list
|
||||
echo "non262/Reflect/isExtensible.js" >> "${T}"/known_failures.list
|
||||
echo "non262/regress/regress-571014.js" >> "${T}"/known_failures.list
|
||||
echo "non262/extensions/reviver-mutates-holder-object-nonnative.js" >> "${T}"/known_failures.list
|
||||
echo "non262/extensions/typedarray-set-neutering.js" >> "${T}"/known_failures.list
|
||||
echo "non262/extensions/reviver-mutates-holder-array-nonnative.js" >> "${T}"/known_failures.list
|
||||
echo "non262/extensions/typedarray.js" >> "${T}"/known_failures.list
|
||||
echo "non262/Math/fround.js" >> "${T}"/known_failures.list
|
||||
fi
|
||||
|
||||
${EPYTHON} \
|
||||
"${S}"/tests/jstests.py -d -s -t 1800 --wpt=disabled --no-progress \
|
||||
--exclude-file="${T}"/known_failures.list \
|
||||
"${MOZJS_BUILDDIR}"/js/src/js \
|
||||
|| die
|
||||
|
||||
if use jit ; then
|
||||
${EPYTHON} \
|
||||
"${S}"/tests/jstests.py -d -s -t 1800 --wpt=disabled --no-progress \
|
||||
--exclude-file="${T}"/known_failures.list \
|
||||
"${MOZJS_BUILDDIR}"/js/src/js basic \
|
||||
|| die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${MOZJS_BUILDDIR}" || die
|
||||
default
|
||||
|
||||
# fix soname links
|
||||
pushd "${ED}"/usr/$(get_libdir) &>/dev/null || die
|
||||
mv lib${MY_PN}-${MY_MAJOR}.so lib${MY_PN}-${MY_MAJOR}.so.0.0.0 || die
|
||||
ln -s lib${MY_PN}-${MY_MAJOR}.so.0.0.0 lib${MY_PN}-${MY_MAJOR}.so.0 || die
|
||||
ln -s lib${MY_PN}-${MY_MAJOR}.so.0 lib${MY_PN}-${MY_MAJOR}.so || die
|
||||
popd &>/dev/null || die
|
||||
|
||||
# remove unneeded files
|
||||
rm \
|
||||
"${ED}"/usr/bin/js${MY_MAJOR}-config \
|
||||
"${ED}"/usr/$(get_libdir)/libjs_static.ajs \
|
||||
|| die
|
||||
|
||||
# fix permissions
|
||||
chmod -x \
|
||||
"${ED}"/usr/$(get_libdir)/pkgconfig/*.pc \
|
||||
"${ED}"/usr/include/mozjs-${MY_MAJOR}/js-config.h \
|
||||
|| die
|
||||
}
|
Binary file not shown.
@ -0,0 +1,102 @@
|
||||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs cmake
|
||||
|
||||
DATA_HASH="a5b13babe65c1bba7186b41b43d4cbdc20a5c470"
|
||||
DESCRIPTION="SIMD accelerated C++ JSON library"
|
||||
HOMEPAGE="
|
||||
https://simdjson.org/
|
||||
https://github.com/simdjson/simdjson
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
|
||||
test? ( https://github.com/${PN}/${PN}-data/archive/${DATA_HASH}.tar.gz -> ${PN}-data-${DATA_HASH}.tar.gz )
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0 Boost-1.0 BSD MIT"
|
||||
SLOT="0/16"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
IUSE="+all-impls test tools"
|
||||
|
||||
BDEPEND="
|
||||
sys-apps/file
|
||||
sys-apps/grep
|
||||
virtual/pkgconfig
|
||||
"
|
||||
DEPEND="
|
||||
tools? ( <dev-libs/cxxopts-3.1:= )
|
||||
"
|
||||
|
||||
REQUIRED_USE="test? ( tools )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/simdjson-1.0.0-dont-bundle-cxxopts.patch"
|
||||
"${FILESDIR}/simdjson-0.9.0-tests.patch"
|
||||
"${FILESDIR}/simdjson-1.0.0-dont-fetch-data-tarball.patch"
|
||||
"${FILESDIR}/simdjson-1.0.0-install-tools.patch"
|
||||
"${FILESDIR}/simdjson-3.1.7-tests.patch"
|
||||
)
|
||||
|
||||
DOCS=(
|
||||
AUTHORS
|
||||
CONTRIBUTING.md
|
||||
CONTRIBUTORS
|
||||
HACKING.md
|
||||
README.md
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
if use test; then
|
||||
mv "${WORKDIR}/${PN}-data-${DATA_HASH}" "${S}/dependencies/${PN}-data" || die
|
||||
fi
|
||||
|
||||
sed -e 's:-Werror ::' -i cmake/developer-options.cmake || die
|
||||
sed -e '/Werror/ d ; /Werror/ d ' -i tests/ondemand/compilation_failure_tests/CMakeLists.txt || die
|
||||
sed -e "s:^c++ :$(tc-getCXX) :" -i singleheader/README.md || die
|
||||
mv tools/{,simd}jsonpointer.cpp || die
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DSIMDJSON_ENABLE_THREADS:BOOL=ON
|
||||
)
|
||||
use test && mycmakeargs+=(
|
||||
-DSIMDJSON_TESTS:BOOL=ON
|
||||
)
|
||||
|
||||
if use tools; then
|
||||
mycmakeargs+=(
|
||||
-DSIMDJSON_DEVELOPER_MODE:BOOL=ON
|
||||
-DSIMDJSON_ALLOW_DOWNLOADS:BOOL=OFF
|
||||
-DSIMDJSON_GOOGLE_BENCHMARKS:BOOL=OFF
|
||||
-DSIMDJSON_COMPETITION:BOOL=OFF
|
||||
-DSIMDJSON_TOOLS:BOOL=ON
|
||||
)
|
||||
elif ! use test; then
|
||||
mycmakeargs+=(
|
||||
-DSIMDJSON_DEVELOPER_MODELBOOL=OFF
|
||||
)
|
||||
fi
|
||||
|
||||
if use all-impls; then
|
||||
local -a impls=("fallback")
|
||||
if use amd64 || use x86; then
|
||||
impls+=("westmere" "haswell" "icelake")
|
||||
elif use arm64; then
|
||||
impls+=("arm64")
|
||||
elif use ppc64; then
|
||||
impls+=("ppc64")
|
||||
fi
|
||||
|
||||
mycmakeargs+=(
|
||||
-DSIMDJSON_IMPLEMENTATION:STRING=$(printf '%s;' "${impls[@]}")
|
||||
)
|
||||
fi
|
||||
|
||||
cmake_src_configure
|
||||
}
|
Binary file not shown.
@ -1,6 +1,8 @@
|
||||
AUX gapi-ocaml-0.4.2-ounit2.patch 1775 BLAKE2B 1e5bf19cf0adb559491c6ca9894d79bdff3fe6281d6a894b08f3fdc9576a2ba0b20ce5c7a72b620ca2592cbe76532227685fb8f7d6262dd095bab89d6fd68ff4 SHA512 98dc8a6481665ad3a4f89c7fc5879ef0161d165af7ee71651f2ee5eb2e5f789cde6b5461f870a478390c4198c322141164d6308c5b5c4c8f82fc37b39ef0b4f9
|
||||
DIST gapi-ocaml-0.4.2.tar.gz 466749 BLAKE2B 6a3e66618ed9a665de2892dc7657268f3bad43b871d6d761148152d61de2d988bc13b5051e39da4d1ddad0c620237c6018b87cd2303bc086c570aa879c197e4f SHA512 57d933c2d47ef7b80cb55b661f8df1b8642ff301d54f0fd1dfd4a9bc6238a4cb93a308e6918bbbc080fac146cf5fca2ccfe149d0528a63ead5e29e452c9cc427
|
||||
DIST gapi-ocaml-0.4.3.tar.gz 468450 BLAKE2B 5e9aeef8cdd49e64bedc4494dd60a867b16fe0d02945efcb9ea752a7dd71abfd2dad66354cdf61803cdaa93bfee33079b1a8427ac0279cc93961a62c87498390 SHA512 fb58910639db9d1a0f90c6f224d91af53d2c68611f3faea321db82cc4af940f54e4ae93ee20520ef4337dd1345b8c9961915a8706336a25d4e5a187adde1b2f2
|
||||
DIST gapi-ocaml-0.4.4.tar.gz 473064 BLAKE2B 47f401c89107e24c07d3076a5e8dbb2b383270abc138470b78680347cc3d5759227a9a56956217324adf354996d9ea018926dc887cba2cd7ea2fdc43293dbaaa SHA512 3ff319f3563d1fb465cbd4151713c5c1bb3f3ce1f8a2c0d6f938eb99d91844f97cce7c127c52fe970f0f095ced513b3cc440837540631e76037d1882b6d9b820
|
||||
EBUILD gapi-ocaml-0.4.2-r1.ebuild 654 BLAKE2B 7a47627b86896d738c9e66152324ae67969be52b41f834de9fcd747af7584497baaf214ff86775567ffb840c89074323e51912e695834b0dc2280c0ca81225bc SHA512 04ba949fe16668d6a6d72737347aa1ff404dfadfba165209cf4d8ad0801cadc1b9bdf21cf187acc17f1e1f629cee5aa3fdf31594713b87d087fe74752130f1e9
|
||||
EBUILD gapi-ocaml-0.4.3.ebuild 607 BLAKE2B 380ea897368d533f73ed5330b6a89f1eb2cddb90b7ecdd977e90e1ee2f516e430c1ae72eb3ffb53118f9f98cfb19cef4ea2ab56d3eefc770b3e3d56ab7b5c5b1 SHA512 72ab03faa1daf95c657d731b7c4e1b084be74d23070ea017c7db0727b84fde00ec9420d7135fd9b7ee8b6053048b4ba7c9f9f5a10df98b6a22bd6c5e5a38967a
|
||||
EBUILD gapi-ocaml-0.4.4.ebuild 607 BLAKE2B 380ea897368d533f73ed5330b6a89f1eb2cddb90b7ecdd977e90e1ee2f516e430c1ae72eb3ffb53118f9f98cfb19cef4ea2ab56d3eefc770b3e3d56ab7b5c5b1 SHA512 72ab03faa1daf95c657d731b7c4e1b084be74d23070ea017c7db0727b84fde00ec9420d7135fd9b7ee8b6053048b4ba7c9f9f5a10df98b6a22bd6c5e5a38967a
|
||||
MISC metadata.xml 1047 BLAKE2B 87506557816c2a478eaa4535e5d0c1ae29fb9944f79292490b9de7bea7a551bed0dcb4c57271f692197a9711ad35c82a96963898e82c7efb7d7525f6601a612a SHA512 812e687011e2e17ca718a47cf33737234ba9ca7e42878b678fbae488ae33ad03de55edbf9b96a6ba2a25d31bb568e8e7b2df6273257828e38efcf7e2682df865
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit dune findlib
|
||||
|
||||
DESCRIPTION="A simple OCaml client for Google Services"
|
||||
HOMEPAGE="
|
||||
https://opam.ocaml.org/packages/gapi-ocaml/
|
||||
https://github.com/astrada/gapi-ocaml
|
||||
"
|
||||
|
||||
SRC_URI="https://github.com/astrada/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="ocamlopt test"
|
||||
|
||||
RDEPEND="
|
||||
dev-ml/ocurl:=
|
||||
>=dev-ml/ocamlnet-4.1.4:=
|
||||
dev-ml/cryptokit:=
|
||||
dev-ml/yojson:=
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? ( dev-ml/ounit2 )
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
@ -0,0 +1,34 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_NO_NORMALIZE=1
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="A Python package that generates fake data for you"
|
||||
HOMEPAGE="
|
||||
https://github.com/joke2k/faker/
|
||||
https://pypi.org/project/Faker/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}]
|
||||
!dev-ruby/faker
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP},tiff]
|
||||
dev-python/validators[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
Binary file not shown.
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..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_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-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..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_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
|
||||
# TODO
|
||||
tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider
|
||||
)
|
||||
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)"
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST dns-lexicon-3.12.0.gh.tar.gz 6729773 BLAKE2B 1566b98db71027a8c49c7c90060a67b0efc8dc8afb8c977c0277d29c751f26cabc824a510194f09d02f19a40151bfdebe877ccd3e0bfcc8484f694ce128c0d95 SHA512 4ba799c6f7a01b8209f5274337258d0525efff366b297fff2fcff1d40c7ee58850fa8c3743bf9d29a1a082288e1f615cd94036a9cdc7be9f85e46f26fe3d7fbc
|
||||
DIST dns-lexicon-3.13.0.gh.tar.gz 6739417 BLAKE2B 86f879fb5b27c6d9b21788ce4a9d7573b9aca0eccc022f4ac81cbb0e683f089797156134720bcbd82b509253470b01ee3ead3161517a0108d16991b668e1b4f3 SHA512 582efefb93d9f122cf3f900ddc7cf615295855645f6d9621f14c11067e441eb67349adf40e5159b75e8c5703d1cfd874364d392ce2994feb89949d371b4b55be
|
||||
EBUILD dns-lexicon-3.12.0.ebuild 1974 BLAKE2B 6f0b2f9d18b2066ab05393fe7190a136a01c6c63b9e6eaab6ba96a1d085305d5cf3013267b9bc04101ffb8841715dc161b034e12d73c54aebaf42d7ca4166aa4 SHA512 ae016160fa92993ba8007635dbf18ee9c4de868ccfe39d889a3ed7b773456a3be4f43e8f9a9f6653bdda9f50880af2b65894a174565542df8931ab773991f9f0
|
||||
EBUILD dns-lexicon-3.13.0.ebuild 1974 BLAKE2B 6f0b2f9d18b2066ab05393fe7190a136a01c6c63b9e6eaab6ba96a1d085305d5cf3013267b9bc04101ffb8841715dc161b034e12d73c54aebaf42d7ca4166aa4 SHA512 ae016160fa92993ba8007635dbf18ee9c4de868ccfe39d889a3ed7b773456a3be4f43e8f9a9f6653bdda9f50880af2b65894a174565542df8931ab773991f9f0
|
||||
MISC metadata.xml 541 BLAKE2B a22266eac0bc7b4c22d9552cf64cbf88bbc1c2953e3ef0daaf059b81519909e0f8808e0d74cec6db3296e43f98082d57b8ae3779d694432e8578112ac18c3ea6 SHA512 79e2b43a685bfcc8dace1faa1c1a08cc648b39a3fef2834a57b6e801f72e7309276604253089db7a2fbe1d5d776b2ba1427c90a9cb9c44a0c1b2812d4e1901db
|
||||
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit distutils-r1 optfeature
|
||||
|
||||
DESCRIPTION="Manipulate DNS records on various DNS providers in a standardized/agnostic way"
|
||||
HOMEPAGE="
|
||||
https://github.com/AnalogJ/lexicon/
|
||||
https://pypi.org/project/dns-lexicon/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/AnalogJ/lexicon/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
S="${WORKDIR}/lexicon-${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
>=dev-python/importlib-metadata-4[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/tldextract[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/boto3-1.25[${PYTHON_USEDEP}]
|
||||
dev-python/dnspython[${PYTHON_USEDEP}]
|
||||
dev-python/zeep[${PYTHON_USEDEP}]
|
||||
dev-python/vcrpy[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_IGNORE=(
|
||||
# Requires the "localzone" module
|
||||
lexicon/tests/providers/test_localzone.py
|
||||
# Requires the "softlayer" module
|
||||
lexicon/tests/providers/test_softlayer.py
|
||||
# Requires the "transip" module
|
||||
lexicon/tests/providers/test_transip.py
|
||||
# Requires the "oci" module
|
||||
lexicon/tests/providers/test_oci.py
|
||||
# Uses tldextract which needs Internet access to download its database
|
||||
lexicon/tests/providers/test_auto.py
|
||||
# All recordings seem to be broken
|
||||
lexicon/tests/providers/test_namecheap.py
|
||||
# Broken by minor vcrpy / urllib3-2 incompatibility
|
||||
# https://github.com/kevin1024/vcrpy/issues/714
|
||||
lexicon/tests/providers/test_route53.py
|
||||
)
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
optfeature_header \
|
||||
"Install the following packages to enable support for additional DNS providers:"
|
||||
optfeature Gransy dev-python/zeep
|
||||
optfeature Route53 dev-python/boto3
|
||||
optfeature DDNS dev-python/dnspython
|
||||
fi
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
DIST ipykernel-6.24.0.tar.gz 154452 BLAKE2B d9ff81dd2f4cc989fd8356d3f02451158dde49fd83076fd7fa42f002b095cc87f296f2deb34fdc1becbbc0391385466dc21d167ab22167a0bd6d1d561bb19427 SHA512 555ed0d6df7a4d82bb5db63718c320e1628b8d5691e831eae041ac78400be6935793b258c219815fd070cbad29e869897111add6958308db55ea03843a536393
|
||||
DIST ipykernel-6.25.0.tar.gz 155658 BLAKE2B f14afaf28ec82473fa0b7c33a281ebd91fd5d93b0e00bd838046b8f591f12bca64fed8514e97ce59ba20b78940bdd7afad93ef9a59656795de97e80ff46e8339 SHA512 7cd2d3cbb2c83ca165798dc830aae096ce3391535ef604f257c4c79357ebd1c7f7e95c6952e1fb95d1a460ccb5b1bf88396f984b6462986b3e73a4453dd33b52
|
||||
DIST ipykernel-6.25.1.tar.gz 155925 BLAKE2B 973ee4b674ccc83adbff302cd967573fde17e20067366d32daba7f95db6f9ba3312d7418b8800222a2eb73b7061c65cea366ab1cdbc25e74fdbefbe50546cfc5 SHA512 501aa98a50b677037f9d81415bc56b50a1b7b056c25d6edd1eb116eed6c0fe41cff067bf88535880cdae0749eb569ba428c9389a22c77b54c2deea8f2eebf99b
|
||||
EBUILD ipykernel-6.24.0.ebuild 2304 BLAKE2B 25bec322b0847b92d5ed9cf89c7b4bf7300aa1c3fac4f434310c4521ff94e89067abb8a78b14b3dabc7075268e8668d82eea98efb857912e44b59f32278046bd SHA512 026bedd8f7159abf2b388326c33f598960085cfdd6a558ee0b1bc4abec1bc8693f864c3ceed0bfe20cd22ecc41aed1a472ac16e2562714b1560b189914f54c2e
|
||||
EBUILD ipykernel-6.25.0.ebuild 2394 BLAKE2B d6122c8c23d9ff8859bf925914c5bc58b4a49ba645a41d7d15321d45968d5d9e62ef16405c644fd5478265d88db4e8e940683e51b8e5173521a0bb6aa5baacb6 SHA512 f48427b67c8f48e3cd4b3eb2afbff1eaca9493b0b6fa5a50a5720472b9845e439855008a78ea48e0dcac8b8e40879751da4139f5739da5b2071d5ea3ba20c035
|
||||
EBUILD ipykernel-6.25.1.ebuild 2394 BLAKE2B d6122c8c23d9ff8859bf925914c5bc58b4a49ba645a41d7d15321d45968d5d9e62ef16405c644fd5478265d88db4e8e940683e51b8e5173521a0bb6aa5baacb6 SHA512 f48427b67c8f48e3cd4b3eb2afbff1eaca9493b0b6fa5a50a5720472b9845e439855008a78ea48e0dcac8b8e40879751da4139f5739da5b2071d5ea3ba20c035
|
||||
MISC metadata.xml 527 BLAKE2B 4a24cb9d5b801bf94c71c47d0c90b04bc249fb41a794c7b688a5762f08545d1fcfe9e4976aa4f583ecb456458b5f6dfc394349633959444584c0abad0da4be42 SHA512 ed9f0ef12ec5de67a646783243555f1737604a84c78c57b9f7c65137cec8cbc396991411501927f92bd393daad2238c27363ecc9c115031450231c2a4fb2cbb9
|
||||
|
@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1 pypi virtualx
|
||||
|
||||
DESCRIPTION="IPython Kernel for Jupyter"
|
||||
HOMEPAGE="
|
||||
https://github.com/ipython/ipykernel/
|
||||
https://pypi.org/project/ipykernel/
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/comm-0.1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/debugpy-1.6.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/ipython-7.23.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/jupyter-client-8[${PYTHON_USEDEP}]
|
||||
>=dev-python/jupyter-core-4.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/matplotlib-inline-0.1[${PYTHON_USEDEP}]
|
||||
dev-python/nest-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyzmq-20[${PYTHON_USEDEP}]
|
||||
>=dev-python/tornado-6.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/traitlets-5.4.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
# RDEPEND seems specifically needed in BDEPEND, at least jupyter
|
||||
# bug #816486
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-python/flaky[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||
dev-python/ipyparallel[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's:^TIMEOUT = .*:TIMEOUT = 120:' ipykernel/tests/*.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile
|
||||
# Use python3 in kernel.json configuration, bug #784764
|
||||
sed -i -e '/python3.[0-9]\+/s//python3/' \
|
||||
"${BUILD_DIR}/install${EPREFIX}/usr/share/jupyter/kernels/python3/kernel.json" || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
ipykernel/tests/test_debugger.py::test_attach_debug
|
||||
ipykernel/tests/test_debugger.py::test_breakpoint_in_cell_with_leading_empty_lines
|
||||
ipykernel/tests/test_debugger.py::test_rich_inspect_at_breakpoint
|
||||
ipykernel/tests/test_debugger.py::test_rich_inspect_not_at_breakpoint
|
||||
ipykernel/tests/test_debugger.py::test_set_breakpoints
|
||||
ipykernel/tests/test_debugger.py::test_stop_on_breakpoint
|
||||
ipykernel/tests/test_debugger.py::test_copy_to_globals
|
||||
# hangs?
|
||||
ipykernel/tests/test_eventloop.py::test_tk_loop
|
||||
# doesn't like pyside2?
|
||||
ipykernel/tests/test_eventloop.py::test_qt_enable_gui
|
||||
)
|
||||
|
||||
virtx distutils-r1_src_test
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( pypy3 python3_{10..12} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="An implementation of JSON-Schema validation for Python"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/jsonschema/
|
||||
https://github.com/python-jsonschema/jsonschema/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/attrs-22.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-specifications-2023.03.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/referencing-0.28.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/rpds-py-0.7.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/hatch-vcs[${PYTHON_USEDEP}]
|
||||
dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
# formatter deps
|
||||
RDEPEND+="
|
||||
dev-python/fqdn[${PYTHON_USEDEP}]
|
||||
dev-python/idna[${PYTHON_USEDEP}]
|
||||
dev-python/isoduration[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonpointer-1.13[${PYTHON_USEDEP}]
|
||||
dev-python/rfc3339-validator[${PYTHON_USEDEP}]
|
||||
dev-python/rfc3986-validator[${PYTHON_USEDEP}]
|
||||
dev-python/rfc3987[${PYTHON_USEDEP}]
|
||||
dev-python/uri_template[${PYTHON_USEDEP}]
|
||||
>=dev-python/webcolors-1.11[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# requires pip, does not make much sense for the users
|
||||
jsonschema/tests/test_cli.py::TestCLIIntegration::test_license
|
||||
# fragile warning tests
|
||||
jsonschema/tests/test_deprecations.py
|
||||
# wtf?
|
||||
jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug
|
||||
)
|
@ -1,5 +1,7 @@
|
||||
AUX llfuse-1.3.5-cflags.patch 662 BLAKE2B 39e0c35ffbb62b4a6b7b7c5592da8c87554ea733d07d879e6f58dd62003f30812cb4320e41484797cae4f113d271dc8c8625fe847270cae7e35085c2ae67a357 SHA512 f66c13ddee81acc63cb65c09f2836c9a2409f24bebc5b7e3b5fea3f7e626aa52e5d19798ef5ab281d0dd31c3efbc4378003bd93461cfda36fcc726fc871aadf4
|
||||
AUX llfuse-1.4.4-cython3.patch 1651 BLAKE2B 37fe3686b3ececaf34659614a99e3f9099d15512234dceedde319722301f4a7d2dc92c7c0ee9c93b2e766703aefa1ff64b5008f413a63ca616a85fa8a4666d88 SHA512 9477a9788a644d230b46082f35ff1e8e8ff1346f2852c976d3d7c30d00a90ce720876f79775a73f850f443313e63402bbeddb5311cd2cb28195b3c8843899826
|
||||
DIST llfuse-1.4.4.tar.gz 293728 BLAKE2B aba684a0b7b06a0cdb97fb8851639ee0c6b5dc100e3d216430e26f122a78ac7933b7d5725f271328804a592b343988d6ceb79bd8c682620464dcef1d26cc20b0 SHA512 3e61f1f82194dc915947e4f0c2edf44ce0e87c4da142e39c2b19bb7db3f387a348f9c1bb02b6d0f2507b57cbfc20ad83c11ce513c685dc276d6a382e4dd449eb
|
||||
DIST llfuse-1.5.0.tar.gz 869259 BLAKE2B 2a3eee64718f4a73b8dd51ccaeedd7b1b700f734b10daa864d2ca04da5f38ed6a514c4ae8b541000c4d4a3042dcd95533ff7c1df655d7b57ec89120a97d8a9b6 SHA512 bb84c697658e7cd39eb6af3a4a6085c3bc3295e5f0b4f35adf6565ecff5077acb27ecd92f7c6420aa06dab36d9b54915bce65e4ec3d011047a0a15cdccbbb284
|
||||
EBUILD llfuse-1.4.4.ebuild 1094 BLAKE2B d720dcbb931eec6a4bbd49109b5e15aef014ceb4aacd69a2e8d1d1a264a1b8553eba957d4811da673d1ea1189e606a89b1a3838760e7339685a19b1ab56b5efd SHA512 a9f52df6fc687a6576a478e6d716e3963e8cecbbcca8bba1e88ce6ccca960f4be73091de616c08e6afcee6a62d9c2b37f34408392d15d5dbc841bcf1e7c6708f
|
||||
EBUILD llfuse-1.5.0.ebuild 1026 BLAKE2B 04580c932a8fd26f70d635115f94307a3a6bb9b34b9bd37973f17e6f697ed1ad0ea417c5608adace8391b82fe5882b831fa9d645b1d4bbf549b34e1117575ffa SHA512 7afdfd027f86cda9be8c3403fb3fee0575a098a2c403ccfde048b30aff106bd37871716b5d3e78d2f065550ebe29ed11716ca4dc17097f4fbd8cfa4f051ff1b7
|
||||
MISC metadata.xml 377 BLAKE2B 8e7aa00ada5481ed2fc9fedf47334ec81ca26e7788ee5f7c6965151cf6f42e305c33d2b1f1a697094d11668ea5939de99e9ae00de7fbe95b75bbc9577adcff9b SHA512 70eaac052525ddf94287b100e7dc6d4429499d49b6aac109659757cf6ca41f6aac220a1b931e4fb196e322b259e9884b1ecf49947b48b1f76c8350434f811aa7
|
||||
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} pypy3 )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Python bindings for the low-level FUSE API"
|
||||
HOMEPAGE="
|
||||
https://github.com/python-llfuse/python-llfuse/
|
||||
https://pypi.org/project/llfuse/
|
||||
"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND="
|
||||
>=sys-fs/fuse-2.8.0:0
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
sys-apps/attr
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/llfuse-1.3.5-cflags.patch
|
||||
)
|
||||
|
||||
distutils_enable_sphinx rst
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# force regen
|
||||
rm src/llfuse.c || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
if [[ ! -f src/llfuse.c ]]; then
|
||||
esetup.py build_cython
|
||||
fi
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && dodoc -r examples
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
DIST python-nbxmpp-3.2.5.tar.bz2 132029 BLAKE2B 846f3b47c3a9a95cf1fa1b557a007fd4901fb4acaa3160ea4b9b1cdff1e9d2c3e64bc5251b739d816f3f1c449c350d1ac44c14cbef87d14fe5a6450418451007 SHA512 577f8c7b0f5a7c69b4d980bff93f0a208ab0a660d731eb95ec63b76583194b94bd9d9f6b10fcac3951a6e6afb5d0c4da2140cbc17ef653f19ec6957b5d2e5f04
|
||||
DIST python-nbxmpp-4.3.1.tar.bz2 135981 BLAKE2B eb14bf40448fc49cd2656d4ffdafcbe66e4d91d371377f976cc1030067830f47cdd1a27b7c28f0d0a7a4292225913e55db12b6dfb7cc2e5f4ffe230f3aef0e51 SHA512 da69a54efed5c906d8c6e5a093254c0b86d21071403838c2cf969b2d969ea4647c3153fdc4231efa5ecce00eff8989a83e818e9ff7590964d25167878ae93adc
|
||||
DIST python-nbxmpp-4.3.2.tar.bz2 136430 BLAKE2B 9f282ab7a5df4c674f83e01282f7d34af8e9f5cccc4546d8462e46e84a032847f4e7a21df1852f46a41f07a26c0ef9957fffe068711d08aa73545a35452c24c4 SHA512 6aca60d354c0ffc46b95cce13b17a261aa9bb9f3f7f3292499f0e994806377472c74dc5407aee71c773ab76c62a7958899b7959d5ec95a367c0e4b4f7c104c02
|
||||
EBUILD nbxmpp-3.2.5-r1.ebuild 798 BLAKE2B c5a53c25c177b51344a80efc8f9f723ebf26b6b934b5b8d09ed2418a5aec552625efd3ddb27de9d4492fc468fd7def31b3affc8d6384a5a2e2792711178eeb02 SHA512 a0c4d39a2df8f8904c45c9166bb13e2f3ef095591d614f62d47a0f95419f159d846fdd9899e525be8d718ba4f59d5bd7530e7855f7507e4dc19bd231851c9071
|
||||
EBUILD nbxmpp-4.3.1.ebuild 861 BLAKE2B 065ee47b9ec0f4bf88526b77e4bad0b26fd3f1e8fa812b091b0bfe4de3113bcb3e52c48fab8b41a87b478cb2cf8f1f7b29cc7a3c086dbd60162d45f981eed51a SHA512 112ebfc0c678573a30bf9144fe3faea37be5be3cf1885412ee40974a49103c9ffb9cfcde7fd575e2f7741b3884ea4890406bf10296ce19240c2615d0b0836095
|
||||
EBUILD nbxmpp-4.3.2.ebuild 863 BLAKE2B 3fd0a95583ee746708a1619783ec710b1b3b9966e7918ded09678555d25de3ab5ba75aaf5d675707a952e92cdbd10bcbf3821a4fd781d4f7f7fdf72fac400b1f SHA512 9b4183354fe19460920035cc247157c0ba9da73d776f5acd31dc328956245e2126fe0e53d0dc67019cf5bfbff33b8975e1c8c90dd8c7b1de08f2ff5a85a20af8
|
||||
MISC metadata.xml 426 BLAKE2B 2772501445c7b3f8db801d5d6c52c6004cc6c67527b30cfcd5f48b54c3e483f1ace9307632f0da179cc4462e3ffde741b66af38c76e248004ff7238a591a15bf SHA512 0f456e67e255e045d97f969ed16c7e304d07a6b9a60d938dded30e78235a2ef984f5883c08f655e14084a8d76f54cd578c3d1eb387f0cc4d8502a5188dac987d
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=python-nbxmpp-${PV}
|
||||
DESCRIPTION="Python library to use Jabber/XMPP networks in a non-blocking way"
|
||||
HOMEPAGE="
|
||||
https://dev.gajim.org/gajim/python-nbxmpp/
|
||||
https://pypi.org/project/nbxmpp/
|
||||
"
|
||||
SRC_URI="
|
||||
https://dev.gajim.org/gajim/python-nbxmpp/-/archive/${PV}/${MY_P}.tar.bz2
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/gobject-introspection
|
||||
net-libs/libsoup:3.0[introspection]
|
||||
dev-python/idna[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
>=dev-python/precis-i18n-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygobject-3.42[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
@ -0,0 +1,84 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Autogenerated by pycargoebuild 0.6.1
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=maturin
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
CRATES="
|
||||
ahash@0.8.3
|
||||
android-tzdata@0.1.1
|
||||
arrayvec@0.7.4
|
||||
associative-cache@1.0.1
|
||||
autocfg@1.1.0
|
||||
beef@0.5.2
|
||||
bytecount@0.6.3
|
||||
castaway@0.2.2
|
||||
cc@1.0.81
|
||||
cfg-if@1.0.0
|
||||
chrono@0.4.26
|
||||
compact_str@0.7.1
|
||||
encoding_rs@0.8.32
|
||||
itoa@1.0.9
|
||||
itoap@1.0.1
|
||||
libc@0.2.147
|
||||
libm@0.1.4
|
||||
no-panic@0.1.26
|
||||
num-traits@0.2.16
|
||||
once_cell@1.18.0
|
||||
packed_simd_2@0.3.8
|
||||
proc-macro2@1.0.66
|
||||
pyo3-build-config@0.19.2
|
||||
pyo3-ffi@0.19.2
|
||||
quote@1.0.32
|
||||
rustversion@1.0.14
|
||||
ryu@1.0.15
|
||||
serde@1.0.180
|
||||
serde_json@1.0.104
|
||||
simdutf8@0.1.4
|
||||
smallvec@1.11.0
|
||||
static_assertions@1.1.0
|
||||
syn@2.0.28
|
||||
target-lexicon@0.12.11
|
||||
unicode-ident@1.0.11
|
||||
version_check@0.9.4
|
||||
"
|
||||
|
||||
inherit cargo distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy"
|
||||
HOMEPAGE="
|
||||
https://github.com/ijl/orjson/
|
||||
https://pypi.org/project/orjson/
|
||||
"
|
||||
SRC_URI+="
|
||||
${CARGO_CRATE_URIS}
|
||||
"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 MIT )"
|
||||
# Dependent crate licenses
|
||||
LICENSE+="
|
||||
Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/arrow[${PYTHON_USEDEP}]
|
||||
dev-python/pendulum[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
' 'python3*')
|
||||
)
|
||||
"
|
||||
|
||||
QA_FLAGS_IGNORED=".*"
|
||||
|
||||
distutils_enable_tests pytest
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue