add Emby Theater

This commit is contained in:
Mario Fetka 2021-08-20 15:58:48 +02:00
parent e265aa7331
commit 123ebbf1df
69 changed files with 2066 additions and 75 deletions

3
app-admin/equo/Manifest Normal file
View File

@ -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

View File

@ -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
}

View File

@ -0,0 +1,25 @@
From 09cb7b34961cf7a83d76115156844dac444d2c78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C5=82awomir=20Nizio?= <slawomir.nizio@sabayon.org>
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

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>mudler@gentoo.org</email>
<name>Ettore Di Giacinto</name>
<description>Assign bugs to him</description>
</maintainer>
<maintainer type="person">
<email>skullbocks@sabayon.org</email>
<name>Francesco Ferretti</name>
</maintainer>
<maintainer type="person">
<email>lxnay@gentoo.org</email>
<name>Fabio Erculiani</name>
<description>CC on bugs</description>
</maintainer>
<use>
</use>
</pkgmetadata>

3
app-admin/rigo/Manifest Normal file
View File

@ -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

View File

@ -0,0 +1,19 @@
commit e01746bc38a7d715d446e998ca06d88d23b90e69
Author: Sławomir Nizio <slawomir.nizio@sabayon.org>
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

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>mudler@gentoo.org</email>
<name>Ettore Di Giacinto</name>
<description>Assign bugs to him</description>
</maintainer>
<maintainer type="person">
<email>skullbocks@sabayon.org</email>
<name>Francesco Ferretti</name>
</maintainer>
<maintainer type="person">
<email>lxnay@gentoo.org</email>
<name>Fabio Erculiani</name>
<description>CC on bugs</description>
</maintainer>
<use>
<flag name="passwordless-upgrade">Enable passwordless system upgrades if user is in the entropy group</flag>
</use>
</pkgmetadata>

View File

@ -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
}

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,2 @@
EBUILD magneto-loader-325-r1.ebuild 874 BLAKE2B 3c12d0b0509a3aa02a0b7a44180bd3ef378899b9eba86141f491e6febbccb69d5903a1280ffd4e7e01c1beec377a9431acd71d53ce3d5c361a48464f804a8f30 SHA512 0e1714d2cdda8704567ce360fbacf9388a1b1915f39960b82b7d8f75aec7f0024f102bc4185e2bfa58caef6f959e1c874a62ebf9d49d1691084e5bab518b19c9
MISC metadata.xml 599 BLAKE2B 35d3731aa343c99413b172d14a9a67cdaecb4ab5986e7035a4e3f7eaf029b1c601621712ef47a536e8572bcdb6294f70ce3ff4a6557db2e9986f2285da64b5ac SHA512 fb7694d3986a3c7228f3ff9be42f1d1387f00e7702e943514d7a4943c7e75419b3dc10e88a5893153b945edf6b07c8bcf5a500096694648bbc0ee2ce1450df81

View File

@ -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"
}

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>mudler@gentoo.org</email>
<name>Ettore Di Giacinto</name>
<description>Assign bugs to him</description>
</maintainer>
<maintainer type="person">
<email>skullbocks@sabayon.org</email>
<name>Francesco Ferretti</name>
</maintainer>
<maintainer type="person">
<email>lxnay@gentoo.org</email>
<name>Fabio Erculiani</name>
<description>CC on bugs</description>
</maintainer>
</pkgmetadata>

View File

@ -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

View File

@ -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
}

View File

@ -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
}

View File

@ -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

View File

@ -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
}

View File

@ -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
}

View File

@ -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

View File

@ -0,0 +1,18 @@
# HG changeset patch
# User Mike Gilbert <floppym@gentoo.org>
# 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',

View File

@ -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
}

View File

@ -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

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>gnome@gentoo.org</email>
<name>Gentoo GNOME Desktop</name>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
</pkgmetadata>

View File

@ -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
}

View File

@ -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

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>gnome@gentoo.org</email>
<name>Gentoo GNOME Desktop</name>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
</pkgmetadata>

View File

@ -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
}

View File

@ -0,0 +1,2 @@
EBUILD pygobject-3.36.1.ebuild 1204 BLAKE2B 7525df237e17e730f68578064ea13bcd294ca3bd4d243b98313bdec615f744b2ba86d47eb612582042119c644501b5d4d6e6a7e29b555505bcad76a2869a5ca3 SHA512 9396ad5aafcfee61978bba827ea5db700a4aedea717824839f613eed4cec5aaa44af9ab32678295256c546e4d2df5e36de10f8b6b1cf2dcc3e1294824d2d05a2
MISC metadata.xml 353 BLAKE2B 20a18942138d7ceab468b01a639f92248bf94f0e6a015a0c6c34872cf60ab56ef91d9b36eebc74b3d3133ecbc6cfbf2aedbc24369165d0fe9a4e832394beb022 SHA512 abcb7bb015ebb246584f60f388837ed0638040f730111831b52716cbc5a9c4ab0c422397702e1d87e56b2947108d5cfa5aeac7489bcd6f89db480c68c572bcdc

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>gnome@gentoo.org</email>
<name>Gentoo GNOME Desktop</name>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
</pkgmetadata>

View File

@ -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}
!<dev-python/pygtk-2.13
!<dev-python/pygobject-2.28.6-r50:2[introspection]
"

View File

@ -1,2 +1,2 @@
DIST pypubsub-4.0.3.zip 220240 BLAKE2B 6f155bb5a3e165f28c76dcd7f9b3bd8a18fb0c13db77254abd4eda02cda95a5bb2a3295e82ec4b6e68461c85f240045d84ab27dd7565826f75b32cf761134079 SHA512 a5b12c308ec6be5596b4c4cf71f735f583ab96ad9de9841fd97e1bae33a6f14566f610a9cbccd567d427cd037c96609528679cf90f3c6bb90afd5d841341f0b4
EBUILD pypubsub-4.0.3.ebuild 753 BLAKE2B 3b5704145dfda773b726a54338471ea2cddff4207065ff0e329969099a8c06cccc0f9199e83b8f2f75eb49841f2bd9a0d47de547e2c8b10b46543af4ed055d0e SHA512 f50ff390e8bed16fda65d0114d0ac9f2c9a89ad6d5b15442b7eafe2d8d3bd132a94250e953ab3c8dfc51dbb419c36fcda369b269ea971f4936aaa4c8f6c60f77
EBUILD pypubsub-4.0.3.ebuild 755 BLAKE2B 57dd08bfe5caa44d01d6dc60f3a1867ca3a96ea4bf35c3843efd440af965da13e9f0c8a3e24aa94975a6a5df60c7f1e2382f40c19e6a8b08bff4ead1661d9f6c SHA512 b9778a1673e13fc649e7e8f63ecb120e6992b67feb9c168b092c0e932f1c130d22ab0f278ac0a546d72ba1e86648ae30ff99d836324c27c32c213909ab668bee

View File

@ -3,7 +3,7 @@
EAPI="7"
PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_COMPAT=( python3_{6,7,8,9} )
inherit distutils-r1

View File

@ -0,0 +1,2 @@
EBUILD magneto-kde-325-r1.ebuild 857 BLAKE2B d3d6f0338760fa5bf851c4658d9786a5251ea2f68bcbecfd4948522fc7528bab4632333d4dfb04dec98cf6fd6cd29f5fc8dfc994e2ab47b35a0610d3e52ca676 SHA512 5fc98b6cfe306b33dea34224c540319a2dcd63bf9678f8a11b8d0e2a8466354fe1dc1bc2f9659f7ce5bb9470d1bb96adf25cd41dda4445c6fc16a41661193b55
MISC metadata.xml 599 BLAKE2B 35d3731aa343c99413b172d14a9a67cdaecb4ab5986e7035a4e3f7eaf029b1c601621712ef47a536e8572bcdb6294f70ce3ff4a6557db2e9986f2285da64b5ac SHA512 fb7694d3986a3c7228f3ff9be42f1d1387f00e7702e943514d7a4943c7e75419b3dc10e88a5893153b945edf6b07c8bcf5a500096694648bbc0ee2ce1450df81

View File

@ -0,0 +1,37 @@
# 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
DESCRIPTION="Entropy Package Manager notification applet KDE frontend"
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}"
RDEPEND="~app-misc/magneto-loader-${PV}[${PYTHON_USEDEP}]
dev-python/PyQt5[${PYTHON_USEDEP},dbus]
${DEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_install() {
installation() {
emake DESTDIR="${D}" LIBDIR="usr/lib" PYTHON_SITEDIR="$(python_get_sitedir)" \
magneto-kde-install
python_optimize
}
python_foreach_impl installation
}

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>mudler@gentoo.org</email>
<name>Ettore Di Giacinto</name>
<description>Assign bugs to him</description>
</maintainer>
<maintainer type="person">
<email>skullbocks@sabayon.org</email>
<name>Francesco Ferretti</name>
</maintainer>
<maintainer type="person">
<email>lxnay@gentoo.org</email>
<name>Fabio Erculiani</name>
<description>CC on bugs</description>
</maintainer>
</pkgmetadata>

View File

@ -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

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>andrewammerlaan@gentoo.org</email>
<name>Andrew Ammerlaan</name>
</maintainer>
<upstream>
<remote-id type="github">tsmetana/spotify-tray</remote-id>
<bugs-to>https://github.com/tsmetana/spotify-tray/issues</bugs-to>
</upstream>
</pkgmetadata>

View File

@ -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
}

View File

@ -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

View File

@ -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() {

View File

@ -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

View File

@ -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 <<EOF
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1edb", MODE="0666"
EOF
cat > 75-sdx.rules <<EOF
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="096e", MODE="0666"
EOF
cat > "${RESOLVE_NAME}.desktop" <<EOF
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Exec=/opt/resolve/bin/resolve
Icon=/opt/resolve/graphics/DV_Resolve.png
Name=${RESOLVE_NAME}
Comment=${DESCRIPTION}
Terminal=false
MimeType=application/x-resolveproj;
Type=Application
StartupNotify=true
Categories=AudioVideo
EOF
tar -zxf ${BASE_NAME}/share/panels/dvpanel-framework-linux-x86_64.tgz libDaVinciPanelAPI.so
}
src_install() {
dodir /opt/resolve
keepdir /opt/resolve/easyDCP
keepdir /opt/resolve/.license
exeinto /opt/resolve/bin
doexe ${BASE_NAME}/bin/BMDPanelFirmware
doexe ${BASE_NAME}/bin/DPDecoder
doexe ${BASE_NAME}/bin/DaVinciPanelDaemon
doexe ${BASE_NAME}/bin/ShowDpxHeader
doexe ${BASE_NAME}/bin/TestIO
doexe ${BASE_NAME}/bin/VstScanner
doexe ${BASE_NAME}/bin/bandwidthTest
doexe ${BASE_NAME}/bin/bmdpaneld
doexe ${BASE_NAME}/bin/deviceQuery
doexe ${BASE_NAME}/bin/genconfig
doexe ${BASE_NAME}/bin/oclBandwidthTest
doexe ${BASE_NAME}/bin/oclDeviceQuery
doexe ${BASE_NAME}/bin/resolve
doexe ${BASE_NAME}/bin/run_bmdpaneld
insinto /opt/resolve/bin
doins ${BASE_NAME}/bin/libusb-1.0.so
doins ${BASE_NAME}/bin/libusb-1.0.so.0
doins ${BASE_NAME}/bin/qt.conf
exeinto /opt/resolve/bin
doexe ${BASE_NAME}/bin/libusb-1.0.so.0.1.0
insinto /opt/resolve/libs
doins -r ${BASE_NAME}/libs/CanonLUTs
doins ${BASE_NAME}/libs/CrmRsc1.bin
doins ${BASE_NAME}/libs/CrmRsc2.bin
doins ${BASE_NAME}/libs/CrmRsc3.bin
doins ${BASE_NAME}/libs/Photon.jar
doins ${BASE_NAME}/libs/program.dat
doins ${BASE_NAME}/libs/libSMDK-Linux-x64.so
doins ${BASE_NAME}/libs/libSMDK-Linux-x64.so.4.17
doins ${BASE_NAME}/libs/libSonyRawDev.so
doins ${BASE_NAME}/libs/libSonyRawDev.so.3
doins ${BASE_NAME}/libs/libapr-1.so
doins ${BASE_NAME}/libs/libapr-1.so.0
doins ${BASE_NAME}/libs/libaprutil-1.so
doins ${BASE_NAME}/libs/libaprutil-1.so.0
doins ${BASE_NAME}/libs/libavcodec.so
doins ${BASE_NAME}/libs/libavcodec.so.57
doins ${BASE_NAME}/libs/libavcuenc.so
doins ${BASE_NAME}/libs/libavformat.so
doins ${BASE_NAME}/libs/libavformat.so.57
doins ${BASE_NAME}/libs/libavutil.so
doins ${BASE_NAME}/libs/libavutil.so.55
doins ${BASE_NAME}/libs/libcdt.so
doins ${BASE_NAME}/libs/libcdt.so.5
doins ${BASE_NAME}/libs/libcgraph.so
doins ${BASE_NAME}/libs/libcgraph.so.6
doins ${BASE_NAME}/libs/libcodexhdedecoder.so
doins ${BASE_NAME}/libs/libcodexhdedecoder.so.2
doins ${BASE_NAME}/libs/libgvc.so
doins ${BASE_NAME}/libs/libgvc.so.6
doins ${BASE_NAME}/libs/libgvpr.so
doins ${BASE_NAME}/libs/libgvpr.so.2
doins ${BASE_NAME}/libs/liblog4cxx.so
doins ${BASE_NAME}/libs/liblog4cxx.so.10
doins ${BASE_NAME}/libs/libopencv_calib3d.so
doins ${BASE_NAME}/libs/libopencv_calib3d.so.3.4
doins ${BASE_NAME}/libs/libopencv_core.so
doins ${BASE_NAME}/libs/libopencv_core.so.3.4
doins ${BASE_NAME}/libs/libopencv_dnn.so
doins ${BASE_NAME}/libs/libopencv_dnn.so.3.4
doins ${BASE_NAME}/libs/libopencv_dnn.so.3.4.1
doins ${BASE_NAME}/libs/libopencv_features2d.so
doins ${BASE_NAME}/libs/libopencv_features2d.so.3.4
doins ${BASE_NAME}/libs/libopencv_flann.so
doins ${BASE_NAME}/libs/libopencv_flann.so.3.4
doins ${BASE_NAME}/libs/libopencv_highgui.so
doins ${BASE_NAME}/libs/libopencv_highgui.so.3.4
doins ${BASE_NAME}/libs/libopencv_imgcodecs.so
doins ${BASE_NAME}/libs/libopencv_imgcodecs.so.3.4
doins ${BASE_NAME}/libs/libopencv_imgproc.so
doins ${BASE_NAME}/libs/libopencv_imgproc.so.3.4
doins ${BASE_NAME}/libs/libopencv_ml.so
doins ${BASE_NAME}/libs/libopencv_ml.so.3.4
doins ${BASE_NAME}/libs/libopencv_objdetect.so
doins ${BASE_NAME}/libs/libopencv_objdetect.so.3.4
doins ${BASE_NAME}/libs/libopencv_superres.so
doins ${BASE_NAME}/libs/libopencv_superres.so.3.4
doins ${BASE_NAME}/libs/libopencv_video.so
doins ${BASE_NAME}/libs/libopencv_video.so.3.4
doins ${BASE_NAME}/libs/libopencv_videoio.so
doins ${BASE_NAME}/libs/libopencv_videoio.so.3.4
doins ${BASE_NAME}/libs/libpathplan.so
doins ${BASE_NAME}/libs/libpathplan.so.4
doins ${BASE_NAME}/libs/libsavce.so
doins ${BASE_NAME}/libs/libsavce.so.4
doins ${BASE_NAME}/libs/libsavcehpp.so
doins ${BASE_NAME}/libs/libsavcehpp.so.4
doins ${BASE_NAME}/libs/libsavcempc.so
doins ${BASE_NAME}/libs/libsavcempc.so.4
doins ${BASE_NAME}/libs/libsonyxavcenc.so
doins ${BASE_NAME}/libs/libsonyxavcenc.so.1
doins ${BASE_NAME}/libs/libxdot.so
doins ${BASE_NAME}/libs/libxdot.so.4
exeinto /opt/resolve/libs
doexe ${BASE_NAME}/libs/REDCuda-x64.so
doexe ${BASE_NAME}/libs/REDDecoder-x64.so
doexe ${BASE_NAME}/libs/REDOpenCL-x64.so
doexe ${BASE_NAME}/libs/REDR3D-x64.so
doexe ${BASE_NAME}/libs/csehq2.so
doexe ${BASE_NAME}/libs/csehqa.so
doexe ${BASE_NAME}/libs/cseuvec.so
doexe ${BASE_NAME}/libs/libArriRawSDK.so.6
doexe ${BASE_NAME}/libs/libBMDAudioPlugins.so
doexe ${BASE_NAME}/libs/libBMDDavUI.so
doexe ${BASE_NAME}/libs/libBMDDavUI_debug.so
doexe ${BASE_NAME}/libs/libBlackmagicRawAPI.so
doexe ${BASE_NAME}/libs/libCg.so
doexe ${BASE_NAME}/libs/libCgGL.so
doexe ${BASE_NAME}/libs/libCrmSdk.so.2.5
doexe ${BASE_NAME}/libs/libDNxHR.so
doexe ${BASE_NAME}/libs/libDNxUncompressedSDK.so
doexe ${BASE_NAME}/libs/libDecoderCUDA.so
doexe ${BASE_NAME}/libs/libDecoderOpenCL.so
doexe ${BASE_NAME}/libs/libFairlightPage.so
doexe ${BASE_NAME}/libs/libFusionPage.so
doexe ${BASE_NAME}/libs/libMXF.so
doexe ${BASE_NAME}/libs/libQt5Concurrent.so.5
doexe ${BASE_NAME}/libs/libQt5Core.so.5
doexe ${BASE_NAME}/libs/libQt5DBus.so.5
doexe ${BASE_NAME}/libs/libQt5Gui.so.5
doexe ${BASE_NAME}/libs/libQt5Multimedia.so.5
doexe ${BASE_NAME}/libs/libQt5Network.so.5
doexe ${BASE_NAME}/libs/libQt5OpenGL.so.5
doexe ${BASE_NAME}/libs/libQt5Sql.so.5
doexe ${BASE_NAME}/libs/libQt5Svg.so.5
doexe ${BASE_NAME}/libs/libQt5Widgets.so.5
doexe ${BASE_NAME}/libs/libQt5X11Extras.so.5
doexe ${BASE_NAME}/libs/libQt5Xml.so.5
doexe ${BASE_NAME}/libs/libQt5XmlPatterns.so.5
doexe ${BASE_NAME}/libs/libQtCore.so.4
doexe ${BASE_NAME}/libs/libQtGui.so.4
doexe ${BASE_NAME}/libs/libSMDK-Linux-x64.so.4.17.0
doexe ${BASE_NAME}/libs/libSonyRawDev.so.3.3.0
doexe ${BASE_NAME}/libs/libapr-1.so.0.6.2
doexe ${BASE_NAME}/libs/libaprutil-1.so.0.6.0
doexe ${BASE_NAME}/libs/libavcodec.so.57.24.102
doexe ${BASE_NAME}/libs/libavformat.so.57.25.100
doexe ${BASE_NAME}/libs/libavutil.so.55.17.103
doexe ${BASE_NAME}/libs/libc++.so.1
doexe ${BASE_NAME}/libs/libc++abi.so.1
doexe ${BASE_NAME}/libs/libcodexhdedecoder.so.2.1.1
doexe ${BASE_NAME}/libs/libcdt.so.5.0.0
doexe ${BASE_NAME}/libs/libcgraph.so.6.0.0
doexe ${BASE_NAME}/libs/libcom-api.so
doexe ${BASE_NAME}/libs/libcrxdec.so
doexe ${BASE_NAME}/libs/libcrypto.so.1.0.0
doexe ${BASE_NAME}/libs/libcublas.so.11
doexe ${BASE_NAME}/libs/libcublasLt.so.11
doexe ${BASE_NAME}/libs/libcudart.so.11.0
doexe ${BASE_NAME}/libs/libcudart.so.6.5
doexe ${BASE_NAME}/libs/libcudart.so.7.5
doexe ${BASE_NAME}/libs/libcudart.so.9.1
doexe ${BASE_NAME}/libs/libcudnn.so.8
doexe ${BASE_NAME}/libs/libfraunhoferdcp.so
doexe ${BASE_NAME}/libs/libgpudetect.so
doexe ${BASE_NAME}/libs/libgvc.so.6.0.0
doexe ${BASE_NAME}/libs/libgvcodec.so
doexe ${BASE_NAME}/libs/libgvpr.so.2.0.0
doexe ${BASE_NAME}/libs/libid3-3.8.so.3
doexe ${BASE_NAME}/libs/libimf.so
doexe ${BASE_NAME}/libs/libintlc.so.5
doexe ${BASE_NAME}/libs/libirc.so
doexe ${BASE_NAME}/libs/libirng.so
doexe ${BASE_NAME}/libs/liblog4cxx.so.10.0.0
doexe ${BASE_NAME}/libs/libluajit-5.1.so.2
doexe ${BASE_NAME}/libs/libmp4decMT.so
doexe ${BASE_NAME}/libs/libmp4encMT.so
doexe ${BASE_NAME}/libs/libnvrtc-builtins.so
doexe ${BASE_NAME}/libs/libnvrtc-builtins.so.11.0
doexe ${BASE_NAME}/libs/libnvrtc-builtins.so.7.5
doexe ${BASE_NAME}/libs/libnvrtc-builtins.so.9.1
doexe ${BASE_NAME}/libs/libnvrtc.so
doexe ${BASE_NAME}/libs/libnvrtc.so.11.0
doexe ${BASE_NAME}/libs/libnvrtc.so.7.5
doexe ${BASE_NAME}/libs/libnvrtc.so.9.1
doexe ${BASE_NAME}/libs/libopencv_calib3d.so.3.4.1
doexe ${BASE_NAME}/libs/libopencv_core.so.3.4.1
doexe ${BASE_NAME}/libs/libopencv_features2d.so.3.4.1
doexe ${BASE_NAME}/libs/libopencv_flann.so.3.4.1
doexe ${BASE_NAME}/libs/libopencv_highgui.so.3.4.1
doexe ${BASE_NAME}/libs/libopencv_imgcodecs.so.3.4.1
doexe ${BASE_NAME}/libs/libopencv_imgproc.so.3.4.1
doexe ${BASE_NAME}/libs/libopencv_ml.so.3.4.1
doexe ${BASE_NAME}/libs/libopencv_objdetect.so.3.4.1
doexe ${BASE_NAME}/libs/libopencv_superres.so.3.4.1
doexe ${BASE_NAME}/libs/libopencv_video.so.3.4.1
doexe ${BASE_NAME}/libs/libopencv_videoio.so.3.4.1
doexe ${BASE_NAME}/libs/libopenvr_api.so
doexe ${BASE_NAME}/libs/libpathplan.so.4.0.0
doexe ${BASE_NAME}/libs/libpq.so.5
doexe ${BASE_NAME}/libs/libsavce.so.4.2.78.13000
doexe ${BASE_NAME}/libs/libsavcehpp.so.4.2.78.13000
doexe ${BASE_NAME}/libs/libsavcempc.so.4.2.66.12000
doexe ${BASE_NAME}/libs/libsonyxavcenc.so.1.1.11.66
doexe ${BASE_NAME}/libs/libsoxr.so.0
doexe ${BASE_NAME}/libs/libssl.so.1.0.0
doexe ${BASE_NAME}/libs/libsvml.so
doexe ${BASE_NAME}/libs/libtbbmalloc.so.2
doexe ${BASE_NAME}/libs/libtbbmalloc_proxy.so.2
doexe ${BASE_NAME}/libs/libxdot.so.4.0.0
exeinto /opt/resolve/libs/Fusion
doexe ${BASE_NAME}/libs/Fusion/fuscript
exeinto /opt/resolve/libs/Fusion/Plugins
doexe ${BASE_NAME}/libs/Fusion/Plugins/*.plugin
insinto /opt/resolve/libs/Fusion
doins -r ${BASE_NAME}/libs/Fusion/Skins
exeinto /opt/resolve/libs/Fusion
doexe ${BASE_NAME}/libs/Fusion/*.so
insinto /opt/resolve/libs
doins -r ${BASE_NAME}/libs/easyDCP
insinto /opt/resolve/libs/graphviz
doins -r ${BASE_NAME}/libs/graphviz/config6
doins -r ${BASE_NAME}/libs/graphviz/libgvplugin_core.so
doins -r ${BASE_NAME}/libs/graphviz/libgvplugin_core.so.6
doins -r ${BASE_NAME}/libs/graphviz/libgvplugin_dot_layout.so
doins -r ${BASE_NAME}/libs/graphviz/libgvplugin_dot_layout.so.6
exeinto /opt/resolve/libs/graphviz
doexe ${BASE_NAME}/libs/graphviz/libgvplugin_core.so.6.0.0
doexe ${BASE_NAME}/libs/graphviz/libgvplugin_dot_layout.so.6.0.0
exeinto /opt/resolve/libs/plugins/imageformats
doexe ${BASE_NAME}/libs/plugins/imageformats/*.so
exeinto /opt/resolve/libs/plugins/platforms
doexe ${BASE_NAME}/libs/plugins/platforms/*.so
exeinto /opt/resolve/libs/plugins/sqldrivers
doexe ${BASE_NAME}/libs/plugins/sqldrivers/*.so
if use panels; then
insinto /opt/resolve/DaVinci\ Resolve\ Panels\ Setup/AdminUtility/PlugIns/DaVinciPanels
doins -r ${BASE_NAME}/DaVinci\ Resolve\ Panels\ Setup/AdminUtility/PlugIns/DaVinciPanels/Resources
exeinto /opt/resolve/DaVinci\ Resolve\ Panels\ Setup/AdminUtility/PlugIns/DaVinciPanels/lib
doexe ${BASE_NAME}//DaVinci\ Resolve\ Panels\ Setup/AdminUtility/PlugIns/DaVinciPanels/lib/*
exeinto /opt/resolve/DaVinci\ Resolve\ Panels\ Setup/AdminUtility/PlugIns/DaVinciPanels
doexe ${BASE_NAME}//DaVinci\ Resolve\ Panels\ Setup/AdminUtility/PlugIns/DaVinciPanels/libDaVinciPanels.so
exeinto /opt/resolve/DaVinci\ Resolve\ Panels\ Setup/lib
doexe ${BASE_NAME}//DaVinci\ Resolve\ Panels\ Setup/lib/*
exeinto /opt/resolve/DaVinci\ Resolve\ Panels\ Setup/plugins/imageformats
doexe ${BASE_NAME}/DaVinci\ Resolve\ Panels\ Setup/plugins/imageformats/*.so
exeinto /opt/resolve/DaVinci\ Resolve\ Panels\ Setup/plugins/platforms
doexe ${BASE_NAME}/DaVinci\ Resolve\ Panels\ Setup/plugins/platforms/*.so
exeinto /opt/resolve/DaVinci\ Resolve\ Panels\ Setup
doexe ${BASE_NAME}/DaVinci\ Resolve\ Panels\ Setup/DaVinci\ Resolve\ Panels\ Setup
insinto /opt/resolve/DaVinci\ Resolve\ Panels\ Setup
doins -r ${BASE_NAME}/DaVinci\ Resolve\ Panels\ Setup/Resources
doins ${BASE_NAME}/DaVinci\ Resolve\ Panels\ Setup/qt.conf
fi
insinto /opt/resolve/LUT
doins -r ${BASE_NAME}/LUT/ACES
doins -r ${BASE_NAME}/LUT/Arri
doins -r ${BASE_NAME}/LUT/Astrodesign
doins -r ${BASE_NAME}/LUT/Blackmagic\ Design
doins -r ${BASE_NAME}/LUT/DCI
doins -r ${BASE_NAME}/LUT/DJI
doins -r ${BASE_NAME}/LUT/Film\ Looks
doins -r ${BASE_NAME}/LUT/HDR\ Hybrid\ Log-Gamma
doins -r ${BASE_NAME}/LUT/HDR\ ST\ 2084
doins -r ${BASE_NAME}/LUT/Olympus
doins -r ${BASE_NAME}/LUT/Panasonic
doins -r ${BASE_NAME}/LUT/RED
doins -r ${BASE_NAME}/LUT/Sony
doins -r ${BASE_NAME}/LUT/VFX\ IO
doins ${BASE_NAME}/LUT/Canon\ Log\ to\ Cineon.ilut
doins ${BASE_NAME}/LUT/Canon\ Log\ to\ Rec709.ilut
doins ${BASE_NAME}/LUT/Canon\ Log\ to\ Video.ilut
doins ${BASE_NAME}/LUT/Cintel\ Negative\ to\ Linear.ilut
doins ${BASE_NAME}/LUT/Cintel\ Print\ to\ Linear.ilut
doins ${BASE_NAME}/LUT/Data\ to\ Video\ with\ Clip.olut
doins ${BASE_NAME}/LUT/Invert\ Color.ilut
doins ${BASE_NAME}/LUT/Invert\ Color.olut
doins ${BASE_NAME}/LUT/LMT\ Day\ for\ Night.xml
doins ${BASE_NAME}/LUT/LMT\ Kodak\ 2383\ Print\ Emulation.xml
doins ${BASE_NAME}/LUT/LMT\ Neon\ Suppression.xml
doins ${BASE_NAME}/LUT/Sony\ SLog2\ to\ Rec709.ilut
doins ${BASE_NAME}/LUT/Sony\ SLog3\ to\ Rec709.ilut
doins ${BASE_NAME}/LUT/trim_lut0.dpx
exeinto /opt/resolve/LUT
doexe ${BASE_NAME}/LUT/GenLut
doexe ${BASE_NAME}/LUT/GenOutputLut
insinto /opt/resolve/Onboarding
doins -r ${BASE_NAME}/Onboarding/html
doins -r ${BASE_NAME}/Onboarding/translations
doins ${BASE_NAME}/Onboarding/icudtl.dat
doins ${BASE_NAME}/Onboarding/qt.conf
doins ${BASE_NAME}/Onboarding/qtwebengine_resources.pak
exeinto /opt/resolve/Onboarding
doexe ${BASE_NAME}/Onboarding/DaVinci_Resolve_Welcome
exeinto /opt/resolve/Onboarding/lib
doexe ${BASE_NAME}/Onboarding/lib/*
insinto /opt/resolve/Onboarding/libexec
doins ${BASE_NAME}/Onboarding/libexec/qt.conf
exeinto /opt/resolve/Onboarding/libexec
doexe ${BASE_NAME}/Onboarding/libexec/QtWebEngineProcess
exeinto /opt/resolve/Onboarding/plugins/imageformats
doexe ${BASE_NAME}/Onboarding/plugins/imageformats/*
exeinto /opt/resolve/Onboarding/plugins/platforms
doexe ${BASE_NAME}/Onboarding/plugins/platforms/*
exeinto /opt/resolve/Onboarding/plugins/qtwebengine
doexe ${BASE_NAME}/Onboarding/plugins/qtwebengine/*
exeinto /opt/resolve/Onboarding/plugins/xcbglintegrations
doexe ${BASE_NAME}/Onboarding/plugins/xcbglintegrations/*
insinto /opt/resolve/plugins
doins ${BASE_NAME}/plugins/*.bin
exeinto /opt/resolve/plugins
doexe ${BASE_NAME}/plugins/*.so
insinto /opt/resolve
doins -r ${BASE_NAME}/Control
doins -r ${BASE_NAME}/Developer
doins -r ${BASE_NAME}/docs
doins -r ${BASE_NAME}/Fusion
doins -r ${BASE_NAME}/graphics
doins -r ${BASE_NAME}/Technical\ Documentation
doins -r ${BASE_NAME}/UI_Resource
exeinto /opt/resolve/scripts
doexe ${BASE_NAME}/scripts/script.checkfirmware
doexe ${BASE_NAME}/scripts/script.getlogs.v4
doexe ${BASE_NAME}/scripts/script.start
insinto /opt/resolve/share
doins ${BASE_NAME}/share/default-config.dat
doins ${BASE_NAME}/share/log-conf.xml
doins ${BASE_NAME}/share/default_cm_config.bin
if use panels; then
insinto /lib/udev/rules.d
doins 75-davincipanel.rules
doins 75-sdx.rules
dolib.so libDaVinciPanelAPI.so
fi
if use braw; then
dodir /opt/resolve/bin/BlackmagicRawAPI
dosym /opt/resolve/libs/libBlackmagicRawAPI.so /opt/resolve/bin/libBlackmagicRawAPI.so
dosym /opt/resolve/libs/libBlackmagicRawAPI.so /opt/resolve/bin/BlackmagicRawAPI/libBlackmagicRawAPI.so
fi
keepdir /var/BlackmagicDesign/DaVinci\ Resolve
insinto /usr/share/applications/
doins "${RESOLVE_NAME}.desktop"
}

View File

@ -0,0 +1,2 @@
DIST emby-theater_3.0.15_amd64.deb 64160712 BLAKE2B 2669a84e29adf8fabb2106c0b284c47d363aad9116f96d51c525f6315bb6e0f88e184796d563f2a215197158e1f4a35771cf8736700f6e66fd9aeea40c4bbd32 SHA512 6ad5c4217cb5a87793da0eccbef4aaf5e67e424776ce32f9b5d87a0152794405e2bae74c042b913f4328c5167c4ea7584cb3b58270c7093946fce996253e39aa
EBUILD emby-theater-3.0.15.ebuild 682 BLAKE2B 25b8f23aca605e8afa9ca3029b151069854fdf3c02110c2ebbd96f1d99e8491f6372be2f7f2f2078f94b3e761e5b651a8ae90977a3346959aaabd96c800ac5c2 SHA512 c0dbb0adc9fafb86896c13e9ecef88a570e3d953498d2d4e94b66dd8cccf29d0077f75defcb25c998db60173d0e18c24639caee5f058216bb3cbc3597786a939

View File

@ -0,0 +1,35 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit xdg unpacker
MY_PV="${PV}-1"
DESCRIPTION="An Electron app for Emby"
HOMEPAGE="https://github.com/MediaBrowser/emby-theater-electron/"
SRC_URI="https://github.com/MediaBrowser/${PN}-electron/releases/download/${PV}/${PN}_${PV}_amd64.deb"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-libs/libcec
dev-qt/qtquickcontrols2
dev-qt/qtwebchannel
dev-qt/qtwebengine
dev-qt/qtx11extras
media-video/mpv[libmpv]
"
QA_PREBUILT=".*"
S="${WORKDIR}"
src_install() {
doins -r usr
fperms +x /usr/bin/emby-theater
rm -r "${ED}"/usr/share/doc/ || die
}

View File

@ -1,4 +1,4 @@
DIST RASClient-15.5.16465_i386.tar.bz2 14857037 BLAKE2B c54e82bd88fa76e30d7cce1248940e17b36542f1688375ba1a312b4ab4509c8e3361bfef9160ae01257f1fda942003391661c678631825e92eb6c0aff3e872cc SHA512 d14e8a2b87bab1010642e73dd6ff56319e909b9074b197446db3376bd14390ceb96b8f9bf040b8724a7e92babc4b60d9560d28d6eed59f7364ec82c10f04bfe3
DIST RASClient-17.1.21954_x86_64.tar.bz2 20587770 BLAKE2B 417fdd67db9d2e567623b9b839da9180409decfee2ace192a20b61cd7750d5b3a81cc17374031e7faa9bd6f4c545817f47fc5099f295883a8bf742fc71fcfb91 SHA512 d50dbfe85b48694cef49f0c95ebe99bc3c17cf48888948fabe81dab1143deb584b74b69ddce201a97ce46a83063e7d2c2ace309a89350923ad6c4ad7f865962e
EBUILD rasclient-15.5.4.16465.ebuild 2769 BLAKE2B 260d13736ce153d85227fd22f44bed41f3cc1e3fb43da7d8fc61d002d2c61aaf2a6cfce5651feff172afe13b8dd34fc09938623550a1fd94b35f36adb382a032 SHA512 657f944eb1d17fe8b7807ab575dc096f5c3637900dd67631d977541c0d4bcc1a5375d691362a6b095a8fd5f052bcf0a5b19009871807a6270277713850cd917b
EBUILD rasclient-17.1.3.21954.ebuild 2639 BLAKE2B 63e35fff53a9b0f0a6837ad3287ab7b4ae0aed6bdd3f891e6802ca810cb1801bea0f4ce4201990996ab520e69a286fceaba11d77f3a7d5b1bf366f414c4e3627 SHA512 7adb4ebb2df20abadc5f88f3c0d5642685a494dc5ee890bead1fe303ecf47ec95440d9fccdd27729d96d9227acf7cd94c7a98fd70e6a9de84f2054181ec274c9
EBUILD rasclient-17.1.3.21954.ebuild 2643 BLAKE2B a788a1ba714faf03021f6002b3d8b9cd7d70b10a20c68740cd83d6e62ceecf7438cfff744ac250e5f81b8e14214906db36f2ffa82dd871a1dabcfa333e39cdd1 SHA512 9c50ee01c3b9dbd9ad2a30433b713cceb0380767bf959791156ad3221a9082e9b983db9df8b972fccaf87edc46d381b6ca56af7159fef89e1ac9bd2d1039ce5d

View File

@ -24,7 +24,7 @@ S="${WORKDIR}"
RESTRICT="mirror bindist strip" #299368
DEPEND="media-libs/libpng-compat
DEPEND="media-libs/libpng-compat:1.2
dev-libs/glib
dev-libs/libusb
dev-libs/libxml2

View File

@ -2,5 +2,4 @@ DIST youtube-dl-gui-0.4.tar.gz 154995 BLAKE2B 9ce4e71567a04143c8ae280739bbeb9099
DIST youtube-dl-gui-1.1.4.tar.gz 435631 BLAKE2B 8fe354b67debaa76c2ad4751a9b69352696249e26d68cbe7f65a23d3b4deb2c55a245a045054b0c1faf243145b9b50c8047598bf271b96c37cef61624220caea SHA512 dc814524c4422af14f5002e67146c77b481adc599feda8004e3390815dcc90575f2a09293301ed79cf3356d0513630a9efd85bb81cd6695780087feaf38223c1
EBUILD youtube-dl-gui-0.4-r1.ebuild 1088 BLAKE2B 26db90bdd2641fab1051d003b7bb90442d1af5b109907d31889b041eabbffd46a39c44fd9bfe7da26095bb6312789a4c392923ab72dd81720538e363a99cc657 SHA512 353dcf9f3cf58e2be7d2f00f1fb857309b2ce34b81b9ffa3918f30153ab7016122db225f5aec695cf48097eed3eabbb5b7e884dffaa53a727740183a4a24a552
EBUILD youtube-dl-gui-1.1.4.ebuild 1200 BLAKE2B b788bc8c731a48d197ad2894b410989e8e88d205d857305ce505a8a0afdfbf82106445ea500051560b3a818ec89e496ef02ed240ad0358a9a13812e751b082e2 SHA512 873cd1219a8686f3541d4e7a4ab407709481ca5c1e2ada655f23f43229f5c3c703ddd85da1505e90474884d2da2b9c6ef136edc98291ed904acc654c27615323
EBUILD youtube-dl-gui-9999.ebuild 1088 BLAKE2B 26db90bdd2641fab1051d003b7bb90442d1af5b109907d31889b041eabbffd46a39c44fd9bfe7da26095bb6312789a4c392923ab72dd81720538e363a99cc657 SHA512 353dcf9f3cf58e2be7d2f00f1fb857309b2ce34b81b9ffa3918f30153ab7016122db225f5aec695cf48097eed3eabbb5b7e884dffaa53a727740183a4a24a552
MISC metadata.xml 244 BLAKE2B 6748ec3e704c4f3dbd724900834ba769a78f14acf8c47edd225c707d61a7bf88f04bc15bfb506d0e9efcb0046ff4b85494c68894778717ed0b8a6b48101b613b SHA512 e57726da465909df9d1afd81c2c0bfc4e7c818724ded8dafc45a58085de9367e27b1d681358f9f471c68b950acac3431b77d996efdd7241b6a170a0b323f6582

View File

@ -1,50 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7,8,9} )
inherit desktop distutils-r1 xdg-utils
DESCRIPTION="A cross platform front-end GUI of the popular youtube-dl"
HOMEPAGE="https://mrs0m30n3.github.io/youtube-dl-gui/"
LICENSE="Unlicense"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/MrS0m30n3/youtube-dl-gui"
else
SRC_URI="https://github.com/MrS0m30n3/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
IUSE="+ffmpeg"
SLOT="0"
BDEPEND="sys-devel/gettext"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
dev-python/wxpython:3.0[${PYTHON_USEDEP}]
dev-python/twodict[${PYTHON_USEDEP}]
net-misc/youtube-dl
ffmpeg? ( media-video/ffmpeg )"
python_install_all() {
distutils-r1_python_install_all
make_desktop_entry $PN \
"Youtube-DLG" \
"youtube-dl-gui" \
"Network;GTK;"
}
pkg_postinst() {
xdg_icon_cache_update
xdg_desktop_database_update
}
pkg_postrm() {
xdg_icon_cache_update
xdg_desktop_database_update
}

View File

@ -0,0 +1,2 @@
EBUILD entropy-server-325-r1.ebuild 936 BLAKE2B 1997a88d907a7da9ad6683476f6dab434954ad26abcfbfb0315b7d897b884d4617ce08c307c110e2aeea67e9892cd31d33d44bf0a840479c6fc42c897bf0401f SHA512 d2adda2dc7bcbfd0340d9b320079ce3fdf0b1764e7282ede8161a41b21f76cdf07073b6af3240aeca1116930f226fbed1ba714ab84aa8b60ea0bb609e71aff4f
MISC metadata.xml 633 BLAKE2B abe63152fb6184baf743d4e5c67bc14092c42bd58313357573cb107f6fd8522f3e93eab35024ed254c1707503bc55ee0a99ec06599db3546ca7abb0b852580d7 SHA512 739cf74e2e56e178616c4b8e205e7bd21aabb30ea845eb006f18070ad2fee9b532d64b0fa84cf17ac390ab6b64dc67e87b752aa719ea9bc5942b1a013db980fd

View File

@ -0,0 +1,39 @@
# Copyright 1999-2019 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_6 python3_7 python3_8 python3_9 )
inherit eutils python-r1 bash-completion-r1 git-r3
DESCRIPTION="Entropy Package Manager server-side tools"
HOMEPAGE="http://www.sabayon.org"
LICENSE="GPL-2"
EGIT_REPO_URI=https://github.com/Sabayon/entropy.git
EGIT_COMMIT=${PV}
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="+matter"
S="${WORKDIR}/${P}/server"
RDEPEND="~sys-apps/entropy-${PV}[${PYTHON_USEDEP}]
matter? ( ~app-admin/matter-${PV}[${PYTHON_USEDEP},entropy] )
${PYTHON_DEPS}
"
DEPEND="app-text/asciidoc"
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/bin/eit"
newbashcomp "${S}/eit-completion.bash" eit
}

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>mudler@gentoo.org</email>
<name>Ettore Di Giacinto</name>
<description>Assign bugs to him</description>
</maintainer>
<maintainer type="person">
<email>skullbocks@sabayon.org</email>
<name>Francesco Ferretti</name>
</maintainer>
<maintainer type="person">
<email>lxnay@gentoo.org</email>
<name>Fabio Erculiani</name>
<description>CC on bugs</description>
</maintainer>
<use>
<flag name="matter">Pull in app-admin/matter</flag>
</use>
</pkgmetadata>

View File

@ -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

View File

@ -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."
}

View File

@ -0,0 +1,36 @@
From b9e17e16cd55a43af90ab310380085911c131565 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C5=82awomir=20Nizio?= <slawomir.nizio@sabayon.org>
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

View File

@ -0,0 +1,43 @@
From 08da648a202d3c8587fedf7ef83f557fef41e2d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C5=82awomir=20Nizio?= <slawomir.nizio@sabayon.org>
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

View File

@ -0,0 +1,44 @@
From c06eb76644b1edfcfd614a279fa77a1278e717b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C5=82awomir=20Nizio?= <slawomir.nizio@sabayon.org>
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

View File

@ -0,0 +1,28 @@
From 0869912ec4c630d2946e835b2585367e233c1c15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C5=82awomir=20Nizio?= <slawomir.nizio@sabayon.org>
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

View File

@ -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?= <slawomir.nizio@sabayon.org>
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

View File

@ -0,0 +1,100 @@
(part of)
commit 0019b6e68af9bda8b368a7073e5eb927607f00e2
Author: Sławomir Nizio <slawomir.nizio@sabayon.org>
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__

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>mudler@gentoo.org</email>
<name>Ettore Di Giacinto</name>
<description>Assign bugs to him</description>
</maintainer>
<maintainer type="person">
<email>skullbocks@sabayon.org</email>
<name>Francesco Ferretti</name>
</maintainer>
<maintainer type="person">
<email>lxnay@gentoo.org</email>
<name>Fabio Erculiani</name>
<description>CC on bugs</description>
</maintainer>
</pkgmetadata>

View File

@ -0,0 +1,2 @@
EBUILD magneto-core-325-r1.ebuild 838 BLAKE2B c012b2d248590218241875e9237738ed5f3a2bbfd0a59e033b6770b00f6594e5bdeb8d2abe3ce33425b309ecfc8be396447d7befbdd42dfd4b5e59271f7786dc SHA512 782cc12bcbc32df52687b1d4a46cddc2a664b20b429c2cbcacf90d016a45c06898a4af987f2ad176a697a16e3f8b472d6d563a9a7c0743e6a9fdf5c5dd56d7a5
MISC metadata.xml 599 BLAKE2B 35d3731aa343c99413b172d14a9a67cdaecb4ab5986e7035a4e3f7eaf029b1c601621712ef47a536e8572bcdb6294f70ce3ff4a6557db2e9986f2285da64b5ac SHA512 fb7694d3986a3c7228f3ff9be42f1d1387f00e7702e943514d7a4943c7e75419b3dc10e88a5893153b945edf6b07c8bcf5a500096694648bbc0ee2ce1450df81

View File

@ -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
}

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>mudler@gentoo.org</email>
<name>Ettore Di Giacinto</name>
<description>Assign bugs to him</description>
</maintainer>
<maintainer type="person">
<email>skullbocks@sabayon.org</email>
<name>Francesco Ferretti</name>
</maintainer>
<maintainer type="person">
<email>lxnay@gentoo.org</email>
<name>Fabio Erculiani</name>
<description>CC on bugs</description>
</maintainer>
</pkgmetadata>

View File

@ -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

View File

@ -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?= <slawomir.nizio@sabayon.org>
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

View File

@ -0,0 +1,75 @@
(part of)
commit 0019b6e68af9bda8b368a7073e5eb927607f00e2
Author: Sławomir Nizio <slawomir.nizio@sabayon.org>
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

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>mudler@gentoo.org</email>
<name>Ettore Di Giacinto</name>
<description>Assign bugs to him</description>
</maintainer>
<maintainer type="person">
<email>skullbocks@sabayon.org</email>
<name>Francesco Ferretti</name>
</maintainer>
<maintainer type="person">
<email>lxnay@gentoo.org</email>
<name>Fabio Erculiani</name>
<description>CC on bugs</description>
</maintainer>
</pkgmetadata>

View File

@ -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"
}