parent
a44ecd8551
commit
b39e480f2e
Binary file not shown.
Binary file not shown.
@ -0,0 +1,58 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
inherit bash-completion-r1 distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||||
|
HOMEPAGE="https://pypi.org/project/awscli/"
|
||||||
|
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/aws-cli-${PV}"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
|
||||||
|
# botocore is x.(y+1).z
|
||||||
|
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(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.4.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# do not rely on bundled deps in botocore (sic!)
|
||||||
|
find -name '*.py' -exec sed -i \
|
||||||
|
-e 's:from botocore[.]vendored import:import:' \
|
||||||
|
-e 's:from botocore[.]vendored[.]:from :' \
|
||||||
|
{} + || die
|
||||||
|
# strip overzealous upper bounds on requirements
|
||||||
|
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
# integration tests require AWS credentials and Internet access
|
||||||
|
epytest tests/{functional,unit}
|
||||||
|
}
|
||||||
|
|
||||||
|
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 +1,2 @@
|
|||||||
|
DIST 8.1.13.3-TIV-TSMBAC-LinuxX86.tar 593264640 BLAKE2B 0dec77e87403f86aaf98b3dbc61c4dcf7a107d2dbdb1733ad97294669b122a202034928b6c83df931877c6cd08272f7920250fbd6262ec9f565afdc06dd42c2b SHA512 dac6b7f701e7fb8af49988da8df952c93879b57ea57daa88d4fff3c531423c73b24e89995894c041601faf1c33f115e5153461e2672254d9f29b65dd30c8ab8e
|
||||||
DIST 8.1.6.0-TIV-TSMBAC-LinuxX86.tar 215961600 BLAKE2B de7e3083a87e72763ffee5adbabc20f546edbc771a9ea0017af591b677cb55832c366ec42da6258ccbb81368f7934acfd116eee77236737d8015cc7588d95d3e SHA512 82897f8af6e1408b25eb95206500fa2e05f17983843de3a3456d71ee3cc25188e31a0a2b11c7ee5cf02c3a6aa46fbba03e2a31e697868905739e97c75bfd5984
|
DIST 8.1.6.0-TIV-TSMBAC-LinuxX86.tar 215961600 BLAKE2B de7e3083a87e72763ffee5adbabc20f546edbc771a9ea0017af591b677cb55832c366ec42da6258ccbb81368f7934acfd116eee77236737d8015cc7588d95d3e SHA512 82897f8af6e1408b25eb95206500fa2e05f17983843de3a3456d71ee3cc25188e31a0a2b11c7ee5cf02c3a6aa46fbba03e2a31e697868905739e97c75bfd5984
|
||||||
|
@ -0,0 +1,244 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit readme.gentoo-r1 rpm systemd pax-utils
|
||||||
|
|
||||||
|
DESCRIPTION="IBM Spectrum Protect (former Tivoli Storage Manager) Backup/Archive Client, API"
|
||||||
|
HOMEPAGE="https://www.ibm.com/us-en/marketplace/data-protection-and-recovery"
|
||||||
|
|
||||||
|
MY_PV_MAJOR=$(ver_cut 1)
|
||||||
|
MY_PV_MINOR=$(ver_cut 2)
|
||||||
|
MY_PV_TINY=$(ver_cut 3)
|
||||||
|
MY_PV_PATCH=$(ver_cut 4)
|
||||||
|
|
||||||
|
MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
|
||||||
|
MY_PVR_ALLDOTS=${PV}
|
||||||
|
|
||||||
|
if [[ ${MY_PV_PATCH} == 0 ]]; then
|
||||||
|
MY_RELEASE_PATH=maintenance
|
||||||
|
else
|
||||||
|
MY_RELEASE_PATH=patches
|
||||||
|
fi
|
||||||
|
BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
|
||||||
|
BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
|
||||||
|
BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
|
||||||
|
SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
|
||||||
|
SRC_URI="${BASE_URI}${SRC_TAR}"
|
||||||
|
|
||||||
|
RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
|
||||||
|
LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
|
||||||
|
dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
|
||||||
|
ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
|
||||||
|
|| ( BSD GPL-2+ ) gSOAP libpng tsm"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="-* ~amd64"
|
||||||
|
IUSE="acl java +tsm-cit +tsm-hw"
|
||||||
|
QA_PREBUILT="*"
|
||||||
|
|
||||||
|
# not available (yet?)
|
||||||
|
#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
|
||||||
|
# ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
|
||||||
|
MY_LANG_PV="${MY_PVR_ALLDOTS}-"
|
||||||
|
for lang in ${MY_LANGS}; do
|
||||||
|
IUSE="${IUSE} l10n_${lang%:*}"
|
||||||
|
SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
|
||||||
|
${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
|
||||||
|
${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
|
||||||
|
done
|
||||||
|
unset lang
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
acct-group/tsm
|
||||||
|
"
|
||||||
|
RDEPEND="
|
||||||
|
acct-group/tsm
|
||||||
|
dev-libs/expat
|
||||||
|
dev-libs/libxml2
|
||||||
|
sys-fs/fuse:0
|
||||||
|
acl? ( sys-apps/acl )
|
||||||
|
java? ( >=virtual/jre-1.7 )
|
||||||
|
|| (
|
||||||
|
sys-libs/libxcrypt[compat]
|
||||||
|
sys-libs/glibc[crypt(+)]
|
||||||
|
)"
|
||||||
|
|
||||||
|
S="${WORKDIR}/bacli"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
DOC_CONTENTS="
|
||||||
|
Note that you have to be root to be able to use the Tivoli Storage Manager
|
||||||
|
client. The dsmtca trusted agent binary does not exist anymore.
|
||||||
|
|
||||||
|
For information on how to give other users access, please see the following
|
||||||
|
URLs:
|
||||||
|
https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.8/client/c_cfg_nonadmin.html#c_macuninst_nonadmin
|
||||||
|
https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.8/client/c_secure_pwd.html#c_secure_pwd__sec_no_tca
|
||||||
|
"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
local rpm rpms lang
|
||||||
|
mkdir bacli || die
|
||||||
|
cd bacli || die
|
||||||
|
unpack ${SRC_TAR}
|
||||||
|
|
||||||
|
cd "${S}"
|
||||||
|
for rpm in *.rpm; do
|
||||||
|
case ${rpm} in
|
||||||
|
TIVsm-APIcit.*|TIVsm-BAcit.*)
|
||||||
|
use tsm-cit && rpms="${rpms} ./${rpm}"
|
||||||
|
;;
|
||||||
|
TIVsm-BAhdw.*)
|
||||||
|
use tsm-hw && rpms="${rpms} ./${rpm}"
|
||||||
|
;;
|
||||||
|
TIVsm-JBB.*|*-filepath-*)
|
||||||
|
# "journal based backup" for all filesystems
|
||||||
|
# requires a kernel module.
|
||||||
|
# "Linux Filepath source code" available
|
||||||
|
# by request from vendor
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
rpms="${rpms} ./${rpm}"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
for rpm in ${A}; do
|
||||||
|
case ${rpm} in
|
||||||
|
*.rpm)
|
||||||
|
rpms="${rpms} ${rpm}"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
rpm_unpack ${rpms}
|
||||||
|
|
||||||
|
# Avoid strange error messages caused by read-only files
|
||||||
|
chmod -R u+w "${S}" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cp -a opt "${D}"/ || die
|
||||||
|
cp -a usr "${D}"/ || die
|
||||||
|
|
||||||
|
# The RPM files contain postinstall scripts which can be extracted
|
||||||
|
# e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
|
||||||
|
# Below we try to mimic the behaviour of these scripts.
|
||||||
|
# We don't deal with SELinux compliance (yet), though.
|
||||||
|
local RPM_INSTALL_PREFIX CLIENTDIR i
|
||||||
|
RPM_INSTALL_PREFIX=/opt
|
||||||
|
CLIENTDIR=${RPM_INSTALL_PREFIX}/tivoli/tsm/client
|
||||||
|
|
||||||
|
# Create links for messages; this is spread over several postin scripts.
|
||||||
|
#for i in $(cd "${D}"/${CLIENTDIR}/lang; ls -1d ??_??); do
|
||||||
|
# dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
|
||||||
|
# dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
|
||||||
|
#done
|
||||||
|
|
||||||
|
# Mimic TIVsm-API64 postinstall script
|
||||||
|
for i in libgpfs.so libdmapi.so; do
|
||||||
|
dosym ../..${CLIENTDIR}/api/bin64/${i} /usr/lib64/${i}
|
||||||
|
done
|
||||||
|
|
||||||
|
# The TIVsm-BA postinstall script only does messages and ancient upgrades
|
||||||
|
|
||||||
|
# The gscrypt64 postinstall script only deals with s390[x] SELinux
|
||||||
|
# and the symlink for the iccs library which we handle in the loop below.
|
||||||
|
|
||||||
|
# Move stuff from /usr/local to /opt, #452332
|
||||||
|
mv "${D}"/usr/local/ibm "${D}"/opt/ || die
|
||||||
|
rmdir "${D}"/usr/local || die
|
||||||
|
|
||||||
|
# Mimic gskssl64 postinstall script
|
||||||
|
for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
|
||||||
|
dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
|
||||||
|
/usr/lib64/libgsk8${i}_64.so
|
||||||
|
done
|
||||||
|
for i in capicmd ver; do
|
||||||
|
dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
|
||||||
|
done
|
||||||
|
|
||||||
|
# Done with the postinstall scripts as the RPMs contain them.
|
||||||
|
# Now on to some more Gentoo-specific installation.
|
||||||
|
|
||||||
|
rm -rf "${D}/usr/lib/.build-id" &> /dev/null
|
||||||
|
[[ -d "${D}/usr/lib" ]] && rmdir "${D}/usr/lib" || die "Using 32bit lib dir in 64bit only system"
|
||||||
|
|
||||||
|
# Avoid "QA Notice: Found an absolute symlink in a library directory"
|
||||||
|
local target
|
||||||
|
find "${D}"/usr/lib* -lname '/*' | while read i; do
|
||||||
|
target=$(readlink "${i}")
|
||||||
|
rm -v "${i}" || die
|
||||||
|
dosym "../..${target}" "${i#${D}/}"
|
||||||
|
done
|
||||||
|
|
||||||
|
keepdir /var/log/tsm
|
||||||
|
insinto /etc/logrotate.d
|
||||||
|
newins "${FILESDIR}/tsm.logrotate" tsm
|
||||||
|
|
||||||
|
keepdir /etc/tivoli
|
||||||
|
|
||||||
|
cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
|
||||||
|
echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
|
||||||
|
echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
|
||||||
|
|
||||||
|
# Added the hostname to be more friendly, the admin will need to edit this file anyway
|
||||||
|
echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
|
||||||
|
echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
|
||||||
|
echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
|
||||||
|
dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
|
||||||
|
|
||||||
|
cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
|
||||||
|
dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
|
||||||
|
|
||||||
|
# Setup the env
|
||||||
|
dodir /etc/env.d
|
||||||
|
ENV_FILE="${D}/etc/env.d/80tivoli"
|
||||||
|
echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
|
||||||
|
echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
|
||||||
|
echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
|
||||||
|
# echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
|
||||||
|
|
||||||
|
echo 'SEARCH_DIRS_MASK="/opt/tivoli/tsm/client/ba/bin"' > "${T}/80${PN}" || die
|
||||||
|
insinto "/etc/revdep-rebuild"
|
||||||
|
doins "${T}/80${PN}"
|
||||||
|
|
||||||
|
newconfd "${FILESDIR}/dsmc.conf.d" dsmc
|
||||||
|
newinitd "${FILESDIR}/dsmc.init.d" dsmc
|
||||||
|
newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
|
||||||
|
|
||||||
|
# Need this for hardened, otherwise a cryptic "connection to server lost" message appears
|
||||||
|
pax-mark -m "${D}/opt/tivoli/tsm/client/ba/bin/dsmc"
|
||||||
|
|
||||||
|
systemd_dounit "${FILESDIR}/dsmc.service"
|
||||||
|
systemd_dounit "${FILESDIR}/dsmcad.service"
|
||||||
|
|
||||||
|
readme.gentoo_create_doc
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
local i dirs
|
||||||
|
for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
|
||||||
|
if [[ ! -e ${i} ]]; then
|
||||||
|
touch ${i} || die
|
||||||
|
chown :tsm ${i} || die
|
||||||
|
chmod 0660 ${i} || die
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# Bug #375041: the log directory itself should not be world writable.
|
||||||
|
# Have to do this in postinst due to bug #141619
|
||||||
|
chown root:tsm /var/log/tsm || die
|
||||||
|
chmod 0750 /var/log/tsm || die
|
||||||
|
|
||||||
|
# Bug 508052: directories used to be too restrictive, have to widen perms.
|
||||||
|
dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
|
||||||
|
chown root:root "${dirs[@]}" || die
|
||||||
|
chmod 0755 "${dirs[@]}" || die
|
||||||
|
|
||||||
|
FORCE_PRINT_ELOG=1
|
||||||
|
DISABLE_AUTOFORMATTING=1
|
||||||
|
readme.gentoo_print_elog
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST iwdevtools-0.8.1.tar.gz 58058 BLAKE2B b9f17f68bb073ecf2d8a94fc8b97d95f7188e7526dd6a32cf33aa3b01fe82bf25c696cc2be9cbdc0aaa3a8279532e506ab287d3e25da5d5fb55789064d47aec6 SHA512 cb365e7010d620f2a255db0244ee1a38fd5714a17093b2e2a71627155764165853f99a4477b281b92061f7fe184297a222a8c79c2c62beb8e0656761feee859b
|
DIST iwdevtools-0.8.1.tar.gz 58058 BLAKE2B b9f17f68bb073ecf2d8a94fc8b97d95f7188e7526dd6a32cf33aa3b01fe82bf25c696cc2be9cbdc0aaa3a8279532e506ab287d3e25da5d5fb55789064d47aec6 SHA512 cb365e7010d620f2a255db0244ee1a38fd5714a17093b2e2a71627155764165853f99a4477b281b92061f7fe184297a222a8c79c2c62beb8e0656761feee859b
|
||||||
|
DIST iwdevtools-0.9.0.tar.gz 58476 BLAKE2B c036e151f76578633522f32665b30a2521131c265b5815934feffe2d3028e1e7fea314b2b41a719683b9ecc43f31f4aa7ffc10fe159dc62870bf43dc1da750bd SHA512 7d433d537d7b7ea3954e224be52dcd3a5fcb6be9b9f532096955b778a98d8a8a04e0c03f53615d01603a298859fe2129b3f3b126a671a1e202f08718bb15f104
|
||||||
|
@ -0,0 +1,68 @@
|
|||||||
|
# Copyright 2021-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit meson optfeature
|
||||||
|
|
||||||
|
DESCRIPTION="Small tools to aid with Gentoo development, primarily intended for QA"
|
||||||
|
HOMEPAGE="https://github.com/ionenwks/iwdevtools"
|
||||||
|
SRC_URI="https://github.com/ionenwks/iwdevtools/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
app-misc/pax-utils
|
||||||
|
app-portage/portage-utils
|
||||||
|
sys-apps/diffutils
|
||||||
|
sys-apps/file
|
||||||
|
sys-apps/portage
|
||||||
|
|| ( sys-apps/util-linux app-misc/getopt )"
|
||||||
|
BDEPEND="
|
||||||
|
sys-apps/help2man
|
||||||
|
|| ( sys-apps/util-linux app-misc/getopt )
|
||||||
|
test? ( ${RDEPEND} )"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local emesonargs=(
|
||||||
|
-Ddocdir=${PF}
|
||||||
|
-Deprefix="${EPREFIX}"
|
||||||
|
-Dshellcheck=false
|
||||||
|
$(meson_use test)
|
||||||
|
)
|
||||||
|
|
||||||
|
has_version sys-apps/util-linux || emesonargs+=( -Dgetopt=getopt-long )
|
||||||
|
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
optfeature "detecting potential ABI issues using abidiff" dev-util/libabigail
|
||||||
|
|
||||||
|
if [[ ! ${REPLACING_VERSIONS} ]]; then
|
||||||
|
elog "Optional portage integration relies on using /etc/portage/bashrc."
|
||||||
|
elog "The example bashrc can be used as-is if not already using one:"
|
||||||
|
elog
|
||||||
|
elog " ln -s ../../usr/share/${PN}/bashrc ${EROOT}/etc/portage/bashrc"
|
||||||
|
elog
|
||||||
|
elog "Otherwise, inspect the tools' --help output and the example to integrate"
|
||||||
|
elog "(if not defining the same phase functions, the example can be sourced)."
|
||||||
|
elog
|
||||||
|
elog "Note that \`eqawarn\` is used for portage output by default. QA messages"
|
||||||
|
elog "aren't logged / shown post-emerge unless e.g. in /etc/portage/make.conf:"
|
||||||
|
elog
|
||||||
|
elog ' PORTAGE_ELOG_CLASSES="${PORTAGE_ELOG_CLASSES} qa"'
|
||||||
|
elog
|
||||||
|
elog "See ${EROOT}/usr/share/doc/${PF}/README.rst* for information on tools."
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ ${REPLACING_VERSIONS} ]] &&
|
||||||
|
ver_test ${REPLACING_VERSIONS} -le 0.7.0; then
|
||||||
|
elog "qa-* bashrcs now use \`eqawarn\` for portage output. If no longer"
|
||||||
|
elog "seeing messages post-emerge, ensure 'qa' is in PORTAGE_ELOG_CLASSES."
|
||||||
|
fi
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,27 @@
|
|||||||
|
https://github.com/pwmt/zathura/commit/c6ec5044c5ff843979050bfb81742d14740bb656.patch
|
||||||
|
https://bugs.gentoo.org/831468
|
||||||
|
|
||||||
|
From: Sebastian Ramacher <sebastian@ramacher.at>
|
||||||
|
Date: Sat, 30 Oct 2021 15:41:25 +0200
|
||||||
|
Subject: [PATCH] Fix build with meson 0.60
|
||||||
|
|
||||||
|
--- a/data/meson.build
|
||||||
|
+++ b/data/meson.build
|
||||||
|
@@ -19,7 +19,7 @@ endif
|
||||||
|
i18n = import('i18n')
|
||||||
|
podir = join_paths(meson.project_source_root(), 'po')
|
||||||
|
|
||||||
|
-desktop = i18n.merge_file('desktop',
|
||||||
|
+desktop = i18n.merge_file(
|
||||||
|
input: 'org.pwmt.zathura.desktop.in',
|
||||||
|
output: 'org.pwmt.zathura.desktop',
|
||||||
|
install: true,
|
||||||
|
@@ -28,7 +28,7 @@ desktop = i18n.merge_file('desktop',
|
||||||
|
type: 'desktop'
|
||||||
|
)
|
||||||
|
|
||||||
|
-appdata = i18n.merge_file('appdata',
|
||||||
|
+appdata = i18n.merge_file(
|
||||||
|
input: 'org.pwmt.zathura.appdata.xml.in',
|
||||||
|
output: 'org.pwmt.zathura.appdata.xml',
|
||||||
|
install: true,
|
Binary file not shown.
@ -1,10 +0,0 @@
|
|||||||
--- a/langkit/templates/mains_project_file.mako 2020-06-09 09:34:36.677265457 +0200
|
|
||||||
+++ b/langkit/templates/mains_project_file.mako 2020-06-09 09:35:30.569451995 +0200
|
|
||||||
@@ -40,4 +40,7 @@
|
|
||||||
for Switches ("ada") use ("-E");
|
|
||||||
end Binder;
|
|
||||||
|
|
||||||
+ package Linker is
|
|
||||||
+ for Switches ("ada") use ("-lgnat", "-lgnarl");
|
|
||||||
+ end Linker;
|
|
||||||
end Mains;
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,42 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
JAVA_PKG_IUSE="doc source"
|
||||||
|
|
||||||
|
inherit java-pkg-2 java-ant-2
|
||||||
|
|
||||||
|
DESCRIPTION="Project GlassFish XML RPC API"
|
||||||
|
HOMEPAGE="https://glassfish.java.net/"
|
||||||
|
SRC_URI="https://dev.gentoo.org/~tomwij/files/dist/${P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
CP_DEPEND="
|
||||||
|
dev-java/jakarta-xml-soap-api:1
|
||||||
|
java-virtuals/servlet-api:3.0
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
>=virtual/jdk-1.8:*
|
||||||
|
${CP_DEPEND}
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=virtual/jre-1.8:*
|
||||||
|
${CP_DEPEND}
|
||||||
|
"
|
||||||
|
|
||||||
|
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||||
|
JAVA_ANT_CLASSPATH_TAGS="javac javadoc"
|
||||||
|
JAVA_PKG_BSFIX_NAME="maven-build.xml"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
java-pkg_newjar "target/javax.xml.rpc-api-${PV}.jar"
|
||||||
|
|
||||||
|
use doc && java-pkg_dojavadoc target/site/apidocs
|
||||||
|
use source && java-pkg_dosrc src/main/java/javax
|
||||||
|
}
|
@ -0,0 +1 @@
|
|||||||
|
DIST mvel2-2.3.2.Final.tar.gz 2405839 BLAKE2B 5f12652a0f4375f6e24f18313d99a02bb86463cc1acc2f8845b815c9c7afcda410d67c9f1c30544f9ab1cd50a48ce0ab72e9cca94faafab776f3704b1d5fa087 SHA512 9d1c92bfe90aa4cfe5f4bbdd7eef2060bfaec3979c5c07a5baf3ddb4d84a00632dcaec266bab675b31d5b745bfa36a89dd5969ababeb64332069939a4df23dbc
|
@ -0,0 +1,43 @@
|
|||||||
|
From fcf12bd0322556b4396a72a5402124d9543781d9 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Yuan Liao <liaoyuan@gmail.com>
|
||||||
|
Date: Sun, 16 Jan 2022 09:48:48 -0800
|
||||||
|
Subject: [PATCH] Ignore tests that fail even when run by Maven on JUnit 4.13.2
|
||||||
|
|
||||||
|
To reproduce the failure, make sure to edit line 249 of pom.xml to use
|
||||||
|
JUnit 4.13.2. Note that the failed tests are JUnit 3 tests, which
|
||||||
|
cannot be ignored with the @org.junit.Ignore annotation.
|
||||||
|
|
||||||
|
When no tests are ignored, only testMapAccessWithNestedMethodCall() will
|
||||||
|
fail. However, ignoring that test will cause
|
||||||
|
testMapAccessWithNestedProperty() to fail afterwards.
|
||||||
|
|
||||||
|
Signed-off-by: Yuan Liao <liaoyuan@gmail.com>
|
||||||
|
---
|
||||||
|
src/test/java/org/mvel2/tests/core/CoreConfidenceTests.java | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/test/java/org/mvel2/tests/core/CoreConfidenceTests.java b/src/test/java/org/mvel2/tests/core/CoreConfidenceTests.java
|
||||||
|
index ea7661bb..1c92c327 100644
|
||||||
|
--- a/src/test/java/org/mvel2/tests/core/CoreConfidenceTests.java
|
||||||
|
+++ b/src/test/java/org/mvel2/tests/core/CoreConfidenceTests.java
|
||||||
|
@@ -3431,7 +3431,7 @@ public class CoreConfidenceTests extends AbstractTest {
|
||||||
|
assertTrue(result);
|
||||||
|
}
|
||||||
|
|
||||||
|
- public void testMapAccessWithNestedMethodCall() {
|
||||||
|
+ public void noTestMapAccessWithNestedMethodCall() {
|
||||||
|
String str = "map[aMethod(1)] == \"one\"";
|
||||||
|
|
||||||
|
ParserConfiguration pconf = new ParserConfiguration();
|
||||||
|
@@ -3446,7 +3446,7 @@ public class CoreConfidenceTests extends AbstractTest {
|
||||||
|
assertTrue(result);
|
||||||
|
}
|
||||||
|
|
||||||
|
- public void testMapAccessWithNestedProperty() {
|
||||||
|
+ public void noTestMapAccessWithNestedProperty() {
|
||||||
|
String str = "map[key] == \"one\"";
|
||||||
|
|
||||||
|
ParserConfiguration pconf = new ParserConfiguration();
|
||||||
|
--
|
||||||
|
2.34.1
|
||||||
|
|
@ -0,0 +1,51 @@
|
|||||||
|
From 04f476bbc3768d9052ae9c8a1b0aa53340a993b3 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Yuan Liao <liaoyuan@gmail.com>
|
||||||
|
Date: Sun, 16 Jan 2022 08:01:46 -0800
|
||||||
|
Subject: [PATCH] ASMAccessorOptimizer: Update supported Java versions as of
|
||||||
|
2.4.14
|
||||||
|
|
||||||
|
Squashed patch of the following commits:
|
||||||
|
|
||||||
|
From: deaddowney <spamcontrol@mac.com>
|
||||||
|
Date: Fri, 22 Jun 2018 09:38:24 -0400
|
||||||
|
Subject: [PATCH 1/4] Mvel not working with Java 10 (11) GH Issue #159
|
||||||
|
|
||||||
|
From: dieter sauvillers <dieter.sauvillers@corilus.be>
|
||||||
|
Date: Tue, 2 Apr 2019 10:20:31 +0200
|
||||||
|
Subject: [PATCH 2/4] mvel does not work with java 12 #185
|
||||||
|
|
||||||
|
From: mmelko <mmelko@redhat.com>
|
||||||
|
Date: Fri, 26 Jun 2020 08:55:24 +0200
|
||||||
|
Subject: [PATCH 3/4] Fix building on java 14
|
||||||
|
|
||||||
|
From: mariofusco <mario.fusco@gmail.com>
|
||||||
|
Date: Mon, 24 Aug 2020 08:54:22 +0200
|
||||||
|
Subject: [PATCH 4/4] drop compatibility with java versions lower than 1.4
|
||||||
|
|
||||||
|
Signed-off-by: Yuan Liao <liaoyuan@gmail.com>
|
||||||
|
---
|
||||||
|
.../mvel2/optimizers/impl/asm/ASMAccessorOptimizer.java | 7 +------
|
||||||
|
1 file changed, 1 insertion(+), 6 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/main/java/org/mvel2/optimizers/impl/asm/ASMAccessorOptimizer.java b/src/main/java/org/mvel2/optimizers/impl/asm/ASMAccessorOptimizer.java
|
||||||
|
index 45520538..4c4c876e 100644
|
||||||
|
--- a/src/main/java/org/mvel2/optimizers/impl/asm/ASMAccessorOptimizer.java
|
||||||
|
+++ b/src/main/java/org/mvel2/optimizers/impl/asm/ASMAccessorOptimizer.java
|
||||||
|
@@ -118,13 +118,8 @@ public class ASMAccessorOptimizer extends AbstractOptimizer implements AccessorO
|
||||||
|
OPCODES_VERSION = Opcodes.V1_4;
|
||||||
|
} else if (javaVersion.startsWith("1.5")) {
|
||||||
|
OPCODES_VERSION = Opcodes.V1_5;
|
||||||
|
- } else if (javaVersion.startsWith("1.6")
|
||||||
|
- || javaVersion.startsWith("1.7")
|
||||||
|
- || javaVersion.startsWith("1.8")
|
||||||
|
- || javaVersion.startsWith("9")) {
|
||||||
|
- OPCODES_VERSION = Opcodes.V1_6;
|
||||||
|
} else {
|
||||||
|
- OPCODES_VERSION = Opcodes.V1_2;
|
||||||
|
+ OPCODES_VERSION = Opcodes.V1_6;
|
||||||
|
}
|
||||||
|
|
||||||
|
String defaultNameSapce = getProperty("mvel2.namespace");
|
||||||
|
--
|
||||||
|
2.34.1
|
||||||
|
|
@ -0,0 +1,26 @@
|
|||||||
|
From 0a316a5cb0d889220fb3e730ea1471c1b4052736 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Yuan Liao <liaoyuan@gmail.com>
|
||||||
|
Date: Sun, 16 Jan 2022 10:21:47 -0800
|
||||||
|
Subject: [PATCH] Update program version shown in program output
|
||||||
|
|
||||||
|
Signed-off-by: Yuan Liao <liaoyuan@gmail.com>
|
||||||
|
---
|
||||||
|
src/main/java/org/mvel2/MVEL.java | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/main/java/org/mvel2/MVEL.java b/src/main/java/org/mvel2/MVEL.java
|
||||||
|
index eafe17fc..6bbf5f06 100644
|
||||||
|
--- a/src/main/java/org/mvel2/MVEL.java
|
||||||
|
+++ b/src/main/java/org/mvel2/MVEL.java
|
||||||
|
@@ -45,7 +45,7 @@ import static org.mvel2.util.ParseTools.optimizeTree;
|
||||||
|
public class MVEL {
|
||||||
|
public static final String NAME = "MVEL (MVFLEX Expression Language)";
|
||||||
|
public static final String VERSION = "2.3";
|
||||||
|
- public static final String VERSION_SUB = "0";
|
||||||
|
+ public static final String VERSION_SUB = "2";
|
||||||
|
public static final String CODENAME = "liberty";
|
||||||
|
static boolean DEBUG_FILE = getBoolean("mvel2.debug.fileoutput");
|
||||||
|
static String ADVANCED_DEBUGGING_FILE = System.getProperty("mvel2.debugging.file") == null ? "mvel_debug.txt" : System.getProperty("mvel2.debugging.file");
|
||||||
|
--
|
||||||
|
2.34.1
|
||||||
|
|
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>java@gentoo.org</email>
|
||||||
|
<name>Java</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">mvel/mvel</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,81 @@
|
|||||||
|
# Copyright 2021-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
JAVA_PKG_IUSE="doc source test"
|
||||||
|
MAVEN_ID="org.mvel:mvel2:2.3.2.Final"
|
||||||
|
|
||||||
|
# Note: This package has a mixture of JUnit 3 and JUnit 4 tests, all of which
|
||||||
|
# can be run with JUnit 4. As of January 2022, JUnit 3 test launcher will only
|
||||||
|
# run 2 tests out of nearly 1100 JUnit 3 tests in total, whereas JUnit 4 test
|
||||||
|
# launcher can run all of them
|
||||||
|
JAVA_TESTING_FRAMEWORKS="junit-4"
|
||||||
|
|
||||||
|
inherit java-pkg-2 java-pkg-simple
|
||||||
|
|
||||||
|
DESCRIPTION="MVFLEX Expression Language"
|
||||||
|
HOMEPAGE="https://github.com/mvel/mvel"
|
||||||
|
SRC_URI="https://github.com/mvel/mvel/archive/refs/tags/mvel2-${PV}.Final.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="2.3"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
>=virtual/jdk-1.8:*
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=virtual/jre-1.8:*
|
||||||
|
"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${PN}-${PN}2-${PV}.Final"
|
||||||
|
|
||||||
|
JAVA_SRC_DIR="src/main/java"
|
||||||
|
# Required due to use of '_' as identifiers in source files
|
||||||
|
JAVADOC_ARGS="-source 8"
|
||||||
|
# https://github.com/mvel/mvel/blob/mvel2-2.3.2.Final/pom.xml#L131
|
||||||
|
JAVA_MAIN_CLASS="org.mvel2.sh.Main"
|
||||||
|
|
||||||
|
JAVA_TEST_GENTOO_CLASSPATH="junit-4"
|
||||||
|
JAVA_TEST_SRC_DIR="src/test/java"
|
||||||
|
JAVA_TEST_RESOURCE_DIRS=( "src/test/resources" )
|
||||||
|
JAVA_TEST_EXCLUDES=(
|
||||||
|
# No runnable methods
|
||||||
|
org.mvel2.tests.perftests.CompiledPerformanceTests
|
||||||
|
org.mvel2.tests.perftests.SimpleTests
|
||||||
|
org.mvel2.tests.core.MVELThreadTest
|
||||||
|
org.mvel2.tests.core.res.TestClass
|
||||||
|
org.mvel2.tests.core.res.TestInterface
|
||||||
|
org.mvel2.tests.core.res.TestMVEL197
|
||||||
|
org.mvel2.tests.templates.tests.res.TestPluginNode
|
||||||
|
)
|
||||||
|
# Significantly speed up test execution
|
||||||
|
# https://github.com/mvel/mvel/blob/mvel2-2.3.2.Final/pom.xml#L158-L171
|
||||||
|
JAVA_TEST_EXTRA_ARGS=(
|
||||||
|
-Dfile.encoding=UTF-8
|
||||||
|
-Dmvel.disable.jit=true
|
||||||
|
-Dmvel.tests.quick=true
|
||||||
|
)
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
java-pkg-2_pkg_setup
|
||||||
|
# Fix org.mvel2.tests.core.PropertyAccessTests.testMVEL308 failure
|
||||||
|
# on Java 17, caused by java.lang.reflect.InaccessibleObjectException:
|
||||||
|
# module java.base does not "opens java.util" to unnamed module
|
||||||
|
# https://github.com/mvel/mvel/issues/282
|
||||||
|
ver_test "$(java-config -g PROVIDES_VERSION)" -ge 17 && \
|
||||||
|
JAVA_TEST_EXTRA_ARGS+=( --add-opens=java.base/java.util=ALL-UNNAMED )
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# Clean up bundled JARs "manually" to prevent
|
||||||
|
# removal of JARs under JAVA_TEST_RESOURCE_DIRS
|
||||||
|
rm -r lib/ || die "Failed to remove bundled JARs"
|
||||||
|
|
||||||
|
eapply "${FILESDIR}/${P}-update-supported-java-versions.patch"
|
||||||
|
eapply "${FILESDIR}/${P}-update-version-in-output.patch"
|
||||||
|
use test && eapply "${FILESDIR}/${P}-ignore-failing-tests.patch"
|
||||||
|
java-pkg-2_src_prepare
|
||||||
|
}
|
@ -0,0 +1,285 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit check-reqs flag-o-matic java-pkg-2 java-vm-2 multiprocessing toolchain-funcs
|
||||||
|
|
||||||
|
# we need -ga tag to fetch tarball and unpack it, but exact number everywhere else to
|
||||||
|
# set build version properly
|
||||||
|
MY_PV="${PV%_p*}-ga"
|
||||||
|
SLOT="${MY_PV%%[.+]*}"
|
||||||
|
|
||||||
|
# variable name format: <UPPERCASE_KEYWORD>_XPAK
|
||||||
|
PPC64_XPAK="11.0.13_p8" # big-endian bootstrap tarball
|
||||||
|
X86_XPAK="11.0.13_p8"
|
||||||
|
|
||||||
|
# Usage: bootstrap_uri <keyword> <version> [extracond]
|
||||||
|
# Example: $(bootstrap_uri ppc64 17.0.1_p12 big-endian)
|
||||||
|
# Output: ppc64? ( big-endian? ( https://...17.0.1_p12-ppc64.tar.xz ) )
|
||||||
|
bootstrap_uri() {
|
||||||
|
local baseuri="https://dev.gentoo.org/~arthurzam/distfiles/dev-java/${PN}/${PN}-bootstrap"
|
||||||
|
local suff="tar.xz"
|
||||||
|
local kw="${1:?${FUNCNAME[0]}: keyword not specified}"
|
||||||
|
local ver="${2:?${FUNCNAME[0]}: version not specified}"
|
||||||
|
local cond="${3-}"
|
||||||
|
|
||||||
|
# here be dragons
|
||||||
|
echo "${kw}? ( ${cond:+${cond}? (} ${baseuri}-${ver}-${kw}.${suff} ${cond:+) })"
|
||||||
|
}
|
||||||
|
|
||||||
|
DESCRIPTION="Open source implementation of the Java programming language"
|
||||||
|
HOMEPAGE="https://openjdk.java.net"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/${PN}/jdk${SLOT}u/archive/refs/tags/jdk-${MY_PV}.tar.gz
|
||||||
|
-> ${P}.tar.gz
|
||||||
|
!system-bootstrap? (
|
||||||
|
$(bootstrap_uri ppc64 ${PPC64_XPAK} big-endian)
|
||||||
|
$(bootstrap_uri x86 ${X86_XPAK})
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||||
|
|
||||||
|
IUSE="alsa big-endian cups debug doc examples headless-awt javafx +jbootstrap selinux source system-bootstrap systemtap"
|
||||||
|
|
||||||
|
REQUIRED_USE="!system-bootstrap? ( jbootstrap )"
|
||||||
|
|
||||||
|
COMMON_DEPEND="
|
||||||
|
media-libs/freetype:2=
|
||||||
|
media-libs/giflib:0/7
|
||||||
|
media-libs/harfbuzz:=
|
||||||
|
media-libs/libpng:0=
|
||||||
|
media-libs/lcms:2=
|
||||||
|
sys-libs/zlib
|
||||||
|
virtual/jpeg:0=
|
||||||
|
systemtap? ( dev-util/systemtap )
|
||||||
|
"
|
||||||
|
|
||||||
|
# Many libs are required to build, but not to run, make is possible to remove
|
||||||
|
# by listing conditionally in RDEPEND unconditionally in DEPEND
|
||||||
|
RDEPEND="
|
||||||
|
${COMMON_DEPEND}
|
||||||
|
>=sys-apps/baselayout-java-0.1.0-r1
|
||||||
|
!headless-awt? (
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libXext
|
||||||
|
x11-libs/libXi
|
||||||
|
x11-libs/libXrandr
|
||||||
|
x11-libs/libXrender
|
||||||
|
x11-libs/libXt
|
||||||
|
x11-libs/libXtst
|
||||||
|
)
|
||||||
|
alsa? ( media-libs/alsa-lib )
|
||||||
|
cups? ( net-print/cups )
|
||||||
|
selinux? ( sec-policy/selinux-java )
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
${COMMON_DEPEND}
|
||||||
|
app-arch/zip
|
||||||
|
media-libs/alsa-lib
|
||||||
|
net-print/cups
|
||||||
|
x11-base/xorg-proto
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libXext
|
||||||
|
x11-libs/libXi
|
||||||
|
x11-libs/libXrandr
|
||||||
|
x11-libs/libXrender
|
||||||
|
x11-libs/libXt
|
||||||
|
x11-libs/libXtst
|
||||||
|
javafx? ( dev-java/openjfx:${SLOT}= )
|
||||||
|
system-bootstrap? (
|
||||||
|
|| (
|
||||||
|
dev-java/openjdk-bin:${SLOT}
|
||||||
|
dev-java/openjdk:${SLOT}
|
||||||
|
)
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
REQUIRED_USE="javafx? ( alsa !headless-awt )"
|
||||||
|
|
||||||
|
S="${WORKDIR}/jdk${SLOT}u-jdk-${MY_PV}"
|
||||||
|
|
||||||
|
# The space required to build varies wildly depending on USE flags,
|
||||||
|
# ranging from 2GB to 16GB. This function is certainly not exact but
|
||||||
|
# should be close enough to be useful.
|
||||||
|
openjdk_check_requirements() {
|
||||||
|
local M
|
||||||
|
M=2048
|
||||||
|
M=$(( $(usex jbootstrap 2 1) * $M ))
|
||||||
|
M=$(( $(usex debug 3 1) * $M ))
|
||||||
|
M=$(( $(usex doc 320 0) + $(usex source 128 0) + 192 + $M ))
|
||||||
|
|
||||||
|
CHECKREQS_DISK_BUILD=${M}M check-reqs_pkg_${EBUILD_PHASE}
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
openjdk_check_requirements
|
||||||
|
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||||
|
has ccache ${FEATURES} && die "FEATURES=ccache doesn't work with ${PN}, bug #677876"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
openjdk_check_requirements
|
||||||
|
java-vm-2_pkg_setup
|
||||||
|
|
||||||
|
JAVA_PKG_WANT_BUILD_VM="openjdk-${SLOT} openjdk-bin-${SLOT}"
|
||||||
|
JAVA_PKG_WANT_SOURCE="${SLOT}"
|
||||||
|
JAVA_PKG_WANT_TARGET="${SLOT}"
|
||||||
|
|
||||||
|
if use system-bootstrap; then
|
||||||
|
for vm in ${JAVA_PKG_WANT_BUILD_VM}; do
|
||||||
|
if [[ -d ${EPREFIX}/usr/lib/jvm/${vm} ]]; then
|
||||||
|
java-pkg-2_pkg_setup
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
else
|
||||||
|
[[ ${MERGE_TYPE} != "binary" ]] && return
|
||||||
|
local xpakvar="${ARCH^^}_XPAK"
|
||||||
|
export JDK_HOME="${WORKDIR}/openjdk-bootstrap-${!xpakvar}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
chmod +x configure || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# Work around stack alignment issue, bug #647954. in case we ever have x86
|
||||||
|
use x86 && append-flags -mincoming-stack-boundary=2
|
||||||
|
|
||||||
|
# Work around -fno-common ( GCC10 default ), bug #713180
|
||||||
|
append-flags -fcommon
|
||||||
|
|
||||||
|
# Strip some flags users may set, but should not. #818502
|
||||||
|
filter-flags -fexceptions
|
||||||
|
|
||||||
|
# Enabling full docs appears to break doc building. If not
|
||||||
|
# explicitly disabled, the flag will get auto-enabled if pandoc and
|
||||||
|
# graphviz are detected. pandoc has loads of dependencies anyway.
|
||||||
|
|
||||||
|
local myconf=(
|
||||||
|
--disable-ccache
|
||||||
|
--disable-precompiled-headers
|
||||||
|
--enable-full-docs=no
|
||||||
|
--with-boot-jdk="${JDK_HOME}"
|
||||||
|
--with-extra-cflags="${CFLAGS}"
|
||||||
|
--with-extra-cxxflags="${CXXFLAGS}"
|
||||||
|
--with-extra-ldflags="${LDFLAGS}"
|
||||||
|
--with-freetype="${XPAK_BOOTSTRAP:-system}"
|
||||||
|
--with-giflib="${XPAK_BOOTSTRAP:-system}"
|
||||||
|
--with-harfbuzz="${XPAK_BOOTSTRAP:-system}"
|
||||||
|
--with-lcms="${XPAK_BOOTSTRAP:-system}"
|
||||||
|
--with-libjpeg="${XPAK_BOOTSTRAP:-system}"
|
||||||
|
--with-libpng="${XPAK_BOOTSTRAP:-system}"
|
||||||
|
--with-native-debug-symbols=$(usex debug internal none)
|
||||||
|
--with-vendor-name="Gentoo"
|
||||||
|
--with-vendor-url="https://gentoo.org"
|
||||||
|
--with-vendor-bug-url="https://bugs.gentoo.org"
|
||||||
|
--with-vendor-vm-bug-url="https://bugs.openjdk.java.net"
|
||||||
|
--with-vendor-version-string="${PVR}"
|
||||||
|
--with-version-pre=""
|
||||||
|
--with-version-string="${PV%_p*}"
|
||||||
|
--with-version-build="${PV#*_p}"
|
||||||
|
--with-zlib="${XPAK_BOOTSTRAP:-system}"
|
||||||
|
--enable-dtrace=$(usex systemtap yes no)
|
||||||
|
--enable-headless-only=$(usex headless-awt yes no)
|
||||||
|
$(tc-is-clang && echo "--with-toolchain-type=clang")
|
||||||
|
)
|
||||||
|
|
||||||
|
if use javafx; then
|
||||||
|
# this is not useful for users, just for upstream developers
|
||||||
|
# build system compares mesa version in md file
|
||||||
|
# https://bugs.gentoo.org/822612
|
||||||
|
export LEGAL_EXCLUDES=mesa3d.md
|
||||||
|
|
||||||
|
local zip="${EPREFIX%/}/usr/$(get_libdir)/openjfx-${SLOT}/javafx-exports.zip"
|
||||||
|
if [[ -r ${zip} ]]; then
|
||||||
|
myconf+=( --with-import-modules="${zip}" )
|
||||||
|
else
|
||||||
|
die "${zip} not found or not readable"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use !system-bootstrap ; then
|
||||||
|
addpredict /dev/random
|
||||||
|
addpredict /proc/self/coredump_filter
|
||||||
|
fi
|
||||||
|
|
||||||
|
(
|
||||||
|
unset _JAVA_OPTIONS JAVA JAVA_TOOL_OPTIONS JAVAC XARGS
|
||||||
|
CFLAGS= CXXFLAGS= LDFLAGS= \
|
||||||
|
CONFIG_SITE=/dev/null \
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
local myemakeargs=(
|
||||||
|
JOBS=$(makeopts_jobs)
|
||||||
|
LOG=debug
|
||||||
|
CFLAGS_WARNINGS_ARE_ERRORS= # No -Werror
|
||||||
|
NICE= # Use PORTAGE_NICENESS, don't adjust further down
|
||||||
|
$(usex doc docs '')
|
||||||
|
$(usex jbootstrap bootcycle-images product-images)
|
||||||
|
)
|
||||||
|
emake "${myemakeargs[@]}" -j1 #nowarn
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local dest="/usr/$(get_libdir)/${PN}-${SLOT}"
|
||||||
|
local ddest="${ED}${dest#/}"
|
||||||
|
|
||||||
|
cd "${S}"/build/*-release/images/jdk || die
|
||||||
|
|
||||||
|
# Create files used as storage for system preferences.
|
||||||
|
mkdir .systemPrefs || die
|
||||||
|
touch .systemPrefs/.system.lock || die
|
||||||
|
touch .systemPrefs/.systemRootModFile || die
|
||||||
|
|
||||||
|
# Oracle and IcedTea have libjsoundalsa.so depending on
|
||||||
|
# libasound.so.2 but OpenJDK only has libjsound.so. Weird.
|
||||||
|
if ! use alsa ; then
|
||||||
|
rm -v lib/libjsound.* || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! use examples ; then
|
||||||
|
rm -vr demo/ || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! use source ; then
|
||||||
|
rm -v lib/src.zip || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -v lib/security/cacerts || die
|
||||||
|
|
||||||
|
dodir "${dest}"
|
||||||
|
cp -pPR * "${ddest}" || die
|
||||||
|
|
||||||
|
dosym ../../../../../etc/ssl/certs/java/cacerts "${dest}"/lib/security/cacerts
|
||||||
|
|
||||||
|
# must be done before running itself
|
||||||
|
java-vm_set-pax-markings "${ddest}"
|
||||||
|
|
||||||
|
einfo "Creating the Class Data Sharing archives and disabling usage tracking"
|
||||||
|
"${ddest}/bin/java" -server -Xshare:dump -Djdk.disableLastUsageTracking || die
|
||||||
|
|
||||||
|
java-vm_install-env "${FILESDIR}"/${PN}-${SLOT}.env.sh
|
||||||
|
java-vm_revdep-mask
|
||||||
|
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
|
||||||
|
|
||||||
|
if use doc ; then
|
||||||
|
docinto html
|
||||||
|
dodoc -r "${S}"/build/*-release/images/docs/*
|
||||||
|
dosym ../../../usr/share/doc/"${PF}" /usr/share/doc/"${PN}-${SLOT}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
java-vm-2_pkg_postinst
|
||||||
|
}
|
@ -0,0 +1,309 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit check-reqs eapi7-ver flag-o-matic java-pkg-2 java-vm-2 multiprocessing toolchain-funcs
|
||||||
|
|
||||||
|
# variable name format: <UPPERCASE_KEYWORD>_XPAK
|
||||||
|
PPC64_XPAK="17.0.1_p12" # big-endian bootstrap tarball
|
||||||
|
X86_XPAK="17.0.1_p12"
|
||||||
|
|
||||||
|
# Usage: bootstrap_uri <keyword> <version> [extracond]
|
||||||
|
# Example: $(bootstrap_uri ppc64 17.0.1_p12 big-endian)
|
||||||
|
# Output: ppc64? ( big-endian? ( https://...17.0.1_p12-ppc64.tar.xz ) )
|
||||||
|
bootstrap_uri() {
|
||||||
|
local baseuri="https://dev.gentoo.org/~arthurzam/distfiles/dev-java/${PN}/${PN}-bootstrap"
|
||||||
|
local suff="tar.xz"
|
||||||
|
local kw="${1:?${FUNCNAME[0]}: keyword not specified}"
|
||||||
|
local ver="${2:?${FUNCNAME[0]}: version not specified}"
|
||||||
|
local cond="${3-}"
|
||||||
|
|
||||||
|
# here be dragons
|
||||||
|
echo "${kw}? ( ${cond:+${cond}? (} ${baseuri}-${ver}-${kw}.${suff} ${cond:+) })"
|
||||||
|
}
|
||||||
|
|
||||||
|
MY_PV="${PV//_p/+}"
|
||||||
|
SLOT="$(ver_cut 1)"
|
||||||
|
|
||||||
|
DESCRIPTION="Open source implementation of the Java programming language"
|
||||||
|
HOMEPAGE="https://openjdk.java.net"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/openjdk/jdk${SLOT}u/archive/refs/tags/jdk-${MY_PV}.tar.gz
|
||||||
|
-> ${P}.tar.gz
|
||||||
|
!system-bootstrap? (
|
||||||
|
$(bootstrap_uri ppc64 ${PPC64_XPAK} big-endian)
|
||||||
|
$(bootstrap_uri x86 ${X86_XPAK})
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||||
|
|
||||||
|
IUSE="alsa big-endian cups debug doc examples gentoo-vm headless-awt javafx +jbootstrap selinux source system-bootstrap systemtap"
|
||||||
|
|
||||||
|
REQUIRED_USE="!system-bootstrap? ( jbootstrap )"
|
||||||
|
|
||||||
|
COMMON_DEPEND="
|
||||||
|
media-libs/freetype:2=
|
||||||
|
media-libs/giflib:0/7
|
||||||
|
media-libs/harfbuzz:=
|
||||||
|
media-libs/libpng:0=
|
||||||
|
media-libs/lcms:2=
|
||||||
|
sys-libs/zlib
|
||||||
|
virtual/jpeg:0=
|
||||||
|
systemtap? ( dev-util/systemtap )
|
||||||
|
"
|
||||||
|
|
||||||
|
# Many libs are required to build, but not to run, make is possible to remove
|
||||||
|
# by listing conditionally in RDEPEND unconditionally in DEPEND
|
||||||
|
RDEPEND="
|
||||||
|
${COMMON_DEPEND}
|
||||||
|
>=sys-apps/baselayout-java-0.1.0-r1
|
||||||
|
!headless-awt? (
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libXext
|
||||||
|
x11-libs/libXi
|
||||||
|
x11-libs/libXrandr
|
||||||
|
x11-libs/libXrender
|
||||||
|
x11-libs/libXt
|
||||||
|
x11-libs/libXtst
|
||||||
|
)
|
||||||
|
alsa? ( media-libs/alsa-lib )
|
||||||
|
cups? ( net-print/cups )
|
||||||
|
selinux? ( sec-policy/selinux-java )
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
${COMMON_DEPEND}
|
||||||
|
app-arch/zip
|
||||||
|
media-libs/alsa-lib
|
||||||
|
net-print/cups
|
||||||
|
x11-base/xorg-proto
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libXext
|
||||||
|
x11-libs/libXi
|
||||||
|
x11-libs/libXrandr
|
||||||
|
x11-libs/libXrender
|
||||||
|
x11-libs/libXt
|
||||||
|
x11-libs/libXtst
|
||||||
|
javafx? ( dev-java/openjfx:${SLOT}= )
|
||||||
|
system-bootstrap? (
|
||||||
|
|| (
|
||||||
|
dev-java/openjdk-bin:${SLOT}
|
||||||
|
dev-java/openjdk:${SLOT}
|
||||||
|
)
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
REQUIRED_USE="javafx? ( alsa !headless-awt )"
|
||||||
|
|
||||||
|
S="${WORKDIR}/jdk${SLOT}u-jdk-${MY_PV//+/-}"
|
||||||
|
|
||||||
|
# The space required to build varies wildly depending on USE flags,
|
||||||
|
# ranging from 2GB to 16GB. This function is certainly not exact but
|
||||||
|
# should be close enough to be useful.
|
||||||
|
openjdk_check_requirements() {
|
||||||
|
local M
|
||||||
|
M=2048
|
||||||
|
M=$(( $(usex jbootstrap 2 1) * $M ))
|
||||||
|
M=$(( $(usex debug 3 1) * $M ))
|
||||||
|
M=$(( $(usex doc 320 0) + $(usex source 128 0) + 192 + $M ))
|
||||||
|
|
||||||
|
CHECKREQS_DISK_BUILD=${M}M check-reqs_pkg_${EBUILD_PHASE}
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
openjdk_check_requirements
|
||||||
|
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||||
|
has ccache ${FEATURES} && die "FEATURES=ccache doesn't work with ${PN}, bug #677876"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
openjdk_check_requirements
|
||||||
|
java-vm-2_pkg_setup
|
||||||
|
|
||||||
|
JAVA_PKG_WANT_BUILD_VM="openjdk-${SLOT} openjdk-bin-${SLOT}"
|
||||||
|
JAVA_PKG_WANT_SOURCE="${SLOT}"
|
||||||
|
JAVA_PKG_WANT_TARGET="${SLOT}"
|
||||||
|
|
||||||
|
# The nastiness below is necessary while the gentoo-vm USE flag is
|
||||||
|
# masked. First we call java-pkg-2_pkg_setup if it looks like the
|
||||||
|
# flag was unmasked against one of the possible build VMs. If not,
|
||||||
|
# we try finding one of them in their expected locations. This would
|
||||||
|
# have been slightly less messy if openjdk-bin had been installed to
|
||||||
|
# /opt/${PN}-${SLOT} or if there was a mechanism to install a VM env
|
||||||
|
# file but disable it so that it would not normally be selectable.
|
||||||
|
|
||||||
|
local vm
|
||||||
|
for vm in ${JAVA_PKG_WANT_BUILD_VM}; do
|
||||||
|
if [[ -d ${EPREFIX}/usr/lib/jvm/${vm} ]]; then
|
||||||
|
java-pkg-2_pkg_setup
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
if has_version --host-root dev-java/openjdk:${SLOT}; then
|
||||||
|
export JDK_HOME=${EPREFIX}/usr/$(get_libdir)/openjdk-${SLOT}
|
||||||
|
elif use !system-bootstrap ; then
|
||||||
|
local xpakvar="${ARCH^^}_XPAK"
|
||||||
|
export JDK_HOME="${WORKDIR}/openjdk-bootstrap-${!xpakvar}"
|
||||||
|
else
|
||||||
|
if [[ ${MERGE_TYPE} != "binary" ]]; then
|
||||||
|
JDK_HOME=$(best_version --host-root dev-java/openjdk-bin:${SLOT})
|
||||||
|
[[ -n ${JDK_HOME} ]] || die "Build VM not found!"
|
||||||
|
JDK_HOME=${JDK_HOME#*/}
|
||||||
|
JDK_HOME=${EPREFIX}/opt/${JDK_HOME%-r*}
|
||||||
|
export JDK_HOME
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
chmod +x configure || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# Work around stack alignment issue, bug #647954. in case we ever have x86
|
||||||
|
use x86 && append-flags -mincoming-stack-boundary=2
|
||||||
|
|
||||||
|
# Work around -fno-common ( GCC10 default ), bug #713180
|
||||||
|
append-flags -fcommon
|
||||||
|
|
||||||
|
# Strip some flags users may set, but should not. #818502
|
||||||
|
filter-flags -fexceptions
|
||||||
|
|
||||||
|
# Enabling full docs appears to break doc building. If not
|
||||||
|
# explicitly disabled, the flag will get auto-enabled if pandoc and
|
||||||
|
# graphviz are detected. pandoc has loads of dependencies anyway.
|
||||||
|
|
||||||
|
local myconf=(
|
||||||
|
--disable-ccache
|
||||||
|
--disable-precompiled-headers
|
||||||
|
--disable-warnings-as-errors
|
||||||
|
--enable-full-docs=no
|
||||||
|
--with-boot-jdk="${JDK_HOME}"
|
||||||
|
--with-extra-cflags="${CFLAGS}"
|
||||||
|
--with-extra-cxxflags="${CXXFLAGS}"
|
||||||
|
--with-extra-ldflags="${LDFLAGS}"
|
||||||
|
--with-freetype="${XPAK_BOOTSTRAP:-system}"
|
||||||
|
--with-giflib="${XPAK_BOOTSTRAP:-system}"
|
||||||
|
--with-harfbuzz="${XPAK_BOOTSTRAP:-system}"
|
||||||
|
--with-lcms="${XPAK_BOOTSTRAP:-system}"
|
||||||
|
--with-libjpeg="${XPAK_BOOTSTRAP:-system}"
|
||||||
|
--with-libpng="${XPAK_BOOTSTRAP:-system}"
|
||||||
|
--with-native-debug-symbols=$(usex debug internal none)
|
||||||
|
--with-vendor-name="Gentoo"
|
||||||
|
--with-vendor-url="https://gentoo.org"
|
||||||
|
--with-vendor-bug-url="https://bugs.gentoo.org"
|
||||||
|
--with-vendor-vm-bug-url="https://bugs.openjdk.java.net"
|
||||||
|
--with-vendor-version-string="${PVR}"
|
||||||
|
--with-version-pre=""
|
||||||
|
--with-version-string="${PV%_p*}"
|
||||||
|
--with-version-build="${PV#*_p}"
|
||||||
|
--with-zlib="${XPAK_BOOTSTRAP:-system}"
|
||||||
|
--enable-dtrace=$(usex systemtap yes no)
|
||||||
|
--enable-headless-only=$(usex headless-awt yes no)
|
||||||
|
$(tc-is-clang && echo "--with-toolchain-type=clang")
|
||||||
|
)
|
||||||
|
|
||||||
|
if use javafx; then
|
||||||
|
local zip="${EPREFIX%/}/usr/$(get_libdir)/openjfx-${SLOT}/javafx-exports.zip"
|
||||||
|
if [[ -r ${zip} ]]; then
|
||||||
|
myconf+=( --with-import-modules="${zip}" )
|
||||||
|
else
|
||||||
|
die "${zip} not found or not readable"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use !system-bootstrap ; then
|
||||||
|
addpredict /dev/random
|
||||||
|
addpredict /proc/self/coredump_filter
|
||||||
|
fi
|
||||||
|
|
||||||
|
(
|
||||||
|
unset _JAVA_OPTIONS JAVA JAVA_TOOL_OPTIONS JAVAC XARGS
|
||||||
|
CFLAGS= CXXFLAGS= LDFLAGS= \
|
||||||
|
CONFIG_SITE=/dev/null \
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
local myemakeargs=(
|
||||||
|
JOBS=$(makeopts_jobs)
|
||||||
|
LOG=debug
|
||||||
|
CFLAGS_WARNINGS_ARE_ERRORS= # No -Werror
|
||||||
|
NICE= # Use PORTAGE_NICENESS, don't adjust further down
|
||||||
|
$(usex doc docs '')
|
||||||
|
$(usex jbootstrap bootcycle-images product-images)
|
||||||
|
)
|
||||||
|
emake "${myemakeargs[@]}" -j1 #nowarn
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local dest="/usr/$(get_libdir)/${PN}-${SLOT}"
|
||||||
|
local ddest="${ED}${dest#/}"
|
||||||
|
|
||||||
|
cd "${S}"/build/*-release/images/jdk || die
|
||||||
|
|
||||||
|
# Create files used as storage for system preferences.
|
||||||
|
mkdir .systemPrefs || die
|
||||||
|
touch .systemPrefs/.system.lock || die
|
||||||
|
touch .systemPrefs/.systemRootModFile || die
|
||||||
|
|
||||||
|
# Oracle and IcedTea have libjsoundalsa.so depending on
|
||||||
|
# libasound.so.2 but OpenJDK only has libjsound.so. Weird.
|
||||||
|
if ! use alsa ; then
|
||||||
|
rm -v lib/libjsound.* || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! use examples ; then
|
||||||
|
rm -vr demo/ || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! use source ; then
|
||||||
|
rm -v lib/src.zip || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -v lib/security/cacerts || die
|
||||||
|
|
||||||
|
dodir "${dest}"
|
||||||
|
cp -pPR * "${ddest}" || die
|
||||||
|
|
||||||
|
dosym ../../../../../etc/ssl/certs/java/cacerts "${dest}"/lib/security/cacerts
|
||||||
|
|
||||||
|
# must be done before running itself
|
||||||
|
java-vm_set-pax-markings "${ddest}"
|
||||||
|
|
||||||
|
einfo "Creating the Class Data Sharing archives and disabling usage tracking"
|
||||||
|
"${ddest}/bin/java" -server -Xshare:dump -Djdk.disableLastUsageTracking || die
|
||||||
|
|
||||||
|
use gentoo-vm && java-vm_install-env "${FILESDIR}"/${PN}-${SLOT}.env.sh
|
||||||
|
java-vm_revdep-mask
|
||||||
|
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
|
||||||
|
|
||||||
|
if use doc ; then
|
||||||
|
docinto html
|
||||||
|
dodoc -r "${S}"/build/*-release/images/docs/*
|
||||||
|
dosym ../../../usr/share/doc/"${PF}" /usr/share/doc/"${PN}-${SLOT}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
java-vm-2_pkg_postinst
|
||||||
|
|
||||||
|
if use gentoo-vm ; then
|
||||||
|
ewarn "WARNING! You have enabled the gentoo-vm USE flag, making this JDK"
|
||||||
|
ewarn "recognised by the system. This will almost certainly break"
|
||||||
|
ewarn "many java ebuilds as they are not ready for openjdk-${SLOT}"
|
||||||
|
else
|
||||||
|
ewarn "The experimental gentoo-vm USE flag has not been enabled so this JDK"
|
||||||
|
ewarn "will not be recognised by the system. For example, simply calling"
|
||||||
|
ewarn "\"java\" will launch a different JVM. This is necessary until Gentoo"
|
||||||
|
ewarn "fully supports Java ${SLOT}. This JDK must therefore be invoked using its"
|
||||||
|
ewarn "absolute location under ${EPREFIX}/usr/$(get_libdir)/${PN}-${SLOT}."
|
||||||
|
fi
|
||||||
|
}
|
@ -0,0 +1,42 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
JAVA_PKG_IUSE="doc source"
|
||||||
|
|
||||||
|
MY_PN="sax2r3"
|
||||||
|
|
||||||
|
inherit java-pkg-2 java-pkg-simple
|
||||||
|
|
||||||
|
DESCRIPTION="SAX: Simple API for XML in Java"
|
||||||
|
HOMEPAGE="http://sax.sourceforge.net/"
|
||||||
|
SRC_URI="mirror://sourceforge/${PN}/${MY_PN}.zip -> ${P}.zip"
|
||||||
|
LICENSE="public-domain"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
>=virtual/jdk-1.8:*"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=virtual/jre-1.8:*"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
app-arch/unzip
|
||||||
|
source? ( app-arch/zip )"
|
||||||
|
|
||||||
|
JAVADOC_ARGS="-source 8"
|
||||||
|
|
||||||
|
S="${WORKDIR}/sax2r3"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
java-pkg_clean
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
java-pkg-simple_src_install
|
||||||
|
dodoc ChangeLog CHANGES README
|
||||||
|
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST ispc-1.16.0.tar.gz 19548153 BLAKE2B 9b6d9329430d59041a76c20332b527560afa47a5585652abdf93aedb7907483d1647c829f2bd3f396cd53301bc79367cd91606b90a543fa8bec2f6ab34452989 SHA512 8469db4e3e9834477345b431162543f1c8e680aa9834c9a50239781dc7febfdde0561c2f13d1387e37f95a18c4376a85cb9cbae33cb614dc8977dfc9f47da215
|
DIST ispc-1.16.0.tar.gz 19548153 BLAKE2B 9b6d9329430d59041a76c20332b527560afa47a5585652abdf93aedb7907483d1647c829f2bd3f396cd53301bc79367cd91606b90a543fa8bec2f6ab34452989 SHA512 8469db4e3e9834477345b431162543f1c8e680aa9834c9a50239781dc7febfdde0561c2f13d1387e37f95a18c4376a85cb9cbae33cb614dc8977dfc9f47da215
|
||||||
DIST ispc-1.16.1.tar.gz 19549428 BLAKE2B 742d94208d39f0560c3f2199ee06fc12f3ec2cf47c1039212219c6aa106b20cd58219e5d439c4fd1ce4a0c1a423655d0c2113a2a78152c99b4d77452171acce6 SHA512 89b844a15a888ae7074c4baa47f46d1d7176501f215c9a8c3b4bf9ad1960dc77d53f1f448d5253ad0c6a91e5088af243c3dfd148e619f9abeb6a16f715e3b463
|
DIST ispc-1.16.1.tar.gz 19549428 BLAKE2B 742d94208d39f0560c3f2199ee06fc12f3ec2cf47c1039212219c6aa106b20cd58219e5d439c4fd1ce4a0c1a423655d0c2113a2a78152c99b4d77452171acce6 SHA512 89b844a15a888ae7074c4baa47f46d1d7176501f215c9a8c3b4bf9ad1960dc77d53f1f448d5253ad0c6a91e5088af243c3dfd148e619f9abeb6a16f715e3b463
|
||||||
|
DIST ispc-1.17.0.tar.gz 19436681 BLAKE2B 11af6e22c4c297a2fbd0ae1bfe2a37ce2f836607b2caf42634cff0b0fe1116542e71f056de12e3472724db04f1c5174c0deb47c2bd64fb756b4bdaef48935707 SHA512 b1c67381bb8b71d268c6e68c95cc5e2d64411ce351506de96d31850b879f7777fbc1cb33f3761437f84e52ae726fabbb794ebba9cf05d5200acaca07a2ebf0ac
|
||||||
|
@ -0,0 +1,78 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
LLVM_MAX_SLOT=13
|
||||||
|
inherit cmake python-any-r1 llvm
|
||||||
|
|
||||||
|
DESCRIPTION="Intel SPMD Program Compiler"
|
||||||
|
HOMEPAGE="https://ispc.github.io/"
|
||||||
|
|
||||||
|
if [[ ${PV} == 9999 ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/ispc/ispc.git"
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="BSD BSD-2 UoI-NCSA"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="examples"
|
||||||
|
|
||||||
|
RDEPEND="<sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)):="
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
sys-devel/bison
|
||||||
|
sys-devel/flex
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${PN}-9999-llvm.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
CMAKE_BUILD_TYPE="RelWithDebInfo"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
llvm_pkg_setup
|
||||||
|
python-any-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if use amd64; then
|
||||||
|
# On amd64 systems, build system enables x86/i686 build too.
|
||||||
|
# This ebuild doesn't even have multilib support, nor need it.
|
||||||
|
# https://bugs.gentoo.org/730062
|
||||||
|
ewarn "Removing auto-x86 build on amd64"
|
||||||
|
sed -i -e 's:set(target_arch "i686"):return():' cmake/GenerateBuiltins.cmake || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
cmake_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DARM_ENABLED=$(usex arm)
|
||||||
|
-DCMAKE_SKIP_RPATH=ON
|
||||||
|
-DISPC_NO_DUMPS=ON
|
||||||
|
)
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
# Inject path to prevent using system ispc
|
||||||
|
PATH="${BUILD_DIR}/bin:${PATH}" ${EPYTHON} ./run_tests.py || die "Testing failed under ${EPYTHON}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin "${BUILD_DIR}"/bin/ispc
|
||||||
|
einstalldocs
|
||||||
|
|
||||||
|
if use examples; then
|
||||||
|
docompress -x /usr/share/doc/${PF}/examples
|
||||||
|
dodoc -r examples
|
||||||
|
fi
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
DIST bitshuffle-0.3.5.tar.gz 112312 BLAKE2B e9e70608217743a93d2bf5319af0f48feff391bb2893b161a1a4c391ab630c90fc59483041d7594eb8366a9469feb309f3b8054c8ecc630d070a9170735f61f5 SHA512 4ae371ab2e1adedb5c3a2c047e0583d320c87f0687d9dc1c921ed9e38d8b90a447fb305f399cd591adf48a473471fd5827f4da2777dd7f0fb6d5fd145fdeb36f
|
@ -0,0 +1,37 @@
|
|||||||
|
# Copyright 2021-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="Bitshuffle C library"
|
||||||
|
HOMEPAGE="https://github.com/kiyo-masui/bitshuffle"
|
||||||
|
SRC_URI="https://github.com/kiyo-masui/bitshuffle/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
app-arch/lz4
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
cp "${FILESDIR}/${P}-Makefile" "Makefile" || die "Failed to copy Makefile"
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
tc-export CC
|
||||||
|
export PACKAGE_VERSION="${PV}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local prefix="${EPREFIX}/usr"
|
||||||
|
emake \
|
||||||
|
DESTDIR="${D}" \
|
||||||
|
PREFIX="${prefix}" \
|
||||||
|
LIBDIR="${prefix}/$(get_libdir)" \
|
||||||
|
install
|
||||||
|
}
|
@ -0,0 +1,50 @@
|
|||||||
|
# Gentoo custom Makefile for Bitshuffle C library
|
||||||
|
# Adapted from GNU Guix:
|
||||||
|
# https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/python-compression.scm?h=v1.3.0#n346
|
||||||
|
# Distributed under the terms of the GNU General Public License v3
|
||||||
|
|
||||||
|
# To avoid bundled dependency, the copy of lz4 included
|
||||||
|
# in Bitshuffle's source tree is not used
|
||||||
|
|
||||||
|
PACKAGE_VERSION ?= 0.3.5
|
||||||
|
|
||||||
|
# Upstream has never specified an soname, so we need to conduct downstream
|
||||||
|
# soname versioning. The format of soname is "lib${PN}.so.$(ver_cut 1)".
|
||||||
|
# No incompatible ABI changes have been observed yet since version 0.2.4,
|
||||||
|
# but just in case the upstream recklessly handles ABI compatibility,
|
||||||
|
# please try to test ABI compatibility when updating to a new release,
|
||||||
|
# using tools like 'abidiff' in dev-util/libabigail or alike.
|
||||||
|
SONAME_VERSION := $(shell echo $(PACKAGE_VERSION) | cut -d. -f1)
|
||||||
|
SONAME_BASE = libbitshuffle.so
|
||||||
|
SONAME := $(SONAME_BASE).$(SONAME_VERSION)
|
||||||
|
SOFILE := $(SONAME_BASE).$(PACKAGE_VERSION)
|
||||||
|
|
||||||
|
CFLAGS := -O3 -ffast-math -std=c99 -fPIC $(CFLAGS)
|
||||||
|
|
||||||
|
OBJS = \
|
||||||
|
src/bitshuffle.o \
|
||||||
|
src/bitshuffle_core.o \
|
||||||
|
src/iochain.o
|
||||||
|
|
||||||
|
$(SOFILE): $(OBJS)
|
||||||
|
$(CC) $(CFLAGS) -o $@ -shared $(LDFLAGS) -Wl,-soname,$(SONAME) $^
|
||||||
|
|
||||||
|
%.o: %.c
|
||||||
|
$(CC) $(CFLAGS) -Isrc -c $< -o $@
|
||||||
|
|
||||||
|
INSTALL = install
|
||||||
|
LN_S = ln -s
|
||||||
|
|
||||||
|
PREFIX = /usr/local
|
||||||
|
LIBDIR = $(PREFIX)/lib
|
||||||
|
INCLUDEDIR = $(PREFIX)/include
|
||||||
|
|
||||||
|
install: $(SOFILE)
|
||||||
|
$(INSTALL) -dm755 $(DESTDIR)$(LIBDIR)
|
||||||
|
$(INSTALL) -dm755 $(DESTDIR)$(INCLUDEDIR)
|
||||||
|
$(INSTALL) -m755 $(SOFILE) $(DESTDIR)$(LIBDIR)
|
||||||
|
$(INSTALL) -m644 src/bitshuffle.h $(DESTDIR)$(INCLUDEDIR)
|
||||||
|
$(INSTALL) -m644 src/bitshuffle_core.h $(DESTDIR)$(INCLUDEDIR)
|
||||||
|
$(INSTALL) -m644 src/iochain.h $(DESTDIR)$(INCLUDEDIR)
|
||||||
|
$(LN_S) $(SOFILE) $(DESTDIR)$(LIBDIR)/$(SONAME_BASE)
|
||||||
|
$(LN_S) $(SOFILE) $(DESTDIR)$(LIBDIR)/$(SONAME)
|
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>java@gentoo.org</email>
|
||||||
|
<name>Java</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">kiyo-masui/bitshuffle</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
@ -1,2 +1,3 @@
|
|||||||
DIST capnproto-0.7.0.tar.gz 1983172 BLAKE2B d88b5f8e3278f8e3aceccdc459001b99328b0440812352dcb6b54bd11e18aa7fee6d337252841c86e9c3eb1afcdbd99884c965156d6cec37e3c0996c9ec1241f SHA512 a3ea278ded6a866759c0517d16b99bd38ffea1c163ce63a3604b752d8bdaafbc38a600de94afe12db35e7f7f06e29cc94c911dc2e0ecec6fe1185452df2a2bd3
|
DIST capnproto-0.7.0.tar.gz 1983172 BLAKE2B d88b5f8e3278f8e3aceccdc459001b99328b0440812352dcb6b54bd11e18aa7fee6d337252841c86e9c3eb1afcdbd99884c965156d6cec37e3c0996c9ec1241f SHA512 a3ea278ded6a866759c0517d16b99bd38ffea1c163ce63a3604b752d8bdaafbc38a600de94afe12db35e7f7f06e29cc94c911dc2e0ecec6fe1185452df2a2bd3
|
||||||
DIST capnproto-0.8.0.tar.gz 2121249 BLAKE2B 6d4ef9adb026a8ea8bc558bed1f8ce910e9c3b050ad0ac7ebd4be323cc1709a6b08956d4d2f39daee5c6485438f64695a028ea198aaae8a6c366316f10b1a64f SHA512 a3b87d47f4c160c3c72304539c3d2a6836488a50d1014c9f0eb95c112dc1e0f85b3158d26c248eff464205388ea61733c45ba10dc5441e5dd04064ba2c7970e6
|
DIST capnproto-0.8.0.tar.gz 2121249 BLAKE2B 6d4ef9adb026a8ea8bc558bed1f8ce910e9c3b050ad0ac7ebd4be323cc1709a6b08956d4d2f39daee5c6485438f64695a028ea198aaae8a6c366316f10b1a64f SHA512 a3b87d47f4c160c3c72304539c3d2a6836488a50d1014c9f0eb95c112dc1e0f85b3158d26c248eff464205388ea61733c45ba10dc5441e5dd04064ba2c7970e6
|
||||||
|
DIST capnproto-0.9.1.tar.gz 2238849 BLAKE2B f8de56c7f79b0ddad35f3e8fec7740510ca2328e4ddc633a71420901d3fc44df44d807c3965213dfc2535bbe03832c5164242d33cd0bff901d6f288fb62bab21 SHA512 bdc5960f26214139744d768ca4558b085e2d359c375a8849ca532a4c458a2daf0ee1a1f4d00745de5abf353aa1e4084a2d85e5523006f23f591f21fac2d847fd
|
||||||
|
@ -0,0 +1,39 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit cmake
|
||||||
|
|
||||||
|
DESCRIPTION="RPC/Serialization system with capabilities support"
|
||||||
|
HOMEPAGE="https://capnproto.org"
|
||||||
|
SRC_URI="https://github.com/sandstorm-io/capnproto/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}"/${P}/c++
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0/091"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||||
|
IUSE="+ssl test zlib"
|
||||||
|
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
ssl? ( dev-libs/openssl:0= )
|
||||||
|
zlib? ( sys-libs/zlib:0= )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
test? ( dev-cpp/gtest )
|
||||||
|
"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DWITH_OPENSSL=$(usex ssl)
|
||||||
|
-DBUILD_TESTING=$(usex test)
|
||||||
|
$(cmake_use_find_package zlib ZLIB)
|
||||||
|
)
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
cmake_build check
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST leatherman-1.12.6.tar.gz 818106 BLAKE2B 056ea52c355cf178e16be03f2a4fb54bf0e6aece4045545e7e45c50664e711db2bb756f56c9cd33a6dfe1de24c4ecb98766d4bd158ffb7757958274ba38f76db SHA512 4e2a1ee2e7226224f115648a78bc3e4798ef0528ef32e01d1e7ebcbeb1250fd6ed88001c9db21456feeef3bd6ff201b0fd68fd5feb2671a66d13519dd3454386
|
DIST leatherman-1.12.6.tar.gz 818106 BLAKE2B 056ea52c355cf178e16be03f2a4fb54bf0e6aece4045545e7e45c50664e711db2bb756f56c9cd33a6dfe1de24c4ecb98766d4bd158ffb7757958274ba38f76db SHA512 4e2a1ee2e7226224f115648a78bc3e4798ef0528ef32e01d1e7ebcbeb1250fd6ed88001c9db21456feeef3bd6ff201b0fd68fd5feb2671a66d13519dd3454386
|
||||||
|
DIST leatherman-1.12.7.tar.gz 815838 BLAKE2B 21284f5128c9264b751011b1d68c6baf553037612cab39cc339920091ae42980f6c3920f5b339d4cba31a40b190fa73d779f45dcc30b78e866708c3178ac6699 SHA512 dd763bf89d8356aa00805817af7029ee77452a9210b6aded16ac1434f233fbba9b41014ab55a076773f50da6d16e1cffae50e2a23d1c4b336df9cc88c05ede56
|
||||||
|
@ -0,0 +1,62 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit cmake
|
||||||
|
|
||||||
|
DESCRIPTION="A C++ toolkit"
|
||||||
|
HOMEPAGE="https://github.com/puppetlabs/leatherman"
|
||||||
|
SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0/${PV}"
|
||||||
|
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||||
|
IUSE="debug static-libs test"
|
||||||
|
#RESTRICT="!test? ( test )"
|
||||||
|
RESTRICT="test" # restricted til we don't need the shared_nowide patch
|
||||||
|
|
||||||
|
RDEPEND=">=dev-libs/boost-1.73:=[nls]
|
||||||
|
net-misc/curl"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/portage-sandbox-test-fix.patch
|
||||||
|
"${FILESDIR}"/1.12.2-shared_nowide.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || die
|
||||||
|
# vendored boost lib conflicts with boost 1.73 and above
|
||||||
|
cmake_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON
|
||||||
|
-DCMAKE_BUILD_TYPE=None
|
||||||
|
-DLEATHERMAN_ENABLE_TESTING=$(usex test)
|
||||||
|
# We depend on Boost with nls, so this is always true
|
||||||
|
-DLEATHERMAN_USE_ICU=ON
|
||||||
|
|
||||||
|
-DLEATHERMAN_SHARED=$(usex !static-libs)
|
||||||
|
)
|
||||||
|
|
||||||
|
if use debug; then
|
||||||
|
mycmakeargs+=(
|
||||||
|
-DCMAKE_BUILD_TYPE=Debug
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
|
cmake_src_configure
|
||||||
|
cd "${BUILD_DIR}"
|
||||||
|
eapply "${FILESDIR}"/${P}-SIGSTKSZ.patch
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
"${WORKDIR}/${P}"_build/bin/leatherman_test || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cmake_src_install
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,60 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="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 ~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.3.0[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/mock[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs/source \
|
||||||
|
'dev-python/guzzle_sphinx_theme'
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
# don't lock versions to narrow ranges
|
||||||
|
sed -e '/botocore/ d' \
|
||||||
|
-e '/jmespath/ d' \
|
||||||
|
-e '/s3transfer/ d' \
|
||||||
|
-i setup.py || die
|
||||||
|
|
||||||
|
# do not rely on bundled deps in botocore (sic!)
|
||||||
|
find -name '*.py' -exec sed -i \
|
||||||
|
-e 's:from botocore[.]vendored import:import:' \
|
||||||
|
-e 's:from botocore[.]vendored[.]:from :' \
|
||||||
|
{} + || die
|
||||||
|
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
epytest tests/{functional,unit}
|
||||||
|
}
|
@ -0,0 +1,65 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="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 ~ppc ~ppc64 ~riscv ~sparc ~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-1.25.4[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
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 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
|
||||||
|
)
|
||||||
|
|
||||||
|
epytest tests/{functional,unit}
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST cfn-lint-0.56.3.tar.gz 8278034 BLAKE2B 894d30add7a193d256dc2195c0cd1d4b75f10f60abe9e37c5b0bdd84178d9559759326ad3e55d2321b99588094b436dc2dc8dff1cc561ae56dd4cee98d6b43bd SHA512 8aeaf44a626f9bfc05ebeefc8aec9211fcac1a65de681d5d700f3621631bff15e74ed644b9d0dc8af4d9b0b14802c2259dbc4ccf38594705040f5fd3af1cf482
|
DIST cfn-lint-0.56.3.tar.gz 8278034 BLAKE2B 894d30add7a193d256dc2195c0cd1d4b75f10f60abe9e37c5b0bdd84178d9559759326ad3e55d2321b99588094b436dc2dc8dff1cc561ae56dd4cee98d6b43bd SHA512 8aeaf44a626f9bfc05ebeefc8aec9211fcac1a65de681d5d700f3621631bff15e74ed644b9d0dc8af4d9b0b14802c2259dbc4ccf38594705040f5fd3af1cf482
|
||||||
DIST cfn-lint-0.56.4.tar.gz 8550039 BLAKE2B 99efd99b423e068717f3050e4da444436463c16b0a55dfc36ca7ca45b1136d08bbce84441c8c4170eff7c82cbd4ecf87b6f78504b1d09d850d803a7e957903c9 SHA512 b7c94d85d58f9e44ff8d5575bb33c8c7fafcb908afe144d585765f02d645436d6583ecc802f0fa376597b75c72ada9a23862141cf1170c1ac1f64f2467d346fb
|
DIST cfn-lint-0.56.4.tar.gz 8550039 BLAKE2B 99efd99b423e068717f3050e4da444436463c16b0a55dfc36ca7ca45b1136d08bbce84441c8c4170eff7c82cbd4ecf87b6f78504b1d09d850d803a7e957903c9 SHA512 b7c94d85d58f9e44ff8d5575bb33c8c7fafcb908afe144d585765f02d645436d6583ecc802f0fa376597b75c72ada9a23862141cf1170c1ac1f64f2467d346fb
|
||||||
|
DIST cfn-lint-0.57.0.tar.gz 8579636 BLAKE2B 5e9cadcbd695b1047c4cf51132fcdf5a254a89fcd89a86e3c5d86096e8cd376f7f02422757f7daaf98490ff82df88933a976faba1ea6504a463ed7c485c83631 SHA512 11ec66bc5a98c928e059778462766100fb47f4b45a4cc7023d3d2b70ae664a1b199ec4df0d95cb9ada5a09a1f7a609fcec7d76339b3d9d6430bbe85462e1c020
|
||||||
|
@ -0,0 +1,49 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="CloudFormation Linter"
|
||||||
|
HOMEPAGE="https://pypi.org/project/cfn-lint/ https://github.com/aws-cloudformation/cfn-lint/"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/aws-cloudformation/cfn-lint/archive/v${PV}.tar.gz
|
||||||
|
-> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/aws-sam-translator-1.42.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/jsonpatch[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jschema_to_python-1.2.3[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jsonschema-3.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/junit-xml[${PYTHON_USEDEP}]
|
||||||
|
dev-python/networkx[${PYTHON_USEDEP}]
|
||||||
|
>dev-python/pyyaml-5.4[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/requests-2.15.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/sarif_om-1.0.4[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/six-1.11[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests --install pytest
|
||||||
|
|
||||||
|
EPYTEST_DESELECT=(
|
||||||
|
# TODO
|
||||||
|
test/unit/module/test_template.py::TestTemplate::test_build_graph
|
||||||
|
# requires git repo
|
||||||
|
test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs
|
||||||
|
# Internet
|
||||||
|
test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter
|
||||||
|
test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_2
|
||||||
|
test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# unpin the deps
|
||||||
|
sed -e 's:~=[0-9.]*::' -i setup.py || die
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST cons-0.4.4.gh.tar.gz 37957 BLAKE2B 8256a36f66d1cfbd7464cedad4970945c22776ed893665a5af7c464afb7fd1bb1e8cb74de3e537561c346ad2a93b5ada587171afcda1722dcbe0499224c8ebcd SHA512 dca6ff36a7530c9907387ada1e760eee895829e0cc7da18c03f636bb0ead199260b52b2109f0adae34edcdd6a8fee04dd3d3c92f9e866ca0afbf53074a2b4b7c
|
DIST cons-0.4.4.gh.tar.gz 37957 BLAKE2B 8256a36f66d1cfbd7464cedad4970945c22776ed893665a5af7c464afb7fd1bb1e8cb74de3e537561c346ad2a93b5ada587171afcda1722dcbe0499224c8ebcd SHA512 dca6ff36a7530c9907387ada1e760eee895829e0cc7da18c03f636bb0ead199260b52b2109f0adae34edcdd6a8fee04dd3d3c92f9e866ca0afbf53074a2b4b7c
|
||||||
|
DIST cons-0.4.5.gh.tar.gz 40318 BLAKE2B c01f195c4f29ffe42e08fba6b57806b96263f7ebbc1cc859b8d146cd94e257829506502f2bc81f5665f4caf3bb8725ec556b70b951ede2b8117ba50fdb4388e5 SHA512 fea3af6b7198760f36194793a32a87f17729877f75baca6fd9627c32c4602e640cf667bb106624e9d756aece57053974e90e32329de484619a14b3500bea26e7
|
||||||
|
@ -0,0 +1,26 @@
|
|||||||
|
# Copyright 2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Implementation of Lisp/Scheme-like cons in Python"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://pypi.org/project/cons/
|
||||||
|
https://github.com/pythological/python-cons/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/pythological/python-cons/archive/v${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
S="${WORKDIR}/python-${P}"
|
||||||
|
|
||||||
|
LICENSE="LGPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
|
||||||
|
|
||||||
|
RDEPEND="dev-python/logical-unification[${PYTHON_USEDEP}]"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
@ -1 +1,2 @@
|
|||||||
DIST dogpile.cache-1.1.4.tar.gz 390117 BLAKE2B 88c38473c3f177a42c2e336f7913940cde5f793245ddbb2ce3e7569c0853a1f93138a4987dc7781490132f84beb17c568ec9fc9a955201123842ccdbdfff2fc4 SHA512 d70f0ad1097f7de5bc887cfd0835f02a10bd6096433d39e6fe2fad5ed294f019ee043ced670c08bacb8ad1f6cf32ada36a62149a9b6db6205e72f49fa68bf4c4
|
DIST dogpile.cache-1.1.4.tar.gz 390117 BLAKE2B 88c38473c3f177a42c2e336f7913940cde5f793245ddbb2ce3e7569c0853a1f93138a4987dc7781490132f84beb17c568ec9fc9a955201123842ccdbdfff2fc4 SHA512 d70f0ad1097f7de5bc887cfd0835f02a10bd6096433d39e6fe2fad5ed294f019ee043ced670c08bacb8ad1f6cf32ada36a62149a9b6db6205e72f49fa68bf4c4
|
||||||
|
DIST dogpile.cache-1.1.5.tar.gz 392536 BLAKE2B 062392cda9b06da889f924bc04743faa133b978a908ffdbc1e9cc9a2a9a69db22ee26b27c7cb2ec2dedee20786cf90c6d02d163731224956091b2d3baa25774b SHA512 b6d453121ef8e58da60478e2e1e2db57804dfa3b17cceeace930ba75d159629dfba4b5d63c50fbbc2eafeadbfcd6e1e4cbe22c8da1f54c90473f8ee677d764f8
|
||||||
|
@ -0,0 +1,30 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="A locking API for expiring values while a single thread generates a new value"
|
||||||
|
HOMEPAGE="https://github.com/sqlalchemy/dogpile.cache"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/dogpile.cache/dogpile.cache-${PV}.tar.gz"
|
||||||
|
S="${WORKDIR}/dogpile.cache-${PV}"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/decorator-4.0.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/stevedore-3.0.0[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/mock[${PYTHON_USEDEP}]
|
||||||
|
dev-python/mako[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
@ -1 +1,2 @@
|
|||||||
|
DIST easy-thumbnails-2.8.1.tar.gz 76527 BLAKE2B 1db0b229c90546e162d9691c768d09133218604cb27a4472b017d286f776e2898be232f3b0750e8b833a2746111d22da732c981a8a72986611b0fcf8c0f41ad9 SHA512 26ab9d41d7fa6adbec1cf78b92371e70bf44d20bf2f164016551d6d1bcbcbb190550ecbd8f177e83f3ee677fb3d921e0a411b49fe4d85202b70b6f441d43d247
|
||||||
DIST easy-thumbnails-2.8.tar.gz 77729 BLAKE2B 6e205acc0af9f962f08eb6ec61eeae38f7a90b7b87cdec9e111b877b3fbbe051e1cf7c2b212ffdd41e79e4ffd9f205a783f1fc13010f7cf737fe640e8b974003 SHA512 69f4805b7331236ed37ade1098f0aa6ef92c6664e84e09073efc4c8d761ac548540058cc4dde7f0bab362b7b3a372bd46119a053df9838821f62641baf6c39b8
|
DIST easy-thumbnails-2.8.tar.gz 77729 BLAKE2B 6e205acc0af9f962f08eb6ec61eeae38f7a90b7b87cdec9e111b877b3fbbe051e1cf7c2b212ffdd41e79e4ffd9f205a783f1fc13010f7cf737fe640e8b974003 SHA512 69f4805b7331236ed37ade1098f0aa6ef92c6664e84e09073efc4c8d761ac548540058cc4dde7f0bab362b7b3a372bd46119a053df9838821f62641baf6c39b8
|
||||||
|
@ -0,0 +1,37 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Easy thumbnails for Django"
|
||||||
|
HOMEPAGE="https://pypi.org/project/easy-thumbnails/"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/django-2.2[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pillow[${PYTHON_USEDEP}]
|
||||||
|
dev-python/reportlab[${PYTHON_USEDEP}]
|
||||||
|
dev-python/svglib[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
$(python_gen_impl_dep sqlite)
|
||||||
|
${RDEPEND}
|
||||||
|
dev-python/testfixtures[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local -x DJANGO_SETTINGS_MODULE=easy_thumbnails.tests.settings
|
||||||
|
local -x PYTHONPATH="${S}"
|
||||||
|
django-admin test -v 2 || die "Tests failed with ${EPYTHON}"
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST etuples-0.3.3.gh.tar.gz 42081 BLAKE2B 524ec65a691a7b27f4ccc4d625093a92cd11c9835d3e38498bf89da8690a0bdba5752b3dcdb1e3e9326980920c50f51bc336e7592cbf2561c1ce15346c561cd5 SHA512 cfd2c88f46326783d6b132c605eb3498e383509f45ea8c720148bca7c7fb462e0bf1630da901a362f38cabb0912354a875b99f84beb43b5443333f4bafea5690
|
DIST etuples-0.3.3.gh.tar.gz 42081 BLAKE2B 524ec65a691a7b27f4ccc4d625093a92cd11c9835d3e38498bf89da8690a0bdba5752b3dcdb1e3e9326980920c50f51bc336e7592cbf2561c1ce15346c561cd5 SHA512 cfd2c88f46326783d6b132c605eb3498e383509f45ea8c720148bca7c7fb462e0bf1630da901a362f38cabb0912354a875b99f84beb43b5443333f4bafea5690
|
||||||
|
DIST etuples-0.3.4.gh.tar.gz 44650 BLAKE2B 4d0e7235d010ff10e01d4143858bbc2ee1516f66db35fb9c6acf054df898a605a49dc82e4eeaddcb7ab6e5ea9bbd5dec493ac5d1741c4d595756e0f4af0ed1c1 SHA512 4e2c2884cd741a1e85358678347dc65c994583ff700c6a1adaa561bd4446035ccca2e27855fbb5842012f7e2bfa90ef7fa1634e9b3cc43cf9c7006acd7b66595
|
||||||
|
@ -0,0 +1,28 @@
|
|||||||
|
# Copyright 2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Python S-expression emulation using tuple-like objects"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://pypi.org/project/etuples/
|
||||||
|
https://github.com/pythological/etuples/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/pythological/etuples/archive/v${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/cons[${PYTHON_USEDEP}]
|
||||||
|
dev-python/multipledispatch[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
@ -1,2 +1,3 @@
|
|||||||
DIST google-api-python-client-2.34.0.tar.gz 28469433 BLAKE2B aa2c8849b629fe489cf39cddd410a40a0af0bddfa5f370a4a41c1446aeadf69cd4592eeb1d76e6c63da9737906801aea9c8a4d706328b63a7bf5b34a43b83e00 SHA512 321dfdd3ba821beabc6c3a96575afd06c75a0c8e3db61b1ff5fa9db472e62de81b037c435a1051d6294c2a37e471bcaa068cd27ad7434a3416231d31931dd74e
|
DIST google-api-python-client-2.34.0.tar.gz 28469433 BLAKE2B aa2c8849b629fe489cf39cddd410a40a0af0bddfa5f370a4a41c1446aeadf69cd4592eeb1d76e6c63da9737906801aea9c8a4d706328b63a7bf5b34a43b83e00 SHA512 321dfdd3ba821beabc6c3a96575afd06c75a0c8e3db61b1ff5fa9db472e62de81b037c435a1051d6294c2a37e471bcaa068cd27ad7434a3416231d31931dd74e
|
||||||
DIST google-api-python-client-2.35.0.tar.gz 28553015 BLAKE2B 8ff92145f280e090b8f43c10e425dd4a8fe65b4cf565c5b5a0df2813cdb8ba1bcea50e37556efb9dd0b270a21fe11b7d6d1b445c8fdaa83326c7dc6230ee1fdb SHA512 4d0325b79250a26ae252568759e8345d31d692aa1d8f1d7aae623bb9a1a950efae654cd689d39f30450789c6d4fa9ca264111f8a9e798820cf6d0c3acba904f6
|
DIST google-api-python-client-2.35.0.tar.gz 28553015 BLAKE2B 8ff92145f280e090b8f43c10e425dd4a8fe65b4cf565c5b5a0df2813cdb8ba1bcea50e37556efb9dd0b270a21fe11b7d6d1b445c8fdaa83326c7dc6230ee1fdb SHA512 4d0325b79250a26ae252568759e8345d31d692aa1d8f1d7aae623bb9a1a950efae654cd689d39f30450789c6d4fa9ca264111f8a9e798820cf6d0c3acba904f6
|
||||||
|
DIST google-api-python-client-2.36.0.tar.gz 28624616 BLAKE2B 738d89e740ded848683a4bc5c1d4b27f57acb817c54397ed563de376fa395d1202c47fd4b42046f313b31c826fb3d0fc2e3761c0779bf9c9718b3b2923fc63a3 SHA512 bdca303fa84f5cb510102265ebb7629b48b939c8d7a01420e61635ef4c461f62b6dfa6f29e96060a80d86baf0ea6587d88b0ec64a7b4c6b32563921c3a1a53ca
|
||||||
|
@ -0,0 +1,45 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..9} )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Google API Client for Python"
|
||||||
|
HOMEPAGE="https://github.com/googleapis/google-api-python-client"
|
||||||
|
SRC_URI="https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/httplib2-0.15[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/httplib2-1[${PYTHON_USEDEP}]
|
||||||
|
dev-python/google-api-core[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/uritemplate-5[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/mock[${PYTHON_USEDEP}]
|
||||||
|
dev-python/oauth2client[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pandas[${PYTHON_USEDEP}]
|
||||||
|
dev-python/parameterized[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local EPYTEST_DESELECT=(
|
||||||
|
# require Internet access (and credentials)
|
||||||
|
tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive
|
||||||
|
tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object
|
||||||
|
)
|
||||||
|
|
||||||
|
epytest tests
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST h11-0.12.0.tar.gz 98121 BLAKE2B 8e510461e0256a49166ad3b11394d715634d036642629b216f0c94785245909fc3d9ab89ba3048b857f1ae030cae7ed0b3195745739d80c74028a85848a762db SHA512 ba2a2c185af270185ba5e1fd80ec9308e35afcd60a125a77cbeae2669f462983d063339371312f154a7c80c154ac97796ab36782b36549235435dcfd81b93421
|
DIST h11-0.12.0.tar.gz 98121 BLAKE2B 8e510461e0256a49166ad3b11394d715634d036642629b216f0c94785245909fc3d9ab89ba3048b857f1ae030cae7ed0b3195745739d80c74028a85848a762db SHA512 ba2a2c185af270185ba5e1fd80ec9308e35afcd60a125a77cbeae2669f462983d063339371312f154a7c80c154ac97796ab36782b36549235435dcfd81b93421
|
||||||
|
DIST h11-0.13.0.tar.gz 100165 BLAKE2B 6cb610afa474f5945151300e6ec6c2860e8b959b9ab0224b58fb047f3fa0b417499adb0119b7b7727b9ebfb4b60360fef78843fde41935616784bbf450605503 SHA512 c3a16dd66287ab6491b664aab9d72e14f1e61950c19182d60e195b81b2857e47157c38137b2ee2a9cd35d9d54997f554f768a3933051030895ddf7bc5b813e02
|
||||||
|
@ -0,0 +1,19 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USEPEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="A pure-Python implementation of HTTP/1.1 inspired by hyper-h2"
|
||||||
|
HOMEPAGE="https://github.com/python-hyper/h11/ https://pypi.org/project/h11/"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
@ -1,3 +1,4 @@
|
|||||||
DIST httpcore-0.13.7.tar.gz 64734 BLAKE2B e6c4b1720ce4bf62689995d3e1c648c4702bb416f3b3586eb8dd2f0cfd2155046e64181c4c04e65f721a5f0fcbc23b5ffd01c2930c7c69d37ee4c36e37b7d0d4 SHA512 0cc48828d0710066b3ef89998ec85975285763ac63a8b59106952ef2dac5a02dac71e7e106c4b6ea1022eb4d06a9cb5ee3e634eb564bad49c5508beff75279d6
|
DIST httpcore-0.13.7.tar.gz 64734 BLAKE2B e6c4b1720ce4bf62689995d3e1c648c4702bb416f3b3586eb8dd2f0cfd2155046e64181c4c04e65f721a5f0fcbc23b5ffd01c2930c7c69d37ee4c36e37b7d0d4 SHA512 0cc48828d0710066b3ef89998ec85975285763ac63a8b59106952ef2dac5a02dac71e7e106c4b6ea1022eb4d06a9cb5ee3e634eb564bad49c5508beff75279d6
|
||||||
DIST httpcore-0.14.3.tar.gz 64650 BLAKE2B 140c55af60f54ff13db958cecef50af2b8857837c00c2e5b1ec48d8866bc08146f608864a3dcaed0014505ba0ea10b8d457a763ecf434a0d40a2e11debdd4003 SHA512 05e92109839c2e2f7ec81fea9507fb15a12d1bf6ae92048170953b1cb0139237b81c892feff1bc3840e06887e8916cadcc4124725874344524e45e3640a00379
|
DIST httpcore-0.14.3.tar.gz 64650 BLAKE2B 140c55af60f54ff13db958cecef50af2b8857837c00c2e5b1ec48d8866bc08146f608864a3dcaed0014505ba0ea10b8d457a763ecf434a0d40a2e11debdd4003 SHA512 05e92109839c2e2f7ec81fea9507fb15a12d1bf6ae92048170953b1cb0139237b81c892feff1bc3840e06887e8916cadcc4124725874344524e45e3640a00379
|
||||||
DIST httpcore-0.14.4.tar.gz 68463 BLAKE2B cc6c17da3b97c2a8fb9edb0aeb6247904240748645f605b2f3c84194fc06bab10f568ce21b8beaf1dee9a8d68166f1691e00f17e44d89efce0a18a6fbd91d5a5 SHA512 4dfb2d0dd10df1de45f4e78ddedddf02bf500a81a0132919894bd5c07f02a2975ce589ba3f6d79dd92ec882128f86f338bd32f35cdecb6618307e446ed369310
|
DIST httpcore-0.14.4.tar.gz 68463 BLAKE2B cc6c17da3b97c2a8fb9edb0aeb6247904240748645f605b2f3c84194fc06bab10f568ce21b8beaf1dee9a8d68166f1691e00f17e44d89efce0a18a6fbd91d5a5 SHA512 4dfb2d0dd10df1de45f4e78ddedddf02bf500a81a0132919894bd5c07f02a2975ce589ba3f6d79dd92ec882128f86f338bd32f35cdecb6618307e446ed369310
|
||||||
|
DIST httpcore-0.14.5.tar.gz 74227 BLAKE2B 8e54b6b40d35a9228b96682d87651a6d3967441b74f3544a21b378620b417b48978f51d25b1980d87fad4748537036c6f2a4751e8b58e622c7c76389ff1afb67 SHA512 1705cf83df3ead454065e2ed4c300697c5d0a6609846a3eadfca2af2d9c1578f951c2f4bf3ac018c3cc984d2d2ccd39c4b2de781747588a6116eebe1007afff0
|
||||||
|
@ -0,0 +1,39 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
inherit distutils-r1 optfeature
|
||||||
|
|
||||||
|
DESCRIPTION="A minimal low-level HTTP client"
|
||||||
|
HOMEPAGE="https://www.encode.io/httpcore/"
|
||||||
|
SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
=dev-python/anyio-3*[${PYTHON_USEDEP}]
|
||||||
|
dev-python/certifi[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/h11-0.13[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/h2-5[${PYTHON_USEDEP}]
|
||||||
|
=dev-python/sniffio-1*[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-httpbin[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-trio[${PYTHON_USEDEP}]
|
||||||
|
dev-python/socksio[${PYTHON_USEDEP}]
|
||||||
|
dev-python/trio[${PYTHON_USEDEP}]
|
||||||
|
dev-python/trustme[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
optfeature "SOCKs support" dev-python/socksio
|
||||||
|
}
|
@ -0,0 +1,65 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||||
|
PYTHON_REQ_USE="threads(+),sqlite"
|
||||||
|
|
||||||
|
inherit distutils-r1 multiprocessing optfeature
|
||||||
|
|
||||||
|
DESCRIPTION="A library for property based testing"
|
||||||
|
HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
|
||||||
|
SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
|
||||||
|
S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
|
||||||
|
|
||||||
|
LICENSE="MPL-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
||||||
|
IUSE="cli"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
|
||||||
|
cli? (
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
dev-python/black[${PYTHON_USEDEP}]
|
||||||
|
dev-python/click[${PYTHON_USEDEP}]
|
||||||
|
' python3_{8..9})
|
||||||
|
)
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/mock[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
!!<dev-python/typing-3.7.4.1
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_prepare() {
|
||||||
|
if ! use cli || ! has "${EPYTHON}" python3.{8..9}; then
|
||||||
|
sed -i -e '/console_scripts/d' setup.py || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
# subtests are broken by warnings from random plugins
|
||||||
|
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||||
|
local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin
|
||||||
|
|
||||||
|
epytest tests/cover tests/pytest tests/quality \
|
||||||
|
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
optfeature "datetime support" dev-python/pytz
|
||||||
|
optfeature "dateutil support" dev-python/python-dateutil
|
||||||
|
optfeature "numpy support" dev-python/numpy
|
||||||
|
optfeature "django support" dev-python/django dev-python/pytz
|
||||||
|
optfeature "pandas support" dev-python/pandas
|
||||||
|
optfeature "pytest support" dev-python/pytest
|
||||||
|
}
|
@ -1,4 +1,6 @@
|
|||||||
DIST ipython-7.29.0.tar.gz 5151803 BLAKE2B 685bb7df39513fe262c07dbb10de4d795860bf2958c626d030bfa3e18052a98d7c9d5f0f96c0c9a5d4b9fdcfab09c492457d409f05ce522f607456ff3a4b35fd SHA512 b8e9cc07a0f77bbfaa88183546ed9d7e4a4c37e7c1704b1a3716d605a04339f986c7767f3c0920a94039eda99e75afb62a7bb43fa0cde6699a902f3b8f83a398
|
DIST ipython-7.29.0.tar.gz 5151803 BLAKE2B 685bb7df39513fe262c07dbb10de4d795860bf2958c626d030bfa3e18052a98d7c9d5f0f96c0c9a5d4b9fdcfab09c492457d409f05ce522f607456ff3a4b35fd SHA512 b8e9cc07a0f77bbfaa88183546ed9d7e4a4c37e7c1704b1a3716d605a04339f986c7767f3c0920a94039eda99e75afb62a7bb43fa0cde6699a902f3b8f83a398
|
||||||
DIST ipython-7.30.1.tar.gz 5154336 BLAKE2B 0753433eea2ee6a5a6451db6aa537c9c9469c749b970ecdd040123787064e7be78363060a785c7ea4175b8e0f4f2bfefa15485f6f5412ec34690fe505a1cfb97 SHA512 839f709e019dd5efe32730f2e4c457e6dae0db5490844805d30f12a1fd17bfb2f991f1374a84542b2392d3ce332096d3922471c6b14149331075be8719b14734
|
DIST ipython-7.30.1.tar.gz 5154336 BLAKE2B 0753433eea2ee6a5a6451db6aa537c9c9469c749b970ecdd040123787064e7be78363060a785c7ea4175b8e0f4f2bfefa15485f6f5412ec34690fe505a1cfb97 SHA512 839f709e019dd5efe32730f2e4c457e6dae0db5490844805d30f12a1fd17bfb2f991f1374a84542b2392d3ce332096d3922471c6b14149331075be8719b14734
|
||||||
DIST ipython-7.31.0.tar.gz 5154974 BLAKE2B 5debac9a1011cc6541a2ce97df5d8793465ce4c289d1293c33c29eacc23cbd2271f0a8d7362c3445a88d080edefd85046aebc8782cd930c3dd8b6837ec682bf6 SHA512 705122ca63df17812ab360da06d58431b51d3a1f3bba47df7131e882de64de54c6986e7ba3d55f4b77c4b1049981b0100ba64825e952b25712c843ef7e975e2f
|
DIST ipython-7.31.0.tar.gz 5154974 BLAKE2B 5debac9a1011cc6541a2ce97df5d8793465ce4c289d1293c33c29eacc23cbd2271f0a8d7362c3445a88d080edefd85046aebc8782cd930c3dd8b6837ec682bf6 SHA512 705122ca63df17812ab360da06d58431b51d3a1f3bba47df7131e882de64de54c6986e7ba3d55f4b77c4b1049981b0100ba64825e952b25712c843ef7e975e2f
|
||||||
|
DIST ipython-7.31.1.tar.gz 5156314 BLAKE2B e6528c9d3920078918180c4c2fae5d0ac20cd377e012691fee4c0cfa6c3056c739efc1ab9cc6231f55034d70619e501ff30e31b929bd5f1f623c89075abfb02d SHA512 7bd1378f7b2bd2146d8c2cf15c958b08f286b0163ca3e267bcd92c3f988d2d20cf48fd6e3c185eed6d30baceb195aeb0170280900e587c898d0812c4ffdee3a0
|
||||||
DIST ipython-8.0.0.tar.gz 5395839 BLAKE2B 8844372c423c4b33a2a77b376c033aa00a4d44d1735cad42c4c85b05950370fcafea109025f4f02d124643656673ebf45ef27f78a93d31083b94e13d9364b32c SHA512 cb372080fac212f0d3872747820d06829f6b008ba142650c1af6fbc2ff287a0a82e9ec27777fe1c94f86d7dd9b57a9ebab467eeabd100344d053becd8ec1f70b
|
DIST ipython-8.0.0.tar.gz 5395839 BLAKE2B 8844372c423c4b33a2a77b376c033aa00a4d44d1735cad42c4c85b05950370fcafea109025f4f02d124643656673ebf45ef27f78a93d31083b94e13d9364b32c SHA512 cb372080fac212f0d3872747820d06829f6b008ba142650c1af6fbc2ff287a0a82e9ec27777fe1c94f86d7dd9b57a9ebab467eeabd100344d053becd8ec1f70b
|
||||||
|
DIST ipython-8.0.1.tar.gz 5306811 BLAKE2B 9088faf779e2783ce97c6a45f0baa3c7163e12f63546aa65eb961de2b2fbacaac8ba1cf0c3c705bc326b4c999fe3ce672f31e3abaa7168d912504880ad8d3c2f SHA512 c4f3cf6e4aa7dab1e4e8cec2d669e5fe4ea3eeac9063132a38544596fafbaaed0f287bbdce12e8bc3d7613766c51b0e1ff8c7c86fdbd53e387caade6bbcdb828
|
||||||
|
@ -0,0 +1,157 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_SETUPTOOLS=no
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
PYTHON_REQ_USE='readline,sqlite,threads(+)'
|
||||||
|
|
||||||
|
inherit distutils-r1 optfeature virtualx
|
||||||
|
|
||||||
|
DESCRIPTION="Advanced interactive shell for Python"
|
||||||
|
HOMEPAGE="https://ipython.org/ https://github.com/ipython/ipython/"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||||
|
IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/backcall[${PYTHON_USEDEP}]
|
||||||
|
dev-python/decorator[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jedi-0.16[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pexpect-4.3[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pickleshare[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/prompt_toolkit-2[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/prompt_toolkit-3.1[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pygments[${PYTHON_USEDEP}]
|
||||||
|
dev-python/traitlets[${PYTHON_USEDEP}]
|
||||||
|
matplotlib? (
|
||||||
|
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||||
|
dev-python/matplotlib-inline[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
app-text/dvipng[truetype]
|
||||||
|
>=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||||
|
dev-python/matplotlib-inline[${PYTHON_USEDEP}]
|
||||||
|
dev-python/nbformat[${PYTHON_USEDEP}]
|
||||||
|
dev-python/nose[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/numpy-1.17[${PYTHON_USEDEP}]
|
||||||
|
dev-python/requests[${PYTHON_USEDEP}]
|
||||||
|
dev-python/testpath[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
doc? (
|
||||||
|
>=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/sphinx-2[${PYTHON_USEDEP}]
|
||||||
|
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
RDEPEND+="
|
||||||
|
nbconvert? (
|
||||||
|
dev-python/nbconvert[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
PDEPEND="
|
||||||
|
notebook? (
|
||||||
|
dev-python/notebook[${PYTHON_USEDEP}]
|
||||||
|
dev-python/ipywidgets[${PYTHON_USEDEP}]
|
||||||
|
dev-python/widgetsnbextension[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
qt5? ( dev-python/qtconsole[${PYTHON_USEDEP}] )
|
||||||
|
smp? (
|
||||||
|
>=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
PATCHES=( "${FILESDIR}"/2.1.0-substitute-files.patch )
|
||||||
|
|
||||||
|
DISTUTILS_IN_SOURCE_BUILD=1
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
# Remove out of date insource files
|
||||||
|
rm IPython/extensions/cythonmagic.py || die
|
||||||
|
rm IPython/extensions/rmagic.py || die
|
||||||
|
|
||||||
|
# Prevent un-needed download during build
|
||||||
|
if use doc; then
|
||||||
|
sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Rename the test directory to reduce sys.path pollution
|
||||||
|
# https://github.com/ipython/ipython/issues/12892
|
||||||
|
mv IPython/extensions/{,ipython_}tests || die
|
||||||
|
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
||||||
|
|
||||||
|
python_compile_all() {
|
||||||
|
if use doc; then
|
||||||
|
emake -C docs html_noapi
|
||||||
|
HTML_DOCS=( docs/build/html/. )
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local -x IPYTHON_TESTING_TIMEOUT_SCALE=20
|
||||||
|
local EPYTEST_DESELECT=(
|
||||||
|
# TODO: looks to be a regression due to a newer dep
|
||||||
|
IPython/core/tests/test_oinspect.py::test_class_signature
|
||||||
|
IPython/core/tests/test_oinspect.py::test_render_signature_long
|
||||||
|
)
|
||||||
|
[[ ${EPYTHON} == python3.10 ]] && EPYTEST_DESELECT+=(
|
||||||
|
# TODO
|
||||||
|
IPython/core/tests/test_completer.py::TestCompleter::test_all_completions_dups
|
||||||
|
IPython/core/tests/test_completer.py::TestCompleter::test_deduplicate_completions
|
||||||
|
IPython/core/tests/test_oinspect.py::test_pinfo_docstring_if_detail_and_no_source
|
||||||
|
# fails due to changed argparse output
|
||||||
|
IPython/core/tests/test_magic_arguments.py::test_magic_arguments
|
||||||
|
# py3.10 API incompat, doesn't look important
|
||||||
|
IPython/lib/tests/test_pretty.py::test_pprint_heap_allocated_type
|
||||||
|
)
|
||||||
|
virtx epytest
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install() {
|
||||||
|
distutils-r1_python_install
|
||||||
|
|
||||||
|
# Create ipythonX.Y symlinks.
|
||||||
|
# TODO:
|
||||||
|
# 1. do we want them for pypy? No. pypy has no numpy
|
||||||
|
# 2. handle it in the eclass instead (use _python_ln_rel).
|
||||||
|
# With pypy not an option the dosym becomes unconditional
|
||||||
|
dosym ../lib/python-exec/${EPYTHON}/ipython \
|
||||||
|
/usr/bin/ipython${EPYTHON#python}
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
|
||||||
|
if use examples; then
|
||||||
|
dodoc -r examples
|
||||||
|
docompress -x /usr/share/doc/${PF}/examples
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
optfeature "sympyprinting" dev-python/sympy
|
||||||
|
optfeature "cythonmagic" dev-python/cython
|
||||||
|
optfeature "%lprun magic command" dev-python/line_profiler
|
||||||
|
optfeature "%mprun magic command" dev-python/memory_profiler
|
||||||
|
|
||||||
|
if use nbconvert; then
|
||||||
|
if ! has_version app-text/pandoc ; then
|
||||||
|
einfo "Node.js will be used to convert notebooks to other formats"
|
||||||
|
einfo "like HTML. Support for that is still experimental. If you"
|
||||||
|
einfo "encounter any problems, please use app-text/pandoc instead."
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
@ -0,0 +1,153 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
PYTHON_REQ_USE='readline,sqlite,threads(+)'
|
||||||
|
|
||||||
|
inherit distutils-r1 optfeature virtualx
|
||||||
|
|
||||||
|
DESCRIPTION="Advanced interactive shell for Python"
|
||||||
|
HOMEPAGE="https://ipython.org/ https://github.com/ipython/ipython/"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~ia64 ~riscv"
|
||||||
|
IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/backcall[${PYTHON_USEDEP}]
|
||||||
|
dev-python/black[${PYTHON_USEDEP}]
|
||||||
|
dev-python/decorator[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jedi-0.16[${PYTHON_USEDEP}]
|
||||||
|
dev-python/matplotlib-inline[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pexpect-4.3[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pickleshare[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/prompt_toolkit-2[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/prompt_toolkit-3.1[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pygments[${PYTHON_USEDEP}]
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
dev-python/stack_data[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/traitlets-5.0[${PYTHON_USEDEP}]
|
||||||
|
matplotlib? (
|
||||||
|
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
app-text/dvipng[truetype]
|
||||||
|
>=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/matplotlib-inline[${PYTHON_USEDEP}]
|
||||||
|
dev-python/nbformat[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/numpy-1.19[${PYTHON_USEDEP}]
|
||||||
|
dev-python/requests[${PYTHON_USEDEP}]
|
||||||
|
dev-python/testpath[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
doc? (
|
||||||
|
>=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/sphinx-2[${PYTHON_USEDEP}]
|
||||||
|
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
RDEPEND+="
|
||||||
|
nbconvert? (
|
||||||
|
dev-python/nbconvert[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
PDEPEND="
|
||||||
|
notebook? (
|
||||||
|
dev-python/notebook[${PYTHON_USEDEP}]
|
||||||
|
dev-python/ipywidgets[${PYTHON_USEDEP}]
|
||||||
|
dev-python/widgetsnbextension[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
qt5? ( dev-python/qtconsole[${PYTHON_USEDEP}] )
|
||||||
|
smp? (
|
||||||
|
>=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
PATCHES=( "${FILESDIR}"/2.1.0-substitute-files.patch )
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
# Remove out of date insource files
|
||||||
|
#rm IPython/extensions/cythonmagic.py || die
|
||||||
|
#rm IPython/extensions/rmagic.py || die
|
||||||
|
|
||||||
|
# Prevent un-needed download during build
|
||||||
|
if use doc; then
|
||||||
|
sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Rename the test directory to reduce sys.path pollution
|
||||||
|
# https://github.com/ipython/ipython/issues/12892
|
||||||
|
mv IPython/extensions/{,ipython_}tests || die
|
||||||
|
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
||||||
|
|
||||||
|
python_compile_all() {
|
||||||
|
if use doc; then
|
||||||
|
emake -C docs html_noapi
|
||||||
|
HTML_DOCS=( docs/build/html/. )
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local -x IPYTHON_TESTING_TIMEOUT_SCALE=20
|
||||||
|
local EPYTEST_DESELECT=(
|
||||||
|
# Internet
|
||||||
|
IPython/core/display.py::IPython.core.display.Image.__init__
|
||||||
|
# TODO: looks to be a regression due to a newer dep
|
||||||
|
IPython/core/tests/test_oinspect.py::test_class_signature
|
||||||
|
IPython/core/tests/test_oinspect.py::test_render_signature_long
|
||||||
|
)
|
||||||
|
[[ ${EPYTHON} == python3.10 ]] && EPYTEST_DESELECT+=(
|
||||||
|
# TODO
|
||||||
|
IPython/core/tests/test_completer.py::TestCompleter::test_all_completions_dups
|
||||||
|
IPython/core/tests/test_completer.py::TestCompleter::test_deduplicate_completions
|
||||||
|
)
|
||||||
|
virtx epytest
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install() {
|
||||||
|
distutils-r1_python_install
|
||||||
|
|
||||||
|
# Create ipythonX.Y symlinks.
|
||||||
|
# TODO:
|
||||||
|
# 1. do we want them for pypy? No. pypy has no numpy
|
||||||
|
# 2. handle it in the eclass instead (use _python_ln_rel).
|
||||||
|
# With pypy not an option the dosym becomes unconditional
|
||||||
|
dosym ../lib/python-exec/${EPYTHON}/ipython \
|
||||||
|
/usr/bin/ipython${EPYTHON#python}
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
|
||||||
|
if use examples; then
|
||||||
|
dodoc -r examples
|
||||||
|
docompress -x /usr/share/doc/${PF}/examples
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
optfeature "sympyprinting" dev-python/sympy
|
||||||
|
optfeature "cythonmagic" dev-python/cython
|
||||||
|
optfeature "%lprun magic command" dev-python/line_profiler
|
||||||
|
optfeature "%mprun magic command" dev-python/memory_profiler
|
||||||
|
|
||||||
|
if use nbconvert; then
|
||||||
|
if ! has_version app-text/pandoc ; then
|
||||||
|
einfo "Node.js will be used to convert notebooks to other formats"
|
||||||
|
einfo "like HTML. Support for that is still experimental. If you"
|
||||||
|
einfo "encounter any problems, please use app-text/pandoc instead."
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST logical-unification-0.4.4.gh.tar.gz 44705 BLAKE2B 2a120bd143fba81554a94bea12e007a1a1230f9cb47304e7248acbdbda59666e46bbfcfddf2fa95e422eecd5978a3eec51f1648e995c46e8467b423a96970cf9 SHA512 0742b105702efc9d17b48ce573e02e119adfbc30c0835fe2bae1266193d8e9ecefe0caec691cc214a29ecae6f7051c5b0d2f05f8d3910c29893d1822a97f5d5a
|
DIST logical-unification-0.4.4.gh.tar.gz 44705 BLAKE2B 2a120bd143fba81554a94bea12e007a1a1230f9cb47304e7248acbdbda59666e46bbfcfddf2fa95e422eecd5978a3eec51f1648e995c46e8467b423a96970cf9 SHA512 0742b105702efc9d17b48ce573e02e119adfbc30c0835fe2bae1266193d8e9ecefe0caec691cc214a29ecae6f7051c5b0d2f05f8d3910c29893d1822a97f5d5a
|
||||||
|
DIST logical-unification-0.4.5.gh.tar.gz 47003 BLAKE2B 9f7e119a69b15b460ce66af137a3f0c3dd3da154173ac196a94d4894aafc67eeaa31d69c5ca8bdd6e264a3f7599f9e301dad103510c77e60ff14cc8af1c86ce8 SHA512 42af33ac7da6013d48d26ab49b84b40146f494963f1eee06256a219e8d0517b04cc3fe86f51cf19729fc64ad765e75a4890b278c2dbbf34eb7e1ef65f3014784
|
||||||
|
@ -0,0 +1,33 @@
|
|||||||
|
# Copyright 2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Logical unification in Python"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://pypi.org/project/logical-unification/
|
||||||
|
https://github.com/pythological/unification/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/pythological/unification/archive/v${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
S="${WORKDIR}/unification-${PV}"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/multipledispatch[${PYTHON_USEDEP}]
|
||||||
|
dev-python/toolz[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
EPYTEST_DESELECT=(
|
||||||
|
tests/test_benchmarks.py
|
||||||
|
)
|
@ -1 +1,2 @@
|
|||||||
DIST minikanren-1.0.2.gh.tar.gz 70501 BLAKE2B 59efa4d62a2f896d310ebe522a6c77aaddc54be4d2a8fcf3aa29f3f5f4dcb3ac57823514661d5900e38f0ebd0e0247e7d99bbab53afaaf243e39084f357a0361 SHA512 278b6f3d0666c1ac1baad29ee9c767039922a7b7ffdbdd543c8ccfc65a7d54c3353327abbd7c5c41fa3194ddc00044cff1e975e51f8f5ea5a64c8c2bcfac17e2
|
DIST minikanren-1.0.2.gh.tar.gz 70501 BLAKE2B 59efa4d62a2f896d310ebe522a6c77aaddc54be4d2a8fcf3aa29f3f5f4dcb3ac57823514661d5900e38f0ebd0e0247e7d99bbab53afaaf243e39084f357a0361 SHA512 278b6f3d0666c1ac1baad29ee9c767039922a7b7ffdbdd543c8ccfc65a7d54c3353327abbd7c5c41fa3194ddc00044cff1e975e51f8f5ea5a64c8c2bcfac17e2
|
||||||
|
DIST minikanren-1.0.3.gh.tar.gz 73008 BLAKE2B 6fdc605249ac06071a8b51e736d19f561288a293853e8b7ac8685f5b4da400aa8ae480b9a6e5eac3a5735ebe00567e52f24d4bf6afbffb7678e0d41553e1b12f SHA512 b65095b947d3b59496035f54a00fcddaa1888dec1cb8117086bbb16f5b4ed1bf59f2b79e3639f06a4347bd22b7fb4753734f5b8da149a3d470521f360fba5d2e
|
||||||
|
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright 2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Relational programming in Python"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://pypi.org/project/miniKanren/
|
||||||
|
https://github.com/pythological/kanren/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/pythological/kanren/archive/v${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
S="${WORKDIR}/kanren-${PV}"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/cons[${PYTHON_USEDEP}]
|
||||||
|
dev-python/etuples[${PYTHON_USEDEP}]
|
||||||
|
dev-python/logical-unification[${PYTHON_USEDEP}]
|
||||||
|
dev-python/multipledispatch[${PYTHON_USEDEP}]
|
||||||
|
dev-python/toolz[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
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