diff --git a/app-admin/equo/Manifest b/app-admin/equo/Manifest new file mode 100644 index 00000000..b3705f75 --- /dev/null +++ b/app-admin/equo/Manifest @@ -0,0 +1,3 @@ +AUX equo-324-py3.patch 862 BLAKE2B 5182947a5746241ca1c72425ba5c31912f08072718c10e06fa960ae9098924f0386d80a6b8dcb7e2eb5a614dfe0f09401c84ec0013d3cc730f09f83f74a9cd26 SHA512 542f2578322cb3138ddd270dcba8e9e83c52301e3398d2627f7cbf3561aa56a78c7b3ac6e1d4e5d6c730e95f5d9efe3a82a4b3f08a996beeef6f131d1cb34c7f +EBUILD equo-325-r1.ebuild 1086 BLAKE2B 91067b603c979a86ed0dd972753a920c0c35e80f4c8d39cc6aa645a354df375ac188c46f725a558ed34221f48912bc578b7c477fc5915a64405625213aa9892c SHA512 cd6d02984ca3d2a2e417158018851f2b77c976bccb14577fba1e9dab9bfbeb2236e46acecce399c8e95e60b641a1335c3e36dfc2d083c0281bfdb30d5c4aae84 +MISC metadata.xml 579 BLAKE2B ffcf49b0dcb474066e2f49fd1ff3e7bb85f566a6d5c2455d8c6c3b0e60cd75f416d9eeea920e7d6b33f07ca93a92e170812a09f97405624c0c977daccc1f0fdd SHA512 1e6ef21cd1157018b0c7790d8f08b56495f92c2eb8db7dbb715e61e8cef35cf94d6a241e1f75423cbef0a80274cb0c6184c574f4231bf6c847e51898ce1d465c diff --git a/app-admin/equo/equo-325-r1.ebuild b/app-admin/equo/equo-325-r1.ebuild new file mode 100644 index 00000000..d35107fe --- /dev/null +++ b/app-admin/equo/equo-325-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_6 python3_7 python3_8 python3_9 ) + +inherit eutils python-r1 bash-completion-r1 git-r3 + +DESCRIPTION="Entropy Package Manager text-based client" +HOMEPAGE="http://www.sabayon.org" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +EGIT_REPO_URI=https://github.com/Sabayon/entropy.git +EGIT_COMMIT=${PV} + +S="${WORKDIR}/${P}/client" +MISC_DIR="${WORKDIR}/${P}/misc" + +COMMON_DEPEND="${PYTHON_DEPS} + ~sys-apps/entropy-${PV}[${PYTHON_USEDEP}]" +DEPEND="${COMMON_DEPEND} + dev-util/intltool + app-text/asciidoc" +RDEPEND="${COMMON_DEPEND} + sys-apps/file[${PYTHON_USEDEP},python]" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +PATCHES=() + +src_install() { + installation() { + emake DESTDIR="${D}" LIBDIR="usr/lib" PYTHON_SITEDIR="$(python_get_sitedir)" install + python_optimize + } + python_foreach_impl installation + python_replicate_script "${ED}usr/bin/equo" "${ED}usr/bin/kernel-switcher" + newbashcomp "${MISC_DIR}/equo-completion.bash" equo +} diff --git a/app-admin/equo/files/equo-324-py3.patch b/app-admin/equo/files/equo-324-py3.patch new file mode 100644 index 00000000..063a81db --- /dev/null +++ b/app-admin/equo/files/equo-324-py3.patch @@ -0,0 +1,25 @@ +From 09cb7b34961cf7a83d76115156844dac444d2c78 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?S=C5=82awomir=20Nizio?= +Date: Fri, 13 Mar 2020 20:18:04 +0100 +Subject: [PATCH] [solo.commands.query] fix "equo query orphans" with Python 3 + +--- + client/solo/commands/query.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git client/solo/commands/query.py client/solo/commands/query.py +index 5a371e513..3c7b5e05d 100644 +--- client/solo/commands/query.py ++++ client/solo/commands/query.py +@@ -1069,7 +1069,7 @@ Repository query tools. + + system_dirs_mask_regexp = [] + for mask in settings['system_dirs_mask']: +- reg_mask = re.compile(mask) ++ reg_mask = re.compile(const_convert_to_rawstring(mask)) + system_dirs_mask_regexp.append(reg_mask) + + file_data = set() +-- +2.24.1 + diff --git a/app-admin/equo/metadata.xml b/app-admin/equo/metadata.xml new file mode 100644 index 00000000..0212466a --- /dev/null +++ b/app-admin/equo/metadata.xml @@ -0,0 +1,20 @@ + + + + + mudler@gentoo.org + Ettore Di Giacinto + Assign bugs to him + + + skullbocks@sabayon.org + Francesco Ferretti + + + lxnay@gentoo.org + Fabio Erculiani + CC on bugs + + + + diff --git a/app-admin/rigo/Manifest b/app-admin/rigo/Manifest new file mode 100644 index 00000000..23ea746e --- /dev/null +++ b/app-admin/rigo/Manifest @@ -0,0 +1,3 @@ +AUX rigo-324-py3.patch 646 BLAKE2B ae6d160f4589fd92832d05d79ae239052f837cc95dd1ee9ccb9c49596230c4b29784644d6751d1a9d819e14f0c73514976816c6199509579a2b647efeb3aa6f3 SHA512 066066d833085f8997bf17943b602ceba21f02db7b0740d38432a3ad1e60e075187ca92729ab99b7166d6a97b1232c1cae527377dab0410dbeb88a6fb501bb69 +EBUILD rigo-325-r1.ebuild 1339 BLAKE2B 3c616adba9748d6148ebf1371c37e390bf6ec2840955a0265b99dcd537a2f61660a4928154fea8afbaa9ce07169d3fe3be2a4418e7a36166499e368ea9b485f5 SHA512 164afe4d1fa90f733ba4d85762d4f6b80988a0616881de59492a1424683dbb7f0d37454ea96802241d2c6abec9792fbcddfdb0f182887685f25357d4b5d2443c +MISC metadata.xml 690 BLAKE2B f67aa00867fa46ac2d29c5fc5fdf826f89d66cae3b95386609f9a9747eab90c8b92bf8a7adfd1245db161061172c7df9f57e4b99050a544f94bf89e3849515f2 SHA512 970460e054b0af6d8f57520f78be57eefb5d7b0b3a69d6b773d597fdc2069d810a55a646bfd7b763b3b55248cc694070d9cc4ec5a955f07905278ecaf225a675 diff --git a/app-admin/rigo/files/rigo-324-py3.patch b/app-admin/rigo/files/rigo-324-py3.patch new file mode 100644 index 00000000..f75ff91c --- /dev/null +++ b/app-admin/rigo/files/rigo-324-py3.patch @@ -0,0 +1,19 @@ +commit e01746bc38a7d715d446e998ca06d88d23b90e69 +Author: SÅ‚awomir Nizio +Date: Fri Mar 13 21:47:48 2020 +0100 + + [rigo] Python 3 fix in config files viewer / editor + +diff --git rigo/rigo/utils.py b/rigo/rigo/utils.py +index c1aac8e72..cbe70d3f0 100644 +--- rigo/rigo/utils.py ++++ rigo/rigo/utils.py +@@ -186,8 +186,6 @@ def open_editor(path): + exec_string += " \"" + exec_string += path + exec_string += "\"" +- # shlex split() wants raw string +- exec_string = const_convert_to_rawstring(exec_string) + args = shlex.split(exec_string) + proc = subprocess.Popen(args) + return proc diff --git a/app-admin/rigo/metadata.xml b/app-admin/rigo/metadata.xml new file mode 100644 index 00000000..85b2378b --- /dev/null +++ b/app-admin/rigo/metadata.xml @@ -0,0 +1,21 @@ + + + + + mudler@gentoo.org + Ettore Di Giacinto + Assign bugs to him + + + skullbocks@sabayon.org + Francesco Ferretti + + + lxnay@gentoo.org + Fabio Erculiani + CC on bugs + + + Enable passwordless system upgrades if user is in the entropy group + + diff --git a/app-admin/rigo/rigo-325-r1.ebuild b/app-admin/rigo/rigo-325-r1.ebuild new file mode 100644 index 00000000..07352658 --- /dev/null +++ b/app-admin/rigo/rigo-325-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_6 python3_7 python3_8 python3_9 ) + +inherit eutils gnome2-utils python-r1 git-r3 xdg-utils + +DESCRIPTION="Rigo, the Sabayon Application Browser" +HOMEPAGE="http://www.sabayon.org" +LICENSE="GPL-3" + +EGIT_REPO_URI=https://github.com/Sabayon/entropy.git +EGIT_COMMIT=${PV} + +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="+passwordless-upgrade" + +S="${WORKDIR}/${P}/rigo" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${PYTHON_DEPS} + || ( + dev-python/pygobject-cairo:3[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP},cairo] + ) + ~sys-apps/entropy-${PV}[${PYTHON_USEDEP}] + ~sys-apps/rigo-daemon-${PV}[${PYTHON_USEDEP}] + sys-devel/gettext + x11-libs/gtk+:3 + x11-libs/vte:2.91 + >=x11-misc/xdg-utils-1.1.0_rc1_p20120319" +PDEPEND="passwordless-upgrade? ( app-misc/passwordless-upgrade )" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +PATCHES=() + +src_install() { + installation() { + emake DESTDIR="${D}" PYTHON_SITEDIR="$(python_get_sitedir)" install + python_optimize + } + python_foreach_impl installation + python_replicate_script "${ED}usr/bin/rigo" +} + +pkg_postinst() { + xdg_mimeinfo_database_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_mimeinfo_database_update + xdg_desktop_database_update +} diff --git a/app-backup/insync/Manifest b/app-backup/insync/Manifest index 96125332..38e065f6 100644 --- a/app-backup/insync/Manifest +++ b/app-backup/insync/Manifest @@ -1,10 +1,10 @@ DIST insync-1.4.9.37127-fc25.i686.rpm 85130566 BLAKE2B 6edbb629ab57a3aac1ab715a0035e7b7094f55821c83129163ac6a8fb12e3a73b540983e8c63803f21b3337a5c09197465b63162ae70662799e6fcd8e6184a0a SHA512 297c232809ab1f4a117f4d8548e00769e872e1132f6161b0b6b6f456b001c47bcb28093efd4af8131eb0b4dfbd218888039bf51b04b9775e5a1718ad768984e6 -DIST insync-3.4.1.40977-fc30.x86_64.rpm 129632145 BLAKE2B 2e1c6991ad5dd1ab228cfcabe81f582bfbed1d7a36db7b47b9fbfec12f971f3e7bcfa42824b5d980c240d606d39aa4ecf46f1b4f8a20a20cf3cd530c64da97a4 SHA512 a2e5b057c4c762eb56fff79ca912a9de80896049025fe23f1733f246d781214cd6d6578281048db92a2e70634b90ec8ef7d16932cfaa88449402008251706476 -DIST insync-caja-3.4.0.40973-1.noarch.rpm 54022 BLAKE2B 8e50d5738213560482656c6a9dbff5c5c69a4c7ec8ce46fa6cb82811970a44bf71acd7f75446daa5cebe77295be695a9b4f5e71f1ebdd88176c3bbdd577691e4 SHA512 585fddcaedd0f9675b8a52589d7a00b51f908940af8b839aa840821ae48eb1bd14d340d270b64f1a854e151f361c1d5f29146a8a6f438032083a66a968b1609c -DIST insync-dolphin-3.4.0.40973-1.noarch.rpm 85874 BLAKE2B 15e2716b60b84dcf9267819bbfc7f1fa3cc52e5752c89c054dbcb506e3b191e893399d2fcfc89b051c24eed1a4c4d3220ec09d0fb11fa7c02a73cc20365bdc67 SHA512 b5376e4d71bf0ce60510918bc87bb0e64dd5240ac23cf9c3b9b76b5741144aa58671dbde65a2e13e4c6a3d5f1382a87fc7de592ede2938392014914bf51821be -DIST insync-nautilus-3.4.0.40973-1.noarch.rpm 54942 BLAKE2B 271db9639a73e5851fe3d0492813ce70941d903cb05ba0f4203c4944051a5820460ae1b3a3d1f506766f1cbc1a017143b30ec775849840ec0e45c1c03d1553d1 SHA512 5290f605ee0303838c7374feae3fdc7e703177a4e21d97699b7fbef1f4ca8b5786c889078357ae074b832cacff164229b198682ea4a8d58fa301c430fefd65dd -DIST insync-nemo-3.4.0.40973-1.noarch.rpm 53621 BLAKE2B 629202b584d4f99ed2113c2dcb0e102ce18544fb5a3cc7362a176ef901eb70c6f4755c029dd14f40cf0ec4af1c44a8d6593af0c654b0104bd60839e4d6c6fd33 SHA512 348b65409bb7b4f706cb9a6c2da317aa67e9f902d341e9dcae4a3cb9005ff891f728476b2bd14f599f524e06f8ed15ff70011ebcfe660df4472c9025a5b00c2a -DIST insync-thunar-3.0.23.40579-1.x86_64.rpm 12661 BLAKE2B f673ae7cda3290190e025319f6bf0f1bed179ee3a1a11dbe65438924959a0b8d32ba4528f19e90b81635dbb20f1436fe2baf531ef20b1d355d1fcc1453d69280 SHA512 f30edf41dfffa51c31ebc53eaeb94675fb11265e52c35b0999d16b352c077ddc377889f31b54cd9bd8ac1d43021efa3895991164f4c276a8b0cf3aa1faa576b3 -EBUILD insync-3.4.1.40977.ebuild 3152 BLAKE2B 3e589531d7c22e59d8750b44894282354bc06db26cdbd3340c4a1531bbc834f20124b82c22d897891610bbe3a2b07c0838499b62f25f7165837d286061d50b68 SHA512 d4bd30cb9ef882e8ab096cf75006525cbb6b86d87d9f582d25a6d7bc13246b59ba815ddea9a13258750ec6ed75259ede326df86d6cba891f9e4e27bc4c18d50d +DIST insync-3.4.2.40983-fc34.x86_64.rpm 135319902 BLAKE2B 911ebefac8aa77b7dcc129fcefb083ac64e17eeff39fb3b92ab6a34154aceb85ab257c570e6475827ea3641d8b40170443ce5132783e7e8f756c89c0687b5768 SHA512 a4a4221c953fb6e7e315b6f581f02b900b30fac7ae12680e5a26aa4b9b31c822756230d3cbc32d4c0c3b539f97f31543a17f4b388fdc4f0a5a897e1c1f2a92a5 +DIST insync-caja-3.4.2.40983-1.noarch.rpm 12886 BLAKE2B f49035bdafe51c11fb322fab99cc539c0ae939b6b4765adf49a18961a53f5b7ff80358280bffe24b49df54b13802e0e4260444b5ba817a001694aa7bb1a6987c SHA512 3fc31e5aab2081f30ab129deacb934217c80df0f3f82b90fab0d0e1db3d753253855f17f043cf3511ad4aa703aa55a172d7d718cf42be391542ba88c4d520691 +DIST insync-dolphin-3.4.2.40983-1.noarch.rpm 44328 BLAKE2B b6ad5159ccb708493e7639f2621f35b80f3b0b89412a284de0f0d79fdd15121eca7e79e4ba098483105a9f6061b3d135f9a8d982dbb3f72e9c2fe4d005e312dd SHA512 a343160625923fcbbd55b5b17cca3b962b1ef11cb7ca25a5a20ece8efb7de5fd2b9ce1f69e8903096de7385b402dd487c3b94c7998059b91d45d8cf34fb946ca +DIST insync-nautilus-3.4.2.40983-1.noarch.rpm 14085 BLAKE2B 9acfc5cd81356a066e7e54676c48553b485df1cec3db93f284b2b6e15d7f4662c685436b7b2811c86cdae22e59bf1277c1d2bc6ab8317d5d6e6f86ba7e9a9856 SHA512 938b1fc2b8e0fa5c6f1227cebb624b95fa07bec8a1b34f0100466ad3ec49b00b141f2a3a334afc0b152d0796e4d1c664b9f2168632233a7dadfd0aa0a86e7cac +DIST insync-nemo-3.4.2.40983-1.noarch.rpm 12834 BLAKE2B f25731d07ccb7d5d0040bb74fc2f6634dbb9abcf33a1841839f4cd30779ce0c51dea83514bb68c6f2fcb0ac1b9899899776326f52abba6519b8eafd1fc05eaf7 SHA512 24ab72ba02b61dfc53812e5f2c23934e6e1a00bdf168bcb2dba9c66a43b4a47d914844e8f6b584414b8b45d4fad2197fdf8d23df14d236b61a11d6c1410ecb3d +DIST insync-thunar-3.0.23.40579-1.x86_64.rpm 12661 BLAKE2B e8f0c473bad8b93e6464855fb2b3bf0d09118bf0bd75903a41852465000fcf96321d01268766900a4307960f388b4f15a8b28bfc0ab6c94a75f49d530f682d41 SHA512 74ab001160d30062da73b83c2cdafc6af2176ffda7856db98eb88305d71f6d07cc1a283b4a142cfb3138478900be0af6e946a6965bf2180f8ff86d3b5871df5f +EBUILD insync-3.4.2.40983.ebuild 3197 BLAKE2B b07dec476d90be0a83bd4c218cdc47e62422291fd4a6725dc3f21bd8c5653f3ccbd511af9138e914ed7add3972169d527726ea5def480d38e2f49e2cf34e8be5 SHA512 de9276c43e7215a8a5177869d18b528ea57776c98d520e45321e6fc5fb02ed4d3d2b95c5ebc9adac5826dc99cb9cb3c71d92da78d8010fc782bf8180b3bb30d0 MISC ChangeLog 443 BLAKE2B e45792709bf6bc7389b7009d0295aea8ed96d3caf2e1ef7516ce919e296260a66b9d11f5dbfba5f7344026bd390c53535fd22f123ba239529fc3aeccd19a27cb SHA512 ef37435181408ff3e657a096bb576a5314b9dd1da0eac6841845d6f918dca52f6f72fcef2044264184a525c9b8938a0a4684ac1f93be1893f9680d76b92cb5cc MISC metadata.xml 212 BLAKE2B a2d92e87aa3254bad22abdfbeab35fcea7eb5d7fb605dc804f370bf33e540c8967eaf7a153fcc5aa948d86ba6ec61011c8675a09bca013065d892df341c1b801 SHA512 969198cbf4b7a090c0935fda474f57d4660756a1d00ee8020b70b7f926fe1c4c017432493e293cdbfdeca8c79b8509cfd4d68441355c59434273b1d09cef07bd diff --git a/app-backup/insync/insync-3.4.1.40977.ebuild b/app-backup/insync/insync-3.4.2.40983.ebuild similarity index 82% rename from app-backup/insync/insync-3.4.1.40977.ebuild rename to app-backup/insync/insync-3.4.2.40983.ebuild index b4e2a531..a276ced5 100644 --- a/app-backup/insync/insync-3.4.1.40977.ebuild +++ b/app-backup/insync/insync-3.4.2.40983.ebuild @@ -7,19 +7,19 @@ inherit pax-utils rpm multilib xdg-utils DESCRIPTION="Advanced cross-platform Google Drive client" HOMEPAGE="https://www.insynchq.com/" -NAUTILUSPV="3.4.0.40973" -DOLPHINPV="3.4.0.40973" +NAUTILUSPV="3.4.2.40983" +DOLPHINPV="3.4.2.40983" THUNARPV="3.0.23.40579" -NEMOPV="3.4.0.40973" -CAJAPV="3.4.0.40973" +NEMOPV="3.4.2.40983" +CAJAPV="3.4.2.40983" SRC_URI=" x86? ( http://s.insynchq.com/builds/insync-1.4.9.37127-fc25.i686.rpm ) - amd64? ( http://yum.insync.io/fedora/31/x86_64/insync-${PV}-fc30.x86_64.rpm - http://yum.insync.io/fedora/31/noarch/insync-nautilus-${NAUTILUSPV}-1.noarch.rpm - http://yum.insync.io/fedora/31/noarch/insync-dolphin-${DOLPHINPV}-1.noarch.rpm - http://yum.insync.io/fedora/31/noarch/insync-thunar-${THUNARPV}-1.x86_64.rpm - http://yum.insync.io/fedora/31/noarch/insync-nemo-${NEMOPV}-1.noarch.rpm - http://yum.insync.io/fedora/31/noarch/insync-caja-${CAJAPV}-1.noarch.rpm )" + amd64? ( http://yum.insync.io/fedora/34/x86_64/insync-${PV}-fc34.x86_64.rpm + http://yum.insync.io/fedora/34/noarch/insync-nautilus-${NAUTILUSPV}-1.noarch.rpm + http://yum.insync.io/fedora/34/noarch/insync-dolphin-${DOLPHINPV}-1.noarch.rpm + http://yum.insync.io/fedora/34/noarch/insync-thunar-${THUNARPV}-1.x86_64.rpm + http://yum.insync.io/fedora/34/noarch/insync-nemo-${NEMOPV}-1.noarch.rpm + http://yum.insync.io/fedora/34/noarch/insync-caja-${CAJAPV}-1.noarch.rpm )" LICENSE="no-source-code" SLOT="0" @@ -41,7 +41,9 @@ RDEPEND="dev-qt/qtcore:5 sys-libs/zlib || ( sys-devel/base-gcc sys-devel/gcc ) media-libs/libglvnd - sys-libs/glibc" + sys-libs/glibc + dev-libs/libffi-compat + dev-lang/python:3.7" src_unpack() { rpm_src_unpack diff --git a/app-misc/magneto-loader/Manifest b/app-misc/magneto-loader/Manifest new file mode 100644 index 00000000..91c41ed3 --- /dev/null +++ b/app-misc/magneto-loader/Manifest @@ -0,0 +1,2 @@ +EBUILD magneto-loader-325-r1.ebuild 874 BLAKE2B 3c12d0b0509a3aa02a0b7a44180bd3ef378899b9eba86141f491e6febbccb69d5903a1280ffd4e7e01c1beec377a9431acd71d53ce3d5c361a48464f804a8f30 SHA512 0e1714d2cdda8704567ce360fbacf9388a1b1915f39960b82b7d8f75aec7f0024f102bc4185e2bfa58caef6f959e1c874a62ebf9d49d1691084e5bab518b19c9 +MISC metadata.xml 599 BLAKE2B 35d3731aa343c99413b172d14a9a67cdaecb4ab5986e7035a4e3f7eaf029b1c601621712ef47a536e8572bcdb6294f70ce3ff4a6557db2e9986f2285da64b5ac SHA512 fb7694d3986a3c7228f3ff9be42f1d1387f00e7702e943514d7a4943c7e75419b3dc10e88a5893153b945edf6b07c8bcf5a500096694648bbc0ee2ce1450df81 diff --git a/app-misc/magneto-loader/magneto-loader-325-r1.ebuild b/app-misc/magneto-loader/magneto-loader-325-r1.ebuild new file mode 100644 index 00000000..26f75be7 --- /dev/null +++ b/app-misc/magneto-loader/magneto-loader-325-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_6 python3_7 python3_8 python3_9 ) + +inherit eutils python-r1 git-r3 + +DESCRIPTION="Official Sabayon Linux Entropy Notification Applet Loader" +HOMEPAGE="http://www.sabayon.org" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +EGIT_REPO_URI=https://github.com/Sabayon/entropy.git +EGIT_COMMIT=${PV} + +S="${WORKDIR}/${P}/magneto" + +DEPEND="${PYTHON_DEPS} + ~sys-apps/magneto-core-${PV}[${PYTHON_USEDEP}] + ~app-admin/rigo-${PV}[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_install() { + installation() { + emake DESTDIR="${D}" LIBDIR="usr/lib" magneto-loader-install || die "make install failed" + } + python_foreach_impl installation + python_replicate_script "${ED}usr/bin/magneto" +} diff --git a/app-misc/magneto-loader/metadata.xml b/app-misc/magneto-loader/metadata.xml new file mode 100644 index 00000000..3f474ce2 --- /dev/null +++ b/app-misc/magneto-loader/metadata.xml @@ -0,0 +1,18 @@ + + + + + mudler@gentoo.org + Ettore Di Giacinto + Assign bugs to him + + + skullbocks@sabayon.org + Francesco Ferretti + + + lxnay@gentoo.org + Fabio Erculiani + CC on bugs + + diff --git a/dev-libs/libdatrie/Manifest b/dev-libs/libdatrie/Manifest new file mode 100644 index 00000000..1c1fa226 --- /dev/null +++ b/dev-libs/libdatrie/Manifest @@ -0,0 +1,3 @@ +DIST libdatrie-0.2.13.tar.xz 314072 BLAKE2B 2d8eb96534adea5f164524eac22ed0933075c3762e174a99d475954def199d63d3319375573dab9c2255cd800c6aee1c411bf7e3f116c793091f7fb0c412caf8 SHA512 db3c879d825ead5871c12ef3a06bb093cb1708a6e7e20775eaf82356af9dd6ad54c6b5cabbe1773f2494d3dfa2426528fdd49441038b6294b70ccb1a3d90099a +EBUILD libdatrie-0.2.13.ebuild 479 BLAKE2B 7842af4c4f06f7baafc712f0042bae9c3a8a4e694afd28494cb4c103e8ff6a3c95569e74b339ae335cdbb7acd2a3d805fc8fdf8bbdeb669ae54da3056bebeeb2 SHA512 8ca246f437d87d14ffcd7c1bb0573429ec727a855032bb82851c1e96134eb6e8489cf36f8229f9aafb24ebf3cc7a5cb7c078a3fd2a53557705fbcfa6f62b5933 +EBUILD libdatrie-9999.ebuild 447 BLAKE2B 3cdf1c09955456cf1ba5cdc68969d64fbbd615b703485591729bc40c1eb472ddbcc5a28f7fcfa97e3194a720ed67d803ffd62cce5c83e54c0e4df118ed71e1a1 SHA512 c2d9fc62f023c3c11835c2a2a8897ffb6ce9b5a9af33db896440fd3b00bf490c2944ca31bc78e3a06f8c1199e3d67850967a6aefe44f8b2003dddb8b736795ba diff --git a/dev-libs/libdatrie/libdatrie-0.2.13.ebuild b/dev-libs/libdatrie/libdatrie-0.2.13.ebuild new file mode 100644 index 00000000..2f855af4 --- /dev/null +++ b/dev-libs/libdatrie/libdatrie-0.2.13.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2019 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +DESCRIPTION="Double-Array Trie Library" +HOMEPAGE="https://github.com/tlwg/libdatrie" +SRC_URI="https://linux.thai.net/pub/thailinux/software/libthai/libdatrie-${PV}.tar.xz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +#src_prepare() { +# default +# +# ./autogen.sh || die +#} + +src_configure() { + econf "${myeconfargs[@]}" +} + +src_test() { + emake check test +} diff --git a/dev-libs/libdatrie/libdatrie-9999.ebuild b/dev-libs/libdatrie/libdatrie-9999.ebuild new file mode 100644 index 00000000..3b8673c6 --- /dev/null +++ b/dev-libs/libdatrie/libdatrie-9999.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit git-r3 + +DESCRIPTION="Double-Array Trie Library" +HOMEPAGE="https://github.com/tlwg/libdatrie" + +EGIT_REPO_URI="https://github.com/tlwg/libdatrie.git" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="" + +src_prepare() { + default + + ./autogen.sh || die +} + +src_configure() { + econf "${myeconfargs[@]}" +} + +src_test() { + emake check test +} diff --git a/dev-libs/libthai/Manifest b/dev-libs/libthai/Manifest new file mode 100644 index 00000000..627d45ad --- /dev/null +++ b/dev-libs/libthai/Manifest @@ -0,0 +1,3 @@ +DIST libthai-0.1.28.tar.xz 413592 BLAKE2B a6bcf62d7fbdbd130daeaeb673b688afd840d0130ebcda3019de9dea74b6e863729c5558e77acfb87a20f51dda3c1aa5915e0b12c9353f9d1bc4fe0ac9eea4c5 SHA512 925be8367ae0cba026e602f1f60c813306e9051e22fe722afba496b6e493f8c1f3eb56abb77ca663f53678b14ad793daf3269b32d32720c0d869b906cdf15f4e +EBUILD libthai-0.1.28.ebuild 587 BLAKE2B 7ecd2fef12546317295cbfd574c7b90132f5820c89595399d6eb982fe4d8b04990f2bc82a209f4511e6c853b11ca5736b0af8841b0f07dbc694f02614852a61f SHA512 9358590b1e2cc6457eeabad16ad9640755d480a0bf720a448473eac5b01fb320cd8dc56aa376d994fc305fbc49fabacbaab8a900127a8fba8f79250813086a0c +EBUILD libthai-9999.ebuild 554 BLAKE2B 65c1b5175695cffc9c5a2ee0746189861e4db71a3c5f3ee47e8a78ea2c70a54cd0aba6492c09d531493982fa881c7e381ae3ac613f4824053e57dd8cb594e124 SHA512 aed0aa6aba1c26b46b4e66c3b66a437093d14a95951babbc491c6bae38cd100d72def9a72ef251d8b543cf76f462e0a9bfbfadbc559e3863490dbbb45ba3888f diff --git a/dev-libs/libthai/libthai-0.1.28.ebuild b/dev-libs/libthai/libthai-0.1.28.ebuild new file mode 100644 index 00000000..18edab86 --- /dev/null +++ b/dev-libs/libthai/libthai-0.1.28.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +DESCRIPTION="Thai language support routines" +HOMEPAGE="https://linux.thai.net/projects/libthai/" +SRC_URI="https://linux.thai.net/pub/thailinux/software/libthai/libthai-${PV}.tar.xz" + + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-libs/libdatrie" +DEPEND="${RDEPEND}" + +#src_prepare() { +# default +# +# ./autogen.sh || die +#} + +src_configure() { + local myeconfargs=( + --disable-dict + ) + econf "${myeconfargs[@]}" +} + +src_test() { + emake check test +} diff --git a/dev-libs/libthai/libthai-9999.ebuild b/dev-libs/libthai/libthai-9999.ebuild new file mode 100644 index 00000000..466fd967 --- /dev/null +++ b/dev-libs/libthai/libthai-9999.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit git-r3 + +DESCRIPTION="Thai language support routines" +HOMEPAGE="https://linux.thai.net/projects/libthai/" + +EGIT_REPO_URI="https://github.com/tlwg/libthai.git" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="" + +RDEPEND="dev-libs/libdatrie" +DEPEND="${RDEPEND}" + +src_prepare() { + default + + ./autogen.sh || die +} + +src_configure() { + local myeconfargs=( + --disable-dict + ) + econf "${myeconfargs[@]}" +} + +src_test() { + emake check test +} diff --git a/dev-python/pastescript/Manifest b/dev-python/pastescript/Manifest new file mode 100644 index 00000000..753bc9b1 --- /dev/null +++ b/dev-python/pastescript/Manifest @@ -0,0 +1,3 @@ +AUX pastescript-setup.py-exclude-tests.patch 656 BLAKE2B 4570f85c9476528e19d548a3760fcf1ddb9d4f6cdc61ec7f6336d03ebaf92be0dae849bad044d7307a68be76a1b635a1764394fc7b409b4c5f9dfbdde83cd803 SHA512 231018ef54e937721efb84da42c238afc3903614c030d9966e05512e0a93a1717b8b20d668ab0ebea1c70202ade8d83de41edb85d2ae4665e0100abf1f75d963 +DIST PasteScript-2.0.2.tar.gz 117521 BLAKE2B 2de72050ee7f5b7037b99f9661b5445e523607afc84a8846f0e5d9e89196e302627f552825ce0e4f821b7ed9ed2713c87d7b504a4e2abf092f1e8fa014c40c4b SHA512 2f093eb982972fed354219c75c2e008931cea553960cea8aaafbe57cde8556de5626e7eb9bb3b9b7328bad3b7d9899f11fc9773a65380396dae506e7531516de +EBUILD pastescript-2.0.2.ebuild 1259 BLAKE2B 716f1b1c4dc16e9389e8881db6c5b6d52de3b0b0060cdb9c7ae0fbc5733fbacd865e9669eccd937f50f75f3eccb96877d2aa608508c4d19514bc5ae3e038a1e9 SHA512 9ab181cf81909df9b80b29433aab29c2a831f27baec3bcf85195ebb53ed03529c1fa65f455369c7be13c37265f47cc900f1a58d7e46b5edacc99a4e5651c5fcb diff --git a/dev-python/pastescript/files/pastescript-setup.py-exclude-tests.patch b/dev-python/pastescript/files/pastescript-setup.py-exclude-tests.patch new file mode 100644 index 00000000..8099c8df --- /dev/null +++ b/dev-python/pastescript/files/pastescript-setup.py-exclude-tests.patch @@ -0,0 +1,18 @@ +# HG changeset patch +# User Mike Gilbert +# Date 1353179174 18000 +# Node ID 814fbc493e7a9999086127f64c2406ecb1794990 +# Parent 510ff7d7627750eb0dbbc0d36fa63c72ffa6b303 +Exclude subpackages of tests. +diff --git a/setup.py b/setup.py +--- a/setup.py ++++ b/setup.py +@@ -61,7 +61,7 @@ + url="http://pythonpaste.org/script/", + namespace_packages=['paste'], + license='MIT', +- packages=find_packages(exclude='tests'), ++ packages=find_packages(exclude=['tests','tests.*']), + package_data={ + 'paste.script': ['paster-templates/basic_package/setup.*', + 'paster-templates/basic_package/tests/*.py', diff --git a/dev-python/pastescript/pastescript-2.0.2.ebuild b/dev-python/pastescript/pastescript-2.0.2.ebuild new file mode 100644 index 00000000..3c47428e --- /dev/null +++ b/dev-python/pastescript/pastescript-2.0.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ +EAPI=7 +PYTHON_COMPAT=( python2_7 python3_{3,4,5,6,7,8,9} ) +inherit distutils-r1 +MY_PN="PasteScript" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="A pluggable command-line frontend, including commands to setup package file layouts" +HOMEPAGE="http://pythonpaste.org/script/ https://pypi.python.org/pypi/PasteScript" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" +IUSE="doc test" +RDEPEND=" + >=dev-python/paste-1.3[${PYTHON_USEDEP}] + dev-python/pastedeploy[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + doc? ( + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ) + test? ( dev-python/sphinx[${PYTHON_USEDEP}] )" +# Tests are broken. +RESTRICT="test" +S="${WORKDIR}/${MY_P}" +python_compile_all() { + if use doc; then + einfo "Generation of documentation" + esetup.py build_sphinx + fi +} +python_test() { + nosetests -v -v || die +} +python_install_all() { + distutils-r1_python_install_all + if use doc; then + cd "${BUILD_DIR}"/sphinx/html || die + dohtml -r [a-z]* _static + fi +} \ No newline at end of file diff --git a/dev-python/pygobject-base/Manifest b/dev-python/pygobject-base/Manifest new file mode 100644 index 00000000..c4dd6016 --- /dev/null +++ b/dev-python/pygobject-base/Manifest @@ -0,0 +1,3 @@ +DIST pygobject-3.36.1.tar.xz 556568 BLAKE2B cd38aec8e71ff230926327e77867d07ae0fd5549b71619301bb3be01821ea93e557ecf335ea238292176981a864b269eaa2a86da47e8fb320f187f54caf24dc4 SHA512 5e00dcd03dfe4f92acbf827c13c164b6b9740b2a8cef3b2dce70f96a2156fee2411c84dc669f12b910f4a93daa03ba845282832e2b09d8c887102d43764a345f +EBUILD pygobject-base-3.36.1.ebuild 1720 BLAKE2B e7787df75ff68d6b209872a4dc4e718ac044552086d77aa9a698235fb2edb1be43219c554d8eb77bf00f239599d177bf4b8c4b2b84347370f9efd0d26a3ff5ea SHA512 6a48b9d0daf09f2c40c2cbc3e878d3a96112365d01f018a4c991b24eac1fc33cb3bfb535d0f556f205687a5d2e09413c526642c3a4a489672bf6b67ca3381fed +MISC metadata.xml 353 BLAKE2B 20a18942138d7ceab468b01a639f92248bf94f0e6a015a0c6c34872cf60ab56ef91d9b36eebc74b3d3133ecbc6cfbf2aedbc24369165d0fe9a4e832394beb022 SHA512 abcb7bb015ebb246584f60f388837ed0638040f730111831b52716cbc5a9c4ab0c422397702e1d87e56b2947108d5cfa5aeac7489bcd6f89db480c68c572bcdc diff --git a/dev-python/pygobject-base/metadata.xml b/dev-python/pygobject-base/metadata.xml new file mode 100644 index 00000000..08a5bd43 --- /dev/null +++ b/dev-python/pygobject-base/metadata.xml @@ -0,0 +1,12 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + + python@gentoo.org + Python + + diff --git a/dev-python/pygobject-base/pygobject-base-3.36.1.ebuild b/dev-python/pygobject-base/pygobject-base-3.36.1.ebuild new file mode 100644 index 00000000..49540216 --- /dev/null +++ b/dev-python/pygobject-base/pygobject-base-3.36.1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} ) + + +REAL_PN="${PN/-base}" +GNOME_ORG_MODULE="${REAL_PN}" + +inherit gnome.org meson python-r1 virtualx xdg +DESCRIPTION="Python bindings for GObject Introspection" +HOMEPAGE="https://wiki.gnome.org/Projects/PyGObject" + +LICENSE="LGPL-2.1+" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="examples test" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + >=dev-libs/glib-2.48:2 + >=dev-libs/gobject-introspection-1.54:= + virtual/libffi:= +" +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( + dev-libs/atk[introspection] + dev-python/pytest[${PYTHON_USEDEP}] + x11-libs/gdk-pixbuf:2[introspection,jpeg] + x11-libs/gtk+:3[introspection] + x11-libs/pango[introspection] ) +" + +RESTRICT="!test? ( test )" + +src_configure() { + configuring() { + meson_src_configure \ + -Dpython="${EPYTHON}" \ + -Dpycairo=false + } + + python_foreach_impl configuring +} + +src_compile() { + python_foreach_impl meson_src_compile +} + +src_test() { + local -x GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs + local -x GIO_USE_VOLUME_MONITOR="unix" # prevent udisks-related failures in chroots, bug #449484 + + testing() { + local -x XDG_CACHE_HOME="${T}/${EPYTHON}" + meson_src_test || die "test failed for ${EPYTHON}" + } + virtx python_foreach_impl testing +} + +src_install() { + installing() { + meson_src_install + python_optimize + } + python_foreach_impl installing + use examples && dodoc -r examples +} diff --git a/dev-python/pygobject-cairo/Manifest b/dev-python/pygobject-cairo/Manifest new file mode 100644 index 00000000..bae11178 --- /dev/null +++ b/dev-python/pygobject-cairo/Manifest @@ -0,0 +1,3 @@ +DIST pygobject-3.36.1.tar.xz 556568 BLAKE2B cd38aec8e71ff230926327e77867d07ae0fd5549b71619301bb3be01821ea93e557ecf335ea238292176981a864b269eaa2a86da47e8fb320f187f54caf24dc4 SHA512 5e00dcd03dfe4f92acbf827c13c164b6b9740b2a8cef3b2dce70f96a2156fee2411c84dc669f12b910f4a93daa03ba845282832e2b09d8c887102d43764a345f +EBUILD pygobject-cairo-3.36.1.ebuild 2032 BLAKE2B d3608765dd2e43bdf0d6198a8959155db58232fadb70cc42829086fbdf9e959e1d056982d4504f1b716e707d655f8ce16f8576f85489ef89068740bc8ded1072 SHA512 96489caa79a01780edacb57fa2bcbb288246198aa37a0daeb28d4775a5aa0947bc773a14a31a9a4f7694b1336cae3e86cad8af2ee4d70eedf224896a1f3ece5a +MISC metadata.xml 353 BLAKE2B 20a18942138d7ceab468b01a639f92248bf94f0e6a015a0c6c34872cf60ab56ef91d9b36eebc74b3d3133ecbc6cfbf2aedbc24369165d0fe9a4e832394beb022 SHA512 abcb7bb015ebb246584f60f388837ed0638040f730111831b52716cbc5a9c4ab0c422397702e1d87e56b2947108d5cfa5aeac7489bcd6f89db480c68c572bcdc diff --git a/dev-python/pygobject-cairo/metadata.xml b/dev-python/pygobject-cairo/metadata.xml new file mode 100644 index 00000000..08a5bd43 --- /dev/null +++ b/dev-python/pygobject-cairo/metadata.xml @@ -0,0 +1,12 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + + python@gentoo.org + Python + + diff --git a/dev-python/pygobject-cairo/pygobject-cairo-3.36.1.ebuild b/dev-python/pygobject-cairo/pygobject-cairo-3.36.1.ebuild new file mode 100644 index 00000000..bd070c77 --- /dev/null +++ b/dev-python/pygobject-cairo/pygobject-cairo-3.36.1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} ) + +REAL_PN="${PN/-cairo}" +GNOME_ORG_MODULE="${REAL_PN}" + +inherit gnome.org meson python-r1 virtualx xdg + +DESCRIPTION="Python bindings for GObject Introspection" +HOMEPAGE="https://wiki.gnome.org/Projects/PyGObject" + +LICENSE="LGPL-2.1+" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="examples test" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + >=dev-libs/glib-2.48:2 + >=dev-libs/gobject-introspection-1.54:= + virtual/libffi:= + ~dev-python/pygobject-base-${PV} + >=dev-python/pycairo-1.11.1[${PYTHON_USEDEP}] + x11-libs/cairo[glib] +" +DEPEND="${RDEPEND} + virtual/pkgconfig + x11-libs/cairo[glib] + test? ( + dev-libs/atk[introspection] + dev-python/pytest[${PYTHON_USEDEP}] + x11-libs/gdk-pixbuf:2[introspection,jpeg] + x11-libs/gtk+:3[introspection] + x11-libs/pango[introspection] ) +" + +RESTRICT="!test? ( test )" + +src_configure() { + configuring() { + meson_src_configure \ + -Dpycairo=true \ + -Dpython="${EPYTHON}" + } + + python_foreach_impl configuring +} + +src_compile() { + python_foreach_impl meson_src_compile +} + +src_test() { + local -x GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs + local -x GIO_USE_VOLUME_MONITOR="unix" # prevent udisks-related failures in chroots, bug #449484 + + testing() { + local -x XDG_CACHE_HOME="${T}/${EPYTHON}" + meson_src_test || die "test failed for ${EPYTHON}" + } + virtx python_foreach_impl testing +} + +src_install() { + installing() { + meson_src_install + python_optimize + } + python_foreach_impl installing + rm $(find "${ED}" -type f | grep -v "gi/_gi_cairo.*\.so") \ + $(find "${ED}" -type l | grep -v "gi/_gi_cairo.*\.so") || die + find "${ED}" -depth -type d -empty -exec rmdir {} \; || die + + use examples && dodoc -r examples +} diff --git a/dev-python/pygobject/Manifest b/dev-python/pygobject/Manifest new file mode 100644 index 00000000..7c6599cb --- /dev/null +++ b/dev-python/pygobject/Manifest @@ -0,0 +1,2 @@ +EBUILD pygobject-3.36.1.ebuild 1204 BLAKE2B 7525df237e17e730f68578064ea13bcd294ca3bd4d243b98313bdec615f744b2ba86d47eb612582042119c644501b5d4d6e6a7e29b555505bcad76a2869a5ca3 SHA512 9396ad5aafcfee61978bba827ea5db700a4aedea717824839f613eed4cec5aaa44af9ab32678295256c546e4d2df5e36de10f8b6b1cf2dcc3e1294824d2d05a2 +MISC metadata.xml 353 BLAKE2B 20a18942138d7ceab468b01a639f92248bf94f0e6a015a0c6c34872cf60ab56ef91d9b36eebc74b3d3133ecbc6cfbf2aedbc24369165d0fe9a4e832394beb022 SHA512 abcb7bb015ebb246584f60f388837ed0638040f730111831b52716cbc5a9c4ab0c422397702e1d87e56b2947108d5cfa5aeac7489bcd6f89db480c68c572bcdc diff --git a/dev-python/pygobject/metadata.xml b/dev-python/pygobject/metadata.xml new file mode 100644 index 00000000..08a5bd43 --- /dev/null +++ b/dev-python/pygobject/metadata.xml @@ -0,0 +1,12 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + + python@gentoo.org + Python + + diff --git a/dev-python/pygobject/pygobject-3.36.1.ebuild b/dev-python/pygobject/pygobject-3.36.1.ebuild new file mode 100644 index 00000000..0a038094 --- /dev/null +++ b/dev-python/pygobject/pygobject-3.36.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME2_LA_PUNT="yes" +PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} ) + +inherit python-r1 + +DESCRIPTION="GLib's GObject library bindings for Python, meta package" +HOMEPAGE="https://wiki.gnome.org/Projects/PyGObject" + +LICENSE="LGPL-2.1+" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="+cairo examples test +threads" + +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + test? ( cairo ) +" + +COMMON_DEPEND=" + ~dev-python/pygobject-base-${PV}[examples=,${PYTHON_USEDEP}] + cairo? ( ~dev-python/pygobject-cairo-${PV}[test=,${PYTHON_USEDEP}] ) +" +DEPEND="${COMMON_DEPEND}" +# We now disable introspection support in slot 2 per upstream recommendation +# (see https://bugzilla.gnome.org/show_bug.cgi?id=642048#c9); however, +# older versions of slot 2 installed their own site-packages/gi, and +# slot 3 will collide with them. +RDEPEND="${COMMON_DEPEND} + ! + + + + mudler@gentoo.org + Ettore Di Giacinto + Assign bugs to him + + + skullbocks@sabayon.org + Francesco Ferretti + + + lxnay@gentoo.org + Fabio Erculiani + CC on bugs + + diff --git a/media-sound/spotify-tray/Manifest b/media-sound/spotify-tray/Manifest new file mode 100644 index 00000000..e5022623 --- /dev/null +++ b/media-sound/spotify-tray/Manifest @@ -0,0 +1,3 @@ +DIST spotify-tray-1.3.1.tar.gz 22084 BLAKE2B ee8f269d1ac618794eee8a67b814f689f3a65f18433a1e3c2382465a2b9b247e70e16fb43f061d1c7cef9188f116d0c7e8478fe3ffe2ab5f2de54dc8ccb40808 SHA512 c1fd533e3879f2d9e451264969bc797c6b8ca35f191460d40822728fc6b637ec7487154b0794871f25cbd6e01b16c7ff5eb33806a1235ac09e45e49580d1337a +EBUILD spotify-tray-1.3.1.ebuild 617 BLAKE2B 1432cf1f86e45e202469cd5a5bb667705f6e762ac8be11787624b426ece6ff0f0e00dbcb4ebc4fd234c78ad296a2c0fbd5f7e70702e6abc36847491dd8b97c2a SHA512 063603de63effcab6223b13378c5ff781e78b0cb9a9e70dcbf0c6a75a5483e33cab5c199e8bfd6fbb8ecca5efde50275bcff5e4f3598e4a99da49a632ea2310a +MISC metadata.xml 413 BLAKE2B fc8f119b724d71ff5f53c79db1174ef4d26ab4418ff6ef72dd717f5b4d1211473e88a4bdd421e8aad00606954a4ba80b9d16d7eb14040724f5aba281e97f8a83 SHA512 bbe0abb6afd27760324e085b2a6775c8d4c7199cb82c1d92140498d17462ccea1461fcc830490070c0475ff05e161a2e635027e0bfa53fef0c65da021d353259 diff --git a/media-sound/spotify-tray/metadata.xml b/media-sound/spotify-tray/metadata.xml new file mode 100644 index 00000000..5b36c648 --- /dev/null +++ b/media-sound/spotify-tray/metadata.xml @@ -0,0 +1,12 @@ + + + + + andrewammerlaan@gentoo.org + Andrew Ammerlaan + + + tsmetana/spotify-tray + https://github.com/tsmetana/spotify-tray/issues + + diff --git a/media-sound/spotify-tray/spotify-tray-1.3.1.ebuild b/media-sound/spotify-tray/spotify-tray-1.3.1.ebuild new file mode 100644 index 00000000..28d534d9 --- /dev/null +++ b/media-sound/spotify-tray/spotify-tray-1.3.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools xdg + +DESCRIPTION="Wrapper around the Spotify client that adds a tray icon" +HOMEPAGE="https://github.com/tsmetana/spotify-tray" +SRC_URI="https://github.com/tsmetana/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64" +LICENSE="GPL-3" +SLOT="0" + +DEPEND=" + x11-libs/gtk+:3[X] +" +RDEPEND="${DEPEND} + media-sound/spotify +" + +src_prepare() { + default + # Fix the name of the icon + sed -i -e 's/Icon=spotify/Icon=spotify-client/g' spotify-tray.desktop.in || die + eautoreconf +} diff --git a/media-tv/otrdecoder-bin/Manifest b/media-tv/otrdecoder-bin/Manifest index 64bf3541..f5dc3863 100644 --- a/media-tv/otrdecoder-bin/Manifest +++ b/media-tv/otrdecoder-bin/Manifest @@ -1,3 +1,3 @@ DIST otrdecoder-bin-linux-Ubuntu_8.04-i686-0.4.1133.tar.bz2 2860359 BLAKE2B ee6230c868d9ea2dfb8a0cac03210e6d12aa164ecd6fd5a61c079842716f7ab0f41d72d3de70be7bc4b183498f475fbcbb008ce6dd4d8da050e6fb01893291db SHA512 c95b394c24b1a842ba13519425a5859972cc0d22df76a0d5165bc4461f2b1c4de64719f993763f3d5cf2a13e9e2a78cfcba4778cc0b104de5dfb54223b0ce2d5 DIST otrdecoder-bin-x86_64-unknown-linux-gnu-0.4.1133.tar.bz2 2863081 BLAKE2B c6a2614232aebea2f72f9e6664563d26e96dcc04b29f78bc0ef951bcf175600696db966baf122db2d759bb3943c0edec31795c16641393c866047256eb38687c SHA512 224ad9f730e87de00b96a995919fd920556507a481c5e5d0de5a3fa6ec99aef5be5a87c8341305096b18c7436c01eaf344b00032d3018633b6ece92bd24c3612 -EBUILD otrdecoder-bin-0.4.1133.ebuild 987 BLAKE2B f320af8b6d47896c1edc5bbaf123a06f4ce51927cf162069f034a15e602e5b616176f4bfa0bd5413200befd65da4be203c2ab7f59e9485aa57ada8fb7edffab0 SHA512 db77760f5586580904648ff769efdd3bf303b000a57b173868b249272d17bf0fb46feb593184cc2800d3755d2d22e13918b664dd4747ceaf08a92878b0e12542 +EBUILD otrdecoder-bin-0.4.1133.ebuild 1346 BLAKE2B 5ffcf71a6d04d792262bf7a27896a9b71255823ef0aeab57c55ca93e536f74df03e6dfb5d94c1c9a586a684c5b872f717e2e8dd5fa7c038719eb6627a4937c2e SHA512 c9c3e3a812be758e03691bab731d0a4fe21ec632572c03474136c84e8c533553a6f49bbbb6a7f52b879f1794ff133329f0d1f74851d80a2f1bd8ffb70035b3bd diff --git a/media-tv/otrdecoder-bin/otrdecoder-bin-0.4.1133.ebuild b/media-tv/otrdecoder-bin/otrdecoder-bin-0.4.1133.ebuild index 6b0f193d..d00526dd 100644 --- a/media-tv/otrdecoder-bin/otrdecoder-bin-0.4.1133.ebuild +++ b/media-tv/otrdecoder-bin/otrdecoder-bin-0.4.1133.ebuild @@ -16,6 +16,7 @@ IUSE="X" RDEPEND="X? ( gnome-base/libglade dev-python/pygtk )" +BDEPEND="dev-util/patchelf" RESTRICT="strip" @@ -25,7 +26,10 @@ src_unpack() { } src_prepare() { - sed -i -e "/xml/s:decoderpath:'/usr/share/${PN}':" otrdecoder-gui || die "sed failed" + sed -i -e "/xml/s:decoderpath:'/usr/share/${PN}':" "${S}"/otrdecoder-gui || die "sed failed" + patchelf --replace-needed libavcodec.so.52 libavcodec.so.58 "${S}"/otrdecoder || die "Unable to patch elf" + patchelf --replace-needed libavformat.so.52 libavformat.so.58 "${S}"/otrdecoder || die "Unable to patch elf" + patchelf --replace-needed libavutil.so.49 libavutil.so.56 "${S}"/otrdecoder || die "Unable to patch elf" } src_install() { diff --git a/media-video/davinci-resolve/Manifest b/media-video/davinci-resolve/Manifest new file mode 100644 index 00000000..d4456915 --- /dev/null +++ b/media-video/davinci-resolve/Manifest @@ -0,0 +1,2 @@ +DIST DaVinci_Resolve_16.2.8_Linux.zip 1682814617 BLAKE2B 66da81d72cfaf92f9f69e5ec6d3a34fe1d4bdcc281a30c5874659878fd19fb55b44752516e8173206d51cfd30dd805db36b073260651fcd2d38c11398d02673b SHA512 8f71b91de38a5f085dc42d24e36b0ddf7eb2bab1dd3fde0f82eb00c6511f1b9858790dbb5bf882a52b0a6b93df5ebb9223b2b9327c42330a5d3fa6dc5f8db3e3 +EBUILD davinci-resolve-16.2.8.ebuild 17076 BLAKE2B c5a54176a906df43132bbfd1db808234b4c1426909fba0d988b8457d3f3c574ec26b3aacbfb9f22a9c7228266b04ae1c985ae16037cfa6b14f876d10576e79ae SHA512 73c98286d7332f03c8ce0fe9cbf1e82aa9cd731652572a7c663f0709f3dedaafaa64985c2d38fe95561fc8902aace19d9f5a70a01a16d60fbf77a0048643a4d6 diff --git a/media-video/davinci-resolve/davinci-resolve-16.2.8.ebuild b/media-video/davinci-resolve/davinci-resolve-16.2.8.ebuild new file mode 100644 index 00000000..7c34d0b5 --- /dev/null +++ b/media-video/davinci-resolve/davinci-resolve-16.2.8.ebuild @@ -0,0 +1,485 @@ +# Copyright 2020 Letonai Gáspár +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit unpacker + +DESCRIPTION="Professional A/V post-production software suite" +HOMEPAGE="https://www.blackmagicdesign.com/" +MAJOR_VER="$(ver_cut 1-3)" +BASE_NAME="DaVinci_Resolve_${MAJOR_VER}_Linux" +ARC_NAME="${BASE_NAME}.zip" +SRC_URI="https://www.blackmagicdesign.com/products/davinciresolve/${ARC_NAME}" + +RESTRICT="fetch mirror strip" + +KEYWORDS="~amd64" +SLOT="0" +LICENSE="DavinciResolve" + +IUSE="panels braw" +BDEPEND="dev-libs/libisoburn" +RDEPEND=" + app-arch/bzip2 + app-arch/xz-utils + dev-libs/expat + dev-libs/fribidi + dev-libs/glib + dev-libs/icu + dev-libs/libbsd + dev-libs/libcroco + dev-libs/libffi + dev-libs/libltdl + dev-libs/libpcre + dev-libs/libxml2 + gnome-base/librsvg + media-gfx/graphite2 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + media-libs/harfbuzz + media-libs/libpng + sys-apps/util-linux + sys-devel/gcc + sys-libs/zlib + virtual/glu + virtual/libc + virtual/opencl + virtual/opengl + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXau + x11-libs/libXdmcp + x11-libs/libXext + x11-libs/libXrender + x11-libs/libXxf86vm + x11-libs/libxcb + x11-libs/pango + x11-libs/pixman + panels? ( net-dns/avahi ) + panels? ( virtual/libusb ) + panels? ( virtual/libudev ) +" + +RESOLVE_NAME="DaVinci Resolve" + +S="${WORKDIR}" + +pkg_nofetch() { + einfo "Please download" + einfo " - ${ARC_NAME}" + einfo "from ${HOMEPAGE} and place it in ${DISTDIR}" +} + +src_unpack() { + default + unpack ${ARC_NAME} + mkdir ${BASE_NAME} + xorriso -osirrox on -indev ${BASE_NAME}.run -extract / ${BASE_NAME} + cat > 75-davincipanel.rules < 75-sdx.rules < "${RESOLVE_NAME}.desktop" < + + + + mudler@gentoo.org + Ettore Di Giacinto + Assign bugs to him + + + skullbocks@sabayon.org + Francesco Ferretti + + + lxnay@gentoo.org + Fabio Erculiani + CC on bugs + + + Pull in app-admin/matter + + diff --git a/sys-apps/entropy/Manifest b/sys-apps/entropy/Manifest new file mode 100644 index 00000000..ab4d1f55 --- /dev/null +++ b/sys-apps/entropy/Manifest @@ -0,0 +1,8 @@ +AUX 0001-entropy.client-fix-equo-pkg-quickpkg.patch 1491 BLAKE2B ddbffb72b55b6da763ab4f73aea772be20f0538cce0c8ea28f656f9df0d748f6955f787b62558162d47125e4c9d2a49cb7106a3fee1f594bcd1e1221f0c31287 SHA512 212870c3e941f6a92fef415be2500a63d01c5e692148e02c1277abbd876f6ad78c070ff4bddb403e8dd21ae04ef968dd2c37925f47f1e677d5e3069bd17ccaaf +AUX 0001-entropy.client-fixes-for-dictionary-changed-size-dur.patch 1923 BLAKE2B f822c6993a79e1554b4179e851760631ec4c5ad1bced255089f9f4ee31736434da5d334226cf6d083857e30297dda1a369be59eaec56982e5c1ef2a926787e95 SHA512 470220de9799e225297ab3760c063ddd121b152b5d93e85212da838bced33ce8400af927c96185c5eb1c8f675ed62743e78b84e559113b84633faec0f51c6740 +AUX 0001-entropy.server-gpg-related-fix-for-Python-3.patch 1802 BLAKE2B 2dfaac1e6d5a13b8691118ce3b6b6286fdc6ec363969933a76e8c544b0f210275eeda6fa9f9f2ca992f01fac0ce5cb45a6ec9bcf1741893631486cc58e79a085 SHA512 3a068be4d0dd56d41bd49db7a9c15b3d0c73e355fb6120410af1fd48ac0c19aee4cb1f60a551603b73d164d4838ae47454d5dc3c6a92baf8f474a5171ea2e9f6 +AUX 0001-entropy.spm-Rigo-related-Python-3-fix.patch 1250 BLAKE2B 5ed91f1ac753098d3b63c164ea8b19786aee6215384573ded6acdeb033f2577b2247f8d4fbbf2705aab177a76b76cbfa0aeed14ba4fd3a2d1e2d671885c2d8b0 SHA512 922d7e131779b7dec2e3171603a80a393ad35235f5621bef771909bddccbbcd43576293c9d693e8c410f887468bdd34008d74f1e8ce21c3dcb4c8350b9d860a5 +AUX 0001-entropy.spm-rigo-Rigo-related-Python-3-fixes.patch 1610 BLAKE2B 70b28fdccb7f9c984532cd622f03a6846ee4725e065a692e78b33ee615d8fee763219a2f7a3e0a3c71fb074f097faf378a38af1001c55dae5726ab217606fe46 SHA512 bc7e7d3880bcc5965e4595b9dbc0df980bb2da255ff7946d844cd07355f20751379b5da5c9d30ebd107d0a4f8bf031720e21d0335c72922a5f1d00b8a0a4898a +AUX fileobjs.patch 3401 BLAKE2B 1401c9acedd93894a0ebf51ccf584e8af15ba50a2435f0f2bf55fd182bc0f3db24782ab27c63f54ec03ce8c0cac550e215842a4832e33b73899e2fab44ef1d8d SHA512 56d3587d259226d4f3e3c32f35d5504882d87d2af2ab9b135f39fb043a2d7804d90913b12bf1ec1e3423ac310c6066d04c7f9fe6b669233d81e91543711e0c7e +EBUILD entropy-325-r1.ebuild 3571 BLAKE2B e33615a5089a998f61d42ab4063f1b1b6f6aa6f84fe29e8404393621f1ed48d56e5bbdbfc6d2d3779232d0212888e11d02cbc79444ea7e91df9be0dc5bfffe39 SHA512 3c397d629b0f28f1febcef6d099470d37bfc5720d154ffb22fec723207ac5fd0746f6e574653c13e92ddf4cdbf2da3c1fbda6386073fabc74f3d1ad900502e26 +MISC metadata.xml 564 BLAKE2B 3354c64b6bbb6209e9e72bc648da1156ad0ad3a30430093389c2e26f2f515a216c6a38461ea15288bd8e12092e6957052cea6d4a6caad6907881cd61b7c42b10 SHA512 ea1622a0abb791d9b98b1534077c62f96595835bd352e41362030df988426568bbfeac54be76d270f756693dc433182a67d734c6f9e64c36979a91718b0ca54c diff --git a/sys-apps/entropy/entropy-325-r1.ebuild b/sys-apps/entropy/entropy-325-r1.ebuild new file mode 100644 index 00000000..7ac72868 --- /dev/null +++ b/sys-apps/entropy/entropy-325-r1.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2019 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_6 python3_7 python3_8 python3_9 ) +PYTHON_REQ_USE="sqlite" + +inherit eutils python-r1 user git-r3 + +DESCRIPTION="Entropy Package Manager foundation library" +HOMEPAGE="http://www.sabayon.org" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86" + +EGIT_REPO_URI=https://github.com/Sabayon/entropy.git +EGIT_COMMIT=${PV} + +IUSE="" + +RDEPEND=">=app-misc/pax-utils-0.7 + >=app-portage/portage-utils-0.81 + dev-db/sqlite:3[soundex(+)] + net-misc/rsync + sys-apps/diffutils + sys-apps/sandbox + >=sys-apps/portage-2.1.9[${PYTHON_USEDEP}] + sys-devel/gettext + ${PYTHON_DEPS}" +DEPEND="${RDEPEND} + dev-util/intltool" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +S="${S}/lib" + +PACKAGE_MASK_CONFPATH="${ROOT}/etc/entropy/packages/package.mask" +PACKAGE_UNMASK_CONFPATH="${ROOT}/etc/entropy/packages/package.unmask" +REPO_CONFPATH="${ROOT}/etc/entropy/repositories.conf" +REPO_D_CONFPATH="${ROOT}/etc/entropy/repositories.conf.d" +ENTROPY_CACHEDIR="${ROOT}/var/lib/entropy/caches" + +PATCHES=() + +pkg_setup() { + # Can: + # - update repos + # - update security advisories + # - handle on-disk cache (atm) + enewgroup entropy || die "failed to create entropy group" + # Create unprivileged entropy user + enewgroup entropy-nopriv || die "failed to create entropy-nopriv group" + enewuser entropy-nopriv -1 -1 -1 entropy-nopriv || die "failed to create entropy-nopriv user" +} + +src_install() { + installation() { + emake DESTDIR="${D}" LIBDIR="usr/lib" PYTHON_SITEDIR="$(python_get_sitedir)" \ + install || die "make install failed" + python_optimize + } + python_foreach_impl installation +} + +pkg_preinst() { + local pyc=${EROOT}/usr/lib/entropy/lib/kswitch/__init__.pyc + rm -fv "${pyc}" +} + +pkg_postinst() { + for ex_conf in "${REPO_D_CONFPATH}"/_entropy_sabayon-limbo.example; do + real_conf="${ex_conf%.example}" + if [ -f "${real_conf}" ] || [ -f "${real_conf/_}" ]; then + # skip installation then + continue + fi + elog "Installing: ${real_conf}" + cp "${ex_conf}" "${real_conf}" -p + done + + # Copy config files over + for cfg in "${PACKAGE_MASK_CONFPATH}" "${PACKAGE_UNMASK_CONFPATH}" "${REPO_CONFPATH}"; do + if [ -f "${cfg}.example" ] && [ ! -f "${cfg}" ]; then + elog "Copying ${cfg}.example over to ${cfg}" + cp -p "${cfg}.example" "${cfg}" + fi + done + + if [ -d "${ENTROPY_CACHEDIR}" ]; then + einfo "Purging current Entropy cache" + rm -rf "${ENTROPY_CACHEDIR}"/* + fi + + # Fixup Entropy Resources Lock, and /etc/entropy/packages + # files permissions. This fixes unprivileged Entropy Library usage + local res_file="${ROOT}"/var/lib/entropy/client/database/*/.using_resources + if [ -f "${res_file}" ]; then + chown root:entropy "${res_file}" + chmod g+rw "${res_file}" + chmod o+r "${res_file}" + fi + local pkg_files="package.mask package.unmask package.mask.d package.unmask.d" + local pkg_file + for pkg_file in ${pkg_files}; do + pkg_file="${ROOT}/etc/entropy/packages/${pkg_file}" + recursive="" + if [ -d "${pkg_file}" ]; then + recursive="-R" + fi + if [ -e "${pkg_file}" ]; then + chown ${recursive} root:entropy "${pkg_file}" + chmod ${recursive} go+r "${pkg_file}" + fi + done + + # Setup Entropy Library directories ownership + chown root:entropy "${ROOT}/var/lib/entropy" # no recursion + chown root:entropy "${ROOT}/var/lib/entropy/client/packages" # no recursion + chown root:entropy "${ROOT}/var/log/entropy" # no recursion + + elog "If you want to enable Entropy packages delta download support, please" + elog "install dev-util/bsdiff." +} diff --git a/sys-apps/entropy/files/0001-entropy.client-fix-equo-pkg-quickpkg.patch b/sys-apps/entropy/files/0001-entropy.client-fix-equo-pkg-quickpkg.patch new file mode 100644 index 00000000..e870829e --- /dev/null +++ b/sys-apps/entropy/files/0001-entropy.client-fix-equo-pkg-quickpkg.patch @@ -0,0 +1,36 @@ +From b9e17e16cd55a43af90ab310380085911c131565 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?S=C5=82awomir=20Nizio?= +Date: Tue, 17 Mar 2020 19:45:26 +0100 +Subject: [PATCH] [entropy.client] fix equo pkg quickpkg + +- Python 3 fix +- re-encoding the path actually made it skip files with funny names +--- + lib/entropy/client/interfaces/methods.py | 5 +---- + 1 file changed, 1 insertion(+), 4 deletions(-) + +diff --git lib/entropy/client/interfaces/methods.py lib/entropy/client/interfaces/methods.py +index 487a61d1b..89a45bb0e 100644 +--- lib/entropy/client/interfaces/methods.py ++++ lib/entropy/client/interfaces/methods.py +@@ -2215,16 +2215,13 @@ class MiscMixin: + + # collect files + for orig_path in contents: +- # convert back to filesystem str +- encoded_path = orig_path +- orig_path = const_convert_to_rawstring(orig_path) + strip_orig_path = orig_path.lstrip(os.path.sep) + path = os.path.join(shiftpath, strip_orig_path) + try: + exist = os.lstat(path) + except OSError: + continue # skip file +- ftype = entropy_package_metadata['content'][encoded_path] ++ ftype = entropy_package_metadata['content'][orig_path] + if str(ftype) == '0': + # force match below, '0' means databases without ftype + ftype = 'dir' +-- +2.24.1 + diff --git a/sys-apps/entropy/files/0001-entropy.client-fixes-for-dictionary-changed-size-dur.patch b/sys-apps/entropy/files/0001-entropy.client-fixes-for-dictionary-changed-size-dur.patch new file mode 100644 index 00000000..e2d1a23e --- /dev/null +++ b/sys-apps/entropy/files/0001-entropy.client-fixes-for-dictionary-changed-size-dur.patch @@ -0,0 +1,43 @@ +From 08da648a202d3c8587fedf7ef83f557fef41e2d5 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?S=C5=82awomir=20Nizio?= +Date: Wed, 18 Dec 2019 22:20:29 +0100 +Subject: [PATCH] [entropy.client] fixes for "dictionary changed size during + iteration" + +--- + lib/entropy/client/interfaces/db.py | 4 ++-- + lib/entropy/client/interfaces/dep.py | 3 ++- + 2 files changed, 4 insertions(+), 3 deletions(-) + +diff --git lib/entropy/client/interfaces/db.py lib/entropy/client/interfaces/db.py +index 7e7856e65..2a03580da 100644 +--- lib/entropy/client/interfaces/db.py ++++ lib/entropy/client/interfaces/db.py +@@ -2564,8 +2564,8 @@ class MaskableRepository(EntropyRepositoryBase): + + # if we get here, it means we didn't find a match in repositories + # so we scan packages, last chance +- for keyword in keyword_pkg.keys(): +- # use .keys() because keyword_pkg gets modified during iteration ++ for keyword in list(keyword_pkg.keys()): ++ # use list() because keyword_pkg gets modified during iteration + + # first of all check if keyword is in mykeywords + if keyword not in mykeywords: +diff --git lib/entropy/client/interfaces/dep.py lib/entropy/client/interfaces/dep.py +index 52bc611c1..ecbae5e4d 100644 +--- lib/entropy/client/interfaces/dep.py ++++ lib/entropy/client/interfaces/dep.py +@@ -2855,7 +2855,8 @@ class CalculatorsMixin: + change = False + # now try to deeply remove unused packages + # iterate over a copy +- for pkg_match in deep_dep_map.keys(): ++ # list() because the dict gets modified in setup_revdeps() ++ for pkg_match in list(deep_dep_map.keys()): + deep_dep_map[pkg_match] -= flat_dep_tree + if (not deep_dep_map[pkg_match]) and \ + (pkg_match not in flat_dep_tree): +-- +2.23.0 + diff --git a/sys-apps/entropy/files/0001-entropy.server-gpg-related-fix-for-Python-3.patch b/sys-apps/entropy/files/0001-entropy.server-gpg-related-fix-for-Python-3.patch new file mode 100644 index 00000000..adc199b6 --- /dev/null +++ b/sys-apps/entropy/files/0001-entropy.server-gpg-related-fix-for-Python-3.patch @@ -0,0 +1,44 @@ +From c06eb76644b1edfcfd614a279fa77a1278e717b4 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?S=C5=82awomir=20Nizio?= +Date: Sun, 9 Feb 2020 22:18:26 +0100 +Subject: [PATCH] [entropy.server] gpg related fix for Python 3 + +With Python 3, data in sqlite from packagesignatures.gpg column was binary on +read (because it was binary on write) but a string was actually required. + +The problem was visible with GPG signed packages: when injected into database +using eit with Python 3, it would then explode during equo update/install on +client side. + +error from Python 2: + + File "/usr/lib64/python2.7/site-packages/entropy/client/interfaces/package/actions/fetch.py", line 1063, in do_signatures_validation + if hash_val in signatures: + TypeError: writable buffers are not hashable + +error from Python 3: + + File "/usr/lib64/python3.6/site-packages/entropy/client/interfaces/package/actions/fetch.py", line 1023, in do_compare_gpg + tmp_f.write(hash_val) + TypeError: write() argument must be str, not bytes +--- + lib/entropy/server/interfaces/main.py | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git lib/entropy/server/interfaces/main.py lib/entropy/server/interfaces/main.py +index 4a7103ff6..cac4fdb7e 100644 +--- lib/entropy/server/interfaces/main.py ++++ lib/entropy/server/interfaces/main.py +@@ -7126,7 +7126,8 @@ class Server(Client): + return None + gpg_sign_path = repo_sec.sign_file(repo, pkg_path) + # read file content and add to 'gpg' signature +- with open(gpg_sign_path, "rb") as gpg_f: ++ enc = etpConst['conf_encoding'] ++ with codecs.open(gpg_sign_path, "r", encoding = enc) as gpg_f: + gpg_signature = gpg_f.read() + os.remove(gpg_sign_path) + return gpg_signature +-- +2.24.1 + diff --git a/sys-apps/entropy/files/0001-entropy.spm-Rigo-related-Python-3-fix.patch b/sys-apps/entropy/files/0001-entropy.spm-Rigo-related-Python-3-fix.patch new file mode 100644 index 00000000..d5f74765 --- /dev/null +++ b/sys-apps/entropy/files/0001-entropy.spm-Rigo-related-Python-3-fix.patch @@ -0,0 +1,28 @@ +From 0869912ec4c630d2946e835b2585367e233c1c15 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?S=C5=82awomir=20Nizio?= +Date: Wed, 12 Feb 2020 21:44:01 +0100 +Subject: [PATCH] [entropy.spm] Rigo related Python 3 fix + + File "/usr/lib64/python3.6/site-packages/entropy/spm/plugins/interfaces/portage_plugin/__init__.py", line 101, in _pusher + self._std.buffer.write(chunk) +AttributeError: 'FakeOutFile' object has no attribute 'buffer' +--- + lib/entropy/spm/plugins/interfaces/portage_plugin/__init__.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git lib/entropy/spm/plugins/interfaces/portage_plugin/__init__.py lib/entropy/spm/plugins/interfaces/portage_plugin/__init__.py +index a23e46290..d6d624fb0 100644 +--- lib/entropy/spm/plugins/interfaces/portage_plugin/__init__.py ++++ lib/entropy/spm/plugins/interfaces/portage_plugin/__init__.py +@@ -97,7 +97,7 @@ class StdoutSplitter(object): + break + raise + try: +- if const_is_python3(): ++ if const_is_python3() and isinstance(self._std, io.TextIOWrapper): + self._std.buffer.write(chunk) + else: + self._std.write(chunk) +-- +2.24.1 + diff --git a/sys-apps/entropy/files/0001-entropy.spm-rigo-Rigo-related-Python-3-fixes.patch b/sys-apps/entropy/files/0001-entropy.spm-rigo-Rigo-related-Python-3-fixes.patch new file mode 100644 index 00000000..a202a64e --- /dev/null +++ b/sys-apps/entropy/files/0001-entropy.spm-rigo-Rigo-related-Python-3-fixes.patch @@ -0,0 +1,43 @@ +(part of the commit) + +From 8700aade27cb4117bf102afc7bd22ba6acfd8aa8 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?S=C5=82awomir=20Nizio?= +Date: Tue, 11 Feb 2020 22:25:08 +0100 +Subject: [PATCH] [entropy.spm, rigo] Rigo related Python 3 fixes + +1) + File "/usr/lib/python-exec/python3.6/RigoDaemon_app.py", line 362, in _pusher + fobj.write(chunk) +TypeError: write() argument must be str, not bytes + +2) + File "/usr/lib64/python3.6/site-packages/entropy/spm/plugins/interfaces/portage_plugin/__init__.py", line 77, in __init__ + self.buffer = Writer(self, self._std.buffer) +AttributeError: 'FakeOutFile' object has no attribute 'buffer' +--- + lib/entropy/spm/plugins/interfaces/portage_plugin/__init__.py | 4 +++- + rigo/RigoDaemon/app/RigoDaemon_app.py | 2 +- + 2 files changed, 4 insertions(+), 2 deletions(-) + +diff --git lib/entropy/spm/plugins/interfaces/portage_plugin/__init__.py lib/entropy/spm/plugins/interfaces/portage_plugin/__init__.py +index 83dca0b6e..a23e46290 100644 +--- lib/entropy/spm/plugins/interfaces/portage_plugin/__init__.py ++++ lib/entropy/spm/plugins/interfaces/portage_plugin/__init__.py +@@ -10,6 +10,7 @@ + + """ + import os ++import io + import errno + import bz2 + import hashlib +@@ -74,7 +75,8 @@ class StdoutSplitter(object): + self._buf.flush() + self._parent.flush() + +- self.buffer = Writer(self, self._std.buffer) ++ if isinstance(self._std, io.TextIOWrapper): ++ self.buffer = Writer(self, self._std.buffer) + + def __iter__(self): + return self._std diff --git a/sys-apps/entropy/files/fileobjs.patch b/sys-apps/entropy/files/fileobjs.patch new file mode 100644 index 00000000..23d451b0 --- /dev/null +++ b/sys-apps/entropy/files/fileobjs.patch @@ -0,0 +1,100 @@ +(part of) +commit 0019b6e68af9bda8b368a7073e5eb927607f00e2 +Author: SÅ‚awomir Nizio +Date: Sat Mar 21 22:08:50 2020 +0100 + + [entropy.misc, rigo] fix file-like objects with Python 3 + + FakeOutFile and LogFile need .buffer like Python 3 "text" file objects + which is needed when in rigo standard output/error is replaced, and then + it reaches Portage which does this: + + if sys.hexversion >= 0x3000000 and fd in (sys.stdout, sys.stderr): + fd = fd.buffer + fd.write(mystr) + + (/usr/lib64/python3.6/site-packages/portage/util/__init__.py). + + Entropy internal code did not need this. + + Note, after this commit, changes done previously: + 1) + commit 0869912ec4c630d2946e835b2585367e233c1c15 + + [entropy.spm] Rigo related Python 3 fix + + File "/usr/lib64/python3.6/site-packages/entropy/spm/plugins/interfaces/portage_plugin/__init__.py", line 101, in _pusher + self._std.buffer.write(chunk) + AttributeError: 'FakeOutFile' object has no attribute 'buffer' + + 2) + commit 8700aade27cb4117bf102afc7bd22ba6acfd8aa8 + + [entropy.spm, rigo] Rigo related Python 3 fixes + + 1) + File "/usr/lib/python-exec/python3.6/RigoDaemon_app.py", line 362, in _pusher + fobj.write(chunk) + TypeError: write() argument must be str, not bytes + + 2) + File "/usr/lib64/python3.6/site-packages/entropy/spm/plugins/interfaces/portage_plugin/__init__.py", line 77, in __init__ + self.buffer = Writer(self, self._std.buffer) + AttributeError: 'FakeOutFile' object has no attribute 'buffer' + + (...) + + could be likely reverted; not tested, it could be better to have them anyway to + avoid futher re/encoding/checks if conversions are needed (subjective). + + Fixes bug 5899. + +diff --git lib/entropy/misc.py lib/entropy/misc.py +index bb4a94af8..d216bd693 100644 +--- lib/entropy/misc.py ++++ lib/entropy/misc.py +@@ -35,7 +35,8 @@ import threading + from collections import deque + + from entropy.const import etpConst, const_isunicode, \ +- const_isfileobj, const_convert_log_level, const_setup_file ++ const_isfileobj, const_convert_log_level, const_setup_file, \ ++ const_convert_to_unicode + from entropy.exceptions import EntropyException + + import entropy.tools +@@ -1665,6 +1666,24 @@ class FastRSS(object): + const_setup_file(self.__file, etpConst['entropygid'], 0o664) + + ++class FileobjCompatBuffer: ++ ++ """ ++ Compatibility shim for file object with the buffer attribute. ++ To be used with classes whose write method expect strings. ++ """ ++ ++ def __init__(self, parent): ++ self._parent = parent ++ ++ def write(self, msg): ++ msg_str = const_convert_to_unicode(msg) ++ self._parent.write(msg_str) ++ ++ def flush(self): ++ self._parent.flush() ++ ++ + class LogFile: + + """ Entropy simple logging interface, works as file object """ +@@ -1715,6 +1734,9 @@ class LogFile: + LogFile.DATE_FORMAT)) + self.__logger.addHandler(self.__handler) + ++ if const_is_python3(): ++ self.buffer = FileobjCompatBuffer(self) ++ + def __enter__(self): + """ + Just return self, configuration is done in __init__ diff --git a/sys-apps/entropy/metadata.xml b/sys-apps/entropy/metadata.xml new file mode 100644 index 00000000..d490b047 --- /dev/null +++ b/sys-apps/entropy/metadata.xml @@ -0,0 +1,18 @@ + + + + + mudler@gentoo.org + Ettore Di Giacinto + Assign bugs to him + + + skullbocks@sabayon.org + Francesco Ferretti + + + lxnay@gentoo.org + Fabio Erculiani + CC on bugs + + diff --git a/sys-apps/magneto-core/Manifest b/sys-apps/magneto-core/Manifest new file mode 100644 index 00000000..68b7a4b5 --- /dev/null +++ b/sys-apps/magneto-core/Manifest @@ -0,0 +1,2 @@ +EBUILD magneto-core-325-r1.ebuild 838 BLAKE2B c012b2d248590218241875e9237738ed5f3a2bbfd0a59e033b6770b00f6594e5bdeb8d2abe3ce33425b309ecfc8be396447d7befbdd42dfd4b5e59271f7786dc SHA512 782cc12bcbc32df52687b1d4a46cddc2a664b20b429c2cbcacf90d016a45c06898a4af987f2ad176a697a16e3f8b472d6d563a9a7c0743e6a9fdf5c5dd56d7a5 +MISC metadata.xml 599 BLAKE2B 35d3731aa343c99413b172d14a9a67cdaecb4ab5986e7035a4e3f7eaf029b1c601621712ef47a536e8572bcdb6294f70ce3ff4a6557db2e9986f2285da64b5ac SHA512 fb7694d3986a3c7228f3ff9be42f1d1387f00e7702e943514d7a4943c7e75419b3dc10e88a5893153b945edf6b07c8bcf5a500096694648bbc0ee2ce1450df81 diff --git a/sys-apps/magneto-core/magneto-core-325-r1.ebuild b/sys-apps/magneto-core/magneto-core-325-r1.ebuild new file mode 100644 index 00000000..94c241c0 --- /dev/null +++ b/sys-apps/magneto-core/magneto-core-325-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_6 python3_7 python3_8 python3_9 ) + +inherit eutils python-r1 multilib git-r3 + +DESCRIPTION="Entropy Package Manager notification applet library" +HOMEPAGE="http://www.sabayon.org" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +EGIT_REPO_URI=https://github.com/Sabayon/entropy.git +EGIT_COMMIT=${PV} + +S="${WORKDIR}/${P}/magneto" + +DEPEND="~sys-apps/rigo-daemon-${PV}[${PYTHON_USEDEP}] + ${PYTHON_DEPS}" +RDEPEND="${DEPEND} + x11-misc/xdg-utils" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_install() { + installation() { + emake DESTDIR="${D}" LIBDIR="usr/lib" PYTHON_SITEDIR="$(python_get_sitedir)" \ + magneto-core-install + python_optimize + } + python_foreach_impl installation +} diff --git a/sys-apps/magneto-core/metadata.xml b/sys-apps/magneto-core/metadata.xml new file mode 100644 index 00000000..3f474ce2 --- /dev/null +++ b/sys-apps/magneto-core/metadata.xml @@ -0,0 +1,18 @@ + + + + + mudler@gentoo.org + Ettore Di Giacinto + Assign bugs to him + + + skullbocks@sabayon.org + Francesco Ferretti + + + lxnay@gentoo.org + Fabio Erculiani + CC on bugs + + diff --git a/sys-apps/rigo-daemon/Manifest b/sys-apps/rigo-daemon/Manifest new file mode 100644 index 00000000..b0c35b91 --- /dev/null +++ b/sys-apps/rigo-daemon/Manifest @@ -0,0 +1,4 @@ +AUX 0001-entropy.spm-rigo-Rigo-related-Python-3-fixes.patch 1542 BLAKE2B f093f06f244d44f85854d7c633de442dfd21909568278ed8d956fbdaef2935f2aff8f8c41b8baeb4ea8da3b44fc1f4122b7db4fb1dbb9dcf2d84208868692921 SHA512 bbb4228547cf1d7f0825d0187d6880b43e4253795c801eb579d30431fdf90bc88024c57cec42f5f752724763e0016d04e9ef78ef149673cc87343c81b77e7111 +AUX fileobjs-rigo.patch 2980 BLAKE2B 924913acb7c36ae8692b31a151dcbe1b8e14b04674715d2f70256b735e0c79155c9d4bd4b985b0f5745bffc03ecaef593add18bbc3e83504b96ec8ba70adf524 SHA512 aae5987dd5ae9b35d89bca07540cd41c4f3bdb65a214389036980a131167242af6f5b4682e3d0f2622fba795fe7ce238594eade8dae2766ee7dc28215e313819 +EBUILD rigo-daemon-325-r1.ebuild 992 BLAKE2B 6b2467484540e5c74eafeaae32c26416fa9f54355f0c850c4ce72d160594fa2e2ec8578f3cf8681695ec2f7b88a7064121e83791651829a0118e224850923c33 SHA512 d12f9047437d143f540160b25ea5509db3be6d49e500fefc4fe66b2f75e0afd917497ccb3535cf22ec7d1f695ed3f4b55c32d330b7b07c89c5becb14a18facc0 +MISC metadata.xml 599 BLAKE2B 35d3731aa343c99413b172d14a9a67cdaecb4ab5986e7035a4e3f7eaf029b1c601621712ef47a536e8572bcdb6294f70ce3ff4a6557db2e9986f2285da64b5ac SHA512 fb7694d3986a3c7228f3ff9be42f1d1387f00e7702e943514d7a4943c7e75419b3dc10e88a5893153b945edf6b07c8bcf5a500096694648bbc0ee2ce1450df81 diff --git a/sys-apps/rigo-daemon/files/0001-entropy.spm-rigo-Rigo-related-Python-3-fixes.patch b/sys-apps/rigo-daemon/files/0001-entropy.spm-rigo-Rigo-related-Python-3-fixes.patch new file mode 100644 index 00000000..6830ec08 --- /dev/null +++ b/sys-apps/rigo-daemon/files/0001-entropy.spm-rigo-Rigo-related-Python-3-fixes.patch @@ -0,0 +1,37 @@ +(part of the commit below) + +From 8700aade27cb4117bf102afc7bd22ba6acfd8aa8 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?S=C5=82awomir=20Nizio?= +Date: Tue, 11 Feb 2020 22:25:08 +0100 +Subject: [PATCH] [entropy.spm, rigo] Rigo related Python 3 fixes + +1) + File "/usr/lib/python-exec/python3.6/RigoDaemon_app.py", line 362, in _pusher + fobj.write(chunk) +TypeError: write() argument must be str, not bytes + +2) + File "/usr/lib64/python3.6/site-packages/entropy/spm/plugins/interfaces/portage_plugin/__init__.py", line 77, in __init__ + self.buffer = Writer(self, self._std.buffer) +AttributeError: 'FakeOutFile' object has no attribute 'buffer' +--- + lib/entropy/spm/plugins/interfaces/portage_plugin/__init__.py | 4 +++- + rigo/RigoDaemon/app/RigoDaemon_app.py | 2 +- + 2 files changed, 4 insertions(+), 2 deletions(-) + +diff --git rigo/RigoDaemon/app/RigoDaemon_app.py rigo/RigoDaemon/app/RigoDaemon_app.py +index bc89ea0f1..39c4aeefe 100755 +--- a/app/RigoDaemon_app.py ++++ b/app/RigoDaemon_app.py +@@ -3158,7 +3158,7 @@ class RigoDaemonService(dbus.service.Object): + "enqueue_application_action: " + "busied, but cannot remove previous path") + try: +- fobj = os.fdopen(tmp_fd, "w") ++ fobj = os.fdopen(tmp_fd, "wb") + except OSError as err: + write_output( + "enqueue_application_action: " +-- +2.24.1 + diff --git a/sys-apps/rigo-daemon/files/fileobjs-rigo.patch b/sys-apps/rigo-daemon/files/fileobjs-rigo.patch new file mode 100644 index 00000000..b7fc6aab --- /dev/null +++ b/sys-apps/rigo-daemon/files/fileobjs-rigo.patch @@ -0,0 +1,75 @@ +(part of) +commit 0019b6e68af9bda8b368a7073e5eb927607f00e2 +Author: SÅ‚awomir Nizio +Date: Sat Mar 21 22:08:50 2020 +0100 + + [entropy.misc, rigo] fix file-like objects with Python 3 + + FakeOutFile and LogFile need .buffer like Python 3 "text" file objects + which is needed when in rigo standard output/error is replaced, and then + it reaches Portage which does this: + + if sys.hexversion >= 0x3000000 and fd in (sys.stdout, sys.stderr): + fd = fd.buffer + fd.write(mystr) + + (/usr/lib64/python3.6/site-packages/portage/util/__init__.py). + + Entropy internal code did not need this. + + Note, after this commit, changes done previously: + 1) + commit 0869912ec4c630d2946e835b2585367e233c1c15 + + [entropy.spm] Rigo related Python 3 fix + + File "/usr/lib64/python3.6/site-packages/entropy/spm/plugins/interfaces/portage_plugin/__init__.py", line 101, in _pusher + self._std.buffer.write(chunk) + AttributeError: 'FakeOutFile' object has no attribute 'buffer' + + 2) + commit 8700aade27cb4117bf102afc7bd22ba6acfd8aa8 + + [entropy.spm, rigo] Rigo related Python 3 fixes + + 1) + File "/usr/lib/python-exec/python3.6/RigoDaemon_app.py", line 362, in _pusher + fobj.write(chunk) + TypeError: write() argument must be str, not bytes + + 2) + File "/usr/lib64/python3.6/site-packages/entropy/spm/plugins/interfaces/portage_plugin/__init__.py", line 77, in __init__ + self.buffer = Writer(self, self._std.buffer) + AttributeError: 'FakeOutFile' object has no attribute 'buffer' + + (...) + + could be likely reverted; not tested, it could be better to have them anyway to + avoid futher re/encoding/checks if conversions are needed (subjective). + + Fixes bug 5899. + +diff --git a/app/RigoDaemon_app.py b/app/RigoDaemon_app.py +index 39c4aeefe..33b45e5b8 100755 +--- a/app/RigoDaemon_app.py ++++ b/app/RigoDaemon_app.py +@@ -79,7 +79,7 @@ from entropy.exceptions import DependenciesNotFound, \ + EntropyPackageException, InterruptError, RepositoryError + from entropy.i18n import _ + from entropy.misc import LogFile, ParallelTask, TimeScheduled, \ +- ReadersWritersSemaphore ++ ReadersWritersSemaphore, FileobjCompatBuffer + from entropy.fetchers import UrlFetcher, MultipleUrlFetcher + from entropy.output import TextInterface, purple, teal + from entropy.client.interfaces import Client +@@ -340,6 +340,10 @@ class FakeOutFile(object): + self._app_mgmt_mutex = app_mgmt_mutex + self._app_mgmt_notes = app_mgmt_notes + self._rfd, self._wfd = os.pipe() ++ ++ if const_is_python3(): ++ self.buffer = FileobjCompatBuffer(self) ++ + task = ParallelTask(self._pusher) + task.name = "FakeOutFilePusher" + task.daemon = True diff --git a/sys-apps/rigo-daemon/metadata.xml b/sys-apps/rigo-daemon/metadata.xml new file mode 100644 index 00000000..3f474ce2 --- /dev/null +++ b/sys-apps/rigo-daemon/metadata.xml @@ -0,0 +1,18 @@ + + + + + mudler@gentoo.org + Ettore Di Giacinto + Assign bugs to him + + + skullbocks@sabayon.org + Francesco Ferretti + + + lxnay@gentoo.org + Fabio Erculiani + CC on bugs + + diff --git a/sys-apps/rigo-daemon/rigo-daemon-325-r1.ebuild b/sys-apps/rigo-daemon/rigo-daemon-325-r1.ebuild new file mode 100644 index 00000000..a4e21efd --- /dev/null +++ b/sys-apps/rigo-daemon/rigo-daemon-325-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_6 python3_7 python3_8 python3_9 ) + +inherit eutils python-r1 git-r3 + +MY_PN="RigoDaemon" +DESCRIPTION="Entropy Client DBus Services, aka RigoDaemon" +HOMEPAGE="http://www.sabayon.org" +LICENSE="GPL-3" + +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +EGIT_REPO_URI=https://github.com/Sabayon/entropy.git +EGIT_COMMIT=${PV} + +S="${WORKDIR}/${P}/rigo/RigoDaemon" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${PYTHON_DEPS} + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + ~sys-apps/entropy-${PV}[${PYTHON_USEDEP}] + sys-auth/polkit[introspection] + sys-devel/gettext" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_install() { + installation() { + emake DESTDIR="${D}" PYTHON_SITEDIR="$(python_get_sitedir)" install + python_optimize + } + python_foreach_impl installation + python_replicate_script "${ED}usr/libexec/RigoDaemon_app.py" +}