parent
13972edfbe
commit
f15899b9b7
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29609 BLAKE2B abd6bc7cd36d7a0924a15c4e517c93684a4956c80eb36daa586e7d920dbf8bd4bf69eb3f369290ff9c7ffd8c80abaacdb057366a3abbb88643ff0b722e4f034c SHA512 3835296411a424437a5caf7b2235defbd6c8b8381683e1b2e8f75bf06fe033d3ac7b0acd67dbd448ea94099eaccfbd091947593f06d551350779d356ee11ccaf
|
||||
TIMESTAMP 2022-01-19T05:09:09Z
|
||||
MANIFEST Manifest.files.gz 29600 BLAKE2B 9161f0ce2098f9bedce9850fd654cde1ffc660fc3a7a66fdc20f20c7a6ca5ceb5e7cc3339980f5a401ef3eeee4dd76f4568c937b909de55981addf3383dc5715 SHA512 e364d05309f0132beda18c1096e5319e5e2dde9c9b300f54ae3affdc8db973ba1771876327cb02bfc8addba8fc4e2b406ca9b7623180de6a7efcf840c09a642b
|
||||
TIMESTAMP 2022-01-20T08:09:12Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmHnnPVfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmHpGKhfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klA8cg//SX2ifoCZQDvSIIqvfzK+UP6addle2TghrMmBN7BbFCMe7OE7bjZVcgw4
|
||||
H/D5u+xMSjII5GyQoh1dWmEmeCbm7qIix2nio7sWep8lsUzk+87+1rsQkstK4sG6
|
||||
Ud5FZob/ZCTYWMWv6QFMDHFTh8nDuOZBbkiYSA/sXEGTYfO+sEd9+MV8GAA+gmv9
|
||||
9klE1wkdELM4BbzGyk/OmFqr4jaot+r5omJQ0WPXo7Rz3RZKRsGogm6sJ4fLBKgB
|
||||
bImLfpkME+LtNRVF1HzbDBXTdDNVr0Pfcsm75xsuv19wdcx6wmeAcA90+9mp1RcR
|
||||
LQZ686zgGKlXp0bsb7WLoE6COEKUlSZukJidAIbiyYRLHTF/NySsYQ6t+ChH+IJ9
|
||||
lakobqg1GYr1ZXQ6Leu0vz55l4FnGFwrCss959MKa3cCFMgFwqznkodioWHI8KCw
|
||||
HQKzIAVB0lh2OAd02TdOT0Ye2pza2PhC744BC3MxYZ06F++3jTP0KPEhJUhOi93B
|
||||
RXs7fGbwbq0rbO4e/tnLw8wOaiBgargC1xuVpSkGPbQzSMwPPxwhqRnUHbFSeoA1
|
||||
IqyT+Zy1Sh3Tsq3LyH7ZBjUnRXp/chJOszd0X9RHEs51dIPX6bIIW/jMHzzTA1mr
|
||||
RbkqSzu85nmCv7tqyqviOYJG+gE+7+wnjkZwkrKUzdKeWEh8Nxo=
|
||||
=3IFW
|
||||
klBTuw//SMgaoKNaAf02r9N6LACFkQQj6yONPs17nAykVWsuDIQqbtq3Esc7Z2ZK
|
||||
0DL9EhWzZrgxgic+CcBs/ruoAf7P5r0mGGvGyC5ppq45bGKqxPoq1rC6eDQLw4kl
|
||||
sGC9nDdyx2LfbJ2XdHfWTm6gteRHVTBhAOoh9Lk4Rg8P0coINOR710MOCZFlirCt
|
||||
2O2RtFHmZR7ctZZczlzjKbJu+HIP13OgkOXk3VmG5G41sPlGyH9TFWbkB3EtSNCq
|
||||
qpBwDTO1a7oY5lKY8f1H5MsT104uaj253/ZQakgpZfqcx2vC/EK8MG+N9yK4E8ni
|
||||
HUXR4/PXHjIGB5/7jkrcQWplcP8M7yIl9laERVY6yYaOw5vIDj2jNG38iFjdf459
|
||||
4l4ErXpr5s9/gwFg9ISRsAsFLaswalgdXXrgPYuIBTi1Vgs8vuUsgoacq6D8zt1w
|
||||
FWIcJ+4AN1l/1SmQBOPExGqXYm1lt8IlLSExWDjgklus3tIdnACUc7zc7aiuyoiF
|
||||
tTJk20gdRWy8YrhL5rFr0TYraFrcv7Qi0OZRMHhBNH8YA4f6dXbHRlLuzSZeamWa
|
||||
l4PhPsZtGiiF8YaxMiNUp5hMUEd84SP852JydUEcmu6YpHwFeoP292XzJXuhixWz
|
||||
SrjynVBzLrjZBYwyX/RthK/CYAAlNGGCKVzLn9jfhqSGtpvctSs=
|
||||
=t/Oj
|
||||
-----END PGP SIGNATURE-----
|
||||
|
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.
@ -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,5 +1,7 @@
|
||||
AUX iwdevtools-0.8.1-tests.patch 2580 BLAKE2B f0fd374d2c2cca3f6da7f062ce2f82af2b9345e4c0e0625eb12f849a495fc74fdaba63e5c55355c3d64edf3c844c3382ae264357055af3c3fa41abb075804753 SHA512 4e73b5555da715b1227acafb9372a97888861fd68aa96696bca5d2f340c85851029145c400b70efd01458aea37f11da73c729470f860b71147f99b7cc5404e48
|
||||
DIST iwdevtools-0.8.1.tar.gz 58058 BLAKE2B b9f17f68bb073ecf2d8a94fc8b97d95f7188e7526dd6a32cf33aa3b01fe82bf25c696cc2be9cbdc0aaa3a8279532e506ab287d3e25da5d5fb55789064d47aec6 SHA512 cb365e7010d620f2a255db0244ee1a38fd5714a17093b2e2a71627155764165853f99a4477b281b92061f7fe184297a222a8c79c2c62beb8e0656761feee859b
|
||||
DIST iwdevtools-0.9.0.tar.gz 58476 BLAKE2B c036e151f76578633522f32665b30a2521131c265b5815934feffe2d3028e1e7fea314b2b41a719683b9ecc43f31f4aa7ffc10fe159dc62870bf43dc1da750bd SHA512 7d433d537d7b7ea3954e224be52dcd3a5fcb6be9b9f532096955b778a98d8a8a04e0c03f53615d01603a298859fe2129b3f3b126a671a1e202f08718bb15f104
|
||||
EBUILD iwdevtools-0.8.1.ebuild 2002 BLAKE2B 5882188d2c07ed11dc74bd73b67e716f07e37be8f31fa8ba5bd75e6560dcfc5249634f5f6b4d429f65410e50db9b65a0860e0bdca6472b1c31cc1abbeb26f428 SHA512 e025942e52c89bbc0d57d2bae53836ac930c5d0f275aa31a2043b1b3f095ff5cd34b077ca9cc6da388dcb668b46f9cffc181b1547001eff5b9d8420ad944fff2
|
||||
EBUILD iwdevtools-0.9.0.ebuild 2084 BLAKE2B 3c9a88d685e351a66cc08445b91c262be8dd7c48592313702dbb696a1ebc12d0eb6cbb1bd90a9e6b6549439d74d07760cdb0497eea0dfdaabf2ae6c7b97754a2 SHA512 720233a84c9488b79d2312f8fd290526e7e195d13523db84a03d9b4b6dac670d96faa55bbba6787803b216cec8d44fce4494fc15e5dc873130684dd5277e6f2c
|
||||
EBUILD iwdevtools-9999.ebuild 2005 BLAKE2B aba034397f28346a4028e484f4a7dc612da870e2b53d21c7d6fdd4306beda1d921d2983d572186e7a623e14b1afea152b45a1e1798d52594ea6e33d5ca44aad3 SHA512 3dedd1d47cb33736d396d3e42c777c3430e4ca3bfdea0dee5e7f1ffbae904c1f2a31d6571b114b38b33d7f34885945e930e4efeeb26d3e6a260e813e5f18c80f
|
||||
MISC metadata.xml 354 BLAKE2B 752c8fbf18967fb380f0f5d460396222f5fea3f0c7b9ed960ff0dbe62a9a505a2d07c45750aaa55285d11169e01f5e83b82eb278b12fbc5e9c43353c0a5fc9ed SHA512 d8e5866d89b7f05a5a8cd8cc464083d3d096b4c03f8a83e9314dcf45e57c25369bf8a3bc725aed3b8db9f3f86e76bad358bfa58f1eca70f7ec0bf3d31286c2c3
|
||||
|
@ -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,4 +1,3 @@
|
||||
AUX langkit-22.0.0-gnarl.patch 349 BLAKE2B f26ff18ef2176a9e5f277e510202c3d87f2e40d29054d78b0d531d22c769ed2c18319dc0198a3f79a048a9f26027710334d80957f635ed05427581245b4d4525 SHA512 9f979f63839fb56a0536bf045b859fadb917177e587debe23c2e142fc05d78b06114e6c93125633aa244ac8e4e8965ce66336eb71099890d063353954c2120d9
|
||||
DIST langkit-22.0.0.tar.gz 1008946 BLAKE2B 2b4ee37c9af1c95f9a6e9ad81f37b6bb112d5bd70f36b78e95d969580eacc1101b824ea24de39d04ccf8bc9f9850906fa1c660a29de05e90d12106b10792c37d SHA512 4c6207b650ae8352c65f3edda3192fc66c9b5d2c351665d78ca83b549960a0a41e7828e8974cb8daa3c415281b50253aa15a247407bcedc2c13e573aaa804909
|
||||
EBUILD langkit-22.0.0-r2.ebuild 2272 BLAKE2B caea170c1de4c3000e3fc1a5dae6303a11f61b44bc9ab86c58ba5d006381f58db56accb8df32df07501e1bd629020c93b18911fdbd6d0a629beb9c8d5f43483b SHA512 7a7fc6a299f41c0479d6b151465a7ebb50be1d734a01511b1c311ae20c8f82fffd867a6e5636df89946a1b9b285bbbb275a657035b3272fd1ddb5d0b89b82a4a
|
||||
MISC metadata.xml 849 BLAKE2B 3d15fb84d68db223622feaffb842e571591ec11e1ac4931d0baecc10b8c58e065283e56bac2be2297c5cd79fb04560ddfafb43fda6bb07b8b738d3c32786e4f5 SHA512 956aaa0b8446a30d6808a066716cf9572d44da813530eb3e5fe28b181b3579b3056b3429856146dae0ca8fb8e4787ee2b83d2d4ce2df9a06d3e835620289bb76
|
||||
|
@ -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.
@ -1,4 +1,4 @@
|
||||
DIST aixlog-1.5.0.tar.gz 14080 BLAKE2B 20042e44853da950cae80787e8b9692635f0935ff0b559054faaf6ac41db4de7ddef1ab071b4244f1338b81fa559ee9445aa643050f9e250587cbbc0aae5db3e SHA512 28556feac1fa804b8a4dc047471e0a6d4c4fb7d81487810d55b09dd1be878246b8bf9f2097b76a980284318823c287bd0a93dd7a3124425a1ea9aced757152b6
|
||||
EBUILD aixlog-1.5.0.ebuild 567 BLAKE2B 4f562bd9ab1992e5de2eb7dfcd8644d7f5f21e54ac30ea8b13f37171a5e9a7d04a24cc4a305fefe1ce92e6ea367e40950e355744304f66dce0c691c7f3e989b7 SHA512 e4a6b263dbe935411180369c5edb86e6f20ed86666a7906a9596798279dacdeb8fc41be1a7783b3315a4e3f01f4bc784076555e678f025ca05c104cdb281a81a
|
||||
EBUILD aixlog-1.5.0.ebuild 574 BLAKE2B 84c69f956f3641a298933f4fe475afc9a32a830695fa6b6617844b141f89421cda8f2cc454efe826ae9877aa3f49d5c221f4958770ebb569756a9721138a8ac0 SHA512 0233c8275d2aa02515fb8d3c67b2ff459c38fbbcaf59ae9855229fad52514e0fd0f37110592a20ead254608b0fc1cdd63915c9a1c101e38cf61f38745f63f9b0
|
||||
EBUILD aixlog-9999.ebuild 567 BLAKE2B a0d0e1552b3b35d1eaa8193df63a259a512871631a5e7c6968f73099684acf87aac57d09302af6ad33ebe833998633c4ed2bcd9dfb1317c5b8fa6e4f3f53a58f SHA512 a4eef4b0a89f2bfb97ba52585e6f6e262560466a49a872c86e6968f9920c4a3861c89aba7d1a706059ceb506f3bb6ae38aac9d1eca96c988b39083ddaada19d3
|
||||
MISC metadata.xml 499 BLAKE2B 7dea962d454843ca3cde921a8dd30fadcb75f163f8ccf16a51b0d3de5176e8f6cae4788271f9924d5edd79e3e7b4ebe118e55f7397b8b5a8a8d1ec03d2a44241 SHA512 20dbf828621fdc1a4379192ed16d3f1e37bb8c5fe9974638f0b8e7c330d007133a589f5e8d23560d19de3c7c5eaa52c2d1e98d61be9326a998376a45c8f866b2
|
||||
|
@ -1,4 +1,4 @@
|
||||
DIST popl-1.2.0.tar.gz 12302 BLAKE2B cfe775ef5cd823ce7b6cb651f7f8de6c67d24e5e3b657d13e7b2087f3b9673c11a870adbe2195665f4e2c3c7799c2427020d4e86126090ef845aa6a906c7a825 SHA512 a5d372346dd282f634b1ca92f468588f7069b34a5911a6ea46e5ef33e8e6c360ca13f67bf221555d76c7620c4222694077a74589a1c32bdbc094e64366299609
|
||||
EBUILD popl-1.2.0.ebuild 576 BLAKE2B 7da06c88f777fa7a8fc843b7214f2f5f21c3acfe3dc7a5aaf3074ecde1c18f04607cb4e4fc8c3f88f962ae94a847ba6660453f8e4306e26324c09863218e84e3 SHA512 7e3ebb93c803fe716b7e536df014dff0349dcc32ed7067da70d445ec43fe75d178870486fcc32594acdbc7071799a4ace73009ca4c1c7edda65d555adc16ca18
|
||||
EBUILD popl-1.2.0.ebuild 583 BLAKE2B b3714be199a9fc0eb40faa75c59202db6fe6c76688547a109e3c82ed84c6a09f32e2022a2a2731c1bfa5974de40844d7e090f0ea1e5df779954c6d3a541e71e3 SHA512 85f2f89cb3ad048ea93840b072c499bb0327d9fb05e0215534d2155c4100b989261f4e963f9c0babcb3807a3175adb99f782b8290a342a9e5227b60f03df7f9e
|
||||
EBUILD popl-9999.ebuild 578 BLAKE2B 96cc325d37debbda1f48bf2437457aa2fb1d799b06bf2b2be989fdd695e530f3180de746f9838539d30a3500b650129d1e916990f15c9dde6234ec7657bea7e5 SHA512 4328adba89286af181433e60cf1fea305174e180d34b247e3ba99ea540f6901e190befca09fa271bcf4a06776447f60778bd563fcaed77a85bd062ed1b1a745c
|
||||
MISC metadata.xml 495 BLAKE2B eed70a06f91e5f2f284f708828dc7bf9313c37916a7fd45c86365a5d0ab5d86f45ccd2ffed49a546564cc0611affe73418387fe35ec62d8c2a8cfdd02b1bd6c8 SHA512 dad065db7693040ff15613a3b33978ba8ce3fc5119e1bc0e7f9bde36a263bbbd6302af634a47c358331811a9d318aef119901825195ffcbc86d9b7d5293e7252
|
||||
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST unixODBC-2.3.9.tar.gz 1676145 BLAKE2B f4078f9266cea753b6f78d234290efe95a6fa9551088a6ce352b0b6ac5391bf2724f872dcc2df0368e98befd24f995ab4eb6958a34bb080b0f6d08993991a0b7 SHA512 6637eab751401522e0af775cb104cd07693b82927453a98e5af28e079f4b9f40e1cfab8cb36f509c46dced89b45244bc5ed1a3dda17ba5a52a844e8e82f187bb
|
||||
EBUILD unixODBC-2.3.9.ebuild 1761 BLAKE2B 8b35e381a6a8ec9a45bcf08547891aab6798f679d6b0075ed74831b1bb6acdc78fbf9d82e6943a880a4fa5b1326e8d77f8467382bea9a700baec233920ab0c5a SHA512 aed67a43ce285aede1962ac44a93c7d6f22ba6e1d9473b55b6dc56a5935f0495eac014042cfe4af77657224bc497d51cffed5cb4b0c63c4ad6aacc33427f6c2e
|
||||
EBUILD unixODBC-2.3.9.ebuild 1767 BLAKE2B 68342dfd56548178109cc5b36bc8ee78ec9bd0d1c8116e694cfc4da75e836287eec551cf69c763d57f66214518dccc1dabc736a29fb75424cbdaf2f2e32730fb SHA512 28f80863f39eceba2b7a5263b3de55a4862803bd1d66e152a0228c5331957ca3a40a06ea923669234afd7012e45eedbfa83c282b3ce475ce5a9d4d5c5435346f
|
||||
MISC metadata.xml 394 BLAKE2B 3757c7cab01702b3ae8504d808ae045c9db61d6e2b395cfc5818db0cde33384bb7935d56155191751eba837b034aad71462d146fd0b914e3c5c1d4558770cfca SHA512 0814f6cec2a7a42c28a2b9c0bc74adf57861885ce1645437d217f777d1f2c6f507df2c28dc15d153a07a6a1e1e3d98589497c192ccf33684cf190b9d62b5ee8e
|
||||
|
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST glassfish-xmlrpc-api-1.1.1.tar.xz 35180 BLAKE2B 6121f16400b0aab16c7926636ebcefbd9e363bc5c1d76fde575da468179e32a54722d9ac6d14582a8947c3f990dda50f209c8e09223ea684e0477984fbdcf597 SHA512 7de8d5959c0f9f09cca6a169d4e4293fca378aa497389e9a9a0af953b698322b9bbae6288b8cba2cd34abf58a0d0f4272294dcdf201a84ba5cc14d426843daa8
|
||||
EBUILD glassfish-xmlrpc-api-1.1.1-r1.ebuild 835 BLAKE2B f9c321b935777dc351966bb596c330f6d12cfbfc0360050ef85f7f7a505fe1b67f4523fdbaefb279f115373e6925c856cffd8fc1a0ce8e15bafa6fc0e2dfcc03 SHA512 89c7b38bccf58fc1525397c355fea0e1787e9d3c09c53fae0f8b571f247d9d88865543eb2a511884fc5d9105274d41c609d0431b08a946251bb392e497260a3a
|
||||
EBUILD glassfish-xmlrpc-api-1.1.1.ebuild 802 BLAKE2B 4ffe7e89ee09908477759d19e0b9510f378c9d901f502d17d286ae2d27ba28d77416a5e28cb0944dedf86e91f5b791a36dfea04789c4ff734c1a9614dc11ec9b SHA512 f60e1c459c13a4f9e5978d9915d0b966fb0b614ae65005fdc6b099604c87f8792010f6850440b3a2e483ed5c551cf052eab6addbd915a3f2e96b0e478dc42f4f
|
||||
MISC metadata.xml 233 BLAKE2B 2b385ca77219f08b2874b3a4a91a0c836d3cb45ec44b05babb33d590c56ceb5337ecb93a8450a37f8e6bbf4cfc1455892e8142d22e0a1d527d40361e2dce350b SHA512 1acc975a7dc3344bc63282d652ca00d8245970b58353b4fd00f09a4859db3eaba2dcd85e1537d424b7174e4f9c01c2ffb10ec6d107b5c895c9ca20730666de7f
|
||||
|
@ -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
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST jmh-core-1.21.tar.gz 615305 BLAKE2B 1a5cfe9784efe0cd7706382eaa89c8bcce0efcce3c2b802ce0772992dd16f0c6900a47d70b72d1c556584adb8afda442f49267ad4e0b53d04c20026979787210 SHA512 ac51d58d9b746157842a3bc9c4828bbff52c5882582e123e04b5ab6c4bfc1ff3cad1f6023ab1fe1eccfa68c73ffbd21b34388547bba544626af87092852ec166
|
||||
EBUILD jmh-core-1.21.ebuild 904 BLAKE2B b50dd15dd41fadbfe22f81e13ec38b14c5c24b8eb2170b83a9c80302f1fbfe274ec31e6eeb8577053dd252aea851cb707e0994b8099bd8c1af97d654237099b5 SHA512 6b4fdfda4e52cdbb1cb0428b17ead6b249c03ec69c741d177a17292c487f5d4cb3a8c50ae31a90d345f54775d5431815e92ad80f4fbb27e097c1b8b49d7bd329
|
||||
EBUILD jmh-core-1.21.ebuild 901 BLAKE2B 87faf46eaa4ee8cd99415ace5b8b2e84a00f3bfa4a9f3b1440dce7a834c3dc29ea3100c7753a3ba25677b810999bf22de5397038ff1fbb4d90b7756a2775400d SHA512 2dc71198973556b3c7bbd1dfa6aa45b7b52d38a5a87449b7368c8d3ddbbd6af82939e976158c287758c87bcc335abd49d836e3e14181b9e28219b0929424d58f
|
||||
MISC metadata.xml 237 BLAKE2B 7c3263833976c18611a5cba44845af4d80f2f86c48cf587a657292ed0074022088cef88756e3209b292252dce5c0eea307c4f2f45f28b8517609124708f7d09a SHA512 e8227b536eb45569cbf744907106e101d1aa6bf9ba8337783786d719ab107d8bda0fde5dd7067d168181d694b4161b12d1ef3cb5a83b14971b21aa4479670559
|
||||
|
@ -0,0 +1,6 @@
|
||||
AUX mvel-2.3.2-ignore-failing-tests.patch 1722 BLAKE2B 030a8ac91262dda0af70dd73b0a08e61ac050e1667805a2173a0408ab03d8e8fc0b423f10eaeb6feeabc8fb19ed9e35a596120d30f76b73e54c1bcb270b31516 SHA512 6957dde066890fb44d664ffc95029871336a25a4fc92a05f6f2809d35574c06af75909ca2d4abcff7a3f614ebeeadedad3e4da5d3b723b9afd4a23f7f99cc55a
|
||||
AUX mvel-2.3.2-update-supported-java-versions.patch 1982 BLAKE2B b32623d0b8bbedf339b34fa7d07b15f3089ea2c1fe52e78852fdf4c82f42eaabae1e29c9d0bf781e28700300a26905379a39767795eecb8bd43a31d8e82c3d0e SHA512 b4441c6dbe721e54e34658d4a04090898ec1a9dcd38638f0fffbfc344889820b3f8138328c05777c5e9b51b4e05e178e9da35a6404fb183b307b9b2742f2ce4b
|
||||
AUX mvel-2.3.2-update-version-in-output.patch 1150 BLAKE2B bd69e3a534d62ce7fb822dfd3952490b13986526b2dfc745a1c8d286348dbd4b6554b83b9675de6f497a07ee17f129f98519b41258170df69aa81e2326fc85fe SHA512 762703a7886748a48c10ddc81f25ae545c486a5a00413b1d89e787ce9adebeefa26d9dcc4731c1c8a17957330570a6e6f73e0a1befd6b14db6c97ba150527e5f
|
||||
DIST mvel2-2.3.2.Final.tar.gz 2405839 BLAKE2B 5f12652a0f4375f6e24f18313d99a02bb86463cc1acc2f8845b815c9c7afcda410d67c9f1c30544f9ab1cd50a48ce0ab72e9cca94faafab776f3704b1d5fa087 SHA512 9d1c92bfe90aa4cfe5f4bbdd7eef2060bfaec3979c5c07a5baf3ddb4d84a00632dcaec266bab675b31d5b745bfa36a89dd5969ababeb64332069939a4df23dbc
|
||||
EBUILD mvel-2.3.2-r1.ebuild 2554 BLAKE2B 4bea05dc8c5319def73c2bda474246d3d013982c8cfd482e96c060bbd8d97e70890d069bc02616e3bffe50e13f4303f7a03788001c95082da21a1697d96d343e SHA512 aa73c6edc34584f271c7ca3c21e575710621688162ed6ae0fe508b0bc1bacc8fbac76c2ec109c64e6caf1d01ef076665a876d8105c5a2598dbe889bd9088a865
|
||||
MISC metadata.xml 310 BLAKE2B 702ed46e753c677152c095192d1673fc968aa219aeea8c4c4c3310da046c8e255935d6b48380e7c6a2174b03851ff0c7e2a40730d331f2c32b165dc23f0cb995 SHA512 6a0d931ae52f69c5709f0b40dbe1a9db6b19dbc3df1b0f7a1abdb07121dac37889da40fdaebf3256247001ce60425cadfc00ce10608b02f0175a2225e208bf6f
|
@ -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
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST sax-2.2.1.zip 372488 BLAKE2B 27813712e81c8a42f746ac5d84f381f7d5d30b6e11988624a01616632b742ac90f834574c7c1288385b3d6720cd2f3ee0eb9df1644e7cca5eae813ef8a2f9f45 SHA512 af05c14994894f0b6cd860c1d632a1148f43cef824081357c9e4b256e66e0f36ac3cba1838f03322182339f2642b4bf68f707407fba8ee6c2f95d5b8d1267648
|
||||
EBUILD sax-2.2.1-r3.ebuild 630 BLAKE2B f194d0451fc5ea9c3357ac464ae1f05657f6838b8024a46ef747ff815a01cb60ad236ffc54af9644647783be49ca01c3c4b215b2fd750fb412af4f3e9dbe5501 SHA512 df55f243bb083c62d112e135d976820ad1558c633df24d4aba3faf4fc2650289285a90da3bd7e4ef157d6a909499d3d05ec81b62789576fb0ec948f00101f751
|
||||
EBUILD sax-2.2.1-r4.ebuild 673 BLAKE2B b98cb59dd48e2b701df68e16c576e24979ee788a3371716de72808b9547996d26be33eb499c815f1483af6cefadb0e00a037b01eac90087c9bf0a2d7770aee60 SHA512 3b0d46df350295d584f6cff679afcd3ba50c1b9ebf5233d140ca1ebb3a427a5dc69aa10492e6b9bc9f747bb76939fa470c7b224586930d8b4e659a77ec24364d
|
||||
EBUILD sax-2.2.1-r5.ebuild 731 BLAKE2B f9f7ee29aaab765532e1540e576f4b14c801adf65cd9e7f0a1bc0d914aa22e57686a4481db119af3317d069b91c252babe58e9f8edf4be91792f9ab84189ebc4 SHA512 236141029e371486baf1c7c78e3b0ba9514d0214c9da233ef6a388a9112ebec71edc0523e15bb900e4cc70c8be061d6335be7f4f799acb5488647c38b9e22bc3
|
||||
MISC metadata.xml 310 BLAKE2B 6f27bc088c8ab7cf0461ae4f097031fdc391476fd08dcb33e1780cde6a384e41351b3829558c291ca468a9875f7de9e0aeca96aa645a4316f1c62b6471b310b7 SHA512 bcd71a2b8844f9b91f3f0c93a2da9dd499a93e46a629801c54fe727ee83856716da0c860936aedc4c08bbadd20417fc3b01a02dcbc0c247ff05f60fb4479440b
|
||||
|
@ -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
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST xml-commons-external-1.3.04.tar.bz2 659665 BLAKE2B b7f51fab7162b905142c5256f1d03d519b4ab387edf8b4c3d738ac138cf6ad71f29fd568c99423f840be6eb02bb50e89cfab3c729d2d5071d8a66e30836d8f5e SHA512 8bc71a0850e751ae4a5057833d57b2235734facbae43c733b0a9d86e5be99af016b737f12f5566c736f71374a709dee9954089db8fbeff4fb4cbb236a9fd6abb
|
||||
DIST xml-commons-external-1.4.01.jar 656529 BLAKE2B c51ca760c23759d4f4ad11fcb44caa1cb0bcb2785d9095ed56dba9b0d5fe57370a9d9aaeed5a8e0c1fa67918237ce693590bac791200add2e85155ab87ffe40b SHA512 f00773eec613453d0e1b7b0857b01c51d1926079f38e172953c4ef0350f063439acc8b5967f947c8d15a73e5d53e8887c3bf30122d5f7c553bcef349e5a8cb9a
|
||||
EBUILD xml-commons-external-1.3.04-r1.ebuild 1176 BLAKE2B 9ecd949cbe8aa224da80696219c7d43896ea673fc18f33653b138cdf60475b1a6b05186134b8ece5877db98b6788c132f7e7757d587a4f87e4cc1dbb9e604871 SHA512 3bcb0344160d994a5233703239cc667999ef4f12fcbd9bd2e03fc7a4986adca1a9c0815968645664ac25e0d04357381537f0f21f91b1a6349a72ab7070927731
|
||||
EBUILD xml-commons-external-1.4.01-r2.ebuild 777 BLAKE2B 128d9741d7d328eef9495af7d34fd160dcb6e32e369a7dfd660f52bc72df62fe48a8b53e47441f8ff8733043bebfa7aff91f5e93af423816339214032e97a726 SHA512 60da15652a5aed745ee0f13aca803048cf803f3c307842acb9778746b4a728b7d78f109baa997b03935e4d4aee1aceddd454eead4b2670846bf6badf51ba08e2
|
||||
EBUILD xml-commons-external-1.4.01-r2.ebuild 803 BLAKE2B 35740156a5cc1b08281c2f8f21addaf2cf60f1535818f7a711c8167da736d3fc492a2875048058a7dd19d0e62d0f9c67e61b4fa34095ee70b5da941c88604db0 SHA512 598b497716bf1be8de87dc702d867012137ad376427d9561c67b0ebeca3ed85feb966c4cfb54f783f5f04e14ad5bdfcef4e7518612f1f338a779e92262564559
|
||||
MISC metadata.xml 233 BLAKE2B 2b385ca77219f08b2874b3a4a91a0c836d3cb45ec44b05babb33d590c56ceb5337ecb93a8450a37f8e6bbf4cfc1455892e8142d22e0a1d527d40361e2dce350b SHA512 1acc975a7dc3344bc63282d652ca00d8245970b58353b4fd00f09a4859db3eaba2dcd85e1537d424b7174e4f9c01c2ffb10ec6d107b5c895c9ca20730666de7f
|
||||
|
Binary file not shown.
@ -1,7 +1,9 @@
|
||||
AUX ispc-9999-llvm.patch 1410 BLAKE2B 77027da9032fa230c72d8608c2a6cd63c33601e17acab0260101c64dbb50a0aa3cc30702c4480ae5d63e95ec3e962e28bdbbd90cd72f4e91d30dc364b82367b6 SHA512 116078d5ab99c849584cc4ece8dc3ebc817221a2377e26083071e206b5e83c4f3ed594f84b86c9659ef86a497bd3cd058ee32138238e12e6aa9dac0f11cf1440
|
||||
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.17.0.tar.gz 19436681 BLAKE2B 11af6e22c4c297a2fbd0ae1bfe2a37ce2f836607b2caf42634cff0b0fe1116542e71f056de12e3472724db04f1c5174c0deb47c2bd64fb756b4bdaef48935707 SHA512 b1c67381bb8b71d268c6e68c95cc5e2d64411ce351506de96d31850b879f7777fbc1cb33f3761437f84e52ae726fabbb794ebba9cf05d5200acaca07a2ebf0ac
|
||||
EBUILD ispc-1.16.0.ebuild 1640 BLAKE2B 9ce0305eed03e7746df300fccfa0b34b64dbc332c6994ec001d0e37d8cf62440762b5063e5191f119d5f431b6012770c3bd646c7cb29f20be33b4bb2209d8bda SHA512 c493d3bd8577b7cd880b56e291c03252a7a2d0fffff7dec604b902d4ffbd71a515e35117247d71d5e789c1a5134d6e877bd85b5f923d2b99e0f3027301a5b721
|
||||
EBUILD ispc-1.16.1.ebuild 1647 BLAKE2B 221b35d7480c8ffe6b378e447487561f63ca1a4aa63b9645d59a074ad5115c0087bc21acbe95c2515e1ca507489e0dd2bc4f2506b1f8a706eeb4f5abe0299fe1 SHA512 19c017654763ca9e83cd1e682ddc3da760b125e54dbdc1f1982c94b1b404bfc252544d05780f8cc3b464c17aee975df18732184e03d2c0dd5eb8cde17978c3d6
|
||||
EBUILD ispc-1.17.0-r1.ebuild 1648 BLAKE2B b9fc3ffb90c50e256cff68337f10f418576f8f7a8bd36fbaec9df851ed3d75fbfbe056123e12731b4243b7192829b48bd652d204b9b89c7b36f3653e5bb9b20e SHA512 8c540d81199ba049ce63d95d1e4d426d3841f5e96c8d75e004053f92c1b13810b037545969d0118e113972ae34de160515e2f43143d2f8f3261c62b8fe7239b3
|
||||
EBUILD ispc-9999.ebuild 1648 BLAKE2B fe5e36cf7555a0dfcaccc9a64434cf8691bbdd5bfdd0db25bc9ae954ac78ccdf292e233a150bbe91febeed6f7dc9efb5546b67d544742adf3b64487c6872cc51 SHA512 c5dd01950694517b53b392da60492ec82e762c6f3e6abe1e3844bf3d8b97064759fb56095299a99ec12b0b6e4a080a34ab0dffe2b21ad909906da2e83363fd1f
|
||||
MISC metadata.xml 242 BLAKE2B ec655bbb26e5d545a7b25a9906e315b54a18cca56613207ce76c9e002fb8968e269627e75639053d7da3c46d8ba34296129458adcad9a561414628e8957d2d9e SHA512 7702a5b2bfe0d81904e069fa097af3c739a21ffad9b03cf9931e398dc904d10501854cc2605fb34415f3f13e58a990b7ff8c3aa803f981889c53b25cc23c6115
|
||||
|
@ -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,4 @@
|
||||
AUX bitshuffle-0.3.5-Makefile 1770 BLAKE2B 38debe6516431e20f133b95873ce94f5df9dfe9424fa501d8bf9e20c864957e8c1c3b69bfffe1587c9ec1a58beb4408bfe568e3b055ece87954084cdde753a73 SHA512 1eba096b1cffe0fee28236df877636421066e00d44b021e1f9d42e8a1012f314f2fd4dbcc4e4339bc669242e8c5ed661d36619c1cc2bbd6344d60abd98cbe693
|
||||
DIST bitshuffle-0.3.5.tar.gz 112312 BLAKE2B e9e70608217743a93d2bf5319af0f48feff391bb2893b161a1a4c391ab630c90fc59483041d7594eb8366a9469feb309f3b8054c8ecc630d070a9170735f61f5 SHA512 4ae371ab2e1adedb5c3a2c047e0583d320c87f0687d9dc1c921ed9e38d8b90a447fb305f399cd591adf48a473471fd5827f4da2777dd7f0fb6d5fd145fdeb36f
|
||||
EBUILD bitshuffle-0.3.5.ebuild 733 BLAKE2B bb241995cfbbe34a2e4ea9369816a114c88a7b1309bb42801591881adf6cb5b45b94bd78039ed25743cfbf84fa97a4c6b27b52ec83b00e654071170d6308e0ee SHA512 1407482cd625127a8cde3621e199559e3810bc395d7c3560a95f3d589b61a3a9c154f80412c0dcae0cc73bd327446b4d0fb7390914d343042634a7e91370a5a5
|
||||
MISC metadata.xml 322 BLAKE2B d62f74964d50780fc8f7b2d2467030d6255b55b96771199e8c7bc328ca274234496699c0558ebcd4070d8e79de61ddb2554a6bfc991155d0ae0edc5a9c31f99e SHA512 b3d4aa4ea1eca8c8497434fec708709e319b9619752fca30a73cd5fa8f113e29e7b6bf9de6f2f9ba163e05635b3037868a576b5b4291568b70d1485beed0f846
|
@ -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,5 +1,7 @@
|
||||
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.9.1.tar.gz 2238849 BLAKE2B f8de56c7f79b0ddad35f3e8fec7740510ca2328e4ddc633a71420901d3fc44df44d807c3965213dfc2535bbe03832c5164242d33cd0bff901d6f288fb62bab21 SHA512 bdc5960f26214139744d768ca4558b085e2d359c375a8849ca532a4c458a2daf0ee1a1f4d00745de5abf353aa1e4084a2d85e5523006f23f591f21fac2d847fd
|
||||
EBUILD capnproto-0.7.0.ebuild 893 BLAKE2B a4abba275bb800fe7ac662d9a815522f166e304c55eb2f5c55e49931820238330da71f2c7ec4f7f6b9819d4f71612888db8bb1f97de67672ce704d87ec42868e SHA512 62be82cde8adcfb628f2269419c3ee1a35756bc99d4539db198a61211b6cd521b7669b450afa2e771fc9db913c7155360181636d1441353483dd20a428bc79c2
|
||||
EBUILD capnproto-0.8.0.ebuild 968 BLAKE2B 46e5939815b8fcfc67e5774fde831a520a5220226fea6a48766610e1d2ed90beb3ee7ff4a908b700442e3537e1cb43cca29d307ee3b0bbcb649bc80cb8e6aab4 SHA512 9a8b4d3b06ecec8e804ef753a1d498d95d1e8133420972adc4aefd3d89e22cb301c91399ae0b9830ba8b65b89840a19e823730aa80184edd20d021938abb8b64
|
||||
EBUILD capnproto-0.9.1.ebuild 780 BLAKE2B 2c91281a51f4ca12f9e8bc81c7225ee76c94fb39cda120e8308c7c276f1d331d893cb2a0b13b33b83876b848440ef78ef7efc1d9b832696f2cbd6ff2a828d392 SHA512 09f9ed00bdd9fc2c723c79491c6b570013778054b93de7ffb7e198b38afd697fba0014583ce6e9638ce8f579efdfc03faa057609ef1300001fa59342766db123
|
||||
MISC metadata.xml 347 BLAKE2B 36c92aa137b803a5b0804f7684ecd55e13733f506000bed2fa306267b87922255486124dffe336822554c8644e2b2b34cfa13a5456a0f69f0e5b0e4136a1ce95 SHA512 af4c39c709263a8d5a3849a057475cebd9c7bac0228d599c28d0d9298c1c0d06a744f5999198217ee9248ed0318f95d376fb1802afe766082d18606f4776be57
|
||||
|
@ -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
|
||||
}
|
@ -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
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST libzip-1.8.0.tar.xz 760604 BLAKE2B 7aadbd4df909806ff728f9315f91c2f4b4e884464ef36acd668b23739fa57e4f65987b368cae0d728dd6cc1468718e40086cf0dc21f437a5c2cad91b455c0bb1 SHA512 fe94a26a2797dff7c9b27334f29982f8e523dd5095bf32ebcadc6443726864f0ff7b2e8bf243e52cad8f79297bc7a87d73fdbc35edae4ffc8ab6aa0bcc93b03e
|
||||
EBUILD libzip-1.8.0.ebuild 2366 BLAKE2B 8715d7bf701f343266aeb8c0f1cd02aa1523dab2aa586f0351e76b4b2f37b0773f19a6d4b1e7c06369974e859bb1e451051684ec4206c0730c0b19ab86c89cc5 SHA512 a7abdcf40eae0e05e161735a05c7d52f607e7ea828366f872fa5601bff2eb23bfab2d298632d1a8b5aded0983c00dbd53622b63cd56c70b52380eee026988747
|
||||
EBUILD libzip-1.8.0.ebuild 2377 BLAKE2B dfcff8979333cb16b1ab1af1e9a9589177f2d29348ebeea02e84becc73dd3d3748c9e4e4b6d51f657f12b2ccb6665fca491b11613643633fcba425f915d5c330 SHA512 3d596a6173000f4cb441f1e334646521f812bf13c431d880b2e88a5a0457bc91c9ef4da6dfe8088ccde5f629728602b5250b3a2c1e3d781582081866b43a38df
|
||||
MISC metadata.xml 510 BLAKE2B cd0e88d175985805badcbe4b6aa771fd65ab9e8e86a3d37e18531e61ef9fac92ba191ba4a3806c37743a51541b1f353f5bf58b7195898de74eb2c389623a6994 SHA512 e073a6f074e9d5dc8abffada8338c608915527ab3c76f693cd261c6a99aef73e18c0e0088d508d62032619f779f1c6d9445cdd0273aeb61e41b9e3b449762337
|
||||
|
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
AUX ppx_expect-0.14.0-ppxlib-0.18.0.patch 1641 BLAKE2B ea0857a3681c6bce3a39191904a2223d899e9cfb362c9961e897c613dfa8f5879837cc80120653db88bd509c16b474079cf9c8ddfce3e6b79b12ddb284dab1e6 SHA512 11ab0e5d9a97d1a5749ba728c197c4a56905b21b7628d6a2c3594e46960b07bf6d9eb50d25ffc7bec77ea1e966d5016d8a20c5608f09817c73e06021c11ae372
|
||||
DIST ppx_expect-0.14.0.tar.gz 45661 BLAKE2B 0cba3840743d45f0f11936f090319aab3237c7a14389eb6d035a3b7cdac91e0b169c3ed84407e1bb01a00738bf97b62dba313965e93a2177388666764fe5854b SHA512 7de5d84640d16101d38140b5f621301c9935e3161a7c7d978373940be92fa7f14cad429e79eec294a20d1f379e969cf3c25d15810f1a4d3ad1bb8ba0eb7d7109
|
||||
DIST ppx_expect-0.14.1.tar.gz 45699 BLAKE2B b52d579d92156344ff44d30c88603840eb7d6a0d346de49fcbc01ef16fe3c33e664486de4cb2d09f74e853e39b9a01778e7e0f489497fdd34fc9582d895a0d3b SHA512 fd98e79d5b3bb935b2a4077a07894c159b48e142268c2e30ebff2cbfecc92266b454be69f5080b315eefa9184372e5e5248bd8a3b2b9d6cad59e2d517c94bd02
|
||||
EBUILD ppx_expect-0.14.0.ebuild 850 BLAKE2B 68be94026fc1f5e952b5cfcdd582374e241ccb76861bba8731b61135ee5972341bf9316de21bdd1b380484d570c28f72c2a46a5f7b650daa6f8d913438679283 SHA512 76dd1e4257e202793757177553c6d0cd6dd292f9c7f909d7a29480b6a480df4310f4005060402287526377cb095cf8b2867c4ad8ddeb1a979b92afde67e2847a
|
||||
EBUILD ppx_expect-0.14.1.ebuild 798 BLAKE2B 1760833220b258af77f5aa4a544770b7536c49e15815a232d566c070dbd4124d947917a015894e116b42f536a6894bd747421770e1a6c282e3e895491cd18d30 SHA512 1baca937165a63a1a1dff1b0b1085d010c292d4c07301cfa64ca46cf636edf2b8432bb269c77e2d092c3f0d29add31498a019f11b7dbf32346caea469fbb84ce
|
||||
EBUILD ppx_expect-0.14.0.ebuild 787 BLAKE2B 2fa6ae06651f35c284b6d39fe3a1658912a11ea953d3dc0c5b02f79d560e271b2c3cf051b0d85cde005158b33f519d79ac80d5c9a9827073083a04621e6c9d99 SHA512 440ec5a8edf5c904e35a68dbff0757cef26837058b7e68c7b8fc0718b2893ac0d05c3a7fed139c6d969fc898729081835a6b6e20115592f2d39c4d196e5f1f37
|
||||
EBUILD ppx_expect-0.14.1.ebuild 735 BLAKE2B 67767effc2fc9632124ef1fb4e63095276402468539f627458310e8d67485a368e6c0fe9b31d5b0574a997b58d5c8622f6ab69f7cccaae4f71e8803375dbf3f9 SHA512 5879effdf0ab4a2be7dee2fdbe170ca37cb23055c587c6cef806771e03b678910e3175aa4ca57b5d13b94f8fe13592b2bbc771fda0525561dbf13b155e13e7b4
|
||||
MISC metadata.xml 424 BLAKE2B aa0469c6e2e68d01d80a467c0904f683f71612dfaa586430fc21a7dbe4284951b12f12e518491a9c14886b5d8b915573875a733f946a44b8713b82bbc05bd08b SHA512 de95b09128ed6c02327103f1ba2cf58b079e7e5be40ceaed1e199fff54a6e78a8a1c96b2cc6a4c99638f226ef942f5633c47885e005d878e0f9060e091d62109
|
||||
|
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,5 +1,7 @@
|
||||
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.57.0.tar.gz 8579636 BLAKE2B 5e9cadcbd695b1047c4cf51132fcdf5a254a89fcd89a86e3c5d86096e8cd376f7f02422757f7daaf98490ff82df88933a976faba1ea6504a463ed7c485c83631 SHA512 11ec66bc5a98c928e059778462766100fb47f4b45a4cc7023d3d2b70ae664a1b199ec4df0d95cb9ada5a09a1f7a609fcec7d76339b3d9d6430bbe85462e1c020
|
||||
EBUILD cfn-lint-0.56.3.ebuild 1702 BLAKE2B 8a8ef3027750e526b208d261e6dd31638e5922fb3502955c78d5d8b507bd257b75efeda5fc6f2a024bc3b07efe5e962b995f409bb9331ce959b99df61ebd01c4 SHA512 d907a4ecd603c0d2b0b75b7a702b7c7173894154ec2bdab364107a7b998d0a5bab210cb8f9161e0a167d5e24e95b673792efcaab6b7f794b9b5757afb740888f
|
||||
EBUILD cfn-lint-0.56.4.ebuild 1704 BLAKE2B 42928e071ccafc4418380bb7e4b419d86924d2462913c14473f4e795bf573f50e4a44305db121a7bf96de87b16b80ef038b79551debb13f1c052509942060ded SHA512 0662be6689df0fcfd7fce92053cf8f2199a8b07f27b3969612ce1af9a23ce8d993baff5e2ace11a2cea2686bddaca587cabeb79ab07450db8c89881df0a75fb3
|
||||
EBUILD cfn-lint-0.57.0.ebuild 1643 BLAKE2B 854646c121c5434cc9680a22dc8aac67138959b19a17e39835dd3f2a7f4f6cebdfa6e458a8bd8ce5b3624445942057b1953cd274492ae662d86d6389d1c93ddf SHA512 ccc7b21619239916758117f54d0e56e91bbd8eef723463f3e3b6f17e9b2ff5ab90cf2a8ac66d745a73d65d66bd837b6c1957d509fd021aa5da4ec0c60390a28e
|
||||
MISC metadata.xml 583 BLAKE2B 9f73e2b92e5cfa2ad59f5c8e5d91bdd3aa9eba3fa722b93b388cffea42020db7e7441bab5749432812934a4514d3e9104e6d897e1d115afa5ed237757bd48c03 SHA512 1866a349855ae4e248498b7aabd6ce4c4e10ea58731df4bfa13500f61dc041da6dbd7420e7d6a78fad46d5cf00bd7ef2d0c4c7d6819a21b3a5031b0d49588a19
|
||||
|
@ -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,3 +1,5 @@
|
||||
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
|
||||
EBUILD cons-0.4.4.ebuild 603 BLAKE2B 82ca3ba36d4a5458151ae9208c19031315b9cb792b313085040918ba0f3003232db3844d72cbf398bbf039380d4cc51babcd568d615f2532077d940b9e17a63c SHA512 7704514125c940e152cdeca0a70c5520bc6951c4953b2ff557b1c0373f3b3b04a2040cf7c51a09e5b3b68349b7b353614ac55840c54d1da62e4cfc6c7a407d38
|
||||
EBUILD cons-0.4.5.ebuild 605 BLAKE2B 2c2339e7e5d4294ca04dda1536bfde303dde9ec579dfa94b8f05fbf1549f95cadf386f166fcdcc1c6d010e2a91d9773e9f7b3f30fefb2d46c69fcc2b0a60a7d3 SHA512 1c2108aeac622817b99f7dd5beb05678dd2abd6880eb978f0251aa2e3cb4823e9439db0661eb2c136b482c09e8288c088c051ca1ae8dc36f63bf7a4749605d02
|
||||
MISC metadata.xml 396 BLAKE2B 9ba9a455c02e9ac43a4930f43b79db507f4f501c1b67b3ac88cc3446fb4a65707880e526c8ec140ec6df597e2e9d71f9f7c8add8bd0a3a30505367a442c4e3a1 SHA512 df6579314a49aec9ea574112a6d9cf0e4cf8a0bace10617ef6bfeb1916e38c6de20966800ad1bcc66e45d5526f43da46c1616438c283f17aa9f54b8ab8b973e5
|
||||
|
@ -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,3 +1,5 @@
|
||||
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
|
||||
EBUILD dogpile-cache-1.1.4.ebuild 725 BLAKE2B 306329bc6f87ef120d21d6687a629787f2ac34405c7a325c28f33d0fe6829b02612696846c732cd6fb70098ecb48f153d26f82492b1128f549314904b0725679 SHA512 191d2e87ee52c0dbb9f84ad359e44ae03f6856be8d3aa007bc1c0e40a7346422b44705d442aa8bd0fc79257388fb8d1af8488f4546ee376050a07ff0e0706c59
|
||||
EBUILD dogpile-cache-1.1.5.ebuild 760 BLAKE2B 3d4f30159fa15b5de229a3dbe871ad9b0ed4071630230cd6c8095fe7d241abbc3c8dc2cc35b9eaa14eb745dc70fb5c5957d906d0d8793bfe85c498739f0cb7d8 SHA512 051d91a1e7c2aa9281f24d68a2fc7eb9c241de57680d1208f436ba8badb66f4e9c2ffc5cb34a841d665b450a29137bb473571f5fc703ca644bc4384558f14199
|
||||
MISC metadata.xml 843 BLAKE2B e0b6ed26300c658bb3f9bdc500bd24c38f26821d3a32ce448c56e5fd129f211efd58ef0faab1a6a9114a96991514de5fb9cf53b26601cb68fedb4c43aab3cdb2 SHA512 992ae84d983cbc06969e888e298cf8124dcf6068871bd5e12dd479a70ca00f5422d8c3cc178a842a340bffc5f72a5b203ce307ccbe49a0a60c0c52a5091052d9
|
||||
|
@ -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,3 +1,5 @@
|
||||
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
|
||||
EBUILD easy-thumbnails-2.8.1.ebuild 857 BLAKE2B e52e81340fddf1fb54ba74896596321b38aa2366fb630878eda6b2ec811af0aceac7a9be41d41c0e04c7690cc2ae699dc439f069ba732e2338a7223162e70066 SHA512 26e6f3da2ebf3895d653607df33285dc7eb3237d4cc8d0f40206fd0f71c5ae2ee57425bfc1039aad1f7b57e7939beaf369879e5368aaee06a2f9d9bd2bbe4e97
|
||||
EBUILD easy-thumbnails-2.8.ebuild 857 BLAKE2B fe0b75fb496e57a9b8201ae90322dbf7171c4bfb416f672debd590f933f52c3bb0cc0e6c8b68b37bf2235d946376ed8148799eeba09c33693abe8ca298e426b6 SHA512 f7b1f6054ca8586a8455b736f0a44df23dc059565520614a29652eadb2f2a7b482b2419f6a81092b081524374175c03fb98d4fa3e3387ae6335a2c8cdfdfdc6e
|
||||
MISC metadata.xml 329 BLAKE2B 536a9dde0295ceaf8c41282c9ad7703fd44170d075ddcbfbbf291b4df19d3a5b5896e18f57e4dd9680fb3af7cb4a5c18b375d25eaab6c7a22a21b73de8d91df7 SHA512 19340ba2f684d03da8660d77f598873c7c8577590d09862ddd65c544b275030a3fdaa9ce3833627515ce4c9826f9f5eb4d3944b6532d5886da06fdb9ac89e6c2
|
||||
|
@ -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,3 +1,5 @@
|
||||
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
|
||||
EBUILD etuples-0.3.3.ebuild 615 BLAKE2B 5b228bb2d85164b699b9db5a4727bd144df5cca894c27a5bcfb6dd17e5d216bbd29d15fdd51638270eba81dfb6fa5439dac76fd3cb2e802173c30976b4c5be9a SHA512 79a9d5ef819e0e8a6ba29e62bc6c15a3a1a6239f508135caf7f3e03376ad072dcbedd33c7bc5134c014985ae7ec34ce9bcb469512ffa4df4a53345e1e37a1f7e
|
||||
EBUILD etuples-0.3.4.ebuild 617 BLAKE2B 3faccceeec383a463e0cc918724b0256825197402d7c1d60b3ddb16e261d5349b867a712b51646f737d1e1f8e96e4cc7fa89c80ded145928828def5d5e707339 SHA512 658259e1a93caf9a691750d5964e5ad75339cb89f6cf1769de84509787f6d57d2b80b9b590b85dc4239ddef7ddae04e835c78f974f64e38a7e1ad1b7fa2e3757
|
||||
MISC metadata.xml 395 BLAKE2B 1f931fb8859a01cebd9dc3b94c11d2105552e7b371f8dddf1028d1cb45b7db6e2b138bb753b631399c885f463cc7d7ba76ad1d43f2d70babbc01c70913191c85 SHA512 a7dc4d5a713c5ecd58ee2fb371962fff65488966a968316e4415e19e2db08381c7d5aea0997e062667123eed86c8d6bbaddadea61872e6f07726fedee463802a
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue