parent
5ae011c686
commit
316b2eeef4
Binary file not shown.
Binary file not shown.
@ -1,3 +1,4 @@
|
|||||||
DIST aws-cli-1.25.17.gh.tar.gz 2226115 BLAKE2B d07a9c7a8e13019fd728489d27465497ba31f53087ef09e5f816792267bcb58158fa0a7f71fc499d3e343b5b3a0da45cc3632f8c69345b8cd93ebc735f645672 SHA512 1a7f90e28d6702f9e73fe3a93e0d91e2c4ea3d93574f21a3ecde1148445fe6b5f98f217e2e61a1cbba50a07590f0ab0abd00390fb04cbb3db74dfff698224997
|
DIST aws-cli-1.25.17.gh.tar.gz 2226115 BLAKE2B d07a9c7a8e13019fd728489d27465497ba31f53087ef09e5f816792267bcb58158fa0a7f71fc499d3e343b5b3a0da45cc3632f8c69345b8cd93ebc735f645672 SHA512 1a7f90e28d6702f9e73fe3a93e0d91e2c4ea3d93574f21a3ecde1148445fe6b5f98f217e2e61a1cbba50a07590f0ab0abd00390fb04cbb3db74dfff698224997
|
||||||
DIST aws-cli-1.25.22.gh.tar.gz 2228459 BLAKE2B e9ca58f6be9d5836b2b4d8ce51154ecd9dca3e443a120ff6ab3475b0777ca5e50c17a3c30641c57df1df63cc065fc0316b1e847b695bdfbe49a0a5b330912a74 SHA512 328303792a75c9f44c7e37e825ffb81aa2a071d4ae18b21c31f2c9abc5e0ae8f3ec079725847cd731d4cc49b5064a0244129176789f4ce0865e6d8cae0dda1e8
|
DIST aws-cli-1.25.22.gh.tar.gz 2228459 BLAKE2B e9ca58f6be9d5836b2b4d8ce51154ecd9dca3e443a120ff6ab3475b0777ca5e50c17a3c30641c57df1df63cc065fc0316b1e847b695bdfbe49a0a5b330912a74 SHA512 328303792a75c9f44c7e37e825ffb81aa2a071d4ae18b21c31f2c9abc5e0ae8f3ec079725847cd731d4cc49b5064a0244129176789f4ce0865e6d8cae0dda1e8
|
||||||
DIST aws-cli-1.25.26.gh.tar.gz 2230449 BLAKE2B bb792fb2e4ba25870168e4fc3301d4b92d93d831301b0a46ec7dab1ac4b1bdeda9d43f9f6cf20de153f9df3d6b66b0d9ed9754ee4c27b79aacf9d9b8d7e11c2f SHA512 56f9d02d54d20624944c8749860d3e92e7c0887b1c6f524545394ad590ad5ab63752abf25ecba400cfcb9273bdecbae110e4811804e287f15bdfde0d8638adff
|
DIST aws-cli-1.25.26.gh.tar.gz 2230449 BLAKE2B bb792fb2e4ba25870168e4fc3301d4b92d93d831301b0a46ec7dab1ac4b1bdeda9d43f9f6cf20de153f9df3d6b66b0d9ed9754ee4c27b79aacf9d9b8d7e11c2f SHA512 56f9d02d54d20624944c8749860d3e92e7c0887b1c6f524545394ad590ad5ab63752abf25ecba400cfcb9273bdecbae110e4811804e287f15bdfde0d8638adff
|
||||||
|
DIST aws-cli-1.25.27.gh.tar.gz 2230639 BLAKE2B 80101fe2e2b58e7b626c546178ccab45108985d827db2b162d86e4271d5cb105dad2dfe36b807e88372af9cf14b706fda8928c0ccbbd97a49f2f1cf73bbff74f SHA512 2e88950c40dcf64b6911ca02ede7d9790a0ff3f3beb4c4fe3d4087b82100d49df00a90e254c9ff58e09132e4ab79ac3861480eeb1a3603c95aba0093fdb90554
|
||||||
|
@ -0,0 +1,72 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
|
||||||
|
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||||
|
|
||||||
|
MY_P=aws-cli-${PV}
|
||||||
|
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/aws/aws-cli/
|
||||||
|
https://pypi.org/project/awscli/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||||
|
-> ${MY_P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
S=${WORKDIR}/${MY_P}
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
|
||||||
|
# botocore is x.(y+2).z
|
||||||
|
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||||
|
dev-python/colorama[${PYTHON_USEDEP}]
|
||||||
|
dev-python/docutils[${PYTHON_USEDEP}]
|
||||||
|
dev-python/rsa[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
!app-admin/awscli-bin
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# do not rely on bundled deps in botocore (sic!)
|
||||||
|
find -name '*.py' -exec sed -i \
|
||||||
|
-e 's:from botocore[.]vendored import:import:' \
|
||||||
|
-e 's:from botocore[.]vendored[.]:from :' \
|
||||||
|
{} + || die
|
||||||
|
# strip overzealous upper bounds on requirements
|
||||||
|
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
# integration tests require AWS credentials and Internet access
|
||||||
|
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
newbashcomp bin/aws_bash_completer aws
|
||||||
|
|
||||||
|
insinto /usr/share/zsh/site-functions
|
||||||
|
newins bin/aws_zsh_completer.sh _aws
|
||||||
|
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
|
||||||
|
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,164 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gnupg.asc
|
||||||
|
inherit flag-o-matic systemd toolchain-funcs verify-sig
|
||||||
|
|
||||||
|
MY_P="${P/_/-}"
|
||||||
|
|
||||||
|
DESCRIPTION="The GNU Privacy Guard, a GPL OpenPGP implementation"
|
||||||
|
HOMEPAGE="https://gnupg.org/"
|
||||||
|
SRC_URI="mirror://gnupg/gnupg/${MY_P}.tar.bz2"
|
||||||
|
SRC_URI+=" verify-sig? ( mirror://gnupg/gnupg/${P}.tar.bz2.sig )"
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
IUSE="bzip2 doc ldap nls readline selinux +smartcard ssl test +tofu tpm tools usb user-socket wks-server"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
REQUIRED_USE="test? ( tofu )"
|
||||||
|
|
||||||
|
# Existence of executables is checked during configuration.
|
||||||
|
# Note: On each bump, update dep bounds on each version from configure.ac!
|
||||||
|
DEPEND=">=dev-libs/libassuan-2.5.0
|
||||||
|
>=dev-libs/libgcrypt-1.9.1:=
|
||||||
|
>=dev-libs/libgpg-error-1.41
|
||||||
|
>=dev-libs/libksba-1.3.4
|
||||||
|
>=dev-libs/npth-1.2
|
||||||
|
>=net-misc/curl-7.10
|
||||||
|
sys-libs/zlib
|
||||||
|
bzip2? ( app-arch/bzip2 )
|
||||||
|
ldap? ( net-nds/openldap:= )
|
||||||
|
readline? ( sys-libs/readline:0= )
|
||||||
|
smartcard? ( usb? ( virtual/libusb:1 ) )
|
||||||
|
tofu? ( >=dev-db/sqlite-3.27 )
|
||||||
|
tpm? ( >=app-crypt/tpm2-tss-2.4.0:= )
|
||||||
|
ssl? ( >=net-libs/gnutls-3.0:0= )
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
app-crypt/pinentry
|
||||||
|
nls? ( virtual/libintl )
|
||||||
|
selinux? ( sec-policy/selinux-gpg )
|
||||||
|
wks-server? ( virtual/mta )"
|
||||||
|
|
||||||
|
BDEPEND="virtual/pkgconfig
|
||||||
|
doc? ( sys-apps/texinfo )
|
||||||
|
nls? ( sys-devel/gettext )
|
||||||
|
verify-sig? ( sec-keys/openpgp-keys-gnupg )"
|
||||||
|
|
||||||
|
DOCS=(
|
||||||
|
ChangeLog NEWS README THANKS TODO VERSION
|
||||||
|
doc/FAQ doc/DETAILS doc/HACKING doc/TRANSLATE doc/OpenPGP doc/KEYSERVER
|
||||||
|
)
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-2.1.20-gpgscm-Use-shorter-socket-path-lengts-to-improve-tes.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# Inject SSH_AUTH_SOCK into user's sessions after enabling gpg-agent-ssh.socket in systemctl --user mode,
|
||||||
|
# idea borrowed from libdbus, see
|
||||||
|
# https://gitlab.freedesktop.org/dbus/dbus/-/blob/master/bus/systemd-user/dbus.socket.in#L6
|
||||||
|
#
|
||||||
|
# This cannot be upstreamed, as it requires determining the exact prefix of 'systemctl',
|
||||||
|
# which in turn requires discovery in Autoconf, something that upstream deeply resents.
|
||||||
|
sed -e "/DirectoryMode=/a ExecStartPost=-${EPREFIX}/bin/systemctl --user set-environment SSH_AUTH_SOCK=%t/gnupg/S.gpg-agent.ssh" \
|
||||||
|
-i doc/examples/systemd-user/gpg-agent-ssh.socket || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf=(
|
||||||
|
$(use_enable bzip2)
|
||||||
|
$(use_enable nls)
|
||||||
|
$(use_enable smartcard scdaemon)
|
||||||
|
$(use_enable ssl gnutls)
|
||||||
|
$(use_enable test all-tests)
|
||||||
|
$(use_enable test tests)
|
||||||
|
$(use_enable tofu)
|
||||||
|
$(use_enable tofu keyboxd)
|
||||||
|
$(use_enable tofu sqlite)
|
||||||
|
$(usex tpm '--with-tss=intel' '--disable-tpm2d')
|
||||||
|
$(use smartcard && use_enable usb ccid-driver || echo '--disable-ccid-driver')
|
||||||
|
$(use_enable wks-server wks-tools)
|
||||||
|
$(use_with ldap)
|
||||||
|
$(use_with readline)
|
||||||
|
--with-mailprog=/usr/libexec/sendmail
|
||||||
|
--disable-ntbtls
|
||||||
|
--enable-gpgsm
|
||||||
|
--enable-large-secmem
|
||||||
|
|
||||||
|
CC_FOR_BUILD="$(tc-getBUILD_CC)"
|
||||||
|
GPG_ERROR_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpg-error-config"
|
||||||
|
KSBA_CONFIG="${ESYSROOT}/usr/bin/ksba-config"
|
||||||
|
LIBASSUAN_CONFIG="${ESYSROOT}/usr/bin/libassuan-config"
|
||||||
|
LIBGCRYPT_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-libgcrypt-config"
|
||||||
|
NPTH_CONFIG="${ESYSROOT}/usr/bin/npth-config"
|
||||||
|
|
||||||
|
$("${S}/configure" --help | grep -o -- '--without-.*-prefix')
|
||||||
|
)
|
||||||
|
|
||||||
|
if use prefix && use usb; then
|
||||||
|
# bug #649598
|
||||||
|
append-cppflags -I"${ESYSROOT}/usr/include/libusb-1.0"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# bug #663142
|
||||||
|
if use user-socket; then
|
||||||
|
myconf+=( --enable-run-gnupg-user-socket )
|
||||||
|
fi
|
||||||
|
|
||||||
|
# glib fails and picks up clang's internal stdint.h causing weird errors
|
||||||
|
tc-is-clang && export gl_cv_absolute_stdint_h="${ESYSROOT}"/usr/include/stdint.h
|
||||||
|
|
||||||
|
# Hardcode mailprog to /usr/libexec/sendmail even if it does not exist.
|
||||||
|
# As of GnuPG 2.3, the mailprog substitution is used for the binary called
|
||||||
|
# by wks-client & wks-server; and if it's autodetected but not not exist at
|
||||||
|
# build time, then then 'gpg-wks-client --send' functionality will not
|
||||||
|
# work. This has an unwanted side-effect in stage3 builds: there was a
|
||||||
|
# [R]DEPEND on virtual/mta, which also brought in virtual/logger, bloating
|
||||||
|
# the build where the install guide previously make the user chose the
|
||||||
|
# logger & mta early in the install.
|
||||||
|
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
default
|
||||||
|
|
||||||
|
use doc && emake -C doc html
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
# bug #638574
|
||||||
|
use tofu && export TESTFLAGS=--parallel
|
||||||
|
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
use tools &&
|
||||||
|
dobin \
|
||||||
|
tools/{convert-from-106,gpg-check-pattern} \
|
||||||
|
tools/{gpgconf,gpgsplit,lspgpot,mail-signed-keys} \
|
||||||
|
tools/make-dns-cert
|
||||||
|
|
||||||
|
dosym gpg /usr/bin/gpg2
|
||||||
|
dosym gpgv /usr/bin/gpgv2
|
||||||
|
echo ".so man1/gpg.1" > "${ED}"/usr/share/man/man1/gpg2.1 || die
|
||||||
|
echo ".so man1/gpgv.1" > "${ED}"/usr/share/man/man1/gpgv2.1 || die
|
||||||
|
|
||||||
|
dodir /etc/env.d
|
||||||
|
echo "CONFIG_PROTECT=/usr/share/gnupg/qualified.txt" >> "${ED}"/etc/env.d/30gnupg || die
|
||||||
|
|
||||||
|
use doc && dodoc doc/gnupg.html/* doc/*.png
|
||||||
|
|
||||||
|
systemd_douserunit doc/examples/systemd-user/*.{service,socket}
|
||||||
|
}
|
Binary file not shown.
@ -1,507 +0,0 @@
|
|||||||
# Copyright 2021-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
CRATES="
|
|
||||||
adler-1.0.2
|
|
||||||
adler32-1.2.0
|
|
||||||
ahash-0.7.6
|
|
||||||
aho-corasick-0.7.18
|
|
||||||
alsa-0.6.0
|
|
||||||
alsa-sys-0.3.1
|
|
||||||
ansi_term-0.12.1
|
|
||||||
approx-0.5.1
|
|
||||||
arrayvec-0.5.2
|
|
||||||
arrayvec-0.7.2
|
|
||||||
ash-0.34.0+1.2.203
|
|
||||||
async-channel-1.6.1
|
|
||||||
atk-sys-0.15.1
|
|
||||||
atty-0.2.14
|
|
||||||
autocfg-1.1.0
|
|
||||||
base64-0.13.0
|
|
||||||
bindgen-0.56.0
|
|
||||||
bit-set-0.5.2
|
|
||||||
bit-vec-0.6.3
|
|
||||||
bit_field-0.10.1
|
|
||||||
bitflags-1.3.2
|
|
||||||
bitflags_serde_shim-0.2.2
|
|
||||||
bitstream-io-1.5.0
|
|
||||||
bitvec-0.19.6
|
|
||||||
block-0.1.6
|
|
||||||
block-buffer-0.10.2
|
|
||||||
bstr-0.2.17
|
|
||||||
build_const-0.2.2
|
|
||||||
bumpalo-3.9.1
|
|
||||||
bytemuck-1.9.1
|
|
||||||
bytemuck_derive-1.1.0
|
|
||||||
byteorder-1.4.3
|
|
||||||
bytes-1.1.0
|
|
||||||
cache-padded-1.2.0
|
|
||||||
cairo-sys-rs-0.15.1
|
|
||||||
calloop-0.9.3
|
|
||||||
castaway-0.1.2
|
|
||||||
cc-1.0.73
|
|
||||||
cesu8-1.1.0
|
|
||||||
cexpr-0.4.0
|
|
||||||
cfg-expr-0.10.2
|
|
||||||
cfg-if-0.1.10
|
|
||||||
cfg-if-1.0.0
|
|
||||||
cfg_aliases-0.1.1
|
|
||||||
chrono-0.4.19
|
|
||||||
clang-sys-1.3.1
|
|
||||||
clap-3.1.18
|
|
||||||
clap_derive-3.1.18
|
|
||||||
clap_lex-0.2.0
|
|
||||||
clipboard-0.5.0
|
|
||||||
clipboard-win-2.2.0
|
|
||||||
cocoa-0.24.0
|
|
||||||
cocoa-foundation-0.1.0
|
|
||||||
codespan-reporting-0.11.1
|
|
||||||
color_quant-1.1.0
|
|
||||||
combine-4.6.3
|
|
||||||
concurrent-queue-1.2.2
|
|
||||||
console-0.15.0
|
|
||||||
console_error_panic_hook-0.1.7
|
|
||||||
console_log-0.2.0
|
|
||||||
cookie-factory-0.3.2
|
|
||||||
copyless-0.1.5
|
|
||||||
core-foundation-0.7.0
|
|
||||||
core-foundation-0.9.3
|
|
||||||
core-foundation-sys-0.7.0
|
|
||||||
core-foundation-sys-0.8.3
|
|
||||||
core-graphics-0.19.2
|
|
||||||
core-graphics-0.22.3
|
|
||||||
core-graphics-types-0.1.1
|
|
||||||
core-video-sys-0.1.4
|
|
||||||
coreaudio-rs-0.10.0
|
|
||||||
coreaudio-sys-0.2.9
|
|
||||||
cpal-0.13.5
|
|
||||||
cpufeatures-0.2.1
|
|
||||||
crc-1.8.1
|
|
||||||
crc32fast-1.3.2
|
|
||||||
crossbeam-channel-0.5.4
|
|
||||||
crossbeam-deque-0.8.1
|
|
||||||
crossbeam-epoch-0.9.8
|
|
||||||
crossbeam-utils-0.8.8
|
|
||||||
crypto-common-0.1.3
|
|
||||||
csv-1.1.6
|
|
||||||
csv-core-0.1.10
|
|
||||||
ctor-0.1.21
|
|
||||||
cty-0.2.2
|
|
||||||
curl-0.4.43
|
|
||||||
curl-sys-0.4.55+curl-7.83.1
|
|
||||||
d3d12-0.4.1
|
|
||||||
darling-0.13.1
|
|
||||||
darling_core-0.13.1
|
|
||||||
darling_macro-0.13.1
|
|
||||||
deflate-1.0.0
|
|
||||||
derive-try-from-primitive-1.0.0
|
|
||||||
diff-0.1.12
|
|
||||||
digest-0.10.3
|
|
||||||
dirs-4.0.0
|
|
||||||
dirs-sys-0.3.6
|
|
||||||
dispatch-0.2.0
|
|
||||||
dlib-0.5.0
|
|
||||||
downcast-rs-1.2.0
|
|
||||||
either-1.6.1
|
|
||||||
embed-resource-1.7.2
|
|
||||||
encode_unicode-0.3.6
|
|
||||||
encoding_rs-0.8.31
|
|
||||||
enum-map-2.3.0
|
|
||||||
enum-map-derive-0.9.0
|
|
||||||
enumset-1.0.8
|
|
||||||
enumset_derive-0.5.5
|
|
||||||
env_logger-0.9.0
|
|
||||||
euclid-0.22.6
|
|
||||||
event-listener-2.5.2
|
|
||||||
exr-1.4.2
|
|
||||||
fastrand-1.7.0
|
|
||||||
flate2-1.0.24
|
|
||||||
float_next_after-0.1.5
|
|
||||||
flume-0.10.12
|
|
||||||
fnv-1.0.7
|
|
||||||
foreign-types-0.3.2
|
|
||||||
foreign-types-shared-0.1.1
|
|
||||||
form_urlencoded-1.0.1
|
|
||||||
funty-1.1.0
|
|
||||||
futures-0.3.21
|
|
||||||
futures-channel-0.3.21
|
|
||||||
futures-core-0.3.21
|
|
||||||
futures-executor-0.3.21
|
|
||||||
futures-io-0.3.21
|
|
||||||
futures-lite-1.12.0
|
|
||||||
futures-macro-0.3.21
|
|
||||||
futures-sink-0.3.21
|
|
||||||
futures-task-0.3.21
|
|
||||||
futures-util-0.3.21
|
|
||||||
fxhash-0.2.1
|
|
||||||
gdk-pixbuf-sys-0.15.1
|
|
||||||
gdk-sys-0.15.1
|
|
||||||
generational-arena-0.2.8
|
|
||||||
generic-array-0.14.5
|
|
||||||
getrandom-0.2.6
|
|
||||||
gif-0.11.3
|
|
||||||
gio-sys-0.15.7
|
|
||||||
glib-sys-0.15.7
|
|
||||||
glob-0.3.0
|
|
||||||
glow-0.11.2
|
|
||||||
gobject-sys-0.15.9
|
|
||||||
gpu-alloc-0.5.3
|
|
||||||
gpu-alloc-types-0.2.0
|
|
||||||
gpu-descriptor-0.2.2
|
|
||||||
gpu-descriptor-types-0.1.1
|
|
||||||
gtk-sys-0.15.3
|
|
||||||
half-1.8.2
|
|
||||||
hashbrown-0.11.2
|
|
||||||
hashbrown-0.9.1
|
|
||||||
heck-0.4.0
|
|
||||||
hermit-abi-0.1.19
|
|
||||||
hexf-parse-0.2.1
|
|
||||||
http-0.2.6
|
|
||||||
humantime-2.1.0
|
|
||||||
ident_case-1.0.1
|
|
||||||
idna-0.2.3
|
|
||||||
image-0.24.2
|
|
||||||
indexmap-1.6.2
|
|
||||||
indicatif-0.16.2
|
|
||||||
inflate-0.4.5
|
|
||||||
inplace_it-0.3.3
|
|
||||||
instant-0.1.12
|
|
||||||
isahc-1.7.2
|
|
||||||
itoa-0.4.8
|
|
||||||
itoa-1.0.1
|
|
||||||
jni-0.19.0
|
|
||||||
jni-sys-0.3.0
|
|
||||||
jobserver-0.1.24
|
|
||||||
jpeg-decoder-0.1.22
|
|
||||||
jpeg-decoder-0.2.6
|
|
||||||
js-sys-0.3.57
|
|
||||||
khronos-egl-4.1.0
|
|
||||||
lazy_static-1.4.0
|
|
||||||
lazycell-1.3.0
|
|
||||||
lebe-0.5.1
|
|
||||||
lexical-core-0.7.6
|
|
||||||
libc-0.2.120
|
|
||||||
libflate-1.2.0
|
|
||||||
libflate_lz77-1.1.0
|
|
||||||
libloading-0.7.3
|
|
||||||
libnghttp2-sys-0.1.7+1.45.0
|
|
||||||
libz-sys-1.1.5
|
|
||||||
lock_api-0.4.6
|
|
||||||
log-0.4.17
|
|
||||||
lyon-0.17.10
|
|
||||||
lyon_algorithms-0.17.7
|
|
||||||
lyon_geom-0.17.6
|
|
||||||
lyon_path-0.17.7
|
|
||||||
lyon_tessellation-0.17.10
|
|
||||||
lzma-rs-0.2.0
|
|
||||||
mach-0.3.2
|
|
||||||
malloc_buf-0.0.6
|
|
||||||
matches-0.1.9
|
|
||||||
memchr-2.4.1
|
|
||||||
memmap2-0.3.1
|
|
||||||
memoffset-0.6.5
|
|
||||||
metal-0.23.1
|
|
||||||
mime-0.3.16
|
|
||||||
minimal-lexical-0.2.1
|
|
||||||
minimp3-0.5.1
|
|
||||||
minimp3-sys-0.3.2
|
|
||||||
miniz_oxide-0.5.1
|
|
||||||
mio-0.8.1
|
|
||||||
miow-0.3.7
|
|
||||||
naga-0.8.5
|
|
||||||
nanorand-0.7.0
|
|
||||||
ndk-0.5.0
|
|
||||||
ndk-0.6.0
|
|
||||||
ndk-context-0.1.0
|
|
||||||
ndk-glue-0.5.1
|
|
||||||
ndk-glue-0.6.1
|
|
||||||
ndk-macro-0.3.0
|
|
||||||
ndk-sys-0.2.2
|
|
||||||
ndk-sys-0.3.0
|
|
||||||
nix-0.22.3
|
|
||||||
nix-0.23.1
|
|
||||||
nom-5.1.2
|
|
||||||
nom-6.1.2
|
|
||||||
nom-7.1.1
|
|
||||||
ntapi-0.3.7
|
|
||||||
num-complex-0.4.0
|
|
||||||
num-derive-0.3.3
|
|
||||||
num-integer-0.1.44
|
|
||||||
num-iter-0.1.42
|
|
||||||
num-rational-0.4.0
|
|
||||||
num-traits-0.2.15
|
|
||||||
num_cpus-1.13.1
|
|
||||||
num_enum-0.5.7
|
|
||||||
num_enum_derive-0.5.7
|
|
||||||
number_prefix-0.4.0
|
|
||||||
objc-0.2.7
|
|
||||||
objc-foundation-0.1.1
|
|
||||||
objc_exception-0.1.2
|
|
||||||
objc_id-0.1.1
|
|
||||||
oboe-0.4.5
|
|
||||||
oboe-sys-0.4.5
|
|
||||||
once_cell-1.10.0
|
|
||||||
openssl-probe-0.1.5
|
|
||||||
openssl-sys-0.9.72
|
|
||||||
os_str_bytes-6.0.0
|
|
||||||
output_vt100-0.1.3
|
|
||||||
pango-sys-0.15.1
|
|
||||||
parking-2.0.0
|
|
||||||
parking_lot-0.11.2
|
|
||||||
parking_lot_core-0.8.5
|
|
||||||
path-slash-0.1.4
|
|
||||||
peeking_take_while-0.1.2
|
|
||||||
percent-encoding-2.1.0
|
|
||||||
pin-project-1.0.10
|
|
||||||
pin-project-internal-1.0.10
|
|
||||||
pin-project-lite-0.2.8
|
|
||||||
pin-utils-0.1.0
|
|
||||||
pkg-config-0.3.24
|
|
||||||
png-0.17.5
|
|
||||||
polling-2.2.0
|
|
||||||
ppv-lite86-0.2.16
|
|
||||||
pretty_assertions-1.2.1
|
|
||||||
primal-check-0.3.1
|
|
||||||
proc-macro-crate-1.1.3
|
|
||||||
proc-macro-error-1.0.4
|
|
||||||
proc-macro-error-attr-1.0.4
|
|
||||||
proc-macro2-1.0.39
|
|
||||||
profiling-1.0.5
|
|
||||||
quote-1.0.18
|
|
||||||
radium-0.5.3
|
|
||||||
rand-0.8.5
|
|
||||||
rand_chacha-0.3.1
|
|
||||||
rand_core-0.6.3
|
|
||||||
range-alloc-0.1.2
|
|
||||||
raw-window-handle-0.4.2
|
|
||||||
rayon-1.5.3
|
|
||||||
rayon-core-1.9.2
|
|
||||||
redox_syscall-0.2.11
|
|
||||||
redox_users-0.4.0
|
|
||||||
regex-1.5.5
|
|
||||||
regex-automata-0.1.10
|
|
||||||
regex-syntax-0.6.25
|
|
||||||
regress-0.4.1
|
|
||||||
renderdoc-sys-0.7.1
|
|
||||||
rfd-0.8.4
|
|
||||||
rle-decode-fast-1.0.3
|
|
||||||
ron-0.7.0
|
|
||||||
rustc-hash-1.1.0
|
|
||||||
rustc_version-0.4.0
|
|
||||||
rustdct-0.7.0
|
|
||||||
rustfft-6.0.1
|
|
||||||
ryu-1.0.9
|
|
||||||
safe_arch-0.6.0
|
|
||||||
same-file-1.0.6
|
|
||||||
schannel-0.1.19
|
|
||||||
scoped-tls-1.0.0
|
|
||||||
scoped_threadpool-0.1.9
|
|
||||||
scopeguard-1.1.0
|
|
||||||
semver-1.0.6
|
|
||||||
serde-1.0.137
|
|
||||||
serde_derive-1.0.137
|
|
||||||
serde_json-1.0.81
|
|
||||||
sha2-0.10.2
|
|
||||||
shlex-0.1.1
|
|
||||||
sid-0.6.1
|
|
||||||
slab-0.4.5
|
|
||||||
slice-deque-0.3.0
|
|
||||||
slotmap-1.0.6
|
|
||||||
sluice-0.5.5
|
|
||||||
smallvec-1.8.0
|
|
||||||
smithay-client-toolkit-0.15.3
|
|
||||||
socket2-0.4.4
|
|
||||||
spin-0.9.2
|
|
||||||
spirv-0.2.0+1.5.4
|
|
||||||
static_assertions-1.1.0
|
|
||||||
stdweb-0.1.3
|
|
||||||
strength_reduce-0.2.3
|
|
||||||
strsim-0.10.0
|
|
||||||
symphonia-0.5.0
|
|
||||||
symphonia-bundle-mp3-0.5.0
|
|
||||||
symphonia-core-0.5.0
|
|
||||||
symphonia-metadata-0.5.0
|
|
||||||
syn-1.0.96
|
|
||||||
synstructure-0.12.6
|
|
||||||
system-deps-6.0.2
|
|
||||||
tap-1.0.1
|
|
||||||
termcolor-1.1.3
|
|
||||||
terminal_size-0.1.17
|
|
||||||
textwrap-0.15.0
|
|
||||||
thiserror-1.0.31
|
|
||||||
thiserror-impl-1.0.31
|
|
||||||
threadpool-1.8.1
|
|
||||||
tiff-0.7.1
|
|
||||||
time-0.1.43
|
|
||||||
tinyvec-1.5.1
|
|
||||||
tinyvec_macros-0.1.0
|
|
||||||
toml-0.5.8
|
|
||||||
tracing-0.1.32
|
|
||||||
tracing-attributes-0.1.20
|
|
||||||
tracing-core-0.1.23
|
|
||||||
tracing-futures-0.2.5
|
|
||||||
transpose-0.2.1
|
|
||||||
typenum-1.15.0
|
|
||||||
unicode-bidi-0.3.7
|
|
||||||
unicode-ident-1.0.0
|
|
||||||
unicode-normalization-0.1.19
|
|
||||||
unicode-width-0.1.9
|
|
||||||
unicode-xid-0.2.2
|
|
||||||
url-2.2.2
|
|
||||||
vcpkg-0.2.15
|
|
||||||
version-compare-0.1.0
|
|
||||||
version_check-0.9.4
|
|
||||||
vswhom-0.1.0
|
|
||||||
vswhom-sys-0.1.1
|
|
||||||
waker-fn-1.1.0
|
|
||||||
walkdir-2.3.2
|
|
||||||
wasi-0.10.2+wasi-snapshot-preview1
|
|
||||||
wasi-0.11.0+wasi-snapshot-preview1
|
|
||||||
wasm-bindgen-0.2.80
|
|
||||||
wasm-bindgen-backend-0.2.80
|
|
||||||
wasm-bindgen-futures-0.4.30
|
|
||||||
wasm-bindgen-macro-0.2.80
|
|
||||||
wasm-bindgen-macro-support-0.2.80
|
|
||||||
wasm-bindgen-shared-0.2.80
|
|
||||||
wayland-client-0.29.4
|
|
||||||
wayland-commons-0.29.4
|
|
||||||
wayland-cursor-0.29.4
|
|
||||||
wayland-protocols-0.29.4
|
|
||||||
wayland-scanner-0.29.4
|
|
||||||
wayland-sys-0.29.4
|
|
||||||
weak-table-0.3.2
|
|
||||||
web-sys-0.3.57
|
|
||||||
webbrowser-0.7.1
|
|
||||||
weezl-0.1.5
|
|
||||||
wepoll-ffi-0.1.2
|
|
||||||
wgpu-0.12.0
|
|
||||||
wgpu-core-0.12.2
|
|
||||||
wgpu-hal-0.12.4
|
|
||||||
wgpu-types-0.12.0
|
|
||||||
wide-0.7.4
|
|
||||||
widestring-0.5.1
|
|
||||||
winapi-0.3.9
|
|
||||||
winapi-i686-pc-windows-gnu-0.4.0
|
|
||||||
winapi-util-0.1.5
|
|
||||||
winapi-x86_64-pc-windows-gnu-0.4.0
|
|
||||||
windows-0.37.0
|
|
||||||
windows_aarch64_msvc-0.37.0
|
|
||||||
windows_i686_gnu-0.37.0
|
|
||||||
windows_i686_msvc-0.37.0
|
|
||||||
windows_x86_64_gnu-0.37.0
|
|
||||||
windows_x86_64_msvc-0.37.0
|
|
||||||
winit-0.26.1
|
|
||||||
winreg-0.10.1
|
|
||||||
wyz-0.2.0
|
|
||||||
x11-clipboard-0.3.3
|
|
||||||
x11-dl-2.19.1
|
|
||||||
xcb-0.8.2
|
|
||||||
xcursor-0.3.4
|
|
||||||
xml-rs-0.8.4"
|
|
||||||
# python is needed by xcb-0.8.2 until update to >=0.10
|
|
||||||
PYTHON_COMPAT=( python3_{8..11} )
|
|
||||||
PYTHON_REQ_USE="xml(+)"
|
|
||||||
inherit cargo desktop flag-o-matic python-any-r1 xdg
|
|
||||||
|
|
||||||
# 0(github) 1(repo) 2(commit hash) 3(crate:workspace,...) [see core/Cargo.toml]
|
|
||||||
RUFFLE_GIT=(
|
|
||||||
"RustAudio dasp f05a703d247bb504d7e812b51e95f3765d9c5e94 dasp"
|
|
||||||
"ruffle-rs gc-arena 4931b3bc25b2b74174ff5eb9c34ae0dda732778b gc-arena:src/gc-arena"
|
|
||||||
"ruffle-rs h263-rs 023e14c73e565c4c778d41f66cfbac5ece6419b2 h263-rs:h263,h263-rs-yuv:yuv"
|
|
||||||
"ruffle-rs nellymoser 4a33521c29a918950df8ae9fe07e527ac65553f5 nellymoser-rs:."
|
|
||||||
"ruffle-rs nihav-vp6 9416fcc9fc8aab8f4681aa9093b42922214abbd3 nihav_codec_support:nihav-codec-support,nihav_core:nihav-core,nihav_duck:nihav-duck"
|
|
||||||
"ruffle-rs quick-xml 8496365ec1412eb5ba5de350937b6bce352fa0ba quick-xml:."
|
|
||||||
"ruffle-rs rust-flash-lso 19fecd07b9888c4bdaa66771c468095783b52bed flash-lso"
|
|
||||||
)
|
|
||||||
ruffle_uris() {
|
|
||||||
cargo_crate_uris
|
|
||||||
|
|
||||||
local g
|
|
||||||
for g in "${RUFFLE_GIT[@]}"; do
|
|
||||||
g=(${g})
|
|
||||||
echo "https://github.com/${g[0]}/${g[1]}/archive/${g[2]}.tar.gz -> ${g[1]}-${g[2]}.tar.gz"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
# using _pYYYYMMDD over YYYY.MM.DD given ruffle has an underlaying version
|
|
||||||
# (0.1.0) which could get a non-nightly release eventually (YYYY. > 0.1.0)
|
|
||||||
MY_PV="nightly-${PV:3:4}-${PV:7:2}-${PV:9:2}"
|
|
||||||
MY_P="${PN}-${MY_PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="Flash Player emulator written in Rust"
|
|
||||||
HOMEPAGE="https://ruffle.rs/"
|
|
||||||
SRC_URI="
|
|
||||||
https://github.com/ruffle-rs/ruffle/archive/refs/tags/${MY_PV}.tar.gz -> ${MY_P}.tar.gz
|
|
||||||
$(ruffle_uris)"
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0 ZLIB curl"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-libs/glib:2
|
|
||||||
dev-libs/openssl:=
|
|
||||||
media-libs/alsa-lib
|
|
||||||
sys-libs/zlib:=
|
|
||||||
x11-libs/gtk+:3
|
|
||||||
x11-libs/libxcb:="
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
BDEPEND="
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
virtual/pkgconfig
|
|
||||||
>=virtual/rust-1.61"
|
|
||||||
|
|
||||||
QA_FLAGS_IGNORED="
|
|
||||||
usr/bin/${PN}
|
|
||||||
usr/bin/${PN}_exporter
|
|
||||||
usr/bin/${PN}_scanner"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# use [patch] directive to register git snapshots of needed crates
|
|
||||||
local crate g
|
|
||||||
for g in "${RUFFLE_GIT[@]}"; do
|
|
||||||
g=(${g})
|
|
||||||
echo "[patch.\"https://github.com/${g[0]}/${g[1]}\"]"
|
|
||||||
for crate in ${g[3]//,/ }; do
|
|
||||||
echo "${crate%:*} = { path = \"../${g[1]}-${g[2]}/${crate#*:}\" }"
|
|
||||||
done
|
|
||||||
done >> Cargo.toml || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
filter-lto # undefined references with ring crate and more
|
|
||||||
|
|
||||||
cargo_src_compile --bins # note: configure --bins would skip tests
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dodoc README.md
|
|
||||||
|
|
||||||
newicon web/packages/extension/assets/images/icon180.png ${PN}.png
|
|
||||||
make_desktop_entry ${PN} ${PN^} ${PN} "AudioVideo;Player;Emulator;" \
|
|
||||||
"MimeType=application/x-shockwave-flash;application/vnd.adobe.flash.movie;"
|
|
||||||
|
|
||||||
cd target/$(usex debug{,} release) || die
|
|
||||||
|
|
||||||
newbin ${PN}_desktop ${PN}
|
|
||||||
newbin exporter ${PN}_exporter
|
|
||||||
dobin ${PN}_scanner
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
xdg_pkg_postinst
|
|
||||||
|
|
||||||
if [[ ! ${REPLACING_VERSIONS} ]]; then
|
|
||||||
elog "${PN} is experimental software that is still under heavy development"
|
|
||||||
elog "and only receiving nightly releases. Plans in Gentoo is to update"
|
|
||||||
elog "roughly every two weeks if no known major regressions."
|
|
||||||
elog
|
|
||||||
elog "There is currently no plans to support wasm builds / browser"
|
|
||||||
elog "extensions, this provides the desktop viewer and other tools."
|
|
||||||
fi
|
|
||||||
}
|
|
Binary file not shown.
@ -1,2 +1,2 @@
|
|||||||
DIST gtg-0.4.0.tar.xz 3744752 BLAKE2B fdeabe32135dea24ac6113a486650b66b5143aa745117029b03e26e1bb3f2e8629623b26efdae0c8217741a2b4964b5dc060f0e450c05c950e21ea360f3f3823 SHA512 f2677f6bbc0b6cb21b7882a2bd0342b4919581c12e4aa43c13b5dbc48740418c512a41619584d0d75bfa63ebc4a5460abfbc27360e1817c8832cbecf3c34a60e
|
|
||||||
DIST gtg-0.5.tar.gz 2229259 BLAKE2B e724cbd015a6f0b6fee62c52283b56244490efb7df4e57b2e30745f58fbc41442b008f5c81b53cfd001f04a92ff53a14e2117d6c12d0d5a35fe49158b5f736fa SHA512 631f5343301d7d72211398152fa081c0fa15154babc7ec900f13a39a2677d0edaf4fea534a83284207e8019926c9108dc1d8f25bdbeae85ef0665dfe1c7b768a
|
DIST gtg-0.5.tar.gz 2229259 BLAKE2B e724cbd015a6f0b6fee62c52283b56244490efb7df4e57b2e30745f58fbc41442b008f5c81b53cfd001f04a92ff53a14e2117d6c12d0d5a35fe49158b5f736fa SHA512 631f5343301d7d72211398152fa081c0fa15154babc7ec900f13a39a2677d0edaf4fea534a83284207e8019926c9108dc1d8f25bdbeae85ef0665dfe1c7b768a
|
||||||
|
DIST gtg-0.6.tar.gz 2361876 BLAKE2B 48f4d589b19181c4e5586254a3411fe2e25126d0f16b2d1294b8bff3f7a86aee7a34762781d9819760ce2e6b36ebded225a478a1bc86aa4c17217b165dae2802 SHA512 68a5229c17b85b87a9a134a08e5e86fbf24d28d6ce55e848c17eef650620d6f56172ee495cb113f4279b34c19127ae03981e2feec5a39dc51be49e387e458600
|
||||||
|
Binary file not shown.
@ -0,0 +1,45 @@
|
|||||||
|
From bf3eb16e451fd1bdee8ef03a0d22e0040e033f19 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Brian Dolbec <dolsen@gentoo.org>
|
||||||
|
Date: Sun, 10 Jul 2022 23:41:33 -0700
|
||||||
|
Subject: [PATCH] eclean/pkgindex.py: Fix typo in function call
|
||||||
|
|
||||||
|
File "/usr/lib/python3.10/site-packages/gentoolkit/eclean/pkgindex.py", line
|
||||||
|
60, in clean_pkgs_index
|
||||||
|
if self.get_emaint_binhost():
|
||||||
|
AttributeError: 'PkgIndex' object has no attribute 'get_emaint_binhost'. Did
|
||||||
|
you mean: '_get_emaint_binhost'?
|
||||||
|
|
||||||
|
Also fix too many parameters in line 68 for the self.controller() call
|
||||||
|
|
||||||
|
Bug: https://bugs.gentoo.org/857555
|
||||||
|
|
||||||
|
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
||||||
|
---
|
||||||
|
pym/gentoolkit/eclean/pkgindex.py | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/pym/gentoolkit/eclean/pkgindex.py b/pym/gentoolkit/eclean/pkgindex.py
|
||||||
|
index d0878a1..7d6fade 100644
|
||||||
|
--- a/pym/gentoolkit/eclean/pkgindex.py
|
||||||
|
+++ b/pym/gentoolkit/eclean/pkgindex.py
|
||||||
|
@@ -57,15 +57,15 @@ class PkgIndex:
|
||||||
|
statinfo = os.stat(file_)
|
||||||
|
size1 = statinfo.st_size
|
||||||
|
show_progress = not quiet
|
||||||
|
- if self.get_emaint_binhost():
|
||||||
|
+ if self._get_emaint_binhost():
|
||||||
|
self.taskmaster = TaskHandler(show_progress_bar=show_progress)
|
||||||
|
tasks = [self.binhost]
|
||||||
|
self.taskmaster.run_tasks(tasks)
|
||||||
|
else:
|
||||||
|
self.call_emaint()
|
||||||
|
statinfo = os.stat(file_)
|
||||||
|
clean_size = size1 - statinfo.st_size
|
||||||
|
- self.controller("\n", clean_size, "Packages Index", file_, "Index")
|
||||||
|
+ self.controller(clean_size, "Packages Index", file_, "Index")
|
||||||
|
return clean_size
|
||||||
|
|
||||||
|
def call_emaint(self):
|
||||||
|
--
|
||||||
|
libgit2 1.4.3
|
||||||
|
|
@ -1,3 +1 @@
|
|||||||
DIST iwdevtools-0.10.1.tar.gz 61117 BLAKE2B fd5508a40a854987db7f2ecc0e68e100cd6a8b6cc5b90a9901bbf6c16336ebc497861e05a6c1683ac9082aa9f12a03cb47f7116da793fbd8e105ed78aae2bbb3 SHA512 0f04850f15edc8af368a87bbc665c62d5588f4220c2d15ca5c0dd00d2c8135f7e1294217c8aec313650b7b7aae6433b87bdc32306c2c4c6e6747e55a13adbbe0
|
|
||||||
DIST iwdevtools-0.11.2.tar.gz 84518 BLAKE2B 1d3920b8a1503a916f913d0c075a1f3c703ca238c55761c0cd6423f68e0395e2eb0c8ab07bf069c3cdf44ab9d07b4652184d790d9b74e1f00cb74e8b86290de6 SHA512 7e4584f8f2141b54bf32828801415e039ceec319095268fccb40f4960d66af2504da97fd6f18b1763f6beaef477ac3b6b0bf7ae9bac08a474de73b420ebd5a43
|
|
||||||
DIST iwdevtools-0.11.3.tar.gz 84838 BLAKE2B a4f501c24cc70b13ded5ca88599a3c11b076ae3a3464d065fe3999c8cb9268cfd17fc116197c09ddc6b968d7527409b348c0c1bdb939f6ed1b7a2abdfc868774 SHA512 38a62654042b714689fcf813a533ad463b7bdc0a4b501dc37c498e528792104a3db601f82781d889407217c824a9f48233544fb56a012de19fd34fa92d1de06d
|
DIST iwdevtools-0.11.3.tar.gz 84838 BLAKE2B a4f501c24cc70b13ded5ca88599a3c11b076ae3a3464d065fe3999c8cb9268cfd17fc116197c09ddc6b968d7527409b348c0c1bdb939f6ed1b7a2abdfc868774 SHA512 38a62654042b714689fcf813a533ad463b7bdc0a4b501dc37c498e528792104a3db601f82781d889407217c824a9f48233544fb56a012de19fd34fa92d1de06d
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
https://github.com/ionenwks/iwdevtools/commit/74d7b913a9bea5cfbf59e451d8db4a4c6140cba8
|
|
||||||
From: Ionen Wolkens <ionen@gentoo.org>
|
|
||||||
Date: Wed, 16 Mar 2022 09:51:00 -0400
|
|
||||||
Subject: [PATCH] qa-vdb: fix off-by-one in diff output
|
|
||||||
|
|
||||||
This wrongly assumed f1 array was always at least as big as f2
|
|
||||||
|
|
||||||
--- a/scripts/qa-vdb
|
|
||||||
+++ b/scripts/qa-vdb
|
|
||||||
@@ -203,8 +203,8 @@ vdb-get_libdiff() {
|
|
||||||
# create combined output
|
|
||||||
local -i len=0
|
|
||||||
local o mark changes=false
|
|
||||||
- for ((i=0; i < ${#f1[@]}; i++)); do
|
|
||||||
- : "${f2[i]:=}"
|
|
||||||
+ for ((i=0; i < (${#f1[@]}>${#f2[@]}?${#f1[@]}:${#f2[@]}); i++)); do
|
|
||||||
+ : "${f1[i]:=}${f2[i]:=}"
|
|
||||||
if [[ ${f1[i]} == "${f2[i]}" ]]; then
|
|
||||||
${O[full]} || continue
|
|
||||||
mark=' '
|
|
@ -1,22 +0,0 @@
|
|||||||
https://github.com/ionenwks/iwdevtools/commit/4e89c42455330b6660583ff1a4b54384346a123d
|
|
||||||
From: Ionen Wolkens <ionen@gentoo.org>
|
|
||||||
Date: Fri, 25 Feb 2022 04:20:17 -0500
|
|
||||||
Subject: [PATCH] qa-vdb: fix ldpath include regression
|
|
||||||
|
|
||||||
commit dd0bb44a3b190c756ce55c190b70f33bf350b7c5 was meant for
|
|
||||||
directories, however this is /not/ a directory. As a result
|
|
||||||
gcc's ld.so.conf wasn't included which could result in:
|
|
||||||
|
|
||||||
* VDB: detected possibly incorrect RDEPEND (app-text/qpdf-10.6.2)
|
|
||||||
* > cross-aarch64-unknown-linux-gnu/gcc:11
|
|
||||||
--- a/scripts/qa-vdb
|
|
||||||
+++ b/scripts/qa-vdb
|
|
||||||
@@ -674,7 +674,7 @@ _vdb-set_ldpath() {
|
|
||||||
path=${1%/*}/${path}
|
|
||||||
fi
|
|
||||||
for path in ${path}; do
|
|
||||||
- [[ -d ${path} && -x ${path} ]] || continue # ignore bad includes
|
|
||||||
+ [[ -r ${path} ]] || continue # ignore bad includes
|
|
||||||
_vdb-set_ldpath "${path}"
|
|
||||||
done
|
|
||||||
fi
|
|
@ -1,67 +0,0 @@
|
|||||||
# 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 ~loong 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} )"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${P}-ldpath-regression.patch
|
|
||||||
"${FILESDIR}"/${P}-diff-off-by-one.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
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
|
|
||||||
}
|
|
@ -1,64 +0,0 @@
|
|||||||
# 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 hppa ~loong ppc ppc64 ~riscv sparc x86"
|
|
||||||
IUSE="test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
app-misc/pax-utils
|
|
||||||
app-portage/portage-utils
|
|
||||||
>=app-shells/bash-5.1
|
|
||||||
dev-libs/libxml2:2
|
|
||||||
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
|
|
||||||
}
|
|
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST range-v3-0.10.0.tar.gz 525765 BLAKE2B 7dd3aed9b35920e058fe43bccd364831a52ad8d50179d1057ab7a37cdef82df021bb09a9913018ae78982fe136c855ba4101e31d35cfc21747af994d0103b95e SHA512 4db089dcbf638eb30fa20dcf6785dd460c5a074a8912984a484592753cfee9f5b9a0e2c56b5bc5921d1b6120877aa2c83ac0a6fe428088ef2854033a635e9723
|
DIST range-v3-0.10.0.tar.gz 525765 BLAKE2B 7dd3aed9b35920e058fe43bccd364831a52ad8d50179d1057ab7a37cdef82df021bb09a9913018ae78982fe136c855ba4101e31d35cfc21747af994d0103b95e SHA512 4db089dcbf638eb30fa20dcf6785dd460c5a074a8912984a484592753cfee9f5b9a0e2c56b5bc5921d1b6120877aa2c83ac0a6fe428088ef2854033a635e9723
|
||||||
DIST range-v3-0.11.0.tar.gz 533136 BLAKE2B d325b14a9d812cb7a600a947126bcecf9384bec987edbad42eec38560415d075815ab92e3f92dad291029fc3e1b1afa1ceaf54443b4a536078047fd32d344394 SHA512 9d6cdcbc1e50104206ba731c3bdc9aab3acfcf69cd83f0e0b4de18b88df2a9e73d64e55638421768d4433c542b6619f6e5af6b17cccd3090cf8b4d4efe9863e4
|
DIST range-v3-0.11.0.tar.gz 533136 BLAKE2B d325b14a9d812cb7a600a947126bcecf9384bec987edbad42eec38560415d075815ab92e3f92dad291029fc3e1b1afa1ceaf54443b4a536078047fd32d344394 SHA512 9d6cdcbc1e50104206ba731c3bdc9aab3acfcf69cd83f0e0b4de18b88df2a9e73d64e55638421768d4433c542b6619f6e5af6b17cccd3090cf8b4d4efe9863e4
|
||||||
|
DIST range-v3-0.12.0.tar.gz 582834 BLAKE2B 252066fae70aae76450226f2c17248662de4778dcebcd7dbaa2bf757c1bfe3e7441f65e41e3110c1ae83ae93a41c54d6c006dbf5482ffbe09a3aa4f51d02df9c SHA512 b8b632b8e0f2a3234ef61813212c237f648cd741e816ca57bd86f82f6459f7d755e2b70361d2aa43847874fb546a31a792ab1c3ba90292818ae7313438dc62d0
|
||||||
|
@ -0,0 +1,31 @@
|
|||||||
|
From 64fe7d738bb2c2aa8e9ba24d170a8548519156a7 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Eric Niebler <eniebler@nvidia.com>
|
||||||
|
Date: Wed, 22 Jun 2022 17:06:16 -0700
|
||||||
|
Subject: [PATCH] avoid constraint recursion with ranges::any ctor/assign
|
||||||
|
|
||||||
|
---
|
||||||
|
include/range/v3/utility/any.hpp | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/include/range/v3/utility/any.hpp b/include/range/v3/utility/any.hpp
|
||||||
|
index 0d2889264..5feb2f8cd 100644
|
||||||
|
--- a/include/range/v3/utility/any.hpp
|
||||||
|
+++ b/include/range/v3/utility/any.hpp
|
||||||
|
@@ -123,7 +123,7 @@ namespace ranges
|
||||||
|
public:
|
||||||
|
any() noexcept = default;
|
||||||
|
template(typename TRef, typename T = detail::decay_t<TRef>)(
|
||||||
|
- requires copyable<T> AND (!same_as<T, any>)) //
|
||||||
|
+ requires (!same_as<T, any>) AND copyable<T>) //
|
||||||
|
any(TRef && t)
|
||||||
|
: ptr_(new impl<T>(static_cast<TRef &&>(t)))
|
||||||
|
{}
|
||||||
|
@@ -138,7 +138,7 @@ namespace ranges
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
template(typename TRef, typename T = detail::decay_t<TRef>)(
|
||||||
|
- requires copyable<T> AND (!same_as<T, any>)) //
|
||||||
|
+ requires (!same_as<T, any>) AND copyable<T>) //
|
||||||
|
any & operator=(TRef && t)
|
||||||
|
{
|
||||||
|
any{static_cast<TRef &&>(t)}.swap(*this);
|
@ -0,0 +1,156 @@
|
|||||||
|
From 390a35e5815d1cb4e40e87d332df711de379a852 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Eric Niebler <eniebler@nvidia.com>
|
||||||
|
Date: Wed, 22 Jun 2022 22:56:28 -0700
|
||||||
|
Subject: [PATCH] work around strange gcc bug causing constraint recursion in
|
||||||
|
ranges::any
|
||||||
|
|
||||||
|
---
|
||||||
|
include/range/v3/detail/config.hpp | 8 ++---
|
||||||
|
include/range/v3/utility/any.hpp | 58 +++++++++++++++++-------------
|
||||||
|
2 files changed, 36 insertions(+), 30 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/include/range/v3/detail/config.hpp b/include/range/v3/detail/config.hpp
|
||||||
|
index f8015f436..d29dada10 100644
|
||||||
|
--- a/include/range/v3/detail/config.hpp
|
||||||
|
+++ b/include/range/v3/detail/config.hpp
|
||||||
|
@@ -351,9 +351,6 @@ namespace ranges
|
||||||
|
#define RANGES_WORKAROUND_CLANG_43400 // template friend is redefinition of itself
|
||||||
|
#endif
|
||||||
|
#else // __GNUC__
|
||||||
|
-#if __GNUC__ < 6
|
||||||
|
-#define RANGES_WORKAROUND_GCC_UNFILED0 /* Workaround old GCC name lookup bug */
|
||||||
|
-#endif
|
||||||
|
#if __GNUC__ == 7 || __GNUC__ == 8
|
||||||
|
#define RANGES_WORKAROUND_GCC_91525 /* Workaround strange GCC ICE */
|
||||||
|
#endif
|
||||||
|
@@ -724,8 +721,9 @@ namespace ranges
|
||||||
|
#endif
|
||||||
|
#endif // RANGES_CONSTEXPR_IF
|
||||||
|
|
||||||
|
-#if !defined(RANGES_BROKEN_CPO_LOOKUP) && !defined(RANGES_DOXYGEN_INVOKED) && \
|
||||||
|
- (defined(RANGES_WORKAROUND_GCC_UNFILED0) || defined(RANGES_WORKAROUND_MSVC_895622))
|
||||||
|
+#if !defined(RANGES_BROKEN_CPO_LOOKUP) && \
|
||||||
|
+ !defined(RANGES_DOXYGEN_INVOKED) && \
|
||||||
|
+ defined(RANGES_WORKAROUND_MSVC_895622)
|
||||||
|
#define RANGES_BROKEN_CPO_LOOKUP 1
|
||||||
|
#endif
|
||||||
|
#ifndef RANGES_BROKEN_CPO_LOOKUP
|
||||||
|
diff --git a/include/range/v3/utility/any.hpp b/include/range/v3/utility/any.hpp
|
||||||
|
index 5feb2f8cd..7a3807499 100644
|
||||||
|
--- a/include/range/v3/utility/any.hpp
|
||||||
|
+++ b/include/range/v3/utility/any.hpp
|
||||||
|
@@ -61,25 +61,9 @@ namespace ranges
|
||||||
|
template<typename T>
|
||||||
|
T const * any_cast(any const *) noexcept;
|
||||||
|
|
||||||
|
- struct any
|
||||||
|
+ namespace _any_
|
||||||
|
{
|
||||||
|
- private:
|
||||||
|
- template<typename T>
|
||||||
|
- friend meta::if_c<std::is_reference<T>() || (bool)copyable<T>, T> any_cast(any &);
|
||||||
|
-
|
||||||
|
- template<typename T>
|
||||||
|
- friend meta::if_c<std::is_reference<T>() || (bool)copyable<T>, T> any_cast(
|
||||||
|
- any const &);
|
||||||
|
-
|
||||||
|
- template<typename T>
|
||||||
|
- friend meta::if_c<std::is_reference<T>() || (bool)copyable<T>, T> any_cast(
|
||||||
|
- any &&);
|
||||||
|
-
|
||||||
|
- template<typename T>
|
||||||
|
- friend T * any_cast(any *) noexcept;
|
||||||
|
-
|
||||||
|
- template<typename T>
|
||||||
|
- friend T const * any_cast(any const *) noexcept;
|
||||||
|
+ struct _base {};
|
||||||
|
|
||||||
|
struct interface
|
||||||
|
{
|
||||||
|
@@ -117,15 +101,39 @@ namespace ranges
|
||||||
|
return typeid(T);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
+ } // namespace _any_
|
||||||
|
+
|
||||||
|
+ struct any
|
||||||
|
+ #if RANGES_BROKEN_CPO_LOOKUP
|
||||||
|
+ : private _any_::_base
|
||||||
|
+ #endif
|
||||||
|
+ {
|
||||||
|
+ private:
|
||||||
|
+ template<typename T>
|
||||||
|
+ friend meta::if_c<std::is_reference<T>() || (bool)copyable<T>, T> any_cast(any &);
|
||||||
|
+
|
||||||
|
+ template<typename T>
|
||||||
|
+ friend meta::if_c<std::is_reference<T>() || (bool)copyable<T>, T> any_cast(
|
||||||
|
+ any const &);
|
||||||
|
+
|
||||||
|
+ template<typename T>
|
||||||
|
+ friend meta::if_c<std::is_reference<T>() || (bool)copyable<T>, T> any_cast(
|
||||||
|
+ any &&);
|
||||||
|
+
|
||||||
|
+ template<typename T>
|
||||||
|
+ friend T * any_cast(any *) noexcept;
|
||||||
|
+
|
||||||
|
+ template<typename T>
|
||||||
|
+ friend T const * any_cast(any const *) noexcept;
|
||||||
|
|
||||||
|
- std::unique_ptr<interface> ptr_;
|
||||||
|
+ std::unique_ptr<_any_::interface> ptr_;
|
||||||
|
|
||||||
|
public:
|
||||||
|
any() noexcept = default;
|
||||||
|
template(typename TRef, typename T = detail::decay_t<TRef>)(
|
||||||
|
requires (!same_as<T, any>) AND copyable<T>) //
|
||||||
|
any(TRef && t)
|
||||||
|
- : ptr_(new impl<T>(static_cast<TRef &&>(t)))
|
||||||
|
+ : ptr_(new _any_::impl<T>(static_cast<TRef &&>(t)))
|
||||||
|
{}
|
||||||
|
any(any &&) noexcept = default;
|
||||||
|
any(any const & that)
|
||||||
|
@@ -185,7 +193,7 @@ namespace ranges
|
||||||
|
{
|
||||||
|
if(x.type() != typeid(detail::decay_t<T>))
|
||||||
|
throw bad_any_cast{};
|
||||||
|
- return static_cast<any::impl<detail::decay_t<T>> *>(x.ptr_.get())->get();
|
||||||
|
+ return static_cast<_any_::impl<detail::decay_t<T>> *>(x.ptr_.get())->get();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// \overload
|
||||||
|
@@ -194,7 +202,7 @@ namespace ranges
|
||||||
|
{
|
||||||
|
if(x.type() != typeid(detail::decay_t<T>))
|
||||||
|
throw bad_any_cast{};
|
||||||
|
- return static_cast<any::impl<detail::decay_t<T>> const *>(x.ptr_.get())->get();
|
||||||
|
+ return static_cast<_any_::impl<detail::decay_t<T>> const *>(x.ptr_.get())->get();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// \overload
|
||||||
|
@@ -203,7 +211,7 @@ namespace ranges
|
||||||
|
{
|
||||||
|
if(x.type() != typeid(detail::decay_t<T>))
|
||||||
|
throw bad_any_cast{};
|
||||||
|
- return static_cast<any::impl<detail::decay_t<T>> *>(x.ptr_.get())->get();
|
||||||
|
+ return static_cast<_any_::impl<detail::decay_t<T>> *>(x.ptr_.get())->get();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// \overload
|
||||||
|
@@ -211,7 +219,7 @@ namespace ranges
|
||||||
|
T * any_cast(any * p) noexcept
|
||||||
|
{
|
||||||
|
if(p && p->ptr_)
|
||||||
|
- if(any::impl<T> * q = dynamic_cast<any::impl<T> *>(p->ptr_.get()))
|
||||||
|
+ if(_any_::impl<T> * q = dynamic_cast<_any_::impl<T> *>(p->ptr_.get()))
|
||||||
|
return &q->get();
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
@@ -221,7 +229,7 @@ namespace ranges
|
||||||
|
T const * any_cast(any const * p) noexcept
|
||||||
|
{
|
||||||
|
if(p && p->ptr_)
|
||||||
|
- if(any::impl<T> const * q = dynamic_cast<any::impl<T> const *>(p->ptr_.get()))
|
||||||
|
+ if(_any_::impl<T> const * q = dynamic_cast<_any_::impl<T> const *>(p->ptr_.get()))
|
||||||
|
return &q->get();
|
||||||
|
return nullptr;
|
||||||
|
}
|
@ -0,0 +1,46 @@
|
|||||||
|
# Copyright 2020-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit cmake
|
||||||
|
|
||||||
|
DESCRIPTION="Range library for C++14/17/20, basis for C++20's std::ranges"
|
||||||
|
HOMEPAGE="https://github.com/ericniebler/range-v3"
|
||||||
|
SRC_URI="https://github.com/ericniebler/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Boost-1.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/0.12.0-fix-any-1.patch"
|
||||||
|
"${FILESDIR}/0.12.0-fix-any-2.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# header-only libraries go to arch-independent dirs
|
||||||
|
sed -i -e 's@CMAKE_INSTALL_LIBDIR@CMAKE_INSTALL_DATADIR@g' CMakeLists.txt || die
|
||||||
|
rm include/module.modulemap || die # https://bugs.gentoo.org/755740
|
||||||
|
cmake_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DRANGES_BUILD_CALENDAR_EXAMPLE=OFF
|
||||||
|
-DRANGES_NATIVE=OFF
|
||||||
|
-DRANGES_DEBUG_INFO=OFF
|
||||||
|
-DRANGES_NATIVE=OFF
|
||||||
|
-DRANGES_ENABLE_WERROR=OFF
|
||||||
|
-DRANGES_VERBOSE_BUILD=ON
|
||||||
|
-DRANGE_V3_EXAMPLES=OFF
|
||||||
|
-DRANGE_V3_PERF=OFF
|
||||||
|
-DRANGE_V3_DOCS=OFF
|
||||||
|
-DRANGE_V3_HEADER_CHECKS="$(usex test ON OFF)"
|
||||||
|
-DRANGE_V3_TESTS=$(usex test ON OFF)
|
||||||
|
#TODO: clang support + -DRANGES_MODULES=yes
|
||||||
|
)
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST gpsim-0.30.0.tar.gz 3385728 BLAKE2B 05be3672cb31253ef132dd600a39710cb952cef356ebb69d0b09119e578faa05e6f25613a83e076ddca568f0560da25df6361331364e70ff8db8f4f47b8f5de5 SHA512 8681f06e73569b801d2961858c8676490d93f7ef40e99f07e7a5eff16955850b66bcd8182aa22ba0edca0b10723cb3a5b7b8bf52fdb0cc94955c3072352292df
|
|
||||||
DIST gpsim-0.31.0.tar.gz 3454179 BLAKE2B 449f891c7a765ce06da87c8de1a8adc0d7e15c9af175fc2988d604660108c14cc816247358a71bbb55813c5144f6973c01d3c9c27c44f2a45820b85cedc97d2c SHA512 a6af7e9170cee11c35f0e4731d39876e563edd8ca9cbd0f4b3017f224e5317b4c8bcc8aa4468102fa5c11157f487b6c7354e3aba8778842ed0b5be9bbb9ef45f
|
DIST gpsim-0.31.0.tar.gz 3454179 BLAKE2B 449f891c7a765ce06da87c8de1a8adc0d7e15c9af175fc2988d604660108c14cc816247358a71bbb55813c5144f6973c01d3c9c27c44f2a45820b85cedc97d2c SHA512 a6af7e9170cee11c35f0e4731d39876e563edd8ca9cbd0f4b3017f224e5317b4c8bcc8aa4468102fa5c11157f487b6c7354e3aba8778842ed0b5be9bbb9ef45f
|
||||||
|
@ -1,37 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
DESCRIPTION="A simulator for the Microchip PIC microcontrollers"
|
|
||||||
HOMEPAGE="http://gpsim.sourceforge.net"
|
|
||||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~ppc ~ppc64 x86"
|
|
||||||
IUSE="doc gtk static-libs"
|
|
||||||
|
|
||||||
RDEPEND=">=dev-embedded/gputils-0.12
|
|
||||||
dev-libs/glib:2
|
|
||||||
dev-libs/popt
|
|
||||||
sys-libs/readline:0=
|
|
||||||
gtk? ( >=x11-libs/gtk+extra-2 )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
sys-devel/flex
|
|
||||||
virtual/pkgconfig
|
|
||||||
virtual/yacc"
|
|
||||||
|
|
||||||
DOCS=( ANNOUNCE AUTHORS ChangeLog HISTORY PROCESSORS README README.MODULES TODO )
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf \
|
|
||||||
$(use_enable gtk gui) \
|
|
||||||
$(use_enable static-libs static)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
use doc && dodoc doc/gpsim.pdf
|
|
||||||
find "${ED}" -name '*.la' -delete || die
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
DIST intel-compute-runtime-22.22.23355.tar.gz 5498680 BLAKE2B 81368ca9a5151305a5eb656ecca6a8d51129df2f567631d72fc5965c66b367e843bcf7b89a201702aa78e430d60e706079eba48a11cfd2b6a82e7a34d7ac5789 SHA512 72813ebd5de38d31f9ceb8087c38337d1bd0bb35256b86f3f3d7f3adc5ebe73b3cdc04bf653a522e25098b38c3b867f62fc3590eedf17e11d2fc03c2aa2b22e2
|
|
||||||
DIST intel-compute-runtime-22.23.23405.tar.gz 5515173 BLAKE2B eafb5a4ed8a221bc5290576a137f371f2f9d3cebbe1e689f3d1ce41f9430a5242d82ae78799f523f29685c3a731570e4a6766f804faa0f6bb7bae365cb5d6573 SHA512 38ffadd9130717acb0e8d6492b2bb4d8d5c962b151784a92c85d6249cbab1014dcd418bf5110eccc1640334c1ab0d171b7028d2f0d95d606733b42a319bf2f0b
|
DIST intel-compute-runtime-22.23.23405.tar.gz 5515173 BLAKE2B eafb5a4ed8a221bc5290576a137f371f2f9d3cebbe1e689f3d1ce41f9430a5242d82ae78799f523f29685c3a731570e4a6766f804faa0f6bb7bae365cb5d6573 SHA512 38ffadd9130717acb0e8d6492b2bb4d8d5c962b151784a92c85d6249cbab1014dcd418bf5110eccc1640334c1ab0d171b7028d2f0d95d606733b42a319bf2f0b
|
||||||
DIST intel-compute-runtime-22.24.23453.tar.gz 5521386 BLAKE2B c025539c0d2a0ac492ddc5893c0d077523bbc0c0e1dcdb3d086ff381b36f26d0a7b24aecb0ba04e915e443eafecbaf171ef54fc0c455e57b0ae622ef164f4056 SHA512 fb57348ef4cad48b7d09bf8db64a874a63bdbbd586323c25b7c9cf7461bfd62c1cd061c4b989c52466e5d364fde9dec2335bf7e244baadd573888ba904ba867c
|
DIST intel-compute-runtime-22.24.23453.tar.gz 5521386 BLAKE2B c025539c0d2a0ac492ddc5893c0d077523bbc0c0e1dcdb3d086ff381b36f26d0a7b24aecb0ba04e915e443eafecbaf171ef54fc0c455e57b0ae622ef164f4056 SHA512 fb57348ef4cad48b7d09bf8db64a874a63bdbbd586323c25b7c9cf7461bfd62c1cd061c4b989c52466e5d364fde9dec2335bf7e244baadd573888ba904ba867c
|
||||||
DIST intel-compute-runtime-22.25.23529.tar.gz 5542277 BLAKE2B da718987fd3f3239b6cfc60914f02cc67b7174cb92f3a12e5d8f78b39631892b1c69368eb89590c3a7dfc9e930eb8254ec33c43028073cffac06bd3f718164bb SHA512 5ad80357a27cba76b95099ce5a0edc5271d7328769d6e84039fa94f94be99f02cf4890ee05702db18e28beba6fadea46aa2f0eb236ed8c27cb95bee075f2f6d6
|
DIST intel-compute-runtime-22.25.23529.tar.gz 5542277 BLAKE2B da718987fd3f3239b6cfc60914f02cc67b7174cb92f3a12e5d8f78b39631892b1c69368eb89590c3a7dfc9e930eb8254ec33c43028073cffac06bd3f718164bb SHA512 5ad80357a27cba76b95099ce5a0edc5271d7328769d6e84039fa94f94be99f02cf4890ee05702db18e28beba6fadea46aa2f0eb236ed8c27cb95bee075f2f6d6
|
||||||
DIST intel-compute-runtime-22.26.23599.tar.gz 5574368 BLAKE2B 6302ced3e75d7d31a55c20e0c08f915fc2d3df149a843115ce925c62b50e2c9b47fc61ea48ad45a52967703f3d9e31ff23cd4e61d1666e5cf072d7c84c0ef416 SHA512 1ce2b0e9d3886ab51636265c7e1a91bbe817e27995d8e2d96fc4b67633c89f11232005f18f81a462f76fa67d9298fce51a335b9c4545d8b461019cd9e487b4dc
|
DIST intel-compute-runtime-22.26.23599.tar.gz 5574368 BLAKE2B 6302ced3e75d7d31a55c20e0c08f915fc2d3df149a843115ce925c62b50e2c9b47fc61ea48ad45a52967703f3d9e31ff23cd4e61d1666e5cf072d7c84c0ef416 SHA512 1ce2b0e9d3886ab51636265c7e1a91bbe817e27995d8e2d96fc4b67633c89f11232005f18f81a462f76fa67d9298fce51a335b9c4545d8b461019cd9e487b4dc
|
||||||
|
DIST intel-compute-runtime-22.27.23681.tar.gz 5593740 BLAKE2B 5d627623e7b0ec89aacb5dfee7442803254c233382a2b242f0f856d51256a60d614e6a3d88ec5c0d494ad25211adb5d75a13b5ff86739795e46aa50e7a9686e4 SHA512 1269126ff447f7c0e1ec9e33ef5245476afe44812a2b6ded86f6219ae61c74bf862a152a740684638b12cdcffce454af3a3be5b4b16c3b7f9c0e7b660b73701a
|
||||||
|
@ -1,2 +1 @@
|
|||||||
DIST ncnn-20220420.tar.gz 12158916 BLAKE2B fcecf395e54ff683bb8301365d805b99439b3797493e419fa8c99a325ebd1dfd80e65b08cffd9283fe453010a0cdde221aeeffa37e154335d2f6d7f6c6b9b138 SHA512 7c567bcd75cf36be7fbb16dba7f978ae965478afed8948e9e1c6f8c681ea678f769e64fae337a5c1d0bc1549bf922c1761b51a7822153a1eb4d267ef8adf1ecd
|
|
||||||
DIST ncnn-20220701.tar.gz 12220010 BLAKE2B 3038500683c9ea1634777cb4158aea0d6c6e640cb4a31302b99c546f000fb91f5d75d01328cf35896b7579dc3172512d120612f973ae9881b4f95d101607adcb SHA512 4b7f539213c8f06a426d1633e881ceeabee84b5419e890eaa95447868a511cad8a4528d1e311c87ed322ccabbcfb38cc1725592fb6299ef9be7e068c43bbd0b2
|
DIST ncnn-20220701.tar.gz 12220010 BLAKE2B 3038500683c9ea1634777cb4158aea0d6c6e640cb4a31302b99c546f000fb91f5d75d01328cf35896b7579dc3172512d120612f973ae9881b4f95d101607adcb SHA512 4b7f539213c8f06a426d1633e881ceeabee84b5419e890eaa95447868a511cad8a4528d1e311c87ed322ccabbcfb38cc1725592fb6299ef9be7e068c43bbd0b2
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
Needed to use system's glslang rather than bundled.
|
|
||||||
https://github.com/Tencent/ncnn/issues/2622
|
|
||||||
--- a/src/gpu.cpp
|
|
||||||
+++ b/src/gpu.cpp
|
|
||||||
@@ -23,3 +23,3 @@
|
|
||||||
#include "glslang/SPIRV/GlslangToSpv.h"
|
|
||||||
-#include "glslang/glslang/Public/ShaderLang.h"
|
|
||||||
+#include "glslang/Public/ShaderLang.h"
|
|
||||||
|
|
@ -1,73 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit cmake
|
|
||||||
|
|
||||||
DESCRIPTION="High-performance neural network inference framework"
|
|
||||||
HOMEPAGE="https://github.com/Tencent/ncnn/"
|
|
||||||
SRC_URI="https://github.com/Tencent/ncnn/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD ZLIB"
|
|
||||||
SLOT="0/${PV}" # currently has unstable ABI that often requires rebuilds
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="tools +vulkan"
|
|
||||||
|
|
||||||
# Need the static library to run tests + skip vulkan / GPU:
|
|
||||||
# -DNCNN_BUILD_TESTS=ON -DNCNN_SHARED_LIB=OFF -DNCNN_VULKAN=OFF
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-util/glslang
|
|
||||||
tools? ( dev-libs/protobuf:= )
|
|
||||||
vulkan? ( media-libs/vulkan-loader )"
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
vulkan? ( dev-util/vulkan-headers )"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-fix-glslang-include.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
DOCS=( README.md docs/. )
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
cmake_src_prepare
|
|
||||||
|
|
||||||
sed -i "/DESTINATION/s| lib| $(get_libdir)|" src/CMakeLists.txt || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DCMAKE_SKIP_RPATH=ON # for tools
|
|
||||||
-DGLSLANG_TARGET_DIR="${ESYSROOT}"/usr/$(get_libdir)/cmake
|
|
||||||
-DNCNN_BUILD_EXAMPLES=OFF
|
|
||||||
-DNCNN_BUILD_TOOLS=$(usex tools)
|
|
||||||
-DNCNN_PYTHON=OFF # missing portalocker, and nothing needs this for now
|
|
||||||
-DNCNN_SHARED_LIB=ON
|
|
||||||
-DNCNN_SYSTEM_GLSLANG=ON
|
|
||||||
-DNCNN_VERSION=${PV} # avoids libncnn.so.*.%Y%m%d (build date)
|
|
||||||
-DNCNN_VULKAN=$(usex vulkan)
|
|
||||||
)
|
|
||||||
|
|
||||||
cmake_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cmake_src_install
|
|
||||||
|
|
||||||
if use tools; then
|
|
||||||
local tools=(
|
|
||||||
caffe/caffe2ncnn
|
|
||||||
darknet/darknet2ncnn
|
|
||||||
mxnet/mxnet2ncnn
|
|
||||||
ncnn2mem
|
|
||||||
ncnnmerge
|
|
||||||
ncnnoptimize
|
|
||||||
onnx/onnx2ncnn
|
|
||||||
quantize/{ncnn2int8,ncnn2table}
|
|
||||||
)
|
|
||||||
dobin "${tools[@]/#/${BUILD_DIR}/tools/}"
|
|
||||||
fi
|
|
||||||
}
|
|
Binary file not shown.
@ -1 +1 @@
|
|||||||
DIST luaossl-rel-20200709.tar.gz 352960 BLAKE2B f4cd53937d7a9c724ab9f2f6a13f1da8fa54216f01fe2af7e65cf7ebdad1f8740491ba1fc6bcc2bf4ac377bde0d2e370433e76a5105c6226e0d9745e12bec0ea SHA512 324175f65e9d292ecb1343cfa9e111f1fd17f15e67037bd705d3db95d32b859c039a6e70620d649f446a8e7043a125a75c64de1714f0fe18e077fb9c017bea34
|
DIST luaossl-rel-20220711.tar.gz 505174 BLAKE2B be8736c9198c2c602ab4495f5498e96c90c66ac2712c4c299e3279fa5acd9168fcac29730f1db000eb908ca5f0a2215856c75bbd4a2cf3927cbdf82615160467 SHA512 13c51881218a5a9995d195d4781f6871f0dfe58f061b85dd997b98ec970a38302ac6b057b7987bff5f7719bfdb826aae09f602ea8db5e4b2d462648ad0236909
|
||||||
|
Binary file not shown.
@ -1,3 +1,4 @@
|
|||||||
DIST boto3-1.24.17.gh.tar.gz 511281 BLAKE2B 577efc0ebfb39957e55bcaf7aa678cdf072eed885ab1055b15fc8ca2295fedd6d56fd2fb919913beedcdd335ff26e452bc5434283c9ca9d8f0135080e2aa1312 SHA512 a843146951eb2a5ad7dd31159d833806ae403014abf3e9a617f6457e3ecec1a0dc4c6ce6a87079c9112513cbd6a2ccd26542e5736eeea6c5723c7e39c660befa
|
DIST boto3-1.24.17.gh.tar.gz 511281 BLAKE2B 577efc0ebfb39957e55bcaf7aa678cdf072eed885ab1055b15fc8ca2295fedd6d56fd2fb919913beedcdd335ff26e452bc5434283c9ca9d8f0135080e2aa1312 SHA512 a843146951eb2a5ad7dd31159d833806ae403014abf3e9a617f6457e3ecec1a0dc4c6ce6a87079c9112513cbd6a2ccd26542e5736eeea6c5723c7e39c660befa
|
||||||
DIST boto3-1.24.22.gh.tar.gz 513301 BLAKE2B 1b71d128cc8f8224fd1ef521988e6b5e941562c256c2769941340f6a9e3342394f9e2cf20d658bc4b0e9f5ddaebc832ae8fdc96e35e348b73631ca01f0be33a6 SHA512 eb64a050c1b63da823fad2b10db828fefbf75a95ae1f222576eabb8efa80cbbb3e54862dfd40813a8d58f9c329f4d95595bbebc172bcf0141c241499af7d4726
|
DIST boto3-1.24.22.gh.tar.gz 513301 BLAKE2B 1b71d128cc8f8224fd1ef521988e6b5e941562c256c2769941340f6a9e3342394f9e2cf20d658bc4b0e9f5ddaebc832ae8fdc96e35e348b73631ca01f0be33a6 SHA512 eb64a050c1b63da823fad2b10db828fefbf75a95ae1f222576eabb8efa80cbbb3e54862dfd40813a8d58f9c329f4d95595bbebc172bcf0141c241499af7d4726
|
||||||
DIST boto3-1.24.26.gh.tar.gz 515531 BLAKE2B 34f99c4dd224731e07c2f0b175d6d172661ce454a7af16be6856053af1bfac69b7f56ada5b154fb625fe2ba1fb22fbe34b5150c550890e46a923b48f2466b06b SHA512 a3980ec79abd5e2656d7d02b36dff6b8c2acb67033eff134d96dccbb9d8bbc2d711698b87d08d537256fad7e3b3cd7af008018ef567b12d63ef0fc871a8f3b3e
|
DIST boto3-1.24.26.gh.tar.gz 515531 BLAKE2B 34f99c4dd224731e07c2f0b175d6d172661ce454a7af16be6856053af1bfac69b7f56ada5b154fb625fe2ba1fb22fbe34b5150c550890e46a923b48f2466b06b SHA512 a3980ec79abd5e2656d7d02b36dff6b8c2acb67033eff134d96dccbb9d8bbc2d711698b87d08d537256fad7e3b3cd7af008018ef567b12d63ef0fc871a8f3b3e
|
||||||
|
DIST boto3-1.24.27.gh.tar.gz 516237 BLAKE2B 968d48e9f1bf888df5dfc2ebb2d926d918121f96246e8d36ff872e93e347db3d97db42304e148cd21845bc3904977e0000a0e846bb104990cee23343c5995776 SHA512 3ff77f52a5236b12a7344ee9279cbfd53d6847f5afd980820f46971e62ebfa0f2639634c23cd962dfd087af1176596484dbedda6dee3674816a7a569f528caf5
|
||||||
|
@ -0,0 +1,68 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1 multiprocessing
|
||||||
|
|
||||||
|
DESCRIPTION="The AWS SDK for Python"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/boto/boto3/
|
||||||
|
https://pypi.org/project/boto3/
|
||||||
|
"
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
EGIT_REPO_URI="https://github.com/boto/boto3"
|
||||||
|
inherit git-r3
|
||||||
|
BOTOCORE_PV=${PV}
|
||||||
|
else
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/boto/boto3/archive/${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
|
||||||
|
# botocore is x.(y+3).z
|
||||||
|
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/mock[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs/source \
|
||||||
|
'dev-python/guzzle_sphinx_theme'
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
# don't lock versions to narrow ranges
|
||||||
|
sed -e '/botocore/ d' \
|
||||||
|
-e '/jmespath/ d' \
|
||||||
|
-e '/s3transfer/ d' \
|
||||||
|
-i setup.py || die
|
||||||
|
|
||||||
|
# do not rely on bundled deps in botocore (sic!)
|
||||||
|
find -name '*.py' -exec sed -i \
|
||||||
|
-e 's:from botocore[.]vendored import:import:' \
|
||||||
|
-e 's:from botocore[.]vendored[.]:from :' \
|
||||||
|
{} + || die
|
||||||
|
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
epytest tests/{functional,unit} -n "$(makeopts_jobs)"
|
||||||
|
}
|
@ -1,3 +1,4 @@
|
|||||||
DIST botocore-1.27.17.tar.gz 9130505 BLAKE2B 04c6b37f3b42a0f9fb696b5213338b004418a68c754f5027ad447119fb20556dc49bd53f40fd9560ea3f5bdcf2afbe151dba68e901079baec770f9f223b1a894 SHA512 b1a145d3c97adfd4df40639da99e1c34087508be189d5818ee7176f20454f2897a6f518a14b4bfbf41cb169a17188bec467337c10d0ad511e223f0c1ff5b64ee
|
DIST botocore-1.27.17.tar.gz 9130505 BLAKE2B 04c6b37f3b42a0f9fb696b5213338b004418a68c754f5027ad447119fb20556dc49bd53f40fd9560ea3f5bdcf2afbe151dba68e901079baec770f9f223b1a894 SHA512 b1a145d3c97adfd4df40639da99e1c34087508be189d5818ee7176f20454f2897a6f518a14b4bfbf41cb169a17188bec467337c10d0ad511e223f0c1ff5b64ee
|
||||||
DIST botocore-1.27.22.tar.gz 9151155 BLAKE2B e3aa6e9814e07bca2bd67d16f6548303af71654021b28f13c43b4005ba24a32cfccffa9a145babb781a6cbff9df3eab7de4c18973c00b3861ba83264eb144537 SHA512 57e43577840c62556760ff40d820898b0ee1efeb5da39fbdfe8c7ef53e86c8184bdfed5a52eeb9d0652fa053900462bdad9820b4a34bd4b5231f361b89c710d6
|
DIST botocore-1.27.22.tar.gz 9151155 BLAKE2B e3aa6e9814e07bca2bd67d16f6548303af71654021b28f13c43b4005ba24a32cfccffa9a145babb781a6cbff9df3eab7de4c18973c00b3861ba83264eb144537 SHA512 57e43577840c62556760ff40d820898b0ee1efeb5da39fbdfe8c7ef53e86c8184bdfed5a52eeb9d0652fa053900462bdad9820b4a34bd4b5231f361b89c710d6
|
||||||
DIST botocore-1.27.26.tar.gz 9167551 BLAKE2B 9e95c1e6e5261b08247615446a589318d92cc86768c5e3999f99fb8e2a4a888309d72d4d3d66a1ebf9c1e2b6ccab6265a1d94ad9dcbf9da22aa1ae012aa2bfb3 SHA512 bbb563c2bc8eb3fe022f0b7be263ef16de93aadb02fb7a8e242f53a957a97e8f8b5d043ea8897a7b268d4d64b1e4972f2ccc91b8255f232c858f6a9ba1d93f34
|
DIST botocore-1.27.26.tar.gz 9167551 BLAKE2B 9e95c1e6e5261b08247615446a589318d92cc86768c5e3999f99fb8e2a4a888309d72d4d3d66a1ebf9c1e2b6ccab6265a1d94ad9dcbf9da22aa1ae012aa2bfb3 SHA512 bbb563c2bc8eb3fe022f0b7be263ef16de93aadb02fb7a8e242f53a957a97e8f8b5d043ea8897a7b268d4d64b1e4972f2ccc91b8255f232c858f6a9ba1d93f34
|
||||||
|
DIST botocore-1.27.27.tar.gz 9168895 BLAKE2B 71cc1d94a570110305a37c6813e626bf2c06189692af6a0c1c751f63b329fb13c41e048103b1938f680cf00d08b2c16d253fcee0d559716ccc411be4635f8741 SHA512 d974824a5f1d6bdf332c49682fede28b1b2c464928595929c5f7e8c2cbcdc8216cd590dfdf2dadffbd4cd21e1aeefc89744424e09eab876ad77280e6023b362f
|
||||||
|
@ -0,0 +1,66 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1 multiprocessing
|
||||||
|
|
||||||
|
DESCRIPTION="Low-level, data-driven core of boto 3"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/boto/botocore/
|
||||||
|
https://pypi.org/project/botocore/
|
||||||
|
"
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
EGIT_REPO_URI="https://github.com/boto/botocore"
|
||||||
|
inherit git-r3
|
||||||
|
else
|
||||||
|
SRC_URI="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-2[${PYTHON_USEDEP}]
|
||||||
|
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs/source \
|
||||||
|
'dev-python/guzzle_sphinx_theme'
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# unpin deps
|
||||||
|
sed -i -e "s:>=.*':':" setup.py || die
|
||||||
|
|
||||||
|
# unbundle deps
|
||||||
|
rm -r botocore/vendored || die
|
||||||
|
find -name '*.py' -exec sed -i \
|
||||||
|
-e 's:from botocore[.]vendored import:import:' \
|
||||||
|
-e 's:from botocore[.]vendored[.]:from :' \
|
||||||
|
{} + || die
|
||||||
|
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local EPYTEST_DESELECT=(
|
||||||
|
# rely on bundled six
|
||||||
|
tests/functional/test_six_imports.py::test_no_bare_six_imports
|
||||||
|
tests/functional/test_six_threading.py::test_six_thread_safety
|
||||||
|
)
|
||||||
|
|
||||||
|
epytest tests/{functional,unit} -n "$(makeopts_jobs)"
|
||||||
|
}
|
@ -0,0 +1 @@
|
|||||||
|
DIST caldav-0.9.1.gh.tar.gz 105578 BLAKE2B 3581bb0f40daf312b32ff2ef88a31502449e0727f8e6178574c5350fb0312726d62cc9e4be3b9e73b4ee55282a32fcc503da48d49c3e7f0639a96de8197e6f8b SHA512 9171a09aa81bd6ad885aaaa3dac4cb53cb05235b37aa5be72d641b1cd2ee27928213eb95358654e99adfdbf70bea4567977509f972f54b8747162e91c95e1397
|
@ -0,0 +1,40 @@
|
|||||||
|
# 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="CalDAV (RFC4791) client library for Python"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/python-caldav/caldav
|
||||||
|
https://pypi.org/project/caldav/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/python-caldav/caldav/archive/refs/tags/v${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="|| ( GPL-3 Apache-2.0 )"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/lxml[${PYTHON_USEDEP}]
|
||||||
|
dev-python/requests[${PYTHON_USEDEP}]
|
||||||
|
dev-python/six[${PYTHON_USEDEP}]
|
||||||
|
dev-python/vobject[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/icalendar[${PYTHON_USEDEP}]
|
||||||
|
dev-python/tzlocal[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytz[${PYTHON_USEDEP}]
|
||||||
|
www-apps/radicale[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>python@gentoo.org</email>
|
||||||
|
<name>Python</name>
|
||||||
|
</maintainer>
|
||||||
|
<stabilize-allarches/>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="pypi">caldav</remote-id>
|
||||||
|
<remote-id type="github">python-caldav/caldav</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
@ -1 +1,2 @@
|
|||||||
DIST icalendar-4.0.9.tar.gz 84254 BLAKE2B c1ca7a7730404f7079e8fac8270f98a60ecd4e657f2b2b3d376d620f12c11a0db6dcd5713f7d2d4935c859d544497fa544b22ffb1a83be9c11ec2ea3923da93b SHA512 2eeb69da89207fe91661dfa6e9c2a623eb3be2fb5a48e999e87a881d7fecc1f339764124601b0610a14ce809f238c6731f30f2071bb4706206de10181365d1dd
|
DIST icalendar-4.0.9.tar.gz 84254 BLAKE2B c1ca7a7730404f7079e8fac8270f98a60ecd4e657f2b2b3d376d620f12c11a0db6dcd5713f7d2d4935c859d544497fa544b22ffb1a83be9c11ec2ea3923da93b SHA512 2eeb69da89207fe91661dfa6e9c2a623eb3be2fb5a48e999e87a881d7fecc1f339764124601b0610a14ce809f238c6731f30f2071bb4706206de10181365d1dd
|
||||||
|
DIST icalendar-4.1.0.tar.gz 78706 BLAKE2B a676b938101e901c45cfeceba031c35f26dc361832ca24877acefcbe9158e111d883b757a133d72901579f73b32e34adbcb47db6d8ccbaa49f013106c282401e SHA512 15bdf4fd22394836d120d7d7ee029e218247d731c51bd99d4e6df7dd6046b91ea0874b8a81bd6090d366fff035329eac98cabdf0ba5aead43efc82c1e6566b23
|
||||||
|
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Package used for parsing and generating iCalendar files (RFC 2445)"
|
||||||
|
HOMEPAGE="https://github.com/collective/icalendar"
|
||||||
|
SRC_URI="mirror://pypi/${P::1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytz[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
# reset conf.py to not read version from an installed instance
|
||||||
|
sed -e "s:pkg_resources.get_distribution('icalendar').version:'${PV}':" \
|
||||||
|
-i docs/conf.py || die
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
@ -1,3 +1,4 @@
|
|||||||
DIST jsonschema-4.6.0.tar.gz 269939 BLAKE2B f214f65fbb908029f221789ab3857db9cbc1a7bb355f04a46bc7798514ba73ac3ba6f78cc3eaf985c19b16607ea6cf38bf46c9a8e19b1b1aef0138ef74239a4c SHA512 82d9e0c7de867c4a53b67b9dc79a38a76e384f5d41c66b52c57d407e03eb97faf8ebf41370ef08b30966f13eca210f94916b6a40347a2a75088e33017ccc2f5f
|
DIST jsonschema-4.6.0.tar.gz 269939 BLAKE2B f214f65fbb908029f221789ab3857db9cbc1a7bb355f04a46bc7798514ba73ac3ba6f78cc3eaf985c19b16607ea6cf38bf46c9a8e19b1b1aef0138ef74239a4c SHA512 82d9e0c7de867c4a53b67b9dc79a38a76e384f5d41c66b52c57d407e03eb97faf8ebf41370ef08b30966f13eca210f94916b6a40347a2a75088e33017ccc2f5f
|
||||||
DIST jsonschema-4.6.1.tar.gz 278452 BLAKE2B 0b5c90b790cf7430bfbea4b38f90acec6fc256bf521d9552b463489751da3f889b43021e9d94c3ed4bd7704c462141d73d25273eea1331c85a0d2d04d5c9ad18 SHA512 5c0e2806915ef4545092b0bffe4cc1207d9a6f2a6920c10894d5b7b2a9ed665093b7a9a68114d1a05528869e7d8aed902e7569800db4393fa810c0f6853f713d
|
DIST jsonschema-4.6.1.tar.gz 278452 BLAKE2B 0b5c90b790cf7430bfbea4b38f90acec6fc256bf521d9552b463489751da3f889b43021e9d94c3ed4bd7704c462141d73d25273eea1331c85a0d2d04d5c9ad18 SHA512 5c0e2806915ef4545092b0bffe4cc1207d9a6f2a6920c10894d5b7b2a9ed665093b7a9a68114d1a05528869e7d8aed902e7569800db4393fa810c0f6853f713d
|
||||||
DIST jsonschema-4.6.2.tar.gz 275975 BLAKE2B 7c587e8b5c5eff097390e6254ae633445ffece2bd3e9c003dca730bd332c4d3c236ea10225dc81b95ef9359a9309831290b106a07e80945574dcc2937bcd4983 SHA512 e41d6bda1bd6b12174201a70b5ad5209ab7c445faa6c947408f0fbc255839f3379ffe8b539760d993b435972936e4052300dbc420d4b87051f33180bced7efb2
|
DIST jsonschema-4.6.2.tar.gz 275975 BLAKE2B 7c587e8b5c5eff097390e6254ae633445ffece2bd3e9c003dca730bd332c4d3c236ea10225dc81b95ef9359a9309831290b106a07e80945574dcc2937bcd4983 SHA512 e41d6bda1bd6b12174201a70b5ad5209ab7c445faa6c947408f0fbc255839f3379ffe8b539760d993b435972936e4052300dbc420d4b87051f33180bced7efb2
|
||||||
|
DIST jsonschema-4.7.1.tar.gz 278393 BLAKE2B 6840e84fac982c011c8ee7f7112d5dec0575f8491efa00b319e4d7a1d36f306a893a77ce962265505efe2493266fa6da932fe744dbf9906c2a5439d19e291135 SHA512 5fa43906a2d766c8b568f375ace8ff96d131dff634fc3c65ab9c8f4a70e973935f3626e4537ab8a04d374dd0b5e6a311849abed0dde4faabd53a2d48cd6a5ac7
|
||||||
|
@ -0,0 +1,53 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=hatchling
|
||||||
|
PYTHON_COMPAT=( pypy3 python3_{8..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="An implementation of JSON-Schema validation for Python"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://pypi.org/project/jsonschema/
|
||||||
|
https://github.com/python-jsonschema/jsonschema/
|
||||||
|
"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/attrs-17.4.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pyrsistent-0.18.0[${PYTHON_USEDEP}]
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
>=dev-python/importlib_resources-1.4.0[${PYTHON_USEDEP}]
|
||||||
|
' 3.8)
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
dev-python/hatch-vcs[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
# formatter deps
|
||||||
|
RDEPEND+="
|
||||||
|
dev-python/fqdn[${PYTHON_USEDEP}]
|
||||||
|
dev-python/idna[${PYTHON_USEDEP}]
|
||||||
|
dev-python/isoduration[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jsonpointer-1.13[${PYTHON_USEDEP}]
|
||||||
|
dev-python/rfc3339-validator[${PYTHON_USEDEP}]
|
||||||
|
dev-python/rfc3986-validator[${PYTHON_USEDEP}]
|
||||||
|
dev-python/rfc3987[${PYTHON_USEDEP}]
|
||||||
|
dev-python/uri_template[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/webcolors-1.11[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
EPYTEST_DESELECT=(
|
||||||
|
# requires pip, does not make much sense for the users
|
||||||
|
jsonschema/tests/test_cli.py::TestCLIIntegration::test_license
|
||||||
|
# wtf?
|
||||||
|
jsonschema/tests/test_deprecations.py::TestDeprecations::test_version
|
||||||
|
)
|
@ -1,3 +1,4 @@
|
|||||||
DIST mkdocs_pymdownx_material_extras-1.0.7.tar.gz 17995 BLAKE2B a7a8715ec07b9ef5551eadb37e618f45ca2f8f3c707aa5269eb7d2587db70ba29cfaa8027bb606c4264bbf93d7b3950d7a5dc03640b71afc677658b044d064fa SHA512 33fe8fddd0ee5856fdfb02068e2698f26a8db139458d7736715b776fbc2d8ae8ccb3170dbb786c52338e4e7a1612006046eb429f2268469f6f2bb5ba7f8e256d
|
DIST mkdocs_pymdownx_material_extras-1.0.7.tar.gz 17995 BLAKE2B a7a8715ec07b9ef5551eadb37e618f45ca2f8f3c707aa5269eb7d2587db70ba29cfaa8027bb606c4264bbf93d7b3950d7a5dc03640b71afc677658b044d064fa SHA512 33fe8fddd0ee5856fdfb02068e2698f26a8db139458d7736715b776fbc2d8ae8ccb3170dbb786c52338e4e7a1612006046eb429f2268469f6f2bb5ba7f8e256d
|
||||||
DIST mkdocs_pymdownx_material_extras-1.1.3.tar.gz 40029 BLAKE2B faa17e6e4d27a5d5e34a98a6830e34b934f8623fafb87a73051eb424cf95d29c5dd185bbfbbe49dd3e93eeee00a8310ac0543d480ab70e5abee4047b1cecc774 SHA512 340818ebcd8f9cf175e5049028d0932a0d6208de3d8f86cf5ea47747680079c6b9b3bf27e0c32ee10ee6a1bc7ab8ffc6cc3aa48470be43ed32adfde74f44d5dd
|
DIST mkdocs_pymdownx_material_extras-1.1.3.tar.gz 40029 BLAKE2B faa17e6e4d27a5d5e34a98a6830e34b934f8623fafb87a73051eb424cf95d29c5dd185bbfbbe49dd3e93eeee00a8310ac0543d480ab70e5abee4047b1cecc774 SHA512 340818ebcd8f9cf175e5049028d0932a0d6208de3d8f86cf5ea47747680079c6b9b3bf27e0c32ee10ee6a1bc7ab8ffc6cc3aa48470be43ed32adfde74f44d5dd
|
||||||
DIST mkdocs_pymdownx_material_extras-2.1.tar.gz 24220 BLAKE2B bc16a3f4b7f471a14b3f5189ce7749f49a72b33c0b4ac9d67f6c7324004532103136898a2cec49adabba37c93c2ac1189e637ed4f2c6f4611f1fcbb9628ac707 SHA512 e10545455adf58643147a802ab422a3b3e293a8853c5e20c0c91cb97f8ee1bd3cb1f2ce23bb73f30f0b92872ab549e8d8fbd41bd783b1d9af3e995e313ebfa4b
|
DIST mkdocs_pymdownx_material_extras-2.1.tar.gz 24220 BLAKE2B bc16a3f4b7f471a14b3f5189ce7749f49a72b33c0b4ac9d67f6c7324004532103136898a2cec49adabba37c93c2ac1189e637ed4f2c6f4611f1fcbb9628ac707 SHA512 e10545455adf58643147a802ab422a3b3e293a8853c5e20c0c91cb97f8ee1bd3cb1f2ce23bb73f30f0b92872ab549e8d8fbd41bd783b1d9af3e995e313ebfa4b
|
||||||
|
DIST mkdocs_pymdownx_material_extras-2.2.tar.gz 24492 BLAKE2B 13c9580f91d90641630dcf0c98fc40955ea01061b22592efd997d17d9bb6dee79bf9b8ad572ea33d2f1de2792eb63d358d8e334c5d49dd0eb7985bb681093132 SHA512 31a1c4b9e70ac4a604743a80665b733e5d72203aba2b62e4884c9005692f5e2e171f0b075a237458be6d52580afcae75f143bdde173ecf90ae05e62861099021
|
||||||
|
@ -0,0 +1,23 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Custom alterations based on Mkdocs-Material"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/facelessuser/mkdocs_pymdownx_material_extras
|
||||||
|
https://pypi.org/project/mkdocs-pymdownx-material-extras"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~riscv ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/mkdocs-material-8.3.3[${PYTHON_USEDEP}]
|
||||||
|
"
|
@ -1,3 +1,2 @@
|
|||||||
DIST pytest-bdd-5.0.0.gh.tar.gz 61174 BLAKE2B 6dd1d53614226d3515b0f61f71822363b559aa45789bab7f3416c75e603e87a1fe48627f36862f44bfa7ac6ec5023ad8afde6054ec67fc9a2e756be7de729fd1 SHA512 827e57d410b05207b6c646062ddb54b677e22441311820d3bd406df202b6e9344dedf59cd4868e89cfbf8606fe3f15559e4cc3958d100e4fa74f9b864e6faada
|
DIST pytest-bdd-5.0.0.gh.tar.gz 61174 BLAKE2B 6dd1d53614226d3515b0f61f71822363b559aa45789bab7f3416c75e603e87a1fe48627f36862f44bfa7ac6ec5023ad8afde6054ec67fc9a2e756be7de729fd1 SHA512 827e57d410b05207b6c646062ddb54b677e22441311820d3bd406df202b6e9344dedf59cd4868e89cfbf8606fe3f15559e4cc3958d100e4fa74f9b864e6faada
|
||||||
DIST pytest-bdd-6.0.0.gh.tar.gz 60475 BLAKE2B 48d09d5f5a4f274a27239a33f354aa52b1ebafc904ddc1dbb331d830f8cfabe0ba748d1fe6dadaf32f5b4848e1761d2dea1a06ac5b9d5f0c0e15e3248586cf42 SHA512 5223190a1b1d80761059cc34893b64eeca6c4d35b3a81aed186b5d1b4214ac67660cfa6cd39e1953a445c8ca7ceea74cb32b224435193febad35433c2eaf3266
|
|
||||||
DIST pytest-bdd-6.0.1.gh.tar.gz 60932 BLAKE2B 67e0dbc251ce94da40033641f37e6c9ad70ca947f71db1a78907a6890d96d8d3112d57a2a63dda526c8f846010d39a575cb5d93a102f4653705d4229ee14ab07 SHA512 30bc697ae177e3f311af0c781e99bde5b491dfef28109359c0d80f33feb8b0b170ffe15c288fe73a624144a1d1c3223b220d591b4acc30d1ad53600482bef87d
|
DIST pytest-bdd-6.0.1.gh.tar.gz 60932 BLAKE2B 67e0dbc251ce94da40033641f37e6c9ad70ca947f71db1a78907a6890d96d8d3112d57a2a63dda526c8f846010d39a575cb5d93a102f4653705d4229ee14ab07 SHA512 30bc697ae177e3f311af0c781e99bde5b491dfef28109359c0d80f33feb8b0b170ffe15c288fe73a624144a1d1c3223b220d591b4acc30d1ad53600482bef87d
|
||||||
|
@ -1,40 +0,0 @@
|
|||||||
# Copyright 2021-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYTHON_COMPAT=( python3_{8..11} )
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="BDD library for the pytest runner"
|
|
||||||
HOMEPAGE="https://pypi.org/project/pytest-bdd/"
|
|
||||||
SRC_URI="https://github.com/pytest-dev/pytest-bdd/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/glob2[${PYTHON_USEDEP}]
|
|
||||||
dev-python/mako[${PYTHON_USEDEP}]
|
|
||||||
dev-python/parse[${PYTHON_USEDEP}]
|
|
||||||
dev-python/parse_type[${PYTHON_USEDEP}]
|
|
||||||
dev-python/py[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest[${PYTHON_USEDEP}]"
|
|
||||||
BDEPEND="test? ( dev-python/packaging[${PYTHON_USEDEP}] )"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
DOCS=( AUTHORS.rst CHANGES.rst README.rst )
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# terminal_reporter test needs exact wrapping
|
|
||||||
local -x COLUMNS=80
|
|
||||||
|
|
||||||
# hooks output parsing may be affected by other pytest-*, e.g. tornasync
|
|
||||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
|
||||||
local -x PYTEST_PLUGINS=pytest_bdd.plugin
|
|
||||||
|
|
||||||
distutils-r1_src_test
|
|
||||||
}
|
|
@ -0,0 +1,62 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Tools for generating printable PDF documents from any data source"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://www.reportlab.com/
|
||||||
|
https://pypi.org/project/reportlab/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz
|
||||||
|
https://www.reportlab.com/ftp/fonts/pfbfer-20070710.zip
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
media-libs/freetype
|
||||||
|
media-libs/libart_lgpl
|
||||||
|
sys-libs/zlib:=
|
||||||
|
"
|
||||||
|
RDEPEND="
|
||||||
|
${DEPEND}
|
||||||
|
dev-python/pillow[tiff,truetype,jpeg(+),${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
app-arch/unzip
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-3.6.9-paths.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs/source
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
unpack ${P}.tar.gz
|
||||||
|
cd ${P}/src/reportlab/fonts || die
|
||||||
|
unpack pfbfer-20070710.zip
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
cat > local-setup.cfg <<-EOF || die
|
||||||
|
[OPTIONS]
|
||||||
|
no-download-t1-files = 1
|
||||||
|
use-system-libart = 1
|
||||||
|
EOF
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
pushd tests >/dev/null || die
|
||||||
|
"${EPYTHON}" runAll.py -v || die "Testing failed with ${EPYTHON}"
|
||||||
|
popd >/dev/null || die
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST rich-12.4.4.gh.tar.gz 14891341 BLAKE2B 7829951edb77b8e78bcbdeb340fa6c96901d634fb59ab16b8866b898973a95bd38de9dd1a8f6c821cd2222447878a5d22773abec329f49753e207b5b358c3532 SHA512 c1d077bb1448fd436fea87697d31b484615f787c9259418d6ebd12da45bf14f25f192198e4522653c5bd4e5ba218da7d72597e20d04dbffce4a3ea8bd82ce27c
|
DIST rich-12.4.4.gh.tar.gz 14891341 BLAKE2B 7829951edb77b8e78bcbdeb340fa6c96901d634fb59ab16b8866b898973a95bd38de9dd1a8f6c821cd2222447878a5d22773abec329f49753e207b5b358c3532 SHA512 c1d077bb1448fd436fea87697d31b484615f787c9259418d6ebd12da45bf14f25f192198e4522653c5bd4e5ba218da7d72597e20d04dbffce4a3ea8bd82ce27c
|
||||||
|
DIST rich-12.5.1.gh.tar.gz 15034345 BLAKE2B 0ff73986d46c70ad6c959bdad2a28e25404bc7f50567f2d559213dfc5341a58b3e3f5e20907275b507f12c107e5d2e947434949ffb7887abad86d4df8cf3ba72 SHA512 41b4328211b825319962056a56df66b86770f62556f84c6c9ad276ae919ec352cda58ecae4535cdca8461913b6be4b8f30d81e0a91cb9a2944a890206215f11f
|
||||||
|
@ -0,0 +1,55 @@
|
|||||||
|
# Copyright 2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=poetry
|
||||||
|
PYTHON_COMPAT=( python3_{8..11} pypy3 )
|
||||||
|
|
||||||
|
inherit distutils-r1 optfeature
|
||||||
|
|
||||||
|
DESCRIPTION="Python library for rendering rich text, tables, etc. to the terminal"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/Textualize/rich/
|
||||||
|
https://pypi.org/project/rich/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/Textualize/rich/archive/v${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/colorama[${PYTHON_USEDEP}]
|
||||||
|
dev-python/commonmark[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pygments[${PYTHON_USEDEP}]
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||||
|
' 3.8)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local -x COLUMNS=80
|
||||||
|
local EPYTEST_DESELECT=(
|
||||||
|
# broken with =dev-python/pygments-2.12.0
|
||||||
|
tests/test_console.py::test_size_can_fall_back_to_std_descriptors
|
||||||
|
)
|
||||||
|
[[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=(
|
||||||
|
# the usual deal: output changes that cause test mismatches
|
||||||
|
tests/test_inspect.py::test_inspect_text
|
||||||
|
tests/test_inspect.py::test_inspect_builtin_function
|
||||||
|
tests/test_inspect.py::test_inspect_integer_with_methods
|
||||||
|
tests/test_log.py::test_log
|
||||||
|
tests/test_pretty.py::test_attrs_broken
|
||||||
|
)
|
||||||
|
epytest -p no:pytest-qt
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
optfeature "integration with HTML widgets for Jupyter" dev-python/ipywidgets
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST sentry-sdk-1.5.12.tar.gz 247388 BLAKE2B 72dc4a5df97656074243045f20cfdbcb15b3d40bb58be06f458a31b52f0168be6f543f83d4641528cb7310f3f5ac1459218397e0e7c0a5131c9bf462e8cfcfb1 SHA512 4d39ba8fd2f490b4e8e5584207c17ace9055668d34a1c43e74a5f05c740b0f38d0794a90cd27edf221d35f5ad76aa6551e117f48167186ce630f7f64200cdad4
|
DIST sentry-sdk-1.5.12.tar.gz 247388 BLAKE2B 72dc4a5df97656074243045f20cfdbcb15b3d40bb58be06f458a31b52f0168be6f543f83d4641528cb7310f3f5ac1459218397e0e7c0a5131c9bf462e8cfcfb1 SHA512 4d39ba8fd2f490b4e8e5584207c17ace9055668d34a1c43e74a5f05c740b0f38d0794a90cd27edf221d35f5ad76aa6551e117f48167186ce630f7f64200cdad4
|
||||||
DIST sentry-sdk-1.6.0.gh.tar.gz 249637 BLAKE2B c4d6788c80184ce9127ed85dfb5305363fd27bcbebd74763e4c14c4fed35dd05069ad4a244fa2d8a59f8cb618df22d4d864bf72510fe42600d23fcc6bf8228cf SHA512 d2999831af595ed7f1861ec78887e46887eea8c4c931f22bd4003aede508511287f67eb6100232362a110d16b7bdec892572225440be52a9bd37952c30478f15
|
DIST sentry-sdk-1.6.0.gh.tar.gz 249637 BLAKE2B c4d6788c80184ce9127ed85dfb5305363fd27bcbebd74763e4c14c4fed35dd05069ad4a244fa2d8a59f8cb618df22d4d864bf72510fe42600d23fcc6bf8228cf SHA512 d2999831af595ed7f1861ec78887e46887eea8c4c931f22bd4003aede508511287f67eb6100232362a110d16b7bdec892572225440be52a9bd37952c30478f15
|
||||||
|
DIST sentry-sdk-1.7.0.gh.tar.gz 251695 BLAKE2B b31a11ee6dcd55960b2d267c26cabdb35a463ab8c081889dceca55ae9ad87c90827875fb75f0912e98457391f24263816d5e61c59551121fe8dede8bb4921a8b SHA512 5595266185618630493eb9bf84c8570f419339b37e8f4afcd4feee80d62d9f678da68d58df081a5361380fe166df589029606ba1d7b70c1844fe174e3292f54c
|
||||||
|
@ -0,0 +1,91 @@
|
|||||||
|
# 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="Python client for Sentry"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://sentry.io/
|
||||||
|
https://github.com/getsentry/sentry-python/
|
||||||
|
https://pypi.org/project/sentry-sdk/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
S="${WORKDIR}/sentry-python-${PV}"
|
||||||
|
|
||||||
|
LICENSE="PSF-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/urllib3[${PYTHON_USEDEP}]
|
||||||
|
dev-python/certifi[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/asttokens[${PYTHON_USEDEP}]
|
||||||
|
dev-python/django[${PYTHON_USEDEP}]
|
||||||
|
dev-python/executing[${PYTHON_USEDEP}]
|
||||||
|
dev-python/fakeredis[${PYTHON_USEDEP}]
|
||||||
|
dev-python/flask-login[${PYTHON_USEDEP}]
|
||||||
|
dev-python/gevent[${PYTHON_USEDEP}]
|
||||||
|
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyrsistent[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-aiohttp[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-django[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-localserver[${PYTHON_USEDEP}]
|
||||||
|
dev-python/werkzeug[${PYTHON_USEDEP}]
|
||||||
|
dev-python/zope-event[${PYTHON_USEDEP}]
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
dev-python/eventlet[${PYTHON_USEDEP}]
|
||||||
|
' python3_{8..9})
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
EPYTEST_IGNORE=(
|
||||||
|
# tests require Internet access
|
||||||
|
tests/integrations/httpx/test_httpx.py
|
||||||
|
tests/integrations/requests/test_requests.py
|
||||||
|
tests/integrations/stdlib/test_httplib.py
|
||||||
|
tests/integrations/flask/test_flask.py
|
||||||
|
tests/integrations/django/test_basic.py
|
||||||
|
# wtf is it supposed to do?!
|
||||||
|
tests/integrations/gcp/test_gcp.py
|
||||||
|
# broken by rq-1.10.1 (optional dep)
|
||||||
|
tests/integrations/rq/test_rq.py
|
||||||
|
# fastapi is not packaged
|
||||||
|
tests/integrations/asgi/test_fastapi.py
|
||||||
|
# TODO
|
||||||
|
tests/integrations/bottle
|
||||||
|
)
|
||||||
|
|
||||||
|
EPYTEST_DESELECT=(
|
||||||
|
# hangs
|
||||||
|
'tests/test_transport.py::test_transport_works'
|
||||||
|
# TODO
|
||||||
|
'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error'
|
||||||
|
tests/test_client.py::test_databag_depth_stripping
|
||||||
|
tests/test_client.py::test_databag_string_stripping
|
||||||
|
tests/test_client.py::test_databag_breadth_stripping
|
||||||
|
tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates
|
||||||
|
tests/integrations/asgi/test_asgi.py::test_websocket
|
||||||
|
# incompatible version?
|
||||||
|
tests/integrations/falcon/test_falcon.py
|
||||||
|
tests/integrations/sqlalchemy/test_sqlalchemy.py::test_too_large_event_truncated
|
||||||
|
# test_circular_references: apparently fragile
|
||||||
|
'tests/integrations/threading/test_threading.py::test_circular_references'
|
||||||
|
# test for new feature, fails with IndexError
|
||||||
|
tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler
|
||||||
|
# TODO
|
||||||
|
tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates
|
||||||
|
)
|
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST hatari-2.3.1.tar.bz2 4334129 BLAKE2B f309a31cbf181135b02858ebefa4d70116e66d252ef5de03cffa8254c0e86e4eeebfbf626613103790fb803d08028b318721020b292ea748c79e4d008e6d503d SHA512 78a6c7d80bfcd9b3a85a82754f4180cfd906eb95c6a44c8fbb92c2a648dc9c21c74c9dd18db4783d87259a3061b39e639c54cdd6c033d83de1252afef811382f
|
DIST hatari-2.3.1.tar.bz2 4334129 BLAKE2B f309a31cbf181135b02858ebefa4d70116e66d252ef5de03cffa8254c0e86e4eeebfbf626613103790fb803d08028b318721020b292ea748c79e4d008e6d503d SHA512 78a6c7d80bfcd9b3a85a82754f4180cfd906eb95c6a44c8fbb92c2a648dc9c21c74c9dd18db4783d87259a3061b39e639c54cdd6c033d83de1252afef811382f
|
||||||
|
DIST hatari-2.4.0.tar.bz2 4452205 BLAKE2B fe53b4dac688720372386fc83a83996e2cc83d74fd20f71db5e60f773561dc51d33f3560c1625913a896a9592650460604e821c9f7f07e5bd50d1775b49dfea5 SHA512 8ec542b2f7e27cd185ff8725e8d31ba7f1de709fa638b6162d17b6f1163158cbd16fc2738aa6b073a71cd990a72f305b5322f754faef34399cdca8685a7bf08c
|
||||||
|
@ -0,0 +1,98 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..11} )
|
||||||
|
inherit cmake python-single-r1 xdg
|
||||||
|
|
||||||
|
DESCRIPTION="Atari ST emulator"
|
||||||
|
HOMEPAGE="https://hatari.tuxfamily.org/"
|
||||||
|
SRC_URI="https://download.tuxfamily.org/hatari/${PV}/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="X capsimage gui png portmidi readline udev zlib"
|
||||||
|
REQUIRED_USE="
|
||||||
|
${PYTHON_REQUIRED_USE}
|
||||||
|
png? ( zlib )"
|
||||||
|
|
||||||
|
COMMON_DEPEND="
|
||||||
|
media-libs/libsdl2[X?,joystick,sound,video]
|
||||||
|
X? ( x11-libs/libX11 )
|
||||||
|
capsimage? ( >=dev-libs/spsdeclib-5.1-r1 )
|
||||||
|
png? ( media-libs/libpng:= )
|
||||||
|
portmidi? ( media-libs/portmidi )
|
||||||
|
readline? ( sys-libs/readline:= )
|
||||||
|
udev? ( virtual/udev )
|
||||||
|
zlib? ( sys-libs/zlib:= )"
|
||||||
|
RDEPEND="
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
${COMMON_DEPEND}
|
||||||
|
gui? (
|
||||||
|
$(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]')
|
||||||
|
x11-libs/gtk+:3[introspection]
|
||||||
|
)
|
||||||
|
>=games-emulation/emutos-1.1.1"
|
||||||
|
DEPEND="
|
||||||
|
${COMMON_DEPEND}
|
||||||
|
X? ( x11-base/xorg-proto )"
|
||||||
|
BDEPEND="${PYTHON_DEPS}"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-2.3.1-caps5-include-path.patch
|
||||||
|
"${FILESDIR}"/${PN}-2.3.1-cmake-include-checksym.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
DOCS=(
|
||||||
|
readme.txt
|
||||||
|
doc/{bugs,changelog,scsi-driver,thanks,video-recording}.txt
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
cmake_src_prepare
|
||||||
|
|
||||||
|
sed -i "s/\.1\.gz\b/.1/;T;s/gzip[^\$]*/cat /" {*/,}*/CMakeLists.txt || die
|
||||||
|
sed -i "s:doc/${PN}:doc/${PF}/html:" python-ui/uihelpers.py || die
|
||||||
|
sed -e "s/python3/${EPYTHON}/" \
|
||||||
|
-e 's/mkdosfs/mkfs.fat/' \
|
||||||
|
-i tools/atari-hd-image.sh || die
|
||||||
|
|
||||||
|
# use emutos package rather than bundled ROM
|
||||||
|
rm src/tos.img || die
|
||||||
|
cat <<-EOF > hatari.cfg || die
|
||||||
|
[ROM]
|
||||||
|
szTosImageFileName = ${EPREFIX}/usr/share/emutos/etos1024k.img
|
||||||
|
EOF
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DBUILD_SHARED_LIBS=OFF
|
||||||
|
-DDOCDIR="${EPREFIX}"/usr/share/doc/${PF}/html
|
||||||
|
-DETCDIR="${EPREFIX}"/etc
|
||||||
|
$(cmake_use_find_package X X11)
|
||||||
|
$(cmake_use_find_package capsimage CapsImage)
|
||||||
|
$(cmake_use_find_package png PNG)
|
||||||
|
$(cmake_use_find_package portmidi PortMidi)
|
||||||
|
$(cmake_use_find_package readline Readline)
|
||||||
|
$(cmake_use_find_package udev Udev)
|
||||||
|
$(cmake_use_find_package zlib ZLIB)
|
||||||
|
$(usev !gui -DPYTHON_EXECUTABLE=false) # only disables python-ui/
|
||||||
|
)
|
||||||
|
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cmake_src_install
|
||||||
|
|
||||||
|
insinto /etc
|
||||||
|
doins hatari.cfg
|
||||||
|
|
||||||
|
mv "${ED}"/usr/share/doc/${PF}/{html/*.txt,} || die
|
||||||
|
|
||||||
|
python_fix_shebang "${ED}"/usr/bin
|
||||||
|
use gui && python_fix_shebang "${ED}"/usr/share/${PN}/${PN}ui
|
||||||
|
}
|
@ -1,13 +1,16 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer type="project">
|
<maintainer type="project">
|
||||||
<email>games@gentoo.org</email>
|
<email>games@gentoo.org</email>
|
||||||
<name>Gentoo Games Project</name>
|
<name>Gentoo Games Project</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
<use>
|
<use>
|
||||||
<flag name="capsimage">Use <pkg>dev-libs/spsdeclib</pkg> to read .IPF, .RAW, and .CTR disk images</flag>
|
<flag name="capsimage">Use <pkg>dev-libs/spsdeclib</pkg> to read .IPF, .RAW, and .CTR disk images</flag>
|
||||||
<flag name="microphone">Use <pkg>media-libs/portaudio</pkg> for Falcon microphone handling</flag>
|
<flag name="microphone">Use <pkg>media-libs/portaudio</pkg> for Falcon microphone handling</flag>
|
||||||
<flag name="portmidi">Use <pkg>media-libs/portmidi</pkg> as an alternative MIDI backend</flag>
|
<flag name="portmidi">Use <pkg>media-libs/portmidi</pkg> as an alternative MIDI backend</flag>
|
||||||
</use>
|
</use>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">hatari/hatari</remote-id>
|
||||||
|
</upstream>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1,63 +0,0 @@
|
|||||||
# Copyright 2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit desktop flag-o-matic multilib toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="Fork of the classic Super Nintendo emulator"
|
|
||||||
HOMEPAGE="https://github.com/xyproto/zsnes/ https://www.zsnes.com/"
|
|
||||||
SRC_URI="https://github.com/xyproto/zsnes/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE="custom-cflags"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
media-libs/libpng:=[abi_x86_32(-)]
|
|
||||||
media-libs/libsdl[abi_x86_32(-),joystick,opengl,sound,video]
|
|
||||||
sys-libs/zlib:=[abi_x86_32(-)]
|
|
||||||
virtual/opengl[abi_x86_32(-)]
|
|
||||||
x11-libs/libX11[abi_x86_32(-)]"
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
x11-base/xorg-proto"
|
|
||||||
BDEPEND="
|
|
||||||
dev-lang/nasm
|
|
||||||
sys-libs/zlib
|
|
||||||
virtual/pkgconfig"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-2.0.9-cc-quotes.patch
|
|
||||||
"${FILESDIR}"/${PN}-2.0.9-gentoo-zlib.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# config.linux forces many CFLAGS that are questionable, but zsnes'
|
|
||||||
# ancient x86 asm is very fragile, not pic safe (bug #427104), broken
|
|
||||||
# by FORTIFY_SOURCE (bug #257963), and can be affected by -march=* and
|
|
||||||
# similar. Stick to upstream's choices, this is non-portable either way.
|
|
||||||
use custom-cflags || strip-flags
|
|
||||||
append-cppflags -U_FORTIFY_SOURCE
|
|
||||||
|
|
||||||
# used to build and run parsegen at build time (uses zlib wrt BDEPEND)
|
|
||||||
tc-export_build_env BUILD_CXX
|
|
||||||
local buildcxx="${BUILD_CXX} ${BUILD_CXXFLAGS} ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS}"
|
|
||||||
|
|
||||||
use amd64 && multilib_toolchain_setup x86
|
|
||||||
tc-export CC CXX
|
|
||||||
append-cflags "${CPPFLAGS}"
|
|
||||||
append-cxxflags "${CPPFLAGS}"
|
|
||||||
|
|
||||||
emake CXX_HOST="${buildcxx}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
|
|
||||||
|
|
||||||
dodoc README.md TODO.md
|
|
||||||
|
|
||||||
newicon icons/64x64x32.png ${PN}.png
|
|
||||||
make_desktop_entry ${PN} ${PN^^}
|
|
||||||
}
|
|
Binary file not shown.
@ -0,0 +1,25 @@
|
|||||||
|
Bug: https://bugs.gentoo.org/779484
|
||||||
|
|
||||||
|
From: orbea <orbea@riseup.net>
|
||||||
|
Date: Mon, 11 Jul 2022 17:23:36 -0700
|
||||||
|
Subject: [PATCH] build: Remove -no-undefined
|
||||||
|
|
||||||
|
This depends on lxappearance_changed which is only available in the
|
||||||
|
lxappearence binary and will be undefined at build time. Additionally
|
||||||
|
GNU libtool silently ignores -no-undefined allowing the build to work
|
||||||
|
while slibtool will respect it as expected.
|
||||||
|
|
||||||
|
The easiest way to solve this is to just remove -no-undefined since it
|
||||||
|
is not respected anyways.
|
||||||
|
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -126,7 +126,7 @@ AC_SUBST(LXAPPEARANCE_LIBDIR)
|
||||||
|
AC_SUBST(LXAPPEARANCE_DATADIR)
|
||||||
|
|
||||||
|
LXAPPEARANCE_MODULE="-avoid-version \
|
||||||
|
- -no-undefined "'-export-symbols-regex "^[[^_]].*"'
|
||||||
|
+ "'-export-symbols-regex "^[[^_]].*"'
|
||||||
|
AC_SUBST(LXAPPEARANCE_MODULE)
|
||||||
|
|
||||||
|
if test x"$enable_more_warnings" = x"yes"; then
|
@ -0,0 +1,61 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit autotools
|
||||||
|
|
||||||
|
DESCRIPTION="LXAppearance plugin for configuring OpenBox"
|
||||||
|
HOMEPAGE="https://lxde.org/"
|
||||||
|
SRC_URI="mirror://sourceforge/lxde/${P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~riscv ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-libs/atk
|
||||||
|
dev-libs/glib:2
|
||||||
|
dev-libs/libxml2:2
|
||||||
|
gnome-base/librsvg:2
|
||||||
|
>=lxde-base/lxappearance-0.6.3-r2
|
||||||
|
media-libs/fontconfig
|
||||||
|
media-libs/freetype:2
|
||||||
|
media-libs/harfbuzz:=
|
||||||
|
x11-libs/cairo[X]
|
||||||
|
x11-libs/gdk-pixbuf:2
|
||||||
|
x11-libs/gtk+:3
|
||||||
|
x11-libs/libICE
|
||||||
|
x11-libs/libSM
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libXft
|
||||||
|
x11-libs/pango
|
||||||
|
x11-wm/openbox
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
dev-util/intltool
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${P}-no-undefined.patch # 779484
|
||||||
|
"${FILESDIR}"/${P}-cairo-xlib.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
--disable-static \
|
||||||
|
--enable-gtk3
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
find "${ED}" -name '*.la' -delete || die
|
||||||
|
}
|
Binary file not shown.
@ -1,4 +1,2 @@
|
|||||||
DIST gimp-2.10.28.tar.bz2 31675862 BLAKE2B b491b55d5adf08221feb7cee8b3adc1d8b090901e8f43b93a4d2c3d935ce1ca45072b0ccd6840e06b329fbfafc8fe5e3d6056381c5129203fa3c5e781cab0453 SHA512 587f6f46741672f0700fd642a5b779694d2d8bc8ad70e7677ccdbfc2266dc62203ed347d6aaffaa4b8e7d84a84a25f7d5a51507dfd64b21b4c05970856d3ab94
|
|
||||||
DIST gimp-2.10.30.tar.bz2 31731327 BLAKE2B 6d948e16fbf7bae7b514a60a44fc5eaac32bebb915de0dcb5120d10739501a01973cb1f5821699d94c4d4cc7ef86d0e5456674a87623b6996d9b276d83a6eb74 SHA512 02ca9e8846dc2ae856f720b92f3c6af69984cf0b3ce85ba5a67479e5c3c813315a0551b7d011dcf7a6c83dc771e550cc31041126bbea0be3fd483176e0eb2851
|
|
||||||
DIST gimp-2.10.32.tar.bz2 31397425 BLAKE2B 3887e2e29ebfd5dcfa671a9d1549180d11bd5e3656c6854ff4130c6c6e6ca9479df075981e09b9b6b97e47dd1fcd939fea726ca09c08c040ebd1998d80e61771 SHA512 aa999c1ec388154965f84d995a9b5517e9c38608d03a0d0bb6ec9fa55de946f9da106e7d6f7c02052b61d2b6806e7a378e786539f0de5b5ffaa2fcd1bbd9c7f1
|
DIST gimp-2.10.32.tar.bz2 31397425 BLAKE2B 3887e2e29ebfd5dcfa671a9d1549180d11bd5e3656c6854ff4130c6c6e6ca9479df075981e09b9b6b97e47dd1fcd939fea726ca09c08c040ebd1998d80e61771 SHA512 aa999c1ec388154965f84d995a9b5517e9c38608d03a0d0bb6ec9fa55de946f9da106e7d6f7c02052b61d2b6806e7a378e786539f0de5b5ffaa2fcd1bbd9c7f1
|
||||||
DIST gimp-2.99.10.tar.bz2 26782056 BLAKE2B 103e7fa2d04b1989e59fb03964a122891831d122cdc6dd3b7637f06cff28310e12d9a79678ac477b56728f4ceb53292001c53f026e94be417db76dd7e14740ab SHA512 898c1e1ffd2270ccc965db9a8263e04d95455535361b47f92256b4028808e1e91eb1924cf6cef7ff9e988194ebbc67535bd9cfbf0243159824e58551a2b91ba3
|
DIST gimp-2.99.10.tar.bz2 26782056 BLAKE2B 103e7fa2d04b1989e59fb03964a122891831d122cdc6dd3b7637f06cff28310e12d9a79678ac477b56728f4ceb53292001c53f026e94be417db76dd7e14740ab SHA512 898c1e1ffd2270ccc965db9a8263e04d95455535361b47f92256b4028808e1e91eb1924cf6cef7ff9e988194ebbc67535bd9cfbf0243159824e58551a2b91ba3
|
||||||
|
@ -1,211 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
GNOME2_EAUTORECONF=yes
|
|
||||||
WANT_AUTOMAKE=
|
|
||||||
|
|
||||||
inherit autotools gnome2 toolchain-funcs virtualx
|
|
||||||
|
|
||||||
DESCRIPTION="GNU Image Manipulation Program"
|
|
||||||
HOMEPAGE="https://www.gimp.org/"
|
|
||||||
SRC_URI="mirror://gimp/v2.10/${P}.tar.bz2"
|
|
||||||
LICENSE="GPL-3 LGPL-3"
|
|
||||||
SLOT="0/2"
|
|
||||||
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv x86"
|
|
||||||
|
|
||||||
IUSE="aalib alsa aqua debug doc gnome heif jpeg2k mng openexr postscript udev unwind vector-icons webp wmf xpm cpu_flags_ppc_altivec cpu_flags_x86_mmx cpu_flags_x86_sse"
|
|
||||||
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
COMMON_DEPEND="
|
|
||||||
>=app-text/poppler-0.50[cairo]
|
|
||||||
>=app-text/poppler-data-0.4.7
|
|
||||||
>=dev-libs/atk-2.2.0
|
|
||||||
>=dev-libs/glib-2.56.2:2
|
|
||||||
>=dev-libs/json-glib-1.2.6
|
|
||||||
dev-libs/libxml2:2
|
|
||||||
dev-libs/libxslt
|
|
||||||
>=gnome-base/librsvg-2.40.6:2
|
|
||||||
>=media-gfx/mypaint-brushes-2.0.2:=
|
|
||||||
>=media-libs/babl-0.1.88
|
|
||||||
>=media-libs/fontconfig-2.12.4
|
|
||||||
>=media-libs/freetype-2.1.7
|
|
||||||
>=media-libs/gegl-0.4.34:0.4[cairo]
|
|
||||||
>=media-libs/gexiv2-0.10.6
|
|
||||||
>=media-libs/harfbuzz-0.9.19:=
|
|
||||||
>=media-libs/lcms-2.8:2
|
|
||||||
>=media-libs/libmypaint-1.6.1:=
|
|
||||||
>=media-libs/libpng-1.6.25:0=
|
|
||||||
>=media-libs/tiff-3.5.7:0
|
|
||||||
net-libs/glib-networking[ssl]
|
|
||||||
sys-libs/zlib
|
|
||||||
virtual/jpeg
|
|
||||||
>=x11-libs/cairo-1.12.2
|
|
||||||
>=x11-libs/gdk-pixbuf-2.31:2
|
|
||||||
>=x11-libs/gtk+-2.24.32:2
|
|
||||||
x11-libs/libXcursor
|
|
||||||
>=x11-libs/pango-1.29.4
|
|
||||||
aalib? ( media-libs/aalib )
|
|
||||||
alsa? ( >=media-libs/alsa-lib-1.0.0 )
|
|
||||||
aqua? ( >=x11-libs/gtk-mac-integration-2.0.0 )
|
|
||||||
heif? ( >=media-libs/libheif-1.9.1:= )
|
|
||||||
jpeg2k? ( >=media-libs/openjpeg-2.1.0:2= )
|
|
||||||
mng? ( media-libs/libmng:= )
|
|
||||||
openexr? ( >=media-libs/openexr-1.6.1:= )
|
|
||||||
postscript? ( app-text/ghostscript-gpl )
|
|
||||||
udev? ( dev-libs/libgudev:= )
|
|
||||||
unwind? ( >=sys-libs/libunwind-1.1.0:= )
|
|
||||||
webp? ( >=media-libs/libwebp-0.6.0:= )
|
|
||||||
wmf? ( >=media-libs/libwmf-0.2.8 )
|
|
||||||
xpm? ( x11-libs/libXpm )
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
${COMMON_DEPEND}
|
|
||||||
x11-themes/hicolor-icon-theme
|
|
||||||
gnome? ( gnome-base/gvfs )
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
${COMMON_DEPEND}
|
|
||||||
>=dev-lang/perl-5.10.0
|
|
||||||
dev-libs/appstream-glib
|
|
||||||
dev-util/gtk-update-icon-cache
|
|
||||||
>=dev-util/intltool-0.40.1
|
|
||||||
>=sys-devel/gettext-0.19
|
|
||||||
>=sys-devel/libtool-2.2
|
|
||||||
virtual/pkgconfig
|
|
||||||
"
|
|
||||||
|
|
||||||
DOCS=( "AUTHORS" "ChangeLog" "HACKING" "NEWS" "README" "README.i18n" )
|
|
||||||
|
|
||||||
# Bugs 685210 (and duplicate 691070)
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${PN}-2.10_fix_test-appdata.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
sed -i -e 's/mypaint-brushes-1.0/mypaint-brushes-2.0/' configure.ac || die #737794
|
|
||||||
|
|
||||||
sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864
|
|
||||||
sed 's:-DGIMP_DISABLE_DEPRECATED:-DGIMP_protect_DISABLE_DEPRECATED:g' -i configure.ac || die #615144
|
|
||||||
|
|
||||||
gnome2_src_prepare # calls eautoreconf
|
|
||||||
|
|
||||||
sed 's:-DGIMP_protect_DISABLE_DEPRECATED:-DGIMP_DISABLE_DEPRECATED:g' -i configure || die #615144
|
|
||||||
grep -F -q GIMP_DISABLE_DEPRECATED configure || die #615144, self-test
|
|
||||||
|
|
||||||
export CC_FOR_BUILD="$(tc-getBUILD_CC)"
|
|
||||||
}
|
|
||||||
|
|
||||||
_adjust_sandbox() {
|
|
||||||
# Bugs #569738 and #591214
|
|
||||||
local nv
|
|
||||||
for nv in /dev/nvidia-uvm /dev/nvidiactl /dev/nvidia{0..9} ; do
|
|
||||||
# We do not check for existence as they may show up later
|
|
||||||
# https://bugs.gentoo.org/show_bug.cgi?id=569738#c21
|
|
||||||
addwrite "${nv}"
|
|
||||||
done
|
|
||||||
|
|
||||||
addwrite /dev/dri/ # bugs #574038 and #684886
|
|
||||||
addwrite /dev/ati/ # bug #589198
|
|
||||||
addwrite /proc/mtrr # bug #589198
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
_adjust_sandbox
|
|
||||||
|
|
||||||
local myconf=(
|
|
||||||
GEGL="${EPREFIX}"/usr/bin/gegl-0.4
|
|
||||||
GDBUS_CODEGEN="${EPREFIX}"/bin/false
|
|
||||||
|
|
||||||
--enable-default-binary
|
|
||||||
|
|
||||||
--disable-check-update
|
|
||||||
--disable-python
|
|
||||||
--enable-mp
|
|
||||||
--with-appdata-test
|
|
||||||
--with-bug-report-url=https://bugs.gentoo.org/
|
|
||||||
--with-xmc
|
|
||||||
--without-libbacktrace
|
|
||||||
--without-webkit
|
|
||||||
--without-xvfb-run
|
|
||||||
$(use_enable cpu_flags_ppc_altivec altivec)
|
|
||||||
$(use_enable cpu_flags_x86_mmx mmx)
|
|
||||||
$(use_enable cpu_flags_x86_sse sse)
|
|
||||||
$(use_enable debug)
|
|
||||||
$(use_enable vector-icons)
|
|
||||||
$(use_with aalib aa)
|
|
||||||
$(use_with alsa)
|
|
||||||
$(use_with !aqua x)
|
|
||||||
$(use_with heif libheif)
|
|
||||||
$(use_with jpeg2k jpeg2000)
|
|
||||||
$(use_with mng libmng)
|
|
||||||
$(use_with openexr)
|
|
||||||
$(use_with postscript gs)
|
|
||||||
$(use_with udev gudev)
|
|
||||||
$(use_with unwind libunwind)
|
|
||||||
$(use_with webp)
|
|
||||||
$(use_with wmf)
|
|
||||||
$(use_with xpm libxpm)
|
|
||||||
)
|
|
||||||
|
|
||||||
gnome2_src_configure "${myconf[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
export XDG_DATA_DIRS="${EPREFIX}"/usr/share # bug 587004
|
|
||||||
gnome2_src_compile
|
|
||||||
}
|
|
||||||
|
|
||||||
# for https://bugs.gentoo.org/664938
|
|
||||||
_rename_plugins() {
|
|
||||||
einfo 'Renaming plug-ins to not collide with pre-2.10.6 file layout (bug #664938)...'
|
|
||||||
local prepend=gimp-org-
|
|
||||||
(
|
|
||||||
cd "${ED}"/usr/$(get_libdir)/gimp/2.0/plug-ins || die
|
|
||||||
for plugin_slash in $(ls -d1 */); do
|
|
||||||
plugin=${plugin_slash%/}
|
|
||||||
if [[ -f ${plugin}/${plugin} ]]; then
|
|
||||||
# NOTE: Folder and file name need to match for Gimp to load that plug-in
|
|
||||||
# so "file-svg/file-svg" becomes "${prepend}file-svg/${prepend}file-svg"
|
|
||||||
mv ${plugin}/{,${prepend}}${plugin} || die
|
|
||||||
mv {,${prepend}}${plugin} || die
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
virtx emake check
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
gnome2_src_install
|
|
||||||
|
|
||||||
# Workaround for bug #321111 to give GIMP the least
|
|
||||||
# precedence on PDF documents by default
|
|
||||||
mv "${ED}"/usr/share/applications/{,zzz-}gimp.desktop || die
|
|
||||||
|
|
||||||
find "${D}" -name '*.la' -type f -delete || die
|
|
||||||
|
|
||||||
# Prevent dead symlink gimp-console.1 from downstream man page compression (bug #433527)
|
|
||||||
local gimp_app_version=$(ver_cut 1-2)
|
|
||||||
mv "${ED}"/usr/share/man/man1/gimp-console{-${gimp_app_version},}.1 || die
|
|
||||||
|
|
||||||
# Remove gimp devel-docs html files if user doesn't need it
|
|
||||||
if ! use doc; then
|
|
||||||
rm -r "${ED}"/usr/share/gtk-doc || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
_rename_plugins || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
gnome2_pkg_postinst
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
gnome2_pkg_postrm
|
|
||||||
}
|
|
@ -1,211 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
GNOME2_EAUTORECONF=yes
|
|
||||||
WANT_AUTOMAKE=
|
|
||||||
|
|
||||||
inherit autotools gnome2 toolchain-funcs virtualx
|
|
||||||
|
|
||||||
DESCRIPTION="GNU Image Manipulation Program"
|
|
||||||
HOMEPAGE="https://www.gimp.org/"
|
|
||||||
SRC_URI="mirror://gimp/v2.10/${P}.tar.bz2"
|
|
||||||
LICENSE="GPL-3 LGPL-3"
|
|
||||||
SLOT="0/2"
|
|
||||||
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv x86"
|
|
||||||
|
|
||||||
IUSE="aalib alsa aqua debug doc gnome heif jpeg2k mng openexr postscript udev unwind vector-icons webp wmf xpm cpu_flags_ppc_altivec cpu_flags_x86_mmx cpu_flags_x86_sse"
|
|
||||||
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
COMMON_DEPEND="
|
|
||||||
>=app-text/poppler-0.50[cairo]
|
|
||||||
>=app-text/poppler-data-0.4.7
|
|
||||||
>=dev-libs/atk-2.2.0
|
|
||||||
>=dev-libs/glib-2.56.2:2
|
|
||||||
>=dev-libs/json-glib-1.2.6
|
|
||||||
dev-libs/libxml2:2
|
|
||||||
dev-libs/libxslt
|
|
||||||
>=gnome-base/librsvg-2.40.6:2
|
|
||||||
>=media-gfx/mypaint-brushes-2.0.2:=
|
|
||||||
>=media-libs/babl-0.1.88
|
|
||||||
>=media-libs/fontconfig-2.12.4
|
|
||||||
>=media-libs/freetype-2.1.7
|
|
||||||
>=media-libs/gegl-0.4.34:0.4[cairo]
|
|
||||||
>=media-libs/gexiv2-0.10.6
|
|
||||||
>=media-libs/harfbuzz-0.9.19:=
|
|
||||||
>=media-libs/lcms-2.8:2
|
|
||||||
>=media-libs/libmypaint-1.6.1:=
|
|
||||||
>=media-libs/libpng-1.6.25:0=
|
|
||||||
>=media-libs/tiff-3.5.7:0
|
|
||||||
net-libs/glib-networking[ssl]
|
|
||||||
sys-libs/zlib
|
|
||||||
virtual/jpeg
|
|
||||||
>=x11-libs/cairo-1.12.2
|
|
||||||
>=x11-libs/gdk-pixbuf-2.31:2
|
|
||||||
>=x11-libs/gtk+-2.24.32:2
|
|
||||||
x11-libs/libXcursor
|
|
||||||
>=x11-libs/pango-1.29.4
|
|
||||||
aalib? ( media-libs/aalib )
|
|
||||||
alsa? ( >=media-libs/alsa-lib-1.0.0 )
|
|
||||||
aqua? ( >=x11-libs/gtk-mac-integration-2.0.0 )
|
|
||||||
heif? ( >=media-libs/libheif-1.9.1:= )
|
|
||||||
jpeg2k? ( >=media-libs/openjpeg-2.1.0:2= )
|
|
||||||
mng? ( media-libs/libmng:= )
|
|
||||||
openexr? ( >=media-libs/openexr-1.6.1:= )
|
|
||||||
postscript? ( app-text/ghostscript-gpl )
|
|
||||||
udev? ( dev-libs/libgudev:= )
|
|
||||||
unwind? ( >=sys-libs/libunwind-1.1.0:= )
|
|
||||||
webp? ( >=media-libs/libwebp-0.6.0:= )
|
|
||||||
wmf? ( >=media-libs/libwmf-0.2.8 )
|
|
||||||
xpm? ( x11-libs/libXpm )
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
${COMMON_DEPEND}
|
|
||||||
x11-themes/hicolor-icon-theme
|
|
||||||
gnome? ( gnome-base/gvfs )
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
${COMMON_DEPEND}
|
|
||||||
>=dev-lang/perl-5.10.0
|
|
||||||
dev-libs/appstream-glib
|
|
||||||
dev-util/gtk-update-icon-cache
|
|
||||||
>=dev-util/intltool-0.40.1
|
|
||||||
>=sys-devel/gettext-0.19
|
|
||||||
>=sys-devel/libtool-2.2
|
|
||||||
virtual/pkgconfig
|
|
||||||
"
|
|
||||||
|
|
||||||
DOCS=( "AUTHORS" "ChangeLog" "HACKING" "NEWS" "README" "README.i18n" )
|
|
||||||
|
|
||||||
# Bugs 685210 (and duplicate 691070)
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${PN}-2.10_fix_test-appdata.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
sed -i -e 's/mypaint-brushes-1.0/mypaint-brushes-2.0/' configure.ac || die #737794
|
|
||||||
|
|
||||||
sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864
|
|
||||||
sed 's:-DGIMP_DISABLE_DEPRECATED:-DGIMP_protect_DISABLE_DEPRECATED:g' -i configure.ac || die #615144
|
|
||||||
|
|
||||||
gnome2_src_prepare # calls eautoreconf
|
|
||||||
|
|
||||||
sed 's:-DGIMP_protect_DISABLE_DEPRECATED:-DGIMP_DISABLE_DEPRECATED:g' -i configure || die #615144
|
|
||||||
grep -F -q GIMP_DISABLE_DEPRECATED configure || die #615144, self-test
|
|
||||||
|
|
||||||
export CC_FOR_BUILD="$(tc-getBUILD_CC)"
|
|
||||||
}
|
|
||||||
|
|
||||||
_adjust_sandbox() {
|
|
||||||
# Bugs #569738 and #591214
|
|
||||||
local nv
|
|
||||||
for nv in /dev/nvidia-uvm /dev/nvidiactl /dev/nvidia{0..9} ; do
|
|
||||||
# We do not check for existence as they may show up later
|
|
||||||
# https://bugs.gentoo.org/show_bug.cgi?id=569738#c21
|
|
||||||
addwrite "${nv}"
|
|
||||||
done
|
|
||||||
|
|
||||||
addwrite /dev/dri/ # bugs #574038 and #684886
|
|
||||||
addwrite /dev/ati/ # bug #589198
|
|
||||||
addwrite /proc/mtrr # bug #589198
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
_adjust_sandbox
|
|
||||||
|
|
||||||
local myconf=(
|
|
||||||
GEGL="${EPREFIX}"/usr/bin/gegl-0.4
|
|
||||||
GDBUS_CODEGEN="${EPREFIX}"/bin/false
|
|
||||||
|
|
||||||
--enable-default-binary
|
|
||||||
|
|
||||||
--disable-check-update
|
|
||||||
--disable-python
|
|
||||||
--enable-mp
|
|
||||||
--with-appdata-test
|
|
||||||
--with-bug-report-url=https://bugs.gentoo.org/
|
|
||||||
--with-xmc
|
|
||||||
--without-libbacktrace
|
|
||||||
--without-webkit
|
|
||||||
--without-xvfb-run
|
|
||||||
$(use_enable cpu_flags_ppc_altivec altivec)
|
|
||||||
$(use_enable cpu_flags_x86_mmx mmx)
|
|
||||||
$(use_enable cpu_flags_x86_sse sse)
|
|
||||||
$(use_enable debug)
|
|
||||||
$(use_enable vector-icons)
|
|
||||||
$(use_with aalib aa)
|
|
||||||
$(use_with alsa)
|
|
||||||
$(use_with !aqua x)
|
|
||||||
$(use_with heif libheif)
|
|
||||||
$(use_with jpeg2k jpeg2000)
|
|
||||||
$(use_with mng libmng)
|
|
||||||
$(use_with openexr)
|
|
||||||
$(use_with postscript gs)
|
|
||||||
$(use_with udev gudev)
|
|
||||||
$(use_with unwind libunwind)
|
|
||||||
$(use_with webp)
|
|
||||||
$(use_with wmf)
|
|
||||||
$(use_with xpm libxpm)
|
|
||||||
)
|
|
||||||
|
|
||||||
gnome2_src_configure "${myconf[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
export XDG_DATA_DIRS="${EPREFIX}"/usr/share # bug 587004
|
|
||||||
gnome2_src_compile
|
|
||||||
}
|
|
||||||
|
|
||||||
# for https://bugs.gentoo.org/664938
|
|
||||||
_rename_plugins() {
|
|
||||||
einfo 'Renaming plug-ins to not collide with pre-2.10.6 file layout (bug #664938)...'
|
|
||||||
local prepend=gimp-org-
|
|
||||||
(
|
|
||||||
cd "${ED}"/usr/$(get_libdir)/gimp/2.0/plug-ins || die
|
|
||||||
for plugin_slash in $(ls -d1 */); do
|
|
||||||
plugin=${plugin_slash%/}
|
|
||||||
if [[ -f ${plugin}/${plugin} ]]; then
|
|
||||||
# NOTE: Folder and file name need to match for Gimp to load that plug-in
|
|
||||||
# so "file-svg/file-svg" becomes "${prepend}file-svg/${prepend}file-svg"
|
|
||||||
mv ${plugin}/{,${prepend}}${plugin} || die
|
|
||||||
mv {,${prepend}}${plugin} || die
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
virtx emake check
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
gnome2_src_install
|
|
||||||
|
|
||||||
# Workaround for bug #321111 to give GIMP the least
|
|
||||||
# precedence on PDF documents by default
|
|
||||||
mv "${ED}"/usr/share/applications/{,zzz-}gimp.desktop || die
|
|
||||||
|
|
||||||
find "${D}" -name '*.la' -type f -delete || die
|
|
||||||
|
|
||||||
# Prevent dead symlink gimp-console.1 from downstream man page compression (bug #433527)
|
|
||||||
local gimp_app_version=$(ver_cut 1-2)
|
|
||||||
mv "${ED}"/usr/share/man/man1/gimp-console{-${gimp_app_version},}.1 || die
|
|
||||||
|
|
||||||
# Remove gimp devel-docs html files if user doesn't need it
|
|
||||||
if ! use doc; then
|
|
||||||
rm -r "${ED}"/usr/share/gtk-doc || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
_rename_plugins || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
gnome2_pkg_postinst
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
gnome2_pkg_postrm
|
|
||||||
}
|
|
Binary file not shown.
@ -1,3 +1 @@
|
|||||||
DIST babl-0.1.88.tar.xz 299972 BLAKE2B a22811196e306e3b846da63f361ecf792715d461cd8af85017af8dd353a406a38130f3e675214edc261557b6a0f6d3ed5586bfe7ecdf9b08ed5b8e7bc4aeb7f7 SHA512 1260133e44aa1878e13e2c64387e8540ca93edd7a905e2f8eebc58679444ba8815b9b6801b538a759c9b7b60294d7d7c33418bb1feee1879dcb8381450fe1742
|
|
||||||
DIST babl-0.1.90.tar.xz 309324 BLAKE2B 9fbbbe06539fd85007875e697529aa071d32a2d9e65f9750ceeb4a1f1ec1a3ac4a74dc40f932f7ff669bafdb1e9506df05414c7765f57b7d818901bffc55ccc2 SHA512 c0eac3c7d5eb328de2f97ccc9743bc2f78d79c23dc4d3465e979d98827b1643a0f2a257f0445e4acd09f15a9f95c79f67d09cb18c2c94b4f3d290944a0341e3c
|
|
||||||
DIST babl-0.1.92.tar.xz 309784 BLAKE2B c3c716ba1b54082743ba6ea33da99fb458dc971ab78ae72170af9840eadbc7f2aeb0a26d3270ede2a6e0d7b55489fc8f700b1c69731a4612ba4106f9672762d0 SHA512 c2baf39f576bf7f57786c59f2de0818257f4d1d62cadf44fdd802c9a534ed94390dd1616e7e72fcc9de1fb85a24a10fbacdbbabbe376a45ae598be46817e3bc0
|
DIST babl-0.1.92.tar.xz 309784 BLAKE2B c3c716ba1b54082743ba6ea33da99fb458dc971ab78ae72170af9840eadbc7f2aeb0a26d3270ede2a6e0d7b55489fc8f700b1c69731a4612ba4106f9672762d0 SHA512 c2baf39f576bf7f57786c59f2de0818257f4d1d62cadf44fdd802c9a534ed94390dd1616e7e72fcc9de1fb85a24a10fbacdbbabbe376a45ae598be46817e3bc0
|
||||||
|
@ -1,61 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
VALA_USE_DEPEND=vapigen
|
|
||||||
|
|
||||||
inherit meson gnome2-utils vala
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/babl.git"
|
|
||||||
SRC_URI=""
|
|
||||||
else
|
|
||||||
SRC_URI="https://ftp.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.xz"
|
|
||||||
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv -sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="A dynamic, any to any, pixel format conversion library"
|
|
||||||
HOMEPAGE="https://gegl.org/babl/"
|
|
||||||
|
|
||||||
LICENSE="LGPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="introspection lcms vala cpu_flags_x86_avx2 cpu_flags_x86_f16c cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse4_1"
|
|
||||||
REQUIRED_USE="vala? ( introspection )"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
virtual/pkgconfig
|
|
||||||
vala? ( $(vala_depend) )
|
|
||||||
"
|
|
||||||
RDEPEND="
|
|
||||||
introspection? ( >=dev-libs/gobject-introspection-1.32:= )
|
|
||||||
lcms? ( >=media-libs/lcms-2.8:2 )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
gnome2_environment_reset
|
|
||||||
use vala && vala_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# Automagic rsvg support is just for website generation we do not call,
|
|
||||||
# so we don't need to fix it
|
|
||||||
# w3m is used for dist target thus no issue for us that it is automagically
|
|
||||||
# detected
|
|
||||||
local emesonargs=(
|
|
||||||
-Dwith-docs=false
|
|
||||||
$(meson_use introspection enable-gir)
|
|
||||||
$(meson_use lcms with-lcms)
|
|
||||||
$(meson_use vala enable-vapi)
|
|
||||||
$(meson_use cpu_flags_x86_avx2 enable-avx2)
|
|
||||||
$(meson_use cpu_flags_x86_f16c enable-f16c)
|
|
||||||
$(meson_use cpu_flags_x86_mmx enable-mmx)
|
|
||||||
$(meson_use cpu_flags_x86_sse enable-sse)
|
|
||||||
$(meson_use cpu_flags_x86_sse2 enable-sse2)
|
|
||||||
$(meson_use cpu_flags_x86_sse4_1 enable-sse4_1)
|
|
||||||
)
|
|
||||||
meson_src_configure
|
|
||||||
}
|
|
@ -1,64 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
VALA_USE_DEPEND=vapigen
|
|
||||||
|
|
||||||
inherit meson gnome2-utils vala
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/babl.git"
|
|
||||||
SRC_URI=""
|
|
||||||
else
|
|
||||||
SRC_URI="https://ftp.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.xz"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv -sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="A dynamic, any to any, pixel format conversion library"
|
|
||||||
HOMEPAGE="https://gegl.org/babl/"
|
|
||||||
|
|
||||||
LICENSE="LGPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="introspection lcms vala cpu_flags_x86_avx2 cpu_flags_x86_f16c cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse4_1"
|
|
||||||
REQUIRED_USE="vala? ( introspection )"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
virtual/pkgconfig
|
|
||||||
vala? ( $(vala_depend) )
|
|
||||||
"
|
|
||||||
RDEPEND="
|
|
||||||
introspection? ( >=dev-libs/gobject-introspection-1.32:= )
|
|
||||||
lcms? ( >=media-libs/lcms-2.8:2 )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
gnome2_environment_reset
|
|
||||||
|
|
||||||
sed -i -e 's/Description/description/' meson.build || die # bug 843266
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
use vala && vala_setup
|
|
||||||
|
|
||||||
# Automagic rsvg support is just for website generation we do not call,
|
|
||||||
# so we don't need to fix it
|
|
||||||
# w3m is used for dist target thus no issue for us that it is automagically
|
|
||||||
# detected
|
|
||||||
local emesonargs=(
|
|
||||||
-Dwith-docs=false
|
|
||||||
$(meson_use introspection enable-gir)
|
|
||||||
$(meson_use lcms with-lcms)
|
|
||||||
$(meson_use vala enable-vapi)
|
|
||||||
$(meson_use cpu_flags_x86_avx2 enable-avx2)
|
|
||||||
$(meson_use cpu_flags_x86_f16c enable-f16c)
|
|
||||||
$(meson_use cpu_flags_x86_mmx enable-mmx)
|
|
||||||
$(meson_use cpu_flags_x86_sse enable-sse)
|
|
||||||
$(meson_use cpu_flags_x86_sse2 enable-sse2)
|
|
||||||
$(meson_use cpu_flags_x86_sse4_1 enable-sse4_1)
|
|
||||||
)
|
|
||||||
meson_src_configure
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST gegl-0.4.34.tar.xz 5647516 BLAKE2B 7d9e0c395e6bf38e407ed55f43c090789e29692254990a341e7b9a391ae67423a9948821c1b8a4dd156fb42c16fe6b8572de2ee7b5be09b9f802b892e82df580 SHA512 13bbc19c4fb1feee609d2191b09fe1d2f020da1be788f9dcf7ed89dfef8465ce77dc34a9cb74279c88336aa0f3d3a7a44ca35335a3c2374516f590a40edbc08e
|
|
||||||
DIST gegl-0.4.36.tar.xz 5680876 BLAKE2B e2051d21eadfd6ff5c4547d337e749ebb9526be0b45bf80116cfdd1bb98b0fd3b4cced83b4700ecb04c003f83074928ac0c7b4bc8929134c57950a1ac957d50b SHA512 4d681091b15e7911229f86bf22381d62268451da57bba072bcb8ee3f4db79e2719dd7e70ab208c2c021e5353f42a9f88c18f62132512b18fe78ed6ad279660f8
|
DIST gegl-0.4.36.tar.xz 5680876 BLAKE2B e2051d21eadfd6ff5c4547d337e749ebb9526be0b45bf80116cfdd1bb98b0fd3b4cced83b4700ecb04c003f83074928ac0c7b4bc8929134c57950a1ac957d50b SHA512 4d681091b15e7911229f86bf22381d62268451da57bba072bcb8ee3f4db79e2719dd7e70ab208c2c021e5353f42a9f88c18f62132512b18fe78ed6ad279660f8
|
||||||
|
@ -1,157 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
# vala and introspection support is broken, bug #468208
|
|
||||||
VALA_USE_DEPEND=vapigen
|
|
||||||
|
|
||||||
inherit meson optfeature python-any-r1 vala
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/gegl.git"
|
|
||||||
SRC_URI=""
|
|
||||||
else
|
|
||||||
SRC_URI="https://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.xz"
|
|
||||||
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="A graph based image processing framework"
|
|
||||||
HOMEPAGE="https://gegl.org/"
|
|
||||||
|
|
||||||
LICENSE="|| ( GPL-3+ LGPL-3 )"
|
|
||||||
SLOT="0.4"
|
|
||||||
|
|
||||||
IUSE="cairo debug ffmpeg introspection lcms lensfun openexr pdf raw sdl svg test tiff umfpack vala v4l webp"
|
|
||||||
REQUIRED_USE="
|
|
||||||
svg? ( cairo )
|
|
||||||
test? ( introspection )
|
|
||||||
vala? ( introspection )
|
|
||||||
"
|
|
||||||
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
# NOTE: Even current libav 11.4 does not have AV_CODEC_CAP_VARIABLE_FRAME_SIZE
|
|
||||||
# so there is no chance to support libav right now (Gentoo bug #567638)
|
|
||||||
# If it returns, please check prior GEGL ebuilds for how libav was integrated. Thanks!
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-libs/glib-2.68.2:2
|
|
||||||
>=dev-libs/json-glib-1.2.6
|
|
||||||
>=media-libs/babl-0.1.88[introspection?,lcms?,vala?]
|
|
||||||
media-libs/libnsgif
|
|
||||||
>=media-libs/libpng-1.6.0:0=
|
|
||||||
>=sys-libs/zlib-1.2.0
|
|
||||||
virtual/jpeg:0=
|
|
||||||
>=x11-libs/gdk-pixbuf-2.32:2
|
|
||||||
>=x11-libs/pango-1.38.0
|
|
||||||
cairo? ( >=x11-libs/cairo-1.12.2 )
|
|
||||||
ffmpeg? ( media-video/ffmpeg:0= )
|
|
||||||
introspection? ( >=dev-libs/gobject-introspection-1.32:= )
|
|
||||||
lcms? ( >=media-libs/lcms-2.8:2 )
|
|
||||||
lensfun? ( >=media-libs/lensfun-0.2.5 )
|
|
||||||
openexr? ( >=media-libs/openexr-1.6.1:= )
|
|
||||||
pdf? ( >=app-text/poppler-0.71.0[cairo] )
|
|
||||||
raw? ( >=media-libs/libraw-0.15.4:0= )
|
|
||||||
sdl? ( >=media-libs/libsdl-1.2.0 )
|
|
||||||
svg? ( >=gnome-base/librsvg-2.40.6:2 )
|
|
||||||
tiff? ( >=media-libs/tiff-4:0 )
|
|
||||||
umfpack? ( sci-libs/umfpack )
|
|
||||||
v4l? ( >=media-libs/libv4l-1.0.1 )
|
|
||||||
webp? ( >=media-libs/libwebp-0.5.0:= )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
BDEPEND="
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
dev-lang/perl
|
|
||||||
>=dev-util/gtk-doc-am-1
|
|
||||||
>=sys-devel/gettext-0.19.8
|
|
||||||
>=sys-devel/libtool-2.2
|
|
||||||
virtual/pkgconfig
|
|
||||||
test? ( $(python_gen_any_dep '>=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}]') )
|
|
||||||
vala? ( $(vala_depend) )
|
|
||||||
"
|
|
||||||
|
|
||||||
DOCS=( AUTHORS docs/ChangeLog docs/NEWS.adoc )
|
|
||||||
|
|
||||||
python_check_deps() {
|
|
||||||
use test || return 0
|
|
||||||
has_version -b ">=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}]"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
# patch executables suffix
|
|
||||||
sed -i -e "s/'gegl'/'gegl-0.4'/" bin/meson.build || die
|
|
||||||
sed -i -e "s/'gegl-imgcmp'/'gegl-imgcmp-0.4'/" tools/meson.build || die
|
|
||||||
sed -i -e "s/gegl-imgcmp/gegl-imgcmp-0.4/" tests/simple/test-exp-combine.sh || die
|
|
||||||
# skip UNEXPECTED PASSED 'matting-levin' test
|
|
||||||
sed -i -e "s/composition_tests += 'matting-levin'//" \
|
|
||||||
-e "s/composition_tests_fail += 'matting-levin'//" tests/compositions/meson.build || die
|
|
||||||
|
|
||||||
# don't require Apple's OpenCL on versions of OSX that don't have it
|
|
||||||
if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -le 9 ]] ; then
|
|
||||||
sed -i -e 's/#ifdef __APPLE__/#if 0/' gegl/opencl/* || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
# commit 7c78497b : tests that use gegl.png are broken on non-amd64
|
|
||||||
sed -e '/clones.xml/d' \
|
|
||||||
-e '/composite-transform.xml/d' \
|
|
||||||
-i tests/compositions/meson.build || die
|
|
||||||
|
|
||||||
# fix 'build'headers from *.cl on gentoo-hardened, bug 739816
|
|
||||||
pushd "${S}/opencl/" || die
|
|
||||||
for file in *.cl; do
|
|
||||||
if [[ -f ${file} ]]; then
|
|
||||||
"${EPYTHON}" cltostring.py "${file}" || die
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
popd || die
|
|
||||||
|
|
||||||
use vala && vala_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local emesonargs=(
|
|
||||||
# - Disable documentation as the generating is bit automagic
|
|
||||||
# if anyone wants to work on it just create bug with patch
|
|
||||||
-Ddocs=false
|
|
||||||
-Dexiv2=disabled
|
|
||||||
-Dgdk-pixbuf=enabled
|
|
||||||
-Djasper=disabled
|
|
||||||
# - libspiro: not in portage main tree
|
|
||||||
-Dlibspiro=disabled
|
|
||||||
-Dlua=disabled
|
|
||||||
-Dmrg=disabled
|
|
||||||
-Dpango=enabled
|
|
||||||
-Dsdl2=disabled
|
|
||||||
# - Parameter -Dworkshop=false disables any use of Lua, effectivly
|
|
||||||
-Dworkshop=false
|
|
||||||
$(meson_feature cairo)
|
|
||||||
$(meson_feature cairo pangocairo)
|
|
||||||
$(meson_feature ffmpeg libav)
|
|
||||||
$(meson_feature lcms)
|
|
||||||
$(meson_feature lensfun)
|
|
||||||
$(meson_feature openexr)
|
|
||||||
$(meson_feature pdf poppler)
|
|
||||||
$(meson_feature raw libraw)
|
|
||||||
$(meson_feature sdl sdl1)
|
|
||||||
$(meson_feature svg librsvg)
|
|
||||||
$(meson_feature test pygobject)
|
|
||||||
$(meson_feature tiff libtiff)
|
|
||||||
$(meson_feature umfpack)
|
|
||||||
# - v4l support does not work with our media-libs/libv4l-0.8.9,
|
|
||||||
# upstream bug at https://bugzilla.gnome.org/show_bug.cgi?id=654675
|
|
||||||
$(meson_feature v4l libv4l)
|
|
||||||
$(meson_feature v4l libv4l2)
|
|
||||||
$(meson_feature vala vapigen)
|
|
||||||
$(meson_feature webp)
|
|
||||||
$(meson_use introspection)
|
|
||||||
)
|
|
||||||
meson_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
optfeature "'Show Image Graph' under GIMP[debug] menu 'File - Debug'" media-gfx/graphviz
|
|
||||||
}
|
|
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST rosegarden-21.12.tar.bz2 6490931 BLAKE2B d1f3bbd173e1d082c5380be2fe0bd9818a741498add5edc9b24c47b9e37e24b928869c00734bf84dd9c2cb9a79fed15275de35a8e7cd4cbbd8ff6cdcb739c09d SHA512 d11756f57e4f364993af67e4aa10c25ef6a7f5fd4baddd127df50c84c29d31aa1e4a42485c8503e9fca31a8cf8e50c3c5b3bad2a08ac945a3fc8cd1a5874d4be
|
|
||||||
DIST rosegarden-22.06.tar.bz2 6514502 BLAKE2B d4ba13ac6b4cba6d0b5bc555933737d696d380737e56a3e4e1dd782aff641dcbd49af50aade75550b8a0e22a45f491585ffb4166b21cb9889eca1a2e546c585a SHA512 42ce03a65f9c9401cb3f641c0ae80a827e18d6f47420add382f63273f4644eac5997befe70cac972380441a43d74153a4e37a276fc3dc8d9889eb8671759ab5a
|
DIST rosegarden-22.06.tar.bz2 6514502 BLAKE2B d4ba13ac6b4cba6d0b5bc555933737d696d380737e56a3e4e1dd782aff641dcbd49af50aade75550b8a0e22a45f491585ffb4166b21cb9889eca1a2e546c585a SHA512 42ce03a65f9c9401cb3f641c0ae80a827e18d6f47420add382f63273f4644eac5997befe70cac972380441a43d74153a4e37a276fc3dc8d9889eb8671759ab5a
|
||||||
|
@ -1,62 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit cmake xdg virtualx
|
|
||||||
|
|
||||||
DESCRIPTION="MIDI and audio sequencer and notation editor"
|
|
||||||
HOMEPAGE="https://www.rosegardenmusic.com/"
|
|
||||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~ppc x86"
|
|
||||||
IUSE="lirc"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
dev-qt/linguist-tools:5
|
|
||||||
virtual/pkgconfig
|
|
||||||
"
|
|
||||||
RDEPEND="
|
|
||||||
dev-qt/qtcore:5
|
|
||||||
dev-qt/qtgui:5
|
|
||||||
dev-qt/qtnetwork:5
|
|
||||||
dev-qt/qtprintsupport:5
|
|
||||||
dev-qt/qtwidgets:5
|
|
||||||
dev-qt/qtxml:5
|
|
||||||
media-libs/alsa-lib:=
|
|
||||||
>=media-libs/dssi-1.0.0:=
|
|
||||||
media-libs/ladspa-sdk:=
|
|
||||||
media-libs/liblo:=
|
|
||||||
media-libs/liblrdf:=
|
|
||||||
media-libs/libsamplerate:=
|
|
||||||
media-libs/libsndfile:=
|
|
||||||
sci-libs/fftw:3.0
|
|
||||||
sys-libs/zlib:=
|
|
||||||
virtual/jack
|
|
||||||
x11-libs/libSM:=
|
|
||||||
lirc? ( app-misc/lirc:= )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
dev-qt/qttest:5
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
cmake_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DDISABLE_LIRC=$(usex !lirc)
|
|
||||||
)
|
|
||||||
cmake_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# bug 701682, tries to open network socket and fails.
|
|
||||||
local myctestargs=(
|
|
||||||
-E "(test_notationview_selection)"
|
|
||||||
)
|
|
||||||
virtx cmake_src_test
|
|
||||||
}
|
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue