parent
b21dcc0b4a
commit
e1f07e010b
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29634 BLAKE2B 14450559c72a82e76ce440c8dbc3a6f1a4b866441ace4f9c48199f3b3f804a452f227b3603a915a4fdda5c404abe1b458ff2ebfe52f50bb67c2354e8ecb9dd96 SHA512 77aad8eb8cfe8015402f2383b1db8c0ee2ee4fdb163f31a7c3b24403362bfe4eebc224356c7d744dc894af40843eefdf6c9cac293c973ecda314dcda81d30fa6
|
||||
TIMESTAMP 2022-08-13T11:39:41Z
|
||||
MANIFEST Manifest.files.gz 29604 BLAKE2B 02aa5981c8825b3e0ca1192e0dcf2084cc8ef0908a90dbe567ebd1a8d5fd9334db6d4bd5cb5504a92517e41f16f30fbc49d58e6af3c557adec3ddff817c2acbd SHA512 5267970e71e8fc7a60631e3c9d821240c7c3552b4e8cec0ca987089d0c04aae2b8aa9a1d09b39ed67c1ad3f1bb61edd076a8ea0aa784faeca716c5ed5dc14f6b
|
||||
TIMESTAMP 2022-08-14T10:39:41Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmL3jX1fFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmL40O1fFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klAx/w//Z0zehqWlA51APDfKroQ6P2f6b7L3OqthljC45TiUptFH5+hwiP+Aarui
|
||||
hcum02+tldFZBhYpoFY9cEpX7XAAhPclyqyD/3c5ur8XATbvNimNW7097d9geYQj
|
||||
NmUJCbli0Z/LLjPYzPTm9p/bEE7hXf1JGoeH40NFWPHeOO2hkgIJkv00zZfGPCU8
|
||||
eN2MOcdE3s3caIMtqE7YOd5Vke3ww0sILogOlYOCYvuynxI6wo8S+wRtB+PlCXAH
|
||||
GqMKu/I2C54nI2SVTLJK6+ZlHAtAv8/0k3DBJ5sbbrxU147b65Q/3at1ofwIXX2z
|
||||
PegjUbpLZw1NlLZUdK+U7f9x1P0A0e7LS5/1sZo+3cPDVTY/Ady4FZwklY3tDl+w
|
||||
tZxWoOE13t15f+LkSuqdI/FeZGrinGzz18S6dkZvT9jkYDz/lDhWMt+lXuXDwfR4
|
||||
0VW3lpr1y7BqnF5yCfFJyon89Hy3atCB5QieyGJmZovKg+iDzqSO8oiyTk8CEXSL
|
||||
SkrXAyQbpR6cZ6BHNTm7atqPN/3t/dx7jv6oXQ0MzqpGndzSG4sTNFm8249MRBCe
|
||||
7xyrPA2LZkQjL4sBrqjsxFQ2twQr1y1jww/DH4qp1ru3OmyaQZleGHGV8DwWTe1L
|
||||
IEXnLr26J+wHRi5TpRpw+VcUY4QbMICPAvVZIiVtVJUXLCxs+zU=
|
||||
=Ouoo
|
||||
klAiFw//X7LOUejpRmLGQYAbIUK54YjmE1eT/+izYGc0Jkd5isjrzWgq8dteV2OJ
|
||||
zWnvhs//oGaUkBCo4yrfxpwvNgeWJXQCEmEbF5FR/jv0N0yk2V+TL8Dhfad532zt
|
||||
N6Hmck1yxh4woPSXWI4KEGRxzxaVqHQs53297/FyYT3EAPX5STUHJ6Ms1SgCuDZD
|
||||
2WRDUNY4rOM4N915RpENmZuFIxzPkWaLngDW5/JUuUo76riTN4Vcu8yBKQatLDE0
|
||||
bmUMorPy6uM9zypWtWwl3+e754zuWhGVfuzQRoUpN56CEmvT8A8XlIyf6iW7bDDI
|
||||
fe39bvV6yE9t7EAxJF32tNSb0SyVAUrzuRMEu6Od8/8Fk7Pa8eJN1jJjck9JD1Mt
|
||||
6gKhEzEb1QN4wHsumrXFyhHJ7Lp7VT19r+gS5lxCOvcAGZlOKWfWwRJU6S4l0W39
|
||||
/fpqiqis6slgTgMvJQUGub9lVIJjH+F0aJGAZ63d6PYClFVS923G8Rouw8G1id6x
|
||||
YnBmobu6Eq5iE4Hlct09p67ie/fDAi/S6aRUI06IdMJ3Td8JisbgdznmEyb5T/5m
|
||||
KB/XNRgclMogPZyGgtSkoFDYOxd4VG2kIEpctDKebJNL/PQmey/JAIrRAwwF2K4Q
|
||||
poCvzZMvC3WXFs2sNfebGkzuCexWeCVi+bel7Li2l3uHkhbfgu4=
|
||||
=fhk6
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
EBUILD pcap-0.ebuild 201 BLAKE2B 6fcf91eadb676ca86e263112d3d4c097f98a839ec147211a7db58611293c0512fa1210c2617ae73a986e94933a2d553784c2bc9e4ba14b5c30249cb41f6651ae SHA512 fc5a51956c16ff9ca2e73ee286532a41e083fe7cb5963d5a911f2eeec3bd8e9c9273a02c76de3226b7a2bdd09780ddd6ad2b95147db79dd4a4a4be04591cbaf0
|
||||
MISC metadata.xml 452 BLAKE2B 58484ca1243ad822b33a594a9ec0c3f6a4304f6ec551e0116b3af940cd025b4b5c36403d334215ff9dcb060217e252c2236d05f53e49986131926c39c376ab78 SHA512 5f2613249985ff5f4390335b6d2ffe8495c882a8471e8f17b37f5865823ff7c4b36e32c82dd3b253865b5a5e8f3f15068aa121c471002f71bf5cbc1eecac23f4
|
||||
MISC metadata.xml 348 BLAKE2B e3f9b8e8dfedfb11f47b20ab9e4f0788a9d8ef28295b77603386a317e2418d96986ef606c0653a6a7cf192300b6002135eff653ca20758f95ea5a7a42aca0c2e SHA512 58b7f6aa900926c1c84b9ee8d4ab03bac3256913be6d14a5965d3012dbd6d3df2d9f026457a08c770b049764662e434fc26297bc0ecb6ffff9b72bb1a8c3fa19
|
||||
|
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
EBUILD pcap-0.ebuild 244 BLAKE2B 70f2386fda254c7477dc251e110e04ae5066c1cba5920fe338ed77478a173f096fd980b65fcfcb9163068270b50a33275f9c79f6f9f4d204d41a74117894e69c SHA512 611abd9f86111ed64a74de1d3fe78c8e58dd3d0676c1fc0eb1e6f4e2d3d2102a3ab6cdc5340ce8236369e884636edb6e127589cfd7279b14c0442b114f4f6eb6
|
||||
MISC metadata.xml 452 BLAKE2B 58484ca1243ad822b33a594a9ec0c3f6a4304f6ec551e0116b3af940cd025b4b5c36403d334215ff9dcb060217e252c2236d05f53e49986131926c39c376ab78 SHA512 5f2613249985ff5f4390335b6d2ffe8495c882a8471e8f17b37f5865823ff7c4b36e32c82dd3b253865b5a5e8f3f15068aa121c471002f71bf5cbc1eecac23f4
|
||||
MISC metadata.xml 348 BLAKE2B e3f9b8e8dfedfb11f47b20ab9e4f0788a9d8ef28295b77603386a317e2418d96986ef606c0653a6a7cf192300b6002135eff653ca20758f95ea5a7a42aca0c2e SHA512 58b7f6aa900926c1c84b9ee8d4ab03bac3256913be6d14a5965d3012dbd6d3df2d9f026457a08c770b049764662e434fc26297bc0ecb6ffff9b72bb1a8c3fa19
|
||||
|
Binary file not shown.
@ -1,86 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="Standard log daemons"
|
||||
HOMEPAGE="https://troglobit.com/sysklogd.html https://github.com/troglobit/sysklogd"
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
inherit autotools git-r3
|
||||
EGIT_REPO_URI="https://github.com/troglobit/sysklogd.git"
|
||||
else
|
||||
SRC_URI="https://github.com/troglobit/sysklogd/releases/download/v${PV}/${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="logger logrotate systemd"
|
||||
# Needs network access
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
logger? (
|
||||
!<sys-apps/util-linux-2.34-r3
|
||||
!>=sys-apps/util-linux-2.34-r3[logger]
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
logrotate? ( app-admin/logrotate )"
|
||||
|
||||
DOCS=( ChangeLog.md README.md )
|
||||
|
||||
pkg_setup() {
|
||||
append-lfs-flags
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
[[ ${PV} == *9999 ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-static
|
||||
--runstatedir="${EPREFIX}"/run
|
||||
$(use_with logger)
|
||||
$(use_with systemd systemd $(systemd_get_systemunitdir))
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
insinto /etc
|
||||
doins syslog.conf
|
||||
keepdir /etc/syslog.d
|
||||
|
||||
newinitd "${FILESDIR}"/sysklogd.rc10 sysklogd
|
||||
newconfd "${FILESDIR}"/sysklogd.confd3 sysklogd
|
||||
|
||||
if use logrotate ; then
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/sysklogd.logrotate sysklogd
|
||||
sed 's@ -r 10M:10@@' -i "${ED}"/etc/conf.d/sysklogd || die
|
||||
fi
|
||||
|
||||
find "${ED}" -type f -name "*.la" -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use logrotate && [[ -n ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 2.0 ; then
|
||||
elog "Starting with version 2.0 syslogd has built in log rotation"
|
||||
elog "functionality that does no longer require a running cron daemon."
|
||||
elog "So we no longer install any log rotation cron files for sysklogd."
|
||||
fi
|
||||
if [[ -n ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 2.1 ; then
|
||||
elog "Starting with version 2.1 sysklogd no longer provides klogd."
|
||||
elog "syslogd now also logs kernel messages."
|
||||
fi
|
||||
}
|
@ -1,88 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="Standard log daemons"
|
||||
HOMEPAGE="https://troglobit.com/sysklogd.html https://github.com/troglobit/sysklogd"
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
inherit autotools git-r3
|
||||
EGIT_REPO_URI="https://github.com/troglobit/sysklogd.git"
|
||||
else
|
||||
SRC_URI="https://github.com/troglobit/sysklogd/releases/download/v${PV}/${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="logger logrotate"
|
||||
# Needs network access
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
logger? (
|
||||
!<sys-apps/util-linux-2.34-r3
|
||||
!>=sys-apps/util-linux-2.34-r3[logger]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
logrotate? ( app-admin/logrotate )
|
||||
"
|
||||
|
||||
DOCS=( ChangeLog.md README.md )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
[[ ${PV} == *9999 ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-lfs-flags
|
||||
tc-export CC
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-static
|
||||
--runstatedir="${EPREFIX}"/run
|
||||
--with-systemd=$(systemd_get_systemunitdir)
|
||||
$(use_with logger)
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
insinto /etc
|
||||
doins syslog.conf
|
||||
keepdir /etc/syslog.d
|
||||
|
||||
newinitd "${FILESDIR}"/sysklogd.rc10 sysklogd
|
||||
newconfd "${FILESDIR}"/sysklogd.confd3 sysklogd
|
||||
|
||||
if use logrotate ; then
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/sysklogd.logrotate sysklogd
|
||||
sed 's@ -r 10M:10@@' -i "${ED}"/etc/conf.d/sysklogd || die
|
||||
fi
|
||||
|
||||
find "${ED}" -type f -name "*.la" -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use logrotate && [[ -n ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 2.0 ; then
|
||||
elog "Starting with version 2.0 syslogd has built in log rotation"
|
||||
elog "functionality that does no longer require a running cron daemon."
|
||||
elog "So we no longer install any log rotation cron files for sysklogd."
|
||||
fi
|
||||
|
||||
if [[ -n ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 2.1 ; then
|
||||
elog "Starting with version 2.1 sysklogd no longer provides klogd."
|
||||
elog "syslogd now also logs kernel messages."
|
||||
fi
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST system-config-printer-1.5.16.tar.xz 1382124 BLAKE2B 37548bd470f8e80026e014d4077a79a38ad54258d620654536890b67b688fc790c9a9a269b321f2e12d63ec21f24858866e39b41089195c528ddbdf1351bba5f SHA512 ed20a409def66bdea7de4cd5b397891eca220c841e1b5c8cab98e45f87389ae8ba881d9e24072dd07203141fc34c49c4b67cf099791857c007971e3b7d2e2fc2
|
||||
EBUILD system-config-printer-1.5.16-r1.ebuild 2002 BLAKE2B 77a5f9185c192940765ba624adfeb3084e08a6a3e4d53dcc59f176a06367188c892b4e88a3fe38be80d5f1621fc857e12ea0dbe994cd4e2ac80deafb5306f1ff SHA512 f9d33281100bbe34f7c6e2320978d4bde048fb8b62bd4492a7deabe0e66bc7817e53bb4a7cf53689f1f12d3c0e4fb8291fbdd395db1c2e960bf981aa0f69913e
|
||||
EBUILD system-config-printer-1.5.16-r1.ebuild 2071 BLAKE2B c42ef6b6e64d7454a059333b5210c243ca949925af5df32c4394d9411c6bf32d36422e9f39ee4dcc78aad32d7e98076fa592b55c9d69dc55e6acbf54ecb4efeb SHA512 4cb21dc868a872b429ed5e096a9e0e8d9163286c8b91376152d3770c6305b53b661d171f4178a2bd6c391a197f30e94c9e4dd9e545e7e70e329fa2d95b3cca21
|
||||
MISC metadata.xml 464 BLAKE2B 6b9e1c83ddd541fa865336261d248c43e24354dbe1fdb585436bdaacd6cbbca9949b54961c0ad32220326b168650c377862640c50c2f40ad61106fbbb59fa3c4 SHA512 20f80adda8d894d92410585732a88565196b6cd10177bf5ed93966cf450d6dced89f46a840fd5c5ce26a9d7ac2fc42e59fbb8f789eb1f7f594e95da7a0cf60b8
|
||||
|
Binary file not shown.
@ -0,0 +1,13 @@
|
||||
Ensure that :checkhealth is happy with the Gentoo build type.
|
||||
https://bugs.gentoo.org/757744
|
||||
--- a/runtime/autoload/health/nvim.vim
|
||||
+++ b/runtime/autoload/health/nvim.vim
|
||||
@@ -135,7 +135,7 @@ function! s:check_performance() abort
|
||||
let buildtype = matchstr(execute('version'), '\v\cbuild type:?\s*[^\n\r\t ]+')
|
||||
if empty(buildtype)
|
||||
call health#report_error('failed to get build type from :version')
|
||||
- elseif buildtype =~# '\v(MinSizeRel|Release|RelWithDebInfo)'
|
||||
+ elseif buildtype =~# '\v(MinSizeRel|Release|RelWithDebInfo|Gentoo)'
|
||||
call health#report_ok(buildtype)
|
||||
else
|
||||
call health#report_info(buildtype)
|
Binary file not shown.
@ -1,6 +1,8 @@
|
||||
AUX 50dockerfile-mode-gentoo.el 283 BLAKE2B 0ef92381fb8058ce72cea9bdef593401eb279ea521b952f97747b35dbaaf344039dd2ed5e6384c86beafb98f92cea864626ad2bb7a2c61303a9830e257df34a2 SHA512 7b7a72fd9cde179a3e0847c92a2361d09bd6145c9de24236e8da3a56a880b02db9623e8b535f31f94482e05424bc758cd5d977c6d643689ab75894d128c3097b
|
||||
DIST dockerfile-mode-1.6.tar.gz 7795 BLAKE2B 3ba19ed2957d6d5bb1c8a43710bfda7c5681159820d313a19d03a00ba7982237ec09c4b1af5d6f304d4fcb9c228b7ff92ec0af1ae0efd4f2f18aedaf2a3a790a SHA512 64077ed231544bc737a5d7fd3bafd43f46861eb39e31908b90a50a6a7c4ea71f82239d7b4eb4cf2abb852da2a619c82aaeb236f7b0c537ff85b0ce4c1090a0de
|
||||
DIST dockerfile-mode-1.7.tar.gz 7880 BLAKE2B 72a4824ab2b89f516de7988d5ba3674e59e88b713c70ba585a4bbe517685b297b18ab34ff1a1066036f901725b4fb6b292286529935800a1366abb5e3649f900 SHA512 eb05e1f0ba0b9752f780106b94a939c3182512a1c9670b2e63c8d0c797b8e0eb979751868a3d337986568fa104302e09d7a1bae514cb2e210454d3dae419e58b
|
||||
DIST dockerfile-mode-1.8.tar.gz 7882 BLAKE2B 8db9ffadbc673ed37e04cd300834ceff3505b5addf3ea7432dcbfc221d392c63f7641ef80d1f464576963aadff9d038b2761c7dde72004fed5e0027519045d30 SHA512 8bae08037813730b93919135fe727a6506bfb0decdc385b22afe41d7f1df750d3f0cc508453faa7b0e90d347584f805acca54bbf7da6cae2cf3108ff1047fd58
|
||||
EBUILD dockerfile-mode-1.6.ebuild 435 BLAKE2B a81acbf2796981c7ce37c223780c8844af83304deef4188ae8b50fba42c15db2bbfd705c5c49e62300906e3964f7017d7909576a2ee1dcb999e8378ed0c87675 SHA512 4f531f03d4507cc5e5bc565b6ea47b58f04ec49144cc0eb8dddf8e31b1dcfe765665ac19bf0be380bbad94e0cb14a942f65481e98e9b344ab5f70257f3847876
|
||||
EBUILD dockerfile-mode-1.7.ebuild 435 BLAKE2B a81acbf2796981c7ce37c223780c8844af83304deef4188ae8b50fba42c15db2bbfd705c5c49e62300906e3964f7017d7909576a2ee1dcb999e8378ed0c87675 SHA512 4f531f03d4507cc5e5bc565b6ea47b58f04ec49144cc0eb8dddf8e31b1dcfe765665ac19bf0be380bbad94e0cb14a942f65481e98e9b344ab5f70257f3847876
|
||||
EBUILD dockerfile-mode-1.8.ebuild 435 BLAKE2B a81acbf2796981c7ce37c223780c8844af83304deef4188ae8b50fba42c15db2bbfd705c5c49e62300906e3964f7017d7909576a2ee1dcb999e8378ed0c87675 SHA512 4f531f03d4507cc5e5bc565b6ea47b58f04ec49144cc0eb8dddf8e31b1dcfe765665ac19bf0be380bbad94e0cb14a942f65481e98e9b344ab5f70257f3847876
|
||||
MISC metadata.xml 460 BLAKE2B 169050e19dd4324eee4cb06d1bb4e5ebefad6e0b94408cc95aaf946222a2d48bb8904d6dfba625de3c0444a6b12e465a4d0ea8ca43f64eef3f971edbe024b1dd SHA512 1ee48f2a4ebbf9b2f321731e69306221cbb5b3c43ad72f0a0cc69fe87f6eba76f1848b383339654dd9f2ca5ff71a7860b3abf12371fbb36c72c160a8eb011fc0
|
||||
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
NEED_EMACS=24
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="GNU Emacs mode for handling Dockerfiles"
|
||||
HOMEPAGE="https://github.com/spotify/dockerfile-mode/"
|
||||
SRC_URI="https://github.com/spotify/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DOCS=( README.md )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
Binary file not shown.
@ -0,0 +1,648 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# To add a new Python here:
|
||||
# 1. Patch src/libs/xpcom18a4/python/Makefile.kmk (copy the previous impl's logic)
|
||||
# Do NOT skip this part. It'll end up silently not-building the Python extension
|
||||
# or otherwise misbehaving if you do.
|
||||
#
|
||||
# 2. Then update PYTHON_COMPAT & set PYTHON_SINGLE_TARGET for testing w/ USE=python.
|
||||
#
|
||||
# May need to look at other distros (e.g. Arch Linux) to find patches for newer
|
||||
# Python versions as upstream tends to lag. Upstream may have patches on their
|
||||
# trunk branch but not release branch.
|
||||
#
|
||||
# See bug #785835, bug #856121.
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit desktop edo flag-o-matic java-pkg-opt-2 linux-info multilib optfeature pax-utils python-single-r1 tmpfiles toolchain-funcs udev xdg
|
||||
|
||||
MY_PN="VirtualBox"
|
||||
MY_PV="${PV/beta/BETA}"
|
||||
MY_PV="${MY_PV/rc/RC}"
|
||||
MY_P=${MY_PN}-${MY_PV}
|
||||
[[ ${PV} == *a ]] && DIR_PV="$(ver_cut 1-3)"
|
||||
|
||||
DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
|
||||
HOMEPAGE="https://www.virtualbox.org/"
|
||||
SRC_URI="https://download.virtualbox.org/virtualbox/${DIR_PV:-${MY_PV}}/${MY_P}.tar.bz2
|
||||
https://gitweb.gentoo.org/proj/virtualbox-patches.git/snapshot/virtualbox-patches-${MY_PV}.tar.bz2"
|
||||
S="${WORKDIR}/${MY_PN}-${DIR_PV:-${MY_PV}}"
|
||||
|
||||
LICENSE="GPL-2 dtrace? ( CDDL )"
|
||||
SLOT="0/$(ver_cut 1-2)"
|
||||
if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
IUSE="alsa debug doc dtrace headless java lvm +opus pam pax-kernel pch pulseaudio +opengl python +qt5 +sdk +udev vboxwebsrv vnc"
|
||||
|
||||
unset WATCOM #856769
|
||||
|
||||
COMMON_DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
acct-group/vboxusers
|
||||
~app-emulation/virtualbox-modules-${DIR_PV:-${PV}}
|
||||
dev-libs/libIDL
|
||||
>=dev-libs/libxslt-1.1.19
|
||||
net-misc/curl
|
||||
dev-libs/libxml2
|
||||
media-libs/libpng:0=
|
||||
media-libs/libvpx:0=
|
||||
sys-libs/zlib:=
|
||||
!headless? (
|
||||
media-libs/libsdl:0[X,video]
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb:=
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXext
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
opengl? (
|
||||
media-libs/libglvnd[X]
|
||||
virtual/glu
|
||||
)
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtprintsupport:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtx11extras:5
|
||||
opengl? ( dev-qt/qtopengl:5 )
|
||||
x11-libs/libXinerama
|
||||
)
|
||||
)
|
||||
dev-libs/openssl:0=
|
||||
virtual/libcrypt:=
|
||||
lvm? ( sys-fs/lvm2 )
|
||||
opus? ( media-libs/opus )
|
||||
udev? ( >=virtual/udev-171 )
|
||||
vnc? ( >=net-libs/libvncserver-0.9.9 )
|
||||
"
|
||||
# We're stuck on JDK (and JRE, I guess?) 1.8 because of need for wsimport
|
||||
# with USE="vboxwebsrv java". Note that we have to put things in DEPEND,
|
||||
# not (only, anyway) BDEPEND, as the eclass magic to set the environment variables
|
||||
# based on *DEPEND doesn't work for BDEPEND at least right now.
|
||||
#
|
||||
# There's a comment in Config.kmk about it
|
||||
# ("With Java 11 wsimport was removed, usually part of a separate install now.")
|
||||
# but it needs more investigation.
|
||||
#
|
||||
# See bug #832166.
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
!headless? (
|
||||
x11-libs/libXinerama
|
||||
opengl? ( virtual/opengl )
|
||||
)
|
||||
java? ( virtual/jdk:1.8 )
|
||||
pam? ( sys-libs/pam )
|
||||
pax-kernel? ( sys-apps/elfix )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
vboxwebsrv? ( net-libs/gsoap[-gnutls(-)] )
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
>=dev-util/kbuild-0.1.9998.3127
|
||||
>=dev-lang/yasm-0.6.2
|
||||
sys-apps/which
|
||||
sys-devel/bin86
|
||||
sys-libs/libcap
|
||||
sys-power/iasl
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
app-text/docbook-sgml-dtd:4.4
|
||||
dev-texlive/texlive-basic
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-latexrecommended
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
dev-texlive/texlive-fontsextra
|
||||
)
|
||||
java? ( virtual/jdk:1.8 )
|
||||
qt5? ( dev-qt/linguist-tools:5 )
|
||||
"
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
java? ( virtual/jre:1.8 )
|
||||
"
|
||||
|
||||
QA_FLAGS_IGNORED="
|
||||
usr/lib64/virtualbox/VBoxDDR0.r0
|
||||
usr/lib64/virtualbox/VMMR0.r0
|
||||
"
|
||||
|
||||
QA_TEXTRELS="
|
||||
usr/lib64/virtualbox/VMMR0.r0
|
||||
"
|
||||
|
||||
QA_EXECSTACK="
|
||||
usr/lib64/virtualbox/iPxeBaseBin
|
||||
usr/lib64/virtualbox/VMMR0.r0
|
||||
usr/lib64/virtualbox/VBoxDDR0.r0
|
||||
"
|
||||
|
||||
QA_WX_LOAD="
|
||||
usr/lib64/virtualbox/iPxeBaseBin
|
||||
"
|
||||
|
||||
QA_PRESTRIPPED="
|
||||
usr/lib64/virtualbox/VMMR0.r0
|
||||
usr/lib64/virtualbox/VBoxDDR0.r0
|
||||
"
|
||||
|
||||
REQUIRED_USE="
|
||||
java? ( sdk )
|
||||
python? ( sdk )
|
||||
vboxwebsrv? ( java )
|
||||
${PYTHON_REQUIRED_USE}
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.1.26-configure-include-qt5-path.patch # bug #805365
|
||||
|
||||
# This patch is needed to avoid automagic detection based on a hardcoded
|
||||
# list of Pythons in configure. It's necessary but not sufficient
|
||||
# (see the rest of the ebuild's logic for the remainder) to handle
|
||||
# proper Python selection.
|
||||
"${FILESDIR}"/${PN}-6.1.34-r3-python.patch
|
||||
|
||||
# Patch grabbed from Arch Linux / upstream for Python 3.10 support
|
||||
"${FILESDIR}"/${PN}-6.1.36-python3.10.patch
|
||||
|
||||
# Downloaded patchset
|
||||
"${WORKDIR}"/virtualbox-patches-${MY_PV}/patches
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
if ! use headless && ! use qt5 ; then
|
||||
einfo "No USE=\"qt5\" selected, this build will not include any Qt frontend."
|
||||
elif use headless && use qt5 ; then
|
||||
einfo "You selected USE=\"headless qt5\", defaulting to"
|
||||
einfo "USE=\"headless\", this build will not include any X11/Qt frontend."
|
||||
fi
|
||||
|
||||
if ! use opengl ; then
|
||||
einfo "No USE=\"opengl\" selected, this build will lack"
|
||||
einfo "the OpenGL feature."
|
||||
fi
|
||||
if ! use python ; then
|
||||
einfo "You have disabled the \"python\" USE flag. This will only"
|
||||
einfo "disable the python bindings being installed."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
java-pkg-opt-2_pkg_setup
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Only add nopie patch when we're on hardened
|
||||
if gcc-specs-pie ; then
|
||||
eapply "${FILESDIR}"/050_virtualbox-5.2.8-nopie.patch
|
||||
fi
|
||||
|
||||
# Only add paxmark patch when we're on pax-kernel
|
||||
if use pax-kernel ; then
|
||||
eapply "${FILESDIR}"/virtualbox-5.2.8-paxmark-bldprogs.patch
|
||||
fi
|
||||
|
||||
# Remove shipped binaries (kBuild, yasm), see bug #232775
|
||||
rm -r kBuild/bin tools || die
|
||||
|
||||
# Replace pointless GCC version check with something more sensible.
|
||||
# This is needed for the qt5 version check.
|
||||
sed -e 's@^check_gcc$@cc_maj="$(${CC} -dumpversion | cut -d. -f1)" ; cc_min="$(${CC} -dumpversion | cut -d. -f2)"@' \
|
||||
-i configure || die
|
||||
|
||||
# Disable things unused or split into separate ebuilds
|
||||
sed -e "s@MY_LIBDIR@$(get_libdir)@" \
|
||||
"${FILESDIR}"/${PN}-5-localconfig > LocalConfig.kmk || die
|
||||
|
||||
if ! use pch ; then
|
||||
# bug #753323
|
||||
printf '\n%s\n' "VBOX_WITHOUT_PRECOMPILED_HEADERS=1" \
|
||||
>> LocalConfig.kmk || die
|
||||
fi
|
||||
|
||||
# Respect LDFLAGS
|
||||
sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \
|
||||
-i Config.kmk src/libs/xpcom18a4/Config.kmk || die
|
||||
|
||||
# Do not use hard-coded ld (related to bug #488176)
|
||||
sed -e '/QUIET)ld /s@ld @$(LD) @' \
|
||||
-i src/VBox/Devices/PC/ipxe/Makefile.kmk || die
|
||||
|
||||
# Use PAM only when pam USE flag is enbaled (bug #376531)
|
||||
if ! use pam ; then
|
||||
einfo "Disabling PAM removes the possibility to use the VRDP features."
|
||||
sed -i 's@^.*VBOX_WITH_PAM@#VBOX_WITH_PAM@' Config.kmk || die
|
||||
sed -i 's@\(.*/auth/Makefile.kmk.*\)@#\1@' \
|
||||
src/VBox/HostServices/Makefile.kmk || die
|
||||
fi
|
||||
|
||||
# add correct java path
|
||||
if use java ; then
|
||||
sed "s@/usr/lib/jvm/java-6-sun@$(java-config -O)@" \
|
||||
-i "${S}"/Config.kmk || die
|
||||
java-pkg-opt-2_src_prepare
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-ld-disable-gold # bug #488176
|
||||
|
||||
#856811 #864274
|
||||
# cannot filter out only one flag, some combinations of these flags produce buggy executables
|
||||
for i in abm avx avx2 bmi bmi2 fma fma4 popcnt; do
|
||||
append-cflags $(test-flags-CC -mno-$i)
|
||||
append-cxxflags $(test-flags-CXX -mno-$i)
|
||||
done
|
||||
|
||||
tc-export AR CC CXX LD RANLIB
|
||||
export HOST_CC="$(tc-getBUILD_CC)"
|
||||
|
||||
local myconf=(
|
||||
--with-gcc="$(tc-getCC)"
|
||||
--with-g++="$(tc-getCXX)"
|
||||
|
||||
--disable-dbus
|
||||
--disable-kmods
|
||||
|
||||
$(usex alsa '' --disable-alsa)
|
||||
$(usex debug --build-debug '')
|
||||
$(usex doc '' --disable-docs)
|
||||
$(usex java '' --disable-java)
|
||||
$(usex lvm '' --disable-devmapper)
|
||||
$(usex opus '' --disable-libopus)
|
||||
$(usex pulseaudio '' --disable-pulse)
|
||||
$(usex python '' --disable-python)
|
||||
$(usex vboxwebsrv --enable-webservice '')
|
||||
$(usex vnc --enable-vnc '')
|
||||
)
|
||||
|
||||
if ! use headless ; then
|
||||
myconf+=(
|
||||
$(usex opengl '' --disable-opengl)
|
||||
$(usex qt5 '' --disable-qt)
|
||||
)
|
||||
else
|
||||
myconf+=(
|
||||
--build-headless
|
||||
--disable-opengl
|
||||
)
|
||||
fi
|
||||
|
||||
if use amd64 && ! has_multilib_profile ; then
|
||||
myconf+=( --disable-vmmraw )
|
||||
fi
|
||||
|
||||
# bug #843437
|
||||
cat >> LocalConfig.kmk <<-EOF || die
|
||||
CXXFLAGS=${CXXFLAGS}
|
||||
CFLAGS=${CFLAGS}
|
||||
EOF
|
||||
|
||||
# not an autoconf script
|
||||
edo ./configure "${myconf[@]}"
|
||||
|
||||
# Force usage of chosen Python implementation
|
||||
# bug #856121, bug #785835
|
||||
sed -i \
|
||||
-e '/VBOX_WITH_PYTHON.*=/d' \
|
||||
-e '/VBOX_PATH_PYTHON_INC.*=/d' \
|
||||
-e '/VBOX_LIB_PYTHON.*=/d' \
|
||||
AutoConfig.kmk || die
|
||||
|
||||
cat >> AutoConfig.kmk <<-EOF || die
|
||||
VBOX_WITH_PYTHON=$(usev python 1)
|
||||
VBOX_PATH_PYTHON_INC=$(python_get_includedir)
|
||||
VBOX_LIB_PYTHON=$(python_get_library_path)
|
||||
EOF
|
||||
|
||||
if use python ; then
|
||||
local mangled_python="${EPYTHON#python}"
|
||||
mangled_python="${mangled_python/.}"
|
||||
|
||||
# Stub out the script which defines what the Makefile ends up
|
||||
# building for. gen_python_deps.py gets called by the Makefile
|
||||
# with some args and it spits out a bunch of paths for a hardcoded
|
||||
# list of Pythons. We just override it with what we're actually using.
|
||||
# This minimises the amount of patching we have to do for new Pythons.
|
||||
cat > src/libs/xpcom18a4/python/gen_python_deps.py <<-EOF || die
|
||||
print("VBOX_PYTHON${mangled_python}_INC=$(python_get_includedir)")
|
||||
print("VBOX_PYTHON${mangled_python}_LIB=$(python_get_library_path)")
|
||||
print("VBOX_PYTHONDEF_INC=$(python_get_includedir)")
|
||||
print("VBOX_PYTHONDEF_LIB=$(python_get_library_path)")
|
||||
EOF
|
||||
|
||||
chmod +x src/libs/xpcom18a4/python/gen_python_deps.py || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
source ./env.sh || die
|
||||
|
||||
# Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
|
||||
MAKEJOBS=$(grep -Eo '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS})
|
||||
MAKELOAD=$(grep -Eo '(\-l|\-\-load-average)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS})
|
||||
MAKEOPTS="${MAKEJOBS} ${MAKELOAD}"
|
||||
|
||||
local myemakeargs=(
|
||||
VBOX_BUILD_PUBLISHER=_Gentoo
|
||||
VBOX_WITH_VBOXIMGMOUNT=1
|
||||
|
||||
KBUILD_VERBOSE=2
|
||||
|
||||
AS="$(tc-getCC)"
|
||||
CC="$(tc-getCC)"
|
||||
CXX="$(tc-getCXX)"
|
||||
|
||||
TOOL_GCC3_CC="$(tc-getCC)"
|
||||
TOOL_GCC3_LD="$(tc-getCC)"
|
||||
TOOL_GCC3_AS="$(tc-getCC)"
|
||||
TOOL_GCC3_AR="$(tc-getAR)"
|
||||
TOOL_GCC3_OBJCOPY="$(tc-getOBJCOPY)"
|
||||
|
||||
TOOL_GXX3_CC="$(tc-getCC)"
|
||||
TOOL_GXX3_CXX="$(tc-getCXX)"
|
||||
TOOL_GXX3_LD="$(tc-getCXX)"
|
||||
TOOL_GXX3_AS="$(tc-getCXX)"
|
||||
TOOL_GXX3_AR="$(tc-getAR)"
|
||||
TOOL_GXX3_OBJCOPY="$(tc-getOBJCOPY)"
|
||||
|
||||
TOOL_GCC3_CFLAGS="${CFLAGS}"
|
||||
TOOL_GCC3_CXXFLAGS="${CXXFLAGS}"
|
||||
VBOX_GCC_OPT="${CXXFLAGS}"
|
||||
VBOX_NM="$(tc-getNM)"
|
||||
|
||||
TOOL_YASM_AS=yasm
|
||||
)
|
||||
|
||||
if use amd64 && has_multilib_profile ; then
|
||||
myemakeargs+=(
|
||||
CC32="$(tc-getCC) -m32"
|
||||
CXX32="$(tc-getCXX) -m32"
|
||||
|
||||
TOOL_GCC32_CC="$(tc-getCC) -m32"
|
||||
TOOL_GCC32_CXX="$(tc-getCXX) -m32"
|
||||
TOOL_GCC32_LD="$(tc-getCC) -m32"
|
||||
TOOL_GCC32_AS="$(tc-getCC) -m32"
|
||||
TOOL_GCC32_AR="$(tc-getAR)"
|
||||
TOOL_GCC32_OBJCOPY="$(tc-getOBJCOPY)"
|
||||
|
||||
TOOL_GXX32_CC="$(tc-getCC) -m32"
|
||||
TOOL_GXX32_CXX="$(tc-getCXX) -m32"
|
||||
TOOL_GXX32_LD="$(tc-getCXX) -m32"
|
||||
TOOL_GXX32_AS="$(tc-getCXX) -m32"
|
||||
TOOL_GXX32_AR="$(tc-getAR)"
|
||||
TOOL_GXX32_OBJCOPY="$(tc-getOBJCOPY)"
|
||||
)
|
||||
fi
|
||||
|
||||
MAKE="kmk" emake "${myemakeargs[@]}" all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}"/out/linux.${ARCH}/$(usex debug debug release)/bin || die
|
||||
|
||||
local vbox_inst_path="/usr/$(get_libdir)/${PN}" each size ico icofile
|
||||
|
||||
vbox_inst() {
|
||||
local binary="${1}"
|
||||
local perms="${2:-0750}"
|
||||
local path="${3:-${vbox_inst_path}}"
|
||||
|
||||
[[ -n "${binary}" ]] || die "vbox_inst: No binary given!"
|
||||
[[ ${perms} =~ ^[[:digit:]]+{4}$ ]] || die "vbox_inst: perms must consist of four digits."
|
||||
|
||||
insinto ${path}
|
||||
doins ${binary}
|
||||
fowners root:vboxusers ${path}/${binary}
|
||||
fperms ${perms} ${path}/${binary}
|
||||
}
|
||||
|
||||
# Create configuration files
|
||||
insinto /etc/vbox
|
||||
newins "${FILESDIR}/${PN}-4-config" vbox.cfg
|
||||
|
||||
# Set the correct libdir
|
||||
sed \
|
||||
-e "s@MY_LIBDIR@$(get_libdir)@" \
|
||||
-i "${ED}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
|
||||
|
||||
# Install the wrapper script
|
||||
exeinto ${vbox_inst_path}
|
||||
newexe "${FILESDIR}/${PN}-ose-6-wrapper" "VBox"
|
||||
fowners root:vboxusers ${vbox_inst_path}/VBox
|
||||
fperms 0750 ${vbox_inst_path}/VBox
|
||||
|
||||
# Install binaries and libraries
|
||||
insinto ${vbox_inst_path}
|
||||
doins -r components
|
||||
|
||||
for each in VBox{Autostart,BalloonCtrl,BugReport,CpuReport,ExtPackHelperApp,Manage,SVC,Tunctl,VMMPreload,XPCOMIPCD} vboximg-mount *so *r0 iPxeBaseBin ; do
|
||||
vbox_inst ${each}
|
||||
done
|
||||
|
||||
# These binaries need to be suid root.
|
||||
for each in VBox{Headless,Net{AdpCtl,DHCP,NAT}} ; do
|
||||
vbox_inst ${each} 4750
|
||||
done
|
||||
|
||||
# Install EFI Firmware files (bug #320757)
|
||||
for each in VBoxEFI{32,64}.fd ; do
|
||||
vbox_inst ${each} 0644
|
||||
done
|
||||
|
||||
# VBoxSVC and VBoxManage need to be pax-marked (bug #403453)
|
||||
# VBoxXPCOMIPCD (bug #524202)
|
||||
for each in VBox{Headless,Manage,SVC,XPCOMIPCD} ; do
|
||||
pax-mark -m "${ED}"${vbox_inst_path}/${each}
|
||||
done
|
||||
|
||||
# Symlink binaries to the shipped wrapper
|
||||
for each in vbox{autostart,balloonctrl,bugreport,headless,manage} VBox{Autostart,BalloonCtrl,BugReport,Headless,Manage,VRDP} ; do
|
||||
dosym ${vbox_inst_path}/VBox /usr/bin/${each}
|
||||
done
|
||||
dosym ${vbox_inst_path}/VBoxTunctl /usr/bin/VBoxTunctl
|
||||
dosym ${vbox_inst_path}/vboximg-mount /usr/bin/vboximg-mount
|
||||
|
||||
if use pam ; then
|
||||
# VRDPAuth only works with this (bug #351949)
|
||||
dosym VBoxAuth.so ${vbox_inst_path}/VRDPAuth.so
|
||||
fi
|
||||
|
||||
# set an env-variable for 3rd party tools
|
||||
echo -n "VBOX_APP_HOME=${vbox_inst_path}" > "${T}/90virtualbox"
|
||||
doenvd "${T}/90virtualbox"
|
||||
|
||||
if ! use headless ; then
|
||||
vbox_inst rdesktop-vrdp
|
||||
vbox_inst VBoxSDL 4750
|
||||
pax-mark -m "${ED}"${vbox_inst_path}/VBoxSDL
|
||||
|
||||
for each in vboxsdl VBoxSDL ; do
|
||||
dosym ${vbox_inst_path}/VBox /usr/bin/${each}
|
||||
done
|
||||
|
||||
if use qt5 ; then
|
||||
vbox_inst VirtualBox
|
||||
vbox_inst VirtualBoxVM 4750
|
||||
for each in VirtualBox{,VM} ; do
|
||||
pax-mark -m "${ED}"${vbox_inst_path}/${each}
|
||||
done
|
||||
|
||||
if use opengl ; then
|
||||
vbox_inst VBoxTestOGL
|
||||
pax-mark -m "${ED}"${vbox_inst_path}/VBoxTestOGL
|
||||
fi
|
||||
|
||||
for each in virtualbox{,vm} VirtualBox{,VM} ; do
|
||||
dosym ${vbox_inst_path}/VBox /usr/bin/${each}
|
||||
done
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins -r nls
|
||||
doins -r UnattendedTemplates
|
||||
|
||||
domenu ${PN}.desktop
|
||||
fi
|
||||
|
||||
pushd "${S}"/src/VBox/Artwork/OSE &>/dev/null || die
|
||||
for size in 16 32 48 64 128 ; do
|
||||
newicon -s ${size} ${PN}-${size}px.png ${PN}.png
|
||||
done
|
||||
newicon ${PN}-48px.png ${PN}.png
|
||||
doicon -s scalable ${PN}.svg
|
||||
popd &>/dev/null || die
|
||||
pushd "${S}"/src/VBox/Artwork/other &>/dev/null || die
|
||||
for size in 16 24 32 48 64 72 96 128 256 512 ; do
|
||||
for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
|
||||
icofile="${PN}-${ico}-${size}px.png"
|
||||
if [[ -f "${icofile}" ]] ; then
|
||||
newicon -s ${size} ${icofile} ${PN}-${ico}.png
|
||||
fi
|
||||
done
|
||||
done
|
||||
popd &>/dev/null || die
|
||||
fi
|
||||
|
||||
if use lvm ; then
|
||||
vbox_inst VBoxVolInfo 4750
|
||||
dosym ${vbox_inst_path}/VBoxVolInfo /usr/bin/VBoxVolInfo
|
||||
fi
|
||||
|
||||
if use sdk ; then
|
||||
insinto ${vbox_inst_path}
|
||||
doins -r sdk
|
||||
|
||||
if use java ; then
|
||||
java-pkg_regjar "${ED}/${vbox_inst_path}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
|
||||
java-pkg_regso "${ED}/${vbox_inst_path}/libvboxjxpcom.so"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use udev ; then
|
||||
local udevdir="$(get_udevdir)"
|
||||
local udev_file="VBoxCreateUSBNode.sh"
|
||||
local rules_file="10-virtualbox.rules"
|
||||
|
||||
insinto ${udevdir}
|
||||
doins ${udev_file}
|
||||
fowners root:vboxusers ${udevdir}/${udev_file}
|
||||
fperms 0750 ${udevdir}/${udev_file}
|
||||
|
||||
insinto ${udevdir}/rules.d
|
||||
sed "s@%UDEVDIR%@${udevdir}@" "${FILESDIR}"/${rules_file} \
|
||||
> "${T}"/${rules_file} || die
|
||||
doins "${T}"/${rules_file}
|
||||
fi
|
||||
|
||||
if use vboxwebsrv ; then
|
||||
vbox_inst vboxwebsrv
|
||||
dosym ${vbox_inst_path}/VBox /usr/bin/vboxwebsrv
|
||||
newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
|
||||
newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
|
||||
fi
|
||||
|
||||
# Remove dead symlinks (bug #715338)
|
||||
find "${ED}"/usr/$(get_libdir)/${PN} -xtype l -delete || die
|
||||
|
||||
# Fix version string in extensions or else they don't get accepted
|
||||
# by the virtualbox host process (see bug #438930)
|
||||
find ExtensionPacks -type f -name "ExtPack.xml" -print0 \
|
||||
| xargs --no-run-if-empty --null sed -i '/Version/s@_Gentoo@@' \
|
||||
|| die
|
||||
|
||||
local extensions_dir="${vbox_inst_path}/ExtensionPacks"
|
||||
|
||||
if use vnc ; then
|
||||
insinto ${extensions_dir}
|
||||
doins -r ExtensionPacks/VNC
|
||||
fi
|
||||
|
||||
if use dtrace ; then
|
||||
insinto ${extensions_dir}
|
||||
doins -r ExtensionPacks/Oracle_VBoxDTrace_Extension_Pack
|
||||
fi
|
||||
|
||||
if use doc ; then
|
||||
dodoc UserManual.pdf
|
||||
fi
|
||||
|
||||
if use python ; then
|
||||
local mangled_python="${EPYTHON#python}"
|
||||
mangled_python="${mangled_python/./_}"
|
||||
|
||||
local python_path_ext="${ED}/usr/$(get_libdir)/virtualbox/VBoxPython${mangled_python}.so"
|
||||
if [[ ! -x "${python_path_ext}" ]] ; then
|
||||
eerror "Couldn't find ${python_path_ext}! Bindings were requested with USE=python"
|
||||
eerror "but none were installed. This may happen if support for a Python target"
|
||||
eerror "(listed in PYTHON_COMPAT in the ebuild) is incomplete within the Makefiles."
|
||||
die "Incomplete installation of Python bindings! File a bug with Gentoo!"
|
||||
fi
|
||||
fi
|
||||
|
||||
newtmpfiles "${FILESDIR}"/${PN}-vboxusb_tmpfilesd ${PN}-vboxusb.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
if use udev ; then
|
||||
udev_reload
|
||||
udevadm trigger --subsystem-match=usb
|
||||
fi
|
||||
|
||||
tmpfiles_process virtualbox-vboxusb.conf
|
||||
|
||||
if ! use headless && use qt5 ; then
|
||||
elog "To launch VirtualBox just type: \"virtualbox\"."
|
||||
fi
|
||||
|
||||
elog "You must be in the vboxusers group to use VirtualBox."
|
||||
elog ""
|
||||
elog "The latest user manual is available for download at:"
|
||||
elog "https://download.virtualbox.org/virtualbox/${DIR_PV:-${PV}}/UserManual.pdf"
|
||||
elog ""
|
||||
|
||||
optfeature "Advanced networking setups" net-misc/bridge-utils sys-apps/usermode-utilities
|
||||
optfeature "USB2, USB3, PXE boot, and VRDP support" app-emulation/virtualbox-extpack-oracle
|
||||
optfeature "Guest additions ISO" app-emulation/virtualbox-additions
|
||||
|
||||
if ! use udev ; then
|
||||
ewarn "Without USE=udev, USB devices will likely not work in ${PN}."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
|
||||
use udev && udev_reload
|
||||
}
|
Binary file not shown.
@ -1,13 +1,13 @@
|
||||
DIST powershell-7.2.1-linux-arm32.tar.gz 66500447 BLAKE2B 2390a26c871abf7012834d8401b6d1afd4c290c7a68794454c2926c782e4ddc20165d1f50718f2ec2b268bcfc2414bc454e211f3bf1eb3c77eb4939e52b7d846 SHA512 29f6c1a926c8cff6386e4d98ce91ec4ff91c19d0cd4cacdc8d3da1c65858841695a466e0a1c9106df6da1fa7d79ac96de023e564be6ba1ac00d5c94216380ed8
|
||||
DIST powershell-7.2.1-linux-arm64.tar.gz 65023197 BLAKE2B 8acd526537695e29d44d4e7445dd4fce1c0b2bb8a2cda57c353d7e21aac4efe85aa9e6752d71afb276f5035d0951e5f5684ea88751a25848387e4d5ea37d36a5 SHA512 094659aa63e2f4728997eaa086f1a74f34eb4876f1e679cb595a0c07c4133b42fbeb45fafbd3b916df8529a63fe98e2ffc54b0de66f3c8d17d9d72e03d35f0b8
|
||||
DIST powershell-7.2.1-linux-x64.tar.gz 69668637 BLAKE2B c173216df2147e5f857533cf35a6adaafe8e34f3b475bab6696c09f118ea62fd8304f25bbcfc9ef07807aee87f44ed0829d170ca878039a3ade5853235b61e82 SHA512 63a84dae492c0f1ef13629a50bf5b33fa9d5dd8d0d878a2e1dce185b398ef39467498ae7ea75b78326fb4c669fa77bea0549280fb6669e28cb0191a48fc374de
|
||||
DIST powershell-7.2.4-linux-arm32.tar.gz 66241774 BLAKE2B 6a37a929b3f315c00fa4da97d9a3a1f394224a35d03121b610b46de765dbf20ecbc6603250245fa4b07e666761a48a61c172ebb7e5d36f027ef7e985d4ac2734 SHA512 9d87bd111e6513f0771632bd6ae656d8a6488427707875b85c0b28cced5a2879a0c311a48e280dd9947ac767fed3ecc916441b04cf29bd80467715411858e899
|
||||
DIST powershell-7.2.4-linux-arm64.tar.gz 64769626 BLAKE2B 855daf5f18f5e5645d0efadc5b6db06175f9650f215c6e76a4348081685d368b93abd3cab145593074899c5ecd4b4f622bb0a3730181ccf2137d9b08a4b0ed4e SHA512 a1538b3a12824ffde0d75e5a0e047d0d39fd697ecac691285c39656a7e507fb0ca02d5fa2594d575cda70b1b1ff858f157f1160fc7320d3d342fe226ea67d7c6
|
||||
DIST powershell-7.2.4-linux-x64.tar.gz 69406638 BLAKE2B b7676de3c23417d92b7540754d94dbefa829d98ddedc4045de2b220bebc54a44fddc59538f6cfaaea69e67d5d46d67767c446777b29d22654b8e26858c29a6c0 SHA512 748c0459f00d52066c6da38bff88d03a25fcf65a9a9318614fd21f4984da8e459e0c0461663f23dd716fb285bbfeb406b88f6cf30aa9dd3eb356b2a850792f45
|
||||
DIST powershell-7.2.5-linux-arm32.tar.gz 66201903 BLAKE2B cdf6b2f53b0392fdc9a4f2761dc13406be7b87e6814e926bb7838c64d27edb92839bca41e3e1993cc3316eaac21d025b57ebdbdd55a88c209b9b84946c36fe7d SHA512 5eff39888d9c375ff891371b8fd2ef8c9a2ff5917504c1569733767d2def33aa047836a54f4f15f6260adf46a05f4e8ae912ba2e86029c4a34cd47bb5085d9b4
|
||||
DIST powershell-7.2.5-linux-arm64.tar.gz 64716033 BLAKE2B 06df8b25795f4df10c057acc8d001c46bcf4f5137e8d4a841216c172ffdb20d6ba3b31528f2f766a91ccbe1bc62f202ba78acef4a6af732a20035aac4a5ef9be SHA512 3ff38d1b109c0b9fdd8d20aa9ddd817424cf7883da7f4f16dcdb70c0f1260841ea6f61a3a675aabc471722920c8ba8f25a24885825cc7e29a9d5617876c070dd
|
||||
DIST powershell-7.2.5-linux-x64.tar.gz 69364625 BLAKE2B 71a91e9d8196cca8a903fdeac1c8b4a7f6ad9c21d649fc5aeaf1cf3033cde3141219513b2a9661d36280c95746cfc0b4c47b3fe3cecff4f9feaffe60043c0743 SHA512 96efbcf4f325338bc9aa4da7b955366cc49bae89a98d5ad53840386aefed59e929b62d91d5bdbbe57e4bf471cd31c57e1fa5b4cd42f60b797bb438c165cf432e
|
||||
EBUILD pwsh-bin-7.2.1-r1.ebuild 1227 BLAKE2B 29c0376487f8de5e230861642f6b28ed0e4ac8e5ef59bbfb47a7eae6a5a3802fd582fe9b4f51ce7222229ea06920bb7007505cfecd76dd7129b213e3cdd3ad7a SHA512 498d4f8c364f814f938634e4985b147b7e49474906aa79d21f69e61ad5e3e5ecdbdf595bed91be7610410a43bb1b742b407f913807f8b74ff55621d2f3a76685
|
||||
DIST powershell-7.2.6-linux-arm32.tar.gz 66272150 BLAKE2B 4a8f0f6595e23cfda9881c698be808714b4d543f963a932926f13a57c143b51ca9357befb1c151d86ea831ff17e54da6324fc1b11c0d1edf2b2c2ff4c086a8ad SHA512 a265d13a32050d9920e020fbd4cb2b183230a5a243b78773f6517fc2f82968009a8c559aae382b7b2d85ef0302d56bf46e01bebb1994c9495c2e5afc57330914
|
||||
DIST powershell-7.2.6-linux-arm64.tar.gz 64784215 BLAKE2B 2b792c1a4a2495e6cad0d0f545c55f89bcde933af3627f9f8ceb8d66f319ce7c4aca069167ebae79e12a2fe4e057ce970c64b0967684adecdbe6bae0de908dcb SHA512 5600f721503046bfabe0352bb406a3b528e7830e60286b25ab97a5c9729546a9ab4f1e2a5b33c4cde7b04ad713c9416fe55eb8b653f1f3bb87663a23d741ded4
|
||||
DIST powershell-7.2.6-linux-x64.tar.gz 69438809 BLAKE2B ae55f01e1fef540e0c0da317dfe00fb1dbcffd531697fdf8a95982499057d4c573aec45a8805aecc23152c09f735280ba6a546b819373e8259984e4aaf119c88 SHA512 b331f5a3d0457d8a212740e5034791d04275cce411ca88bd5ff59349f2a62147d20ecef30d6aeb7c399e870397ddfe4d68fe72f90c928ae66dbc00931072e782
|
||||
EBUILD pwsh-bin-7.2.4.ebuild 1227 BLAKE2B 29c0376487f8de5e230861642f6b28ed0e4ac8e5ef59bbfb47a7eae6a5a3802fd582fe9b4f51ce7222229ea06920bb7007505cfecd76dd7129b213e3cdd3ad7a SHA512 498d4f8c364f814f938634e4985b147b7e49474906aa79d21f69e61ad5e3e5ecdbdf595bed91be7610410a43bb1b742b407f913807f8b74ff55621d2f3a76685
|
||||
EBUILD pwsh-bin-7.2.5.ebuild 1227 BLAKE2B 29c0376487f8de5e230861642f6b28ed0e4ac8e5ef59bbfb47a7eae6a5a3802fd582fe9b4f51ce7222229ea06920bb7007505cfecd76dd7129b213e3cdd3ad7a SHA512 498d4f8c364f814f938634e4985b147b7e49474906aa79d21f69e61ad5e3e5ecdbdf595bed91be7610410a43bb1b742b407f913807f8b74ff55621d2f3a76685
|
||||
EBUILD pwsh-bin-7.2.6.ebuild 1227 BLAKE2B 29c0376487f8de5e230861642f6b28ed0e4ac8e5ef59bbfb47a7eae6a5a3802fd582fe9b4f51ce7222229ea06920bb7007505cfecd76dd7129b213e3cdd3ad7a SHA512 498d4f8c364f814f938634e4985b147b7e49474906aa79d21f69e61ad5e3e5ecdbdf595bed91be7610410a43bb1b742b407f913807f8b74ff55621d2f3a76685
|
||||
MISC metadata.xml 1063 BLAKE2B 8e530950e9fd2ef015c90c3aa0ac2d0f3601f9a8018c66654fb6cf50db24f7da81eea995d01da55ed86ab97801ce6e45d144eb74b35718d55aaf8fefd249fa47 SHA512 b103877bec5fedf20ade237226711dac26d8841fddc4aec8e475f29bd997c42518fb696a2ae8e93937ff708f86e5d47ea307b48598bf7402b3dd8f88f7b95d37
|
||||
|
Binary file not shown.
@ -1,8 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>bman@gentoo.org</email>
|
||||
<name>Aaron Bauman</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
Binary file not shown.
@ -0,0 +1,3 @@
|
||||
DIST edencommon-0_pre20220808.tar.gz 142458 BLAKE2B 0dd501069bc511973e89b21b9dbdce7eeb0e87e31ecd05e585fe83c515894691a02e5725de8c912c4bd0fb70f4172445070ef8fec205243e1df9c35a3ccaffe4 SHA512 63f60e1c406d834cf618e2747c21f928e43fe2a475a97152070aecb61b11b5e515bdfd1c9571a93a159d91fa185c9f89caebe8d41421a94e636e8ff43fd11a3a
|
||||
EBUILD edencommon-0_pre20220808.ebuild 1033 BLAKE2B 18d3f8ddc61c0cfac5375e32ba347789eec7eb6e0012315da9deb99ad4be1fc1584dba797df48ffe44ead71e002f677e07eeef0d5bcdd1d5823f8d62d922f0fe SHA512 e21ea8f377f23926fdc31c0948620cea73105c2012af4b797b05212e4b3468346fe9f44bbed84fbdbbdb7ad63835866ebb546d23aa4b60b5a9dbaa48d01938b8
|
||||
MISC metadata.xml 336 BLAKE2B d87d655ad085e53410760329202ce130e41d98fd35ca8c9e38c07665177a21d187c94a4570d3c18a409eeb89f00017edd50cd127adbbd35f99a0da1fd342f048 SHA512 894ed9ebd715743d2ce4591456a5776e1e215cf8845ffa0e16e6b6a25b316213b5547b0e3717050dc83518c9c2e100348c0804f25e599cb785415b8411def8ac
|
@ -0,0 +1,44 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# These must be bumped together:
|
||||
# dev-cpp/edencommon
|
||||
# dev-cpp/folly
|
||||
# dev-util/watchman
|
||||
|
||||
inherit cmake
|
||||
|
||||
# No proper tags yet (https://github.com/facebookexperimental/edencommon/issues/2)
|
||||
MY_COMMIT="d356bb7a9a28f09f00d72a81f7b60f8f27ce249c"
|
||||
DESCRIPTION="Shared library for Watchman and Eden projects"
|
||||
HOMEPAGE="https://github.com/facebookexperimental/edencommon"
|
||||
SRC_URI="https://github.com/facebookexperimental/edencommon/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/${PN}-${MY_COMMIT}
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="llvm-libunwind"
|
||||
|
||||
RDEPEND="
|
||||
dev-cpp/gflags:=
|
||||
dev-cpp/glog:=[gflags]
|
||||
dev-cpp/folly:=
|
||||
llvm-libunwind? ( sys-libs/llvm-libunwind:= )
|
||||
!llvm-libunwind? ( sys-libs/libunwind:= )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-cpp/gtest
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_INSTALL_DIR="$(get_libdir)/cmake/${PN}"
|
||||
-DLIB_INSTALL_DIR="$(get_libdir)"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>sam@gentoo.org</email>
|
||||
<name>Sam James</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">facebookexperimental/edencommon</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,8 +1,11 @@
|
||||
AUX folly-2022.07.04.00-musl-fix.patch 1150 BLAKE2B 6774badf3856fa94ae69dc4ca3fb3aca628dcf3b96fd7d141967815a9a07c07349f852a35275baba7b91d60e0c61dc3e1639cab4727666fa128d0334f36815a2 SHA512 15029e25b4da1f9cfe227978a54f63c198361df665b4657ef6a80ffdd3911c80be8e6c3799c8c16ff0fcca050932155628651a6e5ed566a41174dced9e51dc58
|
||||
AUX folly-2022.08.08.00-undefined-reference-fix.patch 1883 BLAKE2B 59e10c05c3a9d12e012127d4df3d939f9d407d8740e6d9161885e1350f86aa0dde1e2ba7e6598c7e665ddb1f37be876aabd24078ad9e4d35038a18940cecd0fb SHA512 4ad4728fcaa8c5768c8019ce84501fbfbea07980fc9056c4e6ad11346e4443dca85c4110a84d81ac9ce75f26e9295bd7a647507c8445f6b28940e9ac2da05697
|
||||
DIST folly-2022.03.28.00.tar.gz 3616507 BLAKE2B da003701abe599f20ac87a2785fe9a4cd4a8896d182737eb1eac6384f3d75a792225b426febea7cc4ea99aac1a1f31eb7330e0a297f43ae7d5aafccd93784560 SHA512 6eee07b3e82247c3c8672442503e9a69a1c4607604269fc0760e11a2d0e5595029e6995fbe7c970d2052a7f228f6b92112630e6d5c624369fc52e5ad1823ef74
|
||||
DIST folly-2022.04.11.00.tar.gz 3632587 BLAKE2B 13820f6dc600727fa97603181be97a568cc8b3c713659717592853827dac050d5f1f6d98178e3054871233b48ac18f713589bf43b36ea29445cad557ce13bacf SHA512 7aa0be95d6f8b21aaa88558cf5921c526ab5a8c8121b858eb6e7ea19946d7a82dff06d90b7a365cef5c56a43d8d57af8d01b8b11b27262fbed9ee8c9e701b5ac
|
||||
DIST folly-v2022.07.04.00.tar.gz 3647988 BLAKE2B ab8916ff4be1468d44dc0892126448682554ea95ce879166f457b621c3157cb22d0292fe2c58744494efe0fbabbf77732184335cd22244724c740910cf3a8303 SHA512 11fc32768539d8d42c7396eeac522238450617c8dde302b45c64bb93fd6ceaef7bb193b897802962782e8211c3931d31bf8df68e06741ce855d9725510677d7a
|
||||
DIST folly-v2022.08.08.00.tar.gz 3684846 BLAKE2B 462c183effea452ca706a7a14ebba820f377bc5ba6fd1475b15ca10e3c21df60a16b529b6599cf5dd5df2913b1fbd0432a3c411ab0aa400a9c84bb6aecd2f70f SHA512 f44dbf96f42a86d44cad46129750ae2bc0abb6702e148de10def4b241a3c7afa62ad19acca96609e8a9bfdfeeb7eda3f19d8eb161b5e41702c943ca87a75c88e
|
||||
EBUILD folly-2022.03.28.00-r1.ebuild 1486 BLAKE2B 629e5c21603de6a7e91532219f357f74df50194e21102c6f2d05e6d613bbecdd5fba2f2042bcbac0dada2066b82def374c671d9c7b263ba3f1f3d16178496dc9 SHA512 2841732188df3b1330ce730aade4a15272208fd16d658c15a29b908963dd8ec1349205cdec2eb218d9acf539043db011498375f248f580730495cee2484a0e96
|
||||
EBUILD folly-2022.04.11.00-r1.ebuild 1880 BLAKE2B 9bbab33cb481558b9f857eafb813901fa0a3ee9f977772f3d733a49b9e7c2656fb98ebd402f3f0d877e20c547f31e2ebdd1e9a3b234300e104858aec5e49d1a8 SHA512 aab53b44bee8c2a4bef0d5cc0dad9603f0a84b66db02dfa9062676e6bd97cb25fc6593dc2aa1881ab6cd3f5477f369717d0931e670447be3eec80e0161a5b98f
|
||||
EBUILD folly-2022.07.04.00.ebuild 2306 BLAKE2B 22c80cf66bdc690757b1463593491edd96810debd849bca0d8d125d6b004724c6305d3814a86322f7f86d2dc008a8267475e38ff829de5ac5dbc7286fdbe99ec SHA512 10c6535ba8e833d9bc6a580c9849d6d50c88e5b407cefaed48e292168bd6301db25447330f59f2e87fac596174cae965ad302bb3ad73ee3cbb7b65b3f3b9211a
|
||||
EBUILD folly-2022.08.08.00.ebuild 2487 BLAKE2B d0dfea130d133d449013991cc88f70b93dcabc7c61f66460b5bdf22b500e5c35efcce6bc1703e3630466412dc6bd99fcdefed78eb7df52d214f22d13c3c8d1f0 SHA512 ab5c3547680888f5aa48ad13825c15c4d47a77c5d25b994a39ecbb516d1b5949e5bd08c83927821582cf6e5eac734f2e664efe697ba397d0d4b806186b12dfc9
|
||||
MISC metadata.xml 319 BLAKE2B 0c8d18b906a50ee77fef7db1f99206b1c4d38dfa7913de363474609bcce38956be8d0958bc400c704ad743396db7230fb0098c83f1caa16ca998d6fd5576369c SHA512 8b077d5d5bf60f0ed5b36aef48188f431ca0675f80190beb407a58fa48fc6f8a48db161b8cde775ab6cfb54a01438fa5edddf0098e80a65b29a403a7f3a2c027
|
||||
|
@ -0,0 +1,62 @@
|
||||
https://github.com/facebook/folly/commit/10fc2e449038d9ffda5cd53999edb9875c4cb151
|
||||
|
||||
From 10fc2e449038d9ffda5cd53999edb9875c4cb151 Mon Sep 17 00:00:00 2001
|
||||
From: Simon Marlow <smarlow@fb.com>
|
||||
Date: Fri, 12 Aug 2022 08:26:40 -0700
|
||||
Subject: [PATCH] Fix bugs in Cmake setup
|
||||
|
||||
Summary:
|
||||
Please see https://github.com/facebook/folly/issues/1823 and
|
||||
https://github.com/facebook/folly/issues/1478
|
||||
|
||||
* CMAKE_LIBRARY_ARCHITECTURE is not always defined
|
||||
* This doesn't work: `set(IS_X86_64_ARCH NOT(IS_X86_64_ARCH STREQUAL "-1"))`
|
||||
* Two conditionals for `IS_X86_64_ARCH` were reversed
|
||||
|
||||
Reviewed By: bochko
|
||||
|
||||
Differential Revision: D38653631
|
||||
|
||||
fbshipit-source-id: c4b6f2820a2280356a7eb69bf0e9253434b5e750
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -27,8 +27,19 @@ if(POLICY CMP0075)
|
||||
cmake_policy(SET CMP0075 NEW)
|
||||
endif()
|
||||
|
||||
-string(FIND "${CMAKE_LIBRARY_ARCHITECTURE}" "x86_64" IS_X86_64_ARCH)
|
||||
-set(IS_X86_64_ARCH NOT(IS_X86_64_ARCH STREQUAL "-1"))
|
||||
+if("${CMAKE_LIBRARY_ARCHITECTURE}" STREQUAL "")
|
||||
+ # CMAKE_LIBRARY_ARCHITECTURE is not always set, so we have to assume
|
||||
+ # arch might be x86_64
|
||||
+ message(WARNING "CMAKE_LIBRARY_ARCHITECTURE not set, assuming x86_64")
|
||||
+ set(IS_X86_64_ARCH ON)
|
||||
+else()
|
||||
+ string(FIND "${CMAKE_LIBRARY_ARCHITECTURE}" "x86_64" IS_X86_64_ARCH)
|
||||
+ if(IS_X86_64_ARCH STREQUAL "-1")
|
||||
+ set(IS_X86_64_ARCH OFF)
|
||||
+ else()
|
||||
+ set(IS_X86_64_ARCH ON)
|
||||
+ endif()
|
||||
+endif()
|
||||
|
||||
# includes
|
||||
set(CMAKE_MODULE_PATH
|
||||
@@ -230,7 +241,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
endif()
|
||||
|
||||
# base64 SIMD files compilation
|
||||
-if (${IS_X86_64_ARCH})
|
||||
+if (NOT(${IS_X86_64_ARCH}))
|
||||
message(
|
||||
STATUS
|
||||
"arch ${CMAKE_LIBRARY_ARCHITECTURE} does not match x86_64, "
|
||||
@@ -256,7 +267,7 @@ else()
|
||||
endif()
|
||||
|
||||
if (${LIBSODIUM_FOUND})
|
||||
- if (${IS_X86_64_ARCH})
|
||||
+ if (NOT(${IS_X86_64_ARCH}))
|
||||
message(
|
||||
STATUS
|
||||
"arch ${CMAKE_LIBRARY_ARCHITECTURE} does not match x86_64, "
|
@ -0,0 +1,99 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# These must be bumped together:
|
||||
# dev-cpp/edencommon
|
||||
# dev-cpp/folly
|
||||
# dev-util/watchman
|
||||
|
||||
inherit cmake toolchain-funcs
|
||||
|
||||
DESCRIPTION="An open-source C++ library developed and used at Facebook"
|
||||
HOMEPAGE="https://github.com/facebook/folly"
|
||||
SRC_URI="https://github.com/facebook/folly/releases/download/v${PV}/${PN}-v${PV}.tar.gz"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="llvm-libunwind test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="app-arch/bzip2
|
||||
app-arch/lz4:=
|
||||
app-arch/snappy:=
|
||||
app-arch/xz-utils
|
||||
app-arch/zstd:=
|
||||
dev-cpp/gflags:=
|
||||
dev-cpp/glog:=[gflags]
|
||||
dev-libs/boost:=[context,threads(+)]
|
||||
dev-libs/double-conversion:=
|
||||
dev-libs/libaio
|
||||
dev-libs/libevent:=
|
||||
dev-libs/libfmt:=
|
||||
dev-libs/libsodium:=
|
||||
dev-libs/openssl:=
|
||||
sys-libs/liburing:=
|
||||
sys-libs/zlib
|
||||
llvm-libunwind? ( sys-libs/llvm-libunwind:= )
|
||||
!llvm-libunwind? ( sys-libs/libunwind:= )"
|
||||
# libiberty is linked statically
|
||||
DEPEND="${RDEPEND}
|
||||
sys-libs/binutils-libs
|
||||
test? ( dev-cpp/gtest )"
|
||||
BDEPEND="test? ( sys-devel/clang )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}"-2022.07.04.00-musl-fix.patch
|
||||
"${FILESDIR}/${PN}"-2022.08.08.00-undefined-reference-fix.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
[[ ${BUILD_TYPE} == "binary" ]] && return
|
||||
|
||||
if use test && ! tc-is-clang ; then
|
||||
# Always build w/ Clang for now to avoid gcc ICE
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106230
|
||||
#if [[ $(gcc-major-version) -eq 12 ]] ; then
|
||||
# return
|
||||
#fi
|
||||
|
||||
## Only older GCC 11 is broken
|
||||
#if [[ $(gcc-major-version) -eq 11 && $(gcc-minor-version) -ge 3 && $(gcc-micro-version) -ge 1 ]] ; then
|
||||
# return
|
||||
#fi
|
||||
|
||||
ewarn "Forcing build with Clang due to GCC bug (because tests are enabled)"
|
||||
#ewarn "(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104008)"
|
||||
|
||||
export CC=${CHOST}-clang
|
||||
export CXX=${CHOST}-clang++
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# TODO: liburing could in theory be optional but fails to link
|
||||
|
||||
local mycmakeargs=(
|
||||
-DLIB_INSTALL_DIR="$(get_libdir)"
|
||||
|
||||
-DBUILD_TESTS=$(usex test)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local myctestargs=(
|
||||
# - timeseries_histogram_test.TimeseriesHistogram.Percentile|HHWheelTimerTest
|
||||
# Long-standing known test failure
|
||||
# TODO: report upstream
|
||||
# - HHWheelTimerTest.HHWheelTimerTest.CancelTimeout
|
||||
# Timeouts are fragile
|
||||
-E "(timeseries_histogram_test.TimeseriesHistogram.Percentile|HHWheelTimerTest.HHWheelTimerTest.CancelTimeout)"
|
||||
)
|
||||
|
||||
cmake_src_test
|
||||
}
|
Binary file not shown.
@ -1,25 +1,25 @@
|
||||
DIST dotnet-sdk-3.1.420-linux-arm.tar.gz 128413188 BLAKE2B 011cc8b597472d7cce6c9061ccc9a0d60b0995f7d2ac419382ce40ecd576c5161ae4a4e08599855ab724335f7755d4c6f9cc87131921ecb6afd66b83235143e5 SHA512 d61cc1a5dc345d4c32bb06bcce1e50d603103294783460c811a87635eb14fc51c58869456f3326cfb689fdb7b379d2410f5db5bf63332aff173814035a319c28
|
||||
DIST dotnet-sdk-3.1.420-linux-arm64.tar.gz 123204275 BLAKE2B b7a3e20d14f4514737237aabe7f4e8ac237769e71f5c5d7278be3f046196f74dc17f3bf6245ab7d4e01173a6f09c728cab84a2a85f7ce45720892ff1cc077e33 SHA512 ac66b1544fe178153bb85c2e5be584464374ce4c036fc95720547c231c2730312018fbdfc735f9071579749415bc54e1f6b8f080cc2b08d5799a0da941e8a5f5
|
||||
DIST dotnet-sdk-3.1.420-linux-x64.tar.gz 123294740 BLAKE2B edee0ced3b30bc2055568c78c2421e0fa61295922326cc980b3bf7d632c9dbfa9f2b3db4bd99d9aae08bb729d8ac720a19c0ae42d5154ee23c3c5c373aa5e072 SHA512 b3bdd964182f9edc3c2976541e657fcc43b0eaf9bc97197597c7ecb8b784d79e3efb9e0405c84e1dcb434cf4cd38ddc4af628c5df486c3d7ae8a23e5254796e3
|
||||
DIST dotnet-sdk-3.1.421-linux-arm.tar.gz 128517951 BLAKE2B 0b272a532edabb1990b6a8efd378a7850a180522b1eb531c90bd57699e76ed8a5d6be089915437da9daa1030a4021a9a31ac2171c8185e86658f716f71549744 SHA512 412b30ee45554de69844e4297354680fdc5111c270b5e41af73db212117ee101878b87eb4592bda4c314ec0d7406ba8ab449d83466267f78198ce09fc32ef425
|
||||
DIST dotnet-sdk-3.1.421-linux-arm64.tar.gz 123360295 BLAKE2B 907bdf22e11679f27036093496c2b1c172e30438dd754f233e1973f2f3fa84f85960c2f2e16d1969fda496ffa3a7892a2e0f283e193529aa2645f60b1766b6ab SHA512 c584642469343c2c54fa02a7157009fa36bae9b304512db0a2b0069f71593ee2ba47070896212def0541460f37bf1b0a478b914e08a2c78b985cb2981e5ab6c6
|
||||
DIST dotnet-sdk-3.1.421-linux-x64.tar.gz 123221768 BLAKE2B 665daa6f3dafe072fc2290922c2523e7c1177b6710e1fb2aa0128d6cf318d6e3d621c3145a8f3d2655c68a6938457459887ce5bb2b76e9380623e651e5ebc319 SHA512 9f592db89ddfdfa3254d59c39f227109e0f87f156a8ab00595bcf332fdebd3e873fb9e07c875905aaa8ba5022e6e551e2d9516cfb855d04ec781313521595431
|
||||
DIST dotnet-sdk-3.1.422-linux-arm.tar.gz 128580438 BLAKE2B 8f334b67bf5a9059ed8e5556b82c8ab1c9d8d5f497ec94399dff51c963574141099d4438b8308a73dedcf80d8d1f1627d5853b130160282e0c8bf3d6d9446b9d SHA512 9cbccaf303f693657f797ae81eec2bd2ea55975b7ae71a8add04175a0104545208fa2f9c536b97d91fa48c6ea890678eb0772a448977bce4acbc97726ac47f83
|
||||
DIST dotnet-sdk-3.1.422-linux-arm64.tar.gz 123321453 BLAKE2B 56c2be5f1a788277d7d863343d00b3d60866bf2daee8a94d2754d407b798094ffafe7d82de619a4feb2ad7c681a8602eb0f8b4ed6a07835380219f4a5940c423 SHA512 3eb7e066568dfc0135f2b3229d0259db90e1920bb413f7e175c9583570146ad593b50ac39c77fb67dd3f460b4621137f277c3b66c44206767b1d28e27bf47deb
|
||||
DIST dotnet-sdk-3.1.422-linux-x64.tar.gz 123397283 BLAKE2B 13ba2cacb06c47449ee4329ea556e08b80d88027bbbf0601666f7d02e47fd322ac1b10f5442db830b33fc21eae154994a6a0b8f38263d3e6166113dbb6e13775 SHA512 690759982b12cce7a06ed22b9311ec3b375b8de8600bd647c0257c866d2f9c99d7c9add4a506f4c6c37ef01db85c0f7862d9ae3de0d11e9bec60958bd1b3b72c
|
||||
DIST dotnet-sdk-5.0.407-linux-arm.tar.gz 139346500 BLAKE2B 5bd4cdda68fd5668be488d2f75bf8ba79474985f8c1142af8c5209b0fc68ff39a4ab9a1916671ebaf6f783f0d9d193a454861474240642d77eb96e8102d7b535 SHA512 37db60df90f9f43a5399c1b7929c545e3815d7a91fdea82c96a136dcef993b0f8c67568759ae24321dee818fd1501cea8e541a159e10ed1a08fa96dddf2ffb9e
|
||||
DIST dotnet-sdk-5.0.407-linux-arm64.tar.gz 137430261 BLAKE2B 810f545a399d9f59dece514f9024730281d8cdda7f7d4e632e5b53490dfbf7e60595a720cba390608ad3b01ba6337706f7bf03570fa95e80469e8a9bcd6fb21f SHA512 500428a6a99d3825400be5cc1a723283f21a98c15ef68914e9252fc872b625fd10c220afd9787b7db6b226a04e83d30658234d464ccdf838639920d1768025e0
|
||||
DIST dotnet-sdk-5.0.407-linux-x64.tar.gz 142941732 BLAKE2B 6c049812539aec3ee48c653f9344a9b8aac356d862aa864da97692be37455c8390956c4fb4b93f432b518556c575ac25bef29ff31013b0ec391b8de80c8a59fa SHA512 b45f1bf086bfb5e0701c5e14534524ffc87d0195358ac4fa2cf36dac74537ca4c21c7177cfbfa7e121e77aa4106bb1e7039c9739ad73b942e2437bc5e39e6dce
|
||||
DIST dotnet-sdk-5.0.408-linux-arm.tar.gz 139493036 BLAKE2B 2be0533e1331f4d7759a322a2caabeddfc8f24d6b95e81acd670da1a5f856e267b442c9a160f5a0e0bd7d8ad743bdda60defca09b76c1a003b65f091a576fef8 SHA512 4f12b2c6cc242666450eb5f892430a956ff34b2ab30aa63ee444565327fbad569152506e153a550b4a45cad6d8346f37ca7bcca68e9d46540c7f170e24b26296
|
||||
DIST dotnet-sdk-5.0.408-linux-arm64.tar.gz 137471257 BLAKE2B 13229a50ce58305e8768a93f3ee9592b258dd21350ebf2601632d35a1d9efb138e9487742b542784dc736066b69c58a7f338d501b818f74fcc2bccbd2564693d SHA512 50f23d7aca91051d8b7c37f1a76b1eb51e6fe73e017d98558d757a6b9699e4237d401ce81515c1601b8c21eb62fee4e0b4f0bbed8967eefa3ceba75fc242f01b
|
||||
DIST dotnet-sdk-5.0.408-linux-x64.tar.gz 142954023 BLAKE2B 69d755cfa314a97026f1899e01a0112defc82f5b711ae1580502c6fb7b9770c5b6f46b4a28279c9ed429d869ceb753661cf0bad83cd9792c0e2a16aa39966b99 SHA512 abbf22c420df2d8398d1616efa3d31e1b8f96130697746c45ad68668676d12e65ec3b4dd75f28a5dc7607da58b6e369693c0e658def15ce2431303c28e99db55
|
||||
DIST dotnet-sdk-6.0.301-linux-arm.tar.gz 179000042 BLAKE2B 1956ca30eb149c71b6089090ea4c3ddb454113bdd6d78b7081cab9c07813fe08e93eb517c0eb94360c9435683fa7c7d65372985f06806673b949e8d3e762c948 SHA512 ef7d028b80eaaae18b71195e89e00dea2186d455f7b72f373fc0a57074e8320c8e9245167c06e30a2ddade4ab21ad5e8b05d04a6ea11c1de68b7c9a6f9807d25
|
||||
DIST dotnet-sdk-6.0.301-linux-arm64.tar.gz 176804289 BLAKE2B 6f2fe31458b24008a1f197f77652e5feadd76d37974de87d4913b6f23326db3f275843113959dd097a9083a71e7daf7e19a5d75f0a9d5e7d6cbf665c62dd8ce6 SHA512 978dd04f78ac3d6b594c47f1482bba0abe93f0b37379c1c46a2b9b33bdf5188576b055250546295de39bb22cba93ea9b31c31bb026a319ad1b3fc507db44481f
|
||||
DIST dotnet-sdk-6.0.301-linux-x64.tar.gz 182966798 BLAKE2B ffc4e68efa9c1fbd8fe665fd7e6ba848446b5f9b9e16f96ea334d6d3308e6de637a528d232f417067c8e585c4e3ec131c6c52a384ce913853cea180d8ab4745d SHA512 2f434ea4860ee637e9cf19991a80e1febb1105531dd96b4fbc728d538ca0ab202a0bdff128fd13b269fac3ba3bc9d5f9c49039a6e0d7d32751e8a2bb6d790446
|
||||
DIST dotnet-sdk-6.0.302-linux-arm.tar.gz 179253313 BLAKE2B faa9a1a7eafd261b4b7e47a3118cae1f5a47977d7b51d7eebb1c8ad1f42ebbe6c0baafe279f2df4b513c22b3450c80fcb338120edb660082bf9e0523ba3943f6 SHA512 0d31c7e8ccf02c8dea92d7b60bcb15e15912d74e7ee2ab8fd88ee03c4fbd8f292c356357d08ec23c2aedc5e3e0803d42ce16f3fff36245739d0cac6634bc3387
|
||||
DIST dotnet-sdk-6.0.302-linux-arm64.tar.gz 176713012 BLAKE2B 685a08373753cf5d4ff05d783429248a5411cffebc80e137cad690168c29dc981612aadac025ad8c076cd0ad6f8faf574ae25dc1fe7d3aad4c51b7da264532e8 SHA512 26e98a63665d707b1a7729f1794077316f9927edd88d12d82d0357fe597096b0d89b64a085fcdf0cf49807a443bbfebb48e10ea91cea890846cf4308e67c4ea5
|
||||
DIST dotnet-sdk-6.0.302-linux-x64.tar.gz 183170672 BLAKE2B b4760bc5487dd791c5e61a70693bbcdfc84d1f597dbb0c3f10b8389de761a96fbf92e1b3bcff814e240222045c4532fa19af738b4e8017988bf8d1e39e3a7ea4 SHA512 ac1d124802ca035aa00806312460b371af8e3a55d85383ddd8bb66f427c4fabae75b8be23c45888344e13b283a4f9c7df228447c06d796a57ffa5bb21992e6a4
|
||||
EBUILD dotnet-sdk-bin-3.1.420.ebuild 1551 BLAKE2B aacf0188f6177ef806df1d845bfb05c05b0e145b2c7f7e203bd067131d3efc352b49e5b823841d9c0c9a04abaad9ccda5f8db131485c2b5d76e5cbd7c6150653 SHA512 46b73df7a479d9cab52a570e1f9ba564680fb28ba3a76c0596cc3047218c7cb4215b190f221d1239ddb26de9a1fcffc629555df7702ec3d0fce6be90fd2d059f
|
||||
DIST dotnet-sdk-6.0.400-linux-arm.tar.gz 181255234 BLAKE2B af46ca19f09c690ff28ee02e273fae3113b6450028d4ff30798aaa796932f12f6082f919cfa116cf1e12f9a4674187e1da1a90d6646bf62212376e86cb1d5b69 SHA512 a72aa70bfb15e21a20ddd90c2c3e37acb53e6f1e50f5b6948aac616b28f80ac81e1157e8db5688e21dc9a7496011ef0fcf06cdca74ddc7271f9a1c6268f4b1b2
|
||||
DIST dotnet-sdk-6.0.400-linux-arm64.tar.gz 178978691 BLAKE2B a9a4d9acaca85766be37e9939170f16751e08085ca19dc5b892ce33abcbdde274a023de4326704c016709000aa1771fac8fc1de7dae52c727496ff0ef6444860 SHA512 a21010f9e0e091bf0a4df9dfc4ec9893c056c2b07b10be093ea392a4fa5c8a38bad9535f66e570b45dc25165b685199fb729434b845bcfb35f8b79cceb22c632
|
||||
DIST dotnet-sdk-6.0.400-linux-x64.tar.gz 185123905 BLAKE2B 84a4df49516cf9e1185b59ac840c54f27c3c1d5b6f3ab22db0756d24c72ea30842ceeca5e4ddc40ecd0efb4f84dbe794ba32568769459f9797e7006419276645 SHA512 8decbba0a6b09501daede52cbb5a9ae9e5f31ade201918c03efcd1b4cc345ec934f88321704ec3beb1f90f2204934be7259c76f66d9204cbdd15933582602763
|
||||
EBUILD dotnet-sdk-bin-3.1.421.ebuild 1551 BLAKE2B aacf0188f6177ef806df1d845bfb05c05b0e145b2c7f7e203bd067131d3efc352b49e5b823841d9c0c9a04abaad9ccda5f8db131485c2b5d76e5cbd7c6150653 SHA512 46b73df7a479d9cab52a570e1f9ba564680fb28ba3a76c0596cc3047218c7cb4215b190f221d1239ddb26de9a1fcffc629555df7702ec3d0fce6be90fd2d059f
|
||||
EBUILD dotnet-sdk-bin-3.1.422.ebuild 1551 BLAKE2B aacf0188f6177ef806df1d845bfb05c05b0e145b2c7f7e203bd067131d3efc352b49e5b823841d9c0c9a04abaad9ccda5f8db131485c2b5d76e5cbd7c6150653 SHA512 46b73df7a479d9cab52a570e1f9ba564680fb28ba3a76c0596cc3047218c7cb4215b190f221d1239ddb26de9a1fcffc629555df7702ec3d0fce6be90fd2d059f
|
||||
EBUILD dotnet-sdk-bin-5.0.407-r1.ebuild 1606 BLAKE2B b286c3701d2af8a80b9753c6e3697fb05cac0d1524ae486d191a589c0e1a6b933fcab8148a879421dfd25ac1863ebe9639d32e2e32eaa1b3d71855f6c3e4faee SHA512 5b8a95b17f554a291c6d0774f8249f0e5235f66732693643109261b1b97fe266701333743341ab560bedd69fd1ace46c9b2e0cd42d033bddeb84c9efcb758b5b
|
||||
EBUILD dotnet-sdk-bin-5.0.408.ebuild 1606 BLAKE2B b286c3701d2af8a80b9753c6e3697fb05cac0d1524ae486d191a589c0e1a6b933fcab8148a879421dfd25ac1863ebe9639d32e2e32eaa1b3d71855f6c3e4faee SHA512 5b8a95b17f554a291c6d0774f8249f0e5235f66732693643109261b1b97fe266701333743341ab560bedd69fd1ace46c9b2e0cd42d033bddeb84c9efcb758b5b
|
||||
EBUILD dotnet-sdk-bin-6.0.301-r1.ebuild 1902 BLAKE2B 19ceaa0eb67fa9410e4993b2cd904edd78a4fb10be5c33d3c0fb8ee403a62d0f69a7ce16ed07b59ecdf48cd9896a1e7e58b830f2c2cf7c6426dab10d7267a369 SHA512 18eb860435f01c0c9b8a2e96720fab9b7e69adf848c98502689cd837ba997df05d5440d94eeb47a4c81d362986ce1a742c5a1e7c3dc2194a5bdf02a176d41cf4
|
||||
EBUILD dotnet-sdk-bin-6.0.302-r1.ebuild 1902 BLAKE2B 19ceaa0eb67fa9410e4993b2cd904edd78a4fb10be5c33d3c0fb8ee403a62d0f69a7ce16ed07b59ecdf48cd9896a1e7e58b830f2c2cf7c6426dab10d7267a369 SHA512 18eb860435f01c0c9b8a2e96720fab9b7e69adf848c98502689cd837ba997df05d5440d94eeb47a4c81d362986ce1a742c5a1e7c3dc2194a5bdf02a176d41cf4
|
||||
EBUILD dotnet-sdk-bin-6.0.400.ebuild 1902 BLAKE2B 19ceaa0eb67fa9410e4993b2cd904edd78a4fb10be5c33d3c0fb8ee403a62d0f69a7ce16ed07b59ecdf48cd9896a1e7e58b830f2c2cf7c6426dab10d7267a369 SHA512 18eb860435f01c0c9b8a2e96720fab9b7e69adf848c98502689cd837ba997df05d5440d94eeb47a4c81d362986ce1a742c5a1e7c3dc2194a5bdf02a176d41cf4
|
||||
MISC metadata.xml 506 BLAKE2B 55557ab3b5268a5e2a2ec4ca0c0c0aabc0252fc46c73a6d17f07af3d48daa0a0943f4638d138bdf35d108d462dd0bec21571f354f8dc5e5e0d366ab83141ae6b SHA512 25bae232577cbcd584f68b76bb2764b874913e2bdb35f4b115ae7338b7d49c5e6ef9c049ddbbb97e609aea1bf18dfca1fca5941036da3a46d786f1f63c06e773
|
||||
|
Binary file not shown.
@ -0,0 +1,99 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
MY_A="apache-${P}-src"
|
||||
MY_P="${MY_A/-servlet-api/}"
|
||||
DESCRIPTION="Tomcat's Servlet API 3.1/JSP API 2.3/EL API 3.0 implementation"
|
||||
HOMEPAGE="https://tomcat.apache.org/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-8/v${PV}/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.8:*"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/"
|
||||
|
||||
JAVA_TEST_SRC_DIR="src/test"
|
||||
|
||||
SERVLET_API_JAR="servlet-api.jar"
|
||||
SERVLET_API_SRC="src/main/servlet-api"
|
||||
SERVLET_API_RESOURCES="src/resources/servlet-api"
|
||||
EL_API_JAR="el-api.jar"
|
||||
EL_API_SRC="src/main/el-api"
|
||||
EL_API_RESOURCES="src/resources/el-api"
|
||||
JSP_API_JAR="jsp-api.jar"
|
||||
JSP_API_SRC="src/main/jsp-api"
|
||||
JSP_API_RESOURCES="src/resources/jsp-api"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# The sources and also resources are mixed together so we first give it a structure to make it easier to compila and package
|
||||
|
||||
mkdir -p ${SERVLET_API_SRC} ${SERVLET_API_RESOURCES} \
|
||||
${EL_API_SRC} ${EL_API_RESOURCES} \
|
||||
${JSP_API_SRC}/javax/servlet ${JSP_API_RESOURCES} \
|
||||
${JAVA_TEST_SRC_DIR} || die "Failed to create source directory"
|
||||
|
||||
pushd java || die "Failed to cd to java dir"
|
||||
|
||||
cp --parents -R javax/servlet "${S}/${SERVLET_API_SRC}/" || die "Failed to copy servlet-api sources"
|
||||
mv "${S}/${SERVLET_API_SRC}/javax/servlet/jsp" "${S}/${JSP_API_SRC}/javax/servlet" || die "Failed to copy jsp-api sources"
|
||||
cp --parents -R javax/el "${S}/${EL_API_SRC}/" || die "Failed to copy el-api sources"
|
||||
|
||||
popd
|
||||
|
||||
for file in $(find src -type f | grep -vE "\.java$"); do
|
||||
target_dir=$(dirname $file | sed "s%src/main/%src/resources/%g")
|
||||
mkdir -p ${target_dir} || die "Failed to create resource directory"
|
||||
mv $file ${target_dir} || die "Failed to move resource file"
|
||||
done
|
||||
|
||||
mv test/javax ${JAVA_TEST_SRC_DIR} || die "Failed to copy test sources"
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
JAVA_SRC_DIR="${SERVLET_API_SRC}"
|
||||
JAVA_RESOURCE_DIRS="${SERVLET_API_RESOURCES}"
|
||||
JAVA_JAR_FILENAME="${SERVLET_API_JAR}"
|
||||
java-pkg-simple_src_compile
|
||||
rm -fr target || die "Failed to remove compiled files"
|
||||
|
||||
JAVA_SRC_DIR="${EL_API_SRC}"
|
||||
JAVA_RESOURCE_DIRS="${EL_API_RESOURCES}"
|
||||
JAVA_JAR_FILENAME="${EL_API_JAR}"
|
||||
java-pkg-simple_src_compile
|
||||
rm -fr target || die "Failed to remove compiled files"
|
||||
|
||||
JAVA_SRC_DIR="${JSP_API_SRC}"
|
||||
JAVA_RESOURCE_DIRS="${JSP_API_RESOURCES}"
|
||||
JAVA_JAR_FILENAME="${JSP_API_JAR}"
|
||||
JAVA_GENTOO_CLASSPATH_EXTRA="servlet-api.jar:el-api.jar"
|
||||
java-pkg-simple_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
JAVA_SRC_DIR="${SERVLET_API_SRC}"
|
||||
JAVA_JAR_FILENAME="${SERVLET_API_JAR}"
|
||||
java-pkg-simple_src_install
|
||||
|
||||
JAVA_SRC_DIR="${EL_API_SRC}"
|
||||
JAVA_JAR_FILENAME="${EL_API_JAR}"
|
||||
java-pkg-simple_src_install
|
||||
|
||||
JAVA_SRC_DIR="${JSP_API_SRC}"
|
||||
JAVA_JAR_FILENAME="${JSP_API_JAR}"
|
||||
java-pkg-simple_src_install
|
||||
}
|
Binary file not shown.
@ -1,9 +1,3 @@
|
||||
AUX libappindicator-12.10.0-conditional-py-bindings.patch 2019 BLAKE2B a57b1b2e3ac115ebc7395967f36b2f648abfba2abc32fb77505a77ddb63d3f7e99c0f5ceeeeabdbe541edc6db1f76fc23e28c0df81c0c4bea600d4a0f72b5f26 SHA512 69d86a3d1e930a0f0c79091dba9691610ecb0fcf13c672fc0ff511bb764b7f74f6c42cab558b6412863a8353fe9a8d72c40419db873fdc4716a93ba3bbbd0aea
|
||||
AUX libappindicator-12.10.0-lp1867996-fix-g-signal-emit.patch 2937 BLAKE2B f5782aba2d3ac8252c9deacfa4a416081927c0df03cc7cc9c0ff4f763da4a7a230f7a6a7a2a2fa8b742bf75dc32f161580d5ff64bbe938f0014c5898d2eb3caf SHA512 c048ebddc8a8609d8af83fd79ec426fa9e08b61d82e916f5d98c300173bf63ff0e1ded881248758904d3fd790e4a8e07257fbbb7e01d5a99dbead23c2d0fe8e5
|
||||
AUX libappindicator-12.10.0-lp1867996-fix-iterate-search-path.patch 483 BLAKE2B f81ffe5960196ebf683f9f52b5cba097843727086f4e836f7d27788e1cfbcb7d54196f19bf0035910aeb087b8896b54f7d91e318781fed05c74571a0a000d63a SHA512 a9ece0e95155a83a26fa070381edd3e46bf6c0346e5b5adbe6dde84e9a5792fb6d92b40dc98f7309f2776efcbeb0cd8ff7da1c0091f399b1e00eef809d930a3d
|
||||
AUX libappindicator-12.10.0-vala-inherit.patch 561 BLAKE2B 481ebe7b58af89df6a326b79a65f9ac7110c9d82a61efb993051d691d5cc728075bdd5ac904e9986cb0e41780d3e36e1637e5bd58532781934587b8c1bdf458e SHA512 b021bc0ec7fc1b311add7d6f8a9018fa6f5e807168055c95440e5f5d3d6d5b48375e11542b906058a0786194b1911c8bdcab9632573c1f128772ff6d54aa9173
|
||||
DIST libappindicator-12.10.0.tar.gz 535562 BLAKE2B a05dc839aaea9fb3fda118d16aac0eb5c35e6c5095a83eb5e8a2af4902bc1da14960fbd57d3cda5d4d5d874023549ce83657a515aa9ee16a54cadfa81062d993 SHA512 317a22a23c8ed84e74207b64b2e9683992d1fb7208176637a051dfe925974f966d1cfa31e650b45eaf839ab61641dee8fbebc8a07882a09b0dd766d88b8d5b9a
|
||||
DIST libappindicator_12.10.1+20.10.20200706.1.orig.tar.gz 75204 BLAKE2B ccc7909f25946413cf39275d8565afca253b3a2676272e4d3833f030a114e7be695fe958d2d99868a20d03a2b9c4a1fcd7fdfba07325b7a9f7f39879851e0366 SHA512 cc60875b1c4ab06348eece442a59a4057d7e13f25605435902242558e8dd5e66aeeee6725b9bd2662ef89052d3614dc4577ed8c233e9b84236a75e771aa67352
|
||||
EBUILD libappindicator-12.10.0-r301.ebuild 2120 BLAKE2B 1463512cb7bc35e86a3aaa486f85637aee8269931b2385d2a6006743be5f7055b16308137631c7f867d5b7b3c7986b94c5736ec2ad7aece1b3f8b8f0d90f67db SHA512 a7aa23d5998bbf8e8e8c8d278fa0ab6acd3ddfe3e4f9a5513f2cec1e14cc2cdee062d76990d248add697f5dc01dd178fc53e0f0a18d16d5623f0a07293f5171f
|
||||
EBUILD libappindicator-12.10.1_p20200706.ebuild 2248 BLAKE2B 70fe3bdcd5c6e1bebf699735117e6a281b2dc09df4cc69461ef5e7531dae59faa10d540eb23fd434369a99e6b5212c9eccb195633dbf7276afc253d028d5b214 SHA512 d9cbf1eafd15bb84b9123a0cbd7e0e4123b69ea2394fdd9a6fdf682eeb24ca4eb35afb03d2255380fed8ed949978bc2f4736706abb63c21f438a300e5756317f
|
||||
MISC metadata.xml 251 BLAKE2B 71830962e48cc35616817c1673c47891acadbeb1a79efa3b4c84d9e7057762d05d3577a5f46cc52fcc85d15ea8e2e5531a49fcef8c7080777f14cbaa8c40e10c SHA512 343a6329f93d5924cd8f3c055b83e5c8a97ead6c0991d6c9731e49617c4ca16b4261ebb5130a6da6dbec3e0d5a5dc016ea5f5f215f334d1792f8fd1c8335aae7
|
||||
|
@ -1,72 +0,0 @@
|
||||
--- a/bindings/Makefile.am 2015-07-10 10:04:18.091199191 +0200
|
||||
+++ b/bindings/Makefile.am 2015-07-10 10:19:47.047974439 +0200
|
||||
@@ -3,8 +3,10 @@
|
||||
vala
|
||||
else
|
||||
SUBDIRS = \
|
||||
- python \
|
||||
vala
|
||||
+if HAS_PYTHON
|
||||
+SUBDIRS += python
|
||||
+endif
|
||||
endif
|
||||
|
||||
if HAS_MONO
|
||||
--- a/configure.ac 2015-07-16 13:28:41.007502838 +0200
|
||||
+++ b/configure.ac_new 2015-07-16 13:53:18.118602877 +0200
|
||||
@@ -188,25 +188,37 @@
|
||||
PYGTK_REQUIRED=2.14.0
|
||||
PYGOBJECT_REQUIRED=0.22
|
||||
|
||||
-AM_PATH_PYTHON(2.3.5)
|
||||
-AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
|
||||
+AC_ARG_ENABLE([python],
|
||||
+ AC_HELP_STRING([--enable-python], [Enable python for GTK2 build]),,
|
||||
+ [enable_python=yes])
|
||||
|
||||
-PKG_CHECK_MODULES(APPINDICATOR_PYTHON,
|
||||
+if test x"$with_gtk" = x"3" ; then
|
||||
+ enable_python=no
|
||||
+fi
|
||||
+
|
||||
+AM_CONDITIONAL(HAS_PYTHON, test x"${enable_python}" != x"no")
|
||||
+
|
||||
+if test x"$enable_python" != x"no" ; then
|
||||
+ AM_PATH_PYTHON(2.3.5)
|
||||
+ AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
|
||||
+
|
||||
+ PKG_CHECK_MODULES(APPINDICATOR_PYTHON,
|
||||
[
|
||||
pygtk-2.0 >= $PYGTK_REQUIRED
|
||||
gtk+-2.0 >= $GTK_REQUIRED_VERSION
|
||||
pygobject-2.0 >= $PYGOBJECT_REQUIRED
|
||||
])
|
||||
|
||||
-AC_MSG_CHECKING(for pygtk defs)
|
||||
-PYGTK_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0`
|
||||
-AC_SUBST(PYGTK_DEFSDIR)
|
||||
-AC_MSG_RESULT($PYGTK_DEFSDIR)
|
||||
-
|
||||
-AC_MSG_CHECKING(for pygtk codegen)
|
||||
-PYGTK_CODEGEN="$PYTHON `$PKG_CONFIG --variable=codegendir pygtk-2.0`/codegen.py"
|
||||
-AC_SUBST(PYGTK_CODEGEN)
|
||||
-AC_MSG_RESULT($PYGTK_CODEGEN)
|
||||
+ AC_MSG_CHECKING(for pygtk defs)
|
||||
+ PYGTK_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0`
|
||||
+ AC_SUBST(PYGTK_DEFSDIR)
|
||||
+ AC_MSG_RESULT($PYGTK_DEFSDIR)
|
||||
+
|
||||
+ AC_MSG_CHECKING(for pygtk codegen)
|
||||
+ PYGTK_CODEGEN="$PYTHON `$PKG_CONFIG --variable=codegendir pygtk-2.0`/codegen.py"
|
||||
+ AC_SUBST(PYGTK_CODEGEN)
|
||||
+ AC_MSG_RESULT($PYGTK_CODEGEN)
|
||||
+fi
|
||||
|
||||
#########################
|
||||
# Check if build tests
|
||||
@@ -278,4 +290,5 @@
|
||||
Tests: $enable_tests
|
||||
Mono tests: $have_nunit
|
||||
gcov: $use_gcov
|
||||
+ Python: $enable_python
|
||||
])
|
@ -1,74 +0,0 @@
|
||||
--- a/src/app-indicator.c 2012-07-11 13:28:34.415113869 -0400
|
||||
+++ b/src/app-indicator.c 2020-03-19 12:14:47.813191652 -0400
|
||||
@@ -443,7 +443,7 @@
|
||||
G_STRUCT_OFFSET (AppIndicatorClass, new_icon),
|
||||
NULL, NULL,
|
||||
g_cclosure_marshal_VOID__VOID,
|
||||
- G_TYPE_NONE, 0, G_TYPE_NONE);
|
||||
+ G_TYPE_NONE, 0);
|
||||
|
||||
/**
|
||||
* AppIndicator::new-attention-icon:
|
||||
@@ -457,7 +457,7 @@
|
||||
G_STRUCT_OFFSET (AppIndicatorClass, new_attention_icon),
|
||||
NULL, NULL,
|
||||
g_cclosure_marshal_VOID__VOID,
|
||||
- G_TYPE_NONE, 0, G_TYPE_NONE);
|
||||
+ G_TYPE_NONE, 0);
|
||||
|
||||
/**
|
||||
* AppIndicator::new-status:
|
||||
@@ -505,7 +505,7 @@
|
||||
G_STRUCT_OFFSET (AppIndicatorClass, connection_changed),
|
||||
NULL, NULL,
|
||||
g_cclosure_marshal_VOID__BOOLEAN,
|
||||
- G_TYPE_NONE, 1, G_TYPE_BOOLEAN, G_TYPE_NONE);
|
||||
+ G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
|
||||
|
||||
/**
|
||||
* AppIndicator::new-icon-theme-path:
|
||||
@@ -1175,7 +1175,7 @@
|
||||
gchar * guide = priv->label_guide != NULL ? priv->label_guide : "";
|
||||
|
||||
g_signal_emit(G_OBJECT(self), signals[NEW_LABEL], 0,
|
||||
- label, guide, TRUE);
|
||||
+ label, guide);
|
||||
if (priv->dbus_registration != 0 && priv->connection != NULL) {
|
||||
GError * error = NULL;
|
||||
|
||||
@@ -1490,7 +1490,7 @@
|
||||
static void
|
||||
theme_changed_cb (GtkIconTheme * theme, gpointer user_data)
|
||||
{
|
||||
- g_signal_emit (user_data, signals[NEW_ICON], 0, TRUE);
|
||||
+ g_signal_emit (user_data, signals[NEW_ICON], 0);
|
||||
|
||||
AppIndicator * self = (AppIndicator *)user_data;
|
||||
AppIndicatorPrivate *priv = self->priv;
|
||||
@@ -1904,7 +1904,7 @@
|
||||
}
|
||||
|
||||
if (changed) {
|
||||
- g_signal_emit (self, signals[NEW_ATTENTION_ICON], 0, TRUE);
|
||||
+ g_signal_emit (self, signals[NEW_ATTENTION_ICON], 0);
|
||||
|
||||
if (self->priv->dbus_registration != 0 && self->priv->connection != NULL) {
|
||||
GError * error = NULL;
|
||||
@@ -1982,7 +1982,7 @@
|
||||
}
|
||||
|
||||
if (changed) {
|
||||
- g_signal_emit (self, signals[NEW_ICON], 0, TRUE);
|
||||
+ g_signal_emit (self, signals[NEW_ICON], 0);
|
||||
|
||||
if (self->priv->dbus_registration != 0 && self->priv->connection != NULL) {
|
||||
GError * error = NULL;
|
||||
@@ -2048,7 +2048,7 @@
|
||||
|
||||
self->priv->icon_theme_path = g_strdup(icon_theme_path);
|
||||
|
||||
- g_signal_emit (self, signals[NEW_ICON_THEME_PATH], 0, self->priv->icon_theme_path, TRUE);
|
||||
+ g_signal_emit (self, signals[NEW_ICON_THEME_PATH], 0, self->priv->icon_theme_path);
|
||||
|
||||
if (self->priv->dbus_registration != 0 && self->priv->connection != NULL) {
|
||||
GError * error = NULL;
|
@ -1,11 +0,0 @@
|
||||
--- a/src/app-indicator.c 2020-10-31 03:31:51.966830232 -0700
|
||||
+++ b/src/app-indicator.c 2020-10-31 03:36:04.252822972 -0700
|
||||
@@ -1606,7 +1606,7 @@ status_icon_changes (AppIndicator * self
|
||||
gint n_elements, i;
|
||||
gboolean found=FALSE;
|
||||
gtk_icon_theme_get_search_path(icon_theme, &path, &n_elements);
|
||||
- for (i=0; i< n_elements || path[i] == NULL; i++) {
|
||||
+ for (i=0; i< n_elements; i++) {
|
||||
if(g_strcmp0(path[i], self->priv->icon_theme_path) == 0) {
|
||||
found=TRUE;
|
||||
break;
|
@ -1,14 +0,0 @@
|
||||
# http://bazaar.launchpad.net/~indicator-applet-developers/libappindicator/trunk.12.10/revision/244
|
||||
=== modified file 'bindings/vala/appindicator-0.1-custom.vala'
|
||||
--- a/bindings/vala/appindicator-0.1-custom.vala 2011-09-23 15:46:27 +0000
|
||||
+++ b/bindings/vala/appindicator-0.1-custom.vala 2012-10-10 23:33:35 +0000
|
||||
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
namespace AppIndicator {
|
||||
- [CCode (type_check_function = "IS_APP_INDICATOR")]
|
||||
+ [CCode (type_check_function = "IS_APP_INDICATOR", type_id = "app_indicator_get_type ()")]
|
||||
public class Indicator : GLib.Object {
|
||||
}
|
||||
}
|
||||
|
@ -1,76 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
|
||||
inherit autotools multilib-minimal vala xdg-utils
|
||||
|
||||
DESCRIPTION="A library to allow applications to export a menu into the Unity Menu bar"
|
||||
HOMEPAGE="https://launchpad.net/libappindicator"
|
||||
SRC_URI="https://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1 LGPL-3"
|
||||
SLOT="3"
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc64 x86"
|
||||
IUSE="+introspection"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/dbus-glib-0.98[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/glib-2.26:2[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libdbusmenu-0.6.2[gtk3,${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libindicator-12.10.0:3[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/gtk+-3.2:3[${MULTILIB_USEDEP},introspection?]
|
||||
introspection? ( >=dev-libs/gobject-introspection-1:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
introspection? ( $(vala_depend) )
|
||||
dev-util/gtk-doc-am
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-conditional-py-bindings.patch
|
||||
# http://bazaar.launchpad.net/~indicator-applet-developers/libappindicator/trunk.12.10/revision/244
|
||||
"${FILESDIR}"/${P}-vala-inherit.patch
|
||||
# https://bugs.launchpad.net/archlinux/+source/libappindicator/+bug/1867996
|
||||
"${FILESDIR}"/${P}-lp1867996-fix-g-signal-emit.patch
|
||||
"${FILESDIR}"/${P}-lp1867996-fix-iterate-search-path.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
xdg_environment_reset
|
||||
export MAKEOPTS+=" -j1" #638782
|
||||
|
||||
# Don't use -Werror
|
||||
sed -i -e 's/ -Werror//' {src,tests}/Makefile.{am,in} || die
|
||||
|
||||
eautoreconf
|
||||
|
||||
# Disable MONO for now because of https://bugs.gentoo.org/382491
|
||||
sed -i -e '/^MONO_REQUIRED_VERSION/s:=.*:=9999:' configure || die
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
if multilib_is_native_abi; then
|
||||
local -x VALAC VALA_API_GEN VAPIGEN_VAPIDIR PKG_CONFIG_PATH
|
||||
use introspection && vala_src_prepare && export VALA_API_GEN="${VAPIGEN}"
|
||||
fi
|
||||
|
||||
ECONF_SOURCE="${S}" \
|
||||
econf \
|
||||
--disable-static \
|
||||
--with-gtk=3 \
|
||||
$(multilib_native_use_enable introspection)
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST libpfm-4.11.0.tar.gz 1043686 BLAKE2B 99b4f1a5156316139603cf50cf42c13c548a0b196435bfc92bc26ebd3f8d7ec9584255978d4f3fbff45cddc937269961e9d2b65d065632ae635e9ca45c179a54 SHA512 633035b8a7b35973437572095cdc80d422b2a1a61e74e14f106db95fa8e44e4518e591699cc457f828b8f2fb63f60eef6d0c7535c6b4c9a6c3a70d4550b3c3c7
|
||||
EBUILD libpfm-4.11.0.ebuild 961 BLAKE2B be56f2ce4db1869fb5aeb053c0f17f9fb73305cc387e92d1fcf9f4644b99233f6662b43acedf8e2af6d8f849e8217e0efecf95408cab3209236bd18d76407e37 SHA512 e40d0f9874fbac52a7ee72d5e73544b4027ae466a16a7fd5a9aa4a05296f4c11d4953bc82ebd1ad4d752065601752e0189bf5f8e0f7ccc797b480cb4e3330c51
|
||||
EBUILD libpfm-4.11.0.ebuild 968 BLAKE2B d4df07416b1416c1aacc7aebc73ef17a623abcc4933f347c066a831e8daa89717793ce894b0c916b32109d5995c1fe8d20f45684249529ed7fb2273e29e4d31a SHA512 019c7684714adc351364a26fdf0d44b2122d74495f53cd265ab6cb2481ab18b160c06ab5b8b9a985fcfaff184e2925d16593f464fe2fc7cf61744b2a7da6fa34
|
||||
MISC metadata.xml 246 BLAKE2B 08a76e53ab8da2beee24c0920d47104aefd113853da0d9295967f0db8800717ea4486bddfb9ea1dd83039bb8f8deaf99edb834e2ed2bfe0207282130c7878a90 SHA512 7123d176941aa889b85a3fb204987908d69d05cfe577678b8e8bb0a4512b6a274dfb7e0ad1d2f5d93078512b78f89227712fdd3262fed332caafcaa40ffbc735
|
||||
|
@ -1,4 +1,4 @@
|
||||
AUX light-1.2.2-fcommon.patch 483 BLAKE2B 466c16e726297c4b32d4c3276465d7f8f8dfd74e2a646446a6bb3a8c1168c0d81ed0c7076882660623c93f471b21ba4144144ead4fda286aaad19187030ec9c2 SHA512 e2b1662d20d9ee04b7fec20fbbadc4be1383edc7af661500dde2d11a76afe0e0eb334b4f5a1a6a6e83309478af1216e52a782a93e0b51f0afce3aae59b8c1dd5
|
||||
DIST light-1.2.2.tar.gz 33009 BLAKE2B 6e23d7f89c1dbf412943f2b60a09f9189c5420649397a286fa964d249adb57cafb2943ef610dd13470e486d9dfb51ca40289d9974760e907f794baa27963821d SHA512 5815394fb1545d1e06234c261d475e1836e4c43e47e7707b8628891d20b70db04f1661b78ca1d236d549c734430b606498fa46de060c854791b13cf49de07b59
|
||||
EBUILD light-1.2.2-r2.ebuild 844 BLAKE2B 9424409e25be4778b0f137613b1fad011c86b23051da16333b49fb935a5b0c69b7f4db3c54ee4cb8ebc0273e35a5230cfde959eb84165803b872fa57c8a26639 SHA512 02313f7293dfa68b24c8f65d2c10746d461290c453d3fd9cbe60ac340308c891b4a84eb0c7adfd3bf530480814e505622ee4d17f662cae351e76f24600b63ee1
|
||||
MISC metadata.xml 356 BLAKE2B 4c96a751e0f552cce4d2da1cc166fde57a78b9b24d8e9be1c6903bb626b99ee7c68f6bebf6dab7634ae5c700cb3ab620e87378991623eaa2ef8685e1f9b5ccbf SHA512 d85bd40f88876c2850c8b8c543f135335b3c0e1e98998b9316429edb1d6a046678bce462353739f6d5fb9788914e8ccffacac413ba5ae2834360ad2e0c4c3c6d
|
||||
MISC metadata.xml 265 BLAKE2B ef8bb5da46fde9d50277a56dd09f5e67b78741fcca1496b0a76b99ccf8791d3634883cb6ce0bf61d85bc12d46d3b8dd95c471434e164e4a44531e89ccc6ebbe7 SHA512 92afd7f60b4963ace7e4f6448a9ba0a9362f2b4dc191e543468b20d9cfb28554c0daacbbd905434ec1ab5c080ebb1cc3985c9e76e8f0f28503e69318163eb499
|
||||
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST QtPy-2.1.0.tar.gz 46470 BLAKE2B 2e032d141ad134444143cd59b8952957b226d9519925083aecce82adf62eebd3f58803cf548c4142fb1ece6f0e2340043a82a7aef056f6e4a9ac8b9caf72d80d SHA512 052cab4218d23d46162d11bf038dccfe6200b05c1c8647bd1f9dcbdaa7af50c23d4ae85829e065c7bae57630d149d562d76cc78202b4f448cbf6547010c746ff
|
||||
EBUILD QtPy-2.1.0-r3.ebuild 5006 BLAKE2B d3b4364cdf95e28dc89634ffa13591bea56ebda184a81e310c41b4a85824f0cc5c5c2c364fc2d9a3a1c621ef9df07102386f17a2fc5f756b28f25b8976bf1812 SHA512 c51f0f703eef82ba2699dac7083842274c1b64b58ca777b881d6378b694457c286b92b05fe0bde4f4c0d87d76773fb0ed51a8fa9d8584f67adee541a077f4066
|
||||
MISC metadata.xml 2904 BLAKE2B f951ee9cfb1e57da9c1b528015cf56bf72e36fbcea6973f5bd237e86c8039d82d9700166ab76773b9bfbc8e499df492994e5dd73aee0bb2d35914d36bcf1bd78 SHA512 e6e13d0c24f16379ac03711f02c5201d1ab28bcbbddd7063f0487bbaaeda99e5a2ef87f00d8df834d822c9230a50ddead93b44affccf07b80bfc275140f4e9ff
|
||||
DIST QtPy-2.2.0.tar.gz 51573 BLAKE2B 5db2be83c74fa241cbec6818fbf5b5a8ecf681fdb2813cd51b011342eb8f0f2463c0a9f251e791f6051fa3276ad1e502f7e51bf0dcd2d3192bd76d0119dc8b16 SHA512 b0e7696c7861942c16749dc5f5ccbfd038f7fc2b1defbf372885223c4100805cada9bbb2f5bdae1f1c642b52d480d6e0048e221d9efd3f3103da54e6e2bfd0ff
|
||||
EBUILD QtPy-2.1.0-r4.ebuild 5251 BLAKE2B fbbb485a5703c749cb2b8f54618120c816cea37965400161c725eb4257ae152d6cade5105d81eea9c82cf978e1f84f7780c2df60ad8026fc66dfc1e6004fbabb SHA512 3ac53baabe109d68d2b42ce1574de34046239c1cff8abe5ae1b724a55b26a626bdae094c028adc485893a5c07a9144a0f8d7ec65836d474d4807716281e911ad
|
||||
EBUILD QtPy-2.2.0.ebuild 8475 BLAKE2B e96e210dc644339e1a87ad446acf813670a9c2d5b9a3663db764aa2faa42216d49352296f5ceabf20fb14a9f0da1402e705775ca32b7a820a4c3a56d7cb48550 SHA512 4885d81dcaaf6ca977edfd009d3479ef9bb6b3b2206df695df3771fb532abc90ac8b16f5f2e6839e970905c5b233cf19cb487f56da0b89032c4c584a8c6415c2
|
||||
MISC metadata.xml 3206 BLAKE2B c5f30891361513c0f1242052e119558179485057e38bf41355c1bfff2de038054df314ea5a8c63616541c0c0f5b2f3835d74771cbc764047c8a5149529fa3598 SHA512 0eb58b11a04a1d55bf6496df37d05a1252a67ddf9ddeefba6642959f8c7ec243a32b587de9fc9507d56ac6eada5a5a5fd4e40b256ede0b0b02063151a4e386ea
|
||||
|
@ -0,0 +1,215 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1 virtualx
|
||||
|
||||
DESCRIPTION="Abstraction layer on top of PyQt5 and PySide2 and additional custom QWidgets"
|
||||
HOMEPAGE="
|
||||
https://github.com/spyder-ide/qtpy/
|
||||
https://pypi.org/project/QtPy/
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
_IUSE_QT_MODULES="
|
||||
designer +gui help multimedia +network opengl positioning
|
||||
printsupport qml quick serialport +sql svg testlib
|
||||
webchannel webengine websockets +widgets +xml
|
||||
"
|
||||
IUSE="+pyqt5 pyqt6 pyside2 pyside6 ${_IUSE_QT_MODULES}"
|
||||
unset _IUSE_QT_MODULES
|
||||
|
||||
# PySide6 is not yet ready for python3_11
|
||||
REQUIRED_USE="
|
||||
|| ( pyqt5 pyqt6 pyside2 pyside6 )
|
||||
pyside6? ( !python_targets_python3_11 )
|
||||
"
|
||||
|
||||
# These flags are currently *not* common to the PySide2/6 and PyQt5/6 ebuilds
|
||||
# Disable them for now, please check periodically if this is still up to date.
|
||||
# bluetooth? ( pyqt5 only )
|
||||
# dbus? ( pyqt5 only )
|
||||
#
|
||||
# 3d? ( pyside2 only )
|
||||
# charts? ( pyside2 only )
|
||||
# concurrent? ( pyside2 only )
|
||||
# datavis? ( pyside2 only )
|
||||
# scxml? ( pyside2 only )
|
||||
# script? ( pyside2 only )
|
||||
# scripttools? ( pyside2 only )
|
||||
#
|
||||
# location? ( pyside2 and pyqt5 only )
|
||||
# sensors? ( pyside2 and pyqt5 only )
|
||||
# speech? ( pyside2 and pyqt5 only )
|
||||
# x11extras? ( pyside2 and pyqt5 only )
|
||||
# xmlpatterns? ( pyside2 and pyqt5 only )
|
||||
|
||||
# WARNING: the obvious solution of using || for PyQt5/pyside2 is not going
|
||||
# to work. The package only checks whether PyQt5/pyside2 is installed, it does
|
||||
# not verify whether they have the necessary modules (i.e. satisfy the USE dep).
|
||||
#
|
||||
# Webengine is a special case, because PyQt5 provides this in a separate package
|
||||
# while PySide2 ships it in the same package.
|
||||
#
|
||||
# declarative/qml/quick is a special case, because PyQt5 bundles the bindings
|
||||
# for qml and quick in one flag: declarative PySide2 does not.
|
||||
#
|
||||
# The PyQt5 ebuild currently enables xml support unconditionally, the flag is
|
||||
# added anyway with a (+) to make it future proof if the ebuild were to change
|
||||
# this behaviour in the future.
|
||||
#
|
||||
# The PySide2 ebuild currently enables opengl and serialport support
|
||||
# unconditionally, the flag is added anyway with a (+) to make it future proof
|
||||
# if the ebuild were to change this behaviour in the future.
|
||||
RDEPEND="
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
pyqt5? (
|
||||
dev-python/PyQt5[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt5[designer?,gui?,help?,multimedia?,network?,opengl?]
|
||||
dev-python/PyQt5[positioning?,printsupport?,serialport?,sql?,svg?]
|
||||
dev-python/PyQt5[testlib?,webchannel?,websockets?,widgets?,xml(+)?]
|
||||
qml? ( dev-python/PyQt5[declarative] )
|
||||
quick? ( dev-python/PyQt5[declarative] )
|
||||
webengine? ( dev-python/PyQtWebEngine[${PYTHON_USEDEP}] )
|
||||
)
|
||||
pyqt6? (
|
||||
dev-python/PyQt6[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt6[designer?,gui?,help?,multimedia?,network?,opengl?]
|
||||
dev-python/PyQt6[positioning?,printsupport?,qml?,quick?,serialport?,sql?]
|
||||
dev-python/PyQt6[svg?,testlib?,webchannel?,websockets?,widgets?,xml?]
|
||||
webengine? ( dev-python/PyQt6-WebEngine[${PYTHON_USEDEP},widgets?,quick?] )
|
||||
|
||||
)
|
||||
pyside2? (
|
||||
dev-python/pyside2[${PYTHON_USEDEP}]
|
||||
dev-python/pyside2[designer?,gui?,help?,multimedia?,network?,opengl(+)?]
|
||||
dev-python/pyside2[positioning?,printsupport?,qml?,quick?,serialport(+)?]
|
||||
dev-python/pyside2[sql?,svg?,testlib?,webchannel?,webengine?,websockets?]
|
||||
dev-python/pyside2[widgets?,xml?]
|
||||
)
|
||||
!python_targets_python3_11? (
|
||||
pyside6? (
|
||||
dev-python/pyside6[${PYTHON_USEDEP}]
|
||||
dev-python/pyside6[designer?,gui?,help?,multimedia?,network?,opengl?]
|
||||
dev-python/pyside6[positioning?,printsupport?,qml?,quick?,serialport?]
|
||||
dev-python/pyside6[sql?,svg?,testlib?,webchannel?,webengine?,websockets?]
|
||||
dev-python/pyside6[widgets?,xml?]
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
# The QtPy testsuite skips tests for bindings that are not installed, so here we
|
||||
# ensure that everything is available and all tests are run. Note that not
|
||||
# all flags are available in PyQt5/PySide2, so some tests are still skipped.
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
pyqt5? (
|
||||
dev-python/PyQt5[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt5[bluetooth,dbus,declarative,designer,gui,help,location]
|
||||
dev-python/PyQt5[multimedia,network,opengl,positioning,printsupport]
|
||||
dev-python/PyQt5[sensors,serialport,speech(-),sql,svg,testlib,webchannel]
|
||||
dev-python/PyQt5[websockets,widgets,x11extras,xml(+),xmlpatterns]
|
||||
dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
|
||||
)
|
||||
pyqt6? (
|
||||
dev-python/PyQt6[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt6[dbus,designer,gui,help,multimedia,network,opengl]
|
||||
dev-python/PyQt6[positioning,printsupport,qml,quick,quick3d,serialport]
|
||||
dev-python/PyQt6[sql,ssl,svg,testlib,webchannel,websockets,widgets,xml]
|
||||
dev-python/PyQt6-WebEngine[${PYTHON_USEDEP},widgets,quick]
|
||||
)
|
||||
pyside2? (
|
||||
dev-python/pyside2[${PYTHON_USEDEP}]
|
||||
dev-python/pyside2[3d,charts,concurrent,datavis,designer,gui,help]
|
||||
dev-python/pyside2[location,multimedia,network,opengl(+),positioning]
|
||||
dev-python/pyside2[printsupport,qml,quick,script,scripttools,scxml]
|
||||
dev-python/pyside2[sensors,serialport(+),speech,sql,svg,testlib]
|
||||
dev-python/pyside2[webchannel,webengine,websockets,widgets,x11extras]
|
||||
dev-python/pyside2[xml,xmlpatterns]
|
||||
)
|
||||
!python_targets_python3_11? (
|
||||
pyside6? (
|
||||
dev-python/pyside6[${PYTHON_USEDEP}]
|
||||
dev-python/pyside6[concurrent,dbus,designer,gui,help,multimedia]
|
||||
dev-python/pyside6[network,opengl,positioning,printsupport,qml]
|
||||
dev-python/pyside6[quick,quick3d,serialport,sql,svg,testlib]
|
||||
dev-python/pyside6[webchannel,webengine,websockets,widgets,xml]
|
||||
)
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
sed -i -e 's:--cov=qtpy --cov-report=term-missing::' pytest.ini || die
|
||||
# Disable Qt for Python implementations that are not selected
|
||||
if ! use pyqt5; then
|
||||
sed -i -e "s/from PyQt5.QtCore import/raise ImportError #/" qtpy/__init__.py || die
|
||||
fi
|
||||
if ! use pyqt6; then
|
||||
sed -i -e "s/from PyQt6.QtCore import/raise ImportError #/" qtpy/__init__.py || die
|
||||
fi
|
||||
if ! use pyside2; then
|
||||
sed -i -e "s/from PySide2 import/raise ImportError #/" qtpy/__init__.py || die
|
||||
sed -i -e "s/from PySide2.QtCore import/raise ImportError #/" qtpy/__init__.py || die
|
||||
fi
|
||||
if ! use pyside6; then
|
||||
sed -i -e "s/from PySide6 import/raise ImportError #/" qtpy/__init__.py || die
|
||||
sed -i -e "s/from PySide6.QtCore import/raise ImportError #/" qtpy/__init__.py || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Test for each enabled Qt4Python target.
|
||||
# Deselect the other targets, their test fails if we specify QT_API
|
||||
# or if we have disabled their corresponding inherit in __init__.py above
|
||||
if use pyqt5; then
|
||||
einfo "Testing with ${EPYTHON} and QT_API=PyQt5"
|
||||
QT_API="pyqt5" virtx epytest \
|
||||
--deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide2] \
|
||||
--deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt6] \
|
||||
--deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide6]
|
||||
fi
|
||||
if use pyqt6; then
|
||||
einfo "Testing with ${EPYTHON} and QT_API=PyQt6"
|
||||
QT_API="pyqt6" virtx epytest \
|
||||
--deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide2] \
|
||||
--deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt5] \
|
||||
--deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide6] \
|
||||
--deselect qtpy/tests/test_qtsensors.py::test_qtsensors
|
||||
# Qt6Sensors not yet packaged and enabled in PyQt6 ebuild
|
||||
fi
|
||||
if use pyside2; then
|
||||
einfo "Testing with ${EPYTHON} and QT_API=PySide2"
|
||||
QT_API="pyside2" virtx epytest \
|
||||
--deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt5] \
|
||||
--deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt6] \
|
||||
--deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide6]
|
||||
fi
|
||||
if use pyside6; then
|
||||
einfo "Testing with ${EPYTHON} and QT_API=PySide6"
|
||||
QT_API="pyside6" virtx epytest \
|
||||
--deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide2] \
|
||||
--deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt5] \
|
||||
--deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt6] \
|
||||
--deselect qtpy/tests/test_qtsensors.py::test_qtsensors
|
||||
# Qt6Sensors not yet packaged and enabled in PySide6 ebuild
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "When multiple Qt4Python targets are enabled QtPy will default to"
|
||||
elog "the first enabled target in this order: PyQt5 PySide2 PyQt6 PySide6."
|
||||
elog "This can be overridden with the QT_API environment variable."
|
||||
}
|
@ -1,6 +1,3 @@
|
||||
AUX cmd2-2.4.1-py311.patch 1303 BLAKE2B 611d6270470b838cbe7551ac1019323217e7f3d68efe9c17d81a09a2124707f63af51ef5ed7adf0b3e8e6548dc7c55f5d1be29258f5e44d1be03d59ba583b482 SHA512 1e7893e4c2c0286dfe29d7688200a1878069cad46ded7d4ba8921944d47a5e3626324a5cb59ba38ecb20d8bfa87ecd5e5105295595982a33f44a3cd4ae1fe887
|
||||
DIST cmd2-2.4.1.tar.gz 676903 BLAKE2B 10b27d7658ee366d44d5fd13a4daf3adb65537043e0475e4c30b5a3b5e142cae982515f033e52fbd63bbce583ffc64e7b0a032d4cc0bbca76303720ecb2a8232 SHA512 862ff0ed301dc8fd588fb564602b32c9e8dee1dcae9965b0ed4605acc98b63ca5767b28c0030410395fb34ea1a0c7cf966972c19b75b93c1a3a3b90b582279fb
|
||||
DIST cmd2-2.4.2.tar.gz 677598 BLAKE2B 38b767e70d42125639578a906a6bd0ac737ee1e3be2951b122f91a1a2bfe366ea23db2d7d7350842b667aca7614a3520057f689cb1c253d1c4b11e164c2ee4a1 SHA512 d70d264671db2783526c589199ff74cc70d53a4fbaa1d78636a508dbf8216aefab17f5764bf25b2b86e9c1413e0e61977819fbb0dec59d3209195df522d3fa5f
|
||||
EBUILD cmd2-2.4.1.ebuild 1546 BLAKE2B c0cc684936461acf7ea790dac74b03c186674ee6a7650a8826c676487bb82f53a4debcc663ec5152473566a962fc89226239c7e4b762a6448c3e8d98d67e5d02 SHA512 5f7769893acad0d1bc677c5304c1ae14fc7dfcb0132c70762bb61e18aaba5ccb176e6ce0e383ca4e237750635f1ac206943aed82f42a5c1a7ee551938949d3eb
|
||||
EBUILD cmd2-2.4.2.ebuild 1506 BLAKE2B 23a67b03214ab67ad0f0f3b442e0ea3819686d557b6af6aadccaf8ca508db20811f5c1fd2061efb60aa4579ca1a212df6247fe72182db7554c1b578f1f162d99 SHA512 5920d3cfbd0c9472d4360b800dc84e8c4b19c558056fbc88ca7a5fec58bdbf9267933cd30b462dbbacaf94601ada12003762ef4c9ff83b33e0eb18ed043456c1
|
||||
EBUILD cmd2-2.4.2.ebuild 1501 BLAKE2B 0af67b5f00b54ac36cc557dca49f4574ae327fcd0c714d047677d6fbf619c649984d55f3beee9c0d73d52f13d5c022d8e163d73f751a037613bc73eac8471345 SHA512 5ca4a1205a2d34fb9b932d572f7492b5c1ac884e20d175a1449534c17f9e95bacbd357bf13fb3b4cd373c39c56149e4f3c2d624c333ac011b37325936f78e55d
|
||||
MISC metadata.xml 522 BLAKE2B 39d319b6a64a7b54568a3fbd3d7db9adf7719b690a8f086018ce41f0595db157b1f7825ce28afb4fb0d748ca0d6dc21d79e480361b69b4bf29c0efc2d2540bba SHA512 57315c23dd64534085502e59f0b8ca01ef8088d5a2b16ed807631a1f36a523768960754b00619e802333552c405e2984e314d91003f7a624da6f1eb8e8e4b98a
|
||||
|
@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1 virtualx
|
||||
|
||||
DESCRIPTION="Extra features for standard library's cmd module"
|
||||
HOMEPAGE="
|
||||
https://github.com/python-cmd2/cmd2/
|
||||
https://pypi.org/project/cmd2/
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/attrs[${PYTHON_USEDEP}]
|
||||
>=dev-python/colorama-0.3.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyperclip-1.6[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/wcwidth[${PYTHON_USEDEP}]
|
||||
"
|
||||
# pyperclip uses clipboard backends in the following preference order:
|
||||
# pygtk, xclip, xsel, klipper, qtpy, pyqt5, pyqt4.
|
||||
# klipper is known to be broken in Xvfb, and therefore causes test
|
||||
# failures. to avoid them, we must ensure that one of the backends
|
||||
# preferred to it is available (i.e. xclip or xsel).
|
||||
BDEPEND="
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
|| (
|
||||
x11-misc/xclip
|
||||
x11-misc/xsel
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-py311.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
sed -i -e '/--cov/d' setup.cfg || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# tests rely on very specific text wrapping...
|
||||
local -x COLUMNS=80
|
||||
virtx distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
epytest -p no:pytest-qt || die
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
From c02bb7dce587886fe380704a8c6a6009eb677a74 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
|
||||
Date: Sat, 21 May 2022 15:41:11 +0200
|
||||
Subject: [PATCH] Fixed duplicate subparser name in
|
||||
test_add_parser_custom_completer
|
||||
|
||||
If I'm not mistaken, the use of the same name for both subparsers was
|
||||
not intentional but a typo. In Python 3.11, this is an error and causes
|
||||
the test to fail.
|
||||
|
||||
Fixes #1228
|
||||
---
|
||||
tests/test_argparse_completer.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/test_argparse_completer.py b/tests/test_argparse_completer.py
|
||||
index 135d3de4..14c8c1de 100644
|
||||
--- a/tests/test_argparse_completer.py
|
||||
+++ b/tests/test_argparse_completer.py
|
||||
@@ -1371,5 +1371,5 @@ def test_add_parser_custom_completer():
|
||||
no_custom_completer_parser = subparsers.add_parser(name="no_custom_completer")
|
||||
assert no_custom_completer_parser.get_ap_completer_type() is None # type: ignore[attr-defined]
|
||||
|
||||
- custom_completer_parser = subparsers.add_parser(name="no_custom_completer", ap_completer_type=CustomCompleter)
|
||||
+ custom_completer_parser = subparsers.add_parser(name="custom_completer", ap_completer_type=CustomCompleter)
|
||||
assert custom_completer_parser.get_ap_completer_type() is CustomCompleter # type: ignore[attr-defined]
|
@ -1,7 +1,3 @@
|
||||
DIST cssutils-2.4.2.tar.gz 726519 BLAKE2B c087e06d25aa78cac35e936fe06d37ffc973b022a611a4a294683929b4c553adfbeb475330e8ce4b27b5aea3b9d4c89df6f52d02fef49236a81245505ab80d5b SHA512 0757fa73170c0287ee7be9c931103bb1781c93fba63870bb11e257797af7033e77e5417ed1c7aa219eeaff5c524a84c920ead0e2b8a4599ce499b17a83fdc8f7
|
||||
DIST cssutils-2.5.0.tar.gz 723225 BLAKE2B 521bde4f9f0b5d0a8fb74e24d640e55c3a0ed900f98e43c620f6b00bb66a591792709faae38fd778e6925581bd4f32f866d815d42d07e039dceb703d0dce2422 SHA512 49163d341ce169791bc99ba5f466eab2af09e65aaef68157b3c2263fca8214db2d6b586d165364cbed3c27e8f9d188dad020933eb0553ce5493fca3ab2322579
|
||||
DIST cssutils-2.5.1.tar.gz 723277 BLAKE2B ca55d980929d48c6eb555c08166870572ac179dadef785ccba3781de7568655374f3fbe44282db7c85f623dbf0c1aaf3360038c7168ba4022ad2f68b48ae5745 SHA512 20a94d5f08f662d67f2c1a0f92ca7fbc46d58dffc8bd4187ab51c8deb6ed29154604abab474ad80c806cc50b1dda9bf8d06edd98d5e8603bdd4917052ba796ce
|
||||
EBUILD cssutils-2.4.2.ebuild 969 BLAKE2B b08b823ad8f3ce68d495e6c0e313fe603c58677139a747fafbcecf508c44387f68492429325e9fc2ff05a7eccd360e87b9add3797b6bdbbef48aad0fb12045f0 SHA512 24c6425be5b8ffb6c472b04cb5e62e33f6b9627cc596db2947202aa6fa1af6bc9f6eb4311172f188aad264fc68f3178cbfc33045c2d156d79fc3698623079b87
|
||||
EBUILD cssutils-2.5.0.ebuild 970 BLAKE2B d72958758560c299f03ec365dbdaf64f7863a2bae45745335dd93500c5584e2ea8f3f90b2566946a0f9fd1e0f684a7869f72a8c23ff6a966ecafa616f0c2311c SHA512 d9b907701686347c683683487c49dc8c78690cc6527a34e218b3c8ad20dd53250c604a1bb69d9f98aeef4b2a37ca3041e5d537dbf38c7e9361c681dedd356c3d
|
||||
EBUILD cssutils-2.5.1.ebuild 970 BLAKE2B d72958758560c299f03ec365dbdaf64f7863a2bae45745335dd93500c5584e2ea8f3f90b2566946a0f9fd1e0f684a7869f72a8c23ff6a966ecafa616f0c2311c SHA512 d9b907701686347c683683487c49dc8c78690cc6527a34e218b3c8ad20dd53250c604a1bb69d9f98aeef4b2a37ca3041e5d537dbf38c7e9361c681dedd356c3d
|
||||
EBUILD cssutils-2.5.1.ebuild 965 BLAKE2B 25979cc8cfb761a8e41e690ea0272fab7096bf96066efe3ce6a857671d59d4927226a5455cf7ec09ac9520b0318c974a7d0f2be5212a84baf4386807707c2a59 SHA512 1489e3b75f22e18de3ffe648b30c0c1e0c1e2f56b01c4b29db88887ae0769226a2f499265478bd0c2182deda8677ba36980306970e977292ee51cba95d5ef547
|
||||
MISC metadata.xml 404 BLAKE2B 799ecc65093102f5dc56c272245253ad76e69ade2196953bc37547408cbec9c3259c05dd75838c23027cb6a348d03586d2e1d61d37713401ae3cbcfb330275e9 SHA512 b009e78386aee2e8405406ed455c5432e00d5990ca86b49e6ac5db4e3e06102fb968cdc7b55b824c3451156fe2501e3f1deed1f31b48cd1916f90ef515dd8e4e
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A CSS Cascading Style Sheets library"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/cssutils/
|
||||
https://github.com/jaraco/cssutils/
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 ppc x86"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/cssselect[${PYTHON_USEDEP}]
|
||||
>=dev-python/jaraco-test-5.1[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/importlib_resources[${PYTHON_USEDEP}]
|
||||
' 3.8)
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# network
|
||||
encutils/__init__.py::encutils
|
||||
cssutils/tests/test_parse.py::CSSParserTestCase::test_parseUrl
|
||||
examples/website.py::website.logging
|
||||
)
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A CSS Cascading Style Sheets library"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/cssutils/
|
||||
https://github.com/jaraco/cssutils/
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/cssselect[${PYTHON_USEDEP}]
|
||||
>=dev-python/jaraco-test-5.1[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/importlib_resources[${PYTHON_USEDEP}]
|
||||
' 3.8)
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# network
|
||||
encutils/__init__.py::encutils
|
||||
cssutils/tests/test_parse.py::TestCSSParser::test_parseUrl
|
||||
examples/website.py::website.logging
|
||||
)
|
@ -0,0 +1,42 @@
|
||||
# Copyright 2020-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Get information about what a Python frame is currently doing"
|
||||
HOMEPAGE="
|
||||
https://github.com/alexmojaki/executing/
|
||||
https://pypi.org/project/executing/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/alexmojaki/executing/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
# asttokens is optional runtime dep
|
||||
BDEPEND="
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/asttokens[${PYTHON_USEDEP}]
|
||||
dev-python/littleutils[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
|
||||
|
||||
python_test() {
|
||||
# this test explodes when collected by pytest
|
||||
"${EPYTHON}" tests/test_main.py || die "Tests failed with ${EPYTHON}"
|
||||
epytest tests/test_pytest.py
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST frozendict-2.3.2.gh.tar.gz 306318 BLAKE2B 3bc10f34784a8b76b7c6ca0eeccc8331e9a558f0e24d2328550eb5a985ed2ad6c94d027c51ee44f2d25af67fc453356e01b5cfee773880b87d73c55113ca10b2 SHA512 8dc88a3e7898be8fbced16fbdbdee469d07ecbb06a059512f98f71e50a8c5f2c3a4f3d4e6aa06bab121e4ae2e9cea76f6d89c73212047069f2ef88c616c7278a
|
||||
EBUILD frozendict-2.3.2.ebuild 633 BLAKE2B 2a45c4f6d4488ef934b87d0e3351d01d9897ffc4d70215bbf985fc64e22cf3eb004286948223f46df5d4a701381d1f3a45a2dc9a32825aa32f8a870a0a643e64 SHA512 a9d27f4daaafdda45d608c327dfe34d1f63ea60ad98291aec53ebca94fc74605efa5b5809c0ea5e0b1f7dc617f4554ffaf40e693c12a5922ea8783fb7a86e69b
|
||||
MISC metadata.xml 533 BLAKE2B ba17bdaf9d30d16cf97728129e16da896c21f8ffe938a3e068a85899a3ccfa36acb1d071ab70c4a3a28d05e082708890864f370d95beee344af1e65e0d144ae9 SHA512 62a4439f0b6d4658191118dd7ca5e9e09600b3f92af456aaddf7244d4be591d48f82ed7f479829e2efe96f55e1131b6a38302705d4f76ddec2ddef4865d9b1ea
|
||||
DIST frozendict-2.3.4.gh.tar.gz 307399 BLAKE2B ac6311182ed2ba4925a14a145b4d30a0241978f55ae7a81cebc534ede812ca77097f0f8c7eeb08e8cbd6240e036d3b5035bd3e9b284a55b638c93717e3a20258 SHA512 15acc4fceb5e2228ee3423d4a5b86c529e9bdcb7264f59139cbde6194983901a17da8036bebf53d7d8057ce52666031e90eb1ca358bfd374c651fd60743988dc
|
||||
EBUILD frozendict-2.3.2.ebuild 587 BLAKE2B 419c535aad7c96ba24618822df7d70e69c9bc8ed156adb571de5bcd52b2f11042cd3268c67953ebe599c9f0754229a7e44e833373ca91b76cf7c950f13dc8dfa SHA512 c937c5c58d872a48cadc1def6c60d5142c2161f58ad23b75d5114bed302242edc4b2d1ab29f59aac8bd789d804871d5edb53d391197db51316ffffab280f1e33
|
||||
EBUILD frozendict-2.3.4.ebuild 589 BLAKE2B 3b96e1e4738df9501d4c451578d093de5c47d8913645f9f0589ce456f84edb276480979969d808bb45f351f62e8325d2daf66af3737ec498409a6698f4fee32e SHA512 c1f41ddf47dc45cdec9b6bd2702f96e4829b77ae3db7839af3f0931ae4c4e907de238ec0bcf6f58fff65b7d2d98481ec7f778ca482077e1dfb58811467344f97
|
||||
MISC metadata.xml 634 BLAKE2B 362d9aef54a08943047b2f7b04f74d142be6eb74c74d8242460a70e22a3d77d475f588057fbca3ec6f691f2516a52bc23016e694824d092470670e05e98a79d6 SHA512 7f452c4e377081a16c159ca73079a73666dbd862f237516cb3962bfa7a8c4d32f6c68c7bcd5ef37cade10b999fd026178ca2192bd8254d37da642c9bec81137c
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{9..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A simple immutable mapping for python"
|
||||
HOMEPAGE="
|
||||
https://github.com/Marco-Sulla/python-frozendict/
|
||||
https://pypi.org/project/frozendict/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/Marco-Sulla/python-frozendict/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
S="${WORKDIR}/python-${P}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64"
|
||||
|
||||
python_test() {
|
||||
cd "${T}" || die
|
||||
epytest "${S}/test"
|
||||
}
|
@ -1,7 +1,9 @@
|
||||
DIST hatch-hatchling-v1.5.0.gh.tar.gz 232265 BLAKE2B 4fd57f7610831a025b9b0dddb89c4fe484d32d0b76a2d0cdafb76730b37c54af42ef27dc1c4d73061d888ce75806bd8f0fc70f5d39a077bd534716cf4e4a4db8 SHA512 9e5498b9da3a1f756e0f3e40daa63e45017588332da4197ac83b8402219bb9501b9c498dd881c5812b2b8903af591e4c6146aaf6dea8cc7b6bc664a85dee74e6
|
||||
DIST hatch-hatchling-v1.6.0.gh.tar.gz 233428 BLAKE2B 5ce5a2a94c9021919f50f90a96f37713a739fe08e1d6a5955a3af369d6c37beece1a4c22b1883e689e500f219101fb67a700231b8d0d22432150b34a6cee22bd SHA512 be23b81cca96cb93321938e0ac7455efc2e388e910c1b64a7d611a37681b5bd6aa89c4fe165a7a2f7ce2dd11ea3598aaeaaab80869e689aac0afdce915b8f567
|
||||
DIST hatch-hatchling-v1.7.0.gh.tar.gz 249253 BLAKE2B a294b87172b16bda86a90f2d9577bfa7ea9bc21e6644006cb141b762df96bb62e7e828e1c147c6409e6b7278a0bd00cb6ee67d01b203dec110fc272cfae6fd92 SHA512 6a3c807674891ff23ca0b2f00e62900e9e4752888cf6c8647ac20ec6b76a13c23e17a52989d4661d03bed3e33e682a09b877ae6c99bfc707a28ddde754ea9386
|
||||
DIST hatch-hatchling-v1.7.1.gh.tar.gz 1471608 BLAKE2B 52d7d1f8a45f5dd6573676b8f6946b843c5368ba0b0a53d1a30d48c1087350eea54335fbc76816f334526238451ab8075586212386bb18edc0c3b3cfc5224b3c SHA512 dfffc8586ee3ff5c7f1f277be1e653efef70fca5377c12c16bb05c1deeb5cf5eccc5cd58d0923a32c7a8b3701621f6be881709bb836734170a08b103b841107f
|
||||
EBUILD hatchling-1.5.0.ebuild 1980 BLAKE2B 0c537198ec4cead26561b0781f68f6062ba8845cc56e68ba482ebead4618ab86cb5418234524939c1fb69b09a44993fdf2bf222e75f254b0139c66669ca38d59 SHA512 6036e99f5bc40b79197476c7e3201b6b003fa36269d63b36a1f40db9f912dc1467b037a891292d586b36cc0c79a8999ce3bf7f3dc82cecbff0cb7d4d149be316
|
||||
EBUILD hatchling-1.6.0.ebuild 1988 BLAKE2B 7e6587bd516b6bf64cdf96c07a3c58c277755b51ac02ce13c12608bc78d9ce75bc4e49cbcee4fb6144f7bdbe76aaadfb4289b28cf5064328d1ad0d4a2f84e9b7 SHA512 1cd12a200fe2a227d42879f8ace9bf6f2f230aee02559ccb6d03de8bcb8b935d78a593cd41615ef8c8a712d9b170c6a3db15341d3e588a861577b65401be3845
|
||||
EBUILD hatchling-1.7.0.ebuild 1988 BLAKE2B 7e6587bd516b6bf64cdf96c07a3c58c277755b51ac02ce13c12608bc78d9ce75bc4e49cbcee4fb6144f7bdbe76aaadfb4289b28cf5064328d1ad0d4a2f84e9b7 SHA512 1cd12a200fe2a227d42879f8ace9bf6f2f230aee02559ccb6d03de8bcb8b935d78a593cd41615ef8c8a712d9b170c6a3db15341d3e588a861577b65401be3845
|
||||
EBUILD hatchling-1.7.1.ebuild 1988 BLAKE2B 7e6587bd516b6bf64cdf96c07a3c58c277755b51ac02ce13c12608bc78d9ce75bc4e49cbcee4fb6144f7bdbe76aaadfb4289b28cf5064328d1ad0d4a2f84e9b7 SHA512 1cd12a200fe2a227d42879f8ace9bf6f2f230aee02559ccb6d03de8bcb8b935d78a593cd41615ef8c8a712d9b170c6a3db15341d3e588a861577b65401be3845
|
||||
MISC metadata.xml 365 BLAKE2B 5a40a6cf6df042e6e8387830babd0171c9d8bc5d490fe2175b83d1588d827e826b49044ef29de48553515996b742fc475bb9699dcfa8ec05229162b22e0ed317 SHA512 f11bb25bc12c2bb0b0a0a4691115b9a2af525d9e44b33e0d6db98c7fcef0b49b5989fb7574ee8b27bc88f1dd2543bfdd492a6614de172e2c4edabbee8bf6161e
|
||||
|
@ -0,0 +1,74 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=standalone
|
||||
PYTHON_TESTED=( pypy3 python3_{8..11} )
|
||||
PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
TAG=${P/-/-v}
|
||||
MY_P=hatch-${TAG}
|
||||
DESCRIPTION="Modern, extensible Python build backend"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/hatchling/
|
||||
https://github.com/pypa/hatch/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/pypa/hatch/archive/${TAG}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}/backend
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/editables-0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-21.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pathspec-0.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/pluggy-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/tomli-1.2.2[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/atomicwrites[${PYTHON_USEDEP}]
|
||||
dev-python/click[${PYTHON_USEDEP}]
|
||||
dev-python/httpx[${PYTHON_USEDEP}]
|
||||
dev-python/platformdirs[${PYTHON_USEDEP}]
|
||||
dev-python/rich[${PYTHON_USEDEP}]
|
||||
dev-python/tomli-w[${PYTHON_USEDEP}]
|
||||
dev-python/virtualenv[${PYTHON_USEDEP}]
|
||||
' "${PYTHON_TESTED[@]}")
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
|
||||
einfo "Skipping tests on ${EPYTHON}"
|
||||
return
|
||||
fi
|
||||
|
||||
local -x EPYTEST_DESELECT=(
|
||||
# these run pip to install stuff
|
||||
tests/backend/dep/test_core.py::test_dependency_found
|
||||
tests/backend/dep/test_core.py::test_extra_met
|
||||
tests/backend/dep/test_core.py::test_extra_no_dependencies
|
||||
tests/backend/dep/test_core.py::test_extra_unmet
|
||||
tests/backend/dep/test_core.py::test_unknown_extra
|
||||
tests/backend/dep/test_core.py::test_version_unmet
|
||||
)
|
||||
|
||||
# top-level "tests" directory contains tests both for hatch
|
||||
# and hatchling
|
||||
cd "${WORKDIR}/${MY_P}" || die
|
||||
local -x PYTHONPATH="src:${PYTHONPATH}"
|
||||
epytest tests/backend
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST mkdocs-material-8.3.9.gh.tar.gz 8347276 BLAKE2B 51c953aad234a177d6b74bc8ef5e836ea6ee9f3c9e53b843efe25214069bfd94c3695fbe0dde0d3daec54c030bc35f5c4be668592afda45fa7ba7bbeb63a0475 SHA512 e7012a6f7db41b2bc4a43d0463f08fb3f7102ca3d7957ecdb2c88343a96ea774c8f724e498b2254a6bc6464d88681a605e52e4632c56cf0c60c6bf4269ac01a9
|
||||
DIST mkdocs-material-8.4.0.gh.tar.gz 8459364 BLAKE2B 42d0a3fa9a06cd03629dcf10e8052ce56ec87ce9449da26b1d94ab5e520cd34be16f49339237ebaa673bd86a7148e663f5e7bddbfd9ef2f9151a0d62cd0a2c85 SHA512 5e1c4c08ca8c6a2d4af2b2ef51c3e136c630a683aaf6c1ce93a4b322127eadf4ba718cde0e2d8814c486658ecdcfbda7179e4478ddbf6ba8a8ca3876acd4b33a
|
||||
EBUILD mkdocs-material-8.3.9.ebuild 1044 BLAKE2B bae6282cd8a771c6c6d9f11205442841ba82f970b1a0ce8490902931670a45fa0ff1b8ba08d2d4c9b819ab43a668b9acbbc4f84aa7c35f854519cd609b2472f8 SHA512 7aaf4b2f7e3f75e579300424d9d8c2418c96a96ca61c085b53ae15f152abbe142dbf13924b24d36eddf1321f6de1dc6d3d5a018e19612b2245cd860eb03818c6
|
||||
EBUILD mkdocs-material-8.4.0.ebuild 1046 BLAKE2B a1354ffb639fa1d967358867a01440e15f966ad4884c761e48ba14eb08a874ba1ec3bf1df1eeb1d214d16aae5b089cfc5254dbb4817b32a34b432d03a2eeebe8 SHA512 e3d4630057818c974fee925e51e8f38bc39cf5d86aa989158f97d024ac4e0c0cd4daeaa57242edf20429d9a6bea02a0019fcfa68b60c36d85f461c781fe3a54a
|
||||
MISC metadata.xml 1037 BLAKE2B 6997d0f85e31152c58092081b697d8934c54f933e188082eb55e5e9f252f57274f673e1d8e5b657907da2d1658f969cd67bdb32bdc05324746f211b718f3a4b2 SHA512 ccd4f4aa6e6e780d0aff5894b260eedb602d29cc25427c202561525d27de4a31d1e13f59267d8d732d0e12f3ca0485996bca6ef2a114e96b030259899e8ad47c
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
DOCS_BUILDER="mkdocs"
|
||||
DOCS_DEPEND="
|
||||
dev-python/mkdocs-material-extensions
|
||||
dev-python/mkdocs-minify-plugin
|
||||
dev-python/mkdocs-redirects
|
||||
"
|
||||
|
||||
inherit distutils-r1 docs
|
||||
|
||||
DESCRIPTION="A Material Design theme for MkDocs"
|
||||
HOMEPAGE="
|
||||
https://github.com/squidfunk/mkdocs-material/
|
||||
https://pypi.org/project/mkdocs-material/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~riscv ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/jinja-2.11.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/markdown-3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/mkdocs-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygments-2.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/pymdown-extensions-9.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
# mkdocs-material-extensions depends on mkdocs-material creating a circular dep
|
||||
PDEPEND=">=dev-python/mkdocs-material-extensions-1.0.3[${PYTHON_USEDEP}]"
|
@ -1,11 +1,7 @@
|
||||
DIST mkdocs_pymdownx_material_extras-1.0.7.tar.gz 17995 BLAKE2B a7a8715ec07b9ef5551eadb37e618f45ca2f8f3c707aa5269eb7d2587db70ba29cfaa8027bb606c4264bbf93d7b3950d7a5dc03640b71afc677658b044d064fa SHA512 33fe8fddd0ee5856fdfb02068e2698f26a8db139458d7736715b776fbc2d8ae8ccb3170dbb786c52338e4e7a1612006046eb429f2268469f6f2bb5ba7f8e256d
|
||||
DIST mkdocs_pymdownx_material_extras-1.1.3.tar.gz 40029 BLAKE2B faa17e6e4d27a5d5e34a98a6830e34b934f8623fafb87a73051eb424cf95d29c5dd185bbfbbe49dd3e93eeee00a8310ac0543d480ab70e5abee4047b1cecc774 SHA512 340818ebcd8f9cf175e5049028d0932a0d6208de3d8f86cf5ea47747680079c6b9b3bf27e0c32ee10ee6a1bc7ab8ffc6cc3aa48470be43ed32adfde74f44d5dd
|
||||
DIST mkdocs_pymdownx_material_extras-2.1.tar.gz 24220 BLAKE2B bc16a3f4b7f471a14b3f5189ce7749f49a72b33c0b4ac9d67f6c7324004532103136898a2cec49adabba37c93c2ac1189e637ed4f2c6f4611f1fcbb9628ac707 SHA512 e10545455adf58643147a802ab422a3b3e293a8853c5e20c0c91cb97f8ee1bd3cb1f2ce23bb73f30f0b92872ab549e8d8fbd41bd783b1d9af3e995e313ebfa4b
|
||||
DIST mkdocs_pymdownx_material_extras-2.2.1.tar.gz 24497 BLAKE2B af9c932a7f5686f3524d247cfee5e0d91681a0ae185f7f25405fd8355cd4c5a4de869f0f50de41a7cf7ab27275f532c0922bbfb84d7e7d74d25cfb292538fca1 SHA512 001f23d0b80fc082fc34e69903fb097fe67d4931cb2f02edd200f9c856f5e6393b2b6c6edd81e12ab609e7fefc27bceb494a6ad59bb7596b60200560dfb17465
|
||||
DIST mkdocs_pymdownx_material_extras-2.2.tar.gz 24492 BLAKE2B 13c9580f91d90641630dcf0c98fc40955ea01061b22592efd997d17d9bb6dee79bf9b8ad572ea33d2f1de2792eb63d358d8e334c5d49dd0eb7985bb681093132 SHA512 31a1c4b9e70ac4a604743a80665b733e5d72203aba2b62e4884c9005692f5e2e171f0b075a237458be6d52580afcae75f143bdde173ecf90ae05e62861099021
|
||||
EBUILD mkdocs_pymdownx_material_extras-1.0.7.ebuild 557 BLAKE2B 2854ff1077a941e23e2d51fce318bd41b8239e10c1d6be3fb65ecd8f08397f00ec46991021a23ff1d454d7abe5e6779d9aa4d36340e9fe84ff238c8e69e4be10 SHA512 6bd3f7d6daae3de6152502f9cc7ff522f6220f5111e80cfee6e0d400c9492dcbe1ab5baafd709f67d11a132df8261df60ad89cf82dc57c6f47ca72de1f34f389
|
||||
EBUILD mkdocs_pymdownx_material_extras-1.1.3.ebuild 557 BLAKE2B 2854ff1077a941e23e2d51fce318bd41b8239e10c1d6be3fb65ecd8f08397f00ec46991021a23ff1d454d7abe5e6779d9aa4d36340e9fe84ff238c8e69e4be10 SHA512 6bd3f7d6daae3de6152502f9cc7ff522f6220f5111e80cfee6e0d400c9492dcbe1ab5baafd709f67d11a132df8261df60ad89cf82dc57c6f47ca72de1f34f389
|
||||
EBUILD mkdocs_pymdownx_material_extras-2.1.ebuild 566 BLAKE2B 98e25cc79a87f3f5373870bf79edd730d2e4bda782cc23a34183f99def00aa025191b4cdcb58c9ef2a037b298e7b4fed58f9ef50c43d38006af915d078a83d12 SHA512 eceacced7ff7e71b8a7c3a9313592fb361d1f028484c403391cba9bebe4933fd57be3e19c11593bd18db4c66238478d11ead6a830f5b707d19e1db83b92926ea
|
||||
EBUILD mkdocs_pymdownx_material_extras-2.2.1.ebuild 568 BLAKE2B 9bf48b74cc5d18db7ebf17670f8821cb7108467c979854d7d34086992066a1aa2616a03ce55770bc5afe2b94b3cec8450c6654f80785e1294356e2d0fd4aad8a SHA512 51d2f55b2747ca4d0894900f10d0560d2b852cb346ae68297a2d7f100cb1fcc044f5c0356d64abd10ad7765810c3ee9cb21408848a7d47096f0129500e88e040
|
||||
EBUILD mkdocs_pymdownx_material_extras-2.2.ebuild 568 BLAKE2B 9bf48b74cc5d18db7ebf17670f8821cb7108467c979854d7d34086992066a1aa2616a03ce55770bc5afe2b94b3cec8450c6654f80785e1294356e2d0fd4aad8a SHA512 51d2f55b2747ca4d0894900f10d0560d2b852cb346ae68297a2d7f100cb1fcc044f5c0356d64abd10ad7765810c3ee9cb21408848a7d47096f0129500e88e040
|
||||
EBUILD mkdocs_pymdownx_material_extras-2.2.1.ebuild 566 BLAKE2B 0f1f89f6e88703da2bba74285f9d4c388dac45c82f44a87cc8734772f28d155472085a2b2d92fa17c57ca69a3f13867043187db97064368be6b3b7164c205da4 SHA512 afdd34bd87b69047b438c84e6908177d432b71c91788e9d74309013ef612cfb5a8c76a54937e029cc00070691d2bf5f16f51093cb2e2b44d97cb54b4e6b21744
|
||||
MISC metadata.xml 1167 BLAKE2B a4efd99b0128f99bb7a8da17fde37695cff1f9e50ddec9d3b71e5eae4a09b8ba6646259c724220ee5905faa420efcdaf4be1d0828c8cc4d9e7040ebf1398bd0e SHA512 37d5b8e942796e54f31d0a2d592157d7a50d8fe5bdedf6f0e57305d60b4d7fd99f649e2604bb53cba5cf457227c3c1debfd607b3f5b97fcaee7e8209fbc900ec
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Custom alterations based on Mkdocs-Material"
|
||||
HOMEPAGE="
|
||||
https://github.com/facelessuser/mkdocs_pymdownx_material_extras
|
||||
https://pypi.org/project/mkdocs-pymdownx-material-extras"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~riscv x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/mkdocs-material-5.0.2[${PYTHON_USEDEP}]
|
||||
"
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Custom alterations based on Mkdocs-Material"
|
||||
HOMEPAGE="
|
||||
https://github.com/facelessuser/mkdocs_pymdownx_material_extras
|
||||
https://pypi.org/project/mkdocs-pymdownx-material-extras"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~riscv ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/mkdocs-material-8.3.3[${PYTHON_USEDEP}]
|
||||
"
|
@ -1,3 +1,5 @@
|
||||
DIST nototools-0.2.16.tar.gz 9712796 BLAKE2B 654f449a00741dfa4a9b3b8c2a80d40907698098d1c4ee94363657d88b24fe1f26287af5e7795484846d394573a868ff82fa9a8c0a51b953325d6f6f97d7f7c8 SHA512 3c70c29f8411ae3eedc2738e0b2f42f9c0b675494bbdc107a8b43612fba08401c704ec94db63bb92aa1648b168f9e0d9e8139b8c61dc3b43973876d105324554
|
||||
DIST nototools-0.2.17.tar.gz 9743805 BLAKE2B ba601b4c9c4df7fc264dd88c60e50c1db08c21bc07f3ab408f91f445a801bd96ed193e5f9cb320378f6411027b1be004d718233d531bb2ec600badfaffd2d876 SHA512 a5b733c47ce61f6cb18f9772e8fee04f8ee2a3d834afa3f71a5f1c8110124224b9d325db75976104dd880b7c0538568574b2e497faa8f4d5541451e9c3e40cd3
|
||||
EBUILD nototools-0.2.16.ebuild 1014 BLAKE2B 229cc3fc5ee9462d92710a98c3653d74f20e42ce990eed73c62a10a647f1663df286dfefab92ceca4d3504d9c627a757e6b3c9e08dcc983bfdcf7e885a80c4c1 SHA512 d7b425740fdc853f3eaf258bf033e62cc21a2e11ef98197512272e23452b6fb960b836236ff68894a0dbb4cadc90e346d449aa7c0c1188de9ecfda8762369620
|
||||
EBUILD nototools-0.2.17.ebuild 1017 BLAKE2B 28a82493deecb8a1a7bf5894ea8b96c6b6538dbeac021b06c2aeeeed418943a5c7667899f5ac58194074f2ac340dff7a7288beb024e727dc1488518e0678583a SHA512 1abc400409d26e991c9e9f9f7292993454b7af2179a9cbc0bb7271ef6054c29319d5754c5311acfb0198a2b5e727a9dadb102deed5faa294b8bd8109f5e8bbed
|
||||
MISC metadata.xml 268 BLAKE2B 8d5ab1863c10c503f76cdd433fd868e4ce4eec3f42fa7e733ca1a628a406750e72529417653f79ca1d8cee380613cca90ac1e20a812ca713c2a6274be8a5982c SHA512 712d6c0a662d14734ad37f97cf00cc131986bc010650cdc7362a08a0881276eb790068ff8d3aa9a265858a4a83b3793dc2c02151b391d8bdd4a9d9c044c0b434
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="notofonttools"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Noto fonts support tools and scripts plus web site generation"
|
||||
HOMEPAGE="https://github.com/googlefonts/nototools"
|
||||
#SRC_URI="https://github.com/googlefonts/nototools/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 OFL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=media-gfx/scour-0.37
|
||||
>=dev-python/booleanOperations-0.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/defcon-0.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/fonttools-4.11.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pillow-8.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyclipper-1.2.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# Some tests weren't ported to python3 yet and lots of failures
|
||||
RESTRICT="test"
|
||||
|
||||
distutils_enable_tests setup.py
|
@ -0,0 +1,187 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
FORTRAN_NEEDED=lapack
|
||||
|
||||
inherit distutils-r1 flag-o-matic fortran-2 toolchain-funcs
|
||||
|
||||
DOC_PV=${PV}
|
||||
# For when docs aren't ready yet, set to last version
|
||||
#DOC_PV=1.23.0
|
||||
DESCRIPTION="Fast array and numerical python library"
|
||||
HOMEPAGE="
|
||||
https://numpy.org/
|
||||
https://github.com/numpy/numpy/
|
||||
https://pypi.org/project/numpy/
|
||||
"
|
||||
SRC_URI="
|
||||
mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
|
||||
doc? (
|
||||
https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-html.zip -> numpy-html-${DOC_PV}.zip
|
||||
https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-ref.pdf -> numpy-ref-${DOC_PV}.pdf
|
||||
https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-user.pdf -> numpy-user-${DOC_PV}.pdf
|
||||
)
|
||||
"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc lapack"
|
||||
|
||||
RDEPEND="
|
||||
lapack? (
|
||||
>=virtual/cblas-3.8
|
||||
>=virtual/lapack-3.8
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
>=dev-python/cython-0.29.30[${PYTHON_USEDEP}]
|
||||
lapack? (
|
||||
virtual/pkgconfig
|
||||
)
|
||||
doc? (
|
||||
app-arch/unzip
|
||||
)
|
||||
test? (
|
||||
>=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/cffi-1.14.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/numpy-1.22.0-no-hardcode-blasv2.patch
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
if use doc; then
|
||||
unzip -qo "${DISTDIR}"/numpy-html-${DOC_PV}.zip -d html || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
# Allow use with setuptools 60.x
|
||||
# See numpy-1.22.1-revert-setuptools-upper-bound.patch for details
|
||||
export SETUPTOOLS_USE_DISTUTILS=stdlib
|
||||
|
||||
if use lapack; then
|
||||
local incdir="${EPREFIX}"/usr/include
|
||||
local libdir="${EPREFIX}"/usr/$(get_libdir)
|
||||
cat >> site.cfg <<-EOF || die
|
||||
[blas]
|
||||
include_dirs = ${incdir}
|
||||
library_dirs = ${libdir}
|
||||
blas_libs = cblas,blas
|
||||
[lapack]
|
||||
library_dirs = ${libdir}
|
||||
lapack_libs = lapack
|
||||
EOF
|
||||
else
|
||||
export {ATLAS,PTATLAS,BLAS,LAPACK,MKL}=None
|
||||
fi
|
||||
|
||||
export CC="$(tc-getCC) ${CFLAGS}"
|
||||
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
# See progress in http://projects.scipy.org/scipy/numpy/ticket/573
|
||||
# with the subtle difference that we don't want to break Darwin where
|
||||
# -shared is not a valid linker argument
|
||||
if [[ ${CHOST} != *-darwin* ]]; then
|
||||
append-ldflags -shared
|
||||
fi
|
||||
|
||||
# only one fortran to link with:
|
||||
# linking with cblas and lapack library will force
|
||||
# autodetecting and linking to all available fortran compilers
|
||||
append-fflags -fPIC
|
||||
if use lapack; then
|
||||
NUMPY_FCONFIG="config_fc --noopt --noarch"
|
||||
# workaround bug 335908
|
||||
[[ $(tc-getFC) == *gfortran* ]] && NUMPY_FCONFIG+=" --fcompiler=gnu95"
|
||||
fi
|
||||
|
||||
# don't version f2py, we will handle it.
|
||||
sed -i -e '/f2py_exe/s: + os\.path.*$::' numpy/f2py/setup.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
export MAKEOPTS=-j1 #660754
|
||||
|
||||
distutils-r1_python_compile ${NUMPY_FCONFIG}
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# very disk- and memory-hungry
|
||||
numpy/lib/tests/test_io.py::test_large_zip
|
||||
|
||||
# precision problems
|
||||
numpy/core/tests/test_umath_accuracy.py::TestAccuracy::test_validate_transcendentals
|
||||
|
||||
# runs the whole test suite recursively, that's just crazy
|
||||
numpy/core/tests/test_mem_policy.py::test_new_policy
|
||||
|
||||
# very slow, unlikely to be practically useful
|
||||
numpy/typing/tests/test_typing.py
|
||||
)
|
||||
|
||||
if use arm && [[ $(uname -m || echo "unknown") == "armv8l" ]] ; then
|
||||
# Degenerate case. arm32 chroot on arm64.
|
||||
# bug #774108
|
||||
EPYTEST_DESELECT+=(
|
||||
numpy/core/tests/test_cpu_features.py::Test_ARM_Features::test_features
|
||||
)
|
||||
fi
|
||||
|
||||
if use x86 ; then
|
||||
EPYTEST_DESELECT+=(
|
||||
# https://github.com/numpy/numpy/issues/18388
|
||||
numpy/core/tests/test_umath.py::TestRemainder::test_float_remainder_overflow
|
||||
# https://github.com/numpy/numpy/issues/18387
|
||||
numpy/random/tests/test_generator_mt19937.py::TestRandomDist::test_pareto
|
||||
# more precision problems
|
||||
numpy/core/tests/test_einsum.py::TestEinsum::test_einsum_sums_int16
|
||||
)
|
||||
fi
|
||||
if use arm || use x86 ; then
|
||||
EPYTEST_DESELECT+=(
|
||||
# too large for 32-bit platforms
|
||||
numpy/core/tests/test_ufunc.py::TestUfunc::test_identityless_reduction_huge_array
|
||||
)
|
||||
fi
|
||||
|
||||
distutils_install_for_testing --single-version-externally-managed \
|
||||
--record "${TMPDIR}/record.txt" ${NUMPY_FCONFIG}
|
||||
|
||||
cd "${TEST_DIR}/lib" || die
|
||||
epytest -k "not _fuzz"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
# https://github.com/numpy/numpy/issues/16005
|
||||
local mydistutilsargs=( build_src )
|
||||
distutils-r1_python_install ${NUMPY_FCONFIG}
|
||||
python_optimize
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local DOCS=( LICENSE.txt README.md THANKS.txt )
|
||||
|
||||
if use doc; then
|
||||
local HTML_DOCS=( "${WORKDIR}"/html/. )
|
||||
DOCS+=( "${DISTDIR}"/${PN}-{user,ref}-${DOC_PV}.pdf )
|
||||
fi
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
AUX pyside2-tools-5.15.1-dont-install-tools.patch 1782 BLAKE2B a9a1c3cb8d1e6feabbc752bb4bf0af30b645736b9895fe96063dc4a9d5668866523e567f723693b17c6da4101d28713cfa6ad8adadb78e6bb99756d7c69244a2 SHA512 c8b17db89f42a52f4191dda953d7228eafcafd6afb6d7b70527cef090ffd1f073970010a817bede941de10b4e40e41d35fb99b74091baeea6d237c08eb7f225f
|
||||
DIST pyside-setup-opensource-src-6.3.1.tar.xz 7685896 BLAKE2B 66eb9ced1899fabea2be1b6471fcaa3eca4c74e989e7eab47dc44db623eb6242a713e1e7c7e2a6daad36994d3766cf7adc79e3601bfc3908a051fdc97b52522f SHA512 81751fa9e2c492ceae42b3cb1f871d3f95f56cc07c382f02574899f3eab8db52453b0b636e63d53e0d2195f1686a01ad2bee20953aa0a8237719ec06d2b6e321
|
||||
EBUILD pyside6-tools-6.3.1.ebuild 1361 BLAKE2B 3f66578d716c3c2cdbb06884c70111dcc100587ba297e234897a2e75932f7112892b5ebb4d565349f7a83421ba0ea1f9b8eb26daef8ed5c8e920dd4ceab63c5f SHA512 61d6e9460d267120ffcbb2c3f3d514599a8d36c0a86e933953fc184419ab913fef5dc184fcea189ee0cc79f0736d9f1a2aed2570c675bce7e8f62fa011d3bbd8
|
||||
MISC metadata.xml 259 BLAKE2B 3bd5fecaefa4296413fd08aac88185d04771439afd26b516016a83ad674ca42d886412f99424be93e997431c64d5601ae89ae6478784cffb44e400d3fa4889b8 SHA512 d73de9f4636e5d93e57d9a781e5292e8d3bc270f8fb3b90c246cf3a2ba4a9ac9f36a9aea5a7f08aa6c608e61c836275bb1eb4b5c079b3db0da938efd10cdff9f
|
||||
MISC metadata.xml 402 BLAKE2B 28348df442d189eadb56e04dfda71c1d5a56868aae85611a7d77ecdc7651e34ce02563c8da1270aad55758e2dd4301de44434e0bbdb010ef484e240068602ede SHA512 a54866110e38c24d67d60286c64b63dc0b537c55eb201b84b9173b47710b6e8a840d9072ca46fbef969bf481e43e1d8824b20655d7fe6b300cfd5333c3f74a41
|
||||
|
@ -1,8 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<maintainer type="person" proxied="proxy">
|
||||
<email>andrewammerlaan@gentoo.org</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>waebbl-gentoo@posteo.net</email>
|
||||
<name>Bernd Waibel</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1,4 +1,4 @@
|
||||
AUX pyside6-6.3.1-no-strip.patch 953 BLAKE2B f88bac603a584213a864fcfc7c528f1d236ebdbfb653c3877316cd0b95c30c2f7288b1c81c6a90a3e4228536da4aa63552991fefa952f450b0b852b3e2aed94a SHA512 2920075a26fc059bdebc8eb5fa7c15de74729b7f8d1eb59197f7426afa7a65f1f78a8ebb76e946b2dfaf5817dbf090744bafaed2f2156f2d1548c2932a7ce61a
|
||||
DIST pyside-setup-opensource-src-6.3.1.tar.xz 7685896 BLAKE2B 66eb9ced1899fabea2be1b6471fcaa3eca4c74e989e7eab47dc44db623eb6242a713e1e7c7e2a6daad36994d3766cf7adc79e3601bfc3908a051fdc97b52522f SHA512 81751fa9e2c492ceae42b3cb1f871d3f95f56cc07c382f02574899f3eab8db52453b0b636e63d53e0d2195f1686a01ad2bee20953aa0a8237719ec06d2b6e321
|
||||
EBUILD pyside6-6.3.1.ebuild 8562 BLAKE2B a7e78b58f0c8ab2c933ad666923dbc16a92aad841339c3747f3f2c9437a00e8ca26b33d258363d8ade803bffb85438ca4e9099e8b0715c5eacb5f8d5a1637878 SHA512 76fd97aee5cb1e0ee7de80400f62c0151793191fb6938de4f5bcbdc0bacd2e7ee9dc4b0611509fb091a2d6a79e3d2677d4fb925236a252a44b806c374eec4779
|
||||
MISC metadata.xml 1574 BLAKE2B 01707202ef30f3cdf60f2e01955c7f1d756eb80066b2a057037bdb0d62f214e2e167162eb47fadce04bb808a834b30742fd0b597af287864d59f12f4a1ac8a6e SHA512 a06bde152e261f2aaf5854fc10b8830b12bdfa2ba7b53cd0f0212f3abf7139d7d42c1f1ce4b691de5b28fb70a4c5f5019db4b390557368d52cc8c42119f88d2c
|
||||
MISC metadata.xml 1717 BLAKE2B 9bacda544318b48fc7b97139e22f95c2b3f9a5bc29ad4660db9ead6a89859e16eebbcc2d54d5a2639f7a1d458fcf2b39ef9eb846589cffc1d111b256678e3777 SHA512 7b18d2124bd99d77715d1ce44d2a154799d5055fef4734b06e159d73b598ef8065c0f18076fe7ff4bc59f2b995ccd7eaa125aae1fa5fc726da79c7c3f3873c3c
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue