diff options
author | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2020-04-29 20:46:50 +0100 |
---|---|---|
committer | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2020-04-29 20:46:50 +0100 |
commit | abf2ef0ee570adddaa954439100ff136456d5e2a (patch) | |
tree | 54d482490c4cfab63cc8c90655e065a707c94833 /dev-util | |
parent | Add jbr11 useflag to rubymine and update metadata. Update metadata for idea-u... (diff) | |
download | ssnb-abf2ef0ee570adddaa954439100ff136456d5e2a.tar.gz ssnb-abf2ef0ee570adddaa954439100ff136456d5e2a.tar.bz2 ssnb-abf2ef0ee570adddaa954439100ff136456d5e2a.zip |
Add pycharm community and professional
Signed-off-by: Samuel Bernardo <samuelbernardo.mail@gmail.com>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/pycharm-community/Manifest | 4 | ||||
-rw-r--r-- | dev-util/pycharm-community/files/README.gentoo | 5 | ||||
-rw-r--r-- | dev-util/pycharm-community/metadata.xml | 14 | ||||
-rw-r--r-- | dev-util/pycharm-community/pycharm-community-2020.1-r1.ebuild | 62 | ||||
-rw-r--r-- | dev-util/pycharm-professional/Manifest | 4 | ||||
-rw-r--r-- | dev-util/pycharm-professional/files/README.gentoo | 5 | ||||
-rw-r--r-- | dev-util/pycharm-professional/metadata.xml | 14 | ||||
-rw-r--r-- | dev-util/pycharm-professional/pycharm-professional-2020.1-r1.ebuild | 65 |
8 files changed, 173 insertions, 0 deletions
diff --git a/dev-util/pycharm-community/Manifest b/dev-util/pycharm-community/Manifest new file mode 100644 index 0000000..8ad2ae6 --- /dev/null +++ b/dev-util/pycharm-community/Manifest @@ -0,0 +1,4 @@ +AUX README.gentoo 169 BLAKE2B fc7191056cb5de1fedf9a7e9516029e8ee50f7ab3749e05c73156f63892b1e126ac068d5b2f271d1b71a77486205848cce72452d671692418b6e09e8e25da60e SHA512 a0254552b98b6ec8dadd91ed7df35bf990d08025d8352366f58ecabe94cdde2df64d8665447d0a2ffc1edacdeb05124c2a82722d5ad70b614d90bb0ae38544d2 +DIST pycharm-community-2020.1.tar.gz 382333125 BLAKE2B 5fa9000bad467784f2276286639c98509481ab3aef7482f8d0d166d058b2798fb027c037762c76dfd947376320e75f05045b34f172f849198c63950fe27d9855 SHA512 7e2663ac21536f7663910d0e2561a93869f46cc7b1d06bbc448d5afbdf89c4fcb834b9e7e3f61263e5c0a3d25caf35c663a42c6219ae2d5a67cb2516eba2e8e6 +EBUILD pycharm-community-2020.1-r1.ebuild 1198 BLAKE2B 22e305bc0e79ec8781309db3272815468ff51424a6056f3e02626967a854cc85442c6d21be67d92a5c8e59c40fbb7b6f8020dfe915d2f340c54621f5d7d8e2fb SHA512 e8c15f7ccbe4ee654111a9fd6ee1e7b03e18e465b0fd1663cf4c29db0310a231cf35b6ab731eaa07d1f505aa4a5379adf66e399278d9fe18ec81a08e41a1cef7 +MISC metadata.xml 468 BLAKE2B 91e16245996e6ff3335065583096fe02b33021bfc467eaeabd4e2b21e0125502cdebc5c1f90565c19919463d4b65868f6c942ce3f79a6c7b3b3d5efbf8d6b5bd SHA512 3de34c877a3730fe244fdbef0d3d10ba20ac3eee7f458163ce693560f05297f90c881bc2ce6b8d047e1d198c1835496bfea217a1c1f8e0cae426e3cd47acd05e diff --git a/dev-util/pycharm-community/files/README.gentoo b/dev-util/pycharm-community/files/README.gentoo new file mode 100644 index 0000000..2164d9e --- /dev/null +++ b/dev-util/pycharm-community/files/README.gentoo @@ -0,0 +1,5 @@ +According to JetBrains, PyCharm has performance and +graphics issues with OpenJDK Java. + +Please consider using Oracle JDK. +Especially before reporting problems upstream. diff --git a/dev-util/pycharm-community/metadata.xml b/dev-util/pycharm-community/metadata.xml new file mode 100644 index 0000000..1a5731f --- /dev/null +++ b/dev-util/pycharm-community/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>samuelbernardo.mail@gmail.com</email> + <name>Samuel Bernardo</name> + </maintainer> + <longdescription lang="en"> + Intelligent Python IDE with unique code assistance and analysis. + </longdescription> + <use> + <flag name="jbr11">Install and use the Java 11 based version of JetBrains Runtime.</flag> + </use> +</pkgmetadata> diff --git a/dev-util/pycharm-community/pycharm-community-2020.1-r1.ebuild b/dev-util/pycharm-community/pycharm-community-2020.1-r1.ebuild new file mode 100644 index 0000000..4024342 --- /dev/null +++ b/dev-util/pycharm-community/pycharm-community-2020.1-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2-utils readme.gentoo-r1 xdg + +DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis" +HOMEPAGE="http://www.jetbrains.com/pycharm/" +SRC_URI="http://download.jetbrains.com/python/${P}.tar.gz" + +LICENSE="Apache-2.0 BSD CDDL MIT-with-advertising" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="jbr11" + +RDEPEND=">=virtual/jre-1.8 + dev-libs/libdbusmenu + dev-python/pip" + +RESTRICT="mirror strip" + +QA_PREBUILT="opt/${PN}/bin/fsnotifier + opt/${PN}/bin/fsnotifier64 + opt/${PN}/bin/fsnotifier-arm" + +MY_PN=${PN/-community/} + +src_prepare() { + default + + rm -rf jre || die + if use !jbr11; then + rm -vrf "${S}"/jbr + fi +} + +src_install() { + insinto /opt/${PN} + doins -r * + + fperms a+x /opt/${PN}/bin/{pycharm.sh,fsnotifier{,64},inspect.sh} + if use jbr11; then + fperms 755 "${dir}/jbr/bin/*" + fi + + dosym ../../opt/${PN}/bin/pycharm.sh /usr/bin/${PN} + newicon bin/${MY_PN}.png ${PN}.png + make_desktop_entry ${PN} ${PN} ${PN} + + readme.gentoo_create_doc +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_icon_cache_update +} diff --git a/dev-util/pycharm-professional/Manifest b/dev-util/pycharm-professional/Manifest new file mode 100644 index 0000000..3a57cd9 --- /dev/null +++ b/dev-util/pycharm-professional/Manifest @@ -0,0 +1,4 @@ +AUX README.gentoo 169 BLAKE2B fc7191056cb5de1fedf9a7e9516029e8ee50f7ab3749e05c73156f63892b1e126ac068d5b2f271d1b71a77486205848cce72452d671692418b6e09e8e25da60e SHA512 a0254552b98b6ec8dadd91ed7df35bf990d08025d8352366f58ecabe94cdde2df64d8665447d0a2ffc1edacdeb05124c2a82722d5ad70b614d90bb0ae38544d2 +DIST pycharm-professional-2020.1.tar.gz 507643980 BLAKE2B f0869ebec8ae6396a4ff9579214a913be631d52e67cf12b437800a6f3292c96bef67b8b813bb9d703a2b6893ad27835a6868cce5ac4f3db818bacc2de4aed87c SHA512 23737bdd8bafb57dab794b4c874e6d14bb3b2591706bf13a835b0172fbe914ade932c701a313d982d7c393d02b15629a8273f3be092a92178ed0bfd4eff9baa5 +EBUILD pycharm-professional-2020.1-r1.ebuild 1342 BLAKE2B 48f867c657e01e265b1c94f565a32cd000112d6d22d7529ed5da959e08a9123828416ea7ac7eb5136b3e3034c96d18e743e095b3c1f690b4a182528f05957b4c SHA512 c050ae0d56e51fb4144fd027e244252250ae15e55aa5ef6fdf154ac92391ac0ca9865d6492043cafdd12fb0ca45d45194dd1dfafd055b0fef7e051086e835a29 +MISC metadata.xml 468 BLAKE2B 91e16245996e6ff3335065583096fe02b33021bfc467eaeabd4e2b21e0125502cdebc5c1f90565c19919463d4b65868f6c942ce3f79a6c7b3b3d5efbf8d6b5bd SHA512 3de34c877a3730fe244fdbef0d3d10ba20ac3eee7f458163ce693560f05297f90c881bc2ce6b8d047e1d198c1835496bfea217a1c1f8e0cae426e3cd47acd05e diff --git a/dev-util/pycharm-professional/files/README.gentoo b/dev-util/pycharm-professional/files/README.gentoo new file mode 100644 index 0000000..2164d9e --- /dev/null +++ b/dev-util/pycharm-professional/files/README.gentoo @@ -0,0 +1,5 @@ +According to JetBrains, PyCharm has performance and +graphics issues with OpenJDK Java. + +Please consider using Oracle JDK. +Especially before reporting problems upstream. diff --git a/dev-util/pycharm-professional/metadata.xml b/dev-util/pycharm-professional/metadata.xml new file mode 100644 index 0000000..1a5731f --- /dev/null +++ b/dev-util/pycharm-professional/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>samuelbernardo.mail@gmail.com</email> + <name>Samuel Bernardo</name> + </maintainer> + <longdescription lang="en"> + Intelligent Python IDE with unique code assistance and analysis. + </longdescription> + <use> + <flag name="jbr11">Install and use the Java 11 based version of JetBrains Runtime.</flag> + </use> +</pkgmetadata> diff --git a/dev-util/pycharm-professional/pycharm-professional-2020.1-r1.ebuild b/dev-util/pycharm-professional/pycharm-professional-2020.1-r1.ebuild new file mode 100644 index 0000000..635e532 --- /dev/null +++ b/dev-util/pycharm-professional/pycharm-professional-2020.1-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2-utils readme.gentoo-r1 xdg + +DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis" +HOMEPAGE="http://www.jetbrains.com/pycharm/" +SRC_URI="http://download.jetbrains.com/python/${P}.tar.gz" + +LICENSE="PyCharm_Academic PyCharm_Classroom PyCharm PyCharm_OpenSource PyCharm_Preview" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="jbr11" + +RDEPEND=">=virtual/jre-1.8 + dev-libs/libdbusmenu + dev-python/pip" + +RESTRICT="mirror strip" + +QA_PREBUILT="opt/${PN}/bin/fsnotifier + opt/${PN}/bin/fsnotifier64 + opt/${PN}/bin/fsnotifier-arm + opt/${PN}/bin/libyjpagent-linux.so + opt/${PN}/bin/libyjpagent-linux64.so" + +MY_PN=${PN/-professional/} +S="${WORKDIR}/${MY_PN}-${PV}" + +src_prepare() { + default + + rm -rf jre || die + if use !jbr11; then + rm -vrf "${S}"/jbr + fi +} + +src_install() { + insinto /opt/${PN} + doins -r * + + fperms a+x /opt/${PN}/bin/{pycharm.sh,fsnotifier{,64},inspect.sh} + if use jbr11; then + fperms 755 "${dir}/jbr/bin/*" + fi + + dosym ../../opt/${PN}/bin/pycharm.sh /usr/bin/${PN} + newicon bin/${MY_PN}.png ${PN}.png + make_desktop_entry ${PN} ${PN} ${PN} + + readme.gentoo_create_doc +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_icon_cache_update +} |