parent
d379d3e4d0
commit
a7daebd2a4
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST gentoo-syntax-20200120.tar.bz2 18593 BLAKE2B c29dd3b3896bdb78e5c07b40474434c5ba6fa8b3a89f8ec237136d0474e8eaace8a72c7e3974ff63eaa24d3e57a1e61785bfc7889a93f7263ef9387caa651936 SHA512 ab57707b4a44f33c085a39eb745ca206312d84ca49680e24a462eb75d65cc37694a545f4a31b4ee2919d0f6b30276ce25f6caa7e20782511c7534bf2319e8a4f
|
DIST gentoo-syntax-20200120.tar.bz2 18593 BLAKE2B c29dd3b3896bdb78e5c07b40474434c5ba6fa8b3a89f8ec237136d0474e8eaace8a72c7e3974ff63eaa24d3e57a1e61785bfc7889a93f7263ef9387caa651936 SHA512 ab57707b4a44f33c085a39eb745ca206312d84ca49680e24a462eb75d65cc37694a545f4a31b4ee2919d0f6b30276ce25f6caa7e20782511c7534bf2319e8a4f
|
||||||
|
DIST gentoo-syntax-20201007.tar.bz2 18645 BLAKE2B 5ec28f03dde8d0be7dc24b337fabc02b0fbd53f4a97e4f22b9d042c0d3631f1be3a1e6e7d270b39e43688eb414f04525014acc3ac6e450dc9737341471fc15a7 SHA512 7b5554fdc68616177c906f6185c7c0843a75aac14ed28516d86ab7a37f67c5934e84c15b88c23e39c34665c1a3bb43deeff53e09ec665a4b4822309f77110ca9
|
||||||
|
@ -0,0 +1,42 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit vim-plugin
|
||||||
|
|
||||||
|
DESCRIPTION="vim plugin: Gentoo and Portage syntax highlighting"
|
||||||
|
HOMEPAGE="https://github.com/gentoo/gentoo-syntax"
|
||||||
|
SRC_URI="https://gitweb.gentoo.org/proj/gentoo-syntax.git/snapshot/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="vim"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
IUSE="ignore-glep31"
|
||||||
|
|
||||||
|
VIM_PLUGIN_HELPFILES="gentoo-syntax"
|
||||||
|
VIM_PLUGIN_MESSAGES="filetype"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
if use ignore-glep31 ; then
|
||||||
|
for f in ftplugin/*.vim ; do
|
||||||
|
ebegin "Removing UTF-8 rules from ${f} ..."
|
||||||
|
sed -i -e 's~\(setlocal fileencoding=utf-8\)~" \1~' ${f} \
|
||||||
|
|| die "waah! bad sed voodoo. need more goats."
|
||||||
|
eend $?
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
vim-plugin_pkg_postinst
|
||||||
|
|
||||||
|
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||||
|
if use ignore-glep31 1>/dev/null ; then
|
||||||
|
ewarn "You have chosen to disable the rules which ensure GLEP 31"
|
||||||
|
ewarn "compliance. When editing ebuilds, please make sure you get"
|
||||||
|
ewarn "the character set correct."
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,4 @@
|
|||||||
DIST mongodb-src-r3.6.13.tar.gz 40853787 BLAKE2B de9621de4f570d569df5cfe026ea5da24641c97f1ac9f3e58a0706b1d0bd74757390a075c95c6d3acd12f3c5c7bcbeb9302ac997248c54a5b7910b582debdc82 SHA512 eb84fb22ff871b5ec620d6fc29a6a66072211656e914630ad0f53e4fcad55aa40a76a0e68e68bdbe8ef061bea09ce6ad6aea5d8d865ea8a8fdca0ed829555fcd
|
DIST mongodb-src-r3.6.13.tar.gz 40853787 BLAKE2B de9621de4f570d569df5cfe026ea5da24641c97f1ac9f3e58a0706b1d0bd74757390a075c95c6d3acd12f3c5c7bcbeb9302ac997248c54a5b7910b582debdc82 SHA512 eb84fb22ff871b5ec620d6fc29a6a66072211656e914630ad0f53e4fcad55aa40a76a0e68e68bdbe8ef061bea09ce6ad6aea5d8d865ea8a8fdca0ed829555fcd
|
||||||
DIST mongodb-src-r3.6.17.tar.gz 40932592 BLAKE2B 94bbb943fd929318a2b32344cb4574243ad234d1cd14ffef864d7fd2d60841866fd5a1966eae8f14266a9648deb62b7b55386d41338b515d5e6849e980143d42 SHA512 b4d9e9bfc7ff886532641058c99da29420d1aa472cb4cf2b254e0fd0af5ecc72ac8bf28dcd55ab738b799b00132ffacddd154dea37ccfbf459c7cc603c2582e0
|
DIST mongodb-src-r3.6.17.tar.gz 40932592 BLAKE2B 94bbb943fd929318a2b32344cb4574243ad234d1cd14ffef864d7fd2d60841866fd5a1966eae8f14266a9648deb62b7b55386d41338b515d5e6849e980143d42 SHA512 b4d9e9bfc7ff886532641058c99da29420d1aa472cb4cf2b254e0fd0af5ecc72ac8bf28dcd55ab738b799b00132ffacddd154dea37ccfbf459c7cc603c2582e0
|
||||||
DIST mongodb-src-r4.0.12.tar.gz 49937644 BLAKE2B 81044a6d68be6420d30fb2d7386ff29871a696cad94ce5977c1aba60c2ce80e18ccb86492c1947a359ef124332ea82ac3cb0fb73a68f51904a008fdf911aa055 SHA512 802eaf57d56c5e8e217344f10104a201acb6f5abef0065fc1bb8e6ceef13fe489b7ae46ed0d55b5bad50fe3579860b1c1471d224b51b0f15f968278cb5f6a47a
|
|
||||||
DIST mongodb-src-r4.0.19.tar.gz 50126414 BLAKE2B 2691e2a9c8833ff9a086b28fd137bc8e8f10d58570117657c7cc01edbf61568ae62f58440d72e8711de98b9fc6868c1095b4ee88eb7b0eb63ea45ce19e842edd SHA512 57032a009ea7e79de4cac496a2d1266b83b99cc45eb9f1169be2fcdca1ed2003a659ceedf9eafbd4aa7fc5b3b0513066a5d712af7666cee5a897b2a2d7dd30cb
|
DIST mongodb-src-r4.0.19.tar.gz 50126414 BLAKE2B 2691e2a9c8833ff9a086b28fd137bc8e8f10d58570117657c7cc01edbf61568ae62f58440d72e8711de98b9fc6868c1095b4ee88eb7b0eb63ea45ce19e842edd SHA512 57032a009ea7e79de4cac496a2d1266b83b99cc45eb9f1169be2fcdca1ed2003a659ceedf9eafbd4aa7fc5b3b0513066a5d712af7666cee5a897b2a2d7dd30cb
|
||||||
DIST mongodb-src-r4.2.8.tar.gz 61730247 BLAKE2B f1d98b8ac8f62c0c7aff100ef663bb20345de0e77e0ff420817db0843fe735b58af8075578a7f8d83cc9dc4e597c95ae09f89ce7a21cf8146ff15bcb11eba924 SHA512 163fce480762bd377d6c78b661bfe51fc883223a5309a68f9556e1bafb99e26e476d81dbe6de825d90469e835442be097be630ca9678e54b9d09091e0b5d67c4
|
DIST mongodb-src-r4.2.8.tar.gz 61730247 BLAKE2B f1d98b8ac8f62c0c7aff100ef663bb20345de0e77e0ff420817db0843fe735b58af8075578a7f8d83cc9dc4e597c95ae09f89ce7a21cf8146ff15bcb11eba924 SHA512 163fce480762bd377d6c78b661bfe51fc883223a5309a68f9556e1bafb99e26e476d81dbe6de825d90469e835442be097be630ca9678e54b9d09091e0b5d67c4
|
||||||
|
@ -1,167 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
|
|
||||||
SCONS_MIN_VERSION="2.5.0"
|
|
||||||
CHECKREQS_DISK_BUILD="2400M"
|
|
||||||
CHECKREQS_DISK_USR="512M"
|
|
||||||
CHECKREQS_MEMORY="1024M"
|
|
||||||
|
|
||||||
inherit check-reqs flag-o-matic multiprocessing pax-utils python-any-r1 scons-utils systemd toolchain-funcs user
|
|
||||||
|
|
||||||
MY_P=${PN}-src-r${PV/_rc/-rc}
|
|
||||||
|
|
||||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
|
||||||
HOMEPAGE="https://www.mongodb.com"
|
|
||||||
SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 SSPL-1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64"
|
|
||||||
IUSE="debug kerberos libressl lto mms-agent ssl test +tools"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND=">=app-arch/snappy-1.1.3
|
|
||||||
>=dev-cpp/yaml-cpp-0.5.3:=
|
|
||||||
>=dev-libs/boost-1.60:=[threads(+)]
|
|
||||||
>=dev-libs/libpcre-8.41[cxx]
|
|
||||||
dev-libs/snowball-stemmer
|
|
||||||
net-libs/libpcap
|
|
||||||
>=sys-libs/zlib-1.2.11:=
|
|
||||||
kerberos? ( dev-libs/cyrus-sasl[kerberos] )
|
|
||||||
mms-agent? ( app-admin/mms-agent )
|
|
||||||
ssl? (
|
|
||||||
!libressl? ( >=dev-libs/openssl-1.0.1g:0= )
|
|
||||||
libressl? ( dev-libs/libressl:0= )
|
|
||||||
)"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
$(python_gen_any_dep '
|
|
||||||
dev-python/cheetah[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
||||||
dev-python/typing[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
sys-libs/ncurses:0=
|
|
||||||
sys-libs/readline:0=
|
|
||||||
debug? ( dev-util/valgrind )
|
|
||||||
test? (
|
|
||||||
$(python_gen_any_dep 'dev-python/pymongo[${PYTHON_USEDEP}]')
|
|
||||||
)"
|
|
||||||
PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${PN}-3.6.1-fix-scons.patch"
|
|
||||||
"${FILESDIR}/${PN}-4.0.0-no-compass.patch"
|
|
||||||
"${FILESDIR}/${PN}-4.0.12-boost-1.71-cxxabi-include.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
if [[ -n ${REPLACING_VERSIONS} ]]; then
|
|
||||||
if ver_test "$REPLACING_VERSIONS" -lt 3.6; then
|
|
||||||
ewarn "To upgrade from a version earlier than the 3.6-series, you must"
|
|
||||||
ewarn "successively upgrade major releases until you have upgraded"
|
|
||||||
ewarn "to 3.6-series. Then upgrade to 4.0 series."
|
|
||||||
else
|
|
||||||
ewarn "Be sure to set featureCompatibilityVersion to 3.6 before upgrading."
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
enewgroup mongodb
|
|
||||||
enewuser mongodb -1 -1 /var/lib/${PN} mongodb
|
|
||||||
|
|
||||||
python-any-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# remove bundled libs
|
|
||||||
rm -r src/third_party/{boost-*,pcre-*,scons-*,snappy-*,yaml-cpp-*,zlib-*} || die
|
|
||||||
|
|
||||||
# remove compass
|
|
||||||
rm -r src/mongo/installer/compass || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# https://github.com/mongodb/mongo/wiki/Build-Mongodb-From-Source
|
|
||||||
# --use-system-icu fails tests
|
|
||||||
# --use-system-tcmalloc is strongly NOT recommended:
|
|
||||||
scons_opts=(
|
|
||||||
CC="$(tc-getCC)"
|
|
||||||
CXX="$(tc-getCXX)"
|
|
||||||
|
|
||||||
--disable-warnings-as-errors
|
|
||||||
--use-system-boost
|
|
||||||
--use-system-pcre
|
|
||||||
--use-system-snappy
|
|
||||||
--use-system-stemmer
|
|
||||||
--use-system-yaml
|
|
||||||
--use-system-zlib
|
|
||||||
)
|
|
||||||
|
|
||||||
use debug && scons_opts+=( --dbg=on )
|
|
||||||
use kerberos && scons_opts+=( --use-sasl-client )
|
|
||||||
use lto && scons_opts+=( --lto=on )
|
|
||||||
use ssl && scons_opts+=( --ssl )
|
|
||||||
|
|
||||||
# respect mongoDB upstream's basic recommendations
|
|
||||||
# see bug #536688 and #526114
|
|
||||||
if ! use debug; then
|
|
||||||
filter-flags '-m*'
|
|
||||||
filter-flags '-O?'
|
|
||||||
fi
|
|
||||||
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
escons "${scons_opts[@]}" core tools
|
|
||||||
}
|
|
||||||
|
|
||||||
# FEATURES="test -usersandbox" emerge dev-db/mongodb
|
|
||||||
src_test() {
|
|
||||||
"${EPYTHON}" ./buildscripts/resmoke.py --dbpathPrefix=test --suites core --jobs=$(makeopts_jobs) || die "Tests failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
escons "${scons_opts[@]}" --nostrip install --prefix="${ED}"/usr
|
|
||||||
|
|
||||||
doman debian/mongo*.1
|
|
||||||
dodoc README docs/building.md
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}/${PN}.initd-r3" ${PN}
|
|
||||||
newconfd "${FILESDIR}/${PN}.confd-r3" ${PN}
|
|
||||||
newinitd "${FILESDIR}/mongos.initd-r3" mongos
|
|
||||||
newconfd "${FILESDIR}/mongos.confd-r3" mongos
|
|
||||||
|
|
||||||
insinto /etc
|
|
||||||
newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf
|
|
||||||
newins "${FILESDIR}/mongos.conf-r2" mongos.conf
|
|
||||||
|
|
||||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
|
||||||
|
|
||||||
insinto /etc/logrotate.d/
|
|
||||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
|
||||||
|
|
||||||
# see bug #526114
|
|
||||||
pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos}
|
|
||||||
|
|
||||||
local x
|
|
||||||
for x in /var/{lib,log}/${PN}; do
|
|
||||||
diropts -m0750 -o mongodb -g mongodb
|
|
||||||
keepdir "${x}"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
ewarn "Make sure to read the release notes and follow the upgrade process:"
|
|
||||||
ewarn " https://docs.mongodb.com/manual/release-notes/$(ver_cut 1-2)/"
|
|
||||||
ewarn " https://docs.mongodb.com/manual/release-notes/$(ver_cut 1-2)/#upgrade-procedures"
|
|
||||||
}
|
|
Binary file not shown.
@ -0,0 +1,158 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
WX_GTK_VER="3.0-gtk3"
|
||||||
|
|
||||||
|
inherit elisp-common java-pkg-opt-2 systemd wxwidgets
|
||||||
|
|
||||||
|
# NOTE: If you need symlinks for binaries please tell maintainers or
|
||||||
|
# open up a bug to let it be created.
|
||||||
|
|
||||||
|
UPSTREAM_V="$(ver_cut 1-2)"
|
||||||
|
|
||||||
|
DESCRIPTION="Erlang programming language, runtime environment and libraries (OTP)"
|
||||||
|
HOMEPAGE="https://www.erlang.org/"
|
||||||
|
SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> ${P}.tar.gz
|
||||||
|
http://erlang.org/download/otp_doc_man_${UPSTREAM_V}.tar.gz -> ${PN}_doc_man_${UPSTREAM_V}.tar.gz
|
||||||
|
doc? ( http://erlang.org/download/otp_doc_html_${UPSTREAM_V}.tar.gz -> ${PN}_doc_html_${UPSTREAM_V}.tar.gz )"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
# We use this subslot because Compiled HiPE Code can be loaded on the exact
|
||||||
|
# same build of ERTS that was used when compiling the code. See
|
||||||
|
# http://erlang.org/doc/system_principles/misc.html for more information.
|
||||||
|
SLOT="0/${PV}"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
|
||||||
|
IUSE="doc emacs +hipe java +kpoll libressl odbc sctp ssl systemd tk wxwidgets"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
acct-group/epmd
|
||||||
|
acct-user/epmd
|
||||||
|
sys-libs/ncurses:0
|
||||||
|
sys-libs/zlib
|
||||||
|
emacs? ( >=app-editors/emacs-23.1:* )
|
||||||
|
java? ( >=virtual/jdk-1.8:* )
|
||||||
|
odbc? ( dev-db/unixODBC )
|
||||||
|
sctp? ( net-misc/lksctp-tools )
|
||||||
|
ssl? (
|
||||||
|
!libressl? ( >=dev-libs/openssl-0.9.7d:0= )
|
||||||
|
libressl? ( dev-libs/libressl:0= )
|
||||||
|
)
|
||||||
|
systemd? ( sys-apps/systemd )
|
||||||
|
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-lang/perl
|
||||||
|
"
|
||||||
|
|
||||||
|
S="${WORKDIR}/otp-OTP-${PV}"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/18.2.1-wx3.0.patch"
|
||||||
|
"${FILESDIR}/${PN}-22.0-dont-ignore-LDFLAGS.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
SITEFILE=50"${PN}"-gentoo.el
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
./otp_build autoconf || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
use wxwidgets && setup-wxwidgets
|
||||||
|
|
||||||
|
local myconf=(
|
||||||
|
--disable-builtin-zlib
|
||||||
|
$(use_enable hipe)
|
||||||
|
$(use_enable kpoll kernel-poll)
|
||||||
|
$(use_with java javac)
|
||||||
|
$(use_enable sctp)
|
||||||
|
$(use_with ssl ssl "${EPREFIX}"/usr)
|
||||||
|
$(use_enable ssl dynamic-ssl-lib)
|
||||||
|
$(use_enable systemd)
|
||||||
|
$(usex wxwidgets "--with-wx-config=${WX_CONFIG}" "--with-wxdir=/dev/null")
|
||||||
|
)
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake
|
||||||
|
|
||||||
|
if use emacs ; then
|
||||||
|
pushd lib/tools/emacs &>/dev/null || die
|
||||||
|
elisp-compile *.el
|
||||||
|
popd &>/dev/null || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
extract_version() {
|
||||||
|
local path="$1"
|
||||||
|
local var_name="$2"
|
||||||
|
sed -n -e "/^${var_name} = \(.*\)$/s::\1:p" "${S}/${path}/vsn.mk" || die "extract_version() failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local erl_libdir_rel="$(get_libdir)/erlang"
|
||||||
|
local erl_libdir="/usr/${erl_libdir_rel}"
|
||||||
|
local erl_interface_ver="$(extract_version lib/erl_interface EI_VSN)"
|
||||||
|
local erl_erts_ver="$(extract_version erts VSN)"
|
||||||
|
local my_manpath="/usr/share/${PN}/man"
|
||||||
|
|
||||||
|
[[ -z "${erl_erts_ver}" ]] && die "Couldn't determine erts version"
|
||||||
|
[[ -z "${erl_interface_ver}" ]] && die "Couldn't determine interface version"
|
||||||
|
|
||||||
|
emake INSTALL_PREFIX="${D}" install
|
||||||
|
|
||||||
|
if use doc ; then
|
||||||
|
# Note: we explicitly install docs into:
|
||||||
|
# /usr/share/doc/${PF}/{doc,lib,erts-*}
|
||||||
|
# To maintain that layout we gather everything in 'html-docs'.
|
||||||
|
# See bug #684376.
|
||||||
|
mkdir html-docs || die
|
||||||
|
mv "${WORKDIR}"/doc "${WORKDIR}"/lib "${WORKDIR}"/erts-* html-docs/ || die
|
||||||
|
local DOCS=( "AUTHORS" "HOWTO"/* "README.md" "CONTRIBUTING.md" html-docs/. )
|
||||||
|
docompress -x /usr/share/doc/${PF}
|
||||||
|
else
|
||||||
|
local DOCS=("README.md")
|
||||||
|
fi
|
||||||
|
|
||||||
|
einstalldocs
|
||||||
|
|
||||||
|
dosym "../${erl_libdir_rel}/bin/erl" /usr/bin/erl
|
||||||
|
dosym "../${erl_libdir_rel}/bin/erlc" /usr/bin/erlc
|
||||||
|
dosym "../${erl_libdir_rel}/bin/escript" /usr/bin/escript
|
||||||
|
dosym "../${erl_libdir_rel}/lib/erl_interface-${erl_interface_ver}/bin/erl_call" /usr/bin/erl_call
|
||||||
|
dosym "../${erl_libdir_rel}/erts-${erl_erts_ver}/bin/beam.smp" /usr/bin/beam.smp
|
||||||
|
|
||||||
|
## Clean up the no longer needed files
|
||||||
|
rm "${ED}/${erl_libdir}/Install" || die
|
||||||
|
|
||||||
|
insinto "${my_manpath}"
|
||||||
|
doins -r "${WORKDIR}"/man/*
|
||||||
|
# extend MANPATH, so the normal man command can find it
|
||||||
|
# see bug 189639
|
||||||
|
newenvd - "90erlang" <<-_EOF_
|
||||||
|
MANPATH="${my_manpath}"
|
||||||
|
_EOF_
|
||||||
|
|
||||||
|
if use emacs ; then
|
||||||
|
elisp-install erlang lib/tools/emacs/*.{el,elc}
|
||||||
|
sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \
|
||||||
|
"${FILESDIR}/${SITEFILE}" > "${T}/${SITEFILE}" || die
|
||||||
|
elisp-site-file-install "${T}/${SITEFILE}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/epmd.init-r2 epmd
|
||||||
|
newconfd "${FILESDIR}"/epmd.confd-r2 epmd
|
||||||
|
use systemd && systemd_newunit "${FILESDIR}"/epmd.service-r1 epmd.service
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
use emacs && elisp-site-regen
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
use emacs && elisp-site-regen
|
||||||
|
}
|
@ -0,0 +1,158 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
WX_GTK_VER="3.0-gtk3"
|
||||||
|
|
||||||
|
inherit elisp-common java-pkg-opt-2 systemd wxwidgets
|
||||||
|
|
||||||
|
# NOTE: If you need symlinks for binaries please tell maintainers or
|
||||||
|
# open up a bug to let it be created.
|
||||||
|
|
||||||
|
UPSTREAM_V="$(ver_cut 1-2)"
|
||||||
|
|
||||||
|
DESCRIPTION="Erlang programming language, runtime environment and libraries (OTP)"
|
||||||
|
HOMEPAGE="https://www.erlang.org/"
|
||||||
|
SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> ${P}.tar.gz
|
||||||
|
http://erlang.org/download/otp_doc_man_${UPSTREAM_V}.tar.gz -> ${PN}_doc_man_${UPSTREAM_V}.tar.gz
|
||||||
|
doc? ( http://erlang.org/download/otp_doc_html_${UPSTREAM_V}.tar.gz -> ${PN}_doc_html_${UPSTREAM_V}.tar.gz )"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
# We use this subslot because Compiled HiPE Code can be loaded on the exact
|
||||||
|
# same build of ERTS that was used when compiling the code. See
|
||||||
|
# http://erlang.org/doc/system_principles/misc.html for more information.
|
||||||
|
SLOT="0/${PV}"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
|
||||||
|
IUSE="doc emacs +hipe java +kpoll libressl odbc sctp ssl systemd tk wxwidgets"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
acct-group/epmd
|
||||||
|
acct-user/epmd
|
||||||
|
sys-libs/ncurses:0
|
||||||
|
sys-libs/zlib
|
||||||
|
emacs? ( >=app-editors/emacs-23.1:* )
|
||||||
|
java? ( >=virtual/jdk-1.8:* )
|
||||||
|
odbc? ( dev-db/unixODBC )
|
||||||
|
sctp? ( net-misc/lksctp-tools )
|
||||||
|
ssl? (
|
||||||
|
!libressl? ( >=dev-libs/openssl-0.9.7d:0= )
|
||||||
|
libressl? ( dev-libs/libressl:0= )
|
||||||
|
)
|
||||||
|
systemd? ( sys-apps/systemd )
|
||||||
|
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-lang/perl
|
||||||
|
"
|
||||||
|
|
||||||
|
S="${WORKDIR}/otp-OTP-${PV}"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/18.2.1-wx3.0.patch"
|
||||||
|
"${FILESDIR}/${PN}-22.0-dont-ignore-LDFLAGS.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
SITEFILE=50"${PN}"-gentoo.el
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
./otp_build autoconf || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
use wxwidgets && setup-wxwidgets
|
||||||
|
|
||||||
|
local myconf=(
|
||||||
|
--disable-builtin-zlib
|
||||||
|
$(use_enable hipe)
|
||||||
|
$(use_enable kpoll kernel-poll)
|
||||||
|
$(use_with java javac)
|
||||||
|
$(use_enable sctp)
|
||||||
|
$(use_with ssl ssl "${EPREFIX}"/usr)
|
||||||
|
$(use_enable ssl dynamic-ssl-lib)
|
||||||
|
$(use_enable systemd)
|
||||||
|
$(usex wxwidgets "--with-wx-config=${WX_CONFIG}" "--with-wxdir=/dev/null")
|
||||||
|
)
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake
|
||||||
|
|
||||||
|
if use emacs ; then
|
||||||
|
pushd lib/tools/emacs &>/dev/null || die
|
||||||
|
elisp-compile *.el
|
||||||
|
popd &>/dev/null || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
extract_version() {
|
||||||
|
local path="$1"
|
||||||
|
local var_name="$2"
|
||||||
|
sed -n -e "/^${var_name} = \(.*\)$/s::\1:p" "${S}/${path}/vsn.mk" || die "extract_version() failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local erl_libdir_rel="$(get_libdir)/erlang"
|
||||||
|
local erl_libdir="/usr/${erl_libdir_rel}"
|
||||||
|
local erl_interface_ver="$(extract_version lib/erl_interface EI_VSN)"
|
||||||
|
local erl_erts_ver="$(extract_version erts VSN)"
|
||||||
|
local my_manpath="/usr/share/${PN}/man"
|
||||||
|
|
||||||
|
[[ -z "${erl_erts_ver}" ]] && die "Couldn't determine erts version"
|
||||||
|
[[ -z "${erl_interface_ver}" ]] && die "Couldn't determine interface version"
|
||||||
|
|
||||||
|
emake INSTALL_PREFIX="${D}" install
|
||||||
|
|
||||||
|
if use doc ; then
|
||||||
|
# Note: we explicitly install docs into:
|
||||||
|
# /usr/share/doc/${PF}/{doc,lib,erts-*}
|
||||||
|
# To maintain that layout we gather everything in 'html-docs'.
|
||||||
|
# See bug #684376.
|
||||||
|
mkdir html-docs || die
|
||||||
|
mv "${WORKDIR}"/doc "${WORKDIR}"/lib "${WORKDIR}"/erts-* html-docs/ || die
|
||||||
|
local DOCS=( "AUTHORS" "HOWTO"/* "README.md" "CONTRIBUTING.md" html-docs/. )
|
||||||
|
docompress -x /usr/share/doc/${PF}
|
||||||
|
else
|
||||||
|
local DOCS=("README.md")
|
||||||
|
fi
|
||||||
|
|
||||||
|
einstalldocs
|
||||||
|
|
||||||
|
dosym "../${erl_libdir_rel}/bin/erl" /usr/bin/erl
|
||||||
|
dosym "../${erl_libdir_rel}/bin/erlc" /usr/bin/erlc
|
||||||
|
dosym "../${erl_libdir_rel}/bin/escript" /usr/bin/escript
|
||||||
|
dosym "../${erl_libdir_rel}/lib/erl_interface-${erl_interface_ver}/bin/erl_call" /usr/bin/erl_call
|
||||||
|
dosym "../${erl_libdir_rel}/erts-${erl_erts_ver}/bin/beam.smp" /usr/bin/beam.smp
|
||||||
|
|
||||||
|
## Clean up the no longer needed files
|
||||||
|
rm "${ED}/${erl_libdir}/Install" || die
|
||||||
|
|
||||||
|
insinto "${my_manpath}"
|
||||||
|
doins -r "${WORKDIR}"/man/*
|
||||||
|
# extend MANPATH, so the normal man command can find it
|
||||||
|
# see bug 189639
|
||||||
|
newenvd - "90erlang" <<-_EOF_
|
||||||
|
MANPATH="${my_manpath}"
|
||||||
|
_EOF_
|
||||||
|
|
||||||
|
if use emacs ; then
|
||||||
|
elisp-install erlang lib/tools/emacs/*.{el,elc}
|
||||||
|
sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \
|
||||||
|
"${FILESDIR}/${SITEFILE}" > "${T}/${SITEFILE}" || die
|
||||||
|
elisp-site-file-install "${T}/${SITEFILE}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/epmd.init-r2 epmd
|
||||||
|
newconfd "${FILESDIR}"/epmd.confd-r2 epmd
|
||||||
|
use systemd && systemd_newunit "${FILESDIR}"/epmd.service-r1 epmd.service
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
use emacs && elisp-site-regen
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
use emacs && elisp-site-regen
|
||||||
|
}
|
@ -0,0 +1,281 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{6..9} )
|
||||||
|
|
||||||
|
WANT_AUTOCONF="2.1"
|
||||||
|
|
||||||
|
inherit autotools check-reqs flag-o-matic multiprocessing python-any-r1 toolchain-funcs
|
||||||
|
|
||||||
|
MY_PN="mozjs"
|
||||||
|
MY_PV="${PV/_pre*}" # Handle Gentoo pre-releases
|
||||||
|
|
||||||
|
MY_MAJOR=$(ver_cut 1)
|
||||||
|
|
||||||
|
MOZ_ESR="1"
|
||||||
|
|
||||||
|
# Convert the ebuild version to the upstream mozilla version
|
||||||
|
MOZ_PV="${MY_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
|
||||||
|
|
||||||
|
if [[ ${MOZ_ESR} == 1 ]] ; then
|
||||||
|
# ESR releases have slightly different version numbers
|
||||||
|
MOZ_PV="${MOZ_PV}esr"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Patch version
|
||||||
|
FIREFOX_PATCHSET="firefox-esr-78-patches-02.tar.xz"
|
||||||
|
SPIDERMONKEY_PATCHSET="spidermonkey-78-patches-01.tar.xz"
|
||||||
|
|
||||||
|
MOZ_HTTP_URI="https://archive.mozilla.org/pub/firefox/releases"
|
||||||
|
MOZ_SRC_URI="${MOZ_HTTP_URI}/${MOZ_PV}/source/firefox-${MOZ_PV}.source.tar.xz"
|
||||||
|
|
||||||
|
if [[ "${PV}" == *_rc* ]]; then
|
||||||
|
MOZ_HTTP_URI="https://archive.mozilla.org/pub/firefox/candidates/${MOZ_PV}-candidates/build${PV##*_rc}"
|
||||||
|
MOZ_SRC_URI="${MOZ_HTTP_URI}/source/firefox-${MOZ_PV}.source.tar.xz"
|
||||||
|
fi
|
||||||
|
|
||||||
|
PATCH_URIS=(
|
||||||
|
https://dev.gentoo.org/~{whissi,polynomial-c,axs}/mozilla/patchsets/${FIREFOX_PATCHSET}
|
||||||
|
https://dev.gentoo.org/~{whissi,polynomial-c,axs}/mozilla/patchsets/${SPIDERMONKEY_PATCHSET}
|
||||||
|
)
|
||||||
|
|
||||||
|
SRC_URI="${MOZ_SRC_URI}
|
||||||
|
${PATCH_URIS[@]}"
|
||||||
|
|
||||||
|
DESCRIPTION="SpiderMonkey is Mozilla's JavaScript engine written in C and C++"
|
||||||
|
HOMEPAGE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc64 ~s390 ~x86"
|
||||||
|
|
||||||
|
SLOT="78"
|
||||||
|
LICENSE="MPL-2.0"
|
||||||
|
IUSE="cpu_flags_arm_neon debug +jit lto test"
|
||||||
|
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
BDEPEND="${PYTHON_DEPS}
|
||||||
|
sys-devel/llvm
|
||||||
|
>=virtual/rust-1.41.0
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
CDEPEND=">=dev-libs/icu-67.1:=
|
||||||
|
>=dev-libs/nspr-4.25
|
||||||
|
sys-libs/readline:0=
|
||||||
|
>=sys-libs/zlib-1.2.3"
|
||||||
|
|
||||||
|
DEPEND="${CDEPEND}
|
||||||
|
test? (
|
||||||
|
$(python_gen_any_dep 'dev-python/six[${PYTHON_USEDEP}]')
|
||||||
|
)"
|
||||||
|
|
||||||
|
RDEPEND="${CDEPEND}"
|
||||||
|
|
||||||
|
S="${WORKDIR}/firefox-${MY_PV}/js/src"
|
||||||
|
|
||||||
|
python_check_deps() {
|
||||||
|
if use test ; then
|
||||||
|
has_version "dev-python/six[${PYTHON_USEDEP}]"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
if use test ; then
|
||||||
|
CHECKREQS_DISK_BUILD="6400M"
|
||||||
|
else
|
||||||
|
CHECKREQS_DISK_BUILD="5600M"
|
||||||
|
fi
|
||||||
|
|
||||||
|
check-reqs_pkg_pretend
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
if use test ; then
|
||||||
|
CHECKREQS_DISK_BUILD="6400M"
|
||||||
|
else
|
||||||
|
CHECKREQS_DISK_BUILD="5600M"
|
||||||
|
fi
|
||||||
|
|
||||||
|
check-reqs_pkg_setup
|
||||||
|
|
||||||
|
python-any-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
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 LTO respect MAKEOPTS
|
||||||
|
sed -i \
|
||||||
|
-e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
|
||||||
|
build/moz.configure/lto-pgo.configure \
|
||||||
|
|| die "sed failed to set num_cores"
|
||||||
|
|
||||||
|
# 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"
|
||||||
|
|
||||||
|
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() {
|
||||||
|
tc-export CC CXX LD AR RANLIB
|
||||||
|
|
||||||
|
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-jemalloc
|
||||||
|
--disable-optimize
|
||||||
|
--disable-strip
|
||||||
|
--enable-readline
|
||||||
|
--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 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
|
||||||
|
myeconfargs+=( --enable-lto )
|
||||||
|
fi
|
||||||
|
|
||||||
|
# LTO flag was handled via configure
|
||||||
|
filter-flags '-flto*'
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
local -a KNOWN_TESTFAILURES
|
||||||
|
KNOWN_TESTFAILURES+=( non262/Date/reset-time-zone-cache-same-offset.js )
|
||||||
|
KNOWN_TESTFAILURES+=( non262/Date/time-zone-path.js )
|
||||||
|
KNOWN_TESTFAILURES+=( non262/Date/time-zones-historic.js )
|
||||||
|
KNOWN_TESTFAILURES+=( non262/Date/time-zones-imported.js )
|
||||||
|
KNOWN_TESTFAILURES+=( non262/Date/toString-localized.js )
|
||||||
|
KNOWN_TESTFAILURES+=( non262/Date/toString-localized-posix.js )
|
||||||
|
KNOWN_TESTFAILURES+=( non262/Intl/DateTimeFormat/timeZone_backward_links.js )
|
||||||
|
KNOWN_TESTFAILURES+=( non262/Intl/DateTimeFormat/tz-environment-variable.js )
|
||||||
|
KNOWN_TESTFAILURES+=( non262/Intl/Locale/likely-subtags.js )
|
||||||
|
KNOWN_TESTFAILURES+=( test262/intl402/Locale/prototype/minimize/removing-likely-subtags-first-adds-likely-subtags.js )
|
||||||
|
|
||||||
|
if use x86 ; then
|
||||||
|
KNOWN_TESTFAILURES+=( non262/Date/timeclip.js )
|
||||||
|
KNOWN_TESTFAILURES+=( test262/built-ins/Number/prototype/toPrecision/return-values.js )
|
||||||
|
KNOWN_TESTFAILURES+=( test262/language/types/number/S8.5_A2.1.js )
|
||||||
|
KNOWN_TESTFAILURES+=( test262/language/types/number/S8.5_A2.2.js )
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "" > "${T}"/known_failures.list || die
|
||||||
|
|
||||||
|
local KNOWN_TESTFAILURE
|
||||||
|
for KNOWN_TESTFAILURE in ${KNOWN_TESTFAILURES[@]} ; do
|
||||||
|
echo "${KNOWN_TESTFAILURE}" >> "${T}"/known_failures.list
|
||||||
|
done
|
||||||
|
|
||||||
|
PYTHONPATH="${S}/tests/lib" \
|
||||||
|
${PYTHON} \
|
||||||
|
"${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
|
||||||
|
KNOWN_TESTFAILURES=()
|
||||||
|
|
||||||
|
echo "" > "${T}"/known_failures.list || die
|
||||||
|
|
||||||
|
for KNOWN_TESTFAILURE in ${KNOWN_TESTFAILURES[@]} ; do
|
||||||
|
echo "${KNOWN_TESTFAILURE}" >> "${T}"/known_failures.list
|
||||||
|
done
|
||||||
|
|
||||||
|
PYTHONPATH="${S}/tests/lib" \
|
||||||
|
${PYTHON} \
|
||||||
|
"${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.
@ -1,4 +1 @@
|
|||||||
DIST npth-1.3.tar.bz2 295998 BLAKE2B 25c0176439a5be3766df15526b06dd07f318dca8b729eb5ec461a40b912132ebbf7bf6ddb2b57a064bfba73f3fe0ab59c00daf6138324f53f5e9e6df91941bf8 SHA512 97b0278cc9448adb42c4a83b8e7bafeed939acaf3dd3a201a1b103df4e48f24224d4bdaeb97903ad1884914ce363cbceffe948a7c1db4f19abf87ca5964f5699
|
|
||||||
DIST npth-1.4.tar.bz2 299106 BLAKE2B ba5186de1371d08137e86ef1f6ad12a610a26b7ae3ca50d6fc49f685083380803b245acf01110a28ab25427208bab82de73f16d6f21011b1a0590d16c7c85cf7 SHA512 649009b4fbd2bbbb8fce2911c2f9070a758d037be0d147a63754e3c1f5a9ffb73b907cd09c79314fe60c25084ca7a7b3b387139dd83cc0e11a7e7ba64630ae1f
|
|
||||||
DIST npth-1.5.tar.bz2 299308 BLAKE2B 1a3cef4475ad5440487151026889ef321626b372d1c6970c7482df92a702d02860589f7f1f541b1fccf0e8f39b194476ef91507e33a35e05ba3713465f9f11d1 SHA512 20f0ec59d304c68081e42535870af8e76c18e30aa7b04ccdafe60fe5261ad7275c2c0e3ea3a767d6145258a3a39fa641032cd97205318266dd727a5fe7ee331a
|
|
||||||
DIST npth-1.6.tar.bz2 300486 BLAKE2B 665fdb2f4cbe59750b6b4b7c2701ee80a23a122df10c9f8be47c4af5f3bf5968f709637ab3f4878bb68609752fbb6ce1364e109fdfeba64e4db258733a33f3fc SHA512 2ed1012e14a9d10665420b9a23628be7e206fd9348111ec751349b93557ee69f1176bcf7e6b195b35b1c44a5e0e81ee33b713f03d79a33d1ecd9037035afeda2
|
DIST npth-1.6.tar.bz2 300486 BLAKE2B 665fdb2f4cbe59750b6b4b7c2701ee80a23a122df10c9f8be47c4af5f3bf5968f709637ab3f4878bb68609752fbb6ce1364e109fdfeba64e4db258733a33f3fc SHA512 2ed1012e14a9d10665420b9a23628be7e206fd9348111ec751349b93557ee69f1176bcf7e6b195b35b1c44a5e0e81ee33b713f03d79a33d1ecd9037035afeda2
|
||||||
|
@ -1,5 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<!-- maintainer-needed -->
|
<maintainer type="person">
|
||||||
|
<email>jakov.smolic@sartura.hr</email>
|
||||||
|
<name>Jakov Smolic</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>proxy-maint@gentoo.org</email>
|
||||||
|
<name>Proxy Maintainers</name>
|
||||||
|
</maintainer>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1,24 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit libtool
|
|
||||||
|
|
||||||
DESCRIPTION="New GNU Portable Threads Library"
|
|
||||||
HOMEPAGE="https://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git"
|
|
||||||
SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="static-libs"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
elibtoolize # for Solaris shared library
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf $(use_enable static-libs static)
|
|
||||||
}
|
|
@ -1,24 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit libtool
|
|
||||||
|
|
||||||
DESCRIPTION="New GNU Portable Threads Library"
|
|
||||||
HOMEPAGE="https://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git"
|
|
||||||
SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="static-libs"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
elibtoolize # for Solaris shared library
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf $(use_enable static-libs static)
|
|
||||||
}
|
|
@ -1,29 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit libtool ltprune
|
|
||||||
|
|
||||||
DESCRIPTION="New GNU Portable Threads Library"
|
|
||||||
HOMEPAGE="https://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git"
|
|
||||||
SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="static-libs"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
elibtoolize # for Solaris shared library
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf $(use_enable static-libs static)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
prune_libtool_files
|
|
||||||
}
|
|
@ -1,29 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit libtool
|
|
||||||
|
|
||||||
DESCRIPTION="New GNU Portable Threads Library"
|
|
||||||
HOMEPAGE="https://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git"
|
|
||||||
SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="static-libs"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
elibtoolize # for Solaris shared library
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf $(use_enable static-libs static)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
find "${D}" -name '*.la' -delete || die
|
|
||||||
}
|
|
@ -1,66 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
|
||||||
PYTHON_REQ_USE='threads(+)'
|
|
||||||
inherit python-any-r1 waf-utils multilib-build multilib-minimal
|
|
||||||
|
|
||||||
DESCRIPTION="Library for storing RDF data in memory"
|
|
||||||
HOMEPAGE="http://drobilla.net/software/sord/"
|
|
||||||
COMMIT="81e138633076c2d7ef7e1691845757208d02f478"
|
|
||||||
COMMIT_AUTOWAF="6c6c1d29bfe4c28dd26b5cde7ea4a1a148ee700d"
|
|
||||||
SRC_URI="https://gitlab.com/drobilla/${PN}/-/archive/${COMMIT}/${PN}-${COMMIT}.tar.gz
|
|
||||||
https://github.com/drobilla/autowaf/archive/${COMMIT_AUTOWAF}.tar.gz -> drobilla-autowaf-${COMMIT_AUTOWAF}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="ISC"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86"
|
|
||||||
IUSE="doc static-libs test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-libs/libpcre
|
|
||||||
>=dev-libs/serd-0.30.0
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
doc? ( app-doc/doxygen )
|
|
||||||
virtual/pkgconfig"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
|
||||||
|
|
||||||
DOCS=( "AUTHORS" "NEWS" "README.md" )
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# link in downloaded waf
|
|
||||||
rm -r "${S}/waflib" || die
|
|
||||||
ln -s "${WORKDIR}/autowaf-${COMMIT_AUTOWAF}" "${S}/waflib" || die
|
|
||||||
|
|
||||||
sed -i -e 's/^.*run_ldconfig/#\0/' wscript || die
|
|
||||||
default
|
|
||||||
multilib_copy_sources
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
waf-utils_src_configure \
|
|
||||||
--docdir=/usr/share/doc/${PF} \
|
|
||||||
$(multilib_native_usex doc --docs "") \
|
|
||||||
$(usex test --test "") \
|
|
||||||
$(usex static-libs --static "")
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_test() {
|
|
||||||
./waf test || die
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_compile() {
|
|
||||||
waf-utils_src_compile
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install() {
|
|
||||||
waf-utils_src_install
|
|
||||||
default
|
|
||||||
}
|
|
@ -0,0 +1,41 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DIST_AUTHOR=PETDANCE
|
||||||
|
DIST_VERSION=1.24
|
||||||
|
inherit perl-module
|
||||||
|
|
||||||
|
DESCRIPTION="convenience wrappers around Carp::Assert"
|
||||||
|
LICENSE="Artistic-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
virtual/perl-Carp
|
||||||
|
dev-perl/Carp-Assert
|
||||||
|
virtual/perl-Scalar-List-Utils
|
||||||
|
"
|
||||||
|
BDEPEND="${RDEPEND}
|
||||||
|
virtual/perl-ExtUtils-MakeMaker
|
||||||
|
test? (
|
||||||
|
dev-perl/Test-Exception
|
||||||
|
)
|
||||||
|
"
|
||||||
|
PERL_RM_FILES=(
|
||||||
|
"t/pod-coverage.t"
|
||||||
|
"t/pod.t"
|
||||||
|
)
|
||||||
|
src_test() {
|
||||||
|
perl-module_src_test
|
||||||
|
local MODULES=(
|
||||||
|
"Carp::Assert::More ${DIST_VERSION}"
|
||||||
|
)
|
||||||
|
for dep in "${MODULES[@]}"; do
|
||||||
|
perl -Mblib="${S}" -M"${dep} ()" -e1 ||
|
||||||
|
die "Could not load ${dep}"
|
||||||
|
done
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST Carp-Assert-More-1.20.tar.gz 13282 BLAKE2B aa85111f076f78d0de2e4568b2ddb3c1318c5dae76da3b29f442e07e7b4f729c62abf94bc320477f1c572c6ff64d87c30793fb64e88f0774cba873c7f5aa8ffd SHA512 9caacf2cc4acb190b071a7312e5e1cdee5a0b7a0e9db0efc6dca0fa19167524a3bd6beecc4bb8e68eace719fc1d918063e9d259a24cb28e81dd628ea75ba541b
|
DIST Carp-Assert-More-1.20.tar.gz 13282 BLAKE2B aa85111f076f78d0de2e4568b2ddb3c1318c5dae76da3b29f442e07e7b4f729c62abf94bc320477f1c572c6ff64d87c30793fb64e88f0774cba873c7f5aa8ffd SHA512 9caacf2cc4acb190b071a7312e5e1cdee5a0b7a0e9db0efc6dca0fa19167524a3bd6beecc4bb8e68eace719fc1d918063e9d259a24cb28e81dd628ea75ba541b
|
||||||
|
DIST Carp-Assert-More-1.24.tar.gz 14414 BLAKE2B 0a0a710a9248956cd6a6cf72c200348d8ed9183d54c1b2754ed8a1c2af542f87c425d8808cb7b4c930d547ee6282ed577c43f12141898c2b9cdad82ace71cc0d SHA512 60b4d21ea90822f182a9b166489146c73d7c5230de1910b4f23bab9cdf85b93d4b8e1e9792f57808a984dcd63179197d0229fa4b812693808cfa89bb6685bf00
|
||||||
|
Binary file not shown.
@ -1 +0,0 @@
|
|||||||
DIST Net-Kismet-0.04.tar.gz 4523 BLAKE2B f0d43895074647ec0dde49aa78d444cb778f670a89608bd2b99247a792de0556af854a37487d29475b88a228b96ca24bcec7194aba7442cfa6ad354e9263c6f1 SHA512 628f5b4e29fe2251e6f21f4e81ddb920a9019353525b1755bc20f571e08823d0af1cf8e564a4fbee8721159dd473fd4e84125e06903b1cc0225de98f5eac8cb7
|
|
@ -1,21 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
inherit perl-module
|
|
||||||
|
|
||||||
DESCRIPTION="Module for writing perl Kismet clients"
|
|
||||||
SRC_URI="https://www.kismetwireless.net/code/${P}.tar.gz"
|
|
||||||
HOMEPAGE="https://www.kismetwireless.net"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="Artistic"
|
|
||||||
KEYWORDS="amd64 ~ia64 ppc x86"
|
|
||||||
IUSE=""
|
|
||||||
SRC_TEST="do parallel"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
perl-module_src_compile
|
|
||||||
perl-module_src_test
|
|
||||||
}
|
|
@ -1,8 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="project">
|
|
||||||
<email>perl@gentoo.org</email>
|
|
||||||
<name>Gentoo Perl Project</name>
|
|
||||||
</maintainer>
|
|
||||||
</pkgmetadata>
|
|
Binary file not shown.
@ -1,22 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{6,7} )
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Abseil Python Common Libraries"
|
|
||||||
HOMEPAGE="https://github.com/abseil/abseil-py"
|
|
||||||
SRC_URI="https://github.com/abseil/abseil-py/archive/pypi-v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="dev-python/six[${PYTHON_USEDEP}]
|
|
||||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
S="${WORKDIR}/abseil-py-pypi-v${PV}"
|
|
@ -1,2 +1,3 @@
|
|||||||
DIST arrow-0.15.8.tar.gz 92220 BLAKE2B 8650d31b5b75c6222d86b5e13f253ae6baff66e91044a74235eda4589a47ebf680b31e2007fb13c83287402ffeaa446437aace9124637e6952ef139388aa51fa SHA512 93d161cbeb48636f2e3f91ebcc51cddbb3b21175ae31f5d9251a22358c7d1934663a8e47a82efd8773bf30c28efefcd8d2a3baf581fe191777cd41f12f29d4d2
|
DIST arrow-0.15.8.tar.gz 92220 BLAKE2B 8650d31b5b75c6222d86b5e13f253ae6baff66e91044a74235eda4589a47ebf680b31e2007fb13c83287402ffeaa446437aace9124637e6952ef139388aa51fa SHA512 93d161cbeb48636f2e3f91ebcc51cddbb3b21175ae31f5d9251a22358c7d1934663a8e47a82efd8773bf30c28efefcd8d2a3baf581fe191777cd41f12f29d4d2
|
||||||
DIST arrow-0.16.0.tar.gz 94403 BLAKE2B 9d2ad18732cce5bafdb628a2e9b825e6d1ebd94f7848391c0a0752a802a7e2e8a34afe0da7474df0265c4a83016530a1c070f4f1629c8fee8172812a53a3a7af SHA512 e48316bd31a86d640e50987010bd56c6859e972522e753c00d83730f1ce4764716eb9a22c4aa9aa0d64949f25acb7e1a3479ce0e1c62058fcb887a442f2247d6
|
DIST arrow-0.16.0.tar.gz 94403 BLAKE2B 9d2ad18732cce5bafdb628a2e9b825e6d1ebd94f7848391c0a0752a802a7e2e8a34afe0da7474df0265c4a83016530a1c070f4f1629c8fee8172812a53a3a7af SHA512 e48316bd31a86d640e50987010bd56c6859e972522e753c00d83730f1ce4764716eb9a22c4aa9aa0d64949f25acb7e1a3479ce0e1c62058fcb887a442f2247d6
|
||||||
|
DIST arrow-0.17.0.tar.gz 97411 BLAKE2B d908f9e98b4046aa8afbde992e108106e0cb81d5d37a556ace06585b7d354fa75338e5c4e4263ece0d8d043f29f3909e3c200b2c79c744a4bd13319764667998 SHA512 30ab01c66ef1dfb7fb35dc8609ca19039fa3e37638ff0df681d0ffc9dbc832e9d3a577d9a45fc70ff3e74aacb6198b37e61ada22854572c57c27d7ecbef09caa
|
||||||
|
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
PYTHON_COMPAT=( python3_{6..9} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Better dates and times for Python"
|
||||||
|
HOMEPAGE="https://github.com/crsmithdev/arrow/"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}]"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytz[${PYTHON_USEDEP}]
|
||||||
|
dev-python/simplejson[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
sed -i -e '/addopts/d' tox.ini || die
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
@ -0,0 +1,56 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
PYTHON_COMPAT=( python3_{6..9} )
|
||||||
|
DISTUTILS_USE_SETUPTOOLS=bdepend
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="The AWS SDK for Python"
|
||||||
|
HOMEPAGE="https://github.com/boto/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/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~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.3.0[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/mock[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs/source \
|
||||||
|
'dev-python/guzzle_sphinx_theme'
|
||||||
|
distutils_enable_tests nose
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
# don't lock versions to narrow ranges
|
||||||
|
sed -e '/botocore/ d' \
|
||||||
|
-e '/jmespath/ d' \
|
||||||
|
-e '/s3transfer/ d' \
|
||||||
|
-i setup.py || die
|
||||||
|
|
||||||
|
# prevent an infinite loop
|
||||||
|
rm tests/functional/docs/test_smoke.py || die
|
||||||
|
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
nosetests -v tests/unit/ tests/functional/ || die "test failed under ${EPYTHON}"
|
||||||
|
}
|
@ -0,0 +1,59 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
PYTHON_COMPAT=( python3_{6..9} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Low-level, data-driven core of boto 3"
|
||||||
|
HOMEPAGE="https://github.com/boto/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="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
fi
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/six[${PYTHON_USEDEP}]
|
||||||
|
dev-python/jmespath[${PYTHON_USEDEP}]
|
||||||
|
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||||
|
dev-python/urllib3[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/mock[${PYTHON_USEDEP}]
|
||||||
|
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs/source \
|
||||||
|
'dev-python/guzzle_sphinx_theme'
|
||||||
|
distutils_enable_tests nose
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# unpin deps
|
||||||
|
sed -i -e "s:>=.*':':" setup.py || die
|
||||||
|
# very unstable
|
||||||
|
sed -i -e 's:test_stress_test_token_bucket:_&:' \
|
||||||
|
tests/functional/retries/test_bucket.py || die
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
# note: suites need to be run separately as one of the unit tests
|
||||||
|
# seems to be leaking mocks and breaking a few functional tests
|
||||||
|
nosetests -v tests/unit ||
|
||||||
|
die "unit tests failed under ${EPYTHON}"
|
||||||
|
nosetests -v tests/functional ||
|
||||||
|
die "functional tests failed under ${EPYTHON}"
|
||||||
|
}
|
@ -0,0 +1,45 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
PYTHON_COMPAT=( python3_{6..9} )
|
||||||
|
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="CloudFormation Linter"
|
||||||
|
HOMEPAGE="https://pypi.org/project/cfn-lint/ https://github.com/aws-cloudformation/cfn-python-lint"
|
||||||
|
SRC_URI="https://github.com/aws-cloudformation/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/aws-sam-translator-1.25.0[${PYTHON_USEDEP}]
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
dev-python/importlib_resources[${PYTHON_USEDEP}]
|
||||||
|
' python3_6)
|
||||||
|
dev-python/jsonpatch[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jsonschema-3.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/junit-xml[${PYTHON_USEDEP}]
|
||||||
|
dev-python/networkx[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/requests-2.15.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/six-1.11[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/cfn-python-lint-0.30.1-tests.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# unpin the deps
|
||||||
|
sed -e 's:~=[0-9.]*::' -i setup.py || die
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
distutils_install_for_testing
|
||||||
|
"${EPYTHON}" -m unittest discover -v ||
|
||||||
|
die "tests fail with ${EPYTHON}"
|
||||||
|
}
|
@ -1,2 +1 @@
|
|||||||
DIST cloudpickle-1.5.0.tar.gz 50992 BLAKE2B 8536362d455c5688134ce22d0bb2c5786da17336c8a907e8cf9e39833df03a6061ac901e45e85907a54e8d9b404f21132d4d944adf925a9056f0334eaca50904 SHA512 75356e3e5ade2ee5941b4cea576f1ffbab5d9b1a86eff23dc9275974f592c947d0b3b29d335b4dc38be16e36c89c8fc65b2883ae90923960e605502c777d9816
|
|
||||||
DIST cloudpickle-1.6.0.tar.gz 52743 BLAKE2B 9007ebd4464adc0cb203e596cb756176d17ede5cfb90d172e11630df3e0a93dba471d8b20aaf750701cbbf1fdfb4a5faf24a75f8df82aecb4b77bd62c8979027 SHA512 3b663a013d1512b732b13f38bdf2d5d89704a73577c9fee2a6e808882d42ecc1bdb3589b1cc61279ec621b6dac27d8e223b2fd839442e2d5994892f04d015535
|
DIST cloudpickle-1.6.0.tar.gz 52743 BLAKE2B 9007ebd4464adc0cb203e596cb756176d17ede5cfb90d172e11630df3e0a93dba471d8b20aaf750701cbbf1fdfb4a5faf24a75f8df82aecb4b77bd62c8979027 SHA512 3b663a013d1512b732b13f38bdf2d5d89704a73577c9fee2a6e808882d42ecc1bdb3589b1cc61279ec621b6dac27d8e223b2fd839442e2d5994892f04d015535
|
||||||
|
@ -1,31 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
PYTHON_COMPAT=( python3_{6..9} )
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Extended pickling support for Python objects"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://pypi.org/project/cloudpickle/
|
|
||||||
https://github.com/cloudpipe/cloudpickle/"
|
|
||||||
SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
dev-python/psutil[${PYTHON_USEDEP}]
|
|
||||||
)"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
local -x PYTHONPATH=${PYTHONPATH}:tests/cloudpickle_testpkg
|
|
||||||
# -s unbreaks some tests
|
|
||||||
# https://github.com/cloudpipe/cloudpickle/issues/252
|
|
||||||
pytest -svv || die "Tests fail with ${EPYTHON}"
|
|
||||||
}
|
|
@ -1,6 +1,6 @@
|
|||||||
DIST dask-2.23.0.tar.gz 2840133 BLAKE2B 2fe8e4007acf2bbd8bfab889e4d912a15518318dc019573ce6deb7f3a64504608e1e27c3bd9c6766dd98a071ed075065da9beda3f2e5fef27c7bfc9918516d0a SHA512 6ce0f1471357cfa4f5c7f2e2ab31009e68d3e5de363569867d67038ae2e1a9c69552797fb232fb92deafc3b57aa040df9e60669c1856cbb53505a905c4f4b052
|
|
||||||
DIST dask-2.25.0.tar.gz 2842089 BLAKE2B 048a116a60dd98c7c1f3800426af13c2d8d116772a6b3133823b9a78ae6fcd34ab32dbfb9ae8db9eb6c948bce381e5d6e91caaab78203ae56159493ed7689038 SHA512 0d6e8e8c1efbaa4dc77e1a505e5c2df45eefc43868ce923ec674c5f768f12beb30e06c8712f621e44a826fc11f86fd50e60f0f6a78e261d74273f73b49503301
|
DIST dask-2.25.0.tar.gz 2842089 BLAKE2B 048a116a60dd98c7c1f3800426af13c2d8d116772a6b3133823b9a78ae6fcd34ab32dbfb9ae8db9eb6c948bce381e5d6e91caaab78203ae56159493ed7689038 SHA512 0d6e8e8c1efbaa4dc77e1a505e5c2df45eefc43868ce923ec674c5f768f12beb30e06c8712f621e44a826fc11f86fd50e60f0f6a78e261d74273f73b49503301
|
||||||
DIST dask-2.26.0.tar.gz 2852574 BLAKE2B 66abba9ef32bee11249557e38eee7e60d2988f098904bd867e5e9ad110d735c1a3b3f10829c58fdca5400f078fc569822e7e73f0e9c6894dbbfa41b46d521f61 SHA512 07daf541570e9e30fcb97f607b9629761d14de58fcb4b89fd01f9688690af1b55b80e3e62eefc54942d47da5fcb9d3c4aa6bca0b76f4bf60e664054515e18fcb
|
DIST dask-2.26.0.tar.gz 2852574 BLAKE2B 66abba9ef32bee11249557e38eee7e60d2988f098904bd867e5e9ad110d735c1a3b3f10829c58fdca5400f078fc569822e7e73f0e9c6894dbbfa41b46d521f61 SHA512 07daf541570e9e30fcb97f607b9629761d14de58fcb4b89fd01f9688690af1b55b80e3e62eefc54942d47da5fcb9d3c4aa6bca0b76f4bf60e664054515e18fcb
|
||||||
DIST dask-2.27.0.tar.gz 2852785 BLAKE2B 7be6704269f21891ed6a3289ee16827a1494591f7024d158e88001d4e10f263409e33f9c0e14e21ec8fed3d6798a6b011e8cfffec4659d6b07d2c4b31355c6a6 SHA512 afa7454e208cdfd482ff971aeda8db6364408661c1230c7e33fc05e63dfbe3e26e899415af0e4625a642dab15a29fce9c432d24d21e8a3bf7760f6ae304fc371
|
DIST dask-2.27.0.tar.gz 2852785 BLAKE2B 7be6704269f21891ed6a3289ee16827a1494591f7024d158e88001d4e10f263409e33f9c0e14e21ec8fed3d6798a6b011e8cfffec4659d6b07d2c4b31355c6a6 SHA512 afa7454e208cdfd482ff971aeda8db6364408661c1230c7e33fc05e63dfbe3e26e899415af0e4625a642dab15a29fce9c432d24d21e8a3bf7760f6ae304fc371
|
||||||
DIST dask-2.28.0.tar.gz 2858331 BLAKE2B 9adbae83559a1a5a218aacb575ec6e4007cc0bcebf4f2ddac4a2bc23de2be74887ee41ff341c05e0e1612a42d4b3bd5d7ca072b58f7cbc9fa516d8c45f7f0ae2 SHA512 f36b1cc843b0ef7efdae0af1ffdc91ac251cfcbd63160379f479f55005b93e111818f782db2a7ecf8e6bbd63ea48661a178d1c2ca74473a4d477025bb955cbcd
|
DIST dask-2.28.0.tar.gz 2858331 BLAKE2B 9adbae83559a1a5a218aacb575ec6e4007cc0bcebf4f2ddac4a2bc23de2be74887ee41ff341c05e0e1612a42d4b3bd5d7ca072b58f7cbc9fa516d8c45f7f0ae2 SHA512 f36b1cc843b0ef7efdae0af1ffdc91ac251cfcbd63160379f479f55005b93e111818f782db2a7ecf8e6bbd63ea48661a178d1c2ca74473a4d477025bb955cbcd
|
||||||
DIST dask-2.29.0.tar.gz 2857095 BLAKE2B 463d3e6edfa868b18be1c6f9919d07ded3d05036c2a90cd8845c1102cef67320f5b400c00188d5188ba393a0bd36fcfd234db75e6815f773f3a43abdba6875e0 SHA512 013cbfd31c5f59fdf56b0700ce2c0cd63dcaf653fdf2ddd8f083af84f13a38a1f09f6ce63fb7aa8cdc0786314b8a36144a8d186fb0d8af8ee8e81358bf4e1ab7
|
DIST dask-2.29.0.tar.gz 2857095 BLAKE2B 463d3e6edfa868b18be1c6f9919d07ded3d05036c2a90cd8845c1102cef67320f5b400c00188d5188ba393a0bd36fcfd234db75e6815f773f3a43abdba6875e0 SHA512 013cbfd31c5f59fdf56b0700ce2c0cd63dcaf653fdf2ddd8f083af84f13a38a1f09f6ce63fb7aa8cdc0786314b8a36144a8d186fb0d8af8ee8e81358bf4e1ab7
|
||||||
|
DIST dask-2.30.0.tar.gz 2858866 BLAKE2B ea5e1e50f9bef2ca81765ee1228ea661ea01355f4c2a495e916388cb757dc089c519eb83372abc2ece16c8ec27e3b7f7fe56a302eddfdc6c0e79247db9c1b65e SHA512 d410fcfc7e30f510bc42e9547bac912609420919489e161408d436fb26c3998eba6bfc9e4845d90b3e8589ecc317ee4bf141e2740108840f2e5a420eb20655ef
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue