From 6854913aa1a57839328baafb435b84f9baacae65 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 17 May 2023 22:10:38 +0100 Subject: gentoo auto-resync : 17:05:2023 - 22:10:37 --- dev-util/Manifest.gz | Bin 68444 -> 68438 bytes dev-util/android-studio/Manifest | 4 +- .../android-studio-2022.3.1.14.ebuild | 125 --------------------- .../android-studio-2023.1.1.4.ebuild | 125 +++++++++++++++++++++ dev-util/pkgcheck/Manifest | 2 + dev-util/pkgcheck/pkgcheck-0.10.24.ebuild | 94 ++++++++++++++++ 6 files changed, 223 insertions(+), 127 deletions(-) delete mode 100644 dev-util/android-studio/android-studio-2022.3.1.14.ebuild create mode 100644 dev-util/android-studio/android-studio-2023.1.1.4.ebuild create mode 100644 dev-util/pkgcheck/pkgcheck-0.10.24.ebuild (limited to 'dev-util') diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz index a4e5bd0a31ff..c2eb4094a2e5 100644 Binary files a/dev-util/Manifest.gz and b/dev-util/Manifest.gz differ diff --git a/dev-util/android-studio/Manifest b/dev-util/android-studio/Manifest index e037b6abaede..fae879a1497b 100644 --- a/dev-util/android-studio/Manifest +++ b/dev-util/android-studio/Manifest @@ -1,3 +1,3 @@ -DIST android-studio-2022.3.1.14-linux.tar.gz 1165562537 BLAKE2B 635b91fdbf390d4f24db21d01ac34092117b837dfbf569bfad6499efc93578e2d83b4451ad316a29b647edbe8dbee02f1ac195769ee2fd7976fe8b43cfa3886e SHA512 e258cd3ba0f371c8950b61953586418982e34c1cd7bd7e9538ca0dfe68544ea178e68faaa1cd967df1b53d63f29fcbacb2f04805742e9028296233531c2aa43e -EBUILD android-studio-2022.3.1.14.ebuild 4338 BLAKE2B 885f3fe8434a60fc6d9b8308440bc7f69d554ce6fba3e6946595c6407d4bf2d82dad099e0a4517710bb3c9bfff7ad8c01ba958bb961dd5a8bb6d7e9b219fac10 SHA512 ad32f8e289351996dccc9b9f0e8e748f2041973f4a425b470902a524fabc270486b53f50ca71c64c9c4bf8f5d99fd871af4d47f7f78dcca4c5d81d38638e3c29 +DIST android-studio-2023.1.1.4-linux.tar.gz 1179983294 BLAKE2B 3aecde140714a976b29f7954cf0a7eab9483c75618b347ee01bfa0d7a6f0d295105fbb5f2afb987bdc4bac6fa7d7c884506e1d8895af0394a8dc9beeca0b939d SHA512 b58fb92812ba842f2ece000a5982182641b2dd7d1fcac6ae9f048d030b45535d195f341fdcbbe3434b7591685cef133fc6fc937f8f07c075527ca6281dfa9cd1 +EBUILD android-studio-2023.1.1.4.ebuild 4338 BLAKE2B 885f3fe8434a60fc6d9b8308440bc7f69d554ce6fba3e6946595c6407d4bf2d82dad099e0a4517710bb3c9bfff7ad8c01ba958bb961dd5a8bb6d7e9b219fac10 SHA512 ad32f8e289351996dccc9b9f0e8e748f2041973f4a425b470902a524fabc270486b53f50ca71c64c9c4bf8f5d99fd871af4d47f7f78dcca4c5d81d38638e3c29 MISC metadata.xml 298 BLAKE2B 8f13e01e8c5a24c9af764e8882e2d5677ebf485cad143f35720ede0d491f2c09fd009ce48433cd33f863fb618d6413eac97e07a6d3526f5c8e679d9e51995908 SHA512 2c9d3c5d14e2499fac58df1d3cb2844172833f371fe4d557791efc0848b879191bca36aa772792cea6edd8f6e3be83452a188c0db043906a46c87af0dcacd4e2 diff --git a/dev-util/android-studio/android-studio-2022.3.1.14.ebuild b/dev-util/android-studio/android-studio-2022.3.1.14.ebuild deleted file mode 100644 index 2b1e3ce86fba..000000000000 --- a/dev-util/android-studio/android-studio-2022.3.1.14.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop wrapper - -RESTRICT="bindist mirror strip" - -QA_PREBUILT=" - opt/${PN}/bin/* - opt/${PN}/jbr/bin/* - opt/${PN}/jbr/lib/* - opt/${PN}/jbr/lib/jli/* - opt/${PN}/jbr/lib/server/* - opt/${PN}/lib/pty4j-native/linux/*/* - opt/${PN}/plugins/android/resources/installer/*/* - opt/${PN}/plugins/android/resources/native/* - opt/${PN}/plugins/android/resources/perfetto/*/* - opt/${PN}/plugins/android/resources/screen-sharing-agent/*/* - opt/${PN}/plugins/android/resources/simpleperf/*/* - opt/${PN}/plugins/android/resources/trace_processor_daemon/* - opt/${PN}/plugins/android/resources/transport/*/* - opt/${PN}/plugins/android/resources/transport/native/agent/*/* - opt/${PN}/plugins/android-ndk/resources/lldb/android/*/* - opt/${PN}/plugins/android-ndk/resources/lldb/bin/* - opt/${PN}/plugins/android-ndk/resources/lldb/lib/python3.9/lib-dynload/* - opt/${PN}/plugins/android-ndk/resources/lldb/lib64/* - opt/${PN}/plugins/design-tools/resources/layoutlib/data/linux/lib64/* - opt/${PN}/plugins/c-clangd/bin/clang/linux/*/* - opt/${PN}/plugins/webp/lib/libwebp/linux/* -" - -DESCRIPTION="Android development environment based on IntelliJ IDEA" -HOMEPAGE="https://developer.android.com/studio" -SRC_URI="https://redirector.gvt1.com/edgedl/android/studio/ide-zips/${PV}/${P}-linux.tar.gz" - -LICENSE="Apache-2.0 android BSD BSD-2 CDDL-1.1 CPL-0.5 - EPL-1.0 GPL-2 GPL-2+ JDOM IJG LGPL-2.1 MIT - MPL-1.1 MPL-2.0 NPL-1.1 OFL ZLIB" -SLOT="0" -IUSE="selinux" -KEYWORDS="~amd64" - -RDEPEND="${DEPEND} - selinux? ( sec-policy/selinux-android ) - >=app-arch/bzip2-1.0.8-r4 - >=dev-libs/expat-2.5.0 - >=dev-libs/libffi-3.4.4 - >=media-libs/fontconfig-2.14.0-r1 - >=media-libs/freetype-2.12.1-r1 - >=media-libs/libpng-1.6.39 - >=media-libs/mesa-22.2.5[X(+)] - || ( gnome-extra/zenity kde-apps/kdialog x11-apps/xmessage x11-libs/libnotify ) - sys-libs/ncurses-compat:5[tinfo] - >=sys-libs/zlib-1.2.13-r1 - >=x11-libs/libX11-1.8.1 - >=x11-libs/libXau-1.0.11 - >=x11-libs/libXdamage-1.1.6 - >=x11-libs/libXdmcp-1.1.4-r2 - >=x11-libs/libXext-1.3.5 - >=x11-libs/libXfixes-6.0.0 - >=x11-libs/libXrender-0.9.11 - >=x11-libs/libXxf86vm-1.1.5 - >=x11-libs/libdrm-2.4.114 - >=x11-libs/libxcb-1.15-r1 - >=x11-libs/libxshmfence-1.3.2 - virtual/libcrypt:= -" - -S=${WORKDIR}/${PN} - -src_compile() { - :; -} - -src_install() { - local dir="/opt/${PN}" - insinto "${dir}" - doins -r * - - fperms 755 "${dir}"/bin/{fsnotifier,format.sh,game-tools.sh,inspect.sh,ltedit.sh,profiler.sh,restart.py,studio.sh} - fperms -R 755 "${dir}"/bin/{helpers,lldb} - fperms -R 755 "${dir}"/jbr/bin - fperms 755 "${dir}"/jbr/lib/{jexec,jspawnhelper} - fperms -R 755 "${dir}"/plugins/Kotlin/kotlinc/bin - fperms -R 755 "${dir}"/plugins/android/resources/installer - fperms -R 755 "${dir}"/plugins/android/resources/perfetto - fperms -R 755 "${dir}"/plugins/android/resources/simpleperf - fperms -R 755 "${dir}"/plugins/android/resources/trace_processor_daemon - fperms -R 755 "${dir}"/plugins/android/resources/transport/{arm64-v8a,armeabi-v7a,x86,x86_64} - fperms -R 755 "${dir}"/plugins/android-ndk/resources/lldb/{android,bin,lib,shared} - fperms 755 "${dir}"/plugins/c-clangd/bin/clang/linux/x64/{clang-tidy,clangd} - fperms -R 755 "${dir}"/plugins/terminal/{,fish} - - newicon "bin/studio.png" "${PN}.png" - make_wrapper ${PN} ${dir}/bin/studio.sh - make_desktop_entry ${PN} "Android Studio" ${PN} "Development;IDE" "StartupWMClass=jetbrains-studio" - - # https://developer.android.com/studio/command-line/variables - newenvd - 99android-studio <<-EOF - # Configuration file android-studio - STUDIO_JDK="${dir}/jbr" - EOF - - # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit - mkdir -p "${D}/etc/sysctl.d/" || die - echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-android-studio-inotify-watches.conf" || die -} - -pkg_postrm() { - elog "Android Studio data files were not removed." - elog "If there will be no other programs using them anymore" - elog "(especially another flavor of Android Studio)" - elog "remove manually following folders:" - elog "" - elog " ~/.android/" - elog " ~/.config/Google/AndroidStudio*/" - elog " ~/.local/share/Google/AndroidStudio*/" - elog " ~/Android/" - elog "" - elog "Also, if there are no other programs using Gradle, remove:" - elog "" - elog " ~/.gradle/" -} diff --git a/dev-util/android-studio/android-studio-2023.1.1.4.ebuild b/dev-util/android-studio/android-studio-2023.1.1.4.ebuild new file mode 100644 index 000000000000..2b1e3ce86fba --- /dev/null +++ b/dev-util/android-studio/android-studio-2023.1.1.4.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop wrapper + +RESTRICT="bindist mirror strip" + +QA_PREBUILT=" + opt/${PN}/bin/* + opt/${PN}/jbr/bin/* + opt/${PN}/jbr/lib/* + opt/${PN}/jbr/lib/jli/* + opt/${PN}/jbr/lib/server/* + opt/${PN}/lib/pty4j-native/linux/*/* + opt/${PN}/plugins/android/resources/installer/*/* + opt/${PN}/plugins/android/resources/native/* + opt/${PN}/plugins/android/resources/perfetto/*/* + opt/${PN}/plugins/android/resources/screen-sharing-agent/*/* + opt/${PN}/plugins/android/resources/simpleperf/*/* + opt/${PN}/plugins/android/resources/trace_processor_daemon/* + opt/${PN}/plugins/android/resources/transport/*/* + opt/${PN}/plugins/android/resources/transport/native/agent/*/* + opt/${PN}/plugins/android-ndk/resources/lldb/android/*/* + opt/${PN}/plugins/android-ndk/resources/lldb/bin/* + opt/${PN}/plugins/android-ndk/resources/lldb/lib/python3.9/lib-dynload/* + opt/${PN}/plugins/android-ndk/resources/lldb/lib64/* + opt/${PN}/plugins/design-tools/resources/layoutlib/data/linux/lib64/* + opt/${PN}/plugins/c-clangd/bin/clang/linux/*/* + opt/${PN}/plugins/webp/lib/libwebp/linux/* +" + +DESCRIPTION="Android development environment based on IntelliJ IDEA" +HOMEPAGE="https://developer.android.com/studio" +SRC_URI="https://redirector.gvt1.com/edgedl/android/studio/ide-zips/${PV}/${P}-linux.tar.gz" + +LICENSE="Apache-2.0 android BSD BSD-2 CDDL-1.1 CPL-0.5 + EPL-1.0 GPL-2 GPL-2+ JDOM IJG LGPL-2.1 MIT + MPL-1.1 MPL-2.0 NPL-1.1 OFL ZLIB" +SLOT="0" +IUSE="selinux" +KEYWORDS="~amd64" + +RDEPEND="${DEPEND} + selinux? ( sec-policy/selinux-android ) + >=app-arch/bzip2-1.0.8-r4 + >=dev-libs/expat-2.5.0 + >=dev-libs/libffi-3.4.4 + >=media-libs/fontconfig-2.14.0-r1 + >=media-libs/freetype-2.12.1-r1 + >=media-libs/libpng-1.6.39 + >=media-libs/mesa-22.2.5[X(+)] + || ( gnome-extra/zenity kde-apps/kdialog x11-apps/xmessage x11-libs/libnotify ) + sys-libs/ncurses-compat:5[tinfo] + >=sys-libs/zlib-1.2.13-r1 + >=x11-libs/libX11-1.8.1 + >=x11-libs/libXau-1.0.11 + >=x11-libs/libXdamage-1.1.6 + >=x11-libs/libXdmcp-1.1.4-r2 + >=x11-libs/libXext-1.3.5 + >=x11-libs/libXfixes-6.0.0 + >=x11-libs/libXrender-0.9.11 + >=x11-libs/libXxf86vm-1.1.5 + >=x11-libs/libdrm-2.4.114 + >=x11-libs/libxcb-1.15-r1 + >=x11-libs/libxshmfence-1.3.2 + virtual/libcrypt:= +" + +S=${WORKDIR}/${PN} + +src_compile() { + :; +} + +src_install() { + local dir="/opt/${PN}" + insinto "${dir}" + doins -r * + + fperms 755 "${dir}"/bin/{fsnotifier,format.sh,game-tools.sh,inspect.sh,ltedit.sh,profiler.sh,restart.py,studio.sh} + fperms -R 755 "${dir}"/bin/{helpers,lldb} + fperms -R 755 "${dir}"/jbr/bin + fperms 755 "${dir}"/jbr/lib/{jexec,jspawnhelper} + fperms -R 755 "${dir}"/plugins/Kotlin/kotlinc/bin + fperms -R 755 "${dir}"/plugins/android/resources/installer + fperms -R 755 "${dir}"/plugins/android/resources/perfetto + fperms -R 755 "${dir}"/plugins/android/resources/simpleperf + fperms -R 755 "${dir}"/plugins/android/resources/trace_processor_daemon + fperms -R 755 "${dir}"/plugins/android/resources/transport/{arm64-v8a,armeabi-v7a,x86,x86_64} + fperms -R 755 "${dir}"/plugins/android-ndk/resources/lldb/{android,bin,lib,shared} + fperms 755 "${dir}"/plugins/c-clangd/bin/clang/linux/x64/{clang-tidy,clangd} + fperms -R 755 "${dir}"/plugins/terminal/{,fish} + + newicon "bin/studio.png" "${PN}.png" + make_wrapper ${PN} ${dir}/bin/studio.sh + make_desktop_entry ${PN} "Android Studio" ${PN} "Development;IDE" "StartupWMClass=jetbrains-studio" + + # https://developer.android.com/studio/command-line/variables + newenvd - 99android-studio <<-EOF + # Configuration file android-studio + STUDIO_JDK="${dir}/jbr" + EOF + + # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit + mkdir -p "${D}/etc/sysctl.d/" || die + echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-android-studio-inotify-watches.conf" || die +} + +pkg_postrm() { + elog "Android Studio data files were not removed." + elog "If there will be no other programs using them anymore" + elog "(especially another flavor of Android Studio)" + elog "remove manually following folders:" + elog "" + elog " ~/.android/" + elog " ~/.config/Google/AndroidStudio*/" + elog " ~/.local/share/Google/AndroidStudio*/" + elog " ~/Android/" + elog "" + elog "Also, if there are no other programs using Gradle, remove:" + elog "" + elog " ~/.gradle/" +} diff --git a/dev-util/pkgcheck/Manifest b/dev-util/pkgcheck/Manifest index c455174ebc07..ac02befef323 100644 --- a/dev-util/pkgcheck/Manifest +++ b/dev-util/pkgcheck/Manifest @@ -1,5 +1,7 @@ AUX 50pkgcheck-gentoo.el 125 BLAKE2B db546b7f4e1517fb4f3bc46eff6a3294c8d677be031ecb33987daa84c355c3628ab7f24bbab90afb24b0bcec6c0ebebb56339374fa35a345481aa9808bd538be SHA512 31bad085867ebecedf0c9c3ed1223e7512238892d69b5224e850d744c5965bf7a2d7cb90978d9cce6da8dc554dba36803d604b8c6ac2b7cc9f2718ef7d6fc644 DIST pkgcheck-0.10.23.tar.gz 568903 BLAKE2B 8b00dc93d0c3f597f7397d2e7b3686d11b12da715d6e8071f1b02a8085061cbb2d7cb24bde6a73ef6e5d1459637cb78e536ce80a162f188a42739a434c62c397 SHA512 3bcdb91bf73cde60fd9fc2f5e470c5ccdfd7b3564e83192201b0fa1dc38265e1e0c7f7052039accbb62c55d816a6e89317d7d388c0cc3da3b4836475cb82bd03 +DIST pkgcheck-0.10.24.tar.gz 572336 BLAKE2B 851d6e8d8a5402c539cb690e6e915d3875658f0f4c9e60e8f506d6a663d0732993f2af7a46b3dcf7c2fba11a3d7b521753aa537a893796b8cda216c9e9d370af SHA512 bb0eb962d9d6cafc5b4ca1280307aae8e154d813151841373334971b7613099ebeeb2b9eb3ca9755da43d76a6448b6a8f6570201810b182cf868a172992b40a5 EBUILD pkgcheck-0.10.23.ebuild 2161 BLAKE2B 205f7a20d466ec9d3300d373e9aefea4420489b251b077543375fcf40636820fe2d258f8c10421434f167f4654e1da69d4b21c36b493236c241ff10929c2462e SHA512 3ac329f184a5708c80e3d1096c964054126f5d1f367598d881c526861160f0dab970ef9c2ee49db43fbbfd1f0af13a9c1edcca5d72a5ca7ff566ced3e82825ea +EBUILD pkgcheck-0.10.24.ebuild 2169 BLAKE2B e94f98e25963292d6581d4e167816da3b62ecc26c93bb7810365b3c1d6978ed803a4c8176065035202c2184e8b54abfdf0b443e18d0e7d619a3762086a0a96f8 SHA512 57aeb9a89927976fd235f0ff5f6fc625dba260ef81a937f85a9e72380e30f091287ad32d4781b9971222640f17855b99f4fb17018e59f74ea1dac2f877997023 EBUILD pkgcheck-9999.ebuild 2169 BLAKE2B e94f98e25963292d6581d4e167816da3b62ecc26c93bb7810365b3c1d6978ed803a4c8176065035202c2184e8b54abfdf0b443e18d0e7d619a3762086a0a96f8 SHA512 57aeb9a89927976fd235f0ff5f6fc625dba260ef81a937f85a9e72380e30f091287ad32d4781b9971222640f17855b99f4fb17018e59f74ea1dac2f877997023 MISC metadata.xml 455 BLAKE2B b544db3532ef1da966833d5edbc79988cc1fd85b6d6276476684b49d4485814d6e2d969e742d3633c8176e7f37cae6614dae1654fd1424d71475f022166f6e6a SHA512 5abd1584f486e88992bab8c51c191b4915a5854752130f8a591147ff4b2af2102fdc8ab182e7358c3e4bbb3fdc8400563a250e2dba1793d365f0edc7c5f7c33a diff --git a/dev-util/pkgcheck/pkgcheck-0.10.24.ebuild b/dev-util/pkgcheck/pkgcheck-0.10.24.ebuild new file mode 100644 index 000000000000..95b29b01a08f --- /dev/null +++ b/dev-util/pkgcheck/pkgcheck-0.10.24.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) +inherit elisp-common distutils-r1 optfeature + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/pkgcore/pkgcheck.git + https://github.com/pkgcore/pkgcheck.git" + inherit git-r3 +else + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + inherit pypi +fi + +DESCRIPTION="pkgcore-based QA utility for ebuild repos" +HOMEPAGE="https://github.com/pkgcore/pkgcheck" + +LICENSE="BSD MIT" +SLOT="0" +IUSE="emacs" + +if [[ ${PV} == *9999 ]]; then + RDEPEND=" + ~dev-python/snakeoil-9999[${PYTHON_USEDEP}] + ~sys-apps/pkgcore-9999[${PYTHON_USEDEP}]" +else + RDEPEND=" + >=dev-python/snakeoil-0.10.4[${PYTHON_USEDEP}] + >=sys-apps/pkgcore-0.12.18[${PYTHON_USEDEP}]" +fi +RDEPEND+=" + dev-libs/tree-sitter + dev-libs/tree-sitter-bash + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/lazy-object-proxy[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pathspec[${PYTHON_USEDEP}] + >=dev-python/tree-sitter-0.19.0[${PYTHON_USEDEP}] + emacs? ( + >=app-editors/emacs-24.1:* + app-emacs/ebuild-mode + app-emacs/flycheck + ) +" +BDEPEND="${RDEPEND} + dev-python/wheel + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +SITEFILE="50${PN}-gentoo.el" + +distutils_enable_tests pytest + +export USE_SYSTEM_TREE_SITTER_BASH=1 + +src_compile() { + distutils-r1_src_compile + + if use emacs ; then + pushd "${S}"/contrib/emacs >/dev/null || die + elisp-compile *.el + popd >/dev/null || die + fi +} + +python_install_all() { + local DOCS=( NEWS.rst ) + [[ ${PV} == *9999 ]] || doman man/* + distutils-r1_python_install_all + + if use emacs ; then + elisp-install ${PN} "${S}"/contrib/emacs/*.el{,c} + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen + + optfeature "Network check support" dev-python/requests + optfeature "Perl module version check support" dev-perl/Gentoo-PerlMod-Version +} + +pkg_postrm() { + use emacs && elisp-site-regen +} -- cgit v1.2.3