summaryrefslogtreecommitdiff
path: root/dev-util
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-24 17:40:43 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-24 17:40:43 +0000
commit24ee8c58752f0dc4376961a28f7364e6d7c7a7aa (patch)
tree0a71618e774dce4efc0ddc7808557a03925de8d9 /dev-util
parenta625efe29cec7f7c437cf33a956ea99eed1e4bd9 (diff)
gentoo auto-resync : 24:02:2024 - 17:40:43
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/Manifest.gzbin64609 -> 64605 bytes
-rw-r--r--dev-util/bpftool/Manifest3
-rw-r--r--dev-util/bpftool/bpftool-6.7.6.ebuild118
-rw-r--r--dev-util/google-perftools/Manifest2
-rw-r--r--dev-util/google-perftools/google-perftools-2.15.ebuild6
-rw-r--r--dev-util/ostree/Manifest2
-rw-r--r--dev-util/ostree/ostree-2024.3.ebuild121
-rw-r--r--dev-util/pycharm-professional/Manifest11
-rw-r--r--dev-util/pycharm-professional/pycharm-professional-2021.1.2-r1.ebuild124
-rw-r--r--dev-util/pycharm-professional/pycharm-professional-2021.3.2-r1.ebuild122
-rw-r--r--dev-util/pycharm-professional/pycharm-professional-2021.3.3-r1.ebuild122
-rw-r--r--dev-util/pycharm-professional/pycharm-professional-2022.1-r1.ebuild124
-rw-r--r--dev-util/pycharm-professional/pycharm-professional-2023.3.3.ebuild146
13 files changed, 394 insertions, 507 deletions
diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz
index 067e0aaab306..9dd8903465a4 100644
--- a/dev-util/Manifest.gz
+++ b/dev-util/Manifest.gz
Binary files differ
diff --git a/dev-util/bpftool/Manifest b/dev-util/bpftool/Manifest
index 6433d71fb362..568f6bd6dfd4 100644
--- a/dev-util/bpftool/Manifest
+++ b/dev-util/bpftool/Manifest
@@ -1,7 +1,10 @@
DIST linux-6.5.tar.xz 138898084 BLAKE2B 2e641b79a080e8f4ce283bcf6b74e2c6f15a374367f1c4c875c663868dbe801317340824fb3adb46b3a51d3b7e1f67cc4e8144d367621ec43ffba5c4eb8abb39 SHA512 1b59dc5e65d4922c3217a8c8f19022dfd6595ae89747861d825bfeb51a4ae6c85449d05db69635a712bef7b355b80318195665582d8933b1fed6ba582f6ff257
DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
+DIST linux-6.7.tar.xz 141406528 BLAKE2B cecdbd19905e43e485ab73b352ced18b37f2a138c97a6956cadcda5d3d271001117dc1cf896b166ff019fc7f405f9539e2ed0d6112b0890efb04d182adf4fd0e SHA512 de06de556191614bd9daf077ae239360352a402bab407748e67f1e5108c92fd933e451707840ab22fe0f9976db3d1e1b60ca9d41cf894f015ca09b3f652b74ad
DIST patch-6.5.7.xz 561404 BLAKE2B 98f6fe0a43562cc60ada3596443e56966742de6ec2ef243331d22a4f345ad5741a5fe136e03ae0a5016fec4234bb89e6a6262076d3e5a449c53bb78ee7fb1175 SHA512 4c77a595fa76e8b0a07aff0aa681af7ae3d91231964662158b6a484ba477679d85dae8e12152ea95893d0794c6cef4f1394f908b7da6d6bf34b59d8b33d8c392
DIST patch-6.6.8.xz 587540 BLAKE2B 4794b1b4415b8369b856a4b04d23931903a84d7f660e5cbf5677c359dba3c64cdb55606325ad2be1ce7878cd0daa95d2318dbf5ef12006ad37c9a69cd74b2dae SHA512 1bdf6186ef52831d508dacf740ce6c18eccca71a6426e294d5d47ebfff26a716c58db1963c439760ef104a594db5fa888d3374bc113af229794cca9362692dfe
+DIST patch-6.7.6.xz 583872 BLAKE2B 123dfd4170680917ebf16c3c7f3ab31754637c962dca5e5f5d52dd702a46bb68b01ca3a5b3c2482db34841f139871126576d30703825f8ca2dda2d8bfc4ed7e2 SHA512 ab5bef028a6c61e3c6432d49e95d88aec97140d7f8b295a71ba96b08254199343f93f11da4b34ab2482015adb0d1816b6719a21f8a0f2b1dd1bd96fcd3a72d2e
EBUILD bpftool-6.5.7.ebuild 2903 BLAKE2B 87f95b114db4f37815ef0f9d35a3b32e9a1f89fa7f0210ec2520a1b9b5bea948197159ffff8871f755bd127fb1041c3e7b0942f0148f406a937d1706c4acb677 SHA512 67b56ea325d71a5f27c2004ad2743e35cd14ceddfb72ecc631e172422953f5af04b428ad804f41666d1bd3a2f33c20b32b217fc339af51aaec4c03187dde4e17
EBUILD bpftool-6.6.8.ebuild 2904 BLAKE2B f5b3e6d184fd825c036dcb8e2dbde9c2d278530d3b6662285a1eaa1a5e0406118f2d2ecd1e327464b6f729308bde5260e5c90ee733ccdc3e06f31e23d5f53e95 SHA512 d5c5da1796fd52b9f7c414574f6d04f49203f05ace439a8409e699429b357afaf52008b7ff639b5ee5ba7088a0e64ef1def27cf175f2e917f799772095d095af
+EBUILD bpftool-6.7.6.ebuild 2905 BLAKE2B 50bd404deb21b0ba46e0fa27b103acaaeb97e9930a89f46075baa4f84593428d2c41536c23e244745baa8de6d9cb5ccecc6bd8e6676648de0934473ab02b309a SHA512 d75ec07baa0a3b162fb2615eec581f717bc23e524d66e7f43f0a51aa418e6a9256821140f5334cb29585d414b77007fec94fc76ffaf900e074516578db19ae43
MISC metadata.xml 356 BLAKE2B 4cc2dafd4a125f2144fc8537377c1857c4cf3ace56242965c41f29b5601b346b211ae8a05459b555569b4a11d2eed39345f02c3fe27ba8a8f93117969ee8b8cc SHA512 c2c0f149fbec22400163df406cdc10df537bef638251eeabc332709992e7470c323b366cfc465d6ecf14f2d84065660cccefef7a5ca45980d679b645ebf664be
diff --git a/dev-util/bpftool/bpftool-6.7.6.ebuild b/dev-util/bpftool/bpftool-6.7.6.ebuild
new file mode 100644
index 000000000000..97be10f5b785
--- /dev/null
+++ b/dev-util/bpftool/bpftool-6.7.6.ebuild
@@ -0,0 +1,118 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+inherit estack linux-info optfeature python-any-r1 bash-completion-r1 toolchain-funcs
+
+MY_PV="${PV/_/-}"
+MY_PV="${MY_PV/-pre/-git}"
+
+DESCRIPTION="Tool for inspection and simple manipulation of eBPF programs and maps"
+HOMEPAGE="https://kernel.org/"
+
+LINUX_V="${PV:0:1}.x"
+LINUX_VER=$(ver_cut 1-2)
+LINUX_PATCH=patch-${PV}.xz
+SRC_URI="https://www.kernel.org/pub/linux/kernel/v${LINUX_V}/${LINUX_PATCH}"
+
+LINUX_SOURCES="linux-${LINUX_VER}.tar.xz"
+SRC_URI+=" https://www.kernel.org/pub/linux/kernel/v${LINUX_V}/${LINUX_SOURCES}"
+
+S_K="${WORKDIR}/linux-${LINUX_VER}"
+S="${S_K}/tools/bpf/bpftool"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+IUSE="caps"
+
+RDEPEND="
+ sys-libs/binutils-libs:=
+ sys-libs/zlib:=
+ virtual/libelf:=
+ caps? ( sys-libs/libcap:= )
+"
+DEPEND="
+ ${RDEPEND}
+ >=sys-kernel/linux-headers-5.8
+"
+BDEPEND="
+ ${LINUX_PATCH+dev-util/patchutils}
+ ${PYTHON_DEPS}
+ app-arch/tar
+ dev-python/docutils
+"
+
+CONFIG_CHECK="~DEBUG_INFO_BTF"
+
+# src_unpack and src_prepare are copied from dev-util/perf since
+# it's building from the same tarball, please keep it in sync with perf
+src_unpack() {
+ local paths=(
+ tools/bpf kernel/bpf
+ tools/{arch,build,include,lib,perf,scripts} {scripts,include,lib} "arch/*/lib"
+ )
+
+ # We expect the tar implementation to support the -j and --wildcards option
+ echo ">>> Unpacking ${LINUX_SOURCES} (${paths[*]}) to ${PWD}"
+ gtar --wildcards -xpf "${DISTDIR}"/${LINUX_SOURCES} \
+ "${paths[@]/#/linux-${LINUX_VER}/}" || die
+
+ if [[ -n ${LINUX_PATCH} ]] ; then
+ eshopts_push -o noglob
+ ebegin "Filtering partial source patch"
+ filterdiff -p1 ${paths[@]/#/-i } -z "${DISTDIR}"/${LINUX_PATCH} \
+ > ${P}.patch
+ eend $? || die "filterdiff failed"
+ eshopts_pop
+ fi
+
+ local a
+ for a in ${A}; do
+ [[ ${a} == ${LINUX_SOURCES} ]] && continue
+ [[ ${a} == ${LINUX_PATCH} ]] && continue
+ unpack ${a}
+ done
+}
+
+src_prepare() {
+ default
+
+ if [[ -n ${LINUX_PATCH} ]] ; then
+ pushd "${S_K}" >/dev/null || die
+ eapply "${WORKDIR}"/${P}.patch
+ popd || die
+ fi
+
+ # dev-python/docutils installs rst2man.py, not rst2man
+ sed -i -e 's/rst2man/rst2man.py/g' Documentation/Makefile || die
+}
+
+bpftool_make() {
+ local arch=$(tc-arch-kernel)
+ tc-export AR CC LD
+
+ emake V=1 VF=1 \
+ HOSTCC="$(tc-getBUILD_CC)" HOSTLD="$(tc-getBUILD_LD)" \
+ EXTRA_CFLAGS="${CFLAGS}" ARCH="${arch}" BPFTOOL_VERSION="${MY_PV}" \
+ prefix="${EPREFIX}"/usr \
+ bash_compdir="$(get_bashcompdir)" \
+ feature-libcap="$(usex caps 1 0)" \
+ "$@"
+}
+
+src_compile() {
+ bpftool_make
+ bpftool_make -C Documentation
+}
+
+src_install() {
+ bpftool_make DESTDIR="${D}" install
+ bpftool_make mandir="${ED}"/usr/share/man -C Documentation install
+}
+
+pkg_postinst() {
+ optfeature "clang-bpf-co-re support" sys-devel/clang[llvm_targets_BPF]
+}
diff --git a/dev-util/google-perftools/Manifest b/dev-util/google-perftools/Manifest
index d35df5762d38..4604246fe9f8 100644
--- a/dev-util/google-perftools/Manifest
+++ b/dev-util/google-perftools/Manifest
@@ -3,6 +3,6 @@ DIST gperftools-2.10.tar.gz 926512 BLAKE2B e92fb751f9e695d21edf5fce443f3d3641fcf
DIST gperftools-2.15.tar.gz 888271 BLAKE2B 0fb627e36d6677d01081b1d566ad42eee8b87ab94a07cbbc4536a1671b539354bc0d27f6eab249e94317f0d57a9801551aa3b2cceae784231ac69528b61d4d6e SHA512 04551bdfac50812dd8305e0fe6f6ae5b8603f18a5f9cde56657daa634982bfb5eb5303721ea6a8e02f4177aa012535216f1c99b9eda4ce92f046982df41fbcd1
DIST gperftools-2.9.1.tar.gz 924910 BLAKE2B fcf0491e42ff4212a63ab0af422f27f5a625c53a0b33e69f8dede96b004a0f01af104d9791a4b75d38145ae0059f5e2967ea1d09b0712cc4d930ef7aafd4f3ba SHA512 5e07f28da9afc5f1ba3df7f06ad0e146c171d33e1779bbaab21547ed234aaced02e5278c1eb8f92fc45480abd2474d6a2d4c71644fb9378f41088c56cc1bc8ab
EBUILD google-perftools-2.10-r1.ebuild 3008 BLAKE2B e4bdf9ad5f624f83f1af741d06abc15ad08e04fd09e8b9e629cafba48034e9bd83a1e11dc5185ec84d736de5d43a259c0d34e7dd26234d19e4847f9ad8c024be SHA512 a3b5a75cd8ee5fad655320308c317cb7dfa3718cb3adc4be7cd4a790a2665b0824cf989fb002c19bf0956844aff9f89bb36b886fd5b169146e6461fd4b764b6a
-EBUILD google-perftools-2.15.ebuild 3359 BLAKE2B 9f472190b3cf3b308f16d0d93b00cc7ff43a9a829a2a5996bf30d353c7588386e15b7f7e9ef8cbc612c60e386df2e5bd888363c0b014222de7ac6f28faef3343 SHA512 e01b408c4762dee30f99c66fb5dfa72bfc6762c79d7709e13600b27584ff8be6fdf21d8186d7eef42167d54bf9a3df7109b8a31458913992da602182a5e0a8ea
+EBUILD google-perftools-2.15.ebuild 3209 BLAKE2B c37c5ce60a7c57a6d951d66c1d16a405d50cec5a4a0ab6d49c82c26795f7f09f6e2cd114e83f725255aadac5dd7e4141df5c9d24ef8c108ca44f6df14766bfe6 SHA512 14bd3b0e331292c78a6d5d9e7a3348808c56f08143556fc98f8e446adc91f21432cd391a85955dbc1847461681dee421ead5954a2f19aad2aec96f08c43912f0
EBUILD google-perftools-2.9.1-r2.ebuild 3138 BLAKE2B ce4ec06f068b4b4b3ed05000e4f6549c33b94dd0f204e94a22289d7c4b3b2c38270978905a7a26036a912b8665ae6cccf47dddd894287206919deec5d2d88d6c SHA512 2c0ef217d45aa7a31b427637ac32d3959ab5cb838a6bbccc9978a9bab2d263f487a3ba49a50e96658a9b3a64511d52589dafadf4435160d351161779f992d1c3
MISC metadata.xml 2014 BLAKE2B 23bf92b2a94e890320b073d4d27fab2e680d3fb3e5eb9e5fdb6519acb5df8543d4a75e704c908a112f2342d7b81f6f6c1803ad723870f87205cb045370770c01 SHA512 a4cf9f45a166a458c8a6dea731d32e4ef0da44f19138bcf14289d011540926f9aab2852ba50ef48177513dc4af61fe7809496937039bbd4c594635a81f7547be
diff --git a/dev-util/google-perftools/google-perftools-2.15.ebuild b/dev-util/google-perftools/google-perftools-2.15.ebuild
index 93208aa22f2d..3473536452ff 100644
--- a/dev-util/google-perftools/google-perftools-2.15.ebuild
+++ b/dev-util/google-perftools/google-perftools-2.15.ebuild
@@ -89,12 +89,6 @@ multilib_src_configure() {
}
src_test() {
- if has sandbox ${FEATURES}; then
- ewarn "Unable to run tests when sandbox is enabled."
- ewarn "See https://bugs.gentoo.org/290249"
- return 0
- fi
-
multilib-minimal_src_test
}
diff --git a/dev-util/ostree/Manifest b/dev-util/ostree/Manifest
index 5dc85895e254..32c3aed7e910 100644
--- a/dev-util/ostree/Manifest
+++ b/dev-util/ostree/Manifest
@@ -5,9 +5,11 @@ DIST ostree-2023.1.tar.xz 2079904 BLAKE2B 993570624cb43684d81fff9f3789a9cee3b998
DIST ostree-2023.2.tar.xz 2081320 BLAKE2B f773bf979b4bc97b9b8f96dc4385745bc386c29952a36c07cdd33a7db7802876ce154b5ac1f3669605ab3949a539aa8e2b3a3d94608557eb65249b5188f9d012 SHA512 549a2bdf8cef93d421aaf990e2d1c534063f0314b5933db7ce123bdd138229e24cc171d541296e45a7546a91d35149c1c8f29ea90949876200c574e7ec297b98
DIST ostree-2023.3.tar.xz 2075168 BLAKE2B 6e699420a89b36520e60a5682a421fd8f10eb20702abe6af97be9ee78a04be98e8d164157d29726de9e63b869051f7e60f199776ea3d959d4f0ad4165ff780c6 SHA512 af3b80d55e15b515e860ab0ee5f061f1a4d649b21441d5cde66e71ff4349ef480565cb795838ebce2f42784d53e349c2443159d9ee452277001d930ba814fe40
DIST ostree-2023.5.tar.xz 2115184 BLAKE2B ac1fa6764e1b7e5cd6656f2977b2605e3d2c612e6ee426fc8dbd7c84d6aebe72159943d7c2e53a2898aee6c085814228df772edc35b93daa23cb14bbb5642a6f SHA512 0bb19f199344d8db7299cf710f2ba0b2657cdcb5b1fc6d85446cef9538b069e470b47fc0c2c1029e12b8b9adb978f32a6f44f48949ff5c97a01051a425a9f2d5
+DIST ostree-2024.3.tar.xz 2141876 BLAKE2B 5a2639b99697eaf3f0a94d619c5121cb095bd21813af800041a9a4a077240ed4508c96fb67387f850a42bc4058c99d2d260ff66b0cee2fc89df64dae0b9b0508 SHA512 717e74bdaffe839acad68169d4a0290b3d81f2fb31329d02c507168b00b0b02928e2bb29c8c8fcef65a6581b98d9bad991adcde1579597b4be94822546c66573
EBUILD ostree-2023.1.ebuild 2824 BLAKE2B 144f93d943f0879e9104d78996600c50c7e6f936a578baf15b13f65191f8299ef45805008111443d00ac6dc85d270c48403d1bcf8bfbb090be8ce899e49f32aa SHA512 7b44a33dfbd808708009cb3c7e6f4b92bdf9d6a6c7f657bc86033451435ad5907f7e1dbeca45a7eaab24e394159ef0e96a3a9f691bfc7b093c92f5158d3a58e9
EBUILD ostree-2023.2.ebuild 2648 BLAKE2B 78913397d1fb4e66e80e1177892729c32ad390985bc5b4dc0acb84e993f9dac3ca7713df21fbcc895ce345d1ad6a4794c464b24f781fec5f8f87209687c0390b SHA512 8fd009570f3e6bf88ff7c842e0a35ad7b8064d2eac28ece04bbf8cdb89b414b48be0143a85cec719e1f2c90f9cfc1d34a97c8e2cebe174e5409c1f3c93e45f68
EBUILD ostree-2023.3-r1.ebuild 2732 BLAKE2B 1275dcb62949f523234a8fa451c8c623da3d9d9152f95bfa7d35ade28ae1770ee750591c6fbd68b1fc816eb3c65fdbc383f1ed466e3eddb1f924106ca79ecd71 SHA512 18a9e744b016e9d910ab5aa3b839edaed3ddee8dfb378509651830f764572920e85d17870eb3c92556d81074ad1b0a004bba9ffe946d2bd1d8e94a5e3744db3b
EBUILD ostree-2023.3.ebuild 2648 BLAKE2B 78913397d1fb4e66e80e1177892729c32ad390985bc5b4dc0acb84e993f9dac3ca7713df21fbcc895ce345d1ad6a4794c464b24f781fec5f8f87209687c0390b SHA512 8fd009570f3e6bf88ff7c842e0a35ad7b8064d2eac28ece04bbf8cdb89b414b48be0143a85cec719e1f2c90f9cfc1d34a97c8e2cebe174e5409c1f3c93e45f68
EBUILD ostree-2023.5.ebuild 2746 BLAKE2B a5fdea61ea98c8abf61e48694becfa1279179403bff4ac14b28c7dee7b8d5229a61459f1e73ef395608eb1eb51c79fb7c2fdebba6ff8fc7d050a2fdb408ecf62 SHA512 8bb9bbb686e8fa50b7ac6fd86b34c08ffc4bc146407839230a6fa6ec460af4e2f207366cd785d06e81d01c04c0a062730c083cbcffb89d8e25d9022a8122bf6f
+EBUILD ostree-2024.3.ebuild 2748 BLAKE2B d73a3c8c76b1fbb15143ccb9cfd03f616f5f79635dd69adc32d617ddab6dedd91ded90ffc1042bc55ae85597f5fd6e7803ee2d16ace5719def3bca540b617538 SHA512 a4941033c1c2e52dafc4f0bd6735fc55a70332a77ee4f362144bf33ca0109aa65e4484f1566cbcca591a96e88e3b39b07a3b9882b3da6d80a66e1e138958d4ef
MISC metadata.xml 1952 BLAKE2B 8beae590951167b42061d4b3f343f2cc87da76bb73bd613ec5eaa3186dae811ed96aacf94bebf321f1df8374df2240f1d904f62b6e8fde99cedbd487b4006a23 SHA512 3e11315c573b2244d9f5d0949efad4d2ed9fefd7939d5bd815a28d9b8d4c3892ddb4fc0fe8ae5c09d6d7793af6ea3dc803a049e0e2e1446e86f8c1e84de4ec9f
diff --git a/dev-util/ostree/ostree-2024.3.ebuild b/dev-util/ostree/ostree-2024.3.ebuild
new file mode 100644
index 000000000000..295c98e3a0b9
--- /dev/null
+++ b/dev-util/ostree/ostree-2024.3.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools systemd tmpfiles
+
+DESCRIPTION="Operating system and container binary deployment and upgrades"
+HOMEPAGE="https://ostreedev.github.io/ostree/"
+SRC_URI="
+ https://github.com/ostreedev/ostree/releases/download/v${PV}/lib${P}.tar.xz
+ -> ${P}.tar.xz
+"
+S="${WORKDIR}/lib${P}"
+
+LICENSE="LGPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="archive +curl doc dracut gnutls +gpg grub +http2 httpd introspection libmount selinux sodium ssl +soup systemd zeroconf"
+RESTRICT="test"
+REQUIRED_USE="
+ dracut? ( systemd )
+ http2? ( curl )
+ httpd? ( || ( curl soup ) )
+"
+
+RDEPEND="
+ app-arch/xz-utils
+ dev-libs/glib:2
+ sys-fs/fuse:3
+ sys-libs/zlib
+ archive? ( app-arch/libarchive:= )
+ curl? ( net-misc/curl )
+ dracut? ( sys-kernel/dracut )
+ gpg? (
+ app-crypt/gpgme:=
+ dev-libs/libgpg-error
+ )
+ grub? ( sys-boot/grub:2= )
+ introspection? ( dev-libs/gobject-introspection )
+ libmount? ( sys-apps/util-linux )
+ selinux? ( sys-libs/libselinux )
+ sodium? ( >=dev-libs/libsodium-1.0.14:= )
+ soup? ( net-libs/libsoup:3.0 )
+ ssl? (
+ gnutls? ( net-libs/gnutls:= )
+ !gnutls? (
+ dev-libs/openssl:0=
+ )
+ )
+ systemd? ( sys-apps/systemd:0= )
+ zeroconf? ( net-dns/avahi[dbus] )
+"
+DEPEND="${RDEPEND}
+ app-text/docbook-xml-dtd:4.2
+ app-text/docbook-xsl-stylesheets
+ doc? (
+ dev-util/gtk-doc
+ app-text/docbook-xml-dtd:4.3
+ )
+"
+BDEPEND="
+ dev-libs/libxslt
+ dev-util/glib-utils
+ sys-devel/flex
+ sys-devel/bison
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/ostree-2023.3-dont-force-clang-introspection.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # Needs Bison (bug #884289)
+ unset YACC
+
+ local econfargs=(
+ --enable-man
+ --enable-shared
+ --with-grub2-mkconfig-path=grub-mkconfig
+ --with-modern-grub
+ $(use_with archive libarchive)
+ $(use_with curl)
+ $(use_with dracut dracut yesbutnoconf) #816867
+ $(use_enable doc gtk-doc)
+ $(usex introspection --enable-introspection={,} yes no)
+ $(use_with gpg gpgme)
+ $(use_enable http2)
+ $(use_enable httpd trivial-httpd-cmdline)
+ $(use_with selinux )
+ $(use_with soup soup3)
+ --without-soup # libsoup:2.4
+ $(use_with libmount)
+ $(use ssl && { use gnutls && echo --with-crypto=gnutls || echo --with-crypto=openssl; })
+ $(use_with sodium ed25519-libsodium)
+ $(use_with systemd libsystemd)
+ $(use_with zeroconf avahi)
+ )
+
+ if use systemd; then
+ econfargs+=( --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" )
+ fi
+
+ unset ${!XDG_*} #657346 g-ir-scanner sandbox violation
+ econf "${econfargs[@]}"
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+ tmpfiles_process ostree-tmpfiles.conf
+}
diff --git a/dev-util/pycharm-professional/Manifest b/dev-util/pycharm-professional/Manifest
index 8d208544944f..c36282e5dc2c 100644
--- a/dev-util/pycharm-professional/Manifest
+++ b/dev-util/pycharm-professional/Manifest
@@ -1,12 +1,7 @@
AUX README.gentoo 169 BLAKE2B fc7191056cb5de1fedf9a7e9516029e8ee50f7ab3749e05c73156f63892b1e126ac068d5b2f271d1b71a77486205848cce72452d671692418b6e09e8e25da60e SHA512 a0254552b98b6ec8dadd91ed7df35bf990d08025d8352366f58ecabe94cdde2df64d8665447d0a2ffc1edacdeb05124c2a82722d5ad70b614d90bb0ae38544d2
-DIST pycharm-professional-2021.1.2.tar.gz 580807899 BLAKE2B ba21f9ba000c34f3073b778b7314c727e5204de480afd34fd79e97aca2da673252324897d3f40bda998e8d6ad2645c173f9c0abfbaf745de2c58782faa18c29d SHA512 c76c3113c620084cb6a3a647998cde61b3a6b2e9ff05870469f3f980295d5853911521095e26fae365cd94d2f6843866ced39db5e510bef3495931c60094f49c
-DIST pycharm-professional-2021.3.2.tar.gz 641411471 BLAKE2B 783ec78e87663b464f8aee41ef561e2bb4d44b2b5eb87cf320f32d5edcb36a36da294639f76ef13588aaac45a9ffe4db0fe91032a1fbdf62581990ad7df3f672 SHA512 abb59cfa74afa1fc7bc0590cfb6fe8afa3bf3adbc25a4eccc2f80974f43f47300f3587edba269f3044cd84e9ccff346e9a78c6ce43e6159945b3740afb9685c1
-DIST pycharm-professional-2021.3.3.tar.gz 640922827 BLAKE2B c1b622b7e633b4855c3b5bf7d5ebe470b383238c7a91bbdac6b80c5fa297710542ae409043b999f97c79ce99c4d30b5be88e95eca9e642c8a3bd8235dd26c7cf SHA512 6d2ea59716129b30fca15900b8af4a5845d183042febfd33d1553443367dae2d9e80a5386d621ba6128ee67f7c2bc70c2b1da785eb287d4aa7091da75f23b3a1
-DIST pycharm-professional-2022.1.tar.gz 676891799 BLAKE2B fc115fd2fa8d8c73f48bf7369bccafcc1f80bed36d4fdb3225377631ac546b76452ac84d3b4230ff7b2278b93a7f13723e1b6429e902d6a240d21f36fbc1c9b3 SHA512 92afed366063dcba17e1ebc74da0900061055bc998180378a416cde6c6ded5a572869b793f1a8b74d5499ef2da2fb19ca3725e003de788c222193b45d045bf84
DIST pycharm-professional-2023.2.tar.gz 752661880 BLAKE2B a808ea29be18a5d4da603ce764dbc2ccc854121afc4b063194c0b0c3494cb03e3aec48297e19495d5b658583147f4d0e12514e73c5d4439af6af91b0a38ece0d SHA512 47be9af5d01e157df990a5c745ad12ddebe1963a164f379d3176e9b9cd064a02969b03b27116b38feec08f412857f1f1161015129d7c0c704e05f1fb5d331312
-EBUILD pycharm-professional-2021.1.2-r1.ebuild 3270 BLAKE2B 74891abea1516de972e5e9bb0391297e51e4a4678522a726d0d5df6efb6284dc031920bb2539b4419a1331c9a61d23240cfe4a66fcbdf3c2f74f856b34726207 SHA512 f1a8c8c7306835c7296ad952cca89b77e876d7ffb432d9e6c4f929b7b10a2a68e99d58243b1930624d472f3174ef830cf824a468966ba578e6748e564cb82489
-EBUILD pycharm-professional-2021.3.2-r1.ebuild 3283 BLAKE2B 17027b4c41eaf549e107163660e32214d88b7a8094a95c36642122e403b9c54ccee473c8589a454fab09b935fc856c8e5c6b6eba2f6e0e0e4b5ae1f0031c693b SHA512 b02d541b2212f20d4ef24e8c6915d27ff0564c647b83c46cff5017ebf0f9da441c776b114d62eae2813b572340ab090d483157cca1802254218fd47bd51715cc
-EBUILD pycharm-professional-2021.3.3-r1.ebuild 3283 BLAKE2B 17027b4c41eaf549e107163660e32214d88b7a8094a95c36642122e403b9c54ccee473c8589a454fab09b935fc856c8e5c6b6eba2f6e0e0e4b5ae1f0031c693b SHA512 b02d541b2212f20d4ef24e8c6915d27ff0564c647b83c46cff5017ebf0f9da441c776b114d62eae2813b572340ab090d483157cca1802254218fd47bd51715cc
-EBUILD pycharm-professional-2022.1-r1.ebuild 3356 BLAKE2B 0daf56fdaa5b92ce012d57abb3daa48638757d7f78660f5bb410370c40dd96d53344e88725c6c23fadfb19374e9146b770ef9661ca87ab53d4a91c33acb5ab5a SHA512 8103e56a41a8361f23adf2d3d1f917e148ca7348bd7f152c144589446d028d828775ec0ca63a62e9a4789f10993348827537c1aefe694a3b773ac07cc731943e
+DIST pycharm-professional-2023.3.3-aarch64.tar.gz 817002751 BLAKE2B 75e43700d727bc7cabb2d87ea353cc6644ce66fdb669e52a17a64522f1e883d725ba8671ef664c7d7fb87508083656f42f937d9d7fbb30bacb11c0f7f7074d35 SHA512 a006dc281fb66c92ca2bee5b83f0deb85ca49eff8390a74b3f9869c0767931c83040136118d24b5acde24d30e9de1d3c7a7ff552c4e82331015e5325f3550817
+DIST pycharm-professional-2023.3.3.tar.gz 816045880 BLAKE2B 2f967d6aad4ff837da1ed08e74a625c4f59ec9a867f47c112858e7d9d9fb1dcf538da82a4970b7cb0d2e35dfd7f30743ee14aaf2cfadf18fb3db05e5a10f35f8 SHA512 f7c32f8608e235f111ffd83573fb60e7efdac5107ec50564d33885b3c5c0ccc37f951c8df139ac8a23fffe92e51a3b487a37648daa4b801f49529f7d761cda2b
EBUILD pycharm-professional-2023.2.ebuild 3151 BLAKE2B 1b80812fdf648de43fe2c46df87b16f79df466400e16902175a8eba586d87f24fcd119a0bbe1bc4ec70add920eb739b10798e1e020f4be662630d2138ccfe173 SHA512 7c06eb53f451fc602821f0b61892e105577119bb499e924e6427cf0ffc8d81360303382cf33b368b3d9bffd2bcc228b469a6e0052d7d68f3ba640703c3beaf65
+EBUILD pycharm-professional-2023.3.3.ebuild 4219 BLAKE2B be1bfde95251cb8a879a2e67042b5f0394d91aeab6c69262657cdd6659f75cda950184d2c31d17f985a3eb3bb8c3da7c33c35014a8be801803473e283bf88478 SHA512 db2fbb0c8c9c1520a0f94b0342c5ff32b15a2c6863cffd953c20d82b806ed5f73c2d00c129c0e3e6a122fab3e63273fc5a0cb84c6343a49c718c72f93e082d51
MISC metadata.xml 229 BLAKE2B 1b25fb59c17f81a5c4b6dce7e07acb9de3bc64fef368805a0e1b45043dc13ab4898990b02b35d25ec3eb586aa67e236cc56519ed9a6bdb0d940f91b280e83141 SHA512 fcff4719a8e6c3cb446c48872c2278fa50ace7765d204b58d24f9ac0d47cb9fdaa7ed37080290ebc06d8dae864ccfdd8a48c9d9251a69862a6e5b58d5c26969b
diff --git a/dev-util/pycharm-professional/pycharm-professional-2021.1.2-r1.ebuild b/dev-util/pycharm-professional/pycharm-professional-2021.1.2-r1.ebuild
deleted file mode 100644
index 7f49ff573948..000000000000
--- a/dev-util/pycharm-professional/pycharm-professional-2021.1.2-r1.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop readme.gentoo-r1 wrapper xdg-utils
-
-DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis"
-HOMEPAGE="https://www.jetbrains.com/pycharm/"
-SRC_URI="https://download.jetbrains.com/python/${P}.tar.gz"
-
-LICENSE="PyCharm_Academic PyCharm_Classroom PyCharm PyCharm_OpenSource PyCharm_Preview"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="+bundled-jdk"
-
-BDEPEND="dev-util/patchelf"
-
-RDEPEND="!bundled-jdk? ( >=virtual/jre-1.8 )
- app-arch/brotli
- app-arch/zstd
- app-crypt/p11-kit
- dev-libs/fribidi
- dev-libs/glib
- dev-libs/json-c
- dev-libs/libbsd
- dev-libs/libdbusmenu
- dev-libs/nss
- dev-python/pip
- media-fonts/dejavu
- media-gfx/graphite2
- media-libs/alsa-lib
- media-libs/fontconfig
- media-libs/freetype:2=
- media-libs/harfbuzz
- media-libs/libglvnd
- media-libs/libpng:0=
- net-libs/gnutls
- net-print/cups
- sys-apps/dbus
- sys-libs/libcap
- sys-libs/zlib
- virtual/jpeg:0=
- x11-libs/libX11
- x11-libs/libxcb
- x11-libs/libXext
- x11-libs/libXi
- x11-libs/libXrandr
- x11-libs/libXrender
- x11-libs/libXtst
- x11-libs/pango
-"
-
-RESTRICT="mirror"
-
-QA_PREBUILT="opt/${P}/*"
-
-MY_PN=${PN/-professional/}
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-src_prepare() {
- default
-
- rm -vf "${S}"/help/ReferenceCardForMac.pdf || die
-
- rm -vf "${S}"/bin/fsnotifier || die
- rm -vf "${S}"/bin/phpstorm.vmoptions || die
-
- rm -vf "${S}"/plugins/performanceTesting/bin/libyjpagent.so || die
- rm -vf "${S}"/plugins/performanceTesting/bin/*.dll || die
- rm -vf "${S}"/plugins/performanceTesting/bin/libyjpagent.dylib || die
- rm -vrf "${S}"/lib/pty4j-native/linux/{aarch64,mips64el,ppc64le,x86} || die
- rm -vf "${S}"/plugins/python-ce/helpers/pydev/pydevd_attach_to_process/attach_linux_x86.so
-
- sed -i \
- -e "\$a\\\\" \
- -e "\$a#-----------------------------------------------------------------------" \
- -e "\$a# Disable automatic updates as these are handled through Gentoo's" \
- -e "\$a# package manager. See bug #704494" \
- -e "\$a#-----------------------------------------------------------------------" \
- -e "\$aide.no.platform.update=Gentoo" bin/idea.properties
-
- for file in "jbr/lib/"/{libjcef.so,jcef_helper}
- do
- if [[ -f "${file}" ]]; then
- patchelf --set-rpath '$ORIGIN' ${file} || die
- fi
- done
-}
-
-src_install() {
- local DIR="/opt/${PN}"
- local JRE_DIR="jbr"
-
- insinto ${DIR}
- doins -r *
-
- if ! use bundled-jdk; then
- rm -r "${JRE_DIR}" || die
- fi
-
- fperms 755 "${DIR}"/bin/{format.sh,fsnotifier64,inspect.sh,ltedit.sh,pycharm.sh,printenv.py,restart.py}
-
- fperms 755 "${DIR}"/"${JRE_DIR}"/bin/{jaotc,java,javac,jcmd,jdb,jfr,jhsdb,jjs,jmap,jps,jrunscript,jstack,jstat,keytool,pack200,rmid,rmiregistry,serialver,unpack200}
- fperms 755 "${DIR}"/"${JRE_DIR}"/lib/{chrome-sandbox,jcef_helper,jexec,jspawnhelper}
-
- make_wrapper "${PN}" "${DIR}/bin/pycharm.sh"
- newicon bin/${MY_PN}.png ${PN}.png
- make_desktop_entry ${PN} ${PN} ${PN}
-
- readme.gentoo_create_doc
-
- # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
- dodir /etc/sysctl.d/
- echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
diff --git a/dev-util/pycharm-professional/pycharm-professional-2021.3.2-r1.ebuild b/dev-util/pycharm-professional/pycharm-professional-2021.3.2-r1.ebuild
deleted file mode 100644
index 830398f98efc..000000000000
--- a/dev-util/pycharm-professional/pycharm-professional-2021.3.2-r1.ebuild
+++ /dev/null
@@ -1,122 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop readme.gentoo-r1 wrapper
-
-MY_PN=${PN/-professional/}
-DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis"
-HOMEPAGE="https://www.jetbrains.com/pycharm/"
-SRC_URI="https://download.jetbrains.com/python/${P}.tar.gz"
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-LICENSE="PyCharm_Academic PyCharm_Classroom PyCharm PyCharm_OpenSource PyCharm_Preview"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+bundled-jdk"
-RESTRICT="mirror"
-
-RDEPEND="!bundled-jdk? ( >=virtual/jre-1.8 )
- dev-python/pip
- media-fonts/dejavu
- || (
- >=app-accessibility/at-spi2-core-2.46.0:2
- ( app-accessibility/at-spi2-atk dev-libs/atk )
- )
- dev-libs/expat
- dev-libs/glib:2
- dev-libs/nspr
- dev-libs/nss
- media-libs/alsa-lib
- media-libs/freetype
- media-libs/mesa[gbm(+)]
- net-print/cups
- sys-apps/dbus
- sys-libs/zlib
- x11-libs/libdrm
- x11-libs/libX11
- x11-libs/libxcb
- x11-libs/libXcomposite
- x11-libs/libXcursor
- x11-libs/libXdamage
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libXi
- x11-libs/libxkbcommon
- x11-libs/libXrandr
- x11-libs/libXrender
- x11-libs/libxshmfence
- x11-libs/libXtst
- x11-libs/libXxf86vm
-"
-BDEPEND="dev-util/patchelf"
-
-QA_PREBUILT="opt/${PN}/*"
-
-src_prepare() {
- default
- local remove_me=(
- help/ReferenceCardForMac.pdf
- lib/pty4j-native/linux/aarch64
- lib/pty4j-native/linux/arm
- lib/pty4j-native/linux/mips64el
- lib/pty4j-native/linux/ppc64le
- lib/pty4j-native/linux/$(usex amd64 x86 x86_64)
- plugins/remote-dev-server/selfcontained
- plugins/performanceTesting/bin/libyjpagent.so
- plugins/performanceTesting/bin/*.dll
- plugins/performanceTesting/bin/libyjpagent.dylib
- plugins/python/helpers/pydev/pydevd_attach_to_process/attach_linux_x86.so
- plugins/wsl-fs-helper
- )
-
- rm -rv "${remove_me[@]}" || die
-
- sed -i \
- -e "\$a\\\\" \
- -e "\$a#-----------------------------------------------------------------------" \
- -e "\$a# Disable automatic updates as these are handled through Gentoo's" \
- -e "\$a# package manager. See bug #704494" \
- -e "\$a#-----------------------------------------------------------------------" \
- -e "\$aide.no.platform.update=Gentoo" \
- bin/idea.properties || die
-
- local file
- for file in jbr/lib/{libjcef.so,jcef_helper}; do
- if [[ -f ${file} ]]; then
- patchelf --set-rpath '$ORIGIN' ${file} || die
- fi
- done
-}
-
-src_install() {
- local dir="/opt/${PN}"
- local jre_dir="jbr"
-
- insinto ${dir}
- doins -r *
-
- if ! use bundled-jdk; then
- rm -r "${jre_dir}" || die
- fi
-
- fperms 755 ${dir}/bin/{format.sh,fsnotifier,inspect.sh,ltedit.sh,printenv.py,pycharm.sh,restart.py}
-
- fperms 755 ${dir}/${jre_dir}/bin/{jaotc,java,javac,jcmd,jdb,jfr,jhsdb,jinfo,jjs,jmap,jps,jrunscript,jstack,jstat,keytool,pack200,rmid,rmiregistry,serialver,unpack200}
- fperms 755 ${dir}/${jre_dir}/lib/{chrome-sandbox,jcef_helper,jexec,jspawnhelper}
-
- make_wrapper ${PN} ${dir}/bin/pycharm.sh
- newicon bin/${MY_PN}.png ${PN}.png
- make_desktop_entry ${PN} ${PN} ${PN}
-
- readme.gentoo_create_doc
-
- # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
- insinto /usr/lib/sysctl.d
- newins - 30-idea-inotify-watches.conf <<<"fs.inotify.max_user_watches = 524288"
-}
-
-pkg_postinst() {
- readme.gentoo_print_elog
-}
diff --git a/dev-util/pycharm-professional/pycharm-professional-2021.3.3-r1.ebuild b/dev-util/pycharm-professional/pycharm-professional-2021.3.3-r1.ebuild
deleted file mode 100644
index 830398f98efc..000000000000
--- a/dev-util/pycharm-professional/pycharm-professional-2021.3.3-r1.ebuild
+++ /dev/null
@@ -1,122 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop readme.gentoo-r1 wrapper
-
-MY_PN=${PN/-professional/}
-DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis"
-HOMEPAGE="https://www.jetbrains.com/pycharm/"
-SRC_URI="https://download.jetbrains.com/python/${P}.tar.gz"
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-LICENSE="PyCharm_Academic PyCharm_Classroom PyCharm PyCharm_OpenSource PyCharm_Preview"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+bundled-jdk"
-RESTRICT="mirror"
-
-RDEPEND="!bundled-jdk? ( >=virtual/jre-1.8 )
- dev-python/pip
- media-fonts/dejavu
- || (
- >=app-accessibility/at-spi2-core-2.46.0:2
- ( app-accessibility/at-spi2-atk dev-libs/atk )
- )
- dev-libs/expat
- dev-libs/glib:2
- dev-libs/nspr
- dev-libs/nss
- media-libs/alsa-lib
- media-libs/freetype
- media-libs/mesa[gbm(+)]
- net-print/cups
- sys-apps/dbus
- sys-libs/zlib
- x11-libs/libdrm
- x11-libs/libX11
- x11-libs/libxcb
- x11-libs/libXcomposite
- x11-libs/libXcursor
- x11-libs/libXdamage
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libXi
- x11-libs/libxkbcommon
- x11-libs/libXrandr
- x11-libs/libXrender
- x11-libs/libxshmfence
- x11-libs/libXtst
- x11-libs/libXxf86vm
-"
-BDEPEND="dev-util/patchelf"
-
-QA_PREBUILT="opt/${PN}/*"
-
-src_prepare() {
- default
- local remove_me=(
- help/ReferenceCardForMac.pdf
- lib/pty4j-native/linux/aarch64
- lib/pty4j-native/linux/arm
- lib/pty4j-native/linux/mips64el
- lib/pty4j-native/linux/ppc64le
- lib/pty4j-native/linux/$(usex amd64 x86 x86_64)
- plugins/remote-dev-server/selfcontained
- plugins/performanceTesting/bin/libyjpagent.so
- plugins/performanceTesting/bin/*.dll
- plugins/performanceTesting/bin/libyjpagent.dylib
- plugins/python/helpers/pydev/pydevd_attach_to_process/attach_linux_x86.so
- plugins/wsl-fs-helper
- )
-
- rm -rv "${remove_me[@]}" || die
-
- sed -i \
- -e "\$a\\\\" \
- -e "\$a#-----------------------------------------------------------------------" \
- -e "\$a# Disable automatic updates as these are handled through Gentoo's" \
- -e "\$a# package manager. See bug #704494" \
- -e "\$a#-----------------------------------------------------------------------" \
- -e "\$aide.no.platform.update=Gentoo" \
- bin/idea.properties || die
-
- local file
- for file in jbr/lib/{libjcef.so,jcef_helper}; do
- if [[ -f ${file} ]]; then
- patchelf --set-rpath '$ORIGIN' ${file} || die
- fi
- done
-}
-
-src_install() {
- local dir="/opt/${PN}"
- local jre_dir="jbr"
-
- insinto ${dir}
- doins -r *
-
- if ! use bundled-jdk; then
- rm -r "${jre_dir}" || die
- fi
-
- fperms 755 ${dir}/bin/{format.sh,fsnotifier,inspect.sh,ltedit.sh,printenv.py,pycharm.sh,restart.py}
-
- fperms 755 ${dir}/${jre_dir}/bin/{jaotc,java,javac,jcmd,jdb,jfr,jhsdb,jinfo,jjs,jmap,jps,jrunscript,jstack,jstat,keytool,pack200,rmid,rmiregistry,serialver,unpack200}
- fperms 755 ${dir}/${jre_dir}/lib/{chrome-sandbox,jcef_helper,jexec,jspawnhelper}
-
- make_wrapper ${PN} ${dir}/bin/pycharm.sh
- newicon bin/${MY_PN}.png ${PN}.png
- make_desktop_entry ${PN} ${PN} ${PN}
-
- readme.gentoo_create_doc
-
- # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
- insinto /usr/lib/sysctl.d
- newins - 30-idea-inotify-watches.conf <<<"fs.inotify.max_user_watches = 524288"
-}
-
-pkg_postinst() {
- readme.gentoo_print_elog
-}
diff --git a/dev-util/pycharm-professional/pycharm-professional-2022.1-r1.ebuild b/dev-util/pycharm-professional/pycharm-professional-2022.1-r1.ebuild
deleted file mode 100644
index 9905248283aa..000000000000
--- a/dev-util/pycharm-professional/pycharm-professional-2022.1-r1.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop readme.gentoo-r1 wrapper
-
-MY_PN=${PN/-professional/}
-DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis"
-HOMEPAGE="https://www.jetbrains.com/pycharm/"
-SRC_URI="https://download.jetbrains.com/python/${P}.tar.gz"
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-LICENSE="PyCharm_Academic PyCharm_Classroom PyCharm PyCharm_OpenSource PyCharm_Preview"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="+bundled-jdk"
-RESTRICT="mirror"
-
-RDEPEND="!bundled-jdk? ( >=virtual/jre-1.8 )
- dev-python/pip
- media-fonts/dejavu
- || (
- >=app-accessibility/at-spi2-core-2.46.0:2
- ( app-accessibility/at-spi2-atk dev-libs/atk )
- )
- dev-libs/expat
- dev-libs/glib:2
- dev-libs/nspr
- dev-libs/nss
- media-libs/alsa-lib
- media-libs/freetype
- media-libs/mesa[gbm(+)]
- net-print/cups
- sys-apps/dbus
- sys-libs/zlib
- x11-libs/libdrm
- x11-libs/libX11
- x11-libs/libxcb
- x11-libs/libXcomposite
- x11-libs/libXcursor
- x11-libs/libXdamage
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libXi
- x11-libs/libxkbcommon
- x11-libs/libXrandr
- x11-libs/libXrender
- x11-libs/cairo
- x11-libs/pango
- x11-libs/libXtst
- x11-libs/libXxf86vm
-"
-BDEPEND="dev-util/patchelf"
-
-QA_PREBUILT="opt/${PN}/*"
-
-src_prepare() {
- default
- local remove_me=(
- help/ReferenceCardForMac.pdf
- lib/pty4j-native/linux/aarch64
- lib/pty4j-native/linux/arm
- lib/pty4j-native/linux/mips64el
- lib/pty4j-native/linux/ppc64le
- lib/pty4j-native/linux/$(usex amd64 x86 x86_64)
- plugins/remote-dev-server/selfcontained
- plugins/performanceTesting/bin/libyjpagent.so
- plugins/performanceTesting/bin/*.dll
- plugins/performanceTesting/bin/libyjpagent.dylib
- plugins/python/helpers/pydev/pydevd_attach_to_process/attach_linux_x86.so
- plugins/python/helpers/pydev/pydevd_attach_to_process/attach_linux_amd64.so
- plugins/wsl-fs-helper
- )
-
- rm -rv "${remove_me[@]}" || die
-
- sed -i \
- -e "\$a\\\\" \
- -e "\$a#-----------------------------------------------------------------------" \
- -e "\$a# Disable automatic updates as these are handled through Gentoo's" \
- -e "\$a# package manager. See bug #704494" \
- -e "\$a#-----------------------------------------------------------------------" \
- -e "\$aide.no.platform.update=Gentoo" \
- bin/idea.properties || die
-
- local file
- for file in jbr/lib/{libjcef.so,jcef_helper}; do
- if [[ -f ${file} ]]; then
- patchelf --set-rpath '$ORIGIN' ${file} || die
- fi
- done
-}
-
-src_install() {
- local dir="/opt/${PN}"
- local jre_dir="jbr"
-
- insinto ${dir}
- doins -r *
-
- if ! use bundled-jdk; then
- rm -r "${jre_dir}" || die
- fi
-
- fperms 755 ${dir}/bin/{format.sh,fsnotifier,inspect.sh,ltedit.sh,pycharm.sh,restart.py}
-
- fperms 755 ${dir}/${jre_dir}/bin/{jaotc,java,javac,jcmd,jdb,jfr,jhsdb,jinfo,jjs,jmap,jps,jrunscript,jstack,jstat,keytool,pack200,rmid,rmiregistry,serialver,unpack200}
- fperms 755 ${dir}/${jre_dir}/lib/{chrome-sandbox,jcef_helper,jexec,jspawnhelper}
-
- make_wrapper ${PN} ${dir}/bin/pycharm.sh
- newicon bin/${MY_PN}.png ${PN}.png
- make_desktop_entry ${PN} ${PN} ${PN}
-
- readme.gentoo_create_doc
-
- # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
- insinto /usr/lib/sysctl.d
- newins - 30-idea-inotify-watches.conf <<<"fs.inotify.max_user_watches = 524288"
-}
-
-pkg_postinst() {
- readme.gentoo_print_elog
-}
diff --git a/dev-util/pycharm-professional/pycharm-professional-2023.3.3.ebuild b/dev-util/pycharm-professional/pycharm-professional-2023.3.3.ebuild
new file mode 100644
index 000000000000..7d5d43322d79
--- /dev/null
+++ b/dev-util/pycharm-professional/pycharm-professional-2023.3.3.ebuild
@@ -0,0 +1,146 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop wrapper xdg
+
+MY_PN=${PN/-professional/}
+DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis"
+HOMEPAGE="https://www.jetbrains.com/pycharm/"
+SRC_URI="
+ amd64? ( https://download.jetbrains.com/python/${P}.tar.gz )
+ arm64? ( https://download.jetbrains.com/python/${P}-aarch64.tar.gz )
+"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="PyCharm"
+#https://www.jetbrains.com/legal/third-party-software/?product=pcp
+#license/javahelp_license.txt: CDDL-1.1
+#license/javolution_license.txt: BSD-2
+#license/saxon-conditions.html: MPL-1.0
+#license/yourkit-license-redist.txt: BSD
+#license/third-party-libraries.json:
+## cat third-party-libraries.json | jq '.[].license' | sort | uniq
+# "commercial, available on request" http://www.yworks.com/products/yfiles-for-java-2.x/sla
+# "Custom" https://checkmarx.com/legal/jetbrains-checkmarx-end-user-terms-and-conditions/
+# color.js is MIT
+# codehaus is MIT
+# roman.py is ZPL not "Python 2.1.1 license"
+# Eclipse Distribution License 1.0 is BSD
+LICENSE+=" 0BSD Apache-2.0 BSD BSD-2 CC0-1.0 CC-BY-2.5 CC-BY-3.0 CC-BY-4.0 CDDL-1.1 CPL-1.0 EPL-1.0 GPL-2"
+LICENSE+=" GPL-2-with-classpath-exception ISC JSON LGPL-2.1 LGPL-3 LGPL-3+ libpng MIT MPL-1.1 MPL-2.0 OFL"
+LICENSE+=" OFL-1.1 public-domain PYTHON unicode Unlicense W3C ZLIB ZPL"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+bundled-jdk"
+
+RDEPEND="
+ dev-libs/glib:2
+ dev-python/pip
+ media-fonts/dejavu
+ bundled-jdk? (
+ app-accessibility/at-spi2-core:2
+ dev-libs/expat
+ dev-libs/nspr
+ dev-libs/nss
+ media-libs/alsa-lib
+ media-libs/freetype:2=
+ media-libs/mesa
+ net-print/cups
+ sys-apps/dbus
+ sys-libs/zlib
+ x11-libs/cairo
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXcursor
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libXtst
+ x11-libs/libXxf86vm
+ x11-libs/libdrm
+ x11-libs/libxcb
+ x11-libs/libxkbcommon
+ x11-libs/pango
+ )
+ !bundled-jdk? (
+ >=virtual/jre-17
+ )
+"
+BDEPEND="dev-util/patchelf"
+
+RESTRICT="mirror test"
+
+DESTDIR="/opt/${PN}"
+QA_PREBUILT="${DESTDIR#/}/.*"
+
+src_prepare() {
+ default
+ local remove_me=(
+ help/ReferenceCardForMac.pdf
+ plugins/remote-dev-server/selfcontained
+ plugins/python/helpers/pydev/pydevd_attach_to_process/attach_linux_x86.so
+ plugins/python/helpers/pydev/pydevd_attach_to_process/attach_linux_amd64.so
+ plugins/python/helpers/pydev/pydevd_attach_to_process/attach_linux_aarch64.so
+ plugins/tailwindcss # Relies on masked package sys-libs/musl
+ )
+
+ if use amd64; then
+ remove_me+=(
+ lib/async-profiler/aarch64
+ plugins/cwm-plugin/quiche-native/linux-aarch64
+ )
+ fi
+
+ if use arm64; then
+ remove_me+=(
+ lib/async-profiler/amd64
+ )
+ fi
+
+ rm -rv "${remove_me[@]}" || die
+
+ sed -i \
+ -e "\$a\\\\" \
+ -e "\$a#-----------------------------------------------------------------------" \
+ -e "\$a# Disable automatic updates as these are handled through Gentoo's" \
+ -e "\$a# package manager. See bug #704494" \
+ -e "\$a#-----------------------------------------------------------------------" \
+ -e "\$aide.no.platform.update=Gentoo" \
+ bin/idea.properties || die
+
+ if ! use bundled-jdk; then
+ rm -rf jbr || die
+ fi
+
+ local file
+ for file in jbr/lib/{libjcef.so,jcef_helper}; do
+ if [[ -f ${file} ]]; then
+ patchelf --set-rpath '$ORIGIN' ${file} || die
+ fi
+ done
+}
+
+src_install() {
+ insinto ${DESTDIR}
+ doins -r *
+
+ fperms 755 ${DESTDIR}/bin/{format.sh,fsnotifier,inspect.sh,jetbrains_client.sh,ltedit.sh,pycharm.sh,remote-dev-server.sh,repair,restarter}
+
+ if use bundled-jdk; then
+ fperms 755 "${DESTDIR}"/jbr/bin/{java,javac,javadoc,jcmd,jdb,jfr,jhsdb,jinfo,jmap,jps,jrunscript,jstack,jstat,keytool,rmiregistry,serialver}
+ fperms 755 "${DESTDIR}"/jbr/lib/{chrome-sandbox,jcef_helper,jexec,jspawnhelper}
+ fi
+
+ make_wrapper ${PN} ${DESTDIR}/bin/pycharm.sh
+ newicon bin/${MY_PN}.png ${PN}.png
+ make_desktop_entry ${PN} ${PN} ${PN}
+
+ # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
+ insinto /usr/lib/sysctl.d
+ newins - 30-idea-inotify-watches.conf <<<"fs.inotify.max_user_watches = 524288"
+}