parent
26d098ddfa
commit
c173a929c4
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29611 BLAKE2B cd0c9ffebb16a6c71350c8a1e1c3773937c6cf8d705ce683d71cbee44df1f141e34ee96e8fd16d508e8c33afff73e00ee6022a623378a9c82916bf8924f572f3 SHA512 df0be1cab81d7ec505d6e960a24fbf1ea906eeca9e1a2827d31ab9926f0f0196048ffc39d6f7d41ca0d94a5e8e96e85003276221d8d55a84f4b81fe46d4a0a2b
|
||||
TIMESTAMP 2021-12-26T08:09:27Z
|
||||
MANIFEST Manifest.files.gz 29650 BLAKE2B d20abbf219115a7f1d5a06c2c49783dc0374117e3ff77b70cc88f369a48c903c46b19745a29dacb66bedd338bd5aef5f81c8facbc831b5311267f5614a4a1213 SHA512 92a01400c908d69b1196215b7c118120422de182cb3cc5f9fae48ac6b208de2a9620f8c9c5576e54f774cdde3bd0386b7701bfbb8cd51a1aff3dfc1efb535131
|
||||
TIMESTAMP 2021-12-27T05:09:25Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmHIIzdfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmHJSoVfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klB61g//TuGZXAORohlvqyyUnOSzS5cjT6VT3nZ14yEcDeazPKqUbZagNR+19lyX
|
||||
GbJELZ1ZYkcAwCrCWRnbMfDuXFksdjyMNY5C7q4D8tl8wmNzYV+JhiNrLq3AMNLt
|
||||
9tJb2ERb1jf/KJR6vfoeA/8+BG3nUsNW7hmh1K+58j/PWpp1M1yYegIdoAARMR4T
|
||||
jh65uEAWMJE2dj7epOl9FqoNlkunfqRn8WMnbP26mE1IiZGH7DS9eKEUPfBE82TP
|
||||
azCgXBGgZYZfPLJSL5fxa6fPuPor5EixrPG7dLRO7buUxvN03b69fC5ADHVYuFkq
|
||||
9COTOWUP3XDo2bHw9Z093TFVNg8IoaucfiURW5Ni0v7zgD5KDqSoG4Ed3326KuSL
|
||||
APsrtU8Y8Fs0EG2lUtR2yIWplzECNRNH4KpJ8CGh/TPlltEsTtUCsg+jA0UpJQV5
|
||||
qUYLYm8mT6kIhpw0aYPSlUJQz/EsaE13VeNkVpQ9JyhAa2yW1Sxqx/0WznaZQHti
|
||||
v9eSv5cAEMtnLvqiLmWEsMFGhSktLmDfCH1igd/PQuCczlxPgEAShsD+2Z0WSg0K
|
||||
dus7M4BM1pfnrUMorDqdd3ggfd0xrBZneQE0+xLrsmAhF13ObRxmMwrNfkpW0Yse
|
||||
o+g16XcwzFrXy1aMaiv+nf69nCIbUvHs9IbSTioSDHH8pl7g6c0=
|
||||
=KnSX
|
||||
klCKexAAiTYaenPiMjK3uktgrWqYYrqjhraiZR9bjBt7PeorqPkHm55C/piTjwbE
|
||||
p/O8iQdoRQxVMRjHmIa0qWx5jTcMDm9SqcpQeT5LtdaFB7K2gYB+Pt16OoXE7mVz
|
||||
S4rBv2/qqNmGnw+vUHUqVyJKDLwKW1uC9x6AlF/hvmwpHV/PCg+A60sgUhpIfY02
|
||||
De1X31IAZq0Xg9lZeceizu3PhlgAMOWcuSDaiQ4WIgKLNUiOHtCL8dpx9oBHngAn
|
||||
BgyzFMrrg1c/sZbDbU40LzuPoeYqvbrM5xfsasSF/Jfx5jcnAoh+yFPp7yQ+mwj5
|
||||
Lins3tZe1f1dj3t15JUatk71mNlBytX8oc98ofGGIKq4AW6FwRQBEB2/vPsJSHRE
|
||||
Cdptt6Wck3+78SLVR2Runx9WfVxYKdrXp+JhjVaCXl2BJ/6l5trX4ILUwozApRhH
|
||||
C634IVJijAdRfWZJjbGevJVLt9w+GmwMh4MZ97SES9yFfn8ZUsAFOygcBVLfOI/r
|
||||
wTxdTRw8dB4cxFRko5ZP1ebg2lzt/S9WkmVRFyWhKvCSKfk/pDDH1JQp2WAdwh8Q
|
||||
671d9IiIUs3IzQnkdKrkhAVTm1Yp5v6+cRxH05Azp8uMqW2/bCfCs814PYIJDN58
|
||||
XH+fSRt0/sW7GKOyrI44br4/yUv4bQBNpqSNo32MoIRQFQs3Ryk=
|
||||
=z/SW
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,8 +1,6 @@
|
||||
AUX podman.confd 328 BLAKE2B e03a1f7f5cec555f195bd1ca9bea050a67ccac7866bd68f0c74dcbd3a6629b2da6f368274b4b664eaaa410773337a1f352c3144c3682ea0ea56b8c958b9d00a6 SHA512 58b05b7ff574f2153d7eeb3f726808e22ebe0821afc4d86dc3dea189944cdd6f2d6e1b051046456e149505b4b558a7957a278c1dba21db2fec65f2efbb3e1d84
|
||||
AUX podman.initd 704 BLAKE2B 2fc4ffaa3b971774957ea244e05d851fa2797ec074529ea7c23bc6d7a3f597c04268d7f5580852dae4ab412629a513fed152f6a20a7ed432ef00cb96848c290c SHA512 bcf3e74a4a77bac82fc4679b3161091692b301426ecf81af7c5ea7e23ba66d15602d0cf1284f160d4179e52ae78f309ad826d9f3698dfcb78c2be2c6ac51417c
|
||||
AUX podman.logrotated 85 BLAKE2B 730899f93ee354e476629276b69224cfeaaa1603b6690cac3c0cd905cd75add19179f99e26f29edbd963d5f44c38a3a2db0b5a3613dc665ab801654eac13dc2e SHA512 0136d063b15b07c41a9370ba1845c4f368ec46a7a30683b7ff7cbb0b12e5b2711c9a45329f5102af6a969e562edcec006a8de9055e43e1caf9395847d0c5ec45
|
||||
DIST podman-3.4.1.tar.gz 10953738 BLAKE2B 423aaecabce5242ae87887e36e9caaf499b3d5c18978e47b738ef3b6a0a094c64f18f5fef614193157c3de0a6c0d88a232efcdcb60de4ae8ab14abbe266ad512 SHA512 b8602464358ab73429a9003262c92c38c9a06e1133c776fd0c4ce65dae26639db66f8f5ad510528f3e6e7bc2fe692746fcf1d90d4e95d701d102006d9a83b27e
|
||||
DIST podman-3.4.4.tar.gz 10945990 BLAKE2B 3de69c9bc3bd1334837d21cb2817a9e9757fbb561a0b047658c7401608ecf1fbe09d5cd0c65497a82150a67a3775c77705d0dbd314a54f7b3a1953733cfb2906 SHA512 cfd295bf50ce86ea70741c3e663b409ed47b1e560c962bc579f319151a0fe2b24cdd3045667660083cce89449a9c5de1508c94a9a02375165a72ce7c16166666
|
||||
EBUILD podman-3.4.1.ebuild 4713 BLAKE2B 02ab6138c45da4d43b70b724a56153d7bc3a63765fc4bbb23ba2696b2e1a31e4b716faf0329410e7cb3aabd1e31aad59e88d45e3bbd8a575f1ab14c9b291d798 SHA512 7f3452554bc00ad417d380a7d9639f32287b500949bba50098ed23400740f1422179c28968d522bc5fe6f1e9da6868c20d4b5942a84998f82c6d272b6a36f2b5
|
||||
EBUILD podman-3.4.4.ebuild 4713 BLAKE2B 9ecbba99850b41e9d3fa4d6adbce14788b9d9b94cc0e2bd1c742638000dc7ebc70f2eb5e4f50315ecb0d64d6c15b1650096739eca3bb8fa7ee3ea23a022e1447 SHA512 ca5a2c3428741f9decf928085d93f838600f34da1586e7f533e498d8903795d62236a56d59276906a301919433b10ea2120f6e58ee03e915cf61cc9068411b55
|
||||
MISC metadata.xml 1161 BLAKE2B 2102871bd12b9db7469f59ba58dcd19f4d5916eb4820d18abc9f36528c00c3439f82ab3988686bbd5b18bc3e8a40a3eddd0e9ed579747ad8c19e9c2d89017e74 SHA512 5d138c94ea82af17594a94667f8306ca96dfb6c12dade1ea1681fedd42e83454f88b2de6dacec6e678b879ef66f3c8cd8d5fae0852c9e3b18239e9c881b4d268
|
||||
|
@ -1,164 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EGIT_COMMIT="a6493ae6904a5b7dde2395a374cb77fc45c8a3bc"
|
||||
|
||||
inherit bash-completion-r1 flag-o-matic go-module tmpfiles
|
||||
|
||||
DESCRIPTION="Library and podman tool for running OCI-based containers in Pods"
|
||||
HOMEPAGE="https://github.com/containers/podman/"
|
||||
MY_PN=podman
|
||||
MY_P=${MY_PN}-${PV}
|
||||
SRC_URI="https://github.com/containers/podman/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="amd64 arm64 ~ppc64"
|
||||
IUSE="apparmor btrfs +fuse +rootless selinux"
|
||||
RESTRICT+=" test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-crypt/gpgme:=
|
||||
>=app-containers/conmon-2.0.0
|
||||
|| ( >=app-containers/runc-1.0.0_rc6 app-containers/crun )
|
||||
dev-libs/libassuan:=
|
||||
dev-libs/libgpg-error:=
|
||||
>=net-misc/cni-plugins-0.8.6
|
||||
sys-fs/lvm2
|
||||
sys-libs/libseccomp:=
|
||||
|
||||
apparmor? ( sys-libs/libapparmor )
|
||||
btrfs? ( sys-fs/btrfs-progs )
|
||||
rootless? ( app-containers/slirp4netns )
|
||||
selinux? ( sys-libs/libselinux:= )
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
dev-go/go-md2man"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
fuse? ( sys-fs/fuse-overlayfs )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Disable installation of python modules here, since those are
|
||||
# installed by separate ebuilds.
|
||||
local makefile_sed_args=(
|
||||
-e '/^GIT_.*/d'
|
||||
-e 's/$(GO) build/$(GO) build -v -work -x/'
|
||||
-e 's/^\(install:.*\) install\.python$/\1/'
|
||||
-e 's|^pkg/varlink/iopodman.go: .gopathok pkg/varlink/io.podman.varlink$|pkg/varlink/iopodman.go: pkg/varlink/io.podman.varlink|'
|
||||
)
|
||||
|
||||
has_version -b '>=dev-lang/go-1.13.9' || makefile_sed_args+=(-e 's:GO111MODULE=off:GO111MODULE=on:')
|
||||
|
||||
sed "${makefile_sed_args[@]}" -i Makefile || die
|
||||
|
||||
sed -e 's|OUTPUT="${CIRRUS_TAG:.*|OUTPUT='v${PV}'|' \
|
||||
-i hack/get_release_info.sh || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local git_commiT=${EGIT_COMMIT}
|
||||
|
||||
# Filter unsupported linker flags
|
||||
filter-flags '-Wl,*'
|
||||
|
||||
[[ -f hack/apparmor_tag.sh ]] || die
|
||||
if use apparmor; then
|
||||
echo -e "#!/bin/sh\necho apparmor" > hack/apparmor_tag.sh || die
|
||||
else
|
||||
echo -e "#!/bin/sh\ntrue" > hack/apparmor_tag.sh || die
|
||||
fi
|
||||
|
||||
[[ -f hack/btrfs_installed_tag.sh ]] || die
|
||||
if use btrfs; then
|
||||
echo -e "#!/bin/sh\ntrue" > hack/btrfs_installed_tag.sh || die
|
||||
else
|
||||
echo -e "#!/bin/sh\necho exclude_graphdriver_btrfs" > \
|
||||
hack/btrfs_installed_tag.sh || die
|
||||
fi
|
||||
|
||||
[[ -f hack/selinux_tag.sh ]] || die
|
||||
if use selinux; then
|
||||
echo -e "#!/bin/sh\necho selinux" > hack/selinux_tag.sh || die
|
||||
else
|
||||
echo -e "#!/bin/sh\ntrue" > hack/selinux_tag.sh || die
|
||||
fi
|
||||
|
||||
# Avoid this error when generating pkg/varlink/iopodman.go:
|
||||
# cannot find package "github.com/varlink/go/varlink/idl"
|
||||
mkdir -p _output || die
|
||||
ln -snf ../vendor _output/src || die
|
||||
GO111MODULE=off GOPATH=${PWD}/_output go generate ./pkg/varlink/... || die
|
||||
rm _output/src || die
|
||||
|
||||
export -n GOCACHE GOPATH XDG_CACHE_HOME
|
||||
GOBIN="${S}/bin" \
|
||||
emake all \
|
||||
GIT_BRANCH=master \
|
||||
GIT_BRANCH_CLEAN=master \
|
||||
COMMIT_NO="${git_commit}" \
|
||||
GIT_COMMIT="${git_commit}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||
|
||||
insinto /etc/containers
|
||||
newins test/registries.conf registries.conf.example
|
||||
newins test/policy.json policy.json.example
|
||||
|
||||
insinto /usr/share/containers
|
||||
doins vendor/github.com/containers/common/pkg/seccomp/seccomp.json
|
||||
|
||||
newconfd "${FILESDIR}"/podman.confd podman
|
||||
newinitd "${FILESDIR}"/podman.initd podman
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/podman.logrotated" podman
|
||||
|
||||
dobashcomp completions/bash/*
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins completions/zsh/*
|
||||
|
||||
insinto /usr/share/fish/vendor_completions.d
|
||||
doins completions/fish/*
|
||||
|
||||
keepdir /var/lib/containers
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
PODMAN_ROOTLESS_UPGRADE=false
|
||||
if use rootless; then
|
||||
has_version 'app-containers/podman[rootless]' || PODMAN_ROOTLESS_UPGRADE=true
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process podman.conf
|
||||
|
||||
local want_newline=false
|
||||
if [[ ! ( -e ${EROOT%/*}/etc/containers/policy.json && -e ${EROOT%/*}/etc/containers/registries.conf ) ]]; then
|
||||
elog "You need to create the following config files:"
|
||||
elog "/etc/containers/registries.conf"
|
||||
elog "/etc/containers/policy.json"
|
||||
elog "To copy over default examples, use:"
|
||||
elog "cp /etc/containers/registries.conf{.example,}"
|
||||
elog "cp /etc/containers/policy.json{.example,}"
|
||||
want_newline=true
|
||||
fi
|
||||
if [[ ${PODMAN_ROOTLESS_UPGRADE} == true ]] ; then
|
||||
${want_newline} && elog ""
|
||||
elog "For rootless operation, you need to configure subuid/subgid"
|
||||
elog "for user running podman. In case subuid/subgid has only been"
|
||||
elog "configured for root, run:"
|
||||
elog "usermod --add-subuids 1065536-1131071 <user>"
|
||||
elog "usermod --add-subgids 1065536-1131071 <user>"
|
||||
want_newline=true
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST kicad-doc-5.1.12.tar.bz2 74217615 BLAKE2B f0906fdb0cf697348e06b63ef0003630a9035d47732c9a22ed3c4fee2f21c02f85fda51eee5149291b72326adc4899b31198178ee6e6ac0d494361cec6c06208 SHA512 db678d91ea5f564ca3f266829c297362cfd6cf35a5dced2ede5e7c9c38a37ca1037b264ee9314fa5c4a9d8197fcd92484ad4cae3668ea9741947d38c7ac7f910
|
||||
DIST kicad-doc-6.0.0_rc1.tar.gz 79671406 BLAKE2B 7ab224ea2ec376c6c073018bc97f932e4097bed205ce8d92ac6b9db5db85fafd6de97a41026d890d3c38073cf410be0490f5e81f97e77c7e63d53a55ddc67527 SHA512 b8dc91daa72f46c2311675a3a4a4317fd2da5c877317e49e4f43ae85f9e1ac859405a3ec35a5fa6fa400825ea5b45350565803efdbf459f5c87844d534cf9bee
|
||||
DIST kicad-doc-6.0.0.tar.gz 81338236 BLAKE2B 949d07a1b16635ad5be1a4855bc0c530a85c5d674096e8d1ae48e250e56168c2cb203d71a882e64c1816f0eb7c4ad1a0233be70bcbac185b2b8bb1e99b85dc66 SHA512 1f327c407b0ae88d1f13266571d978fd18fded857e63f1a56a10aa518da6ccb72e85a35215a51f4c91382f61445d141d837244699e932f411f6522bcf26290c3
|
||||
EBUILD kicad-doc-5.1.12.ebuild 1433 BLAKE2B 61ab869971082533455fdaed043c899d3e06057c646587ad1913f81f50827e1cbaf10cf7ee7554b01dc26c5af2e0039b55515b9f4c69ad0801ac9ac820a1651d SHA512 ee92e2d045ce6174617369bd37b3390c6292b0688f779bc01b37ccc5f368ff9dfb2780695c700a054e80f5ab401f174b601371fbd0048de597863845d85e5f3f
|
||||
EBUILD kicad-doc-6.0.0_rc1.ebuild 1867 BLAKE2B 0dbade7efe07859da30b7b51ddb40114902116bf5e9795422adb09c4aa418a86d1c3c723dc4eb582595a31cdb4bca98223d2df8227f1ce00887b751b7c7bb8a7 SHA512 10584407d37ecde537e2046dd17659560c1eeeeb2c6f9cea3f70e9207fc64fab550a27d92588a8466205a4005fa5ff558be9b6d5948975c6616371e3ad87e637
|
||||
EBUILD kicad-doc-6.0.0-r1.ebuild 2043 BLAKE2B 40b1af5d17b368497a74c83b55834e97783d7caa1bfc7702795bbf531afb8914b57ebdec5b27d086419df29b2a9fcc28bf7d3143031907b54360baf3b9915664 SHA512 3773c5a2a2cd3b1d1654c3ce018be0f5a12c06821352c4c5d06c26d3268ae2c802f86ce22791084907d3cf83180f062a18d3c5cfb9fd097c89628f89d20f7901
|
||||
MISC metadata.xml 852 BLAKE2B 9b21d1f5ae47786e87fdf3703b2e65645cbc4746b861f023f8ca94a9d32dd8c50594eec0e316538943abe7f93a261b3fb2e96f1ac56bccbc316e2f9ef06cfb77 SHA512 aed642bd4c57be8cdae2dc31c81db0915b30032b72dbce3ea157163e2713bd3fe6812aa96c3ee3894f84cfa9126577fb69c2da35525eee2124728c004b436fad
|
||||
|
Binary file not shown.
@ -0,0 +1,503 @@
|
||||
# Copyright 2021 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.5.0
|
||||
alsa-sys-0.3.1
|
||||
ansi_term-0.12.1
|
||||
approx-0.5.0
|
||||
arrayvec-0.5.2
|
||||
arrayvec-0.7.2
|
||||
ash-0.33.3+1.2.191
|
||||
async-channel-1.6.1
|
||||
atty-0.2.14
|
||||
autocfg-1.0.1
|
||||
base64-0.13.0
|
||||
bindgen-0.56.0
|
||||
bit-set-0.5.2
|
||||
bit-vec-0.6.3
|
||||
bitflags-1.3.2
|
||||
bitflags_serde_shim-0.2.2
|
||||
bitstream-io-1.2.0
|
||||
bitvec-0.19.6
|
||||
block-0.1.6
|
||||
block-buffer-0.10.0
|
||||
bstr-0.2.17
|
||||
build_const-0.2.2
|
||||
bumpalo-3.8.0
|
||||
bytemuck-1.7.3
|
||||
bytemuck_derive-1.0.1
|
||||
byteorder-1.4.3
|
||||
bytes-1.1.0
|
||||
cache-padded-1.1.1
|
||||
calloop-0.9.1
|
||||
castaway-0.1.1
|
||||
cc-1.0.72
|
||||
cesu8-1.1.0
|
||||
cexpr-0.4.0
|
||||
cfg-if-0.1.10
|
||||
cfg-if-1.0.0
|
||||
cfg_aliases-0.1.1
|
||||
chrono-0.4.19
|
||||
clang-sys-1.3.0
|
||||
clap-3.0.0-rc.7
|
||||
clap_derive-3.0.0-rc.7
|
||||
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.2
|
||||
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.2
|
||||
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.8
|
||||
cpal-0.13.4
|
||||
cpufeatures-0.2.1
|
||||
crc-1.8.1
|
||||
crc32fast-1.3.0
|
||||
crossbeam-channel-0.5.1
|
||||
crossbeam-deque-0.8.1
|
||||
crossbeam-epoch-0.9.5
|
||||
crossbeam-utils-0.8.5
|
||||
crypto-common-0.1.0
|
||||
csv-1.1.6
|
||||
csv-core-0.1.10
|
||||
ctor-0.1.21
|
||||
cty-0.2.2
|
||||
curl-0.4.41
|
||||
curl-sys-0.4.51+curl-7.80.0
|
||||
d3d12-0.4.1
|
||||
darling-0.10.2
|
||||
darling-0.13.0
|
||||
darling_core-0.10.2
|
||||
darling_core-0.13.0
|
||||
darling_macro-0.10.2
|
||||
darling_macro-0.13.0
|
||||
deflate-0.8.6
|
||||
deflate-0.9.1
|
||||
derivative-2.2.0
|
||||
derive-try-from-primitive-1.0.0
|
||||
diff-0.1.12
|
||||
digest-0.10.0
|
||||
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.6.5
|
||||
encode_unicode-0.3.6
|
||||
encoding-0.2.33
|
||||
encoding-index-japanese-1.20141219.5
|
||||
encoding-index-korean-1.20141219.5
|
||||
encoding-index-simpchinese-1.20141219.5
|
||||
encoding-index-singlebyte-1.20141219.5
|
||||
encoding-index-tradchinese-1.20141219.5
|
||||
encoding_index_tests-0.1.4
|
||||
encoding_rs-0.8.30
|
||||
enum-map-1.1.1
|
||||
enum-map-derive-0.6.0
|
||||
enumset-1.0.8
|
||||
enumset_derive-0.5.5
|
||||
env_logger-0.9.0
|
||||
euclid-0.22.6
|
||||
event-listener-2.5.1
|
||||
fastrand-1.5.0
|
||||
flate2-1.0.22
|
||||
float_next_after-0.1.5
|
||||
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.19
|
||||
futures-channel-0.3.19
|
||||
futures-core-0.3.19
|
||||
futures-executor-0.3.19
|
||||
futures-io-0.3.19
|
||||
futures-lite-1.12.0
|
||||
futures-macro-0.3.19
|
||||
futures-sink-0.3.19
|
||||
futures-task-0.3.19
|
||||
futures-util-0.3.19
|
||||
fxhash-0.2.1
|
||||
generational-arena-0.2.8
|
||||
generic-array-0.14.4
|
||||
getrandom-0.2.3
|
||||
gif-0.11.3
|
||||
glob-0.3.0
|
||||
glow-0.11.0
|
||||
gpu-alloc-0.5.2
|
||||
gpu-alloc-types-0.2.0
|
||||
gpu-descriptor-0.2.2
|
||||
gpu-descriptor-types-0.1.1
|
||||
hashbrown-0.11.2
|
||||
heck-0.3.3
|
||||
hermit-abi-0.1.19
|
||||
hexf-parse-0.2.1
|
||||
http-0.2.5
|
||||
humantime-2.1.0
|
||||
ident_case-1.0.1
|
||||
idna-0.2.3
|
||||
image-0.23.14
|
||||
indexmap-1.7.0
|
||||
indicatif-0.16.2
|
||||
inplace_it-0.3.3
|
||||
instant-0.1.12
|
||||
isahc-1.6.0
|
||||
itoa-0.4.8
|
||||
jni-0.19.0
|
||||
jni-sys-0.3.0
|
||||
jobserver-0.1.24
|
||||
jpeg-decoder-0.1.22
|
||||
jpeg-decoder-0.2.1
|
||||
js-sys-0.3.55
|
||||
json-0.12.4
|
||||
khronos-egl-4.1.0
|
||||
lazy_static-1.4.0
|
||||
lazycell-1.3.0
|
||||
lexical-core-0.7.6
|
||||
libc-0.2.109
|
||||
libflate-1.1.1
|
||||
libflate_lz77-1.1.0
|
||||
libloading-0.7.2
|
||||
libnghttp2-sys-0.1.7+1.45.0
|
||||
libz-sys-1.1.3
|
||||
lock_api-0.4.5
|
||||
log-0.4.14
|
||||
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.3.7
|
||||
miniz_oxide-0.4.4
|
||||
mio-0.8.0
|
||||
miow-0.3.7
|
||||
naga-0.7.2
|
||||
ndk-0.3.0
|
||||
ndk-0.4.0
|
||||
ndk-0.5.0
|
||||
ndk-glue-0.3.0
|
||||
ndk-glue-0.4.0
|
||||
ndk-glue-0.5.0
|
||||
ndk-macro-0.2.0
|
||||
ndk-macro-0.3.0
|
||||
ndk-sys-0.2.2
|
||||
nix-0.20.0
|
||||
nix-0.22.0
|
||||
nom-5.1.2
|
||||
nom-6.1.2
|
||||
nom-7.1.0
|
||||
ntapi-0.3.6
|
||||
num-complex-0.3.1
|
||||
num-derive-0.3.3
|
||||
num-integer-0.1.44
|
||||
num-iter-0.1.42
|
||||
num-rational-0.3.2
|
||||
num-traits-0.2.14
|
||||
num_cpus-1.13.0
|
||||
num_enum-0.5.4
|
||||
num_enum_derive-0.5.4
|
||||
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.4
|
||||
oboe-sys-0.4.4
|
||||
once_cell-1.8.0
|
||||
openssl-probe-0.1.4
|
||||
openssl-sys-0.9.71
|
||||
os_str_bytes-6.0.0
|
||||
output_vt100-0.1.2
|
||||
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.8
|
||||
pin-project-internal-1.0.8
|
||||
pin-project-lite-0.2.7
|
||||
pin-utils-0.1.0
|
||||
pkg-config-0.3.22
|
||||
png-0.16.8
|
||||
png-0.17.2
|
||||
polling-2.2.0
|
||||
ppv-lite86-0.2.15
|
||||
pretty_assertions-1.0.0
|
||||
primal-check-0.3.1
|
||||
proc-macro-crate-0.1.5
|
||||
proc-macro-crate-1.1.0
|
||||
proc-macro-error-1.0.4
|
||||
proc-macro-error-attr-1.0.4
|
||||
proc-macro2-1.0.32
|
||||
profiling-1.0.4
|
||||
quote-1.0.10
|
||||
radium-0.5.3
|
||||
rand-0.8.4
|
||||
rand_chacha-0.3.1
|
||||
rand_core-0.6.3
|
||||
range-alloc-0.1.2
|
||||
raw-window-handle-0.3.4
|
||||
raw-window-handle-0.4.2
|
||||
rayon-1.5.1
|
||||
rayon-core-1.9.1
|
||||
redox_syscall-0.2.10
|
||||
redox_users-0.4.0
|
||||
regex-1.5.4
|
||||
regex-automata-0.1.10
|
||||
regex-syntax-0.6.25
|
||||
regress-0.4.1
|
||||
renderdoc-sys-0.7.1
|
||||
rle-decode-fast-1.0.1
|
||||
ron-0.6.6
|
||||
rustc-hash-1.1.0
|
||||
rustdct-0.6.0
|
||||
rustfft-5.1.1
|
||||
ryu-1.0.6
|
||||
same-file-1.0.6
|
||||
schannel-0.1.19
|
||||
scoped-tls-1.0.0
|
||||
scoped_threadpool-0.1.9
|
||||
scopeguard-1.1.0
|
||||
serde-1.0.132
|
||||
serde_derive-1.0.132
|
||||
serde_json-1.0.72
|
||||
sha2-0.10.0
|
||||
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.7.0
|
||||
smithay-client-toolkit-0.15.2
|
||||
socket2-0.4.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
|
||||
strsim-0.9.3
|
||||
svg-0.10.0
|
||||
symphonia-0.4.0
|
||||
symphonia-bundle-mp3-0.4.0
|
||||
symphonia-core-0.4.0
|
||||
symphonia-metadata-0.4.0
|
||||
syn-1.0.82
|
||||
synstructure-0.12.6
|
||||
tap-1.0.1
|
||||
termcolor-1.1.2
|
||||
terminal_size-0.1.17
|
||||
textwrap-0.14.2
|
||||
thiserror-1.0.30
|
||||
thiserror-impl-1.0.30
|
||||
tiff-0.6.1
|
||||
time-0.1.43
|
||||
tinyfiledialogs-3.8.3
|
||||
tinyvec-1.5.1
|
||||
tinyvec_macros-0.1.0
|
||||
toml-0.5.8
|
||||
tracing-0.1.29
|
||||
tracing-attributes-0.1.18
|
||||
tracing-core-0.1.21
|
||||
tracing-futures-0.2.5
|
||||
transpose-0.2.1
|
||||
typenum-1.14.0
|
||||
unicode-bidi-0.3.7
|
||||
unicode-normalization-0.1.19
|
||||
unicode-segmentation-1.8.0
|
||||
unicode-width-0.1.9
|
||||
unicode-xid-0.2.2
|
||||
url-2.2.2
|
||||
vcpkg-0.2.15
|
||||
version_check-0.9.3
|
||||
vswhom-0.1.0
|
||||
vswhom-sys-0.1.0
|
||||
waker-fn-1.1.0
|
||||
walkdir-2.3.2
|
||||
wasi-0.10.2+wasi-snapshot-preview1
|
||||
wasm-bindgen-0.2.78
|
||||
wasm-bindgen-backend-0.2.78
|
||||
wasm-bindgen-futures-0.4.28
|
||||
wasm-bindgen-macro-0.2.78
|
||||
wasm-bindgen-macro-support-0.2.78
|
||||
wasm-bindgen-shared-0.2.78
|
||||
wayland-client-0.29.1
|
||||
wayland-commons-0.29.1
|
||||
wayland-cursor-0.29.1
|
||||
wayland-protocols-0.29.1
|
||||
wayland-scanner-0.29.1
|
||||
wayland-sys-0.29.1
|
||||
weak-table-0.3.2
|
||||
web-sys-0.3.55
|
||||
webbrowser-0.5.5
|
||||
weezl-0.1.5
|
||||
wepoll-ffi-0.1.2
|
||||
wgpu-0.11.1
|
||||
wgpu-core-0.11.3
|
||||
wgpu-hal-0.11.5
|
||||
wgpu-types-0.11.0
|
||||
widestring-0.4.3
|
||||
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
|
||||
winit-0.26.0
|
||||
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..10} )
|
||||
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 03dcd486e88381635647a7386105cb802921b69c h263-rs:h263,h263-rs-yuv:yuv"
|
||||
"ruffle-rs nellymoser 77000f763b58021295429ca5740e3dc3b5228cbd 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 zlib-acknowledgement"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="gui"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/openssl:=
|
||||
media-libs/alsa-lib
|
||||
sys-libs/zlib:=
|
||||
x11-libs/libxcb:="
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
gui? (
|
||||
|| (
|
||||
gnome-extra/zenity
|
||||
kde-apps/kdialog
|
||||
)
|
||||
)"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
virtual/pkgconfig
|
||||
>=virtual/rust-1.56"
|
||||
|
||||
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-flags '-flto*' # undefined references with tinyfiledialogs and more
|
||||
|
||||
cargo_src_compile --bins # note: configure --bins would skip tests
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README.md
|
||||
|
||||
# does not have a real GUI yet, flag is used to ensure there is a
|
||||
# way for messages and file picker to be displayed with .desktop
|
||||
# (many options, but zenity and kdialog currently seem to work better)
|
||||
if use gui; then
|
||||
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;"
|
||||
fi
|
||||
|
||||
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
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST vice-3.5.tar.gz 22557578 BLAKE2B 5573951052c2c7b2beb4dd194ad8612c53e484e47a4d935e0dbc880f2f06611252add3631f99c9656f2c941088d0147b0783020ffcc5a29505bab75ef8dc128e SHA512 02f364c1645138cacb461346d44de8f524fb2aba7d980181caf039c46ca9d30db98466e5b0e56e6a41417cd7bbd63d73bf6eb110af1271e23732e320dd1fab70
|
||||
DIST vice-3.6.tar.gz 11389599 BLAKE2B 6ebf0a235f059cd4b4a6408e32657babfb1d8bd15c101764ea05224830caf1f53807434b7556ea2aa494e7fcc8f8f19b44e9202572679e76f0a147f52941575a SHA512 4e17ccf6b57a26cb439549fe0e9097045aaf78b3a291df8b47e16bf54c585194d38961a7d17d0c1c9e76e6e2aea7aa6e513cfcdbe9802363f2d885e9fb50bee9
|
||||
EBUILD vice-3.5-r1.ebuild 4077 BLAKE2B cf446708e7d2b3b84db74d7e59557a9cd078ea28cc3e3f3ec2024a14865f0ed5b8157a968bf9a53cb08c1c88c7ca1bb4937ec4b3c568fe70e9107619a5dd4942 SHA512 e207be81ee7ecd8f4049e69befd6171bcae1758538a34704e538d7903141c28b7a179c9ab2b3afddfeaabb3d410f31261f1cd525113a612d90e736c8f8f027ae
|
||||
EBUILD vice-3.6.ebuild 4618 BLAKE2B bbc19cb818f22d329c60c0559197d8daa5868bfbf1a280d5ce680d88f96baba3ca6af41d19aca21f8bd3497be83d6c557a9ecf53ce9e57da7120ef2520d82757 SHA512 30154367e690ec507f1ffbb33ac3dd1c80416fc90515563c4cdad44d0a8d6a7ed8eaed20524762ac1f77839aaab9af0a18d6a43c51d12efb3f989d12b40cb187
|
||||
MISC metadata.xml 785 BLAKE2B 1dc59c7b40fda968680e97b1ad83e741faf223143bbc1ab2d523e37312badd3a3aaedc3bbffbd158531c74ae73dab1bb1ee03666a081eb17d819dc9e0b783ee2 SHA512 b483d325702723d1395bca771d215709fc68b6ca8309c4297c6a668d5940502c9c8d5d4149e1f52b8fd6d5062cf04b2e3d7046ecfc0555d2703b064e329af283
|
||||
|
@ -0,0 +1,193 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# --enable-static-lame triggers bug #814380 with EAPI-8, could work
|
||||
# around but staying EAPI-7 for now unless there's some urgency
|
||||
EAPI=7
|
||||
|
||||
inherit multibuild toolchain-funcs xdg
|
||||
|
||||
DESCRIPTION="The Versatile Commodore Emulator"
|
||||
HOMEPAGE="https://vice-emu.sourceforge.io/"
|
||||
SRC_URI="mirror://sourceforge/vice-emu/releases/${P}.tar.gz"
|
||||
S="${WORKDIR}/${P}.0"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="
|
||||
alsa cpuhistory debug doc ethernet ffmpeg flac gif +gtk headless jpeg
|
||||
lame mpg123 ogg openmp oss parport pci png portaudio pulseaudio sdl zlib"
|
||||
REQUIRED_USE="
|
||||
|| ( gtk headless sdl )
|
||||
gtk? ( zlib )"
|
||||
|
||||
# ffmpeg/lame are loaded by dlopen(), keeping := to rebuild with same headers
|
||||
RDEPEND="
|
||||
virtual/libintl
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
ethernet? (
|
||||
net-libs/libpcap
|
||||
sys-libs/libcap
|
||||
)
|
||||
ffmpeg? ( media-video/ffmpeg:= )
|
||||
flac? ( media-libs/flac )
|
||||
gif? ( media-libs/giflib:= )
|
||||
gtk? (
|
||||
dev-libs/atk
|
||||
dev-libs/glib:2
|
||||
media-libs/fontconfig:1.0
|
||||
media-libs/glew:0=
|
||||
sys-libs/readline:=
|
||||
virtual/opengl
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:3[X]
|
||||
x11-libs/libX11
|
||||
x11-libs/pango
|
||||
)
|
||||
jpeg? ( virtual/jpeg )
|
||||
lame? ( media-sound/lame )
|
||||
mpg123? ( media-sound/mpg123 )
|
||||
ogg? (
|
||||
media-libs/libogg
|
||||
media-libs/libvorbis
|
||||
)
|
||||
parport? ( sys-libs/libieee1284 )
|
||||
pci? ( sys-apps/pciutils )
|
||||
png? ( media-libs/libpng:= )
|
||||
portaudio? ( media-libs/portaudio )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
sdl? (
|
||||
media-libs/libsdl2[video]
|
||||
media-libs/sdl2-image
|
||||
sys-libs/readline:=
|
||||
)
|
||||
zlib? ( sys-libs/zlib:= )"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
x11-base/xorg-proto"
|
||||
BDEPEND="
|
||||
app-arch/unzip
|
||||
app-text/dos2unix
|
||||
dev-embedded/xa
|
||||
dev-lang/perl
|
||||
sys-apps/texinfo
|
||||
sys-devel/flex
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
virtual/yacc
|
||||
doc? ( virtual/texi2dvi )
|
||||
gtk? ( x11-misc/xdg-utils )"
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Strip the predefined C(XX)FLAGS.
|
||||
sed -i -r 's:(VICE_C(XX)?FLAGS=)"[^$]+":\1:' configure || die
|
||||
|
||||
MULTIBUILD_VARIANTS=(
|
||||
$(usev gtk)
|
||||
$(usev headless)
|
||||
$(usev sdl)
|
||||
)
|
||||
|
||||
# Debug build currently broken without copy sources.
|
||||
multibuild_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export AR
|
||||
|
||||
multibuild_foreach_variant run_in_build_dir multibuild_src_configure
|
||||
}
|
||||
|
||||
multibuild_src_configure() {
|
||||
# Append ".variant" to x* programs if building multiple variants.
|
||||
local xform
|
||||
(( ${#MULTIBUILD_VARIANTS[@]} > 1 )) &&
|
||||
xform="/^x/s/\$/.${MULTIBUILD_VARIANT}/"
|
||||
|
||||
vice-multi_enable() {
|
||||
if [[ ${MULTIBUILD_VARIANT} == ${1} ]]; then
|
||||
echo --enable-${2}
|
||||
else
|
||||
echo --disable-${2}
|
||||
fi
|
||||
}
|
||||
|
||||
local econfargs=(
|
||||
--program-transform-name="${xform}"
|
||||
$(vice-multi_enable gtk desktop-files)
|
||||
$(vice-multi_enable gtk native-gtk3ui)
|
||||
$(vice-multi_enable headless headlessui)
|
||||
$(vice-multi_enable sdl sdlui2)
|
||||
$(usex debug $(vice-multi_enable gtk debug-gtk3ui) --disable-debug-gtk3ui)
|
||||
$(use_enable cpuhistory)
|
||||
$(use_enable debug)
|
||||
$(use_enable doc pdf-docs)
|
||||
$(use_enable ethernet)
|
||||
$(use_enable ffmpeg external-ffmpeg)
|
||||
$(use_enable lame)
|
||||
$(use_enable openmp)
|
||||
$(use_enable parport libieee1284)
|
||||
$(use_enable portaudio)
|
||||
$(use_with alsa)
|
||||
$(use_with flac)
|
||||
$(use_with gif)
|
||||
$(use_with jpeg)
|
||||
$(use_with mpg123)
|
||||
$(use_with ogg vorbis)
|
||||
$(use_with oss)
|
||||
$(use_with png)
|
||||
$(use_with pulseaudio pulse)
|
||||
$(use_with zlib)
|
||||
$(usex alsa --enable-midi $(use_enable oss midi))
|
||||
$(usex pci '' ac_cv_header_pci_pci_h=no)
|
||||
--disable-arch
|
||||
--disable-sdlui
|
||||
ac_cv_lib_ungif_EGifPutLine=no # ensure use giflib, not ungif
|
||||
|
||||
# $(use_with curl libcurl) # new in 3.6 but is a unused placeholder
|
||||
# --enable-io-simulation # likewise
|
||||
)
|
||||
|
||||
econf "${econfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
multibuild_foreach_variant run_in_build_dir emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Get xdg-desktop-menu to play nicely while doing the install.
|
||||
dodir /etc/xdg/menus /usr/share/{applications,desktop-directories}
|
||||
|
||||
XDG_UTILS_INSTALL_MODE=system \
|
||||
XDG_DATA_DIRS="${ED}"/usr/share \
|
||||
XDG_CONFIG_DIRS="${ED}"/etc/xdg \
|
||||
multibuild_foreach_variant run_in_build_dir default
|
||||
|
||||
rm -f "${ED}"/usr/share/applications/*.cache || die
|
||||
|
||||
vice-install_extras() {
|
||||
docinto html
|
||||
dodoc doc/html/*.{html,css}
|
||||
dodoc -r doc/html/images
|
||||
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
doins doc/vim/ftdetect/*.vim
|
||||
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins doc/vim/syntax/*.vim
|
||||
}
|
||||
multibuild_for_best_variant run_in_build_dir vice-install_extras
|
||||
}
|
Binary file not shown.
@ -0,0 +1,263 @@
|
||||
# Copyright 2021 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.4.7
|
||||
ahash-0.7.6
|
||||
aho-corasick-0.7.18
|
||||
ansi_colours-1.0.4
|
||||
ansi_term-0.11.0
|
||||
anyhow-1.0.45
|
||||
argh-0.1.6
|
||||
argh_derive-0.1.6
|
||||
argh_shared-0.1.6
|
||||
atty-0.2.14
|
||||
autocfg-1.0.1
|
||||
base64-0.13.0
|
||||
bet-1.0.0
|
||||
bincode-1.3.3
|
||||
bitflags-1.3.2
|
||||
bstr-0.2.17
|
||||
bytemuck-1.7.2
|
||||
byteorder-1.4.3
|
||||
cc-1.0.72
|
||||
cfg-if-1.0.0
|
||||
char_reader-0.1.1
|
||||
chrono-0.4.19
|
||||
clap-2.33.3
|
||||
cli-log-0.1.0
|
||||
cli-log-2.0.0
|
||||
clipboard-win-4.2.2
|
||||
color_quant-1.1.0
|
||||
coolor-0.3.1
|
||||
crc32fast-1.2.1
|
||||
crossbeam-0.8.1
|
||||
crossbeam-channel-0.5.1
|
||||
crossbeam-deque-0.8.1
|
||||
crossbeam-epoch-0.9.5
|
||||
crossbeam-queue-0.3.2
|
||||
crossbeam-utils-0.8.5
|
||||
crossterm-0.19.0
|
||||
crossterm-0.22.1
|
||||
crossterm_winapi-0.7.0
|
||||
crossterm_winapi-0.9.0
|
||||
csv-1.1.6
|
||||
csv-core-0.1.10
|
||||
csv2svg-0.1.5
|
||||
custom_error-1.9.2
|
||||
deflate-0.8.6
|
||||
deser-hjson-1.0.2
|
||||
directories-3.0.2
|
||||
directories-next-2.0.0
|
||||
dirs-sys-0.3.6
|
||||
dirs-sys-next-0.1.2
|
||||
either-1.6.1
|
||||
error-code-2.3.0
|
||||
fallible-iterator-0.2.0
|
||||
fallible-streaming-iterator-0.1.9
|
||||
file-size-1.0.3
|
||||
flate2-1.0.22
|
||||
fnv-1.0.7
|
||||
form_urlencoded-1.0.1
|
||||
getrandom-0.2.3
|
||||
gif-0.11.3
|
||||
git2-0.13.24
|
||||
glassbench-0.3.0
|
||||
glob-0.3.0
|
||||
hashbrown-0.9.1
|
||||
hashbrown-0.11.2
|
||||
hashlink-0.6.0
|
||||
heck-0.3.3
|
||||
hermit-abi-0.1.19
|
||||
id-arena-2.2.1
|
||||
idna-0.2.3
|
||||
image-0.23.14
|
||||
indexmap-1.7.0
|
||||
instant-0.1.12
|
||||
is_executable-1.0.1
|
||||
itoa-0.4.8
|
||||
jobserver-0.1.24
|
||||
jpeg-decoder-0.1.22
|
||||
lazy-regex-2.2.2
|
||||
lazy-regex-proc_macros-2.2.2
|
||||
lazy_static-1.4.0
|
||||
lazycell-1.3.0
|
||||
lfs-core-0.4.2
|
||||
libc-0.2.107
|
||||
libgit2-sys-0.12.25+1.3.0
|
||||
libsqlite3-sys-0.20.1
|
||||
libz-sys-1.1.3
|
||||
line-wrap-0.1.1
|
||||
linked-hash-map-0.5.4
|
||||
lock_api-0.4.5
|
||||
log-0.4.14
|
||||
matches-0.1.9
|
||||
memchr-2.4.1
|
||||
memmap-0.7.0
|
||||
memoffset-0.6.4
|
||||
minimad-0.7.1
|
||||
minimad-0.9.0
|
||||
miniz_oxide-0.3.7
|
||||
miniz_oxide-0.4.4
|
||||
mio-0.7.14
|
||||
miow-0.3.7
|
||||
ntapi-0.3.6
|
||||
num-integer-0.1.44
|
||||
num-iter-0.1.42
|
||||
num-rational-0.3.2
|
||||
num-traits-0.2.14
|
||||
num_cpus-1.13.0
|
||||
once_cell-1.8.0
|
||||
onig-6.3.1
|
||||
onig_sys-69.7.1
|
||||
open-1.7.1
|
||||
open-2.0.1
|
||||
parking_lot-0.11.2
|
||||
parking_lot_core-0.8.5
|
||||
pathdiff-0.2.1
|
||||
percent-encoding-2.1.0
|
||||
phf-0.9.0
|
||||
phf_generator-0.9.1
|
||||
phf_macros-0.9.0
|
||||
phf_shared-0.9.0
|
||||
pkg-config-0.3.22
|
||||
plist-1.3.1
|
||||
png-0.16.8
|
||||
ppv-lite86-0.2.15
|
||||
proc-macro-hack-0.5.19
|
||||
proc-macro2-1.0.32
|
||||
proc-status-0.1.1
|
||||
quick-xml-0.22.0
|
||||
quote-1.0.10
|
||||
rand-0.8.4
|
||||
rand_chacha-0.3.1
|
||||
rand_core-0.6.3
|
||||
rand_hc-0.3.1
|
||||
rayon-1.5.1
|
||||
rayon-core-1.9.1
|
||||
redox_syscall-0.2.10
|
||||
redox_users-0.4.0
|
||||
regex-1.5.4
|
||||
regex-automata-0.1.10
|
||||
regex-syntax-0.6.25
|
||||
remove_dir_all-0.5.3
|
||||
rusqlite-0.24.2
|
||||
ryu-1.0.5
|
||||
safemem-0.3.3
|
||||
same-file-1.0.6
|
||||
scoped_threadpool-0.1.9
|
||||
scopeguard-1.1.0
|
||||
secular-1.0.1
|
||||
serde-1.0.130
|
||||
serde_derive-1.0.130
|
||||
serde_json-1.0.71
|
||||
signal-hook-0.1.17
|
||||
signal-hook-0.3.10
|
||||
signal-hook-mio-0.2.1
|
||||
signal-hook-registry-1.4.0
|
||||
siphasher-0.3.7
|
||||
smallvec-1.7.0
|
||||
splitty-0.1.0
|
||||
str-buf-1.0.5
|
||||
strict-0.1.4
|
||||
strsim-0.8.0
|
||||
svg-0.8.2
|
||||
syn-1.0.81
|
||||
syntect-4.6.0
|
||||
tempfile-3.2.0
|
||||
termimad-0.10.3
|
||||
termimad-0.20.0
|
||||
terminal-clipboard-0.3.1
|
||||
termux-clipboard-0.1.0
|
||||
textwrap-0.11.0
|
||||
thiserror-1.0.30
|
||||
thiserror-impl-1.0.30
|
||||
tiff-0.6.1
|
||||
time-0.1.43
|
||||
time-0.3.5
|
||||
tinyvec-1.5.1
|
||||
tinyvec_macros-0.1.0
|
||||
toml-0.5.8
|
||||
umask-1.0.0
|
||||
unicode-bidi-0.3.7
|
||||
unicode-normalization-0.1.19
|
||||
unicode-segmentation-1.8.0
|
||||
unicode-width-0.1.9
|
||||
unicode-xid-0.2.2
|
||||
url-2.2.2
|
||||
users-0.11.0
|
||||
vcpkg-0.2.15
|
||||
vec_map-0.8.2
|
||||
version_check-0.9.3
|
||||
walkdir-2.3.2
|
||||
wasi-0.10.2+wasi-snapshot-preview1
|
||||
weezl-0.1.5
|
||||
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
|
||||
x11-clipboard-0.5.3
|
||||
xcb-0.10.1
|
||||
xml-rs-0.8.4
|
||||
yaml-rust-0.4.5
|
||||
"
|
||||
|
||||
inherit bash-completion-r1 cargo
|
||||
|
||||
DESCRIPTION="A new way to see and navigate directory trees"
|
||||
HOMEPAGE="https://dystroy.org/broot/ https://github.com/Canop/broot"
|
||||
SRC_URI="https://github.com/Canop/broot/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
$(cargo_crate_uris)"
|
||||
|
||||
LICENSE="Apache-2.0 BSD-2 BSD LGPL-3+ MIT ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="X"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libgit2:=
|
||||
X? ( x11-libs/libxcb:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND=">=virtual/rust-1.56"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/${PN}"
|
||||
|
||||
src_configure() {
|
||||
local myfeatures=( $(usev X clipboard) )
|
||||
|
||||
cargo_src_configure --no-default-features
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local mandate=$(date -r man/page +'%Y/%m/%d' || die)
|
||||
sed -e "s|#version|${PV}|" \
|
||||
-e "s|#date|${mandate}|" \
|
||||
man/page > "${T}"/${PN}.1 || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
|
||||
doman "${T}"/${PN}.1
|
||||
|
||||
local build_dir=( target/$(usex debug{,} release)/build/${PN}-*/out )
|
||||
cd ${build_dir[0]} || die
|
||||
|
||||
newbashcomp ${PN}.bash ${PN}
|
||||
newbashcomp br.bash br
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins _${PN}
|
||||
doins _br
|
||||
|
||||
insinto /usr/share/fish/vendor_completions.d
|
||||
doins ${PN}.fish
|
||||
doins br.fish
|
||||
}
|
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
DIST metagen-0.7.2.tar.gz 8391 BLAKE2B 3ec53ff7fa12ea816c88bcbd4e45a3cc66527e6a507f01bc8934abc6bb6ae142e6c6620f82af7c6775b9001d6549832d6fab42c1b44c966f72a40ec0a0f66b2a SHA512 8a78d47ce8228df73a36d4c0f346d75250fbf8568ca6c8cc9ff9313b61c43ba514cf6dc13b36ea90f1ea5b194337748224ff81449d56527fbfc6b7a91e408054
|
||||
EBUILD metagen-0.7.2-r1.ebuild 708 BLAKE2B 096b3982cd7b27b127b44528b628ed5fd29717ec6f927ef2a84a61107a0177c9caf53c291729618487db0d60aaa9e1af43fe8083ba5dbe8cad360e2b42ced17b SHA512 e62a3ccaaaa439ec322774f7cb0b2c6912a0d1b0c8312fbe34447482f6012298976f9c180c7f8692317a46d074b7b009c46cef61588991796011758c9647c9a1
|
||||
EBUILD metagen-0.7.2-r2.ebuild 831 BLAKE2B 179ff715e22997f3e2bf3fd9869af567c1d3be0afc1eea2a3a8d98f4d86c7a440056651e9b334ba836e4f463e36b7b4dfc9e7087700b9c55f77659b8932e1b0f SHA512 8a3510c223346ada9fe5dc962d3c5dd1c408396a3b1ea26339ea8f0039db903bd456b9b9148d80853af3f1e0478c804a3e7f856fedad5c2fa7781a136cb7038a
|
||||
EBUILD metagen-0.7.2-r2.ebuild 834 BLAKE2B 92e3d9180b49fcd49ec41f7a3bc92810dfaf31b96a6c3b828ba841f4476bfeb5be56e2d31cbb3457452346cbd654b2fa81875fe22170e06d3df36cd84a077175 SHA512 848ce0bcc332cd1eec100747eea6feb63d94019e71af55295077f9da3da1045bb19352c6227ccdbca0f5ea033419d03ae91bbfbeb277bf43c08758ea7de67151
|
||||
EBUILD metagen-0.7.2.ebuild 737 BLAKE2B b8abed80940833688f245cef82963833ddea9994479d11896016bf601677c36b03531a4bba48ac5a7ffd7cd0ca15cb30e1db7890496e8f8e78507b4205e501db SHA512 3e4eef66d79eab73b0c1e4b7c0dd0b6fafe7fed3d529a399729bb9378ce68bb8d75f8eddca165fb7f814470bcceedf828e5dd239948895cea9a2b04d73e847b9
|
||||
EBUILD metagen-9999.ebuild 930 BLAKE2B 2ed329c8bfdfff8c72d7ee00b448b70c900bf90f325a7ab0d72f8c85458860c36313eb0597dd01962f446d89d12ac52045318ed879ad7841299f7286c3b01a91 SHA512 4d842ecb22d61cd199138d0692dc3713af538f026354efeb6f6cedab3ebde0be7f6cdd9a500594043af2f4ba282f27b05924b4e1fb86e507b7001cb7971c1a2a
|
||||
EBUILD metagen-9999.ebuild 932 BLAKE2B e1ccb42a0aa761701f2370038bf13272bcb0144583317f1f6aff51969dac37f83fe55effb9917904fd9855d14a9a483f02136e8d1242e3d3949fc5750178c147 SHA512 86ad17b1e90ad1e602eaee0687471b360c839dfa87981e012aa3c84eedf720af69a3eafc8ebc8041bbfd8a5c210876f40f770af37b0702890daac6492c3bc555
|
||||
MISC metadata.xml 250 BLAKE2B 2bc2e14adc90cf0097dec7f5c2eeeaebecbd404252555385c3455d81ea3a22eecc3dc27aa17699ab500fdfcb737f58a6cc981aeb691fe6266537c290655ca54f SHA512 913641ea55e6cbeb7ca80b13ed2161dd3d22e6d2f59408bf272c4a79e4590b4f2c726f4025d190e58617e262313fbf9ba0892b72773e4769466f812b5c009374
|
||||
|
@ -1,10 +1,10 @@
|
||||
DIST portage-utils-0.90.1.tar.xz 1779252 BLAKE2B 27c94694cab84970c0c92e835b9039d9420fbfa20f9f2e03f4f53d118df4dc243cddce33994095a3e41bd1027a42c9c29cda65cb7cf4f45279a028b21555f4f8 SHA512 67290a69ad6ac40da3ce0f41d2630096690e69bb97a1428af921ccc582dcfbf903bbf98259f68afdbe9e96aef81672ea3352a9266a649e75f99acec7fa00cd8a
|
||||
DIST portage-utils-0.90.tar.xz 1776636 BLAKE2B bbacc05aa97c77705ae4fbdb5efde5f1d49a99ac8ed259e026c9a997f43a86551b3a10a397e0c5f1da161d2c0d88afe88e22870705ca39d911c4a98ad13f4928 SHA512 2077061dd7dfd444d4ad38faf5a87aa44392d7747f71d7283b5e2775ce3d714773cd642ea085aea3dd34a715f2c446d42fd64ba42fa99e716e8d843aae3d9682
|
||||
DIST portage-utils-0.92.tar.xz 1819676 BLAKE2B 01798e3984745140bca1bcc1eda5c2aea7c517bee2656acfe1bd810fc8088ddcb474f2c64fee6832c5e1699e2ec8ad5a9c6d5afba8a2e2b6f1861d49fbf7fcb7 SHA512 7d36263c9c242c8e82786fa12e171a3f396f65520acb8caa91516862615bd71241699ab6c2232122f7009875aa0a10b06b614a842d45afc86e599b39711e12b3
|
||||
DIST portage-utils-0.93.1.tar.xz 1795788 BLAKE2B b2ec546ad391d9d1862321907120e24d8d451166d759ea1f1f0d12aa6e34627c9bca9fcd331c02310937e739171428f3491f596d5e01aac2d699fa924f3ca6a2 SHA512 7245e8e75e99f6fec19363b974963bd7ff385c9f6c4834779501030fe9d134a36b32dd1b41d015fed3c81f76fd41a663e9a2fd8246e97d26e3b2ebbce6b5baad
|
||||
DIST portage-utils-0.93.2.tar.xz 1796492 BLAKE2B 32aedb673d868389b1053bea932fdcd8624017d725bb91e1a994124606625b0205a81a1668a62ad61c366682e734a497d7f0a46f094ba27159cfbf881379a09e SHA512 45e42b72e79ffc080c408d92cf431f07be8444f0fa5d185cf98c58847a5af13e14cf002ecd77446c39d2114ff38de47e2772344750a4fcbc0ecc8df27bec998e
|
||||
EBUILD portage-utils-0.90.1.ebuild 1344 BLAKE2B aa2a6db5a845dae33a6a5e711b3cc2f49d39458bb89bb3498b1b29a87909456f6e361f2108aff2b0dc36bd73189b5d6b0826e352ee47d80c0388bd47b5e08a92 SHA512 54523cfaa4e7362efe036e37f75cb8a40c356569952293ac2e9ee1a8ac289ea1e5f32b0c41c65ad505b5d3e0b686dd1bd4b6ac463ed78b33f89e2850119e170f
|
||||
EBUILD portage-utils-0.90.ebuild 1524 BLAKE2B 75878900c8ba8a8a6c8382a0be0a48bf5bb75ef28b12583e437a577cbf3138f6e562675344bb79b3516c7510baed5bf5d69339d0e6924570e21fc45c2f248c0e SHA512 9bd404d97610fedb1e036e5548be12932570fe7916ab486e02835baa1bfa8d8fa59a7c31689b17728d72ee9d8d1a4733823dc611a6c9b2eecc1d58f78b1165ac
|
||||
EBUILD portage-utils-0.92.ebuild 1520 BLAKE2B 7dd754e763e53568562d2022bcb09df5c0be58b38675593569bd6c446fb3fd96b2c03919216b42a8e14391578f1d99f368bde20fd093cca0cc4a5d92c358814e SHA512 aa9224219077cbe9e2dbe64594c8f794beead0621e3bc2d1c17d75b2cf1c66fcd625f8b47c74bb73644d7d78c2cf8087f88b2f1964ba4c0d053e2876e81bb66c
|
||||
EBUILD portage-utils-0.93.1.ebuild 1526 BLAKE2B 15441470809e412e45b4ff193a93a473049c68cc641585a33e117cb6994269f8b57a6838b4b93dccde6dda2fea6c11dddd2aaf8be6e7db1e873385a28515ede2 SHA512 376f34ca2ef7f551bf8576fcf237cde6f484a7d7a2fabb615b1932fc2947715632e7f7e3eff7968a73dc294d7186fae626a6d5f4abbf2294d9faa075af670e55
|
||||
EBUILD portage-utils-0.93.2.ebuild 1526 BLAKE2B 15441470809e412e45b4ff193a93a473049c68cc641585a33e117cb6994269f8b57a6838b4b93dccde6dda2fea6c11dddd2aaf8be6e7db1e873385a28515ede2 SHA512 376f34ca2ef7f551bf8576fcf237cde6f484a7d7a2fabb615b1932fc2947715632e7f7e3eff7968a73dc294d7186fae626a6d5f4abbf2294d9faa075af670e55
|
||||
EBUILD portage-utils-9999.ebuild 1528 BLAKE2B 6ffd2e8918b698d5bd889466372feb394b8aed16a16a388f4e2a17d33a94cac296359255efc8a2b339422a6b10ba957e68021895ce90c36c30997e2fb1d97416 SHA512 8aa781c65ec4e0cb67f9b34c1fc184f50b6c81d3c4b3518d51adbe6710d3f6f76ba53e8c6362a70750e2c72aec84b4be87794a8d8135e037bbef4ddcc5ad81e3
|
||||
MISC metadata.xml 574 BLAKE2B 1448e8343748e8bbc61128f3a621010ae1f7095872c271962ac24e62abcea8cca7c52034008c0d5691a56ca7f2e242ab4cec7d38fceecc2c39f858d1ceb30ab1 SHA512 dcf9949c990845794a534b34e44e820b16b3700bc993e13707bfac6d26269d2aba00fd3f873b9157ead222d2fa5cdd63d263c098bfc79c1b1f66097fa24f552e
|
||||
|
@ -1,6 +1,6 @@
|
||||
DIST recover-broken-vdb-0.0.7.tar.gz 13336 BLAKE2B 0c7d2dc73ca6e525edf190caee56f76e918559a4c0da322bb93b5807554d214fd01b53b0cc5c983fa9009b98a5d71f5aac542b26fe6656b9f81989e159f20d8c SHA512 447effe9664781095e8fd9760ff7f63f8b10466299c002e20da3d226843fa9c24a50b2c8f9eebaaa07cecd75a17272757c0e2175dd81e8daf2a59fa7233bc4a3
|
||||
DIST recover-broken-vdb-0.0.9.tar.gz 15410 BLAKE2B c8fffa07e817ef2ff825add92aac732036676dd08b2cbdcca60a7c1fa2fc740f0473be2147635701971fb9a0a871c65115a1fa9ea05486cffe747207e432d8fd SHA512 0fd9f5e0d046344ac6c86e446b7c52c11238b1d90cf330558da357b71b5fa577b157adfc6903e94f065de6afb0296df2ae191078836311792ec319f614e39d37
|
||||
EBUILD recover-broken-vdb-0.0.7.ebuild 964 BLAKE2B 96b8034955645ba574f79d5c8bf63c791d97d60d34ebdd3e6b5e9ac3d445d4a763fcb558738f8ea2139e6b876eba769d276dd7ee5b6d7ff821743617c2500d5d SHA512 099352bee1d1fe36d3897ed7724dec5524e1626821376e227329e8416558f51683ea953a5a6c2cf4f809675dfcd2de42cd22ce93217448d2cf4aa6f25b4c84f2
|
||||
DIST recover-broken-vdb-1.0.0.tar.gz 15723 BLAKE2B a2c39f64f1db3c0cb1e285deb37654575f35fbdd419b5eaabef52293299e70d98cf7804654f596655fb68beff88699cb9f87628ea29ffd1a29cf2893589f9508 SHA512 4a6428b65c33be4128936423c6770f6af9574fe6caef90837a7d9a1d62d4a595c798b29021f81df4dcd39db4e086abb18f256345f2a8f1e0e7c6687863dea092
|
||||
EBUILD recover-broken-vdb-0.0.9.ebuild 964 BLAKE2B 96b8034955645ba574f79d5c8bf63c791d97d60d34ebdd3e6b5e9ac3d445d4a763fcb558738f8ea2139e6b876eba769d276dd7ee5b6d7ff821743617c2500d5d SHA512 099352bee1d1fe36d3897ed7724dec5524e1626821376e227329e8416558f51683ea953a5a6c2cf4f809675dfcd2de42cd22ce93217448d2cf4aa6f25b4c84f2
|
||||
EBUILD recover-broken-vdb-1.0.0.ebuild 972 BLAKE2B 306c767a94c17e3a943fedd7c72eab00578b68ae671d59c6597c9f26eac9a1b92c77cc50d776cdbffb6b8ad2acf4f26b08e0c10d5f6f40c0cc5d0acca8f71951 SHA512 6bc0864b42ef78c3eeabc7bf04e5715d5c3c1cfdf737eef2301746b741909e1eb716b2926f1417c8a299829410e6d953bbc8ad9cf1d8897da96c3bf8cd5c3ece
|
||||
EBUILD recover-broken-vdb-9999.ebuild 972 BLAKE2B 306c767a94c17e3a943fedd7c72eab00578b68ae671d59c6597c9f26eac9a1b92c77cc50d776cdbffb6b8ad2acf4f26b08e0c10d5f6f40c0cc5d0acca8f71951 SHA512 6bc0864b42ef78c3eeabc7bf04e5715d5c3c1cfdf737eef2301746b741909e1eb716b2926f1417c8a299829410e6d953bbc8ad9cf1d8897da96c3bf8cd5c3ece
|
||||
MISC metadata.xml 542 BLAKE2B c65008fabc6fcf791a935f514a218eebff103d0ce07290b84c545d1551ad8f7834b2245299081bb97c659280670bd2b4b252dbe328a0df946ae29c9110f34fc3 SHA512 dda7cb383905a922852267329a6a848f3e1c19c0fa0a97952dff0995192d00bf227722415194514edc778bd68a1634efdee1ab89cc8b0ce2e9433b8420d478a4
|
||||
|
Binary file not shown.
@ -1,6 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<maintainer type="project">
|
||||
<email>base-system@gentoo.org</email>
|
||||
<name>Gentoo Base System</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,3 @@
|
||||
DIST libexttextcat-3.4.5.tar.xz 1041268 BLAKE2B 2686345b90fd4a4345dac3cab5a801b7eabfb380f7d298c32fbb86bdb36939f6b873ccdfc6d7ef976655b0cfc8ab457e110e966ed4fc586f53023e7cb47e810e SHA512 f05a9f08c2f2f335d0e483c024321b96fee7424bc1398d4c6acbd9c501f92e22f881bc3d6ec2c0434f9bf4604f3c4b0e880e37d3d0de410eac1a20ea6669baa6
|
||||
DIST libexttextcat-3.4.6.tar.xz 1111320 BLAKE2B d89b69450a66e8c0f2c4f42ca8d08f2f571d6d7c28e78e43c056c454cee09b95be3f9b32ab445be4c676225b5604535c8948b6942e9c366b94f9773a7b614781 SHA512 5fe7b9b78d2d81b26ba07ce16c6dae490369a0a8b11561cc1260d893c86ef54cf76982751927eed71ac792cdbb47bac0f7acc71939a38c93310ee2bda174448b
|
||||
EBUILD libexttextcat-3.4.5.ebuild 639 BLAKE2B 1aae1efa89bbb23bf4856334b1346006af09242dc2cb4a59dedd0e2e1a6d06279b4357fd012de9419a30e85fcd2c76e724c51a527c526bd3bbfb1f7b973f500c SHA512 943dd27809548b7c5419de5793f5d50757a5370a38e23160027caf292c5cd24300895de2c479064e77d9e7b2443eeb5f7d065e8cb1e8ecdd1f9be0617f0016b8
|
||||
EBUILD libexttextcat-3.4.6.ebuild 554 BLAKE2B fae2859ff12d4b1ad2a290e8f200d5a18284f6f1cc77227b3eedf9cda6ebf05bf424c6dba4148650dd20b3f0d1f2d7373aeea53db7e4bdef2ed0d5e3811eb235 SHA512 b505f5be5ea12a08da12826e5e21dabcbc5a995e82f1df35cf1334723ca49e4fd13aef37ec25b0fc04b6e5c55d6f17d6b6087ac3501fdde65806d8c6a0b085f4
|
||||
MISC metadata.xml 256 BLAKE2B 28554175365761f81817e75e2c125714b94680527103d72118d0daf2eb0d2359082c36f2c8b0e92574e93c9c00038c944486a31d7843108dcc285d809bd52fe6 SHA512 1a0e13dd42f80f5c8669910c7360c6c1542e9a2f143da3a812f874966ba4729248152efb36e03bdfd47f09086797e6e1410e1ac735925d304811c847aa2b6398
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Library implementing N-gram-based text categorization"
|
||||
HOMEPAGE="http://software.wise-guys.nl/libtextcat/"
|
||||
SRC_URI="http://dev-www.libreoffice.org/src/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-werror \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
Binary file not shown.
@ -0,0 +1,3 @@
|
||||
DIST spawn-22.0.0.tar.gz 49836 BLAKE2B 2283eadae1477600934cbecb67e0fa4c0640150c4d05356ec3d047fdd664e68510c99f9e495dc448c83fe0fea25523727ecb45ee6e85a4b205255a9549031110 SHA512 706c53dabe82994a809c33e984d467ff0f72a2ed9566dedc8262b2c908393f241546ce379a03ea50eb73bf2326b52fc4804d6e192810c703695fc32c9da0b530
|
||||
EBUILD spawn-22.0.0.ebuild 2672 BLAKE2B 5b791215c5b0713525e8017b72209671266fe922dc66d873bc87d3c5fc29e966c7161d12238ad9b85d4c82fbb91dbbdb803577abeaf27590cd8ce1441bfb1ecb SHA512 dd1de469319353a40055f27ce84030869d98421711673988e150193825ceb1ccbad8585c7f7022b0eb043226cc845bc8a09c9877c0eb2940073670a996303958
|
||||
MISC metadata.xml 679 BLAKE2B fb0964502dfb671ef0168b6111587db4e035c772aadbe3429122ee418884fe06dbbd7a774b3bf2b49ad3ed481a29baef30db2c3fac8044aca55b5bdbb4954950 SHA512 7f421ead1f5ee3d9c18b086bdbbcb8c4987d987079ebfa36249ceb3bc9d9c6e35644278dd085debd05165b7c8fb83be0a57395ebbdf4f2b757b24d89e0321a42
|
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>ada@gentoo.org</email>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="glib">
|
||||
Add support to <pkg>dev-libs/glib</pkg>-based mainloop.
|
||||
</flag>
|
||||
<flag name="shared">Build shared library</flag>
|
||||
<flag name="static-pic">Build static library with pic code</flag>
|
||||
</use>
|
||||
<longdescription lang="en">
|
||||
This library provides simple API to spawn processes and communicate
|
||||
with them. We provide two implementations of the same API - the
|
||||
integrated into Glib event loop and the independent.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,107 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
ADA_COMPAT=( gnat_202{0,1} )
|
||||
inherit ada multiprocessing
|
||||
|
||||
DESCRIPTION="Simple API to spawn processes"
|
||||
HOMEPAGE="https://github.com/AdaCore/spawn"
|
||||
SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="glib +shared static-libs static-pic"
|
||||
REQUIRED_USE="|| ( shared static-libs static-pic )
|
||||
${ADA_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="glib? (
|
||||
dev-ada/gtkada[${ADA_USEDEP},shared?,static-libs?,static-pic?]
|
||||
dev-libs/glib
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="dev-ada/gprbuild[${ADA_USEDEP}]"
|
||||
|
||||
src_compile() {
|
||||
build () {
|
||||
gprbuild -p -j$(makeopts_jobs) -XBUILD=production -v \
|
||||
-XLIBRARY_TYPE=$1 \
|
||||
gnat/spawn.gpr -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} || die
|
||||
if use glib; then
|
||||
gprbuild -p -j$(makeopts_jobs) -XBUILD=production -v \
|
||||
-XLIBRARY_TYPE=$1 \
|
||||
gnat/spawn_glib.gpr -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} \
|
||||
|| die
|
||||
fi
|
||||
}
|
||||
if use shared; then
|
||||
build relocatable
|
||||
fi
|
||||
if use static-libs; then
|
||||
build static
|
||||
fi
|
||||
if use static-pic; then
|
||||
build static-pic
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
build () {
|
||||
gprbuild -p -j$(makeopts_jobs) -XBUILD=production -v \
|
||||
-XLIBRARY_TYPE=$1 \
|
||||
gnat/spawn_tests.gpr -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} \
|
||||
|| die
|
||||
if use glib; then
|
||||
gprbuild -p -j$(makeopts_jobs) -XBUILD=production -v \
|
||||
-XLIBRARY_TYPE=$1 \
|
||||
gnat/spawn_glib_tests.gpr \
|
||||
-cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} || die
|
||||
fi
|
||||
}
|
||||
if use shared; then
|
||||
build relocatable
|
||||
elif use static-libs; then
|
||||
build static
|
||||
elif use static-pic; then
|
||||
build static-pic
|
||||
fi
|
||||
.obj/spawn_test/spawn_test || die
|
||||
.obj/spawn_test/spawn_unexpected || die
|
||||
.obj/spawn_test/spawn_kill || die
|
||||
if use glib; then
|
||||
.obj/spawn_test/spawn_glib_test || die
|
||||
.obj/spawn_test/spawn_glib_args_test.exe || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
build() {
|
||||
gprinstall --prefix=/usr --sources-subdir="${D}"/usr/include/spawn \
|
||||
-XLIBRARY_TYPE=$1 \
|
||||
--lib-subdir="${D}"/usr/lib/spawn \
|
||||
--project-subdir="${D}"/usr/share/gpr \
|
||||
--link-lib-subdir="${D}"/usr/lib/ -p \
|
||||
-P gnat/spawn.gpr || die
|
||||
if use glib; then
|
||||
gprinstall --prefix=/usr \
|
||||
-XLIBRARY_TYPE=$1 \
|
||||
--sources-subdir="${D}"/usr/include/spawn_glib \
|
||||
--lib-subdir="${D}"/usr/lib/spawn_glib \
|
||||
--project-subdir="${D}"/usr/share/gpr \
|
||||
--link-lib-subdir="${D}"/usr/lib/ -p \
|
||||
-P gnat/spawn_glib.gpr || die
|
||||
fi
|
||||
}
|
||||
if use shared; then
|
||||
build relocatable
|
||||
fi
|
||||
if use static-libs; then
|
||||
build static
|
||||
fi
|
||||
if use static-pic; then
|
||||
build static-pic
|
||||
fi
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,9 +0,0 @@
|
||||
AUX jss-3.4-target_source.patch 421 BLAKE2B 469c4ba398466b32d77dd3987b2215808e4b1a6675002c2e258b555ea3be34fb64b82cd2c07c50cd076c169e0616af2f09b1202578d23d8d8e39bbb9e66f2d02 SHA512 ced7c6246dd82f7e0c49f2ba403694941e62b5f786bfc3a126f496d44b2c7fd73c4ddbf0f654507ca985d60afaac315be93656e825ec1dfdaf481c4272b09475
|
||||
AUX jss-4.2.5-use_pkg-config.patch 851 BLAKE2B c833490023ff63ad6789c03faeb3238e20fc1bdb7804b73edf53696eee859a8837d168b3da72606000b8b41e222439bf5cf863206aac31de60167689dd09a359 SHA512 5087408b0b50f08e919668d193531530c37e9b0a4a27138c76377ab2efa9a00f5489c3b0029a7e75dfe0fee51aa0f647ab9a72c654395fab3445b8edc56f68de
|
||||
AUX jss-4.3-cflags.patch 441 BLAKE2B f09b352c6f69005882138126ea36c4ce6282e96630dddee2871a97c93904270690900a2d97f738c57b6b50b44eb13646bdccef1d7c41004bdfd52129f2dbb707 SHA512 83354a23dbe3e0e5874bed2cd9d240231ba37f5f2c886c0ed042e4e34380149c6d400c4206cda223f9d4a24d3220cf77d2408ad452501038351d1ecd8469de2f
|
||||
AUX jss-4.3-javadoc.patch 587 BLAKE2B ceebde6b399745acc4e922c078badc26bb3b456ec81d783f7a2a44b71825d62e1f322db9eb7db710bea15f7673fecadc0c066ed4b7cc0da325f5b26c4f5ffb90 SHA512 230b144bab6a3235f70baee7c4f8414f3a23b3ba11eb4ede22c2dd6a02dc718c198bb63df540b6e61a640526731fb788ce05a45cb976e195496c55351cfcdcc7
|
||||
AUX jss-4.3-secitem.patch 4251 BLAKE2B caa2f2445c90501aa8a656a7f4cd817cd29af782fa71ba8b9d7b3b59acb5c703b2fd7558eec05bb51974c8aef03c7df9c8a79664e1df86e069bdac71cbd96f15 SHA512 0c17388db50c82d80e77082d73cceadbdd1192936a33591c70e0fc2ce397cababd48eede0f5ab62a8b3c2e34738bbbe93a9e6e7d846d6380e530b5333e42f6d1
|
||||
AUX jss-4.3.2-ldflags.patch 392 BLAKE2B c4b93c84bf3ed54c4ae8f885d8995a5226b72fc3358a6a92b6d44becbd21420ea0492ce6c7c453d57eb207e961eaba67b6f3623fb40d2be924c249b0e16fdf72 SHA512 b62a949200b0cb301d2e82f425fe6b593a12c2f1e8f8de970ae43c2892ab1a818d99a1600eee24cbc6da8449153f30dbae91f28edd7be4756bbc66bd1ab35072
|
||||
DIST jss-4.3.2.tar.bz2 435542 BLAKE2B 9623018e6e67654219fa439fdc907777cd286aa28b6bdbafee39a7082f949bc393d60dba32ca0b49178ecd423dcff0aa3ad411abb9db9332c6429d7751d89127 SHA512 3296da72f204fc4a0ea58dd889cf2721a4afa0ec7b5406312e64354cc67edcfc370140ad22a24f0dfcf11e438e69ebe9da45a70b5cbaa4026b40fd5fcf96c232
|
||||
EBUILD jss-4.3.2.ebuild 2779 BLAKE2B 78d9c4c19b977a3346beb0a8d42f70c4437ae1646c9f0a0557b40ebf0175dcabe5796f0edf14b533d6e94af25dbc4228cf447f4e9521351a97e56f1b8784a673 SHA512 c00aa7a32d424ab09b0886aee25ab94d0a03752fd93d75e674f58a7f48ffdaa21ce47d7a6bc0b29ad349ed2235f29f1a544e4e3c2b6dc905c3f0db40839012a2
|
||||
MISC metadata.xml 509 BLAKE2B 84854ccb6eb95c177c5713833f99172ce0cf2bb8d76864feb7c61d3fe909e25cc7f2140421bfc0f3ac75473e5ba9c020f527e31a02f5d120443e25f000bae7ef SHA512 c649b40d09b3ccfa832f885c3c43a649a17550fc7b58563babe6dcab488d68c73b709195b4e4a1bae6151d59113fdb95485aeb7d1dcc2d19a306b6257b2fe816
|
@ -1,11 +0,0 @@
|
||||
--- a/mozilla/security/jss/build_java.pl
|
||||
+++ b/mozilla/security/jss/build_java.pl
|
||||
@@ -190,7 +190,7 @@
|
||||
#
|
||||
if( scalar(@source_list) > 0 ) {
|
||||
ensure_dir_exists($class_dir);
|
||||
- print_do("$javac $javac_opt_flag -sourcepath . -d $class_dir " .
|
||||
+ print_do("$javac $ENV{JAVA_GENTOO_OPTS} $javac_opt_flag -sourcepath . -d $class_dir " .
|
||||
"$classpath " . join(" ",@source_list));
|
||||
}
|
||||
|
@ -1,24 +0,0 @@
|
||||
Submitted By: Mario Fetka (mario-fetka at gmx dot at)
|
||||
Date: 2007-10-06
|
||||
Initial Package Version: 4.2.5
|
||||
Origin: me
|
||||
Upstream Status: #392775 UNCONFIRMED
|
||||
Description: this patch adds pkgconfig support to jss coreconf
|
||||
!!!! no check for NSS_PKGCONFIG NSPR_PKGCONFIG at the moment !!!!
|
||||
|
||||
--- a/mozilla/security/coreconf/location.mk
|
||||
+++ b/mozilla/security/coreconf/location.mk
|
||||
@@ -67,6 +67,13 @@
|
||||
|
||||
GARBAGE += $(DEPENDENCIES) core $(wildcard core.[0-9]*)
|
||||
|
||||
+ifdef USE_PKGCONFIG
|
||||
+ NSPR_INCLUDE_DIR = `${PKG_CONFIG} --variable=includedir $(NSPR_PKGCONFIG)`
|
||||
+ NSPR_LIB_DIR = `${PKG_CONFIG} --variable=libdir $(NSPR_PKGCONFIG)`
|
||||
+ NSS_INCLUDE_DIR = `${PKG_CONFIG} --variable=includedir $(NSS_PKGCONFIG)`
|
||||
+ NSS_LIB_DIR = `${PKG_CONFIG} --variable=libdir $(NSS_PKGCONFIG)`
|
||||
+endif
|
||||
+
|
||||
ifdef NSPR_INCLUDE_DIR
|
||||
INCLUDES += -I$(NSPR_INCLUDE_DIR)
|
||||
endif
|
@ -1,11 +0,0 @@
|
||||
--- a/security/coreconf/command.mk
|
||||
+++ b/security/coreconf/command.mk
|
||||
@@ -45,7 +45,7 @@
|
||||
CCF = $(CC) $(CFLAGS)
|
||||
LINK_DLL = $(LINK) $(OS_DLLFLAGS) $(DLLFLAGS)
|
||||
LINK_EXE = $(LINK) $(OS_LFLAGS) $(LFLAGS)
|
||||
-CFLAGS = $(OPTIMIZER) $(OS_CFLAGS) $(XP_DEFINE) $(DEFINES) $(INCLUDES) \
|
||||
+CFLAGS += $(OPTIMIZER) $(OS_CFLAGS) $(XP_DEFINE) $(DEFINES) $(INCLUDES) \
|
||||
$(XCFLAGS)
|
||||
PERL = perl
|
||||
RANLIB = echo
|
@ -1,11 +0,0 @@
|
||||
--- a/security/jss/build_java.pl
|
||||
+++ b/security/jss/build_java.pl
|
||||
@@ -323,7 +323,7 @@
|
||||
ensure_dir_exists("$dist_dir/jssdoc");
|
||||
my $targets = join(" ", @packages);
|
||||
print "$targets\n";
|
||||
- print_do("$javadoc -breakiterator -sourcepath . -d $dist_dir/jssdoc $html_header_opt $targets");
|
||||
+ print_do("$javadoc -Xdoclint:none -breakiterator -sourcepath . -d $dist_dir/jssdoc $html_header_opt $targets");
|
||||
print_do("cp $dist_dir/jssdoc/index.html $dist_dir/jssdoc/index.html.bak");
|
||||
print_do("cp $dist_dir/jssdoc/overview-summary.html $dist_dir/jssdoc/index.html");
|
||||
}
|
@ -1,154 +0,0 @@
|
||||
--- a/security/jss/org/mozilla/jss/CryptoManager.c
|
||||
+++ b/security/jss/org/mozilla/jss/CryptoManager.c
|
||||
@@ -35,7 +35,7 @@
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
#include "_jni/org_mozilla_jss_CryptoManager.h"
|
||||
|
||||
-#include <secitem.h>
|
||||
+#include <nss/secitem.h>
|
||||
#include <secmod.h>
|
||||
#include <cert.h>
|
||||
#include <certt.h>
|
||||
--- a/security/jss/org/mozilla/jss/SecretDecoderRing/KeyManager.c
|
||||
+++ b/security/jss/org/mozilla/jss/SecretDecoderRing/KeyManager.c
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
#include "_jni/org_mozilla_jss_SecretDecoderRing_KeyManager.h"
|
||||
#include <nspr.h>
|
||||
-#include <secitem.h>
|
||||
+#include <nss/secitem.h>
|
||||
#include <jss_exceptions.h>
|
||||
#include <jssutil.h>
|
||||
#include <pk11func.h>
|
||||
--- a/security/jss/org/mozilla/jss/crypto/PQGParams.c
|
||||
+++ b/security/jss/org/mozilla/jss/crypto/PQGParams.c
|
||||
@@ -39,7 +39,7 @@
|
||||
#include <nspr.h>
|
||||
|
||||
#include <plarena.h>
|
||||
-#include <secitem.h>
|
||||
+#include <nss/secitem.h>
|
||||
#include <secoidt.h>
|
||||
#include <keyt.h> /* for PQGParams */
|
||||
#include <pk11pqg.h>
|
||||
--- a/security/jss/org/mozilla/jss/crypto/SecretDecoderRing.c
|
||||
+++ b/security/jss/org/mozilla/jss/crypto/SecretDecoderRing.c
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
#include "_jni/org_mozilla_jss_crypto_SecretDecoderRing.h"
|
||||
#include <nspr.h>
|
||||
-#include <secitem.h>
|
||||
+#include <nss/secitem.h>
|
||||
#include <pk11sdr.h>
|
||||
#include <jss_exceptions.h>
|
||||
#include <jssutil.h>
|
||||
--- a/security/jss/org/mozilla/jss/pkcs11/PK11Cipher.c
|
||||
+++ b/security/jss/org/mozilla/jss/pkcs11/PK11Cipher.c
|
||||
@@ -40,7 +40,7 @@
|
||||
#include <plarena.h>
|
||||
#include <seccomon.h>
|
||||
#include <pk11func.h>
|
||||
-#include <secitem.h>
|
||||
+#include <nss/secitem.h>
|
||||
|
||||
/* JSS includes */
|
||||
#include <java_ids.h>
|
||||
--- a/security/jss/org/mozilla/jss/pkcs11/PK11KeyPairGenerator.c
|
||||
+++ b/security/jss/org/mozilla/jss/pkcs11/PK11KeyPairGenerator.c
|
||||
@@ -40,7 +40,7 @@
|
||||
#include <pk11pqg.h>
|
||||
#include <nspr.h>
|
||||
#include <key.h>
|
||||
-#include <secitem.h>
|
||||
+#include <nss/secitem.h>
|
||||
|
||||
#include <jssutil.h>
|
||||
#include <pk11util.h>
|
||||
--- a/security/jss/org/mozilla/jss/pkcs11/PK11KeyWrapper.c
|
||||
+++ b/security/jss/org/mozilla/jss/pkcs11/PK11KeyWrapper.c
|
||||
@@ -40,7 +40,7 @@
|
||||
#include <plarena.h>
|
||||
#include <seccomon.h>
|
||||
#include <pk11func.h>
|
||||
-#include <secitem.h>
|
||||
+#include <nss/secitem.h>
|
||||
#include <keyt.h>
|
||||
|
||||
/* JSS includes */
|
||||
--- a/security/jss/org/mozilla/jss/pkcs11/PK11MessageDigest.c
|
||||
+++ b/security/jss/org/mozilla/jss/pkcs11/PK11MessageDigest.c
|
||||
@@ -40,7 +40,7 @@
|
||||
#include <plarena.h>
|
||||
#include <seccomon.h>
|
||||
#include <pk11func.h>
|
||||
-#include <secitem.h>
|
||||
+#include <nss/secitem.h>
|
||||
|
||||
/* JSS includes */
|
||||
#include <java_ids.h>
|
||||
--- a/security/jss/org/mozilla/jss/pkcs11/PK11PrivKey.c
|
||||
+++ b/security/jss/org/mozilla/jss/pkcs11/PK11PrivKey.c
|
||||
@@ -43,7 +43,7 @@
|
||||
#include <secerr.h>
|
||||
#include <nspr.h>
|
||||
#include <key.h>
|
||||
-#include <secitem.h>
|
||||
+#include <nss/secitem.h>
|
||||
|
||||
#include <jss_bigint.h>
|
||||
#include <jssutil.h>
|
||||
--- a/security/jss/org/mozilla/jss/pkcs11/PK11Signature.c
|
||||
+++ b/security/jss/org/mozilla/jss/pkcs11/PK11Signature.c
|
||||
@@ -35,7 +35,7 @@
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#include <nspr.h>
|
||||
-#include <secitem.h>
|
||||
+#include <nss/secitem.h>
|
||||
#include <secoidt.h>
|
||||
#include <secmodt.h>
|
||||
#include <pk11func.h>
|
||||
--- a/security/jss/org/mozilla/jss/pkcs11/PK11Token.c
|
||||
+++ b/security/jss/org/mozilla/jss/pkcs11/PK11Token.c
|
||||
@@ -53,7 +53,7 @@
|
||||
#include <jss_bigint.h>
|
||||
#include <Algorithm.h>
|
||||
|
||||
-#include <secitem.h>
|
||||
+#include <nss/secitem.h>
|
||||
#include "java_ids.h"
|
||||
|
||||
#include "pk11util.h"
|
||||
--- a/security/jss/org/mozilla/jss/ssl/callbacks.c
|
||||
+++ b/security/jss/org/mozilla/jss/ssl/callbacks.c
|
||||
@@ -39,7 +39,7 @@
|
||||
#include <nspr.h>
|
||||
#include <java_ids.h>
|
||||
#include <jss_exceptions.h>
|
||||
-#include <secitem.h>
|
||||
+#include <nss/secitem.h>
|
||||
#include <jssutil.h>
|
||||
#include <certt.h>
|
||||
#include <keythi.h>
|
||||
--- a/security/jss/org/mozilla/jss/util/jssutil.c
|
||||
+++ b/security/jss/org/mozilla/jss/util/jssutil.c
|
||||
@@ -38,7 +38,7 @@
|
||||
#include <nspr.h>
|
||||
#include <plstr.h>
|
||||
#include <seccomon.h>
|
||||
-#include <secitem.h>
|
||||
+#include <nss/secitem.h>
|
||||
#include "jssutil.h"
|
||||
#include "jss_bigint.h"
|
||||
#include "jss_exceptions.h"
|
||||
--- a/security/jss/org/mozilla/jss/util/jssutil.h
|
||||
+++ b/security/jss/org/mozilla/jss/util/jssutil.h
|
||||
@@ -39,7 +39,7 @@
|
||||
/* Need to include these first.
|
||||
* #include <nspr.h>
|
||||
* #include <jni.h>
|
||||
- * #include <secitem.h>
|
||||
+ * #include <nss/secitem.h>
|
||||
*/
|
||||
|
||||
PR_BEGIN_EXTERN_C
|
@ -1,11 +0,0 @@
|
||||
--- a/security/coreconf/Linux.mk
|
||||
+++ b/security/coreconf/Linux.mk
|
||||
@@ -142,7 +142,7 @@
|
||||
ARCH = linux
|
||||
|
||||
DSO_CFLAGS = -fPIC
|
||||
-DSO_LDOPTS = -shared $(ARCHFLAG)
|
||||
+DSO_LDOPTS = $(LDFLAGS) -shared $(ARCHFLAG)
|
||||
# The linker on Red Hat Linux 7.2 and RHEL 2.1 (GNU ld version 2.11.90.0.8)
|
||||
# incorrectly reports undefined references in the libraries we link with, so
|
||||
# we don't use -z defs there.
|
@ -1,95 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit multilib toolchain-funcs java-pkg-2
|
||||
|
||||
DESCRIPTION="Network Security Services for Java (JSS)"
|
||||
HOMEPAGE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/JSS"
|
||||
# 4.3.2 was released but was seemingly never announced. The binary jar
|
||||
# exists on Mozilla's servers but Chewi could only find a source tarball
|
||||
# at https://obs.kolabsys.com/package/show/Kolab:3.4/jss. However, you
|
||||
# need to register in order to download it, hence he has mirrored it.
|
||||
SRC_URI="https://dev.gentoo.org/~chewi/distfiles/${P}.tar.bz2"
|
||||
LICENSE="MPL-1.1"
|
||||
SLOT="3.4"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="examples test"
|
||||
|
||||
CDEPEND=">=dev-libs/nspr-4.7.1
|
||||
>=dev-libs/nss-3.12.5"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
dev-lang/perl
|
||||
>=virtual/jdk-1.6
|
||||
virtual/pkgconfig
|
||||
test? ( dev-libs/nss[utils] )"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
>=virtual/jre-1.6"
|
||||
|
||||
S="${WORKDIR}/${P}/mozilla"
|
||||
|
||||
java_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-3.4-target_source.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.2.5-use_pkg-config.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.3-cflags.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.3.2-ldflags.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.3-secitem.patch
|
||||
|
||||
if java-pkg_is-vm-version-ge 1.8; then
|
||||
epatch "${FILESDIR}"/${PN}-4.3-javadoc.patch
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local ARGS=(
|
||||
"CC=$(tc-getCC)"
|
||||
"AR=$(tc-getAR) cr \$@"
|
||||
"OS_RELEASE=2.6"
|
||||
"BUILD_OPT=1"
|
||||
)
|
||||
|
||||
tc-export PKG_CONFIG
|
||||
|
||||
export JAVA_GENTOO_OPTS="$(java-pkg_javac-args)"
|
||||
use amd64 && export USE_64=1
|
||||
|
||||
cd "${S}/security/coreconf" || die
|
||||
emake -j1 "${ARGS[@]}"
|
||||
|
||||
cd "${S}/security/jss" || die
|
||||
emake -j1 "${ARGS[@]}" USE_PKGCONFIG=1 NSS_PKGCONFIG=nss NSPR_PKGCONFIG=nspr
|
||||
use doc && emake -j1 "${ARGS[@]}" javadoc
|
||||
}
|
||||
|
||||
# Chewi has managed to reach a test pass rate of 31/40 (78%) but the
|
||||
# remainder fail due to JSS not having kept pace with the ciphersuites
|
||||
# in NSS. There's not much we can do about that. The suite also leaves
|
||||
# java processes running and exits successfully on failure.
|
||||
RESTRICT="test"
|
||||
|
||||
src_test() {
|
||||
# Parts of NSS are required for the tests.
|
||||
ln -snf "${EROOT}usr/$(get_libdir)/libnssckbi.so" dist/Linux*.OBJ/lib/ || die
|
||||
ln -snf "${EROOT}usr/bin" dist/Linux*.OBJ/ || die
|
||||
|
||||
# The tests must be run from this directory.
|
||||
cd security/jss/org/mozilla/jss/tests || die
|
||||
BUILD_OPT=1 perl all.pl dist "${S}"/dist/Linux*.OBJ/ || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar dist/*.jar
|
||||
|
||||
# Use this instead of the one in dist because it is a symlink
|
||||
# and doso handles symlinks by just symlinking to the original
|
||||
java-pkg_doso ./security/${PN}/lib/*/*.so
|
||||
|
||||
use doc && java-pkg_dojavadoc dist/jssdoc
|
||||
use source && java-pkg_dosrc ./security/jss/org
|
||||
use examples && java-pkg_doexamples ./security/jss/samples
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
|
||||
<longdescription>
|
||||
|
||||
Network Security Services for Java (JSS) is a Java interface to NSS. It supports
|
||||
most of the security standards and encryption technologies supported by NSS. JSS
|
||||
also provides a pure Java interface for ASN.1 types and BER/DER encoding.
|
||||
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -0,0 +1,162 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
WX_GTK_VER="3.0-gtk3"
|
||||
|
||||
inherit elisp-common flag-o-matic java-pkg-opt-2 systemd toolchain-funcs wxwidgets
|
||||
|
||||
# NOTE: If you need symlinks for binaries please tell maintainers or
|
||||
# open up a bug to let it be created.
|
||||
|
||||
UPSTREAM_V="$(ver_cut 1-2)"
|
||||
|
||||
DESCRIPTION="Erlang programming language, runtime environment and libraries (OTP)"
|
||||
HOMEPAGE="https://www.erlang.org/"
|
||||
SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> ${P}.tar.gz
|
||||
http://erlang.org/download/otp_doc_man_${UPSTREAM_V}.tar.gz -> ${PN}_doc_man_${UPSTREAM_V}.tar.gz
|
||||
doc? ( http://erlang.org/download/otp_doc_html_${UPSTREAM_V}.tar.gz -> ${PN}_doc_html_${UPSTREAM_V}.tar.gz )"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
# We use this subslot because Compiled HiPE Code can be loaded on the exact
|
||||
# same build of ERTS that was used when compiling the code. See
|
||||
# http://erlang.org/doc/system_principles/misc.html for more information.
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="doc emacs java +kpoll odbc sctp ssl systemd tk wxwidgets"
|
||||
|
||||
RDEPEND="
|
||||
acct-group/epmd
|
||||
acct-user/epmd
|
||||
sys-libs/ncurses:0
|
||||
sys-libs/zlib
|
||||
emacs? ( >=app-editors/emacs-23.1:* )
|
||||
java? ( >=virtual/jdk-1.8:* )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
sctp? ( net-misc/lksctp-tools )
|
||||
ssl? ( >=dev-libs/openssl-0.9.7d:0= )
|
||||
systemd? ( sys-apps/systemd )
|
||||
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl
|
||||
"
|
||||
|
||||
S="${WORKDIR}/otp-OTP-${PV}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-22.0-dont-ignore-LDFLAGS.patch
|
||||
"${FILESDIR}"/${PN}-24.0.2-serial-configure.patch
|
||||
)
|
||||
|
||||
SITEFILE=50"${PN}"-gentoo.el
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
tc-export AR CPP CXX LD
|
||||
|
||||
# bug #797886: erlang's VM does unsafe casts for ints
|
||||
# to pointers and back. This breaks on gcc-11 -flto.
|
||||
append-flags -fno-strict-aliasing
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use wxwidgets && setup-wxwidgets
|
||||
|
||||
local myconf=(
|
||||
--disable-builtin-zlib
|
||||
|
||||
# don't search for static zlib
|
||||
--with-ssl-zlib=no
|
||||
|
||||
$(use_enable kpoll kernel-poll)
|
||||
$(use_with java javac)
|
||||
$(use_enable sctp)
|
||||
$(use_with ssl ssl)
|
||||
$(use_enable ssl dynamic-ssl-lib)
|
||||
$(use_enable systemd)
|
||||
$(usex wxwidgets "--with-wx-config=${WX_CONFIG}" "--with-wxdir=/dev/null")
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
if use emacs ; then
|
||||
pushd lib/tools/emacs &>/dev/null || die
|
||||
elisp-compile *.el
|
||||
popd &>/dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
extract_version() {
|
||||
local path="$1"
|
||||
local var_name="$2"
|
||||
sed -n -e "/^${var_name} = \(.*\)$/s::\1:p" "${S}/${path}/vsn.mk" || die "extract_version() failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local erl_libdir_rel="$(get_libdir)/erlang"
|
||||
local erl_libdir="/usr/${erl_libdir_rel}"
|
||||
local erl_interface_ver="$(extract_version lib/erl_interface EI_VSN)"
|
||||
local erl_erts_ver="$(extract_version erts VSN)"
|
||||
local my_manpath="/usr/share/${PN}/man"
|
||||
|
||||
[[ -z "${erl_erts_ver}" ]] && die "Couldn't determine erts version"
|
||||
[[ -z "${erl_interface_ver}" ]] && die "Couldn't determine interface version"
|
||||
|
||||
emake INSTALL_PREFIX="${D}" install
|
||||
|
||||
if use doc ; then
|
||||
# Note: we explicitly install docs into:
|
||||
# /usr/share/doc/${PF}/{doc,lib,erts-*}
|
||||
# To maintain that layout we gather everything in 'html-docs'.
|
||||
# See bug #684376.
|
||||
mkdir html-docs || die
|
||||
mv "${WORKDIR}"/doc "${WORKDIR}"/lib "${WORKDIR}"/erts-* html-docs/ || die
|
||||
local DOCS=( "AUTHORS" "HOWTO"/* "README.md" "CONTRIBUTING.md" html-docs/. )
|
||||
docompress -x /usr/share/doc/${PF}
|
||||
else
|
||||
local DOCS=("README.md")
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
|
||||
dosym "../${erl_libdir_rel}/bin/erl" /usr/bin/erl
|
||||
dosym "../${erl_libdir_rel}/bin/erlc" /usr/bin/erlc
|
||||
dosym "../${erl_libdir_rel}/bin/escript" /usr/bin/escript
|
||||
dosym "../${erl_libdir_rel}/lib/erl_interface-${erl_interface_ver}/bin/erl_call" /usr/bin/erl_call
|
||||
dosym "../${erl_libdir_rel}/erts-${erl_erts_ver}/bin/beam.smp" /usr/bin/beam.smp
|
||||
|
||||
## Clean up the no longer needed files
|
||||
rm "${ED}/${erl_libdir}/Install" || die
|
||||
|
||||
insinto "${my_manpath}"
|
||||
doins -r "${WORKDIR}"/man/*
|
||||
# extend MANPATH, so the normal man command can find it
|
||||
# see bug 189639
|
||||
newenvd - "90erlang" <<-_EOF_
|
||||
MANPATH="${my_manpath}"
|
||||
_EOF_
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install erlang lib/tools/emacs/*.{el,elc}
|
||||
sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \
|
||||
"${FILESDIR}/${SITEFILE}" > "${T}/${SITEFILE}" || die
|
||||
elisp-site-file-install "${T}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/epmd.init-r2 epmd
|
||||
newconfd "${FILESDIR}"/epmd.confd-r2 epmd
|
||||
use systemd && systemd_newunit "${FILESDIR}"/epmd.service-r1 epmd.service
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1,137 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PATCH_GCC_VER=8.3.0
|
||||
PATCH_VER="4"
|
||||
|
||||
TOOLCHAIN_GCC_PV=8.3.1
|
||||
|
||||
REL=8
|
||||
MYP=gcc-${REL}-${PV}-20190517-18C94-src
|
||||
GNATDIR=gnat-${PV}-20190517-18C94-src
|
||||
INTFDIR=gcc-interface-${REL}-${PV}-20190510-18F59-src
|
||||
BTSTRP_X86=gnat-gpl-2014-x86-linux-bin
|
||||
BTSTRP_AMD64=gnat-gpl-2014-x86_64-linux-bin
|
||||
|
||||
# we provide own tarball below
|
||||
GCC_TARBALL_SRC_URI="
|
||||
http://mirrors.cdn.adacore.com/art/5cdf865331e87aa2cdf16b49
|
||||
-> ${GNATDIR}.tar.gz
|
||||
http://mirrors.cdn.adacore.com/art/5cdf8a0731e87a8f1d425049
|
||||
-> ${MYP}.tar.gz
|
||||
http://mirrors.cdn.adacore.com/art/5cdf87cc31e87aa2cdf16b50
|
||||
-> ${INTFDIR}.tar.gz
|
||||
bootstrap? (
|
||||
amd64? (
|
||||
http://mirrors.cdn.adacore.com/art/564b3ebec8e196b040fbe66c ->
|
||||
${BTSTRP_AMD64}.tar.gz
|
||||
)
|
||||
x86? (
|
||||
http://mirrors.cdn.adacore.com/art/564b3e9dc8e196b040fbe248 ->
|
||||
${BTSTRP_X86}.tar.gz
|
||||
)
|
||||
)"
|
||||
|
||||
inherit toolchain-funcs toolchain
|
||||
|
||||
DESCRIPTION="GNAT Ada Compiler - GPL version"
|
||||
HOMEPAGE="http://libre.adacore.com/"
|
||||
|
||||
LICENSE+=" GPL-2 GPL-3"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+ada +bootstrap"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="!sys-devel/gcc:${TOOLCHAIN_GCC_PV}"
|
||||
DEPEND="${RDEPEND}
|
||||
elibc_glibc? ( >=sys-libs/glibc-2.13 )
|
||||
>=sys-devel/binutils-2.20"
|
||||
|
||||
S="${WORKDIR}"/${MYP}
|
||||
PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.13 )"
|
||||
|
||||
src_unpack() {
|
||||
if ! use bootstrap && [[ -z "$(type ${GNATMAKE} 2>/dev/null)" ]] ; then
|
||||
eerror "You need a gcc compiler that provides the Ada Compiler:"
|
||||
eerror "1) use gcc-config to select the right compiler or"
|
||||
eerror "2) set the bootstrap use flag"
|
||||
die "ada compiler not available"
|
||||
fi
|
||||
|
||||
toolchain_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use amd64; then
|
||||
BTSTRP=${BTSTRP_AMD64}
|
||||
else
|
||||
BTSTRP=${BTSTRP_X86}
|
||||
fi
|
||||
|
||||
if use bootstrap; then
|
||||
GCC="${WORKDIR}"/${BTSTRP}/bin/gcc
|
||||
else
|
||||
GCC=${ADA:-$(tc-getCC)}
|
||||
fi
|
||||
|
||||
gnatbase=$(basename ${GCC})
|
||||
gnatpath=$(dirname ${GCC})
|
||||
|
||||
GNATMAKE=${gnatbase/gcc/gnatmake}
|
||||
if [[ ${gnatpath} != "." ]] ; then
|
||||
GNATMAKE="${gnatpath}/${GNATMAKE}"
|
||||
fi
|
||||
if use bootstrap; then
|
||||
rm "${WORKDIR}"/${BTSTRP}/libexec/gcc/*/4.7.4/ld || die
|
||||
fi
|
||||
|
||||
CC=${GCC}
|
||||
CXX="${gnatbase/gcc/g++}"
|
||||
GNATBIND="${gnatbase/gcc/gnatbind}"
|
||||
GNATLINK="${gnatbase/gcc/gnatlink}"
|
||||
GNATLS="${gnatbase/gcc/gnatls}"
|
||||
if [[ ${gnatpath} != "." ]] ; then
|
||||
CXX="${gnatpath}/${CXX}"
|
||||
GNATBIND="${gnatpath}/${GNATBIND}"
|
||||
GNATLINK="${gnatpath}/${GNATLINK}"
|
||||
GNATLS="${gnatpath}/${GNATLS}"
|
||||
fi
|
||||
mkdir bin || die
|
||||
ln -s $(which ${GCC}) bin/gcc || die
|
||||
ln -s $(which ${CXX}) bin/g++ || die
|
||||
ln -s $(which ${GNATMAKE}) bin/gnatmake || die
|
||||
ln -s $(which ${GNATBIND}) bin/gnatbind || die
|
||||
ln -s $(which ${GNATLINK}) bin/gnatlink || die
|
||||
ln -s $(which ${GNATLS}) bin/gnatls || die
|
||||
|
||||
cd ..
|
||||
mv ${GNATDIR}/src/ada ${MYP}/gcc/ || die
|
||||
mv ${INTFDIR} ${MYP}/gcc/ada/gcc-interface || die
|
||||
eapply "${FILESDIR}"/${P}-gentoo.patch
|
||||
rm patch/27*.patch || die
|
||||
rm patch/28*.patch || die
|
||||
cd -
|
||||
sed -i \
|
||||
-e 's:$(P) ::g' \
|
||||
gcc/ada/gcc-interface/Makefile.in \
|
||||
|| die "sed failed"
|
||||
toolchain_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export PATH=${PWD}/bin:${PATH}
|
||||
downgrade_arch_flags "$(gcc-version)"
|
||||
toolchain_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
toolchain_pkg_postinst
|
||||
einfo "This provide the GNAT compiler with gcc for ada/c/c++ and more"
|
||||
einfo "The compiler binary is ${CTARGET}-gcc-${TOOLCHAIN_GCC_PV}"
|
||||
einfo "Even if the c/c++ compilers are using almost the same patched"
|
||||
einfo "source as the sys-devel/gcc package its use is not extensively"
|
||||
einfo "tested, and not supported for updating your system, except for ada"
|
||||
einfo "related packages"
|
||||
}
|
@ -1,192 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit bash-completion-r1 prefix rust-toolchain toolchain-funcs verify-sig multilib-minimal
|
||||
|
||||
MY_P="rust-${PV}"
|
||||
|
||||
DESCRIPTION="Systems programming language from Mozilla"
|
||||
HOMEPAGE="https://www.rust-lang.org/"
|
||||
SRC_URI="$(rust_all_arch_uris ${MY_P})"
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
|
||||
SLOT="stable"
|
||||
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86"
|
||||
IUSE="clippy cpu_flags_x86_sse2 doc prefix rls rustfmt"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=app-eselect/eselect-rust-20190311"
|
||||
BDEPEND="
|
||||
prefix? ( dev-util/patchelf )
|
||||
verify-sig? ( sec-keys/openpgp-keys-rust )
|
||||
"
|
||||
|
||||
REQUIRED_USE="x86? ( cpu_flags_x86_sse2 )"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/${P}/bin/.*
|
||||
opt/${P}/lib/.*.so
|
||||
opt/${P}/libexec/.*
|
||||
opt/${P}/lib/rustlib/.*/bin/.*
|
||||
opt/${P}/lib/rustlib/.*/lib/.*
|
||||
"
|
||||
|
||||
# An rmeta file is custom binary format that contains the metadata for the crate.
|
||||
# rmeta files do not support linking, since they do not contain compiled object files.
|
||||
# so we can safely silence the warning for this QA check.
|
||||
QA_EXECSTACK="opt/${P}/lib/rustlib/*/lib*.rlib:lib.rmeta"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/rust.asc
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ "$(tc-is-softfloat)" != "no" ]] && [[ ${CHOST} == armv7* ]]; then
|
||||
die "${CHOST} is not supported by upstream Rust. You must use a hard float version."
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
verify-sig_src_unpack
|
||||
mv "${WORKDIR}/${MY_P}-$(rust_abi)" "${S}" || die
|
||||
}
|
||||
|
||||
patchelf_for_bin() {
|
||||
local filetype=$(file -b ${1})
|
||||
if [[ ${filetype} == *ELF*interpreter* ]]; then
|
||||
einfo "${1}'s interpreter changed"
|
||||
patchelf ${1} --set-interpreter ${2} || die
|
||||
elif [[ ${filetype} == *script* ]]; then
|
||||
hprefixify ${1}
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
if multilib_is_native_abi; then
|
||||
|
||||
# start native abi install
|
||||
pushd "${S}" >/dev/null || die
|
||||
local analysis std
|
||||
analysis="$(grep 'analysis' ./components)"
|
||||
std="$(grep 'std' ./components)"
|
||||
local components="rustc,cargo,${std}"
|
||||
use doc && components="${components},rust-docs"
|
||||
use clippy && components="${components},clippy-preview"
|
||||
use rls && components="${components},rls-preview,${analysis}"
|
||||
use rustfmt && components="${components},rustfmt-preview"
|
||||
./install.sh \
|
||||
--components="${components}" \
|
||||
--disable-verify \
|
||||
--prefix="${ED}/opt/${P}" \
|
||||
--mandir="${ED}/opt/${P}/man" \
|
||||
--disable-ldconfig \
|
||||
|| die
|
||||
|
||||
if use prefix; then
|
||||
local interpreter=$(patchelf --print-interpreter ${EPREFIX}/bin/bash)
|
||||
ebegin "Changing interpreter to ${interpreter} for Gentoo prefix at ${ED}/opt/${P}/bin"
|
||||
find "${ED}/opt/${P}/bin" -type f -print0 | \
|
||||
while IFS= read -r -d '' filename; do
|
||||
patchelf_for_bin ${filename} ${interpreter} \; || die
|
||||
done
|
||||
eend $?
|
||||
fi
|
||||
|
||||
local symlinks=(
|
||||
cargo
|
||||
rustc
|
||||
rustdoc
|
||||
rust-gdb
|
||||
rust-gdbgui
|
||||
rust-lldb
|
||||
)
|
||||
|
||||
use clippy && symlinks+=( clippy-driver cargo-clippy )
|
||||
use rls && symlinks+=( rls )
|
||||
use rustfmt && symlinks+=( rustfmt cargo-fmt )
|
||||
|
||||
einfo "installing eselect-rust symlinks and paths"
|
||||
local i
|
||||
for i in "${symlinks[@]}"; do
|
||||
# we need realpath on /usr/bin/* symlink return version-appended binary path.
|
||||
# so /usr/bin/rustc should point to /opt/rust-bin-<ver>/bin/rustc-<ver>
|
||||
local ver_i="${i}-bin-${PV}"
|
||||
ln -v "${ED}/opt/${P}/bin/${i}" "${ED}/opt/${P}/bin/${ver_i}"
|
||||
dosym "../../opt/${P}/bin/${ver_i}" "/usr/bin/${ver_i}"
|
||||
done
|
||||
|
||||
# symlinks to switch components to active rust in eselect
|
||||
dosym "../../../opt/${P}/lib" "/usr/lib/rust/lib-bin-${PV}"
|
||||
dosym "../../../opt/${P}/man" "/usr/lib/rust/man-bin-${PV}"
|
||||
dosym "../../opt/${P}/lib/rustlib" "/usr/lib/rustlib-bin-${PV}"
|
||||
dosym "../../../opt/${P}/share/doc/rust" "/usr/share/doc/${P}"
|
||||
|
||||
# musl logic can be improved a bit, but fine as is for now
|
||||
cat <<-_EOF_ > "${T}/50${P}"
|
||||
LDPATH="${EPREFIX}/usr/lib/rust/lib"
|
||||
MANPATH="${EPREFIX}/usr/lib/rust/man"
|
||||
$(use amd64 && usex elibc_musl 'CARGO_TARGET_X86_64_UNKNOWN_LINUX_MUSL_RUSTFLAGS="-C target-feature=-crt-static"' '')
|
||||
$(use arm64 && usex elibc_musl 'CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_RUSTFLAGS="-C target-feature=-crt-static"' '')
|
||||
_EOF_
|
||||
doenvd "${T}/50${P}"
|
||||
|
||||
# note: eselect-rust adds EROOT to all paths below
|
||||
cat <<-_EOF_ > "${T}/provider-${P}"
|
||||
/usr/bin/cargo
|
||||
/usr/bin/rustdoc
|
||||
/usr/bin/rust-gdb
|
||||
/usr/bin/rust-gdbgui
|
||||
/usr/bin/rust-lldb
|
||||
/usr/lib/rustlib
|
||||
/usr/lib/rust/lib
|
||||
/usr/lib/rust/man
|
||||
/usr/share/doc/rust
|
||||
_EOF_
|
||||
|
||||
if use clippy; then
|
||||
echo /usr/bin/clippy-driver >> "${T}/provider-${P}"
|
||||
echo /usr/bin/cargo-clippy >> "${T}/provider-${P}"
|
||||
fi
|
||||
if use rls; then
|
||||
echo /usr/bin/rls >> "${T}/provider-${P}"
|
||||
fi
|
||||
if use rustfmt; then
|
||||
echo /usr/bin/rustfmt >> "${T}/provider-${P}"
|
||||
echo /usr/bin/cargo-fmt >> "${T}/provider-${P}"
|
||||
fi
|
||||
|
||||
insinto /etc/env.d/rust
|
||||
doins "${T}/provider-${P}"
|
||||
popd >/dev/null || die
|
||||
#end native abi install
|
||||
|
||||
else
|
||||
local rust_target
|
||||
rust_target="$(rust_abi $(get_abi_CHOST ${v##*.}))"
|
||||
dodir "/opt/${P}/lib/rustlib"
|
||||
cp -vr "${WORKDIR}/rust-${PV}-${rust_target}/rust-std-${rust_target}/lib/rustlib/${rust_target}"\
|
||||
"${ED}/opt/${P}/lib/rustlib" || die
|
||||
fi
|
||||
|
||||
# BUG: installs x86_64 binary on other arches
|
||||
rm -f "${ED}/opt/${P}/lib/rustlib/"*/bin/rust-llvm-dwp || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect rust update
|
||||
|
||||
elog "Rust installs a helper script for calling GDB now,"
|
||||
elog "for your convenience it is installed under /usr/bin/rust-gdb-bin-${PV}."
|
||||
|
||||
if has_version app-editors/emacs; then
|
||||
elog "install app-emacs/rust-mode to get emacs support for rust."
|
||||
fi
|
||||
|
||||
if has_version app-editors/gvim || has_version app-editors/vim; then
|
||||
elog "install app-vim/rust-vim to get vim support for rust."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect rust cleanup
|
||||
}
|
@ -1,92 +0,0 @@
|
||||
From 6dfd700c595a8853fd58349c38c4768b922a2e85 Mon Sep 17 00:00:00 2001
|
||||
From: Anders Kaseorg <andersk@mit.edu>
|
||||
Date: Sat, 17 Apr 2021 22:20:36 -0700
|
||||
Subject: [PATCH] bootstrap: Restore missing --bulk-dirs for rust-docs,
|
||||
rustc-docs
|
||||
|
||||
The --bulk-dirs argument was removed for rust-docs in commit
|
||||
c768ce138427b1844c1f6594daba9c0e33928032 and rustc-docs in commit
|
||||
8ca46fc7a83734c9622f11f25d16b82316f44bcc (#79788), presumably by
|
||||
mistake; that slowed down installation of rust-docs from under a
|
||||
second to some twenty *minutes*. Restoring --bulk-dirs reverses this
|
||||
slowdown.
|
||||
|
||||
Fixes #80684.
|
||||
|
||||
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
||||
---
|
||||
src/bootstrap/dist.rs | 4 ++--
|
||||
src/bootstrap/tarball.rs | 17 +++++++++++++++++
|
||||
2 files changed, 19 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs
|
||||
index 38ebe0e52083d..aee3c8324bc11 100644
|
||||
--- a/src/bootstrap/dist.rs
|
||||
+++ b/src/bootstrap/dist.rs
|
||||
@@ -74,7 +74,7 @@ impl Step for Docs {
|
||||
|
||||
let mut tarball = Tarball::new(builder, "rust-docs", &host.triple);
|
||||
tarball.set_product_name("Rust Documentation");
|
||||
- tarball.add_dir(&builder.doc_out(host), dest);
|
||||
+ tarball.add_bulk_dir(&builder.doc_out(host), dest);
|
||||
tarball.add_file(&builder.src.join("src/doc/robots.txt"), dest, 0o644);
|
||||
Some(tarball.generate())
|
||||
}
|
||||
@@ -107,7 +107,7 @@ impl Step for RustcDocs {
|
||||
|
||||
let mut tarball = Tarball::new(builder, "rustc-docs", &host.triple);
|
||||
tarball.set_product_name("Rustc Documentation");
|
||||
- tarball.add_dir(&builder.compiler_doc_out(host), "share/doc/rust/html/rustc");
|
||||
+ tarball.add_bulk_dir(&builder.compiler_doc_out(host), "share/doc/rust/html/rustc");
|
||||
Some(tarball.generate())
|
||||
}
|
||||
}
|
||||
diff --git a/src/bootstrap/tarball.rs b/src/bootstrap/tarball.rs
|
||||
index b02d7e062a524..9ff5c2327e0f7 100644
|
||||
--- a/src/bootstrap/tarball.rs
|
||||
+++ b/src/bootstrap/tarball.rs
|
||||
@@ -99,6 +99,7 @@ pub(crate) struct Tarball<'a> {
|
||||
temp_dir: PathBuf,
|
||||
image_dir: PathBuf,
|
||||
overlay_dir: PathBuf,
|
||||
+ bulk_dirs: Vec<PathBuf>,
|
||||
|
||||
include_target_in_component_name: bool,
|
||||
is_preview: bool,
|
||||
@@ -137,6 +138,7 @@ impl<'a> Tarball<'a> {
|
||||
temp_dir,
|
||||
image_dir,
|
||||
overlay_dir,
|
||||
+ bulk_dirs: Vec::new(),
|
||||
|
||||
include_target_in_component_name: false,
|
||||
is_preview: false,
|
||||
@@ -201,6 +203,11 @@ impl<'a> Tarball<'a> {
|
||||
self.builder.cp_r(src.as_ref(), &dest);
|
||||
}
|
||||
|
||||
+ pub(crate) fn add_bulk_dir(&mut self, src: impl AsRef<Path>, dest: impl AsRef<Path>) {
|
||||
+ self.bulk_dirs.push(dest.as_ref().to_path_buf());
|
||||
+ self.add_dir(src, dest);
|
||||
+ }
|
||||
+
|
||||
pub(crate) fn generate(self) -> GeneratedTarball {
|
||||
let mut component_name = self.component.clone();
|
||||
if self.is_preview {
|
||||
@@ -221,6 +228,16 @@ impl<'a> Tarball<'a> {
|
||||
.arg("--image-dir")
|
||||
.arg(&this.image_dir)
|
||||
.arg(format!("--component-name={}", &component_name));
|
||||
+
|
||||
+ if let Some((dir, dirs)) = this.bulk_dirs.split_first() {
|
||||
+ let mut arg = dir.as_os_str().to_os_string();
|
||||
+ for dir in dirs {
|
||||
+ arg.push(",");
|
||||
+ arg.push(dir);
|
||||
+ }
|
||||
+ cmd.arg("--bulk-dirs").arg(&arg);
|
||||
+ }
|
||||
+
|
||||
this.non_bare_args(cmd);
|
||||
})
|
||||
}
|
@ -1,676 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
|
||||
inherit bash-completion-r1 check-reqs estack flag-o-matic llvm multiprocessing \
|
||||
multilib multilib-build python-any-r1 rust-toolchain toolchain-funcs verify-sig
|
||||
|
||||
if [[ ${PV} = *beta* ]]; then
|
||||
betaver=${PV//*beta}
|
||||
BETA_SNAPSHOT="${betaver:0:4}-${betaver:4:2}-${betaver:6:2}"
|
||||
MY_P="rustc-beta"
|
||||
SLOT="beta/${PV}"
|
||||
SRC="${BETA_SNAPSHOT}/rustc-beta-src.tar.xz -> rustc-${PV}-src.tar.xz"
|
||||
else
|
||||
ABI_VER="$(ver_cut 1-2)"
|
||||
SLOT="stable/${ABI_VER}"
|
||||
MY_P="rustc-${PV}"
|
||||
SRC="${MY_P}-src.tar.xz"
|
||||
KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86"
|
||||
fi
|
||||
|
||||
RUST_STAGE0_VERSION="1.$(($(ver_cut 2) - 1)).0"
|
||||
|
||||
DESCRIPTION="Systems programming language from Mozilla"
|
||||
HOMEPAGE="https://www.rust-lang.org/"
|
||||
|
||||
SRC_URI="
|
||||
https://static.rust-lang.org/dist/${SRC}
|
||||
verify-sig? ( https://static.rust-lang.org/dist/${SRC}.asc )
|
||||
!system-bootstrap? ( $(rust_all_arch_uris rust-${RUST_STAGE0_VERSION}) )
|
||||
"
|
||||
|
||||
# keep in sync with llvm ebuild of the same version as bundled one.
|
||||
ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM AVR BPF Hexagon Lanai Mips MSP430
|
||||
NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore )
|
||||
ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
|
||||
LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/(-)?}
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
|
||||
|
||||
IUSE="clippy cpu_flags_x86_sse2 debug doc miri nightly parallel-compiler rls rustfmt system-bootstrap system-llvm test wasm ${ALL_LLVM_TARGETS[*]}"
|
||||
|
||||
# Please keep the LLVM dependency block separate. Since LLVM is slotted,
|
||||
# we need to *really* make sure we're not pulling more than one slot
|
||||
# simultaneously.
|
||||
|
||||
# How to use it:
|
||||
# List all the working slots in LLVM_VALID_SLOTS, newest first.
|
||||
LLVM_VALID_SLOTS=( 12 )
|
||||
LLVM_MAX_SLOT="${LLVM_VALID_SLOTS[0]}"
|
||||
|
||||
# splitting usedeps needed to avoid CI/pkgcheck's UncheckableDep limitation
|
||||
# (-) usedep needed because we may build with older llvm without that target
|
||||
LLVM_DEPEND="|| ( "
|
||||
for _s in ${LLVM_VALID_SLOTS[@]}; do
|
||||
LLVM_DEPEND+=" ( "
|
||||
for _x in ${ALL_LLVM_TARGETS[@]}; do
|
||||
LLVM_DEPEND+="
|
||||
${_x}? ( sys-devel/llvm:${_s}[${_x}(-)] )"
|
||||
done
|
||||
LLVM_DEPEND+=" )"
|
||||
done
|
||||
unset _s _x
|
||||
LLVM_DEPEND+=" )
|
||||
<sys-devel/llvm-$(( LLVM_MAX_SLOT + 1 )):=
|
||||
wasm? ( sys-devel/lld )
|
||||
"
|
||||
|
||||
# to bootstrap we need at least exactly previous version, or same.
|
||||
# most of the time previous versions fail to bootstrap with newer
|
||||
# for example 1.47.x, requires at least 1.46.x, 1.47.x is ok,
|
||||
# but it fails to bootstrap with 1.48.x
|
||||
# https://github.com/rust-lang/rust/blob/${PV}/src/stage0.txt
|
||||
BOOTSTRAP_DEPEND="||
|
||||
(
|
||||
=dev-lang/rust-$(ver_cut 1).$(($(ver_cut 2) - 1))*
|
||||
=dev-lang/rust-bin-$(ver_cut 1).$(($(ver_cut 2) - 1))*
|
||||
=dev-lang/rust-$(ver_cut 1).$(ver_cut 2)*
|
||||
=dev-lang/rust-bin-$(ver_cut 1).$(ver_cut 2)*
|
||||
)
|
||||
"
|
||||
|
||||
BDEPEND="${PYTHON_DEPS}
|
||||
app-eselect/eselect-rust
|
||||
|| (
|
||||
>=sys-devel/gcc-4.7
|
||||
>=sys-devel/clang-3.5
|
||||
)
|
||||
system-bootstrap? ( ${BOOTSTRAP_DEPEND} )
|
||||
!system-llvm? (
|
||||
>=dev-util/cmake-3.13.4
|
||||
dev-util/ninja
|
||||
)
|
||||
test? ( sys-devel/gdb )
|
||||
verify-sig? ( sec-keys/openpgp-keys-rust )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
>=app-arch/xz-utils-5.2
|
||||
net-misc/curl:=[http2,ssl]
|
||||
sys-libs/zlib:=
|
||||
dev-libs/openssl:0=
|
||||
elibc_musl? ( sys-libs/libunwind:= )
|
||||
system-llvm? ( ${LLVM_DEPEND} )
|
||||
"
|
||||
|
||||
# we need to block older versions due to layout changes.
|
||||
RDEPEND="${DEPEND}
|
||||
app-eselect/eselect-rust
|
||||
!<dev-lang/rust-1.47.0-r1
|
||||
!<dev-lang/rust-bin-1.47.0-r1
|
||||
"
|
||||
|
||||
REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )
|
||||
miri? ( nightly )
|
||||
parallel-compiler? ( nightly )
|
||||
test? ( ${ALL_LLVM_TARGETS[*]} )
|
||||
wasm? ( llvm_targets_WebAssembly )
|
||||
x86? ( cpu_flags_x86_sse2 )
|
||||
"
|
||||
|
||||
# we don't use cmake.eclass, but can get a warnings
|
||||
CMAKE_WARN_UNUSED_CLI=no
|
||||
|
||||
QA_FLAGS_IGNORED="
|
||||
usr/lib/${PN}/${PV}/bin/.*
|
||||
usr/lib/${PN}/${PV}/libexec/.*
|
||||
usr/lib/${PN}/${PV}/lib/lib.*.so
|
||||
usr/lib/${PN}/${PV}/lib/rustlib/.*/bin/.*
|
||||
usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/lib.*.so
|
||||
"
|
||||
|
||||
QA_SONAME="
|
||||
usr/lib/${PN}/${PV}/lib/lib.*.so.*
|
||||
usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/lib.*.so
|
||||
"
|
||||
|
||||
# An rmeta file is custom binary format that contains the metadata for the crate.
|
||||
# rmeta files do not support linking, since they do not contain compiled object files.
|
||||
# so we can safely silence the warning for this QA check.
|
||||
QA_EXECSTACK="usr/lib/${PN}/${PV}/lib/rustlib/*/lib*.rlib:lib.rmeta"
|
||||
|
||||
# causes double bootstrap
|
||||
RESTRICT="test"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/rust.asc
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/1.47.0-ignore-broken-and-non-applicable-tests.patch
|
||||
"${FILESDIR}"/1.49.0-gentoo-musl-target-specs.patch
|
||||
"${FILESDIR}"/1.51.0-slow-doc-install.patch
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${MY_P}-src"
|
||||
|
||||
toml_usex() {
|
||||
usex "${1}" true false
|
||||
}
|
||||
|
||||
bootstrap_rust_version_check() {
|
||||
# never call from pkg_pretend. eselect-rust may be not installed yet.
|
||||
[[ ${MERGE_TYPE} == binary ]] && return
|
||||
local rustc_wanted="$(ver_cut 1).$(($(ver_cut 2) - 1))"
|
||||
local rustc_toonew="$(ver_cut 1).$(($(ver_cut 2) + 1))"
|
||||
local rustc_version=( $(eselect --brief rust show 2>/dev/null) )
|
||||
rustc_version=${rustc_version[0]#rust-bin-}
|
||||
rustc_version=${rustc_version#rust-}
|
||||
|
||||
[[ -z "${rustc_version}" ]] && die "Failed to determine rust version, check 'eselect rust' output"
|
||||
|
||||
if ver_test "${rustc_version}" -lt "${rustc_wanted}" ; then
|
||||
eerror "Rust >=${rustc_wanted} is required"
|
||||
eerror "please run 'eselect rust' and set correct rust version"
|
||||
die "selected rust version is too old"
|
||||
elif ver_test "${rustc_version}" -ge "${rustc_toonew}" ; then
|
||||
eerror "Rust <${rustc_toonew} is required"
|
||||
eerror "please run 'eselect rust' and set correct rust version"
|
||||
die "selected rust version is too new"
|
||||
else
|
||||
einfo "Using rust ${rustc_version} to build"
|
||||
fi
|
||||
}
|
||||
|
||||
pre_build_checks() {
|
||||
local M=8192
|
||||
# multiply requirements by 1.5 if we are doing x86-multilib
|
||||
if use amd64; then
|
||||
M=$(( $(usex abi_x86_32 15 10) * ${M} / 10 ))
|
||||
fi
|
||||
M=$(( $(usex clippy 128 0) + ${M} ))
|
||||
M=$(( $(usex miri 128 0) + ${M} ))
|
||||
M=$(( $(usex rls 512 0) + ${M} ))
|
||||
M=$(( $(usex rustfmt 256 0) + ${M} ))
|
||||
# add 2G if we compile llvm and 256M per llvm_target
|
||||
if ! use system-llvm; then
|
||||
M=$(( 2048 + ${M} ))
|
||||
local ltarget
|
||||
for ltarget in ${ALL_LLVM_TARGETS[@]}; do
|
||||
M=$(( $(usex ${ltarget} 256 0) + ${M} ))
|
||||
done
|
||||
fi
|
||||
M=$(( $(usex wasm 256 0) + ${M} ))
|
||||
M=$(( $(usex debug 2 1) * ${M} ))
|
||||
eshopts_push -s extglob
|
||||
if is-flagq '-g?(gdb)?([1-9])'; then
|
||||
M=$(( 15 * ${M} / 10 ))
|
||||
fi
|
||||
eshopts_pop
|
||||
M=$(( $(usex system-bootstrap 0 1024) + ${M} ))
|
||||
M=$(( $(usex doc 256 0) + ${M} ))
|
||||
CHECKREQS_DISK_BUILD=${M}M check-reqs_pkg_${EBUILD_PHASE}
|
||||
}
|
||||
|
||||
llvm_check_deps() {
|
||||
has_version -r "sys-devel/llvm:${LLVM_SLOT}[${LLVM_TARGET_USEDEPS// /,}]"
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
pre_build_checks
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
pre_build_checks
|
||||
python-any-r1_pkg_setup
|
||||
|
||||
export LIBGIT2_NO_PKG_CONFIG=1 #749381
|
||||
|
||||
use system-bootstrap && bootstrap_rust_version_check
|
||||
|
||||
if use system-llvm; then
|
||||
llvm_pkg_setup
|
||||
|
||||
local llvm_config="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config"
|
||||
export LLVM_LINK_SHARED=1
|
||||
export RUSTFLAGS="${RUSTFLAGS} -Lnative=$("${llvm_config}" --libdir)"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if ! use system-bootstrap; then
|
||||
local rust_stage0_root="${WORKDIR}"/rust-stage0
|
||||
local rust_stage0="rust-${RUST_STAGE0_VERSION}-$(rust_abi)"
|
||||
|
||||
"${WORKDIR}/${rust_stage0}"/install.sh --disable-ldconfig \
|
||||
--without=rust-docs --destdir="${rust_stage0_root}" --prefix=/ || die
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local rust_target="" rust_targets="" arch_cflags
|
||||
|
||||
# Collect rust target names to compile standard libs for all ABIs.
|
||||
for v in $(multilib_get_enabled_abi_pairs); do
|
||||
rust_targets="${rust_targets},\"$(rust_abi $(get_abi_CHOST ${v##*.}))\""
|
||||
done
|
||||
if use wasm; then
|
||||
rust_targets="${rust_targets},\"wasm32-unknown-unknown\""
|
||||
if use system-llvm; then
|
||||
# un-hardcode rust-lld linker for this target
|
||||
# https://bugs.gentoo.org/715348
|
||||
sed -i '/linker:/ s/rust-lld/wasm-ld/' compiler/rustc_target/src/spec/wasm32_base.rs || die
|
||||
fi
|
||||
fi
|
||||
rust_targets="${rust_targets#,}"
|
||||
|
||||
local tools="\"cargo\","
|
||||
if use clippy; then
|
||||
tools="\"clippy\",$tools"
|
||||
fi
|
||||
if use miri; then
|
||||
tools="\"miri\",$tools"
|
||||
fi
|
||||
if use rls; then
|
||||
tools="\"rls\",\"analysis\",\"src\",$tools"
|
||||
fi
|
||||
if use rustfmt; then
|
||||
tools="\"rustfmt\",$tools"
|
||||
fi
|
||||
|
||||
local rust_stage0_root
|
||||
if use system-bootstrap; then
|
||||
local printsysroot
|
||||
printsysroot="$(rustc --print sysroot || die "Can't determine rust's sysroot")"
|
||||
rust_stage0_root="${printsysroot}"
|
||||
else
|
||||
rust_stage0_root="${WORKDIR}"/rust-stage0
|
||||
fi
|
||||
# in case of prefix it will be already prefixed, as --print sysroot returns full path
|
||||
[[ -d ${rust_stage0_root} ]] || die "${rust_stage0_root} is not a directory"
|
||||
|
||||
rust_target="$(rust_abi)"
|
||||
|
||||
cat <<- _EOF_ > "${S}"/config.toml
|
||||
[llvm]
|
||||
download-ci-llvm = false
|
||||
optimize = $(toml_usex !debug)
|
||||
release-debuginfo = $(toml_usex debug)
|
||||
assertions = $(toml_usex debug)
|
||||
ninja = true
|
||||
targets = "${LLVM_TARGETS// /;}"
|
||||
experimental-targets = ""
|
||||
link-shared = $(toml_usex system-llvm)
|
||||
[build]
|
||||
build = "${rust_target}"
|
||||
host = ["${rust_target}"]
|
||||
target = [${rust_targets}]
|
||||
cargo = "${rust_stage0_root}/bin/cargo"
|
||||
rustc = "${rust_stage0_root}/bin/rustc"
|
||||
rustfmt = "${rust_stage0_root}/bin/rustfmt"
|
||||
docs = $(toml_usex doc)
|
||||
compiler-docs = false
|
||||
submodules = false
|
||||
python = "${EPYTHON}"
|
||||
locked-deps = true
|
||||
vendor = true
|
||||
extended = true
|
||||
tools = [${tools}]
|
||||
verbose = 2
|
||||
sanitizers = false
|
||||
profiler = false
|
||||
cargo-native-static = false
|
||||
[install]
|
||||
prefix = "${EPREFIX}/usr/lib/${PN}/${PV}"
|
||||
sysconfdir = "etc"
|
||||
docdir = "share/doc/rust"
|
||||
bindir = "bin"
|
||||
libdir = "lib"
|
||||
mandir = "share/man"
|
||||
[rust]
|
||||
# https://github.com/rust-lang/rust/issues/54872
|
||||
codegen-units-std = 1
|
||||
optimize = true
|
||||
debug = $(toml_usex debug)
|
||||
debug-assertions = $(toml_usex debug)
|
||||
debug-assertions-std = $(toml_usex debug)
|
||||
debuginfo-level = $(usex debug 2 0)
|
||||
debuginfo-level-rustc = $(usex debug 2 0)
|
||||
debuginfo-level-std = $(usex debug 2 0)
|
||||
debuginfo-level-tools = $(usex debug 2 0)
|
||||
debuginfo-level-tests = 0
|
||||
backtrace = true
|
||||
incremental = false
|
||||
default-linker = "$(tc-getCC)"
|
||||
parallel-compiler = $(toml_usex parallel-compiler)
|
||||
channel = "$(usex nightly nightly stable)"
|
||||
description = "gentoo"
|
||||
rpath = false
|
||||
verbose-tests = true
|
||||
optimize-tests = $(toml_usex !debug)
|
||||
codegen-tests = true
|
||||
dist-src = false
|
||||
remap-debuginfo = true
|
||||
lld = $(usex system-llvm false $(toml_usex wasm))
|
||||
# only deny warnings if doc+wasm are NOT requested, documenting stage0 wasm std fails without it
|
||||
# https://github.com/rust-lang/rust/issues/74976
|
||||
# https://github.com/rust-lang/rust/issues/76526
|
||||
deny-warnings = $(usex wasm $(usex doc false true) true)
|
||||
backtrace-on-ice = true
|
||||
jemalloc = false
|
||||
[dist]
|
||||
src-tarball = false
|
||||
compression-formats = ["gz"]
|
||||
_EOF_
|
||||
|
||||
for v in $(multilib_get_enabled_abi_pairs); do
|
||||
rust_target=$(rust_abi $(get_abi_CHOST ${v##*.}))
|
||||
arch_cflags="$(get_abi_CFLAGS ${v##*.})"
|
||||
|
||||
cat <<- _EOF_ >> "${S}"/config.env
|
||||
CFLAGS_${rust_target}=${arch_cflags}
|
||||
_EOF_
|
||||
|
||||
cat <<- _EOF_ >> "${S}"/config.toml
|
||||
[target.${rust_target}]
|
||||
cc = "$(tc-getBUILD_CC)"
|
||||
cxx = "$(tc-getBUILD_CXX)"
|
||||
linker = "$(tc-getCC)"
|
||||
ar = "$(tc-getAR)"
|
||||
_EOF_
|
||||
# librustc_target/spec/linux_musl_base.rs sets base.crt_static_default = true;
|
||||
if use elibc_musl; then
|
||||
cat <<- _EOF_ >> "${S}"/config.toml
|
||||
crt-static = false
|
||||
_EOF_
|
||||
fi
|
||||
if use system-llvm; then
|
||||
cat <<- _EOF_ >> "${S}"/config.toml
|
||||
llvm-config = "$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config"
|
||||
_EOF_
|
||||
fi
|
||||
done
|
||||
if use wasm; then
|
||||
cat <<- _EOF_ >> "${S}"/config.toml
|
||||
[target.wasm32-unknown-unknown]
|
||||
linker = "$(usex system-llvm lld rust-lld)"
|
||||
_EOF_
|
||||
fi
|
||||
|
||||
if [[ -n ${I_KNOW_WHAT_I_AM_DOING_CROSS} ]]; then # whitespace intentionally shifted below
|
||||
# experimental cross support
|
||||
# discussion: https://bugs.gentoo.org/679878
|
||||
# TODO: c*flags, clang, system-llvm, cargo.eclass target support
|
||||
# it would be much better if we could split out stdlib
|
||||
# complilation to separate ebuild and abuse CATEGORY to
|
||||
# just install to /usr/lib/rustlib/<target>
|
||||
|
||||
# extra targets defined as a bash array
|
||||
# spec format: <LLVM target>:<rust-target>:<CTARGET>
|
||||
# best place would be /etc/portage/env/dev-lang/rust
|
||||
# Example:
|
||||
# RUST_CROSS_TARGETS=(
|
||||
# "AArch64:aarch64-unknown-linux-gnu:aarch64-unknown-linux-gnu"
|
||||
# )
|
||||
# no extra hand holding is done, no target transformations, all
|
||||
# values are passed as-is with just basic checks, so it's up to user to supply correct values
|
||||
# valid rust targets can be obtained with
|
||||
# rustc --print target-list
|
||||
# matching cross toolchain has to be installed
|
||||
# matching LLVM_TARGET has to be enabled for both rust and llvm (if using system one)
|
||||
# only gcc toolchains installed with crossdev are checked for now.
|
||||
|
||||
# BUG: we can't pass host flags to cross compiler, so just filter for now
|
||||
# BUG: this should be more fine-grained.
|
||||
filter-flags '-mcpu=*' '-march=*' '-mtune=*'
|
||||
|
||||
local cross_target_spec
|
||||
for cross_target_spec in "${RUST_CROSS_TARGETS[@]}";do
|
||||
# extracts first element form <LLVM target>:<rust-target>:<CTARGET>
|
||||
local cross_llvm_target="${cross_target_spec%%:*}"
|
||||
# extracts toolchain triples, <rust-target>:<CTARGET>
|
||||
local cross_triples="${cross_target_spec#*:}"
|
||||
# extracts first element after before : separator
|
||||
local cross_rust_target="${cross_triples%%:*}"
|
||||
# extracts last element after : separator
|
||||
local cross_toolchain="${cross_triples##*:}"
|
||||
use llvm_targets_${cross_llvm_target} || die "need llvm_targets_${cross_llvm_target} target enabled"
|
||||
command -v ${cross_toolchain}-gcc > /dev/null 2>&1 || die "need ${cross_toolchain} cross toolchain"
|
||||
|
||||
cat <<- _EOF_ >> "${S}"/config.toml
|
||||
[target.${cross_rust_target}]
|
||||
cc = "${cross_toolchain}-gcc"
|
||||
cxx = "${cross_toolchain}-g++"
|
||||
linker = "${cross_toolchain}-gcc"
|
||||
ar = "${cross_toolchain}-ar"
|
||||
_EOF_
|
||||
if use system-llvm; then
|
||||
cat <<- _EOF_ >> "${S}"/config.toml
|
||||
llvm-config = "$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config"
|
||||
_EOF_
|
||||
fi
|
||||
if [[ "${cross_toolchain}" == *-musl* ]]; then
|
||||
cat <<- _EOF_ >> "${S}"/config.toml
|
||||
musl-root = "$(${cross_toolchain}-gcc -print-sysroot)/usr"
|
||||
_EOF_
|
||||
fi
|
||||
|
||||
# append cross target to "normal" target list
|
||||
# example 'target = ["powerpc64le-unknown-linux-gnu"]'
|
||||
# becomes 'target = ["powerpc64le-unknown-linux-gnu","aarch64-unknown-linux-gnu"]'
|
||||
|
||||
rust_targets="${rust_targets},\"${cross_rust_target}\""
|
||||
sed -i "/^target = \[/ s#\[.*\]#\[${rust_targets}\]#" config.toml || die
|
||||
|
||||
ewarn
|
||||
ewarn "Enabled ${cross_rust_target} rust target"
|
||||
ewarn "Using ${cross_toolchain} cross toolchain"
|
||||
ewarn
|
||||
if ! has_version -b 'sys-devel/binutils[multitarget]' ; then
|
||||
ewarn "'sys-devel/binutils[multitarget]' is not installed"
|
||||
ewarn "'strip' will be unable to strip cross libraries"
|
||||
ewarn "cross targets will be installed with full debug information"
|
||||
ewarn "enable 'multitarget' USE flag for binutils to be able to strip object files"
|
||||
ewarn
|
||||
ewarn "Alternatively llvm-strip can be used, it supports stripping any target"
|
||||
ewarn "define STRIP=\"llvm-strip\" to use it (experimental)"
|
||||
ewarn
|
||||
fi
|
||||
done
|
||||
fi # I_KNOW_WHAT_I_AM_DOING_CROSS
|
||||
|
||||
einfo "Rust configured with the following flags:"
|
||||
echo
|
||||
echo "RUSTFLAGS=\"${RUSTFLAGS:-}\""
|
||||
echo "RUSTFLAGS_BOOTSTRAP=\"${RUSTFLAGS_BOOTSTRAP:-}\""
|
||||
echo "RUSTFLAGS_NOT_BOOTSTRAP=\"${RUSTFLAGS_NOT_BOOTSTRAP:-}\""
|
||||
cat "${S}"/config.env || die
|
||||
echo
|
||||
einfo "config.toml contents:"
|
||||
cat "${S}"/config.toml || die
|
||||
echo
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# we need \n IFS to have config.env with spaces loaded properly. #734018
|
||||
(
|
||||
IFS=$'\n'
|
||||
env $(cat "${S}"/config.env) RUST_BACKTRACE=1\
|
||||
"${EPYTHON}" ./x.py dist -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die
|
||||
)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# https://rustc-dev-guide.rust-lang.org/tests/intro.html
|
||||
|
||||
# those are basic and codegen tests.
|
||||
local tests=(
|
||||
codegen
|
||||
codegen-units
|
||||
compile-fail
|
||||
incremental
|
||||
mir-opt
|
||||
pretty
|
||||
run-make
|
||||
)
|
||||
|
||||
# fails if llvm is not built with ALL targets.
|
||||
# and known to fail with system llvm sometimes.
|
||||
use system-llvm || tests+=( assembly )
|
||||
|
||||
# fragile/expensive/less important tests
|
||||
# or tests that require extra builds
|
||||
# TODO: instead of skipping, just make some nonfatal.
|
||||
if [[ ${ERUST_RUN_EXTRA_TESTS:-no} != no ]]; then
|
||||
tests+=(
|
||||
rustdoc
|
||||
rustdoc-js
|
||||
rustdoc-js-std
|
||||
rustdoc-ui
|
||||
run-make-fulldeps
|
||||
ui
|
||||
ui-fulldeps
|
||||
)
|
||||
fi
|
||||
|
||||
local i failed=()
|
||||
einfo "rust_src_test: enabled tests ${tests[@]/#/src/test/}"
|
||||
for i in "${tests[@]}"; do
|
||||
local t="src/test/${i}"
|
||||
einfo "rust_src_test: running ${t}"
|
||||
if ! (
|
||||
IFS=$'\n'
|
||||
env $(cat "${S}"/config.env) RUST_BACKTRACE=1 \
|
||||
"${EPYTHON}" ./x.py test -vv --config="${S}"/config.toml \
|
||||
-j$(makeopts_jobs) --no-doc --no-fail-fast "${t}"
|
||||
)
|
||||
then
|
||||
failed+=( "${t}" )
|
||||
eerror "rust_src_test: ${t} failed"
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ ${#failed[@]} -ne 0 ]]; then
|
||||
eerror "rust_src_test: failure summary: ${failed[@]}"
|
||||
die "aborting due to test failures"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
(
|
||||
IFS=$'\n'
|
||||
env $(cat "${S}"/config.env) DESTDIR="${D}" \
|
||||
"${EPYTHON}" ./x.py install -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die
|
||||
)
|
||||
|
||||
# bug #689562, #689160
|
||||
rm -v "${ED}/usr/lib/${PN}/${PV}/etc/bash_completion.d/cargo" || die
|
||||
rmdir -v "${ED}/usr/lib/${PN}/${PV}"/etc{/bash_completion.d,} || die
|
||||
newbashcomp src/tools/cargo/src/etc/cargo.bashcomp.sh cargo
|
||||
|
||||
local symlinks=(
|
||||
cargo
|
||||
rustc
|
||||
rustdoc
|
||||
rust-gdb
|
||||
rust-gdbgui
|
||||
rust-lldb
|
||||
)
|
||||
|
||||
use clippy && symlinks+=( clippy-driver cargo-clippy )
|
||||
use miri && symlinks+=( miri cargo-miri )
|
||||
use rls && symlinks+=( rls )
|
||||
use rustfmt && symlinks+=( rustfmt cargo-fmt )
|
||||
|
||||
einfo "installing eselect-rust symlinks and paths: ${symlinks[@]}"
|
||||
local i
|
||||
for i in "${symlinks[@]}"; do
|
||||
# we need realpath on /usr/bin/* symlink return version-appended binary path.
|
||||
# so /usr/bin/rustc should point to /usr/lib/rust/<ver>/bin/rustc-<ver>
|
||||
# need to fix eselect-rust to remove this hack.
|
||||
local ver_i="${i}-${PV}"
|
||||
if [[ -f "${ED}/usr/lib/${PN}/${PV}/bin/${i}" ]]; then
|
||||
einfo "Installing ${i} symlink"
|
||||
ln -v "${ED}/usr/lib/${PN}/${PV}/bin/${i}" "${ED}/usr/lib/${PN}/${PV}/bin/${ver_i}" || die
|
||||
else
|
||||
ewarn "${i} symlink requested, but source file not found"
|
||||
ewarn "please report this"
|
||||
fi
|
||||
dosym "../lib/${PN}/${PV}/bin/${ver_i}" "/usr/bin/${ver_i}"
|
||||
done
|
||||
|
||||
# symlinks to switch components to active rust in eselect
|
||||
dosym "${PV}/lib" "/usr/lib/${PN}/lib-${PV}"
|
||||
dosym "${PV}/libexec" "/usr/lib/${PN}/libexec-${PV}"
|
||||
dosym "${PV}/share/man" "/usr/lib/${PN}/man-${PV}"
|
||||
dosym "rust/${PV}/lib/rustlib" "/usr/lib/rustlib-${PV}"
|
||||
dosym "../../lib/${PN}/${PV}/share/doc/rust" "/usr/share/doc/${P}"
|
||||
|
||||
newenvd - "50${P}" <<-_EOF_
|
||||
LDPATH="${EPREFIX}/usr/lib/rust/lib"
|
||||
MANPATH="${EPREFIX}/usr/lib/rust/man"
|
||||
$(use amd64 && usex elibc_musl 'CARGO_TARGET_X86_64_UNKNOWN_LINUX_MUSL_RUSTFLAGS="-C target-feature=-crt-static"' '')
|
||||
$(use arm64 && usex elibc_musl 'CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_RUSTFLAGS="-C target-feature=-crt-static"' '')
|
||||
_EOF_
|
||||
|
||||
rm -rf "${ED}/usr/lib/${PN}/${PV}"/*.old || die
|
||||
rm -rf "${ED}/usr/lib/${PN}/${PV}/doc"/*.old || die
|
||||
|
||||
# note: eselect-rust adds EROOT to all paths below
|
||||
cat <<-_EOF_ > "${T}/provider-${P}"
|
||||
/usr/bin/cargo
|
||||
/usr/bin/rustdoc
|
||||
/usr/bin/rust-gdb
|
||||
/usr/bin/rust-gdbgui
|
||||
/usr/bin/rust-lldb
|
||||
/usr/lib/rustlib
|
||||
/usr/lib/rust/lib
|
||||
/usr/lib/rust/libexec
|
||||
/usr/lib/rust/man
|
||||
/usr/share/doc/rust
|
||||
_EOF_
|
||||
|
||||
if use clippy; then
|
||||
echo /usr/bin/clippy-driver >> "${T}/provider-${P}"
|
||||
echo /usr/bin/cargo-clippy >> "${T}/provider-${P}"
|
||||
fi
|
||||
if use miri; then
|
||||
echo /usr/bin/miri >> "${T}/provider-${P}"
|
||||
echo /usr/bin/cargo-miri >> "${T}/provider-${P}"
|
||||
fi
|
||||
if use rls; then
|
||||
echo /usr/bin/rls >> "${T}/provider-${P}"
|
||||
fi
|
||||
if use rustfmt; then
|
||||
echo /usr/bin/rustfmt >> "${T}/provider-${P}"
|
||||
echo /usr/bin/cargo-fmt >> "${T}/provider-${P}"
|
||||
fi
|
||||
|
||||
insinto /etc/env.d/rust
|
||||
doins "${T}/provider-${P}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect rust update
|
||||
|
||||
if has_version sys-devel/gdb || has_version dev-util/lldb; then
|
||||
elog "Rust installs a helper script for calling GDB and LLDB,"
|
||||
elog "for your convenience it is installed under /usr/bin/rust-{gdb,lldb}-${PV}."
|
||||
fi
|
||||
|
||||
if has_version app-editors/emacs; then
|
||||
elog "install app-emacs/rust-mode to get emacs support for rust."
|
||||
fi
|
||||
|
||||
if has_version app-editors/gvim || has_version app-editors/vim; then
|
||||
elog "install app-vim/rust-vim to get vim support for rust."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect rust cleanup
|
||||
}
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
DIST libansilove-1.2.8.tar.gz 59695 BLAKE2B 4be4fb1f7277cc53bdc31399b429fc142cd3b87933da4c87604fe290b8697dd4c3d03a4c77bbac62648b0b8b0da509b5f7b17d2867e2e9e56eaf00674219fff3 SHA512 99df7fa0e5f2eb26a95b5073587e957378163fcab9ca828f7d6eca79dcb92463b1788285813c4fed6bfc9ee753c425fd34968e5e08999bc63fe6c4ba5939198f
|
||||
EBUILD libansilove-1.2.8.ebuild 569 BLAKE2B 5a27e95746ad437058ad77bc65d4280f041e7e4b89d88ed7503e4ba7e5f873baabbd5052f1c507ecedaa6c1f18e41a3b6731be0479d21469c57c1b2ed9793507 SHA512 72aa421be34d88ee2e84e21bed66af95000edfb3cae337234088beb956d8334fb0c6793886d6e15576edddf9df94ba3b54783dd91b0b850678a5e60a648e72eb
|
||||
EBUILD libansilove-9999.ebuild 569 BLAKE2B 5a27e95746ad437058ad77bc65d4280f041e7e4b89d88ed7503e4ba7e5f873baabbd5052f1c507ecedaa6c1f18e41a3b6731be0479d21469c57c1b2ed9793507 SHA512 72aa421be34d88ee2e84e21bed66af95000edfb3cae337234088beb956d8334fb0c6793886d6e15576edddf9df94ba3b54783dd91b0b850678a5e60a648e72eb
|
||||
EBUILD libansilove-1.2.8.ebuild 576 BLAKE2B 87c3087832270affcf72e50b3bd4c6667d65355663e66da57aece50fffa61b31bef9f9c651126aab73e000d5e23ada053cbab99229fb5815f4b5df0bc5c7bdf9 SHA512 8b3e4cff2640d0c8519635ccfc9e15165ae401a7d052ade92cb02146380846ad0da04bb67a9484945c167cd58ef5d6518f69b10b3fe98ab3ea887989843b685f
|
||||
EBUILD libansilove-9999.ebuild 576 BLAKE2B 87c3087832270affcf72e50b3bd4c6667d65355663e66da57aece50fffa61b31bef9f9c651126aab73e000d5e23ada053cbab99229fb5815f4b5df0bc5c7bdf9 SHA512 8b3e4cff2640d0c8519635ccfc9e15165ae401a7d052ade92cb02146380846ad0da04bb67a9484945c167cd58ef5d6518f69b10b3fe98ab3ea887989843b685f
|
||||
MISC metadata.xml 510 BLAKE2B ee5eda9f207020075b5b8dc259a33703f39180e21025c4dbcd5bb4c22471f26b30f55b35dea00f5b430fb9fb4bef710dacc44ccf3bd29601b82a33f0d8fbaf6a SHA512 bc307754eadc95f2694443faf4967ddfd35e0f34bf63a3c881fce9937d0cdbd12df0f7e81a037e9af368b335d64ec140d22f32a4ec5e1fd9913b281a4c6bf7ed
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST userspace-rcu-0.13.0.tar.bz2 608434 BLAKE2B 11b5d13f4e1a577cc33ad430eb387b26cc2db2ba9ff32c7a09f9cb6c8a418548cd87c198ab4b63be3df884d8e3878046ba817106ff2f07cbab86dd60c9bb1d34 SHA512 7288b5a4a2dca6a75ecaa8553b942b9e7be9cae25776d2448fb0b0c950af9919c369791839607c6c1e6cbd32bbd1e1cafc18ee753f0e3bdc2ed7b65488612580
|
||||
EBUILD userspace-rcu-0.13.0.ebuild 792 BLAKE2B 5352cd69b842c44d90ad192c50dfc2224c0a5e72a38ee3b02992ec0fe3577a7329492c9b6009d69a9a209c531338f4447833145f8e472298341815306ac54605 SHA512 d694eb28275718f9f3a8a7e2a2a683bd21fb64c174ebf5875cbeceb6edee27b536f8c28f3f81544ef85431d5bf0b45aa4be52d5fec4b6e3e4109204422864f1a
|
||||
EBUILD userspace-rcu-0.13.0.ebuild 791 BLAKE2B b711826c1f1d7de9feb6cf1fdf679bc068d08f635b52e3130c7bf7fb3132ee60ac4f05b445ad6abf41908f3e4c71db53ca211076c4c2409110fba1c4544f6cfc SHA512 78d733e2bb48079bec52015c27bf5184e333a64d49713dae4c2688209d9506c1689d72e66af2909e365597c43febbbcb290472362bb2f9fce99eb82d92494afd
|
||||
MISC metadata.xml 347 BLAKE2B a2a6a24ee4974111cf0e6559b25b17da2f899a965983e1c518355c0808a2168747d23aa0b2edc000bae1a57003bab68041b526e028da9ecd7051e86f340be51d SHA512 2fdd5bd8bf7e9ed31cacfc8c59d0bc46637b1d51ee37bc2157b6b635223dc0c13085d5b65f47f75ec40d4c28c2b2449c62f65f9f7cc84ecb9f037bf1fec99443
|
||||
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST py-filelock-3.4.0.tar.gz 203303 BLAKE2B 615f623c584c39917f280815695dcc58ce6dd5ca26846f88b954526e0866b7e1d020589eecee774dbd8b10ff818d707826c663643ad300465bb85ba751fddddd SHA512 0dc85f083a8c60605dfbd0b6fe55a96b5872e5b8ce3fd746925444571d02e243459bed6cd2d8aa9d7eda7d197bdc31b289cfcf1f0aef295779ca900d24abcbd8
|
||||
DIST py-filelock-3.4.2.tar.gz 203805 BLAKE2B be1cb206c4571b86987ea406af4b8efed503f53584fe9f5af5cbc6493728dbeafa3d0154a66ea30404d51700155be877aa74e6c08b1dbf7cefbee1ca3274f1e1 SHA512 361586f976a4b4011af4446e34932cb9e42565e87d828852b0bb7bed48f59c19b3c95895836c9c63c1978d9d113432df19c52e59523a0f00797b3b94f36a4d73
|
||||
EBUILD filelock-3.4.0.ebuild 732 BLAKE2B a54f9c35612d949f11f7ce32ebba5b6a4c47352e7a2a64ba809913fc22075400dccfb84d71fe3f9f6799c0cc7642b51066063641128338a38285f5c26e67cea9 SHA512 1fe3aa5474761b0dfb6dc47c4acf1b80f1f8707c6006ee876216251ee45ed819d924605064d8f82601b669eec3b33296af5a0e9d0977599d2db9763a460ee669
|
||||
EBUILD filelock-3.4.2.ebuild 742 BLAKE2B eeb89dc02d485421a004f7323a912474b3acd928b2cd1afeed6d5a4c6b316423fe302e9edeec82794abb67ccbbe128185f1d02fb2c6ec156171c3d190a59706a SHA512 9eded618f8c02581345b59c1316c40bd79baa43f24d224b1ef91b04342f28cf6edc96b3c4250eea8f0c394c5ac2350fd4cab01df782e180ab016d7e35b5b528d
|
||||
MISC metadata.xml 373 BLAKE2B 8923cea15313a2a4cad1af3e5e6c5623ac9855d3de37b6e43ff5249504d2bf07e1e334ce6ea8d9c397e03e3a05585cec0233e841a0a9f6c30d43eaa26b488933 SHA512 c114595146c326243756d0053476677b8b8c7541a253a0c739827e9b0f93c2a695d7289ee5a17c4a1a79639c02bf1396d2df4d8e20aaac9402c9d80f55be2f7b
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 2018-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=py-filelock-${PV}
|
||||
DESCRIPTION="A platform independent file lock for Python"
|
||||
HOMEPAGE="
|
||||
https://github.com/tox-dev/py-filelock/
|
||||
https://pypi.org/project/filelock/"
|
||||
SRC_URI="
|
||||
https://github.com/tox-dev/py-filelock/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="Unlicense"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
||||
|
||||
BDEPEND="
|
||||
test? ( dev-python/pytest-timeout[${PYTHON_USEDEP}] )"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
|
@ -1,7 +1,5 @@
|
||||
DIST msgpack-0.6.2.tar.gz 119062 BLAKE2B 6b20a0d31b811ae66e66dbfaacec6f0cf2152b2937423b78f3e6244bfa49c87767788c5ee1db41b9020801b8777a4c15b1fe1853182718adf622bc7e1bff858e SHA512 95b92e3d35e0500dd4256d18bf76e586e57cc66319b4459ac5daef599277a5049177a89ad86e291dbdc4c7a918901a89d9218353ddc4a7d0b399e8a98afef363
|
||||
DIST msgpack-1.0.2.tar.gz 123033 BLAKE2B 8ecf743f5cae536bde9328974827e48376fdfbcaf4d3493fe295a114fd0de4c7dc2629d67a0abf6ece036131715587d2eeaefde0ea9614779a64015ea7fc2be8 SHA512 afe658c2cd5b443aae8fc3305eb3fd56811130062f95e283e3538cba27949d534de60171a927426fedb23b48a938de3f15d77057beda6c73e5204ef1130cd046
|
||||
DIST msgpack-1.0.3.tar.gz 123830 BLAKE2B 308af03206fef18edb0acd3c1d91ccd28385731c02cb930e8f64786bbcd8925510cf4ca0b924830b84fd6eaa7edf91e6a43f79c77d856651768eeaa1ab8cf855 SHA512 1569e42c6499c60458a63aa722b5c7e3dc817e38ae4bed2dc8199dc1bcbc36ff876e055b046b4f6063b5606036ae9238080c05be1e09a61a34e7f97fd5031fcd
|
||||
EBUILD msgpack-0.6.2.ebuild 964 BLAKE2B 8a253263d5cc5027ac0827ca5e7bd0a093e54ba2c558084cee2a0f33ab4ba8898e4e9aa1a2fad710e13a14740163eb80e22c38f1694482d4babdf23020150d1e SHA512 251ec2c7702f95ead296a78c8a251cef4b3e8c697b6f23899b1a1be813cbdf411df7b3567adc72f09d3ed328fdbc71da17f58a7144c775f0064d782c5e4c32e7
|
||||
EBUILD msgpack-1.0.2.ebuild 974 BLAKE2B 0252324eef164d0841ee6d14e14316ff14a8402ff235fe1a6889e4c5bfa6a6f38eee5c729ab44e50148431c151e82907a3610e3455056ca8867a87bbe825b6cf SHA512 acec84a5bffb48a5204ddaa4b6a96a05b8ab5a55b4a5830ea5f3630c417d62aae2477ba09c1f9affaccdf4a01949fefd02d65a1f0243224f25c3140421d2ef24
|
||||
EBUILD msgpack-1.0.3.ebuild 974 BLAKE2B bbb52dae5cb634edce7737c8822cad133486886e8a5e39c297fa878ec2eb18f5e90aec760fdb50572d9e8a64a92d9b421bc3ad33cfdedfc76aed29021573f1cb SHA512 a27883274f7fd34878a62d37e60a629ad27d6159513d855257edb7458d0b0b03da12b692684bf15d7e6bbec52c0041bce82399745206fd0e71a4300ef5235bcd
|
||||
EBUILD msgpack-1.0.3.ebuild 973 BLAKE2B 915a21b13e5e6c982617f896f4b5671acc9564c5ea48b3c024c87b8d12e295de99eea3c6d8b8456f8678593364fe07a810eff7501f3fe9cf3d1b05d12e45be18 SHA512 b99a08763c33f52a3005fb0cc9138ea9d44aa76ac25c981b0e87cfd549bb4f8320a2b5a7581cffee10fac2060d5ac73c8b0fb840e87c90567d7d2f4a685b3fea
|
||||
MISC metadata.xml 520 BLAKE2B 5facc8e5c11591c6010fe5eef4030e23502b890d15a896ada0c5625e63179887e13206f28695af92b358c56a9f9660767d8b4234c2c8b489cad41fec01af289d SHA512 a62502d0b2ec3da1b21297f4d4e5fee86c206c8d6a2c19d7bffe2a64b4a2fa990edb3ba07bbacccb59ed79efd23fa713a37b8adffa7f0cbc811fc0fa249d9b63
|
||||
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..10} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="MessagePack (de)serializer for Python"
|
||||
HOMEPAGE="https://msgpack.org
|
||||
https://github.com/msgpack/msgpack-python/
|
||||
https://pypi.org/project/msgpack/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 ppc x86 ~x64-macos"
|
||||
IUSE="+native-extensions"
|
||||
|
||||
# extension code is relying on CPython implementation details
|
||||
BDEPEND="
|
||||
native-extensions? (
|
||||
$(python_gen_cond_dep '>=dev-python/cython-0.16[${PYTHON_USEDEP}]' 'python*')
|
||||
)
|
||||
test? ( dev-python/six[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# Remove pre-generated cython files
|
||||
rm msgpack/_cmsgpack.cpp || die
|
||||
|
||||
if ! use native-extensions ; then
|
||||
sed -i -e "/have_cython/s:True:False:" setup.py || die
|
||||
fi
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST nbclient-0.5.4.gh.tar.gz 69711 BLAKE2B d229cf7a20df622f87984460735a6817d8bc50243b2980b2a14ce84b4f9b97336cc9fd0d4259cfa6700279eb555debf1a0bb57d9d28d78447e6a227097b77feb SHA512 1dcee18a13f143f4a688ed1d9baaca91b1753bfabac9ea97eadfa4a96fc8cd6462f471645da586a3c5c4b03550cbf5948c7320a26a299807ae09cc823cd7ff86
|
||||
DIST nbclient-0.5.5.gh.tar.gz 72661 BLAKE2B b2be54c03c12a2cdc641e329946bae37a7b8c1c4aee8ac686c6e3350f27cf7a0a2e64653afb8acac7e373f5cbbab05feba3c1c4d7e8856974621f0d1c96005df SHA512 3066f847c175ac26ab6918b71e84a8f87bc922f624011b707f8b0a6d872c123d7979a5ffec24a933b6f98a7f83bf530926ecccb5a1c6f24bd84b3fbda07fdf48
|
||||
EBUILD nbclient-0.5.4.ebuild 962 BLAKE2B 8c4a2020571e05e1d856ac64d6d844c04f79e3804e12bd0be08d62aa35c8e64218d27dd08a89743914ec29c3ad797b622d883401dbee54798a2f539d8298914e SHA512 acc8e1062c8d547d0e826c10cc5bcc677239aad1179dc17a39ca0f8972a70c5dd6d192beb6836e8d3c73392a0f110cb9abc067bea3280ce90d624788f10c1c33
|
||||
EBUILD nbclient-0.5.5.ebuild 971 BLAKE2B 95ea039e883fe9834b30648fe51215ef8de971aed8508d2d6cfc33e95207d874844ee805629bd377597da457f8a7d62822b96f74eaca8aeb00eb721d419c5a7a SHA512 7952d7e2844a50ce85857dc2ccfef6a223ec4de32b85ffe70f37310e6a569f75afec983f5de5df7c1417dad3278c0dc5fed7dca57a8cc65c9ed5050b9bbd248f
|
||||
EBUILD nbclient-0.5.5.ebuild 968 BLAKE2B ec4336a97b3e3e18e8f8f471e08db93492e14ffd88355cee4a46dd959738ad44c0feaf8603f8b7226836a6c65060e587c1bfcf58857042759c4ba9746c2df71b SHA512 5724c32c8607d412fc6e3e7b4b6eedad627e13a2f7d1dec9fb9e95eb55ceedf5b989ca6ecfbcd2ca79547a010f9d581479b0ec8b163ca701ed539cca610ea142
|
||||
MISC metadata.xml 405 BLAKE2B d1efa5f7bb2a959bdbc6093b1bd3930e6cdb9bffbe872c6775c15dfc1024ae24d6bcb4651c8e1fb06242b17d6a86f683de3b528bbf1a60b5656a90c1f4ac81b7 SHA512 5b0de690d37dd5928e3bfd0b380336d154cced094e342b41dfd16d0caddd2b792a2158b209404a36461cf4d1b12d836024eae2aedf15093b90f4e363382b38bf
|
||||
|
@ -1,37 +0,0 @@
|
||||
# Copyright 2020-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A client library for executing Jupyter notebooks"
|
||||
HOMEPAGE="
|
||||
https://nbclient.readthedocs.io/en/latest/
|
||||
https://github.com/jupyter/nbclient/
|
||||
https://pypi.org/project/nbclient/"
|
||||
SRC_URI="
|
||||
https://github.com/jupyter/nbclient/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 hppa ppc ~ppc64 ~riscv ~s390 ~sparc x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/jupyter_client-6.1.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/nbformat-5.0[${PYTHON_USEDEP}]
|
||||
dev-python/nest_asyncio[${PYTHON_USEDEP}]
|
||||
>=dev-python/traitlets-4.2[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/ipython[${PYTHON_USEDEP}]
|
||||
dev-python/ipykernel[${PYTHON_USEDEP}]
|
||||
dev-python/ipywidgets[${PYTHON_USEDEP}]
|
||||
dev-python/xmltodict[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1,3 +1,5 @@
|
||||
DIST platformdirs-2.4.0.gh.tar.gz 19482 BLAKE2B 81ebc4424bd2845ae3b28d95428f95c7920300193ff98159263089b3db0d104a3a59af616bf6b815c0c8b1453d3f05d85120573c71b16b0a5104cc2532c472d4 SHA512 76b492f9d1a5c666c3c6957c775055bbd74db93f2a66f0651a74e1914626d757ab8110df87281cd31ad65abbd89f02906fdf8f0854a44f8500487685993fb8af
|
||||
DIST platformdirs-2.4.1.gh.tar.gz 20051 BLAKE2B 18fd11f7cae7c81c3615c89468d1deb3ceef3337b4a87a806b245b7bb5a4c14c0eb64fc7cfa06adc2da6150969da3a626da16c1f309f3011a9d4c5d1e4ca1d83 SHA512 d410056207506395c922ecc36c481bcc21f8dd97c69f33dc13580c74d0ea3d1aaa97284b79eed47b723f18c663038874edc5b9c4f4def06d92f1e25f7a8d76b4
|
||||
EBUILD platformdirs-2.4.0.ebuild 795 BLAKE2B 8b7da01e8aa80ee1f1e00371a92933323a79e679f69d88add7f605ff3986a4957ce5945ff827239b08c1a81ae28f25060250f6927aa4471350d6b80f5d10112e SHA512 2f8ab22cda1121989638f7c58451d8391bd74b6b5011f1b6fccb8237c60af6131435c47fe2874c53e516fe1032bf21708afb1910ab900b4f5e2b6165d1ef39d6
|
||||
EBUILD platformdirs-2.4.1.ebuild 803 BLAKE2B c767e7b83c0df2330bacbd45fca203c331d4abd71d54231fa40af88ad15ba7ab5b1ba787daa9fd7950137f0b77917aa711ca4cbd7c1a2318e37798296acb5809 SHA512 fec658124062fe60fa5d7ba8d92b68774506b88f49fb3f8bd8c988439b2a1a0a8ba3f3cedef4f5abf4ba65be9a8a1cf864264d9225c78d09560c034abddd1fae
|
||||
MISC metadata.xml 383 BLAKE2B b8c8c1593d154e7a38ca4bc450c14ca21f2411ea1d71f67e9631c1def0acace43ebb6e67adc0c4a1f5f14aadfbce44d0d815fc3696410bef66c826fd5fb00a45 SHA512 f4ba6722e1cf661b3febe10bb15755a9cbc30226a08bdcabfa3d80be87b42d662d6a1edb3412ad79e8f36836a6dd4fd91a83dae29725ec47041056dc1f1f9b75
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A small Python module for determining appropriate platform-specific dirs"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/platformdirs/
|
||||
https://github.com/platformdirs/platformdirs/"
|
||||
SRC_URI="
|
||||
https://github.com/platformdirs/platformdirs/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/appdirs[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue