[gentoo-commits] repo/proj/guru:master commit in: media-gfx/silicon/files/, media-gfx/silicon/

2021-06-20 Thread Andrew Ammerlaan
commit: 11f185bf7ec226bda15882be3e61a29718385eea
Author: YOSHIOKA Takuma  hard-wi  red>
AuthorDate: Sun Jun 20 06:06:07 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Jun 20 06:06:17 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=11f185bf

media-gfx/silicon: version bump 0.4.3

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: YOSHIOKA Takuma  hard-wi.red>

 media-gfx/silicon/Manifest |  42 
 ...ilicon-0.4.3-remove-pathfinder_simd-patch.patch |  36 
 media-gfx/silicon/silicon-0.4.3.ebuild | 213 +
 3 files changed, 291 insertions(+)

diff --git a/media-gfx/silicon/Manifest b/media-gfx/silicon/Manifest
index 700e83160..2f82bd77d 100644
--- a/media-gfx/silicon/Manifest
+++ b/media-gfx/silicon/Manifest
@@ -5,6 +5,7 @@ DIST adler32-1.2.0.crate 6411 BLAKE2B 
51d44ccfd774158687b8244e83377e40ff896364e3
 DIST ansi_term-0.11.0.crate 17087 BLAKE2B 
9bd35c045a01ce4c6c4a5db1b4f15e9412bb97426eec19d4421dffbec633de8d13452c13c1dc1b30998690b78d7ed38311aca700087f13a81f66bd1d5d7300c4
 SHA512 
a637466a380748f939b3af090b8c0333f35581925bc03f4dda9b3f95d338836403cf5487ae3af9ff68f8245a837f8ab061aabe57a126a6a2c20f2e972c77d1fa
 DIST anyhow-1.0.34.crate 28632 BLAKE2B 
4c3ccd69d0c83942bb50f3a5c3b0014762a1872318216512a1604acb88e938b663069e8a931713fd891541f062218e666a908dee079ca19ee5aaab7c720dfce5
 SHA512 
9f570d161dfddd6eb825e482301f92910f39d8ad0ab3ca32488a43ed6b59ef986c4da82ab438778e7376b287a9f19b9a3b37c626267882aef36ba4a7c2672761
 DIST anyhow-1.0.38.crate 30417 BLAKE2B 
168c6692fa669e90bba848bbb830fcd18ef2e2359a6f0f6b0ac8a20666b9c8416ac79e20d1b31e7230e261284502ede8091adc6b8cfdb462e8c4ad57a2cad651
 SHA512 
3f6229fd9d284053f348f8180f9b1f1c1f1b711b733ff9a331b2f16ad6dd0c46a38ec17c8c8257981209230ba769b7cce349b64bb7f6f8ea6150ab9d6e483b8c
+DIST anyhow-1.0.40.crate 34534 BLAKE2B 
79a3731153f8e3ace906b9a360521147fd055f7401a99ea2373501ade7e49ecdb280dd59b6a3b9b2f88e90857302e71f772c767e62cb702e32c8343fd4b0f741
 SHA512 
5efc7347a7fa72abce9a8b3b76649abb00d73c16c5125aa4b6faaa7040eb5138d7d9470b66c186825c9651272f5c359578503d0866ce7242ea7ca9dc05087165
 DIST arrayref-0.3.6.crate 10035 BLAKE2B 
88292fa4b3ad4fccd03772c2f0eca04cc13373fe094358bac57d7523c256d89f3087603e5bcb2a0b15d8b2ecd48e904a822b2cb800276a9c47ad6c6b660d9d34
 SHA512 
368341d00706c1250ff081b0d99c36c9af694a62ff4f4d8c837234340295771ca49c5439b24b6e1a4f2c3c5821764e98881dcb22d793f83de632fd5cb457671f
 DIST arrayvec-0.5.2.crate 27838 BLAKE2B 
51e2eacae0ef148f3f52d21ae00794e540e7ce4c013fb496dd1347ad91ffbbca199381fffbb064225f829216f6c5e915edfa64833f91fabdd13c3f011d86491f
 SHA512 
1896b5f64b4dbdcff8ad234bda4ea8129bcacf87839347304717e94ee9f369cf5f4371755e453ff7d72817edb8f7fdbc726d77cc4f28ed05148dc89c7714b004
 DIST atty-0.2.14.crate 5470 BLAKE2B 
2db856a9e898a430258f059aeaf7c844a153293e8856d90ac81f7d91a888c89198768ad5cb09303c23241fe85c560a55148fa56a303651a82b0edb895616bfab
 SHA512 
d7b6c4b9a0f898d91ddbc41a5ee45bbf45d1d269508c8cc87ee3e3990500e41e0ec387afb1f3bc7db55bedac396dd86c6509f4bf9e5148d809c3802edcc5e1d9
@@ -12,6 +13,7 @@ DIST autocfg-1.0.1.crate 12908 BLAKE2B 
40c53cab298e4f26634c3acff3ece6a3371188d91
 DIST base64-0.12.3.crate 57545 BLAKE2B 
5ff7e888f6b750ddfe302438d52766f5d6281b8c8ce73827a9ad1d64641704414649e6c1e02bce6abbb2858b9f859fce54a0e0e793549a474c4b49a724c8663f
 SHA512 
ec6ad7cbd4980a12189690e9e24ec1db3c3def9e93672a415808904f68db2b5d8c5740e44207b2c629db5dd5d6ba6bd9dd342dd82367da6198e0313d86e54f02
 DIST base64-0.13.0.crate 62070 BLAKE2B 
b957f65cdb1e28baeca0cefc92fa98be797409b7dabd15e0e88db6cdfb89779b662cba9f2270fbf3b7b66948fdc46c118b8040a78ab72049c48a928fa802bee0
 SHA512 
991a72999839daa232f508c5b24e7d3225e8a26db8d1d0e747881b115af9e408b92374e163b31e0b0d324c1c2e57e8e38d66861b61eb0a1dba87bb5871940151
 DIST bincode-1.3.1.crate 26121 BLAKE2B 
7bccc02071a11944e787fdb4c86b082827834df31f3fb751ed32720d4c44e4a26977838e311580ed330d9f6bc5ad76632e0af5530a3f8781ee739d9dc1ff218b
 SHA512 
75e62caef54a58ea5d24acbdef70b55893b11706400ad423919084a4723f5ea60e337447221171c4cd86d764db1f9f767c303b4cf5cd8f27318519db77fb82b4
+DIST bincode-1.3.3.crate 28958 BLAKE2B 
ea01d2efd8149ecba5e240ed989268b683d542a5f369902d316a4fd1ae4b8edd94e2d4a8cbff0e96646eb29facb04a84b249d74f0781dc3d29c8797ac975aa9f
 SHA512 
49e39d71214dbb623a18e3852f6f2f2a5c3f951b64107d66c8adaa95a442a3283fba978bca41b126c9879b12833b945f478d2c77d35482b3577fc1a894e8e5f3
 DIST bitflags-1.2.1.crate 16745 BLAKE2B 
0fa6d3ce44aad7616d5cd02aad8c1d0b0fed4022650eb43067c4a72e6fc88da05442674fa51826e4858a47c9de233e1ba2229820af094197cd11bb416ceffb2b
 SHA512 
ad89b3798845e23737a620bba581c2ff1ff3e15bac12555c765e201d2c0b90ecea0cdbc5b5b1a3fa9858c385e8e041f8226f5acfae5bbbe9925643fff2bf3f0b
 DIST blake2b_simd-0.5.11.crate 34096 BLAKE2B 
480fc200ce3fa3bb364ae05590fe26f59efb6f81fc2fcb7ae1593671677daa6f1b526d800099d002239e2ad435b919e9b32778021c0790954383079a49a90965
 SHA512 

[gentoo-commits] repo/proj/guru:master commit in: media-gfx/silicon/files/, media-gfx/silicon/

2021-01-23 Thread Michał Górny
commit: 23b7a081b5d8f52330a3a9950d4fb6c3494e4fb5
Author: YOSHIOKA Takuma  hard-wi  red>
AuthorDate: Wed Jan 20 12:26:01 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan 20 12:26:01 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=23b7a081

media-gfx/silicon: Apply a patch to unblock python 3.9

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: YOSHIOKA Takuma  hard-wi.red>

 .../silicon/files/rust-xcb-0.8.2-python-3.9.patch  | 43 ++
 media-gfx/silicon/silicon-0.4.0.ebuild | 14 ---
 2 files changed, 52 insertions(+), 5 deletions(-)

diff --git a/media-gfx/silicon/files/rust-xcb-0.8.2-python-3.9.patch 
b/media-gfx/silicon/files/rust-xcb-0.8.2-python-3.9.patch
new file mode 100644
index ..a7e346d8
--- /dev/null
+++ b/media-gfx/silicon/files/rust-xcb-0.8.2-python-3.9.patch
@@ -0,0 +1,43 @@
+From b41c79a73069160af5290c328acecd499f5d216a Mon Sep 17 00:00:00 2001
+From: Michel Alexandre Salim 
+Date: Mon, 8 Jun 2020 22:59:11 -0700
+Subject: [PATCH] Use `ElementTree` instead of `cElementTree`
+
+`cElementTree` has been deprecated since Python 3.3; `ElementTree` will use a 
fast implementation whenever available.
+
+`cElementTree` is actually removed as of Python 3.9 beta 1, and on Python 3.8 
it's an alias to `ElementTree`.
+
+See https://docs.python.org/3.8/library/xml.etree.elementtree.html
+
+Signed-off-by: Michel Alexandre Salim 
+---
+ xcbgen/matcher.py | 2 +-
+ xcbgen/state.py   | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/xcbgen/matcher.py b/xcbgen/matcher.py
+index bfa315eb..97ae5f9f 100644
+--- a/xcbgen/matcher.py
 b/xcbgen/matcher.py
+@@ -7,7 +7,7 @@
+ '''
+ 
+ from os.path import join
+-from xml.etree.cElementTree import parse
++from xml.etree.ElementTree import parse
+ 
+ from xcbgen.xtypes import *
+ 
+diff --git a/xcbgen/state.py b/xcbgen/state.py
+index 1f5479e9..95af5a40 100644
+--- a/xcbgen/state.py
 b/xcbgen/state.py
+@@ -2,7 +2,7 @@
+ This module contains the namespace class and the singleton module class.
+ '''
+ from os.path import dirname, basename
+-from xml.etree.cElementTree import parse
++from xml.etree.ElementTree import parse
+ 
+ from xcbgen import matcher
+ from xcbgen.error import *

diff --git a/media-gfx/silicon/silicon-0.4.0.ebuild 
b/media-gfx/silicon/silicon-0.4.0.ebuild
index e5356468..0f5b4d79 100644
--- a/media-gfx/silicon/silicon-0.4.0.ebuild
+++ b/media-gfx/silicon/silicon-0.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2017-2020 Gentoo Authors
+# Copyright 2017-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # Auto-Generated by cargo-ebuild 0.3.1
@@ -188,11 +188,8 @@ LICENSE="Apache-2.0 Boost-1.0 BSD-2 CC0-1.0 MIT MPL-2.0 
ZLIB"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-# Python 3.9 cannot be used for now.
-# See 
-# (fixed but not yet released).
 BDEPEND="
-   https://github.com/rtbo/rust-xcb/pull/87> for python 3.9 
support.
+   ( cd "${WORKDIR}"/cargo_home/gentoo/xcb-0.8.2 && eapply 
"${FILESDIR}"/rust-xcb-0.8.2-python-3.9.patch )
+}
+
 src_install() {
cargo_src_install