[gentoo-commits] repo/gentoo:master commit in: dev-python/agate/

2023-10-17 Thread Michał Górny
commit: e75c7cd98055b6b3d43005d6a8e5dd2145a387a9
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct 18 04:38:46 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct 18 05:05:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e75c7cd9

dev-python/agate: Bump to 1.9.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/agate/Manifest   |  1 +
 dev-python/agate/agate-1.9.0.ebuild | 44 +
 2 files changed, 45 insertions(+)

diff --git a/dev-python/agate/Manifest b/dev-python/agate/Manifest
index d0d18f5951e0..5f6c407787c5 100644
--- a/dev-python/agate/Manifest
+++ b/dev-python/agate/Manifest
@@ -1,2 +1,3 @@
 DIST agate-1.7.1.tar.gz 202018 BLAKE2B 
9df0f108f1ac47c1eb199015aedc903d72ce62a7d2c34198f0f287863527a2305c5682ef7dd385d130fd0eb3ce566e98978b9ef438858510e3aeae02a6345318
 SHA512 
e40df26f1e738b4c386f540d642f4fdb240dac5229032c6074977a67c7fdae7838c770703d93916e10741a9f2569ac9672165f8c8715b2567b2e5b926c7dabd5
 DIST agate-1.8.0.tar.gz 201730 BLAKE2B 
c0138f912d6981059b8cd62424bdb428c9b6bff566bc47466bea9f0fd78f100333583dddaf081ea2f9810e8a1e586d4697960141ea4e97e8cef4a5084f09ce78
 SHA512 
9870f31f87efcb057947cf0c93062c2dbfa2aa996d1e6d69c552935eca3ab5c047ea0cbdf2eaca8e37d2a0530d210318fd342324f1ce43d7cba9f6291206f6fb
+DIST agate-1.9.0.tar.gz 202237 BLAKE2B 
f4a6609f843b0b0499b44c6596c186198e2d6a0c964727fbd3d3fa69bd6164a067384354e3426a0276f91fc3b6f2d1fc86e05e4d4be974d1f2c223b20cb5a6b3
 SHA512 
bbd05b503d27e34625cebba71c0d3a1362bf63c45a3ce7c327fb73f0730b739fe8f9bf780c37c4e1a0e70c9d263d9191946fa6b70c147c0761a43ed479ae7fed

diff --git a/dev-python/agate/agate-1.9.0.ebuild 
b/dev-python/agate/agate-1.9.0.ebuild
new file mode 100644
index ..bf35fa27a14c
--- /dev/null
+++ b/dev-python/agate/agate-1.9.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A Python data analysis library that is optimized for humans 
instead of machines"
+HOMEPAGE="
+   https://github.com/wireservice/agate/
+   https://pypi.org/project/agate/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~arm64-macos ~x64-macos"
+
+RDEPEND="
+   >=dev-python/pytimeparse-1.1.5[${PYTHON_USEDEP}]
+   >=dev-python/parsedatetime-2.1[${PYTHON_USEDEP}]
+   >=dev-python/Babel-2.0[${PYTHON_USEDEP}]
+   >=dev-python/isodate-0.5.4[${PYTHON_USEDEP}]
+   >=dev-python/pyicu-2.4.2[${PYTHON_USEDEP}]
+   >=dev-python/python-slugify-1.2.1[${PYTHON_USEDEP}]
+   >=dev-python/leather-0.3.3-r2[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/lxml[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+   dev-python/furo
+
+EPYTEST_DESELECT=(
+   # require specific locales
+   tests/test_data_types.py::TestDate::test_cast_format_locale
+   tests/test_data_types.py::TestDateTime::test_cast_format_locale
+)



[gentoo-commits] repo/gentoo:master commit in: dev-python/deepdiff/

2023-10-17 Thread Michał Górny
commit: 55243810d2d40460764644070d8b07184a8abf20
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct 18 04:42:40 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct 18 05:05:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55243810

dev-python/deepdiff: Bump to 6.6.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/deepdiff/Manifest  |  1 +
 dev-python/deepdiff/deepdiff-6.6.1.ebuild | 39 +++
 2 files changed, 40 insertions(+)

diff --git a/dev-python/deepdiff/Manifest b/dev-python/deepdiff/Manifest
index 5add73057f0a..d6e5ead9febe 100644
--- a/dev-python/deepdiff/Manifest
+++ b/dev-python/deepdiff/Manifest
@@ -3,3 +3,4 @@ DIST deepdiff-6.4.0.tar.gz 394464 BLAKE2B 
dce005461b4ce1c4b84b9093ba445b11a96b91
 DIST deepdiff-6.4.1.tar.gz 394531 BLAKE2B 
a95b18bf335e88beb2ee19209fa9166fe2c0c65a5312ee4283b03e745c0469913ccf3b132042c7173a518416f8d227da24f8c3aa3dd91d916ac67fb190b9bf54
 SHA512 
3e54313b4681b75d607ad2eb2485245f43d78f0a80adf2f50847fd9a241cb1752cf66028a3cb5dc2980786e1c9de35fa9da52df8ed434ca2f889d99250088f66
 DIST deepdiff-6.5.0.tar.gz 395348 BLAKE2B 
e7a509ac1950da7ba2c3d12c85eb80d03b8f78229c5a041d14aee8368d8a2a071a0afc8cad0425f23eda82d3f5038d9340c8ed2870f637fd9bb2665cd15be67f
 SHA512 
857d1e0e34ab85c67c5b655fe245f4aba4de3620ad39e1f044bf6329b0ecd0afeeb9511a318badadb21daac03594844d6c6357c91a8056e44e67e83e4635f26b
 DIST deepdiff-6.6.0.tar.gz 400645 BLAKE2B 
4210c050bf94d974561270ea9b6884d3c1004a9ebfadb1edcae361a1a15765dd7314418a4455b8ddb548100774f048df0aefea9d880179979eefcfb8f8d5906a
 SHA512 
81b31ab52a23928746cc890439e7733b8ca6c5df390cf866977420cbd08f9d93b49d938e663e4d6e46f4b19741cbb52bc1f631b3cb733a7390535adf0fb432f2
+DIST deepdiff-6.6.1.tar.gz 402840 BLAKE2B 
78fa059644d068fb0e6f16a81ba91d0e776f91eda6f049f73d57bd176a9bbca5fc60f301e8ac652ba1339be2474c9eb6912ce532d720328d2b017bfcc52196dc
 SHA512 
5a18bdb5d5dbc7b6de39d90fc3a740ddeeddd0742953f8618eefafbd0c086138219dbb3a515ead40b315c28590b642721b9350d2b9cc9e4a1e9ea8a8dbb25712

diff --git a/dev-python/deepdiff/deepdiff-6.6.1.ebuild 
b/dev-python/deepdiff/deepdiff-6.6.1.ebuild
new file mode 100644
index ..e41b020f504f
--- /dev/null
+++ b/dev-python/deepdiff/deepdiff-6.6.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A library for comparing dictionaries, iterables, strings and 
other objects"
+HOMEPAGE="
+   https://github.com/seperman/deepdiff/
+   https://pypi.org/project/deepdiff/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   >=dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
+   >=dev-python/click-8.1.3[${PYTHON_USEDEP}]
+"
+
+DEPEND="
+   test? (
+   >=dev-python/jsonpickle-3.0.0[${PYTHON_USEDEP}]
+   >=dev-python/numpy-1.23.5[${PYTHON_USEDEP}]
+   dev-python/pydantic[${PYTHON_USEDEP}]
+   dev-python/python-dateutil[${PYTHON_USEDEP}]
+   dev-python/tomli-w[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/tomli[${PYTHON_USEDEP}]
+   ' 3.10)
+   )
+"
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/tldextract/

2023-10-17 Thread Michał Górny
commit: c178cd69163848b26639f36740b36e20bcae88ec
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct 18 04:46:15 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct 18 05:05:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c178cd69

dev-python/tldextract: Bump to 5.0.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/tldextract/Manifest|  1 +
 dev-python/tldextract/tldextract-5.0.1.ebuild | 35 +++
 2 files changed, 36 insertions(+)

diff --git a/dev-python/tldextract/Manifest b/dev-python/tldextract/Manifest
index 4616680589cd..545f518f946c 100644
--- a/dev-python/tldextract/Manifest
+++ b/dev-python/tldextract/Manifest
@@ -1,2 +1,3 @@
 DIST tldextract-3.6.0.tar.gz 110460 BLAKE2B 
3bc0179f7d83db0e1c33687b05215e96a7636f6c88fcbc75113bf6473c31840223de2d05b47e57567b72314a2fe0b9eb83c515942906db3bbc0f6aac55d202c0
 SHA512 
5cfae8bc293d5ce774f648186a4256477049ef2f6b916d4895636fdd50067cecf4ddea11962d9d4557c29c9ab6e62ba6306062c6219178573c9747a56036318d
 DIST tldextract-5.0.0.tar.gz 110751 BLAKE2B 
28c6ae8372946eab647849e937f851e5b88807045d7959ae5e0bf893ff9ff5cf6b4ece800ba5b6a47607da7b62e92da22e492729dd423e8d93add56bd9669a31
 SHA512 
367d1acb5ea7111b5255d92f6bfb5527ace3a0d9a11ce49dd0d005c0acd5898832320207c59efedde29961252c8b82c106b7b44d2445acad38b58ce86695f3fc
+DIST tldextract-5.0.1.tar.gz 111023 BLAKE2B 
854addd19c15fd0c246d449d3373649a7ef0d30f1501312b802867d3789d5c95d5e36390d570fc83e37ef73074c4514215e9cdadefa6831f8075139afdb1523b
 SHA512 
3fe148e2893b09dcdc7e1f16b39d6da5a1ca3cc33ca6b5a473d3479e177de451522773211e6cd2335a6864506b85e06b3f4ce7fdd7dce3f541f099d7da975b78

diff --git a/dev-python/tldextract/tldextract-5.0.1.ebuild 
b/dev-python/tldextract/tldextract-5.0.1.ebuild
new file mode 100644
index ..26a480fa5866
--- /dev/null
+++ b/dev-python/tldextract/tldextract-5.0.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Accurately separate the TLD from the registered domain and 
subdomains of a URL"
+HOMEPAGE="
+   https://github.com/john-kurkowski/tldextract/
+   https://pypi.org/project/tldextract/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~loong ~x86"
+
+RDEPEND="
+   >=dev-python/filelock-3.0.8[${PYTHON_USEDEP}]
+   dev-python/idna[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.1.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-file-1.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/setuptools-scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/pytest-mock[${PYTHON_USEDEP}]
+   dev-python/responses[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydantic-core/

2023-10-17 Thread Michał Górny
commit: 2c0b83f282398886279838db51b04872a21e0681
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct 18 04:48:36 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct 18 05:05:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c0b83f2

dev-python/pydantic-core: Bump to 2.11.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydantic-core/Manifest  |  14 +++
 .../pydantic-core/pydantic-core-2.11.0.ebuild  | 137 +
 2 files changed, 151 insertions(+)

diff --git a/dev-python/pydantic-core/Manifest 
b/dev-python/pydantic-core/Manifest
index 076da44344d9..cea1b3947845 100644
--- a/dev-python/pydantic-core/Manifest
+++ b/dev-python/pydantic-core/Manifest
@@ -15,6 +15,7 @@ DIST heck-0.4.1.crate 11567 BLAKE2B 
520aeea740cfa30b0cca12f73594ffa655f32959673b
 DIST idna-0.4.0.crate 271429 BLAKE2B 
8b81bc4535d2e8a1100ddeaf6f43c043fd601ee3b37eb109a9dff01630a81603223407bd5c2f1a1b108d741c811781b205c10148a0122b8125c237a5d5ba8a58
 SHA512 
b4133c5f73bd9c4ccc05245a9edcc5c980714129ce4f6eb7851eea7e509617ff972fadefe6ac78db6b4106667d9d6070de52c4d42414c95921e3d9fe1b7a76cb
 DIST indexmap-2.0.0.crate 64038 BLAKE2B 
e7a1b2bbd790f1446f77262b5b0799c2a816a01295a9a4db66f10e6c0502f8970982fb808581472e840cc34dc70e7938b89408799ed0d91aa50d3dd0b4807995
 SHA512 
59bc19653436389e1408e21b0933e5ca6f9fe228f0f5fbe9a7e4fb461b9712ba82983cbf22c0581eaf7913298b9ef5842702946152b493c1dc651381d6bce1a3
 DIST indoc-1.0.9.crate 13475 BLAKE2B 
a9696788574e56dd125c3371169fd59d6947d188f76e2669b21c0304692efd6709cd048920f7822e92c6a5620fb178e0e85c7776118cef8ccee0f58398e14abf
 SHA512 
db8aef4a7bb606452dc8ed45aa29a255c7a135357a0bd586fb4429c5f56a1aa2ca9400d6fac39956aeb486a15d25cf5d1b9524967867f2c651d9d563e3e85be8
+DIST indoc-2.0.4.crate 14311 BLAKE2B 
8d604e20825ae64530014081c627abe4ecec6447e1e214408743aca79ed217531baad4bd7021137ae6628555d769a248f06acc556cc3254d2626074aab110a44
 SHA512 
ef1b8d19d89d848c1133f2865247e0ce23cbe5552454805910ed0478ac4acb11b11629aa4a5ce8756d0ed5cbc0644abedeac0246f433166c68f47cf58cf4487a
 DIST itoa-1.0.8.crate 10465 BLAKE2B 
e518264938d044e24a4d72cab788de717c36cc7396fdbf2805fe3a3e0cdfc361c4f6fedee7bcebea6fbacff254e073da26b2400a073fa75f75523b8ed9de9938
 SHA512 
6171bfcd70634a2587740c145a15790e12807d2c756a25e74950daf9dd36acc662f12836c5b87e20483b4d020bc0d98a352b8e9787b0b8544bf1ee1b6a0c2c8e
 DIST libc-0.2.147.crate 686772 BLAKE2B 
ab2f0c65d071d46b8b88149add1c8429237ef6d9e0563d56ee1adbf23e6147dbb57fb68fbd02498f8ec75327693237a47e5e5259615ce8b0d5ed7a03bbf4fffb
 SHA512 
bfb3c230b59d623b98726f92b7c3f897b47ba3d22fe9834c15f5b4c1b662289aba35a0ae3acfc704ad74696db8c691ee007b9cc6fa03ae65a18eb6bedc81931e
 DIST lock_api-0.4.10.crate 26713 BLAKE2B 
113adf8554c65e9782e8fd0360d0398567dfbfddb1fea4928cc152fbab98dbe086e42b81170f6f5c333d61dd3261e8a1ebfbaed786e6bf6378e6afde6d7f9e5c
 SHA512 
ffe8cad8099bc382832181c1ff95e0935993491f247114604201be7d4ddf8402fd4db8fd6499c611f95fbce7d57dc3d3738eddfab31c52f50ab8709e549697db
@@ -33,29 +34,40 @@ DIST percent-encoding-2.3.0.crate 10196 BLAKE2B 
155bb1aaf0db4d22179bbe24b2d312f3
 DIST proc-macro2-1.0.64.crate 44848 BLAKE2B 
4422122d9299eff3bfbb4507c4a117fef7c0906cab5a680933d482b7f9b49480bcb9c8172b412e70bf87dd0737b8532e90c310bf083f144292cc72190059ba3b
 SHA512 
884fd14ff23c19420692e35a38f88bb6a766a09da105759cd958c315b9360a2c49cfe61ceaa3122307d44040195ec9dffb12b6d0ce224fbac5d3701621a12b04
 DIST pydantic_core-2.10.0.tar.gz 347291 BLAKE2B 
3a437ca92a7decca36669854da7f89acb8086f247c2613aec45d73a5ff68505d0036297279ba030c3568a84470a6b0e345745f28b8a874fa489c12bae1db4c1e
 SHA512 
ae621a2a98c1c661978880400bac25826508b0703048f3db9e7559b4f16dedd87114f4da561916ca5d9c0ae06b8bdbd5b80f8373c29deb4f2798f1338a6d9c10
 DIST pydantic_core-2.10.1.tar.gz 347316 BLAKE2B 
782daaae0781da0abfa48056a9eebc8610737b719335f013f9573e3fa886f89af99390c5e9fa2ceeb46169392b480446a59acf0f182ab083b8f5dc8d62b090ee
 SHA512 
c07d838268bbaa53e8a49afe18733532ac3f43005a5d4e4dee3a1cd23fa94af91d6471f9f2c146cc317cb8d14385b4aa7af404fdbbae7b4538f0cefffac7cf58
+DIST pydantic_core-2.11.0.tar.gz 351430 BLAKE2B 
6471e17df66f7e6134724bfe6d697869c936a3a5603bef08286fe86a4039fa155cbb65c9255b827f9c974321394caca62634b811cac01bdb622d31438a5c719c
 SHA512 
f66ad263f3b0608064173fc15cd7595c7a1ce8b53419280d00435acaba989411bf403667be246ec5da1b3e4f6cf97d413eec8ce810a648d332b2042ea2e51661
 DIST pydantic_core-2.6.3.tar.gz 337231 BLAKE2B 
942a12228ad46d4b5365c781f8f7be28266c54e29bf5ab21e49ef31d25319d065c2f5f0bdc2ccca77888d38cfdea90fb2b415a0c203d8ae62825fb3ef618e1fb
 SHA512 
5123fb55b002bc857ec03239163a5517709ea84430ac7b92d2027bdfbdba278d37caaa0d017d89af8e5306296667d7eb500bfc536a769d99c662b3fbb3835b63
 DIST pydantic_core-2.9.0.tar.gz 345661 BLAKE2B 
27e37046490162115be5a193ce914ce16f04ecb71744ed9368944b030d1f03f52ce5c21d0d350f87e2b595661f90990d56cac755382451e46ba6c1824e354086
 SHA512 

[gentoo-commits] repo/gentoo:master commit in: dev-python/cython/

2023-10-17 Thread Michał Górny
commit: fc3e64161e47e72bbd77693ecec9ace8b7cd1a3d
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct 18 04:49:38 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct 18 05:05:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc3e6416

dev-python/cython: Bump to 3.0.4

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/cython/Manifest|  1 +
 dev-python/cython/cython-3.0.4.ebuild | 84 +++
 2 files changed, 85 insertions(+)

diff --git a/dev-python/cython/Manifest b/dev-python/cython/Manifest
index bbe8cde0364f..49510167e875 100644
--- a/dev-python/cython/Manifest
+++ b/dev-python/cython/Manifest
@@ -1,3 +1,4 @@
 DIST cython-0.29.36.gh.tar.gz 2115333 BLAKE2B 
6d43779c7222ff65d7de3a35ec18ef636480807d53480a8f94cc8c92d462fcc2f4d201a3bbf6e840a11fd33025e32c53f85626b05c131d10eed2859cdca7eb2d
 SHA512 
a086fe1a11290cd3c870b891e61a0a0e2595bab9c26888024a758b6950c07059346d682fa9349e46c0af89805abbdd750059b3189960b8ce18007dfb5eb4391a
 DIST cython-3.0.2.gh.tar.gz 2744583 BLAKE2B 
f631891870a6ce24acf2bcde75ebcb9775cf0df7840fe9d7b138cfdea64d54e9253a53d35d892a9086f251c1294d9414eec8521218d031840a3cd06903fefb86
 SHA512 
f55be138efdca6ca61bd39c6f2fab736244328a170a6f6c9bda87036e022c846930b209e9e9101fad889cb179d6e60034ba6f299f14b3056536d46235b438eb7
 DIST cython-3.0.3.gh.tar.gz 2753188 BLAKE2B 
0e6d40533f1cebf3c4217dc19aeebc2f873a8bacb94e68810e81d1c6d4cd75176de88516f2d82f43b36107656b6cd5e6990547e93bd8436b1aa93c73ccda6eaf
 SHA512 
c27c16abaf0122ad61e0eeb92aa80a33fc491332b8ebec209cd1810d2b0e3bf14fe1e81838803b86f407520a6d6f7ab8b84d97e495e7d91fd6f7702a46980caa
+DIST cython-3.0.4.gh.tar.gz 2754689 BLAKE2B 
5418b8c374565894deb07e7a3f2fe242e1ef43eed5d716cbd9c6b9fd3d62088d9982eb156c981fa9f6edcf42592f2249f9eb450d16ef908be464e357ee9bbea7
 SHA512 
bc87e38f9c188a5311f75f49ba4b9ec1ee0af00ff9ed655ca69972891f8b0801025265f8cad4521670088275c7da3d6136aeda7ebb6a33554f64cc7aef362c73

diff --git a/dev-python/cython/cython-3.0.4.ebuild 
b/dev-python/cython/cython-3.0.4.ebuild
new file mode 100644
index ..4223753eab93
--- /dev/null
+++ b/dev-python/cython/cython-3.0.4.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_TESTED=( python3_{10..11} )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 pypy3 )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1 multiprocessing toolchain-funcs
+
+MY_P=${P/_rc/rc}
+DESCRIPTION="A Python to C compiler"
+HOMEPAGE="
+   https://cython.org/
+   https://github.com/cython/cython/
+   https://pypi.org/project/Cython/
+"
+SRC_URI="
+   https://github.com/cython/cython/archive/${PV/_rc/rc}.tar.gz
+   -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos 
~x64-macos ~x64-solaris"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   ${RDEPEND}
+   test? (
+   $(python_gen_cond_dep '
+   dev-python/numpy[${PYTHON_USEDEP}]
+   ' "${PYTHON_TESTED[@]}")
+   )
+"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.29.22-spawn-multiprocessing.patch"
+   "${FILESDIR}/${PN}-0.29.23-test_exceptions-py310.patch"
+   "${FILESDIR}/${PN}-0.29.23-pythran-parallel-install.patch"
+)
+
+distutils_enable_sphinx docs \
+   dev-python/jinja \
+   dev-python/sphinx-issues \
+   dev-python/sphinx-tabs
+
+python_compile() {
+   # Python gets confused when it is in sys.path before build.
+   local -x PYTHONPATH=
+
+   distutils-r1_python_compile
+}
+
+python_test() {
+   if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then
+   einfo "Skipping tests on ${EPYTHON} (xfail)"
+   return
+   fi
+
+   # Needed to avoid confusing cache tests
+   unset CYTHON_FORCE_REGEN
+
+   tc-export CC
+   # https://github.com/cython/cython/issues/1911
+   local -x CFLAGS="${CFLAGS} -fno-strict-overflow"
+   "${PYTHON}" runtests.py \
+   -vv \
+   -j "$(makeopts_jobs)" \
+   --work-dir "${BUILD_DIR}"/tests \
+   --no-examples \
+   --no-code-style \
+   || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+   local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt )
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/cfn-lint/

2023-10-17 Thread Michał Górny
commit: ea5b049d4c980f9e4017f91af7cd7e0e299eb5ce
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct 18 04:44:00 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct 18 05:05:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea5b049d

dev-python/cfn-lint: Bump to 0.82.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/cfn-lint/Manifest   |  1 +
 dev-python/cfn-lint/cfn-lint-0.82.1.ebuild | 65 ++
 2 files changed, 66 insertions(+)

diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest
index 50716ec45794..50f661f68343 100644
--- a/dev-python/cfn-lint/Manifest
+++ b/dev-python/cfn-lint/Manifest
@@ -2,3 +2,4 @@ DIST cfn-lint-0.80.3.tar.gz 3685775 BLAKE2B 
3b8d233e64d2060b124eb560aa963c3ae06a
 DIST cfn-lint-0.80.4.tar.gz 3657880 BLAKE2B 
8507c2381bfb7e7f796eb8fbc505bbda48bdb217d9357063289d66307140914dce7d40de8851b0459e6f6154bc3e09d4d0e30da5e1f1cdcf0fad6e8f8b00f3d3
 SHA512 
a09954b014d2cf677b97012b2635345f94cefbe227f4040eed80aad5ee602daa2542a636295a4c90ad60bcf4e8eb9015a5b9de75c72ffcb903a6ec460a22267e
 DIST cfn-lint-0.81.0.tar.gz 3688759 BLAKE2B 
595429d5891b5a4b563645c2b3ba55e8c79179419de73bbaf7298462c40431074ac4c31c7b4fabd037ed252771f3961a006cc2ea4095b79bf0e7dab4c952b4d3
 SHA512 
cbc4a7183c147df9c057420dd9f407762fd79a76447212a4c8ae183c3915061b2a93d3d1cc18a733ac809a81463b1f8cab68b031af50c56441b269c559abf7c0
 DIST cfn-lint-0.82.0.tar.gz 3714744 BLAKE2B 
adaf9e7482983f6585d9ae83979d3066533eeb6192019b621e206d144fbbb0ae0bcb9f3f70602d41cc3958218130ecdbc54eeb7f54f645c729cef1eb31bd9aae
 SHA512 
68c90bb34be029c635f0e1caede46560b011d92a149b701fb3e2aa5794462a9e28addd4489e9fde06df110684728a7dbb9c383a37d7510e076a30d5b7d653cd9
+DIST cfn-lint-0.82.1.tar.gz 3714778 BLAKE2B 
b06678e0046ffaf9d90245105303c37d8bdca2b5a3e77dac37969185483a4c60b43de418e75c76fd49f8418eddc2892bec91d0a4fac92831d8840f174f841e9f
 SHA512 
6bbce9cb54db302298df811ca2ebbb7fffe01ad14e31808fb66b257c25606baab9948e31d4bb113e816510a16737a33be5a5e4effc6b6f30c56eb232f8f8ccf6

diff --git a/dev-python/cfn-lint/cfn-lint-0.82.1.ebuild 
b/dev-python/cfn-lint/cfn-lint-0.82.1.ebuild
new file mode 100644
index ..ed0ce9f3
--- /dev/null
+++ b/dev-python/cfn-lint/cfn-lint-0.82.1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="CloudFormation Linter"
+HOMEPAGE="
+   https://github.com/aws-cloudformation/cfn-lint/
+   https://pypi.org/project/cfn-lint/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+RDEPEND="
+   >=dev-python/aws-sam-translator-1.75.0[${PYTHON_USEDEP}]
+   dev-python/jsonpatch[${PYTHON_USEDEP}]
+   >=dev-python/jschema_to_python-1.2.3[${PYTHON_USEDEP}]
+   =dev-python/jsonschema-3.0[${PYTHON_USEDEP}]
+   dev-python/junit-xml[${PYTHON_USEDEP}]
+   dev-python/pyyaml-5.4[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.15.0[${PYTHON_USEDEP}]
+   >=dev-python/regex-2021.7.1[${PYTHON_USEDEP}]
+   >=dev-python/sarif_om-1.0.4[${PYTHON_USEDEP}]
+   >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+   # unpin the deps
+   sed -e 's:~=[0-9.]*::' -i setup.py || die
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # TODO
+   
test/unit/module/test_template.py::TestTemplate::test_build_graph
+   # requires git repo
+   
test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs
+   # Internet
+   
test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter
+   
test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3
+   # TODO: it looks as if AWS_DEFAULT_REGION didn't work
+   test/unit/module/core/test_run_cli.py::TestCli::test_bad_config
+   
test/unit/module/core/test_run_cli.py::TestCli::test_override_parameters
+   
test/unit/module/core/test_run_cli.py::TestCli::test_positional_template_parameters
+   
test/unit/module/core/test_run_cli.py::TestCli::test_template_config
+   )
+
+   # from tox.ini
+   local -x AWS_DEFAULT_REGION=us-east-1
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sqlglot/

2023-10-17 Thread Michał Górny
commit: 3b0efd88d2796ea5491fb485038c571322509e08
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct 18 04:43:02 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct 18 05:05:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b0efd88

dev-python/sqlglot: Bump to 18.15.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sqlglot/Manifest   |  1 +
 dev-python/sqlglot/sqlglot-18.15.0.ebuild | 36 +++
 2 files changed, 37 insertions(+)

diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest
index 6176d174561f..c09c5175b4ca 100644
--- a/dev-python/sqlglot/Manifest
+++ b/dev-python/sqlglot/Manifest
@@ -1,3 +1,4 @@
 DIST sqlglot-18.12.0.tar.gz 8854252 BLAKE2B 
30bd8a7a8d4dd2337c61b4bddcce74a35a7594ed6ac16e0c68f3103c54c1eb9499246d2ec340ae3ebb137a09a2fb29c4a9e0a82eacef959c9cac1204fa68da0d
 SHA512 
0ac80e9f51f68121f5cf7ac7db08832ac48e706dcdb966ab1c432d4d81dc808221e3b45fd6bf31f570ff7add1a49de2f82a8671b8c81d27efb402776c20d6fd3
 DIST sqlglot-18.13.0.tar.gz 8873766 BLAKE2B 
4dfe6d3d6332bedf13229d2820a12ead44ffcaad0f3f68bb1578d62c325173fddd73f9033277cb0ed8cdfa8e919464ce0efa51ba7dc2a946e725c1698f2afdf8
 SHA512 
6ed3d4eca1496b800c677b45df5499f96266e09b3c0909b8af9c4512a1bab7b7cfabaf89dad6353af2f579211364597b1ffb0f55975ffcd8c3f520802621e9aa
 DIST sqlglot-18.14.0.tar.gz 8880297 BLAKE2B 
f5036816e165ca8f6d65ed21db618b216444578b5a0d403f4674d878a02fae6d9dfc5ce67cef3398d040f4cc44eaff7e5f62bcb1521f244a1fa5b9b127dd666a
 SHA512 
1da34636a92238c0cf67230da3fb5551bd6b9e2a252f252e8fdb0a0b237c7bea2435ecd2852f66a4427628445b25ffe78cd86b46f3939a798612f72efd884148
+DIST sqlglot-18.15.0.tar.gz 074 BLAKE2B 
22082ddd15eb6245c05495b4202e9fab5d3ab1085cc74139a5ba3f909fbde1487e2cd9501bb218efe9e72748e8b2f7d04a247e357c27e6a9027169b809fe7136
 SHA512 
25df8fdf1ba2e2022ed82ba7d7a6f2c861b96cc5e440bf23488b75f861ee93504ad1d706cd88cdb74a652070c328abe52e4790cc4020059f27129720c0fa4be8

diff --git a/dev-python/sqlglot/sqlglot-18.15.0.ebuild 
b/dev-python/sqlglot/sqlglot-18.15.0.ebuild
new file mode 100644
index ..368b77416b42
--- /dev/null
+++ b/dev-python/sqlglot/sqlglot-18.15.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi optfeature
+
+DESCRIPTION="An easily customizable SQL parser and transpiler"
+HOMEPAGE="
+   https://sqlglot.com/
+   https://github.com/tobymao/sqlglot/
+   https://pypi.org/project/sqlglot/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+EPYTEST_IGNORE=(
+   # Tests require pyspark or duckdb which aren't in the tree.
+   # Pandas would be a requirement normally, but it gets ignored by proxy.
+   "tests/dataframe/integration/test_dataframe.py"
+   "tests/dataframe/integration/test_grouped_data.py"
+   "tests/dataframe/integration/test_session.py"
+   "tests/test_executor.py"
+   "tests/test_optimizer.py"
+)
+
+distutils_enable_tests pytest
+
+pkg_postinst() {
+   optfeature "simplifying timedelta expressions" 
dev-python/python-dateutil
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/outcome/

2023-10-17 Thread Michał Górny
commit: e039fda230ab4f610c3294d179cfb47da1246b8a
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct 18 04:41:45 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct 18 05:05:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e039fda2

dev-python/outcome: Bump to 1.3.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/outcome/Manifest |  1 +
 dev-python/outcome/outcome-1.3.0.ebuild | 35 +
 2 files changed, 36 insertions(+)

diff --git a/dev-python/outcome/Manifest b/dev-python/outcome/Manifest
index acad68acc6d0..d345ce0a0da7 100644
--- a/dev-python/outcome/Manifest
+++ b/dev-python/outcome/Manifest
@@ -1 +1,2 @@
 DIST outcome-1.2.0.gh.tar.gz 18147 BLAKE2B 
19e99c8beb1c537a15040211e2fb2f30e425dbb6c81225f2b44720d52e26d8065f434949cd22f97d3a44b64d404077118842a7c85d38f1b7b01ec60d26ddaa39
 SHA512 
ac8f8738b000e50ace5fbf2c373c9d28f05e88fe40a11602dbb08c48d369f28651ca6c1269ce9ba4ebf1aa9701525e966c061f75313d8650e739934e3ad15003
+DIST outcome-1.3.0.gh.tar.gz 20685 BLAKE2B 
5bc6bd82a855cdd009b5613bcdf371d7f946b58567c436ec89db4511fa17ac15508498bfac90ec4ee4e1e60abe80f662c1e75f6da03ca087cca2264988a0b488
 SHA512 
0f8278db3dee0c15f82b08a172a6b1b2f360f5bd91d894338b24c6eb38884bf59f0a18d29af51b87857c41b25a81079fbffd87190392002ec9250c2d97b71965

diff --git a/dev-python/outcome/outcome-1.3.0.ebuild 
b/dev-python/outcome/outcome-1.3.0.ebuild
new file mode 100644
index ..cb55f06f4835
--- /dev/null
+++ b/dev-python/outcome/outcome-1.3.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="Capture the outcome of Python function calls"
+HOMEPAGE="
+   https://github.com/python-trio/outcome/
+   https://pypi.org/project/outcome/
+"
+SRC_URI="
+   https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="|| ( Apache-2.0 MIT )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   dev-python/attrs[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs/source dev-python/sphinxcontrib-trio 
dev-python/sphinx-rtd-theme



[gentoo-commits] repo/gentoo:master commit in: app-admin/awscli/

2023-10-17 Thread Michał Górny
commit: 4329fbb0e4b2132cba4d7a0b93fa9fe64573ba23
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct 18 04:38:10 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct 18 05:05:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4329fbb0

app-admin/awscli: Bump to 1.29.65

Signed-off-by: Michał Górny  gentoo.org>

 app-admin/awscli/Manifest  |  1 +
 app-admin/awscli/awscli-1.29.65.ebuild | 85 ++
 2 files changed, 86 insertions(+)

diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
index f583c27a6e63..ecae95508abc 100644
--- a/app-admin/awscli/Manifest
+++ b/app-admin/awscli/Manifest
@@ -4,3 +4,4 @@ DIST aws-cli-1.29.61.gh.tar.gz 2559946 BLAKE2B 
cab7954d50a235051a11978f1ee4316a0
 DIST aws-cli-1.29.62.gh.tar.gz 2560151 BLAKE2B 
0aa6dba4dcee72e0d3cbddb62ebcd9405682facfee4ad1348a53a5c09811a7583d7177814265158de0306518b62ae66eade301311c72cd7ddc380201d16ff30f
 SHA512 
cda4bcc0ac535eb007b44e517d22b17cda6518d6db25162cdd0f7b506de449c72add8221d17c6cd145e0029f17c0e183928061e04b7b27274a58d157142ead7c
 DIST aws-cli-1.29.63.gh.tar.gz 2561207 BLAKE2B 
83d1bf59c565ae5035eea0bfff91b2ac41e09cd250916db3bdb52b3cd336c869ca023acddf31418ca4ae81162d6cafb1cb915372d17988a4e616c018fceeb47b
 SHA512 
2f6a699a8e1b3526adc49e88079cf19c7ddb18c6a3653ddb622ef5bc2d00dcbd4b490324e3d30f0911a236d692970072f999216876108fa6967450bc42cb1072
 DIST aws-cli-1.29.64.gh.tar.gz 2561807 BLAKE2B 
a4423549d6bd5789ebbd027febc411a7ab5be46bbcf1b407dc40fa95005c00bf413205c47099bb17e1f26f9d693a1af34479cbf29881dfa1544c42cc5193c0d6
 SHA512 
1238881d78483f7e5bd06c4653471406f7c5da8904bf5ef1a9fa3c4f8b44138313289ea626e411b2827b89a779bd1990a99a43b909b59ba022f95e38b3a025ff
+DIST aws-cli-1.29.65.gh.tar.gz 2562601 BLAKE2B 
4c88ae2dcd37685f6908e027dc960d14e08f268f4f0784763b2e371f598d848c055847e27540c14d1ac745e4d87ce894e1e5a375c46ea522c384cb377146816a
 SHA512 
b2bbcb989602be9b4f513cf8c0feddd2c680d005568d0f82a82206ebf13f2235fd0650d85502738bd0f2410e5a006d14fafa1873b7d9ba453843e8f055985a51

diff --git a/app-admin/awscli/awscli-1.29.65.ebuild 
b/app-admin/awscli/awscli-1.29.65.ebuild
new file mode 100644
index ..941051349113
--- /dev/null
+++ b/app-admin/awscli/awscli-1.29.65.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit bash-completion-r1 distutils-r1 multiprocessing
+
+MY_P=aws-cli-${PV}
+DESCRIPTION="Universal Command Line Environment for AWS"
+HOMEPAGE="
+   https://github.com/aws/aws-cli/
+   https://pypi.org/project/awscli/
+"
+SRC_URI="
+   https://github.com/aws/aws-cli/archive/${PV}.tar.gz
+   -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+# botocore is x.(y+2).z
+BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
+RDEPEND="
+   >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
+   dev-python/colorama[${PYTHON_USEDEP}]
+   dev-python/docutils[${PYTHON_USEDEP}]
+   dev-python/rsa[${PYTHON_USEDEP}]
+   >=dev-python/s3transfer-0.7.0[${PYTHON_USEDEP}]
+   dev-python/pyyaml[${PYTHON_USEDEP}]
+   !app-admin/awscli-bin
+"
+BDEPEND="
+   test? (
+   dev-python/pytest-forked[${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+   # do not rely on bundled deps in botocore (sic!)
+   find -name '*.py' -exec sed -i \
+   -e 's:from botocore[.]vendored import:import:' \
+   -e 's:from botocore[.]vendored[.]:from :' \
+   {} + || die
+   # strip overzealous upper bounds on requirements
+   sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # broken xdist (signal() works only in main thread)
+   
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
+   
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
+   
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
+   
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
+   
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
+   tests/unit/test_compat.py::TestIgnoreUserSignals
+   tests/unit/test_help.py::TestHelpPager::test_can_handle_ctrl_c
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/unearth/

2023-10-17 Thread Michał Górny
commit: 1651cef576dd8f0873d194a3cd20acb608fb11aa
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct 18 04:40:33 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct 18 05:05:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1651cef5

dev-python/unearth: Bump to 0.11.2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/unearth/Manifest  |  1 +
 dev-python/unearth/unearth-0.11.2.ebuild | 39 
 2 files changed, 40 insertions(+)

diff --git a/dev-python/unearth/Manifest b/dev-python/unearth/Manifest
index 15f4d85f544e..378e441ebb6f 100644
--- a/dev-python/unearth/Manifest
+++ b/dev-python/unearth/Manifest
@@ -1,2 +1,3 @@
 DIST unearth-0.10.0.tar.gz 270997 BLAKE2B 
8b18df4616fc72025492aa187101bc1f338967b1738ef9ec33d16cbd906c1cf91c1b84e391538521b4a9d6ea40301eb0b7ed0926aa4e6c4d6ffc57401f9d78d9
 SHA512 
98799202939e1206b6fdd46eb61947c9f9f8068a6857f76aace8dd2c67a3fad9dd3b7a5232d7812b0dcd214c39a9e2a6fafbd18cbfeb9aa4c216571b88b3f131
 DIST unearth-0.11.0.tar.gz 271154 BLAKE2B 
405c97ef152afb241cb70d9b309fd1ac454be932c96f95b606bb6038ffb2369fbc55c6afabd86f6a15949182de276dcda035fdb17d4810933286a0fa0b567e42
 SHA512 
70a06a32f6f2ca74c16a55f9613b543d807e437bd99c0ebb02c0d721144cf45208df78940ee41911a8168c9181ec733b9aec2176038b2556d0e2ad5e8c2cc0d4
+DIST unearth-0.11.2.tar.gz 271479 BLAKE2B 
c3c3f6bfb3f207eb9a7d7667d966efb84e316579ebffc833e94664c089f0c92bc4915f62a07b53b79aa9f43098080231a3644808bf35172df407cd80a7be9096
 SHA512 
6ec961456640fe3ca8922e0ee83ecadb6b6fa3dd7b5977a228111ad3ad2d79782eb75d76d4a7066c29f53ce023471c2a38d9f587c35f8d04bb0704bdd6406f71

diff --git a/dev-python/unearth/unearth-0.11.2.ebuild 
b/dev-python/unearth/unearth-0.11.2.ebuild
new file mode 100644
index ..9c0635d2317b
--- /dev/null
+++ b/dev-python/unearth/unearth-0.11.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=pdm-backend
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A utility to fetch and download python packages"
+HOMEPAGE="
+   https://pypi.org/project/unearth/
+   https://github.com/frostming/unearth/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   dev-python/packaging[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/pytest-httpserver[${PYTHON_USEDEP}]
+   dev-python/flask[${PYTHON_USEDEP}]
+   dev-python/requests-wsgi-adapter[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest -p pytest_httpserver
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/botocore/

2023-10-17 Thread Michał Górny
commit: edc35d91b7cb86734b04910b505e5f33037a0314
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct 18 04:37:40 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct 18 05:05:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edc35d91

dev-python/botocore: Bump to 1.31.65

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/botocore/Manifest|  1 +
 dev-python/botocore/botocore-1.31.65.ebuild | 68 +
 2 files changed, 69 insertions(+)

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index e9d92f42ea50..365ae59832c1 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -4,3 +4,4 @@ DIST botocore-1.31.61.gh.tar.gz 11959525 BLAKE2B 
27797d055bf54b91b5eeda7a41baddc
 DIST botocore-1.31.62.gh.tar.gz 11961556 BLAKE2B 
315a1ba1543ba5b92c0a0394a4a21b124a9435e660daef43164cd61ce0b5924c6ba9fa82e41c32b4ae7f0e89783abbe107abf11c807e81a3cb2f883352935053
 SHA512 
ba13c945fe9308bcc053d459b8934ea358e734b3079620ceb4d4df8274426f349a0ff26190d45275ca05588d48c692338c2dbdbde5122fdda79556af64cfb6c8
 DIST botocore-1.31.63.gh.tar.gz 11975759 BLAKE2B 
3e757c6303f3390d3d563187c47140042d09271b16022a7a633bf68dc7188d42ac5a73838d2ae0556c8eec63296bb3f3b3f1011889fa7c10d660654695cd70f1
 SHA512 
39f1b6cb5c61a55a6f01e41750f651baf16c6d66e0b9e30cff042f54d03c0e862ab91a8f918257df8da678b13e732c68e887b21aa6778bafad5361f4edd2
 DIST botocore-1.31.64.gh.tar.gz 11983429 BLAKE2B 
636f0c394a3af8bf174f992444e3e352893f3e8cf11e9732a6e73af3f155b638e9ee3060617bbf184b5872768257ad81aa95379b48452a1fe8a6bc100f601074
 SHA512 
375b406eb16f93d0ca9631fe9943959d24b62ac579b70f0782f6b386933fb3de25343c05bda7667c441c050ccd10c9c5a254bfd8a620610adb7669ed326a0203
+DIST botocore-1.31.65.gh.tar.gz 11988384 BLAKE2B 
38c563e13e4205af8f41622eb0715ae11ac2214979d367894afc75a872e2d2d38be57f8b8a10efcd847bc8751b09e5d4394f21aa8bf4358d8ec55888adcb68d9
 SHA512 
1919efbf6d807a23d33050c7d306cc63bf85f088b84b6ea18a58b40eb0acec4e2bb6acd3150bd7b2939bed594cfc3fa681c094b35b8ca049ef2299c60502c3d0

diff --git a/dev-python/botocore/botocore-1.31.65.ebuild 
b/dev-python/botocore/botocore-1.31.65.ebuild
new file mode 100644
index ..7cacb5c3f634
--- /dev/null
+++ b/dev-python/botocore/botocore-1.31.65.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 multiprocessing
+
+DESCRIPTION="Low-level, data-driven core of boto 3"
+HOMEPAGE="
+   https://github.com/boto/botocore/
+   https://pypi.org/project/botocore/
+"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+if [[ "${PV}" == "" ]]; then
+   EGIT_REPO_URI="https://github.com/boto/botocore;
+   inherit git-r3
+else
+   SRC_URI="
+   https://github.com/boto/botocore/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+   "
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+fi
+
+RDEPEND="
+   dev-python/six[${PYTHON_USEDEP}]
+   =dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/jsonschema[${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+   # unpin deps
+   sed -i -e "s:>=.*':':" setup.py || die
+
+   # unbundle deps
+   rm -r botocore/vendored || die
+   find -name '*.py' -exec sed -i \
+   -e 's:from botocore[.]vendored import:import:' \
+   -e 's:from botocore[.]vendored[.]:from :' \
+   {} + || die
+
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # rely on bundled six
+   tests/functional/test_six_imports.py::test_no_bare_six_imports
+   tests/functional/test_six_threading.py::test_six_thread_safety
+   )
+
+   local -x EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/boto3/

2023-10-17 Thread Michał Górny
commit: 5c5bfd98103e21ea1b7219bc9268d9164d5ac3b3
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct 18 04:38:00 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct 18 05:05:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c5bfd98

dev-python/boto3: Bump to 1.28.65

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/boto3/Manifest |  1 +
 dev-python/boto3/boto3-1.28.65.ebuild | 68 +++
 2 files changed, 69 insertions(+)

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index d544ea029554..ca3c47e5b28c 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -4,3 +4,4 @@ DIST boto3-1.28.61.gh.tar.gz 711460 BLAKE2B 
7710c97ecb3e968a302abc9645488a470fdd
 DIST boto3-1.28.62.gh.tar.gz 712305 BLAKE2B 
1d61f857143f9471a254e035cf532cab38699262b116ccc40e922005bf90ca64a33b7aa7f64df8b0641f58e250d9b6000977a50be10e5ebe93dcbf54148276b7
 SHA512 
f13d8f812caa650d877ecb3ae72a47ed6f93dfbfede62588266909917a1af6c8c446dbefd130d39f9a5dd156e1b9eca96a0ae084bfbadf926cdcfabfc255633c
 DIST boto3-1.28.63.gh.tar.gz 713769 BLAKE2B 
f2e300458934893bb6d2186e900c4ba9abbd51d2ffabdbcd3026394315653e64fdc486f3ed4e33b26bef160b00e75acea875278eab03b4eeb50b5ecc94d4c0fc
 SHA512 
782c7bb48af31638899e8bcf8fc87f67ab793fe724392be90951ece61b165f55d1df47585bd5211d7ecf3c989e5316ff9db774c8f0f357d1afc2af3ca0e49879
 DIST boto3-1.28.64.gh.tar.gz 714823 BLAKE2B 
b051c57d2852699d2c18472629934b97e76f30b1e6e0f398fde113771146cd65f8042bb8622884294fb802424b7beb498648d558f6d5cfc3dd48b1100dafc2d2
 SHA512 
ca0042e173c4a35dc9d6ab8ed362d3308753d3722bb4cf25302fd0018c5d94e66a2ea288610192ad5a353ca54f0ab8f1942224269935b1fe3444b2e70842da13
+DIST boto3-1.28.65.gh.tar.gz 715573 BLAKE2B 
24cf962b2b9e5c52f0e8d86e9acd730c4fe48bd7634ac65ccdf344985e82c51af05ff10f903cbde5048e8510adc5a83992cf2ad4ddf880435c121b20f981a6f6
 SHA512 
ea8ff1b72b5b8db00c959abf522a7aaf53bccf9b1e06f8ce70052cc752d18b73a8bc75d6bd97bd0740acac5bf3fd68f6fa39fc8aa084128291940c93d6745bf1

diff --git a/dev-python/boto3/boto3-1.28.65.ebuild 
b/dev-python/boto3/boto3-1.28.65.ebuild
new file mode 100644
index ..a37cc38af2f3
--- /dev/null
+++ b/dev-python/boto3/boto3-1.28.65.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 multiprocessing
+
+DESCRIPTION="The AWS SDK for Python"
+HOMEPAGE="
+   https://github.com/boto/boto3/
+   https://pypi.org/project/boto3/
+"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+if [[ "${PV}" == "" ]]; then
+   EGIT_REPO_URI="https://github.com/boto/boto3;
+   inherit git-r3
+   BOTOCORE_PV=${PV}
+else
+   SRC_URI="
+   https://github.com/boto/boto3/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+   "
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+
+   # botocore is x.(y+3).z
+   BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
+fi
+
+RDEPEND="
+   >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
+   >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
+   >=dev-python/s3transfer-0.7.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # don't lock versions to narrow ranges
+   sed -e '/botocore/ d' \
+   -e '/jmespath/ d' \
+   -e '/s3transfer/ d' \
+   -i setup.py || die
+
+   # do not rely on bundled deps in botocore (sic!)
+   find -name '*.py' -exec sed -i \
+   -e 's:from botocore[.]vendored import:import:' \
+   -e 's:from botocore[.]vendored[.]:from :' \
+   {} + || die
+
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest tests/{functional,unit} \
+   -p xdist -n "$(makeopts_jobs)" --dist=worksteal
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/rstcheck/

2023-10-17 Thread Samuel Bernardo
commit: 20f793e089ae122b63a52d46e988b78b06e0e9a1
Author: Samuel Bernardo  gmail  com>
AuthorDate: Wed Oct 18 04:36:05 2023 +
Commit: Samuel Bernardo  gmail  com>
CommitDate: Wed Oct 18 04:38:33 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=20f793e0

dev-python/rstcheck: add 6.2.0, drop 6.1.1

Signed-off-by: Samuel Bernardo  gmail.com>

 dev-python/rstcheck/Manifest | 2 +-
 dev-python/rstcheck/{rstcheck-6.1.1.ebuild => rstcheck-6.2.0.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/rstcheck/Manifest b/dev-python/rstcheck/Manifest
index 6681496280..fa0d5c789d 100644
--- a/dev-python/rstcheck/Manifest
+++ b/dev-python/rstcheck/Manifest
@@ -1 +1 @@
-DIST rstcheck-6.1.1.tar.gz 17532 BLAKE2B 
973d288db0fb8a10ebd187ee638c5deff84a820a684f6fa1bd6248a10e36a7b0f3d5c62636431fa8083e454400c2f6beea232cc227db1b1f8adfa79714f8373a
 SHA512 
87c9df2e80b84791b64cfaf37b8b550bf6df6ed0268ff048232a542a20c898ccb7e478031532ecc5294391976e2f623a93977430c6d7bc3fa380d441db0ef027
+DIST rstcheck-6.2.0.tar.gz 23378 BLAKE2B 
e1239c884ffdb0c676d3cbe526b33d8a84685b9c914c88b28da7df58985681be8114b507d49c16c970b291475997ddc626445df26647381c23260363a1b0ec82
 SHA512 
8b92d0e43cf3aea8881d660dae485ffb8dcce893e43cab589f41cc2cb6918a5b685f78428a18526df97c2b0eadc8be85836be4a82fda4277f3d93b4d1bd3648e

diff --git a/dev-python/rstcheck/rstcheck-6.1.1.ebuild 
b/dev-python/rstcheck/rstcheck-6.2.0.ebuild
similarity index 96%
rename from dev-python/rstcheck/rstcheck-6.1.1.ebuild
rename to dev-python/rstcheck/rstcheck-6.2.0.ebuild
index 425adce6f3..2b96d45dc4 100644
--- a/dev-python/rstcheck/rstcheck-6.1.1.ebuild
+++ b/dev-python/rstcheck/rstcheck-6.2.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1 pypi
 



[gentoo-commits] repo/gentoo:master commit in: app-text/calibre/

2023-10-17 Thread Zac Medico
commit: af5d2713d365e38de261c205cfd795edc337e540
Author: Eli Schwartz  gmail  com>
AuthorDate: Mon Oct  2 06:55:48 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Oct 18 04:37:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af5d2713

app-text/calibre: Remove erroneous "binary install" workaround

This has never been caused by the upstream binary install, which
installs to /opt and does not affect from-source installs under any
circumstances ever.

What did happen is back during the major version update from 2.85 to
3.0, upstream stopped including a vendored regex/ module, and started
expecting it to be installed as a system dependency.

Under most circumstances, this was fine, and simply installing the
dependency would get things working. One possible edge case occurred,
however, when the old version of the package did NOT byte-compile the
vendored regex module, but calibre was run as root. (There are reasons
it might end up being run as root, the most obvious being that a user
wanted to run the headless server or another command-line tool.)

If this happened, then the python interpreter would automatically
byte-compile every module on import, but the PM wouldn't track it for
removal. After an upgrade, the cached file could still be imported and
would effectively mask the system version of the regex module, but would
be missing the binary portion.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 app-text/calibre/calibre-5.44.0-r1.ebuild | 16 
 1 file changed, 16 deletions(-)

diff --git a/app-text/calibre/calibre-5.44.0-r1.ebuild 
b/app-text/calibre/calibre-5.44.0-r1.ebuild
index 815415c38fea..7b4d5e9dea2c 100644
--- a/app-text/calibre/calibre-5.44.0-r1.ebuild
+++ b/app-text/calibre/calibre-5.44.0-r1.ebuild
@@ -287,23 +287,7 @@ src_install() {
newconfd "${FILESDIR}"/calibre-server-3.conf calibre-server
 }
 
-pkg_preinst() {
-   # Indentify stray directories from upstream's "Binary install"
-   # method (see bug 622728).
-   CALIBRE_LIB_DIR=/usr/$(get_libdir)/calibre
-   CALIBRE_LIB_CONTENT=$(for x in "${ED}${CALIBRE_LIB_DIR}"/*; do
-   printf -- "${x##*/} "; done) || die "Failed to list 
${ED}${CALIBRE_LIB_DIR}"
-}
-
 pkg_postinst() {
-   [[ -n ${CALIBRE_LIB_DIR} ]] || die "CALIBRE_LIB_DIR is unset"
-   local x
-   for x in "${EROOT}${CALIBRE_LIB_DIR}"/*; do
-   if [[ " ${CALIBRE_LIB_CONTENT} " != *" ${x##*/} "* ]]; then
-   elog "Purging '${x}'"
-   rm -rf "${x}"
-   fi
-   done
xdg_desktop_database_update
xdg_mimeinfo_database_update
xdg_icon_cache_update



[gentoo-commits] repo/gentoo:master commit in: app-text/calibre/

2023-10-17 Thread Zac Medico
commit: 5a1aae1fc67dd51c2789e11b8f7dc156d62d8b8d
Author: Eli Schwartz  gmail  com>
AuthorDate: Mon Oct 16 04:23:28 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Oct 18 04:26:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a1aae1f

app-text/calibre: add support for packaging plugins in an ebuild

Signed-off-by: Eli Schwartz  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33292
Signed-off-by: Zac Medico  gentoo.org>

 app-text/calibre/calibre-5.44.0-r2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app-text/calibre/calibre-5.44.0-r2.ebuild 
b/app-text/calibre/calibre-5.44.0-r2.ebuild
index ff28f6393cc4..28908e49f5d8 100644
--- a/app-text/calibre/calibre-5.44.0-r2.ebuild
+++ b/app-text/calibre/calibre-5.44.0-r2.ebuild
@@ -236,7 +236,8 @@ src_install() {
--staging-root="${ED}/usr" \
--prefix="${EPREFIX}/usr" \
--libdir="${EPREFIX}/usr/$(get_libdir)" \
-   --staging-libdir="${ED}/usr/$(get_libdir)" || die
+   --staging-libdir="${ED}/usr/$(get_libdir)" \
+   
--system-plugins-location="${EPREFIX}/usr/share/calibre/system-plugins" || die
 
cp -r man-pages/ "${ED}"/usr/share/man || die
 



[gentoo-commits] repo/gentoo:master commit in: app-text/calibre/

2023-10-17 Thread Zac Medico
commit: 92cb4b07ce1b110142d92cfae64d91939d442b48
Author: Eli Schwartz  gmail  com>
AuthorDate: Fri Oct  6 00:24:57 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Oct 18 04:26:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92cb4b07

app-text/calibre: install man pages

Since calibre 3.3.0 the distfile has come with prebuilt manpages for the
CLI programs. Add them to the installation.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 app-text/calibre/calibre-5.44.0-r2.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app-text/calibre/calibre-5.44.0-r2.ebuild 
b/app-text/calibre/calibre-5.44.0-r2.ebuild
index 8b10da02930c..9c1b2df4a7a3 100644
--- a/app-text/calibre/calibre-5.44.0-r2.ebuild
+++ b/app-text/calibre/calibre-5.44.0-r2.ebuild
@@ -237,6 +237,8 @@ src_install() {
--libdir="${EPREFIX}/usr/$(get_libdir)" \
--staging-libdir="${ED}/usr/$(get_libdir)" || die
 
+   cp -r man-pages/ "${ED}"/usr/share/man || die
+
find "${ED}"/usr/share -type d -empty -delete || die
 
einfo "Converting python shebangs"



[gentoo-commits] repo/gentoo:master commit in: app-text/calibre/

2023-10-17 Thread Zac Medico
commit: 03a216a35add2c55cc5d1aeea5aace400f2aa693
Author: Eli Schwartz  gmail  com>
AuthorDate: Thu Oct  5 23:55:36 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Oct 18 04:26:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03a216a3

app-text/calibre: move text-to-speech dependency to dedicated USE flag

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 app-text/calibre/calibre-5.44.0-r2.ebuild | 6 --
 app-text/calibre/metadata.xml | 3 +++
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/app-text/calibre/calibre-5.44.0-r2.ebuild 
b/app-text/calibre/calibre-5.44.0-r2.ebuild
index aa777d9a83cb..74b91f0af828 100644
--- a/app-text/calibre/calibre-5.44.0-r2.ebuild
+++ b/app-text/calibre/calibre-5.44.0-r2.ebuild
@@ -37,7 +37,7 @@ LICENSE="
 "
 KEYWORDS="~amd64 ~arm ~x86"
 SLOT="0"
-IUSE="ios test +udisks"
+IUSE="ios speech test +udisks"
 
 RESTRICT="!test? ( test )"
 
@@ -55,7 +55,6 @@ COMMON_DEPEND="${PYTHON_DEPS}
dev-libs/openssl:=
dev-libs/snowball-stemmer:=
$(python_gen_cond_dep '
-   app-accessibility/speech-dispatcher[python,${PYTHON_USEDEP}]
>=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}]
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/cchardet[${PYTHON_USEDEP}]
@@ -100,6 +99,7 @@ COMMON_DEPEND="${PYTHON_DEPS}
>=app-pda/usbmuxd-1.0.8
>=app-pda/libimobiledevice-1.2.0
)
+   speech? ( $(python_gen_cond_dep 
'app-accessibility/speech-dispatcher[python,${PYTHON_USEDEP}]') )
udisks? ( virtual/libudev )"
 RDEPEND="${COMMON_DEPEND}
udisks? ( sys-fs/udisks:2 )"
@@ -200,6 +200,8 @@ src_test() {
# unpackaged Python dependency: unrardll
test_unrar
 
+   $(usev !speech speech_dispatcher)
+
# undocumented reasons
test_mem_leaks
test_searching

diff --git a/app-text/calibre/metadata.xml b/app-text/calibre/metadata.xml
index a969c28b1737..70f7c65fff2a 100644
--- a/app-text/calibre/metadata.xml
+++ b/app-text/calibre/metadata.xml
@@ -8,4 +8,7 @@
 calibre
 kovidgoyal/calibre
   
+  
+Enable text-to-speech support
+  
 



[gentoo-commits] repo/gentoo:master commit in: app-text/calibre/

2023-10-17 Thread Zac Medico
commit: 0085245112be3863c496aa7a6f7692aa5013f78c
Author: Eli Schwartz  gmail  com>
AuthorDate: Mon Oct  2 23:41:37 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Oct 18 04:26:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00852451

app-text/calibre: add dependency necessary for complete image support

Drops the necessity of a testsuite patch.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 app-text/calibre/calibre-5.44.0-r2.ebuild | 14 ++
 1 file changed, 2 insertions(+), 12 deletions(-)

diff --git a/app-text/calibre/calibre-5.44.0-r2.ebuild 
b/app-text/calibre/calibre-5.44.0-r2.ebuild
index 8a63bfb638e5..b47c8eb32888 100644
--- a/app-text/calibre/calibre-5.44.0-r2.ebuild
+++ b/app-text/calibre/calibre-5.44.0-r2.ebuild
@@ -35,7 +35,7 @@ LICENSE="
OFL-1.1
PSF-2
 "
-KEYWORDS="amd64 ~arm ~x86"
+KEYWORDS="~amd64 ~arm ~x86"
 SLOT="0"
 IUSE="ios +udisks"
 
@@ -85,6 +85,7 @@ COMMON_DEPEND="${PYTHON_DEPS}

>=dev-python/PyQtWebEngine-5.15.5_pre2108100905[${PYTHON_USEDEP}]
dev-python/regex[${PYTHON_USEDEP}]
')
+   dev-qt/qtimageformats:5
dev-qt/qtcore:5=
dev-qt/qtdbus:5=
dev-qt/qtgui:5=[jpeg]
@@ -132,15 +133,6 @@ PATCHES=(
# We don't (yet?) package libjxr and it seems to be dead upstream
# (last commit in 2017)
"${FILESDIR}/${PN}-5.35.0-jxr-test.patch"
-
-   # TODO:
-   # test_qt tries to load a bunch of images using Qt and it currently 
fails
-   # due to some presumably missing dependencies. This is important and
-   # we need to look into it, but at time of writing, none of the tests
-   # are even bring run, so I'd like to return to this later.
-   # We don't want to skip test_qt entirely, so just skip this particular
-   # assert for now.
-   "${FILESDIR}/${PN}-5.31.0-qt-image-test.patch"
 )
 
 src_prepare() {
@@ -193,8 +185,6 @@ src_compile() {
 
 src_test() {
# Skipped tests:
-   # Note that we currently have a hack to skip one part of test_qt!
-   # See PATCHES for more.
local _test_excludes=(
# unpackaged Python dependency: py7zr
7z



[gentoo-commits] repo/gentoo:master commit in: app-text/calibre/

2023-10-17 Thread Zac Medico
commit: b831451172bd7855c915363be94339699eaec4ea
Author: Eli Schwartz  gmail  com>
AuthorDate: Mon Oct  2 06:55:48 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Oct 18 04:26:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8314511

app-text/calibre: Remove erroneous "binary install" workaround

This has never been caused by the upstream binary install, which
installs to /opt and does not affect from-source installs under any
circumstances ever.

What did happen is back during the major version update from 2.85 to
3.0, upstream stopped including a vendored regex/ module, and started
expecting it to be installed as a system dependency.

Under most circumstances, this was fine, and simply installing the
dependency would get things working. One possible edge case occurred,
however, when the old version of the package did NOT byte-compile the
vendored regex module, but calibre was run as root. (There are reasons
it might end up being run as root, the most obvious being that a user
wanted to run the headless server or another command-line tool.)

If this happened, then the python interpreter would automatically
byte-compile every module on import, but the PM wouldn't track it for
removal. After an upgrade, the cached file could still be imported and
would effectively mask the system version of the regex module, but would
be missing the binary portion.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 app-text/calibre/calibre-5.44.0-r2.ebuild | 16 
 1 file changed, 16 deletions(-)

diff --git a/app-text/calibre/calibre-5.44.0-r2.ebuild 
b/app-text/calibre/calibre-5.44.0-r2.ebuild
index e2db565d6f63..8ff7f95c90aa 100644
--- a/app-text/calibre/calibre-5.44.0-r2.ebuild
+++ b/app-text/calibre/calibre-5.44.0-r2.ebuild
@@ -253,23 +253,7 @@ src_install() {
newconfd "${FILESDIR}"/calibre-server-3.conf calibre-server
 }
 
-pkg_preinst() {
-   # Indentify stray directories from upstream's "Binary install"
-   # method (see bug 622728).
-   CALIBRE_LIB_DIR=/usr/$(get_libdir)/calibre
-   CALIBRE_LIB_CONTENT=$(for x in "${ED}${CALIBRE_LIB_DIR}"/*; do
-   printf -- "${x##*/} "; done) || die "Failed to list 
${ED}${CALIBRE_LIB_DIR}"
-}
-
 pkg_postinst() {
-   [[ -n ${CALIBRE_LIB_DIR} ]] || die "CALIBRE_LIB_DIR is unset"
-   local x
-   for x in "${EROOT}${CALIBRE_LIB_DIR}"/*; do
-   if [[ " ${CALIBRE_LIB_CONTENT} " != *" ${x##*/} "* ]]; then
-   elog "Purging '${x}'"
-   rm -rf "${x}"
-   fi
-   done
xdg_desktop_database_update
xdg_mimeinfo_database_update
xdg_icon_cache_update



[gentoo-commits] repo/gentoo:master commit in: app-text/calibre/

2023-10-17 Thread Zac Medico
commit: 1b7f9d4d8074db72dedcf61e1e3102240daf4a18
Author: Eli Schwartz  gmail  com>
AuthorDate: Wed Oct 11 06:36:43 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Oct 18 04:26:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b7f9d4d

app-text/calibre: disable py3.9

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 app-text/calibre/calibre-5.44.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/calibre/calibre-5.44.0-r2.ebuild 
b/app-text/calibre/calibre-5.44.0-r2.ebuild
index d8604f2126eb..ff28f6393cc4 100644
--- a/app-text/calibre/calibre-5.44.0-r2.ebuild
+++ b/app-text/calibre/calibre-5.44.0-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 PYTHON_REQ_USE="ipv6(+),sqlite,ssl"
 
 inherit toolchain-funcs python-single-r1 qmake-utils verify-sig xdg-utils



[gentoo-commits] repo/gentoo:master commit in: app-text/calibre/

2023-10-17 Thread Zac Medico
commit: 6cc272a063014b32500e87c00f8d09f5a0eecce3
Author: Eli Schwartz  gmail  com>
AuthorDate: Fri Oct  6 00:00:52 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Oct 18 04:26:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cc272a0

app-text/calibre: trivial refactor of skippable tests

It is easier to add to as an array. Also add comment to note down that I
don't know why a couple of tests are being skipped.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 app-text/calibre/calibre-5.44.0-r2.ebuild | 20 
 1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/app-text/calibre/calibre-5.44.0-r2.ebuild 
b/app-text/calibre/calibre-5.44.0-r2.ebuild
index 833cd49b4dc6..b90a58692d78 100644
--- a/app-text/calibre/calibre-5.44.0-r2.ebuild
+++ b/app-text/calibre/calibre-5.44.0-r2.ebuild
@@ -198,16 +198,20 @@ src_compile() {
 
 src_test() {
# Skipped tests:
-   # - 7z (unpackaged Python dependency: py7zr)
-   # - test_unrar (unpackaged Python dependency: unrardll)
-   #
# Note that we currently have a hack to skip one part of test_qt!
# See PATCHES for more.
-   ${PYTHON} setup.py test \
-   --exclude-test-name 7z \
-   --exclude-test-name test_mem_leaks \
-   --exclude-test-name test_searching \
-   --exclude-test-name test_unrar || die
+   local _test_excludes=(
+   # unpackaged Python dependency: py7zr
+   7z
+   # unpackaged Python dependency: unrardll
+   test_unrar
+
+   # undocumented reasons
+   test_mem_leaks
+   test_searching
+   )
+
+   ${PYTHON} setup.py test "${_test_excludes[@]/#/--exclude-test-name=}" 
|| die
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: app-text/calibre/

2023-10-17 Thread Zac Medico
commit: e003cddbc998bb9a77432f0962c6851e47044400
Author: Eli Schwartz  gmail  com>
AuthorDate: Thu Oct  5 23:50:26 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Oct 18 04:26:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e003cddb

app-text/calibre: add missing USE dependencies for image support

calibre needs support for these image types, and tests for some of them,
but their USE flags aren't guaranteed to be enabled. Guarantee it, even
if until now people tended not to notice somehow. ;)

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 app-text/calibre/calibre-5.44.0-r2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-text/calibre/calibre-5.44.0-r2.ebuild 
b/app-text/calibre/calibre-5.44.0-r2.ebuild
index 2e49cf2a9179..aa777d9a83cb 100644
--- a/app-text/calibre/calibre-5.44.0-r2.ebuild
+++ b/app-text/calibre/calibre-5.44.0-r2.ebuild
@@ -70,21 +70,21 @@ COMMON_DEPEND="${PYTHON_DEPS}
>=dev-python/mechanize-0.3.5[${PYTHON_USEDEP}]
>=dev-python/msgpack-0.6.2[${PYTHON_USEDEP}]
>=dev-python/netifaces-0.10.5[${PYTHON_USEDEP}]
-   >=dev-python/pillow-3.2.0[truetype,${PYTHON_USEDEP}]
+   
>=dev-python/pillow-3.2.0[jpeg,truetype,webp,zlib,${PYTHON_USEDEP}]
>=dev-python/psutil-4.3.0[${PYTHON_USEDEP}]
>=dev-python/pychm-0.8.6[${PYTHON_USEDEP}]
dev-python/pycryptodome[${PYTHON_USEDEP}]
>=dev-python/pygments-2.3.1[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}]
dev-python/zeroconf[${PYTHON_USEDEP}]
-   
>=dev-python/PyQt5-5.15.5_pre2107091435[gui,svg,widgets,network,printsupport,${PYTHON_USEDEP}]
+   
>=dev-python/PyQt5-5.15.5_pre2107091435[gui,widgets,network,printsupport,svg,${PYTHON_USEDEP}]

>=dev-python/PyQtWebEngine-5.15.5_pre2108100905[${PYTHON_USEDEP}]
dev-python/regex[${PYTHON_USEDEP}]
')
dev-qt/qtimageformats:5
dev-qt/qtcore:5=
dev-qt/qtdbus:5=
-   dev-qt/qtgui:5=[jpeg]
+   dev-qt/qtgui:5=[jpeg,png]
dev-qt/qtwidgets:5
dev-util/desktop-file-utils
dev-util/gtk-update-icon-cache



[gentoo-commits] repo/gentoo:master commit in: app-text/calibre/

2023-10-17 Thread Zac Medico
commit: 4103983d9ac27718dad9f5cbf9ea5bdf03aeb7ac
Author: Eli Schwartz  gmail  com>
AuthorDate: Mon Oct  2 05:17:35 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Oct 18 04:26:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4103983d

app-text/calibre: add verify-sig support

Historically, calibre has always supported this. Allow checking it. No
revbump needed.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 app-text/calibre/calibre-5.44.0-r1.ebuild | 12 +---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/app-text/calibre/calibre-5.44.0-r1.ebuild 
b/app-text/calibre/calibre-5.44.0-r1.ebuild
index ba8f956e0af1..815415c38fea 100644
--- a/app-text/calibre/calibre-5.44.0-r1.ebuild
+++ b/app-text/calibre/calibre-5.44.0-r1.ebuild
@@ -6,11 +6,15 @@ EAPI=8
 PYTHON_COMPAT=( python3_{9..11} )
 PYTHON_REQ_USE="ipv6(+),sqlite,ssl"
 
-inherit toolchain-funcs python-single-r1 qmake-utils xdg-utils
+inherit toolchain-funcs python-single-r1 qmake-utils verify-sig xdg-utils
 
 DESCRIPTION="Ebook management application"
 HOMEPAGE="https://calibre-ebook.com/;
-SRC_URI="https://download.calibre-ebook.com/${PV}/${P}.tar.xz;
+SRC_URI="
+   https://download.calibre-ebook.com/${PV}/${P}.tar.xz
+   verify-sig? ( https://calibre-ebook.com/signatures/${P}.tar.xz.sig )
+"
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/kovidgoyal.gpg"
 
 LICENSE="
GPL-3+
@@ -115,7 +119,9 @@ BDEPEND="$(python_gen_cond_dep '
')
>=virtual/podofo-build-0.9.6_pre20171027


[gentoo-commits] repo/gentoo:master commit in: app-text/calibre/

2023-10-17 Thread Zac Medico
commit: 3f28bca0103a58de57a5a485ccd299153654246f
Author: Eli Schwartz  gmail  com>
AuthorDate: Fri Oct  6 03:46:14 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Oct 18 04:26:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f28bca0

app-text/calibre: add myself as a maintainer

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 app-text/calibre/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/app-text/calibre/metadata.xml b/app-text/calibre/metadata.xml
index 70f7c65fff2a..7a4fb8fcb017 100644
--- a/app-text/calibre/metadata.xml
+++ b/app-text/calibre/metadata.xml
@@ -4,6 +4,10 @@
   
 zmed...@gentoo.org
   
+  
+eschwart...@gmail.com
+Eli Schwartz
+  
   
 calibre
 kovidgoyal/calibre



[gentoo-commits] repo/gentoo:master commit in: app-text/calibre/

2023-10-17 Thread Zac Medico
commit: ecfda3b94dc5ce59573b85d10d1c6ca2a6218fd9
Author: Eli Schwartz  gmail  com>
AuthorDate: Mon Oct  2 06:44:06 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Oct 18 04:25:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecfda3b9

app-text/calibre: don't uselessly modify library shebangs

A library file does not care what its shebang is. The intended purpose
of all these shebangs is to indicate to text editors, what the expected
syntax highlighting mode should be.

This has no practical effect on the resulting package. The installed
bytes are different, they just don't *do* anything different. No revbump
needed.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 app-text/calibre/calibre-5.44.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/calibre/calibre-5.44.0-r2.ebuild 
b/app-text/calibre/calibre-5.44.0-r2.ebuild
index 67eb556626cd..e2db565d6f63 100644
--- a/app-text/calibre/calibre-5.44.0-r2.ebuild
+++ b/app-text/calibre/calibre-5.44.0-r2.ebuild
@@ -244,7 +244,7 @@ src_install() {
find "${ED}"/usr/share -type d -empty -delete
 
einfo "Converting python shebangs"
-   python_fix_shebang --force "${ED}"
+   python_fix_shebang "${ED}/usr/bin"
 
einfo "Compiling python modules"
python_optimize "${ED}"/usr/$(get_libdir)/calibre 
"${D}/$(python_get_sitedir)"



[gentoo-commits] repo/gentoo:master commit in: app-text/calibre/

2023-10-17 Thread Zac Medico
commit: 13bd01105a6cfe4c33e75299ddd85585e7399acd
Author: Eli Schwartz  gmail  com>
AuthorDate: Tue Oct  3 01:53:35 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Oct 18 04:26:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13bd0110

app-text/calibre: various cleanups for out of date dependencies

Of note:
- dbus-python was deprecated and removed by the addition of jeepney
- cssselect was deprecated and removed by the addition of css-parser

The glib and libX* dependencies are an interesting bit of history. As
far as calibre is concerned, these have never been required (they are
not directly used). But the libheadless.so plugin which uses Qt private
APIs ends up inheriting a bunch of dependencies from Qt itself,
depending on whatever Qt internals get exposed by that private API. This
results in symbols inside libheadless.so linking to libraries that
QtCore also links to. We still have to rebuild libheadless.so on ever
update to Qt because private API, though. And the really fun bit is that
the dependencies do, of course, change over time. :) Currently libX* is
not actually used anymore, for example.

dbus-glib *looks* like it may have been superficially a recursive dep of
something else?

libwmf had extremely extremely old code in the calibre source tree which
could have compiled against it, but never really did so. There's a
custom encoder/decoder written in pure python.

zlib is not directly depended on by calibre, though some dependencies do
have to be built with USE=zlib which doesn't really help. For all direct
uses of zlib, calibre simply uses the python stdlib "zlib" module, which
is not optional anyway.

calibre has never been setuptools software, so that can be dropped.

There are two chardet modules of relevance: chardet and cchardet. At
runtime, calibre only uses the latter. The tests use both of them due to
reasons. We can avoid installing it except when USE=test.

PyQt-builder is used in the build system (and as the name implies, it is
a module for building code). It can be dropped to a build dependency.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 app-text/calibre/calibre-5.44.0-r2.ebuild | 24 +++-
 1 file changed, 7 insertions(+), 17 deletions(-)

diff --git a/app-text/calibre/calibre-5.44.0-r2.ebuild 
b/app-text/calibre/calibre-5.44.0-r2.ebuild
index 1688bc6f62df..2e49cf2a9179 100644
--- a/app-text/calibre/calibre-5.44.0-r2.ebuild
+++ b/app-text/calibre/calibre-5.44.0-r2.ebuild
@@ -37,7 +37,9 @@ LICENSE="
 "
 KEYWORDS="~amd64 ~arm ~x86"
 SLOT="0"
-IUSE="ios +udisks"
+IUSE="ios test +udisks"
+
+RESTRICT="!test? ( test )"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
@@ -48,23 +50,16 @@ COMMON_DEPEND="${PYTHON_DEPS}
>=app-text/podofo-0.9.6_pre20171027:=
=dev-libs/icu-57.1:=
-   dev-libs/libinput:=
-   >=dev-libs/dbus-glib-0.106
dev-libs/openssl:=
dev-libs/snowball-stemmer:=
-   >=sys-apps/dbus-1.10.8
$(python_gen_cond_dep '
app-accessibility/speech-dispatcher[python,${PYTHON_USEDEP}]
>=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}]
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/cchardet[${PYTHON_USEDEP}]
-   >=dev-python/chardet-3.0.3[${PYTHON_USEDEP}]
-   >=dev-python/cssselect-0.7.1[${PYTHON_USEDEP}]
>=dev-python/css-parser-1.0.4[${PYTHON_USEDEP}]
-   >=dev-python/dbus-python-1.2.4[${PYTHON_USEDEP}]
dev-python/dnspython[${PYTHON_USEDEP}]
>=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}]
>=dev-python/html2text-2019.8.11[${PYTHON_USEDEP}]
@@ -83,7 +78,6 @@ COMMON_DEPEND="${PYTHON_DEPS}
>=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}]
dev-python/zeroconf[${PYTHON_USEDEP}]

>=dev-python/PyQt5-5.15.5_pre2107091435[gui,svg,widgets,network,printsupport,${PYTHON_USEDEP}]
-   >=dev-python/PyQt-builder-1.10.3[${PYTHON_USEDEP}]

>=dev-python/PyQtWebEngine-5.15.5_pre2108100905[${PYTHON_USEDEP}]
dev-python/regex[${PYTHON_USEDEP}]
')
@@ -98,14 +92,8 @@ COMMON_DEPEND="${PYTHON_DEPS}
media-libs/fontconfig:=
>=media-libs/freetype-2:=
>=media-libs/libmtp-1.1.11:=
-   >=media-libs/libwmf-0.2.8
>=media-gfx/optipng-0.7.6
-   >=sys-libs/zlib-1.2.11:=
virtual/libusb:1=
-   x11-libs/libxkbcommon:=
-   x11-libs/libX11:=
-   x11-libs/libXext:=
-   x11-libs/libXrender:=
x11-misc/shared-mime-info
>=x11-misc/xdg-utils-1.0.2-r2
ios? (
@@ -115,9 +103,11 @@ COMMON_DEPEND="${PYTHON_DEPS}
udisks? ( virtual/libudev )"
 RDEPEND="${COMMON_DEPEND}
udisks? ( sys-fs/udisks:2 )"
-DEPEND="${COMMON_DEPEND}"
+DEPEND="${COMMON_DEPEND}
+   test? ( $(python_gen_cond_dep 

[gentoo-commits] repo/gentoo:master commit in: app-text/calibre/

2023-10-17 Thread Zac Medico
commit: 69cdc364d87da9ce3208cca59e86bd694dbb9b7d
Author: Eli Schwartz  gmail  com>
AuthorDate: Fri Oct  6 01:02:09 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Oct 18 04:26:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69cdc364

app-text/calibre: remove unused dependency which is tested as an import

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 app-text/calibre/calibre-5.44.0-r2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app-text/calibre/calibre-5.44.0-r2.ebuild 
b/app-text/calibre/calibre-5.44.0-r2.ebuild
index 9c1b2df4a7a3..d8604f2126eb 100644
--- a/app-text/calibre/calibre-5.44.0-r2.ebuild
+++ b/app-text/calibre/calibre-5.44.0-r2.ebuild
@@ -72,7 +72,6 @@ COMMON_DEPEND="${PYTHON_DEPS}

>=dev-python/pillow-3.2.0[jpeg,truetype,webp,zlib,${PYTHON_USEDEP}]
>=dev-python/psutil-4.3.0[${PYTHON_USEDEP}]
>=dev-python/pychm-0.8.6[${PYTHON_USEDEP}]
-   dev-python/pycryptodome[${PYTHON_USEDEP}]
>=dev-python/pygments-2.3.1[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}]
dev-python/zeroconf[${PYTHON_USEDEP}]
@@ -199,6 +198,8 @@ src_test() {
7z
# unpackaged Python dependency: unrardll
test_unrar
+   # tests if a completely unused module is bundled
+   pycryptodome
 
$(usev !speech speech_dispatcher)
 



[gentoo-commits] repo/gentoo:master commit in: app-text/calibre/

2023-10-17 Thread Zac Medico
commit: e5eb7ece10e4f33512525f7935c225553a2a559c
Author: Eli Schwartz  gmail  com>
AuthorDate: Fri Oct  6 00:18:05 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Oct 18 04:26:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5eb7ece

app-text/calibre: install zsh completions

Since there is no real standard and no real detection method for zsh
completions (and Debian tunes this to be something that doesn't work
anywhere else) the build system probes for the common locations.

Also, this probe is carried out against staging-root, not /, which
means that it will NEVER work. Not even if you have zsh installed.
Unless you create the directory in advance in the staging-root, which
you have to do anyways because otherwise you would need zsh as a BDEPEND
which is silly. ;)

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 app-text/calibre/calibre-5.44.0-r2.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app-text/calibre/calibre-5.44.0-r2.ebuild 
b/app-text/calibre/calibre-5.44.0-r2.ebuild
index 74b91f0af828..8b10da02930c 100644
--- a/app-text/calibre/calibre-5.44.0-r2.ebuild
+++ b/app-text/calibre/calibre-5.44.0-r2.ebuild
@@ -228,6 +228,9 @@ src_install() {
 
addpredict /dev/dri #665310
 
+   # If this directory doesn't exist, zsh completion won't install
+   dodir /usr/share/zsh/site-functions
+
"${PYTHON}" setup.py install \
--staging-root="${ED}/usr" \
--prefix="${EPREFIX}/usr" \



[gentoo-commits] repo/gentoo:master commit in: app-text/calibre/

2023-10-17 Thread Zac Medico
commit: 95c30c376450b77f7f6f12c84589c26badc149b0
Author: Eli Schwartz  gmail  com>
AuthorDate: Wed Oct 11 04:59:53 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Oct 18 04:26:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95c30c37

app-text/calibre: document reason for Qt slotting, and correct a bad one

Per https://wiki.gentoo.org/wiki/Project:Qt/Policies#Dependencies we
should not be using := unless we build against the Qt private API. As it
happens, we do. But also as it happens, we ended up slotting all
dependencies (other than the one I just added), whereas one of them was
not needed as it is only linked to via a compiled extension that doesn't
use private API.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 app-text/calibre/calibre-5.44.0-r2.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/app-text/calibre/calibre-5.44.0-r2.ebuild 
b/app-text/calibre/calibre-5.44.0-r2.ebuild
index b47c8eb32888..46dfe4477827 100644
--- a/app-text/calibre/calibre-5.44.0-r2.ebuild
+++ b/app-text/calibre/calibre-5.44.0-r2.ebuild
@@ -41,6 +41,8 @@ IUSE="ios +udisks"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
+# Qt slotted dependencies are used because the libheadless.so plugin links to
+# QT_*_PRIVATE_ABI. It only uses core/gui/dbus.
 COMMON_DEPEND="${PYTHON_DEPS}
>=app-text/hunspell-1.7:=
>=app-text/podofo-0.9.6_pre20171027:=
@@ -89,7 +91,7 @@ COMMON_DEPEND="${PYTHON_DEPS}
dev-qt/qtcore:5=
dev-qt/qtdbus:5=
dev-qt/qtgui:5=[jpeg]
-   dev-qt/qtwidgets:5=
+   dev-qt/qtwidgets:5
dev-util/desktop-file-utils
dev-util/gtk-update-icon-cache
media-fonts/liberation-fonts



[gentoo-commits] repo/gentoo:master commit in: app-text/calibre/

2023-10-17 Thread Zac Medico
commit: 7c8bb408407c588087275eb3111be1dfd7aae916
Author: Eli Schwartz  gmail  com>
AuthorDate: Tue Oct  3 01:38:41 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Oct 18 04:26:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c8bb408

app-text/calibre: fix incorrect poppler dependency

Since 2012, calibre has stopped building a compiled binding for poppler,
and started using the command-line utils via subprocesses. Make sure
those are installed.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 app-text/calibre/calibre-5.44.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/calibre/calibre-5.44.0-r2.ebuild 
b/app-text/calibre/calibre-5.44.0-r2.ebuild
index 0437387bea1e..1688bc6f62df 100644
--- a/app-text/calibre/calibre-5.44.0-r2.ebuild
+++ b/app-text/calibre/calibre-5.44.0-r2.ebuild
@@ -47,7 +47,7 @@ COMMON_DEPEND="${PYTHON_DEPS}
>=app-text/hunspell-1.7:=
>=app-text/podofo-0.9.6_pre20171027:=
=app-text/poppler-0.26.5[qt5]
+   app-text/poppler[utils]
dev-libs/glib:2=
dev-libs/hyphen:=
>=dev-libs/icu-57.1:=



[gentoo-commits] repo/gentoo:master commit in: app-text/calibre/, app-text/calibre/files/

2023-10-17 Thread Zac Medico
commit: fe2498a0303f60e2e73a0f060ed69ee4dd7e65ca
Author: Eli Schwartz  gmail  com>
AuthorDate: Mon Oct  2 23:45:55 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Oct 18 04:26:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe2498a0

app-text/calibre: fix compatibility with recent zeroconf

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 app-text/calibre/calibre-5.44.0-r2.ebuild  |  3 +++
 ...44.0-Fix-compatibility-with-zeroconf-0.73.patch | 26 ++
 2 files changed, 29 insertions(+)

diff --git a/app-text/calibre/calibre-5.44.0-r2.ebuild 
b/app-text/calibre/calibre-5.44.0-r2.ebuild
index 8e1e182eb588..0437387bea1e 100644
--- a/app-text/calibre/calibre-5.44.0-r2.ebuild
+++ b/app-text/calibre/calibre-5.44.0-r2.ebuild
@@ -135,6 +135,9 @@ PATCHES=(
# We don't (yet?) package libjxr and it seems to be dead upstream
# (last commit in 2017)
"${FILESDIR}/${PN}-5.35.0-jxr-test.patch"
+
+   # fix compatibility with recent versions of zeroconf
+   "${FILESDIR}"/${PN}-5.44.0-Fix-compatibility-with-zeroconf-0.73.patch
 )
 
 src_prepare() {

diff --git 
a/app-text/calibre/files/calibre-5.44.0-Fix-compatibility-with-zeroconf-0.73.patch
 
b/app-text/calibre/files/calibre-5.44.0-Fix-compatibility-with-zeroconf-0.73.patch
new file mode 100644
index ..79af5d94bb59
--- /dev/null
+++ 
b/app-text/calibre/files/calibre-5.44.0-Fix-compatibility-with-zeroconf-0.73.patch
@@ -0,0 +1,26 @@
+From 5d8d85c649b181747d182f676cfd76f843bd61f0 Mon Sep 17 00:00:00 2001
+From: Kovid Goyal 
+Date: Sun, 1 Oct 2023 15:08:59 +0530
+Subject: [PATCH] Fix compatibility with zeroconf >= 0.73
+
+Fixes #2038 (fix compatibility with newer zeroconf)
+---
+ src/calibre/devices/smart_device_app/driver.py | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/calibre/devices/smart_device_app/driver.py 
b/src/calibre/devices/smart_device_app/driver.py
+index 87608f305b..b41c3a0063 100644
+--- a/src/calibre/devices/smart_device_app/driver.py
 b/src/calibre/devices/smart_device_app/driver.py
+@@ -2175,6 +2175,8 @@ def monkeypatch_zeroconf():
+ # "monkeypatch" zeroconf with a function without the check
+ try:
+ from zeroconf._utils.name import service_type_name
++# zeroconf 0.73 uses an lru cache so we need __wrapped__
++service_type_name = getattr(service_type_name, '__wrapped__', 
service_type_name)
+ service_type_name.__kwdefaults__['strict'] = False
+ except ImportError:
+ import zeroconf
+-- 
+2.41.0
+



[gentoo-commits] repo/gentoo:master commit in: app-text/calibre/

2023-10-17 Thread Zac Medico
commit: 95002b25c43cba964dfe2c11bf7ae2e876aadd9d
Author: Eli Schwartz  gmail  com>
AuthorDate: Mon Oct  2 23:42:49 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Oct 18 04:26:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95002b25

app-text/calibre: prune unneeded runtime contents

A build-time compiler is installed. Getting rid of it is -124 KB which
isn't much but also is pure win.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 app-text/calibre/calibre-5.44.0-r2.ebuild | 14 ++
 1 file changed, 14 insertions(+)

diff --git a/app-text/calibre/calibre-5.44.0-r2.ebuild 
b/app-text/calibre/calibre-5.44.0-r2.ebuild
index 46dfe4477827..8e1e182eb588 100644
--- a/app-text/calibre/calibre-5.44.0-r2.ebuild
+++ b/app-text/calibre/calibre-5.44.0-r2.ebuild
@@ -161,6 +161,20 @@ src_prepare() {
 '-i', os.path.join(os.path.basename(src_dir), 'Makefile')])" \
-e "s|open(self.j(bdir, '.qmake.conf'), 
'wb').close()|open(self.j(bdir, '.qmake.conf'), 'wb').write(b'QMAKE_LFLAGS += 
${LDFLAGS}')|" \
-i setup/build.py || die "sed failed to patch build.py"
+
+   # This is only ever used at build time. It contains a small embedded 
copy
+   # of the rapydscript-ng compiler usable inside of qtwebengine, if you 
don't
+   # have rapydscript-ng (a nodejs package) itself installed. Its only 
purpose
+   # is to build some resources that come bundled in dist tarballs 
already...
+   # and which we may also need to regenerate e.g. to use system-mathjax.
+   #
+   # However, running qtwebengine violates the portage sandbox (among other
+   # things, it tries to create directories in /usr! amazing) so this is a
+   # wash anyway. The only real solution here is to package rapydscript-ng.
+   #
+   # We do not need it at build time, and *no one* needs it at install 
time.
+   # Delete the cruft.
+   rm -r resources/rapydscript/ || die
 }
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: app-text/calibre/

2023-10-17 Thread Zac Medico
commit: 77abd098fe5e430fbc564692326f322f0e89c3a6
Author: Eli Schwartz  gmail  com>
AuthorDate: Mon Oct  2 07:59:06 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Oct 18 04:26:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77abd098

app-text/calibre: remove no longer accurate consulting advice

The distribution packaging described here is no longer maintained by
said Calibre contributor, and there has been a corresponding decrease in
quality. I cannot in good faith advise taking inspiration from recent
changes there.

If advice is needed by a Calibre contributor, I can simply provide any
relevant advice directly to the Gentoo Project.

Alternatively, the Fedora packaging continues to be rather decent.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 app-text/calibre/calibre-5.44.0-r2.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/app-text/calibre/calibre-5.44.0-r2.ebuild 
b/app-text/calibre/calibre-5.44.0-r2.ebuild
index eaf6721e4e46..833cd49b4dc6 100644
--- a/app-text/calibre/calibre-5.44.0-r2.ebuild
+++ b/app-text/calibre/calibre-5.44.0-r2.ebuild
@@ -154,9 +154,7 @@ src_prepare() {
# creating a patch instead, but in any case, run the test suite
# and ensure it passes.
#
-   # If in doubt about a problem, checking Fedora or Arch Linux's packaging
-   # is recommended, as Arch Linux's PKGBUILD is maintained by a Calibre
-   # contributor. Or just ask them.
+   # If in doubt about a problem, checking Fedora's packaging is 
recommended.
 
# Fix outdated version constant.
#sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \



[gentoo-commits] repo/gentoo:master commit in: app-text/calibre/

2023-10-17 Thread Zac Medico
commit: 998c272e6cc677acc50d5c3a89a7b97aafcf5039
Author: Eli Schwartz  gmail  com>
AuthorDate: Mon Oct  2 07:46:36 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Oct 18 04:26:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=998c272e

app-text/calibre: clean up install invocation a bit

There's a bit of indirection here that isn't strictly needed:
- get_libdir is guaranteed to never fail
- PYTHONPATH is not necessary, setup.py internally handles this
- the --staging-root and --root options are aliases, and the last one
  wins; simply pass it once

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 app-text/calibre/calibre-5.44.0-r2.ebuild | 13 -
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/app-text/calibre/calibre-5.44.0-r2.ebuild 
b/app-text/calibre/calibre-5.44.0-r2.ebuild
index 8ff7f95c90aa..eaf6721e4e46 100644
--- a/app-text/calibre/calibre-5.44.0-r2.ebuild
+++ b/app-text/calibre/calibre-5.44.0-r2.ebuild
@@ -228,18 +228,13 @@ src_install() {
export CALIBRE_CONFIG_DIRECTORY="${HOME}/.config/calibre"
mkdir -p "${CALIBRE_CONFIG_DIRECTORY}" || die
 
-   local libdir=$(get_libdir)
-   [[ -n $libdir ]] || die "get_libdir returned an empty string"
-
addpredict /dev/dri #665310
 
-   PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
-   "${PYTHON}" setup.py install \
-   --root="${D}" \
-   --prefix="${EPREFIX}/usr" \
-   --libdir="${EPREFIX}/usr/${libdir}" \
+   "${PYTHON}" setup.py install \
--staging-root="${ED}/usr" \
-   --staging-libdir="${ED}/usr/${libdir}" || die
+   --prefix="${EPREFIX}/usr" \
+   --libdir="${EPREFIX}/usr/$(get_libdir)" \
+   --staging-libdir="${ED}/usr/$(get_libdir)" || die
 
find "${ED}"/usr/share -type d -empty -delete
 



[gentoo-commits] repo/gentoo:master commit in: app-text/calibre/

2023-10-17 Thread Zac Medico
commit: 25c6c42bad25b01571cbcfad087e4ad8080173f6
Author: Eli Schwartz  gmail  com>
AuthorDate: Mon Oct  2 05:46:38 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Oct 18 04:25:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25c6c42b

app-text/calibre: Use upstream buildsystem to integrate system fonts

The liberation fonts are removed and replaced with symlinks to the
system fonts. I've put quite a bit of work in upstream to make this work
in a supported manner; let's use that instead of fragile, unchecked
shell code.

In particular, upstream's buildsystem dies if the expected fonts do not
exist.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 app-text/calibre/calibre-5.44.0-r2.ebuild | 17 ++---
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/app-text/calibre/calibre-5.44.0-r2.ebuild 
b/app-text/calibre/calibre-5.44.0-r2.ebuild
index 598bb98f4356..67eb556626cd 100644
--- a/app-text/calibre/calibre-5.44.0-r2.ebuild
+++ b/app-text/calibre/calibre-5.44.0-r2.ebuild
@@ -186,6 +186,16 @@ src_compile() {
export QMAKE="$(qt5_get_bindir)/qmake"
 
${EPYTHON} setup.py build || die
+   ${EPYTHON} setup.py gui || die
+
+   # A few different resources are bundled in the distfile by default, 
because
+   # not all systems necessarily have them. We un-vendor them, using the
+   # upstream integrated approach if possible. See setup/revendor.py and
+   # consider migrating other resources to this if they do not use it, in
+   # *preference* over manual rm'ing.
+   ${EPYTHON} setup.py liberation_fonts \
+   --path-to-liberation_fonts 
"${EPREFIX}"/usr/share/fonts/liberation-fonts \
+   --system-liberation_fonts || die
 }
 
 src_test() {
@@ -233,13 +243,6 @@ src_install() {
 
find "${ED}"/usr/share -type d -empty -delete
 
-   cd "${ED}"/usr/share/calibre/fonts/liberation || die
-   local x
-   for x in * ; do
-   [[ -f ${EPREFIX}/usr/share/fonts/liberation-fonts/${x} ]] || 
continue
-   ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
-   done
-
einfo "Converting python shebangs"
python_fix_shebang --force "${ED}"
 



[gentoo-commits] repo/gentoo:master commit in: app-text/calibre/

2023-10-17 Thread Zac Medico
commit: 30f1d836f62c9d38b76f5067bb1ef1b9764d788a
Author: Eli Schwartz  gmail  com>
AuthorDate: Mon Oct  2 05:25:26 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Oct 18 04:25:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30f1d836

app-text/calibre: remove useless variables from the py3 testing period

Ever since calibre's python 3 port was completed, this variable was no
longer needed to unlock opting in to using python3. And thus, it is
neither checked nor used.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 app-text/calibre/calibre-5.44.0-r2.ebuild | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/app-text/calibre/calibre-5.44.0-r2.ebuild 
b/app-text/calibre/calibre-5.44.0-r2.ebuild
index 815415c38fea..35ad30fb7576 100644
--- a/app-text/calibre/calibre-5.44.0-r2.ebuild
+++ b/app-text/calibre/calibre-5.44.0-r2.ebuild
@@ -206,7 +206,7 @@ src_test() {
#
# Note that we currently have a hack to skip one part of test_qt!
# See PATCHES for more.
-   CALIBRE_PY3_PORT=1 ${PYTHON} setup.py test \
+   ${PYTHON} setup.py test \
--exclude-test-name 7z \
--exclude-test-name test_mem_leaks \
--exclude-test-name test_searching \
@@ -214,9 +214,6 @@ src_test() {
 }
 
 src_install() {
-   # calibre works with python 3, so remove the python 2 constraint
-   export CALIBRE_PY3_PORT=1
-
# Bypass kbuildsycoca and update-mime-database in order to
# avoid sandbox violations if xdg-mime tries to call them.
mkdir "${T}/bin" || die



[gentoo-commits] repo/gentoo:master commit in: app-text/calibre/

2023-10-17 Thread Zac Medico
commit: 080103195a8b542af4d54890797857b7008a1123
Author: Eli Schwartz  gmail  com>
AuthorDate: Mon Oct 16 02:29:27 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Oct 18 04:26:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08010319

app-text/calibre: misc cleanup

guard a command that cannot die with `|| die` for style reasons. Drop a
commented-out bit of code that is no longer relevant.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 app-text/calibre/calibre-5.44.0-r2.ebuild | 7 +--
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/app-text/calibre/calibre-5.44.0-r2.ebuild 
b/app-text/calibre/calibre-5.44.0-r2.ebuild
index b90a58692d78..8a63bfb638e5 100644
--- a/app-text/calibre/calibre-5.44.0-r2.ebuild
+++ b/app-text/calibre/calibre-5.44.0-r2.ebuild
@@ -156,11 +156,6 @@ src_prepare() {
#
# If in doubt about a problem, checking Fedora's packaging is 
recommended.
 
-   # Fix outdated version constant.
-   #sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \
-   #   -i src/calibre/constants.py || \
-   #   die "sed failed to patch constants.py"
-
# Disable unnecessary privilege dropping for bug #287067.
sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
-i setup/install.py || die "sed failed to patch install.py"
@@ -238,7 +233,7 @@ src_install() {
--libdir="${EPREFIX}/usr/$(get_libdir)" \
--staging-libdir="${ED}/usr/$(get_libdir)" || die
 
-   find "${ED}"/usr/share -type d -empty -delete
+   find "${ED}"/usr/share -type d -empty -delete || die
 
einfo "Converting python shebangs"
python_fix_shebang "${ED}/usr/bin"



[gentoo-commits] repo/gentoo:master commit in: app-text/calibre/

2023-10-17 Thread Zac Medico
commit: 09d6fc876a52edee389a3473f102970420ad72a2
Author: Eli Schwartz  gmail  com>
AuthorDate: Mon Oct  2 05:29:10 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Oct 18 04:25:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09d6fc87

app-text/calibre: remove outdated workarounds for xdg install steps

I do not know what kbuildsyscoca is, other than "does not exist
anymore"? So I am skeptical it is still relevant.

I do know that it is no longer necessary to fake out xdg-utils programs,
since I fixed this in 2019, as part of calibre 3.43.0; it now detects
when we are running a DESTDIR install and refrains from running:
- `xdg-desktop-menu forceupdate`
- `xdg-mime` at all (instead it uses shutil.copyfile to copy over one
  file)

and sets up the requisite $XDG_* variables to make the utils operate on
a staged installation directory.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 app-text/calibre/calibre-5.44.0-r2.ebuild | 36 +++
 1 file changed, 3 insertions(+), 33 deletions(-)

diff --git a/app-text/calibre/calibre-5.44.0-r2.ebuild 
b/app-text/calibre/calibre-5.44.0-r2.ebuild
index 35ad30fb7576..759f990001f0 100644
--- a/app-text/calibre/calibre-5.44.0-r2.ebuild
+++ b/app-text/calibre/calibre-5.44.0-r2.ebuild
@@ -163,18 +163,6 @@ src_prepare() {
#   -i src/calibre/constants.py || \
#   die "sed failed to patch constants.py"
 
-   # Avoid sandbox violation in /usr/share/gnome/apps when linux.py
-   # calls xdg-* (bug #258938).
-   sed -e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \
-   -e "s|check_call(\\['xdg-desktop-menu', 
'forceupdate'\\])|#\\0|" \
-   -e "s|\\(CurrentDir(tdir)\\), \$|\\1:|" \
-   -e "s|, PreserveMIMEDefaults():|:|" \
-   -e "s|'xdg-icon-resource', 'install'|\\0, '--mode', 'user'|" \
-   -e "s|cmd\[2\]|cmd[4]|" \
-   -e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
-   -e "s|'xdg-mime', 'install'|\\0, '--mode', 'user'|" \
-   -i src/calibre/linux.py || die "sed failed to patch linux.py"
-
# Disable unnecessary privilege dropping for bug #287067.
sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
-i setup/install.py || die "sed failed to patch install.py"
@@ -214,24 +202,8 @@ src_test() {
 }
 
 src_install() {
-   # Bypass kbuildsycoca and update-mime-database in order to
-   # avoid sandbox violations if xdg-mime tries to call them.
-   mkdir "${T}/bin" || die
-   cat - > "${T}/bin/kbuildsycoca" <<-EOF
-   #!${BASH}
-   echo $0 : $@
-   exit 0
-   EOF
-
-   cp "${T}"/bin/{kbuildsycoca,update-mime-database} || die
-   chmod +x "${T}"/bin/{kbuildsycoca,update-mime-database} || die
-
export QMAKE="$(qt5_get_bindir)/qmake"
 
-   # Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
-   # violation with kbuildsycoca as in bug #287067, comment #13.
-   export -n DISPLAY
-
# Bug #352625 - Some LANGUAGE values can trigger the following 
ValueError:
#   File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
#return _parse_localename(localename)
@@ -244,10 +216,8 @@ src_install() {
# Bug #295672 - Avoid sandbox violation in ~/.config by forcing
# variables to point to our fake temporary $HOME.
export HOME="${T}/fake_homedir"
-   export XDG_CONFIG_HOME="${HOME}/.config"
-   export XDG_DATA_HOME="${HOME}/.local/share"
-   export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre"
-   mkdir -p "${XDG_DATA_HOME}" "${CALIBRE_CONFIG_DIRECTORY}" || die
+   export CALIBRE_CONFIG_DIRECTORY="${HOME}/.config/calibre"
+   mkdir -p "${CALIBRE_CONFIG_DIRECTORY}" || die
 
tc-export CC CXX
# Bug #334243 - respect LDFLAGS when building extensions
@@ -257,7 +227,7 @@ src_install() {
 
addpredict /dev/dri #665310
 
-   PATH=${T}/bin:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
+   PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
"${PYTHON}" setup.py install \
--root="${D}" \
--prefix="${EPREFIX}/usr" \



[gentoo-commits] repo/gentoo:master commit in: app-text/calibre/

2023-10-17 Thread Zac Medico
commit: 0c7dd1f7d5dbf2e129b50b870a6f208a724cbaaf
Author: Eli Schwartz  gmail  com>
AuthorDate: Mon Oct  2 05:35:50 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Oct 18 04:25:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c7dd1f7

app-text/calibre: avoid setting useless variables at install time

The install process does not rerun compiles, so setting variables there
is useless and does nothing. They didn't have any effect on src_compile
all this time, which means that whatever they tried to fix clearly was
not an issue. ;)

That being said, there are two things going on here:
- OVERRIDE_CFLAGS is used by the calibre build system in addition to
  CFLAGS, so it is not actually necessary to override it, and using
  both, means using -Wall and suchlike so respecting it seems reasonable
- the calibre build system respects either $PATH or $QMAKE to find the
  qmake program. Instead of using the former method in src_compile and
  the latter method in src_install, just use the latter method in
  src_compile and avoid munging $PATH.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 app-text/calibre/calibre-5.44.0-r2.ebuild | 8 ++--
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/app-text/calibre/calibre-5.44.0-r2.ebuild 
b/app-text/calibre/calibre-5.44.0-r2.ebuild
index 759f990001f0..598bb98f4356 100644
--- a/app-text/calibre/calibre-5.44.0-r2.ebuild
+++ b/app-text/calibre/calibre-5.44.0-r2.ebuild
@@ -183,8 +183,9 @@ src_compile() {
# bug 821871
local MY_LIBDIR="${ESYSROOT}/usr/$(get_libdir)"
export FT_LIB_DIR="${MY_LIBDIR}" HUNSPELL_LIB_DIR="${MY_LIBDIR}" 
PODOFO_LIB_DIR="${MY_LIBDIR}"
+   export QMAKE="$(qt5_get_bindir)/qmake"
 
-   PATH="${T}/bin:$(qt5_get_bindir):${PATH}" ${EPYTHON} setup.py build || 
die
+   ${EPYTHON} setup.py build || die
 }
 
 src_test() {
@@ -202,8 +203,6 @@ src_test() {
 }
 
 src_install() {
-   export QMAKE="$(qt5_get_bindir)/qmake"
-
# Bug #352625 - Some LANGUAGE values can trigger the following 
ValueError:
#   File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
#return _parse_localename(localename)
@@ -219,9 +218,6 @@ src_install() {
export CALIBRE_CONFIG_DIRECTORY="${HOME}/.config/calibre"
mkdir -p "${CALIBRE_CONFIG_DIRECTORY}" || die
 
-   tc-export CC CXX
-   # Bug #334243 - respect LDFLAGS when building extensions
-   export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS"
local libdir=$(get_libdir)
[[ -n $libdir ]] || die "get_libdir returned an empty string"
 



[gentoo-commits] repo/gentoo:master commit in: app-emulation/virtualbox/

2023-10-17 Thread Viorel Munteanu
commit: 5f6c2024bba58057363cf89e265a0e9b09737d41
Author: Viorel Munteanu  gentoo  org>
AuthorDate: Wed Oct 18 03:39:39 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Wed Oct 18 04:07:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f6c2024

app-emulation/virtualbox: add 7.0.12

Closes: https://bugs.gentoo.org/908814
Signed-off-by: Viorel Munteanu  gentoo.org>

 app-emulation/virtualbox/Manifest |   2 +
 app-emulation/virtualbox/virtualbox-7.0.12.ebuild | 758 ++
 2 files changed, 760 insertions(+)

diff --git a/app-emulation/virtualbox/Manifest 
b/app-emulation/virtualbox/Manifest
index 7eb92a4a1f28..0f0f26c43f91 100644
--- a/app-emulation/virtualbox/Manifest
+++ b/app-emulation/virtualbox/Manifest
@@ -1,7 +1,9 @@
 DIST VirtualBox-6.1.46.tar.bz2 166045588 BLAKE2B 
041fad30d7cbe524cfd5c865b225c00df7715a6648ed0d8f7ee3ca4be0d0dabcb324c676ba2ea78288cde89ed8e5412fae75e31bb49f623de2acddb8f10d6ee1
 SHA512 
695ca4d41ff10d0581e4cffe4a0ec80e0fe380f4c7d5d51ee4d21aeb61646c26edd60301e541894e71c3323e2d7207e23299938c18ee45631afd1e0851946e77
 DIST VirtualBox-6.1.48.tar.bz2 165960987 BLAKE2B 
c981e390ae518b829970827f6032fb19a93685fb58835a9d489c6e14cc60a5c14c65b0a3da5adae7818e73e1b0e558e8fa803160cb67847f18565bb78d656e97
 SHA512 
fff759f3871e4e8962536002f2bc13e5150a927e280493f5cb0abf06466ce66e45f4c6ef43489b5b3ed8682d8a3ac0eb6fb3dd7c4144924c81612553ec71a95f
 DIST VirtualBox-7.0.10.tar.bz2 175450841 BLAKE2B 
49eaa14f716f021f1ecec1ad48a2aa8a3a758cbd9b03cf30d65ddcf5aba11842b0ea8bc2c4d477084a4cea318dc302a4ed426ec9f675a1fe675c5f18c48796c7
 SHA512 
2870d39385f66557281edf1368db68cd69d6a9bebc30d52511929462d0ac210cec49dd8531a280c6facff22ba6e4808477fbf3d09abf998d863a007fc7f2c3bd
+DIST VirtualBox-7.0.12.tar.bz2 175644088 BLAKE2B 
507cbf7b1a8a807bd2602e74bc19a59cb177b9b2bdefa1be582e520666360a42510ca501f20c354746a0f1dadf61fe29135e3edc867e611bfe60a9405cb2bbce
 SHA512 
9fe4511442eba788d02f932f5e98cfcc5aa4ebed41c00bd7333cf7e3f5de787e458f1f56930978283f041f403652c803143335fe9120ab63a2c113ca7b3f588f
 DIST virtualbox-help-7.0.10.tar.xz 3941196 BLAKE2B 
fa6667e0cf12e2e05b896a7d9d7e1f78d43bb4618f35b3c81f5ccf5f227d1181b0c8fb1f6dc02a8619550b193a73d4094c5d3f0d43514392f9ed563085068789
 SHA512 
fab2dff812a438f3e78dbace24741d91b317bbbc7362f082a18f3871e3c6fd8af7744cf1b3fd3b82cf5135e03d521de05a7a5bc98ec19aacfa1b4e5392e60f30
+DIST virtualbox-help-7.0.12.tar.xz 3945920 BLAKE2B 
7f2201f3baf6d27d95dc9f878426e34a27c9f9e113d55348f57703b1bd4878df8c6f02492412b779896c48224fb2df224c953b425dde9c99d2b4dbfda1d80d4f
 SHA512 
ddf429a984fe433c4bcbdf87930b3cc16075d4f4725d2e571e9bf05d820d26eb6f88dd6f2bd3992927b261377c84ac4e35a929113b3294e3b2887760fe7a0b52
 DIST virtualbox-patches-6.1.36.tar.bz2 2733 BLAKE2B 
dcfebfeca4873d382441515d48b4dfee9343bc7c83ea3cbb5002dbf7975143a79fae9a701b67dc35505e9ca03ff1b6293cb7c3279c4fdfda8ad21ba5fb9b7e87
 SHA512 
1bed5cdefbf8e7c4b0d9092ba4961ecf2262f27f35c71a91ef6f2e8fe8a1d92ed74f06bafbf58d70ba7165d933997f58073f4d4f4051e3ba5c0339b729066f57
 DIST virtualbox-patches-7.0.10_pre20230615.tar.bz2 2253 BLAKE2B 
27b422acc2ae85c4324d6f4471db80c9f680b1c4a00223c38b9e3fb31709b05163a1bd53408cffeabdef295e856aa8b01b86e0fecf5d80ace376ea1bd4fc9504
 SHA512 
c2177f46048f09b6be9ac2c35b43d74f67350b052411cc64adf6c0b3d284055eef79f960f1384a3aaeee7d25f8c19ea8f936ee2623a2251d1d28f85ed3469c22
 DIST virtualbox-patches-7.0.8.tar.bz2 2733 BLAKE2B 
044dfe02a5bd5e757091318b394b0e5918677b5bbce9caef4a18d4d8df54821559f0df6ffbdd6f52d4934bc4018e9c9d908571c5d3d8804fd3b0f22a7a1aed84
 SHA512 
93a06aa3f9508d3a8743ca8494a958159b5bc3fd7a0a08ff23414d05c4f31084cf0f1c82a3866e222c83e6996ba004546f0bd33c6eb9a90eec8e548b8b3f2fbf

diff --git a/app-emulation/virtualbox/virtualbox-7.0.12.ebuild 
b/app-emulation/virtualbox/virtualbox-7.0.12.ebuild
new file mode 100644
index ..7e6498bde1f8
--- /dev/null
+++ b/app-emulation/virtualbox/virtualbox-7.0.12.ebuild
@@ -0,0 +1,758 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# To add a new Python here:
+# 1. Patch src/libs/xpcom18a4/python/Makefile.kmk (copy the previous impl's 
logic)
+#Do NOT skip this part. It'll end up silently not-building the Python 
extension
+#or otherwise misbehaving if you do.
+#
+# 2. Then update PYTHON_COMPAT & set PYTHON_SINGLE_TARGET for testing w/ 
USE=python.
+#
+#  May need to look at other distros (e.g. Arch Linux) to find patches for 
newer
+#  Python versions as upstream tends to lag. Upstream may have patches on their
+#  trunk branch but not release branch.
+#
+#  See bug #785835, bug #856121.
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit desktop edo flag-o-matic java-pkg-opt-2 linux-info multilib optfeature 
pax-utils \
+   python-single-r1 tmpfiles toolchain-funcs udev xdg
+
+MY_PN="VirtualBox"
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Family of powerful x86 virtualization products for enterprise and 
home use"

[gentoo-commits] repo/gentoo:master commit in: app-emulation/virtualbox-guest-additions/

2023-10-17 Thread Viorel Munteanu
commit: ac002340e6742e329bbc90ecc757d4c7de2c5771
Author: Viorel Munteanu  gentoo  org>
AuthorDate: Tue Oct 17 18:17:25 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Wed Oct 18 04:07:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac002340

app-emulation/virtualbox-guest-additions: add 7.0.12

Signed-off-by: Viorel Munteanu  gentoo.org>

 app-emulation/virtualbox-guest-additions/Manifest  |   1 +
 .../virtualbox-guest-additions-7.0.12.ebuild   | 294 +
 2 files changed, 295 insertions(+)

diff --git a/app-emulation/virtualbox-guest-additions/Manifest 
b/app-emulation/virtualbox-guest-additions/Manifest
index 56ab108967a7..55464c9a25a9 100644
--- a/app-emulation/virtualbox-guest-additions/Manifest
+++ b/app-emulation/virtualbox-guest-additions/Manifest
@@ -1,5 +1,6 @@
 DIST VirtualBox-6.1.46.tar.bz2 166045588 BLAKE2B 
041fad30d7cbe524cfd5c865b225c00df7715a6648ed0d8f7ee3ca4be0d0dabcb324c676ba2ea78288cde89ed8e5412fae75e31bb49f623de2acddb8f10d6ee1
 SHA512 
695ca4d41ff10d0581e4cffe4a0ec80e0fe380f4c7d5d51ee4d21aeb61646c26edd60301e541894e71c3323e2d7207e23299938c18ee45631afd1e0851946e77
 DIST VirtualBox-6.1.48.tar.bz2 165960987 BLAKE2B 
c981e390ae518b829970827f6032fb19a93685fb58835a9d489c6e14cc60a5c14c65b0a3da5adae7818e73e1b0e558e8fa803160cb67847f18565bb78d656e97
 SHA512 
fff759f3871e4e8962536002f2bc13e5150a927e280493f5cb0abf06466ce66e45f4c6ef43489b5b3ed8682d8a3ac0eb6fb3dd7c4144924c81612553ec71a95f
 DIST VirtualBox-7.0.10.tar.bz2 175450841 BLAKE2B 
49eaa14f716f021f1ecec1ad48a2aa8a3a758cbd9b03cf30d65ddcf5aba11842b0ea8bc2c4d477084a4cea318dc302a4ed426ec9f675a1fe675c5f18c48796c7
 SHA512 
2870d39385f66557281edf1368db68cd69d6a9bebc30d52511929462d0ac210cec49dd8531a280c6facff22ba6e4808477fbf3d09abf998d863a007fc7f2c3bd
+DIST VirtualBox-7.0.12.tar.bz2 175644088 BLAKE2B 
507cbf7b1a8a807bd2602e74bc19a59cb177b9b2bdefa1be582e520666360a42510ca501f20c354746a0f1dadf61fe29135e3edc867e611bfe60a9405cb2bbce
 SHA512 
9fe4511442eba788d02f932f5e98cfcc5aa4ebed41c00bd7333cf7e3f5de787e458f1f56930978283f041f403652c803143335fe9120ab63a2c113ca7b3f588f
 DIST virtualbox-patches-6.1.36.tar.bz2 2733 BLAKE2B 
dcfebfeca4873d382441515d48b4dfee9343bc7c83ea3cbb5002dbf7975143a79fae9a701b67dc35505e9ca03ff1b6293cb7c3279c4fdfda8ad21ba5fb9b7e87
 SHA512 
1bed5cdefbf8e7c4b0d9092ba4961ecf2262f27f35c71a91ef6f2e8fe8a1d92ed74f06bafbf58d70ba7165d933997f58073f4d4f4051e3ba5c0339b729066f57
 DIST virtualbox-patches-7.0.8.tar.bz2 2733 BLAKE2B 
044dfe02a5bd5e757091318b394b0e5918677b5bbce9caef4a18d4d8df54821559f0df6ffbdd6f52d4934bc4018e9c9d908571c5d3d8804fd3b0f22a7a1aed84
 SHA512 
93a06aa3f9508d3a8743ca8494a958159b5bc3fd7a0a08ff23414d05c4f31084cf0f1c82a3866e222c83e6996ba004546f0bd33c6eb9a90eec8e548b8b3f2fbf

diff --git 
a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-7.0.12.ebuild
 
b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-7.0.12.ebuild
new file mode 100644
index ..877db42ca620
--- /dev/null
+++ 
b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-7.0.12.ebuild
@@ -0,0 +1,294 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit edo linux-mod-r1 systemd toolchain-funcs udev
+
+MY_PN="VirtualBox"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="VirtualBox kernel modules and user-space tools for Gentoo guests"
+HOMEPAGE="https://www.virtualbox.org/;
+SRC_URI="https://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2
+   
https://gitweb.gentoo.org/proj/virtualbox-patches.git/snapshot/virtualbox-patches-7.0.8.tar.bz2;
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+# Reminder: see the LICENSE related comment in 
app-emulation/virtualbox-additions ebuild
+LICENSE="GPL-3 LGPL-2.1+ MIT || ( GPL-3 CDDL )"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~x86"
+IUSE="+dbus gui"
+
+# automount Error: VBoxServiceAutoMountWorker: Group "vboxsf" does not exist
+# TODO: find out what this is, remove comment if obsolete
+
+RDEPEND="
+   acct-group/vboxguest
+   acct-group/vboxsf
+   acct-user/vboxguest
+   sys-libs/pam
+   sys-libs/zlib
+   dbus? ( sys-apps/dbus )
+   gui? (
+   x11-apps/xrandr
+   x11-apps/xrefresh
+   x11-libs/libX11
+   x11-libs/libXext
+   x11-libs/libXmu
+   x11-libs/libXt
+   )
+"
+# some libs here are indirect dependencies, and also needed at compile time.
+# keeping them in DEPEND to avoid warnings from qa-vdb.
+DEPEND="
+   ${RDEPEND}
+   gui? (
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libXau
+   x11-libs/libXdmcp
+   x11-base/xorg-proto
+   )
+"
+BDEPEND="
+   >=dev-lang/yasm-0.6.2
+   >=dev-util/kbuild-0.1.9998.3127
+   sys-devel/bin86
+   sys-power/iasl
+"
+PDEPEND="
+   gui? ( x11-drivers/xf86-video-vboxvideo )
+"
+
+PATCHES=(
+   

[gentoo-commits] repo/gentoo:master commit in: app-emulation/virtualbox-additions/

2023-10-17 Thread Viorel Munteanu
commit: 8c73117c65ba609dd24c21a72afb2b8c041e6408
Author: Viorel Munteanu  gentoo  org>
AuthorDate: Tue Oct 17 17:25:10 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Wed Oct 18 04:07:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c73117c

app-emulation/virtualbox-additions: add 7.0.12

Signed-off-by: Viorel Munteanu  gentoo.org>

 app-emulation/virtualbox-additions/Manifest|  1 +
 .../virtualbox-additions-7.0.12.ebuild | 25 ++
 2 files changed, 26 insertions(+)

diff --git a/app-emulation/virtualbox-additions/Manifest 
b/app-emulation/virtualbox-additions/Manifest
index 656770d33ede..1d5529c82c97 100644
--- a/app-emulation/virtualbox-additions/Manifest
+++ b/app-emulation/virtualbox-additions/Manifest
@@ -1,3 +1,4 @@
 DIST VBoxGuestAdditions_6.1.46.iso 64032768 BLAKE2B 
cc0181861802822e3887cd821edc687db081993e01e24ac0139ffd29b76aaabf3be20c9394e0ee02748359a7127ed5522418c2c5523ba77c3a8c483aad596c00
 SHA512 
e31e9cad72132d0f683b8135b5e91bcd42e6cb532fc9e0e9a463347c29053799f51b9d0730a9de4096557010c6ca341715e72515811b87d0df41343510cad55e
 DIST VBoxGuestAdditions_6.1.48.iso 63969280 BLAKE2B 
7bba272d427a6a91cd4d63c5d494e50d9984badac47c75f5323b1b2ad25a4fbf7cf28a1eba30988288d6e308b8d62ab5043c445a651b8b767667a267d5dee1e9
 SHA512 
19b98be42d7c0148ada0342fbbe6e1803fa127aca14662b560624d2c582656af68b01152a9c8b14d238c493d171694e088091b924598cebbf1f8d2c7a949d0c3
 DIST VBoxGuestAdditions_7.0.10.iso 53497856 BLAKE2B 
8577cd44c4564f205e65d955f3cca33084215c4e2b777d944cb14240a47b6a6196cd9e40acbfbec9e915bda55f676627c1819ca2c881f8d0945c334df4e1d242
 SHA512 
5148823cc3bfd5145bff4ecfb6e0f3f068e0e3a9f1021161122b89dd01197e64345a73efdda6259134a35cbb0b6cd8361f235c2c996ef6a4dbf03d452b3ae9db
+DIST VBoxGuestAdditions_7.0.12.iso 53448704 BLAKE2B 
1b738c648c902c1a98d83dc9525c7e091cd2234aa67f464a4beb3d6bd9bbb6893fe02eee4a37a05eae8e880efc6c834931a7ec7f08ae7b1615b1a622117767a2
 SHA512 
7f5db8f73bc2c89ad798fd2ec3543c460aa3fd3e44f02c04c334539172699af08c16312d96b6fdd5c561bc3d8133fc7a3662e51a86f82980d692f050286e0e7e

diff --git 
a/app-emulation/virtualbox-additions/virtualbox-additions-7.0.12.ebuild 
b/app-emulation/virtualbox-additions/virtualbox-additions-7.0.12.ebuild
new file mode 100644
index ..65d20c161bc1
--- /dev/null
+++ b/app-emulation/virtualbox-additions/virtualbox-additions-7.0.12.ebuild
@@ -0,0 +1,25 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN=VBoxGuestAdditions
+MY_P=${MY_PN}_${PV}
+
+DESCRIPTION="CD image containing guest additions for VirtualBox"
+HOMEPAGE="https://www.virtualbox.org/;
+SRC_URI="https://download.virtualbox.org/virtualbox/${PV}/${MY_P}.iso;
+S="${WORKDIR}"
+
+LICENSE="GPL-3 || ( GPL-3 CDDL )"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64"
+
+src_unpack() {
+   return 0
+}
+
+src_install() {
+   insinto /usr/share/${PN/-additions}
+   newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/virtualbox-modules/

2023-10-17 Thread Viorel Munteanu
commit: 45d6e5e28f21b8f5ac0988b7b72f091bddef959c
Author: Viorel Munteanu  gentoo  org>
AuthorDate: Tue Oct 17 17:21:43 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Wed Oct 18 04:07:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45d6e5e2

app-emulation/virtualbox-modules: add 6.1.48

Signed-off-by: Viorel Munteanu  gentoo.org>

 app-emulation/virtualbox-modules/Manifest  |  1 +
 .../virtualbox-modules-6.1.48.ebuild   | 34 ++
 2 files changed, 35 insertions(+)

diff --git a/app-emulation/virtualbox-modules/Manifest 
b/app-emulation/virtualbox-modules/Manifest
index 601a6055290c..53898e9bc719 100644
--- a/app-emulation/virtualbox-modules/Manifest
+++ b/app-emulation/virtualbox-modules/Manifest
@@ -1,2 +1,3 @@
 DIST vbox-kernel-module-src-6.1.46.tar.xz 680036 BLAKE2B 
46963957424fab934152ff945a3f1c0da9ca395f6ce7834e249805d155e2d41ec94b9feaed5c214d90fab547509ca48282fa7603b7f9434e7a5d596ea75177f9
 SHA512 
b60cf42e8213cb4c7f68090d118a477b4535cca7011f495b8ed3a254070dd8912853bb6c647cb4c86448e241005ad2467888d4731aee994c1ac80d2f38e153b3
+DIST vbox-kernel-module-src-6.1.48.tar.xz 680552 BLAKE2B 
243cd013a7e027634b7f6338056708cbbfb4ccf46b569c21e60b0e2450dd1ad1395c6881eb235f2cab68a65c0911322604e732fdde06eb389f83171f38ded5ae
 SHA512 
e26e8e4dce70d0dd07a336a6681d49e0fd5991ed92997139311cefa9cb55d03066c6400d4bdb9dbf54fba683192cfc5a63a98076525f3b3066269dc8fc498598
 DIST vbox-kernel-module-src-7.0.10.tar.xz 717508 BLAKE2B 
7e4517eb39a7927a9b4343ab3cf3700c28fd1b2271311a980b4e257029dd228fd541a940b9f0a3b8190161d1b020e76f1a6d89752016620116fc175e45fb038b
 SHA512 
0c7c3bac13a42cca4c6b30c4bbea86511ebbb296c5f941a3fb6cb190cbc60303f80ec93e3e18f03f85a6de1f02c3db102f6bd80f793610a38645b03112fc5ce7

diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-6.1.48.ebuild 
b/app-emulation/virtualbox-modules/virtualbox-modules-6.1.48.ebuild
new file mode 100644
index ..00acad894a77
--- /dev/null
+++ b/app-emulation/virtualbox-modules/virtualbox-modules-6.1.48.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# XXX: the tarball here is just the kernel modules split out of the binary
+#  package that comes from VirtualBox-*.run
+# XXX: update: now it is split from virtualbox-*-Debian~bullseye_amd64.deb
+
+EAPI=8
+
+inherit linux-mod-r1
+
+MY_P="vbox-kernel-module-src-${PV}"
+DESCRIPTION="Kernel Modules for Virtualbox"
+HOMEPAGE="https://www.virtualbox.org/;
+SRC_URI="https://dev.gentoo.org/~ceamac/${CATEGORY}/${PN}/${MY_P}.tar.xz;
+S="${WORKDIR}"
+
+LICENSE="GPL-2"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64"
+
+CONFIG_CHECK="~!SPINLOCK JUMP_LABEL"
+
+src_compile() {
+   local modlist=( {vboxdrv,vboxnetflt,vboxnetadp}=misc )
+   local modargs=( KERN_DIR="${KV_OUT_DIR}" KERN_VER="${KV_FULL}" )
+   linux-mod-r1_src_compile
+}
+
+src_install() {
+   linux-mod-r1_src_install
+   insinto /usr/lib/modules-load.d/
+   newins "${FILESDIR}"/virtualbox.conf-r1 virtualbox.conf
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/virtualbox-extpack-oracle/

2023-10-17 Thread Viorel Munteanu
commit: 20f3c0bc8b575ae4b3f1089a02121c860a3f53d6
Author: Viorel Munteanu  gentoo  org>
AuthorDate: Tue Oct 17 17:30:50 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Wed Oct 18 04:07:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20f3c0bc

app-emulation/virtualbox-extpack-oracle: add 6.1.48

Signed-off-by: Viorel Munteanu  gentoo.org>

 app-emulation/virtualbox-extpack-oracle/Manifest   |  1 +
 .../virtualbox-extpack-oracle-6.1.48.ebuild| 28 ++
 2 files changed, 29 insertions(+)

diff --git a/app-emulation/virtualbox-extpack-oracle/Manifest 
b/app-emulation/virtualbox-extpack-oracle/Manifest
index 53f407afa25f..777caa4de85f 100644
--- a/app-emulation/virtualbox-extpack-oracle/Manifest
+++ b/app-emulation/virtualbox-extpack-oracle/Manifest
@@ -1,2 +1,3 @@
 DIST Oracle_VM_VirtualBox_Extension_Pack-6.1.46.tar.gz 11175297 BLAKE2B 
00c99036cb34579da811f0a2e3e46ac49b5588af3d8effa44132c496375c87c0778dc6650591a7e1bb11d3b3a459f775de94a8a06ae2bd42ce08385250db00d9
 SHA512 
9efdb746e5ef63872cde3adafb9e5c45c65183f59b7b2c2d3424588909c85ce3574e65c5bf1a2e0471028051e29ec010b4ed1968fcf4637d81d8f8d6547a24c7
+DIST Oracle_VM_VirtualBox_Extension_Pack-6.1.48.tar.gz 11166368 BLAKE2B 
5c1ced1742f44110490aee07e0323d418152b87c5c8c9dfbeffb05cc59fcc94bb88b8e932b59f5bd79e3d85b347525b939df2a60f52d46533bd2d877c1720439
 SHA512 
71ca826ac886fdb9389a09f6fc1b5b7e99e8bfda1fa64cecefebc60e3cd7c11f678bfe1fb853a7bd0de8ed2ffe00f5f9758a2b00e122bc678b71fa74ad366573
 DIST Oracle_VM_VirtualBox_Extension_Pack-7.0.10.tar.gz 18259331 BLAKE2B 
0afcd918243cd52e90278df63a8bb7aa1415a3662ad8bc2d49c19dd9a1cfe3ab9f810d8d66b4be2c1742361e000c547f9cdd88ad215b764a80991e0b7ea44c50
 SHA512 
fd5dc7577467d54d170c325be27dbb67eee16860e0b876bca1afa023c33a45c356cb77303b0c26fa7ca2057908b9acd7ebc41dbc68a0a9bc3253a797cc9ccb55

diff --git 
a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-6.1.48.ebuild
 
b/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-6.1.48.ebuild
new file mode 100644
index ..7043fd77ee54
--- /dev/null
+++ 
b/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-6.1.48.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PV="$(ver_cut 1-3)"
+MY_PN="Oracle_VM_VirtualBox_Extension_Pack"
+MY_P="${MY_PN}-${MY_PV}"
+
+DESCRIPTION="PUEL extensions for VirtualBox"
+HOMEPAGE="https://www.virtualbox.org/;
+SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.vbox-extpack
 -> ${MY_P}.tar.gz"
+S="${WORKDIR}"
+
+LICENSE="PUEL-11"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64"
+RESTRICT="bindist mirror strip"
+
+RDEPEND=">=app-emulation/virtualbox-${MY_PV}"
+
+QA_PREBUILT="usr/lib*/virtualbox/ExtensionPacks/${MY_PN}/*"
+
+src_install() {
+   insinto /usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN}
+   doins -r linux.${ARCH}
+   doins ExtPack* PXE-Intel.rom
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/virtualbox-modules/

2023-10-17 Thread Viorel Munteanu
commit: 10d0bb5b673863d15979bb3db0dd7f5df9951465
Author: Viorel Munteanu  gentoo  org>
AuthorDate: Tue Oct 17 17:22:26 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Wed Oct 18 04:07:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10d0bb5b

app-emulation/virtualbox-modules: add 7.0.12

Signed-off-by: Viorel Munteanu  gentoo.org>

 app-emulation/virtualbox-modules/Manifest  |  1 +
 .../virtualbox-modules-7.0.12.ebuild   | 34 ++
 2 files changed, 35 insertions(+)

diff --git a/app-emulation/virtualbox-modules/Manifest 
b/app-emulation/virtualbox-modules/Manifest
index 53898e9bc719..41950b400682 100644
--- a/app-emulation/virtualbox-modules/Manifest
+++ b/app-emulation/virtualbox-modules/Manifest
@@ -1,3 +1,4 @@
 DIST vbox-kernel-module-src-6.1.46.tar.xz 680036 BLAKE2B 
46963957424fab934152ff945a3f1c0da9ca395f6ce7834e249805d155e2d41ec94b9feaed5c214d90fab547509ca48282fa7603b7f9434e7a5d596ea75177f9
 SHA512 
b60cf42e8213cb4c7f68090d118a477b4535cca7011f495b8ed3a254070dd8912853bb6c647cb4c86448e241005ad2467888d4731aee994c1ac80d2f38e153b3
 DIST vbox-kernel-module-src-6.1.48.tar.xz 680552 BLAKE2B 
243cd013a7e027634b7f6338056708cbbfb4ccf46b569c21e60b0e2450dd1ad1395c6881eb235f2cab68a65c0911322604e732fdde06eb389f83171f38ded5ae
 SHA512 
e26e8e4dce70d0dd07a336a6681d49e0fd5991ed92997139311cefa9cb55d03066c6400d4bdb9dbf54fba683192cfc5a63a98076525f3b3066269dc8fc498598
 DIST vbox-kernel-module-src-7.0.10.tar.xz 717508 BLAKE2B 
7e4517eb39a7927a9b4343ab3cf3700c28fd1b2271311a980b4e257029dd228fd541a940b9f0a3b8190161d1b020e76f1a6d89752016620116fc175e45fb038b
 SHA512 
0c7c3bac13a42cca4c6b30c4bbea86511ebbb296c5f941a3fb6cb190cbc60303f80ec93e3e18f03f85a6de1f02c3db102f6bd80f793610a38645b03112fc5ce7
+DIST vbox-kernel-module-src-7.0.12.tar.xz 718284 BLAKE2B 
8b427f9764ad7cb216d3b8dcfa05e8b564a8b67cf3beb7ec048b2529a31580eb59eb0e41a887bb85503542cae18d873d91108a522fc0ba106d119a73ce629f34
 SHA512 
0b64ad2ddc6eaf56759e636aa6c8e5dba998e232ec42a7bf0cf92dc00e7a6c0ebb11e9d7500a8a407e0c92a162ebb71cdb15cbfd4f570c1860641a7fdba21bd0

diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-7.0.12.ebuild 
b/app-emulation/virtualbox-modules/virtualbox-modules-7.0.12.ebuild
new file mode 100644
index ..d0c1bf4e4df5
--- /dev/null
+++ b/app-emulation/virtualbox-modules/virtualbox-modules-7.0.12.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# XXX: the tarball here is just the kernel modules split out of the binary
+#  package that comes from VirtualBox-*.run
+# XXX: update: now it is split from virtualbox-*-Debian~bullseye_amd64.deb
+
+EAPI=8
+
+inherit linux-mod-r1
+
+MY_P="vbox-kernel-module-src-${PV}"
+DESCRIPTION="Kernel Modules for Virtualbox"
+HOMEPAGE="https://www.virtualbox.org/;
+SRC_URI="https://dev.gentoo.org/~ceamac/${CATEGORY}/${PN}/${MY_P}.tar.xz;
+S="${WORKDIR}"
+
+LICENSE="GPL-3"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64"
+
+CONFIG_CHECK="~!SPINLOCK JUMP_LABEL"
+
+src_compile() {
+   local modlist=( {vboxdrv,vboxnetflt,vboxnetadp}=misc )
+   local modargs=( KERN_DIR="${KV_OUT_DIR}" KERN_VER="${KV_FULL}" )
+   linux-mod-r1_src_compile
+}
+
+src_install() {
+   linux-mod-r1_src_install
+   insinto /usr/lib/modules-load.d/
+   newins "${FILESDIR}"/virtualbox.conf-r1 virtualbox.conf
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/virtualbox/

2023-10-17 Thread Viorel Munteanu
commit: f093feb82664a221d2dabede63219decbd6ae3f0
Author: Viorel Munteanu  gentoo  org>
AuthorDate: Tue Oct 17 18:54:12 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Wed Oct 18 04:07:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f093feb8

app-emulation/virtualbox: add 6.1.48

Signed-off-by: Viorel Munteanu  gentoo.org>

 app-emulation/virtualbox/Manifest |   1 +
 app-emulation/virtualbox/virtualbox-6.1.48.ebuild | 675 ++
 2 files changed, 676 insertions(+)

diff --git a/app-emulation/virtualbox/Manifest 
b/app-emulation/virtualbox/Manifest
index aad4f0b02e95..7eb92a4a1f28 100644
--- a/app-emulation/virtualbox/Manifest
+++ b/app-emulation/virtualbox/Manifest
@@ -1,4 +1,5 @@
 DIST VirtualBox-6.1.46.tar.bz2 166045588 BLAKE2B 
041fad30d7cbe524cfd5c865b225c00df7715a6648ed0d8f7ee3ca4be0d0dabcb324c676ba2ea78288cde89ed8e5412fae75e31bb49f623de2acddb8f10d6ee1
 SHA512 
695ca4d41ff10d0581e4cffe4a0ec80e0fe380f4c7d5d51ee4d21aeb61646c26edd60301e541894e71c3323e2d7207e23299938c18ee45631afd1e0851946e77
+DIST VirtualBox-6.1.48.tar.bz2 165960987 BLAKE2B 
c981e390ae518b829970827f6032fb19a93685fb58835a9d489c6e14cc60a5c14c65b0a3da5adae7818e73e1b0e558e8fa803160cb67847f18565bb78d656e97
 SHA512 
fff759f3871e4e8962536002f2bc13e5150a927e280493f5cb0abf06466ce66e45f4c6ef43489b5b3ed8682d8a3ac0eb6fb3dd7c4144924c81612553ec71a95f
 DIST VirtualBox-7.0.10.tar.bz2 175450841 BLAKE2B 
49eaa14f716f021f1ecec1ad48a2aa8a3a758cbd9b03cf30d65ddcf5aba11842b0ea8bc2c4d477084a4cea318dc302a4ed426ec9f675a1fe675c5f18c48796c7
 SHA512 
2870d39385f66557281edf1368db68cd69d6a9bebc30d52511929462d0ac210cec49dd8531a280c6facff22ba6e4808477fbf3d09abf998d863a007fc7f2c3bd
 DIST virtualbox-help-7.0.10.tar.xz 3941196 BLAKE2B 
fa6667e0cf12e2e05b896a7d9d7e1f78d43bb4618f35b3c81f5ccf5f227d1181b0c8fb1f6dc02a8619550b193a73d4094c5d3f0d43514392f9ed563085068789
 SHA512 
fab2dff812a438f3e78dbace24741d91b317bbbc7362f082a18f3871e3c6fd8af7744cf1b3fd3b82cf5135e03d521de05a7a5bc98ec19aacfa1b4e5392e60f30
 DIST virtualbox-patches-6.1.36.tar.bz2 2733 BLAKE2B 
dcfebfeca4873d382441515d48b4dfee9343bc7c83ea3cbb5002dbf7975143a79fae9a701b67dc35505e9ca03ff1b6293cb7c3279c4fdfda8ad21ba5fb9b7e87
 SHA512 
1bed5cdefbf8e7c4b0d9092ba4961ecf2262f27f35c71a91ef6f2e8fe8a1d92ed74f06bafbf58d70ba7165d933997f58073f4d4f4051e3ba5c0339b729066f57

diff --git a/app-emulation/virtualbox/virtualbox-6.1.48.ebuild 
b/app-emulation/virtualbox/virtualbox-6.1.48.ebuild
new file mode 100644
index ..a07c5a01bf04
--- /dev/null
+++ b/app-emulation/virtualbox/virtualbox-6.1.48.ebuild
@@ -0,0 +1,675 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# To add a new Python here:
+# 1. Patch src/libs/xpcom18a4/python/Makefile.kmk (copy the previous impl's 
logic)
+#Do NOT skip this part. It'll end up silently not-building the Python 
extension
+#or otherwise misbehaving if you do.
+#
+# 2. Then update PYTHON_COMPAT & set PYTHON_SINGLE_TARGET for testing w/ 
USE=python.
+#
+#  May need to look at other distros (e.g. Arch Linux) to find patches for 
newer
+#  Python versions as upstream tends to lag. Upstream may have patches on their
+#  trunk branch but not release branch.
+#
+#  See bug #785835, bug #856121.
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit desktop edo flag-o-matic java-pkg-opt-2 linux-info multilib optfeature 
pax-utils \
+   python-single-r1 tmpfiles toolchain-funcs udev xdg
+
+MY_PN="VirtualBox"
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Family of powerful x86 virtualization products for enterprise and 
home use"
+HOMEPAGE="https://www.virtualbox.org/;
+SRC_URI="https://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2
+   
https://gitweb.gentoo.org/proj/virtualbox-patches.git/snapshot/virtualbox-patches-6.1.36.tar.bz2;
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="GPL-2 dtrace? ( CDDL )"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64"
+IUSE="alsa debug doc dtrace headless java lvm +opus pam pax-kernel pch 
pulseaudio +opengl python +qt5 +sdk +sdl +udev vboxwebsrv vnc"
+
+unset WATCOM #856769
+
+COMMON_DEPEND="
+   ${PYTHON_DEPS}
+   acct-group/vboxusers
+   ~app-emulation/virtualbox-modules-${PV}
+   >=dev-libs/libxslt-1.1.19
+   net-misc/curl
+   dev-libs/libxml2
+   media-libs/libpng:0=
+   media-libs/libvpx:0=
+   sys-libs/zlib:=
+   !headless? (
+   sdl? ( media-libs/libsdl:0[X,video] )
+   x11-base/xorg-proto
+   x11-libs/libX11
+   x11-libs/libxcb:=
+   x11-libs/libXcursor
+   x11-libs/libXext
+   x11-libs/libXmu
+   x11-libs/libXt
+   opengl? (
+   media-libs/libglvnd[X]
+   virtual/glu
+   )
+   qt5? (
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   

[gentoo-commits] repo/gentoo:master commit in: app-emulation/virtualbox-additions/

2023-10-17 Thread Viorel Munteanu
commit: afbf7061d468cbd06f16b1554748007db4e8389f
Author: Viorel Munteanu  gentoo  org>
AuthorDate: Tue Oct 17 17:24:02 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Wed Oct 18 04:07:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afbf7061

app-emulation/virtualbox-additions: add 6.1.48

Signed-off-by: Viorel Munteanu  gentoo.org>

 app-emulation/virtualbox-additions/Manifest|  1 +
 .../virtualbox-additions-6.1.48.ebuild | 25 ++
 2 files changed, 26 insertions(+)

diff --git a/app-emulation/virtualbox-additions/Manifest 
b/app-emulation/virtualbox-additions/Manifest
index fadd3e805ddf..656770d33ede 100644
--- a/app-emulation/virtualbox-additions/Manifest
+++ b/app-emulation/virtualbox-additions/Manifest
@@ -1,2 +1,3 @@
 DIST VBoxGuestAdditions_6.1.46.iso 64032768 BLAKE2B 
cc0181861802822e3887cd821edc687db081993e01e24ac0139ffd29b76aaabf3be20c9394e0ee02748359a7127ed5522418c2c5523ba77c3a8c483aad596c00
 SHA512 
e31e9cad72132d0f683b8135b5e91bcd42e6cb532fc9e0e9a463347c29053799f51b9d0730a9de4096557010c6ca341715e72515811b87d0df41343510cad55e
+DIST VBoxGuestAdditions_6.1.48.iso 63969280 BLAKE2B 
7bba272d427a6a91cd4d63c5d494e50d9984badac47c75f5323b1b2ad25a4fbf7cf28a1eba30988288d6e308b8d62ab5043c445a651b8b767667a267d5dee1e9
 SHA512 
19b98be42d7c0148ada0342fbbe6e1803fa127aca14662b560624d2c582656af68b01152a9c8b14d238c493d171694e088091b924598cebbf1f8d2c7a949d0c3
 DIST VBoxGuestAdditions_7.0.10.iso 53497856 BLAKE2B 
8577cd44c4564f205e65d955f3cca33084215c4e2b777d944cb14240a47b6a6196cd9e40acbfbec9e915bda55f676627c1819ca2c881f8d0945c334df4e1d242
 SHA512 
5148823cc3bfd5145bff4ecfb6e0f3f068e0e3a9f1021161122b89dd01197e64345a73efdda6259134a35cbb0b6cd8361f235c2c996ef6a4dbf03d452b3ae9db

diff --git 
a/app-emulation/virtualbox-additions/virtualbox-additions-6.1.48.ebuild 
b/app-emulation/virtualbox-additions/virtualbox-additions-6.1.48.ebuild
new file mode 100644
index ..9729d64d300e
--- /dev/null
+++ b/app-emulation/virtualbox-additions/virtualbox-additions-6.1.48.ebuild
@@ -0,0 +1,25 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN=VBoxGuestAdditions
+MY_P=${MY_PN}_${PV}
+
+DESCRIPTION="CD image containing guest additions for VirtualBox"
+HOMEPAGE="https://www.virtualbox.org/;
+SRC_URI="https://download.virtualbox.org/virtualbox/${PV}/${MY_P}.iso;
+S="${WORKDIR}"
+
+LICENSE="GPL-2+ LGPL-2.1+ MIT SGI-B-2.0 CDDL"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64"
+
+src_unpack() {
+   return 0
+}
+
+src_install() {
+   insinto /usr/share/${PN/-additions}
+   newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/virtualbox-extpack-oracle/

2023-10-17 Thread Viorel Munteanu
commit: 4da79ad5209e372d7b02162d061febffc6fa97dc
Author: Viorel Munteanu  gentoo  org>
AuthorDate: Tue Oct 17 17:31:45 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Wed Oct 18 04:07:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4da79ad5

app-emulation/virtualbox-extpack-oracle: add 7.0.12

Signed-off-by: Viorel Munteanu  gentoo.org>

 app-emulation/virtualbox-extpack-oracle/Manifest   |  1 +
 .../virtualbox-extpack-oracle-7.0.12.ebuild| 28 ++
 2 files changed, 29 insertions(+)

diff --git a/app-emulation/virtualbox-extpack-oracle/Manifest 
b/app-emulation/virtualbox-extpack-oracle/Manifest
index 777caa4de85f..2dbbacc4c1f0 100644
--- a/app-emulation/virtualbox-extpack-oracle/Manifest
+++ b/app-emulation/virtualbox-extpack-oracle/Manifest
@@ -1,3 +1,4 @@
 DIST Oracle_VM_VirtualBox_Extension_Pack-6.1.46.tar.gz 11175297 BLAKE2B 
00c99036cb34579da811f0a2e3e46ac49b5588af3d8effa44132c496375c87c0778dc6650591a7e1bb11d3b3a459f775de94a8a06ae2bd42ce08385250db00d9
 SHA512 
9efdb746e5ef63872cde3adafb9e5c45c65183f59b7b2c2d3424588909c85ce3574e65c5bf1a2e0471028051e29ec010b4ed1968fcf4637d81d8f8d6547a24c7
 DIST Oracle_VM_VirtualBox_Extension_Pack-6.1.48.tar.gz 11166368 BLAKE2B 
5c1ced1742f44110490aee07e0323d418152b87c5c8c9dfbeffb05cc59fcc94bb88b8e932b59f5bd79e3d85b347525b939df2a60f52d46533bd2d877c1720439
 SHA512 
71ca826ac886fdb9389a09f6fc1b5b7e99e8bfda1fa64cecefebc60e3cd7c11f678bfe1fb853a7bd0de8ed2ffe00f5f9758a2b00e122bc678b71fa74ad366573
 DIST Oracle_VM_VirtualBox_Extension_Pack-7.0.10.tar.gz 18259331 BLAKE2B 
0afcd918243cd52e90278df63a8bb7aa1415a3662ad8bc2d49c19dd9a1cfe3ab9f810d8d66b4be2c1742361e000c547f9cdd88ad215b764a80991e0b7ea44c50
 SHA512 
fd5dc7577467d54d170c325be27dbb67eee16860e0b876bca1afa023c33a45c356cb77303b0c26fa7ca2057908b9acd7ebc41dbc68a0a9bc3253a797cc9ccb55
+DIST Oracle_VM_VirtualBox_Extension_Pack-7.0.12.tar.gz 18245684 BLAKE2B 
6a55307034da5510d47bbf57bf557308be5c0459bbb21d0c79cc769a0f1ebae1e26c3202e23da17cd900b0ca88dbc653d2be0297817b79b61f426c6c5880c43a
 SHA512 
0d311ed94a52d02634050f309886d6c5b627151b7e85a50e81a602c02c9400f01c1dfc21a7f52f33e50c2e27df96213f5b97cb3edc82f784ef171796c3ae6d56

diff --git 
a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-7.0.12.ebuild
 
b/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-7.0.12.ebuild
new file mode 100644
index ..18a227280590
--- /dev/null
+++ 
b/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-7.0.12.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PV="$(ver_cut 1-3)"
+MY_PN="Oracle_VM_VirtualBox_Extension_Pack"
+MY_P="${MY_PN}-${MY_PV}"
+
+DESCRIPTION="PUEL extensions for VirtualBox"
+HOMEPAGE="https://www.virtualbox.org/;
+SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.vbox-extpack
 -> ${MY_P}.tar.gz"
+S="${WORKDIR}"
+
+LICENSE="PUEL-11"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64"
+RESTRICT="bindist mirror strip"
+
+RDEPEND="=app-emulation/virtualbox-${MY_PV}*"
+
+QA_PREBUILT="usr/lib*/virtualbox/ExtensionPacks/${MY_PN}/*"
+
+src_install() {
+   insinto /usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN}
+   doins -r linux.${ARCH}
+   doins ExtPack* PXE-Intel.rom
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/virtualbox-guest-additions/

2023-10-17 Thread Viorel Munteanu
commit: 8dadba5a9a5ee395d2ef2ff9e0ab0a0c0706f32e
Author: Viorel Munteanu  gentoo  org>
AuthorDate: Tue Oct 17 17:56:59 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Wed Oct 18 04:07:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dadba5a

app-emulation/virtualbox-guest-additions: add 6.1.48

Signed-off-by: Viorel Munteanu  gentoo.org>

 app-emulation/virtualbox-guest-additions/Manifest  |   1 +
 .../virtualbox-guest-additions-6.1.48.ebuild   | 288 +
 2 files changed, 289 insertions(+)

diff --git a/app-emulation/virtualbox-guest-additions/Manifest 
b/app-emulation/virtualbox-guest-additions/Manifest
index 9d81666cb41f..56ab108967a7 100644
--- a/app-emulation/virtualbox-guest-additions/Manifest
+++ b/app-emulation/virtualbox-guest-additions/Manifest
@@ -1,4 +1,5 @@
 DIST VirtualBox-6.1.46.tar.bz2 166045588 BLAKE2B 
041fad30d7cbe524cfd5c865b225c00df7715a6648ed0d8f7ee3ca4be0d0dabcb324c676ba2ea78288cde89ed8e5412fae75e31bb49f623de2acddb8f10d6ee1
 SHA512 
695ca4d41ff10d0581e4cffe4a0ec80e0fe380f4c7d5d51ee4d21aeb61646c26edd60301e541894e71c3323e2d7207e23299938c18ee45631afd1e0851946e77
+DIST VirtualBox-6.1.48.tar.bz2 165960987 BLAKE2B 
c981e390ae518b829970827f6032fb19a93685fb58835a9d489c6e14cc60a5c14c65b0a3da5adae7818e73e1b0e558e8fa803160cb67847f18565bb78d656e97
 SHA512 
fff759f3871e4e8962536002f2bc13e5150a927e280493f5cb0abf06466ce66e45f4c6ef43489b5b3ed8682d8a3ac0eb6fb3dd7c4144924c81612553ec71a95f
 DIST VirtualBox-7.0.10.tar.bz2 175450841 BLAKE2B 
49eaa14f716f021f1ecec1ad48a2aa8a3a758cbd9b03cf30d65ddcf5aba11842b0ea8bc2c4d477084a4cea318dc302a4ed426ec9f675a1fe675c5f18c48796c7
 SHA512 
2870d39385f66557281edf1368db68cd69d6a9bebc30d52511929462d0ac210cec49dd8531a280c6facff22ba6e4808477fbf3d09abf998d863a007fc7f2c3bd
 DIST virtualbox-patches-6.1.36.tar.bz2 2733 BLAKE2B 
dcfebfeca4873d382441515d48b4dfee9343bc7c83ea3cbb5002dbf7975143a79fae9a701b67dc35505e9ca03ff1b6293cb7c3279c4fdfda8ad21ba5fb9b7e87
 SHA512 
1bed5cdefbf8e7c4b0d9092ba4961ecf2262f27f35c71a91ef6f2e8fe8a1d92ed74f06bafbf58d70ba7165d933997f58073f4d4f4051e3ba5c0339b729066f57
 DIST virtualbox-patches-7.0.8.tar.bz2 2733 BLAKE2B 
044dfe02a5bd5e757091318b394b0e5918677b5bbce9caef4a18d4d8df54821559f0df6ffbdd6f52d4934bc4018e9c9d908571c5d3d8804fd3b0f22a7a1aed84
 SHA512 
93a06aa3f9508d3a8743ca8494a958159b5bc3fd7a0a08ff23414d05c4f31084cf0f1c82a3866e222c83e6996ba004546f0bd33c6eb9a90eec8e548b8b3f2fbf

diff --git 
a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-6.1.48.ebuild
 
b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-6.1.48.ebuild
new file mode 100644
index ..35c42213697c
--- /dev/null
+++ 
b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-6.1.48.ebuild
@@ -0,0 +1,288 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit edo linux-mod-r1 systemd toolchain-funcs udev
+
+MY_PN="VirtualBox"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="VirtualBox kernel modules and user-space tools for Gentoo guests"
+HOMEPAGE="https://www.virtualbox.org/;
+SRC_URI="https://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2
+   
https://gitweb.gentoo.org/proj/virtualbox-patches.git/snapshot/virtualbox-patches-6.1.36.tar.bz2;
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="GPL-2"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~x86"
+IUSE="X +dbus"
+
+# automount Error: VBoxServiceAutoMountWorker: Group "vboxsf" does not exist
+RDEPEND="
+   acct-group/vboxguest
+   acct-group/vboxsf
+   acct-user/vboxguest
+   sys-libs/pam
+   sys-libs/zlib
+   dbus? ( sys-apps/dbus )
+   X? (
+   x11-apps/xrandr
+   x11-apps/xrefresh
+   x11-libs/libX11
+   x11-libs/libXext
+   x11-libs/libXmu
+   x11-libs/libXt
+   )
+"
+DEPEND="
+   ${RDEPEND}
+   X? (
+   x11-base/xorg-proto
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libXau
+   x11-libs/libXdmcp
+   )
+"
+BDEPEND="
+   >=dev-util/kbuild-0.1.9998.3127
+   <=dev-util/kbuild-0.1.9998.3500
+   >=dev-lang/yasm-0.6.2
+   sys-devel/bin86
+   sys-power/iasl
+"
+PDEPEND="
+   X? ( x11-drivers/xf86-video-vboxvideo )
+"
+
+PATCHES=(
+   "${FILESDIR}"/virtualbox-guest-additions-7.0.8-fix-gcc13.patch
+)
+
+DOCS=()# Don't install the default README file during einstalldocs
+
+VBOX_MOD_SRC_DIR="out/linux.${ARCH}/release/bin/additions/src"
+CONFIG_CHECK="DRM_TTM"
+
+src_prepare() {
+   eapply "${PATCHES[@]}"
+
+   # Remove shipped binaries (kBuild,yasm), see bug #232775
+   rm -r kBuild/bin tools || die
+
+   # Provide kernel sources
+   pushd src/VBox/Additions &>/dev/null || die
+   ebegin "Extracting guest kernel module sources"
+   kmk GuestDrivers-src vboxguest-src vboxsf-src vboxvideo-src 

[gentoo-commits] proj/linux-patches:6.5 commit in: /

2023-10-17 Thread Mike Pagano
commit: 94bc701a20b843aee37fe6700f5a4e2c9c0d15a2
Author: Mike Pagano  gentoo  org>
AuthorDate: Tue Oct 17 22:53:48 2023 +
Commit: Mike Pagano  gentoo  org>
CommitDate: Tue Oct 17 22:53:48 2023 +
URL:https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=94bc701a

kheaders: make it possible to override TAR

Signed-off-by: Mike Pagano  gentoo.org>

 _README |  4 +++
 2930_tar_override.patch | 65 +
 2 files changed, 69 insertions(+)

diff --git a/_README b/_README
index 7be69feb..665fa5a2 100644
--- a/_README
+++ b/_README
@@ -103,6 +103,10 @@ Patch:  2920_sign-file-patch-for-libressl.patch
 From:   https://bugs.gentoo.org/717166
 Desc:   sign-file: full functionality with modern LibreSSL
 
+Patch:  2930_tar_override.patch
+From:   
https://lore.kernel.org/lkml/20230412082743.350699-1-mgo...@gentoo.org/#t
+Desc:   kheaders: make it possible to override TAR
+
 Patch:  3000_Support-printing-firmware-info.patch
 From:   https://bugs.gentoo.org/732852
 Desc:   Print firmware info (Reqs CONFIG_GENTOO_PRINT_FIRMWARE_INFO). Thanks 
to Georgy Yakovlev

diff --git a/2930_tar_override.patch b/2930_tar_override.patch
new file mode 100644
index ..001ff800
--- /dev/null
+++ b/2930_tar_override.patch
@@ -0,0 +1,65 @@
+From: "Michał Górny" 
+To: Dmitry Goldin 
+Cc: "Masahiro Yamada" ,
+   linux-ker...@vger.kernel.org, "Michał Górny" ,
+   "Sam James" ,
+   "Masahiro Yamada" 
+Subject: [PATCH v2] kheaders: make it possible to override TAR
+Date: Wed, 12 Apr 2023 10:27:43 +0200  [thread overview]
+Message-ID: <20230412082743.350699-1-mgo...@gentoo.org> (raw)
+In-Reply-To: 

+
+Commit 86cdd2fdc4e39c388d39c7ba2396d1a9dfd66226 ("kheaders: make headers
+archive reproducible") introduced a number of options specific to GNU
+tar to the `tar` invocation in `gen_kheaders.sh` script.  This causes
+the script to fail to work on systems where `tar` is not GNU tar.  This
+can occur e.g. on recent Gentoo Linux installations that support using
+bsdtar from libarchive instead.
+
+Add a `TAR` make variable to make it possible to override the tar
+executable used, e.g. by specifying:
+
+  make TAR=gtar
+
+Link: https://bugs.gentoo.org/884061
+Reported-by: Sam James 
+Tested-by: Sam James 
+Co-developed-by: Masahiro Yamada 
+Signed-off-by: Michał Górny 
+---
+ Makefile   | 3 ++-
+ kernel/gen_kheaders.sh | 2 +-
+ 2 files changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 5aeea3d98..50045059c 100644
+--- a/Makefile
 b/Makefile
+@@ -520,6 +520,7 @@ LZMA   = lzma
+ LZ4   = lz4c
+ XZ= xz
+ ZSTD  = zstd
++TAR   = tar
+ 
+ PAHOLE_FLAGS  = $(shell PAHOLE=$(PAHOLE) $(srctree)/scripts/pahole-flags.sh)
+ 
+@@ -599,7 +600,7 @@ export RUSTC RUSTDOC RUSTFMT RUSTC_OR_CLIPPY_QUIET 
RUSTC_OR_CLIPPY BINDGEN CARGO
+ export HOSTRUSTC KBUILD_HOSTRUSTFLAGS
+ export CPP AR NM STRIP OBJCOPY OBJDUMP READELF PAHOLE RESOLVE_BTFIDS LEX YACC 
AWK INSTALLKERNEL
+ export PERL PYTHON3 CHECK CHECKFLAGS MAKE UTS_MACHINE HOSTCXX
+-export KGZIP KBZIP2 KLZOP LZMA LZ4 XZ ZSTD
++export KGZIP KBZIP2 KLZOP LZMA LZ4 XZ ZSTD TAR
+ export KBUILD_HOSTCXXFLAGS KBUILD_HOSTLDFLAGS KBUILD_HOSTLDLIBS LDFLAGS_MODULE
+ export KBUILD_USERCFLAGS KBUILD_USERLDFLAGS
+ 
+--- a/kernel/gen_kheaders.sh   2023-10-17 18:43:00.365033993 -0400
 b/kernel/gen_kheaders.sh   2023-10-17 18:43:36.301750445 -0400
+@@ -83,7 +83,7 @@ find $cpio_dir -type f -print0 |
+   xargs -0 -P8 -n1 perl -pi -e 'BEGIN {undef $/;}; 
s/\/\*((?!SPDX).)*?\*\///smg;'
+ 
+ # Create archive and try to normalize metadata for reproducibility.
+-tar "${KBUILD_BUILD_TIMESTAMP:+--mtime=$KBUILD_BUILD_TIMESTAMP}" \
++${TAR:-tar} "${KBUILD_BUILD_TIMESTAMP:+--mtime=$KBUILD_BUILD_TIMESTAMP}" \
+ --owner=0 --group=0 --sort=name --numeric-owner \
+ -I $XZ -cf $tarfile -C $cpio_dir/ . > /dev/null
+ 



[gentoo-commits] repo/proj/guru:dev commit in: sys-apps/mission-center/

2023-10-17 Thread Brett Alcox
commit: 019dae0d5c74d9e90ecd49dd9f7c6c37c79ca246
Author: brettalcox  gmail  com>
AuthorDate: Tue Oct 17 22:55:52 2023 +
Commit: Brett Alcox  gmail  com>
CommitDate: Tue Oct 17 22:55:52 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=019dae0d

sys-apps/mission-center: add 

Signed-off-by: brettalcox  gmail.com>

 sys-apps/mission-center/mission-center-.ebuild | 409 +
 1 file changed, 409 insertions(+)

diff --git a/sys-apps/mission-center/mission-center-.ebuild 
b/sys-apps/mission-center/mission-center-.ebuild
new file mode 100644
index 00..af4fb1c22a
--- /dev/null
+++ b/sys-apps/mission-center/mission-center-.ebuild
@@ -0,0 +1,409 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES="
+   adler32@1.2.0
+   adler@1.0.2
+   ahash@0.3.8
+   ahash@0.8.3
+   aho-corasick@1.0.2
+   allocator-api2@0.2.15
+   anyhow@1.0.71
+   anyhow@1.0.72
+   arrayvec@0.5.2
+   arrayvec@0.7.4
+   async-channel@1.9.0
+   async-lock@2.7.0
+   async-task@4.4.0
+   atomic-waker@1.1.1
+   autocfg@1.1.0
+   base64@0.21.4
+   bitflags@1.3.2
+   bitflags@2.3.3
+   bitflags@2.4.0
+   block-buffer@0.10.4
+   block@0.1.6
+   blocking@1.3.1
+   bumpalo@3.13.0
+   byte-slice-cast@0.3.5
+   bytemuck@1.13.1
+   bytemuck@1.14.0
+   bytemuck_derive@1.5.0
+   byteorder@1.4.3
+   cairo-rs@0.18.0
+   cairo-sys-rs@0.18.0
+   cargo-util@0.2.5
+   cc@1.0.79
+   cc@1.0.83
+   cfg-expr@0.15.3
+   cfg-if@0.1.10
+   cfg-if@1.0.0
+   color_quant@1.1.0
+   concurrent-queue@2.2.0
+   const-random-macro@0.1.15
+   const-random@0.1.15
+   core-foundation-sys@0.8.4
+   core-foundation@0.9.3
+   cpufeatures@0.2.9
+   crc32fast@1.3.2
+   crossbeam-channel@0.4.4
+   crossbeam-channel@0.5.8
+   crossbeam-deque@0.8.3
+   crossbeam-epoch@0.9.15
+   crossbeam-utils@0.7.2
+   crossbeam-utils@0.8.16
+   crunchy@0.2.2
+   crypto-common@0.1.6
+   deflate@0.8.6
+   digest@0.10.7
+   dlv-list@0.5.0
+   drm-ffi@0.5.0
+   drm-fourcc@2.2.0
+   drm-sys@0.4.0
+   drm@0.9.0
+   egl@0.2.7
+   either@1.8.1
+   equivalent@1.0.0
+   errno-dragonfly@0.1.2
+   errno-sys@0.1.0
+   errno@0.3.3
+   event-listener@2.5.3
+   fallible-iterator@0.2.0
+   fallible-streaming-iterator@0.1.9
+   fastrand@1.9.0
+   fastrand@2.0.0
+   field-offset@0.3.6
+   filetime@0.2.22
+   flate2@1.0.27
+   form_urlencoded@1.2.0
+   futures-channel@0.3.28
+   futures-core@0.3.28
+   futures-executor@0.3.28
+   futures-io@0.3.28
+   futures-lite@1.13.0
+   futures-macro@0.3.28
+   futures-task@0.3.28
+   futures-util@0.3.28
+   fxhash@0.2.1
+   gbm-sys@0.2.2
+   gbm@0.12.0
+   gdk-pixbuf-sys@0.18.0
+   gdk-pixbuf@0.18.0
+   gdk4-sys@0.7.2
+   gdk4@0.7.2
+   generic-array@0.14.7
+   getrandom@0.2.10
+   gettext-rs@0.7.0
+   gettext-sys@0.21.3
+   gio-sys@0.18.1
+   gio@0.18.1
+   gl@0.14.0
+   gl_generator@0.14.0
+   glib-macros@0.18.0
+   glib-sys@0.18.1
+   glib@0.18.1
+   gobject-sys@0.18.0
+   graphene-rs@0.18.1
+   graphene-sys@0.18.1
+   gsk4-sys@0.7.2
+   gsk4@0.7.2
+   gtk4-macros@0.7.2
+   gtk4-sys@0.7.2
+   gtk4@0.7.2
+   half@1.8.2
+   hashbrown@0.13.2
+   hashbrown@0.14.0
+   hashbrown@0.7.2
+   hashlink@0.8.3
+   heck@0.4.1
+   hermit-abi@0.3.2
+   hex@0.4.3
+   idna@0.4.0
+   image@0.23.14
+   indexmap@2.0.0
+   instant@0.1.12
+   interprocess@1.2.1
+   intmap@0.7.1
+   itoa@1.0.8
+   itoa@1.0.9
+   jobserver@0.1.26
+   js-sys@0.3.64
+   khronos@0.1.2
+   khronos_api@3.1.0
+   lazy_static@1.4.0
+   libadwaita-sys@0.5.2
+   libadwaita@0.5.2
+   libc@0.1.12
+   libc@0.2.147
+   libsqlite3-sys@0.26.0
+   libudev-sys@0.1.4
+   linux-raw-sys@0.4.7
+   locale_config@0.3.0
+   lock_api@0.4.10
+   log@0.4.19
+   malloc_buf@0.0.6
+   maybe-uninit@2.0.0
+   memchr@2.5.0
+   memoffset@0.7.1
+   memoffset@0.9.0
+   minidl@0.1.5
+   miniz_oxide@0.3.7
+   miniz_oxide@0.7.1
+   miow@0.5.0
+   nix@0.26.2
+   ntapi@0.4.1
+   num-integer@0.1.45
+   num-iter@0.1.43
+   num-rational@0.3.2
+   num-traits@0.2.15
+   num_cpus@1.16.0
+   objc-foundation@0.1.1
+   objc@0.2.7
+   objc_id@0.1.1
+   once_cell@1.18.0
+   ordered-multimap@0.6.0
+   pango-sys@0.18.0
+   pango@0.18.0
+   parking@2.1.0
+   percent-encoding@2.3.0
+   pest@2.7.0
+   pin-project-lite@0.2.10
+   pin-project-lite@0.2.13
+   

[gentoo-commits] repo/gentoo:master commit in: profiles/features/musl/

2023-10-17 Thread James Le Cuirot
commit: f5d1c19fce1e6c6984de130dfde8a5b827de2ed5
Author: James Le Cuirot  gentoo  org>
AuthorDate: Tue Oct 17 22:27:56 2023 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Tue Oct 17 22:27:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5d1c19f

profiles: Mask games-rpg/crosscode-a-new-home on musl

This is a DLC for a game that is already masked.

Signed-off-by: James Le Cuirot  gentoo.org>

 profiles/features/musl/package.mask | 1 +
 1 file changed, 1 insertion(+)

diff --git a/profiles/features/musl/package.mask 
b/profiles/features/musl/package.mask
index 4c9c424e5d85..8451ea4ff248 100644
--- a/profiles/features/musl/package.mask
+++ b/profiles/features/musl/package.mask
@@ -201,6 +201,7 @@ games-puzzle/world-of-goo-demo
 games-puzzle/world-of-goo-gog
 games-puzzle/world-of-goo-hb
 games-rpg/crosscode
+games-rpg/crosscode-a-new-home
 games-server/bedrock-server
 games-server/etqw-ded
 games-server/mtavc



[gentoo-commits] repo/gentoo:master commit in: games-rpg/crosscode-a-new-home/

2023-10-17 Thread James Le Cuirot
commit: 9165ac02ee3e56655309a810d3c0dc69d4db0b70
Author: Hoël Bézier  riseup  net>
AuthorDate: Tue Jun 27 11:16:24 2023 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Tue Oct 17 22:26:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9165ac02

games-rpg/crosscode-a-new-home: new package, add 0_p20220419

Closes: https://bugs.gentoo.org/908027
Signed-off-by: Hoël Bézier  riseup.net>
Signed-off-by: James Le Cuirot  gentoo.org>

 games-rpg/crosscode-a-new-home/Manifest|  1 +
 .../crosscode-a-new-home-0_p20220419.ebuild| 35 ++
 games-rpg/crosscode-a-new-home/metadata.xml|  8 +
 3 files changed, 44 insertions(+)

diff --git a/games-rpg/crosscode-a-new-home/Manifest 
b/games-rpg/crosscode-a-new-home/Manifest
new file mode 100644
index ..f364f0a523d4
--- /dev/null
+++ b/games-rpg/crosscode-a-new-home/Manifest
@@ -0,0 +1 @@
+DIST new-home.zip 4235451 BLAKE2B 
0245abe1d67ba4f6ed8ef4c96a1f03ae454fe39dce950044132fb8b7688b981ae654c30923954951e33c2788e638cf61bb158beeb749cdb1c967bdfe0acab23e
 SHA512 
49269c1bda85d42165b8f86cab4f117c69cc05dafe2905d4540815bd5fac89fe982bf0f850e706953c838b94ec03635c2c6fd06822d8214aeffcbb6d372c0657

diff --git 
a/games-rpg/crosscode-a-new-home/crosscode-a-new-home-0_p20220419.ebuild 
b/games-rpg/crosscode-a-new-home/crosscode-a-new-home-0_p20220419.ebuild
new file mode 100644
index ..e3182f1bccb2
--- /dev/null
+++ b/games-rpg/crosscode-a-new-home/crosscode-a-new-home-0_p20220419.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="CrossCode DLC unlocking post-game content"
+HOMEPAGE="https://radicalfishgames.itch.io/crosscode-a-new-home;
+SRC_URI="new-home.zip"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="bindist fetch splitdebug"
+
+RDEPEND="
+   >=games-rpg/crosscode-1.4.2.2
+"
+
+BDEPEND="
+   app-arch/unzip
+"
+
+S="${WORKDIR}"
+DIR="/usr/share/crosscode"
+
+pkg_nofetch() {
+   einfo "Please buy and download ${SRC_URI} from:"
+   einfo "  ${HOMEPAGE}"
+   einfo "and move it to your distfiles directory."
+}
+
+src_install() {
+   insinto "${DIR}/assets/extension"
+   doins -r post-game
+}

diff --git a/games-rpg/crosscode-a-new-home/metadata.xml 
b/games-rpg/crosscode-a-new-home/metadata.xml
new file mode 100644
index ..7c730d47817a
--- /dev/null
+++ b/games-rpg/crosscode-a-new-home/metadata.xml
@@ -0,0 +1,8 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   ga...@gentoo.org
+   Gentoo Games Project
+   
+



[gentoo-commits] repo/gentoo:master commit in: dev-libs/weston/files/, dev-libs/weston/

2023-10-17 Thread James Le Cuirot
commit: 3676a080151157102af9a3a0067b8e76e8ff07ca
Author: James Le Cuirot  gentoo  org>
AuthorDate: Tue Oct 17 21:34:10 2023 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Tue Oct 17 21:34:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3676a080

dev-libs/weston: Drop old 12.0.1-r1

Signed-off-by: James Le Cuirot  gentoo.org>

 dev-libs/weston/Manifest   |   1 -
 dev-libs/weston/files/weston-12.0.1-issue757.patch | 183 -
 dev-libs/weston/weston-12.0.1-r1.ebuild| 146 
 3 files changed, 330 deletions(-)

diff --git a/dev-libs/weston/Manifest b/dev-libs/weston/Manifest
index ebb411e42a9e..af7985426f41 100644
--- a/dev-libs/weston/Manifest
+++ b/dev-libs/weston/Manifest
@@ -1,4 +1,3 @@
 DIST weston-11.0.1.tar.xz 1900796 BLAKE2B 
33d7d5b3340e7074265885bd54ee039e8b5d448fa9f58f4bf9f823efd2557da9b916d903119565a806ab698382fe185165c8ede8614e983c872dfe15b474b616
 SHA512 
d451230fc260b45db5cf0aa360629e45e72e3b3676c6ec040d6c6549dbb57d05683effd962c3b2d61482b47a6c990d12cc736c896b501d982c8c4d34834c
-DIST weston-12.0.1.tar.xz 1969772 BLAKE2B 
d7a76ad6e11b76b73b91aeb9b3b49e823ecc8170bd1306f9a8ed90fa49d9bc7734e4c0595ca67f11421ecf5b4dbf04289cf803726c508e8c979a9850c0e94ccb
 SHA512 
3dcfa1a2a6b9a605d3ecd597bf7ac0f87b0fd1971845b6e5c44b5e34296943ac146dae6e1cfea9be14ad7a9a8b6d30dc765f9289ef80920d7c516ebba1ba4688
 DIST weston-12.0.2.tar.xz 1969720 BLAKE2B 
2a6749ae183b32365c6f7a135a1e1f57aedefa7071ab95b820a788903771b98de18f5ffe991990751bfa11cee14c1cd42364f97583f63ca388caecb44d5b1b4e
 SHA512 
4277cc71a2001768816d6c30df6c01f09ee24efd16651e7048d425afa63c78f92d6def0cca78150965b0f3fa946675b0325881ff9d2878925dedea216a968d59
 DIST weston-12.0.91.tar.xz 1986200 BLAKE2B 
368fe795bd6121390f14995d8c5ddfcd585e620bcb54f0818b9e9131bb442e79048f82bcd90cfff563c7ad9968cdc9e4f1d859fdd318f4e9b08fec371c4a62e4
 SHA512 
8e1ceae599344c305e1b65294403d434c4a6ca740f76bdcc67a9f83afe9d352d75ab9cf8bb5091b889ddece43941adf9c4666767098c4c27cb732f8c7f8f738a

diff --git a/dev-libs/weston/files/weston-12.0.1-issue757.patch 
b/dev-libs/weston/files/weston-12.0.1-issue757.patch
deleted file mode 100644
index c36647e22446..
--- a/dev-libs/weston/files/weston-12.0.1-issue757.patch
+++ /dev/null
@@ -1,183 +0,0 @@
-https://gitlab.freedesktop.org/wayland/weston/-/issues/757
-https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1257
-
-From 6d8e3c569cf7e9ad80569768871e1ed30bf4d2a8 Mon Sep 17 00:00:00 2001
-From: Leandro Ribeiro 
-Date: Thu, 1 Jun 2023 18:51:34 -0300
-Subject: [PATCH 1/3] drm: drop disable_planes being false as a condition to
- support writeback
-
-In 2d70bdfdcdb236ee3e466b1a24df494da43c8a68 "drm-backend: add support to
-output capture writeback source" we've ensured that disable_planes
-should be false in order to support writeback capture tasks.
-
-But this was wrong; disable_planes is transient (it is true when
-there's some sort of content recording happening), and we enable/disable
-that during compositor's lifetime.
-
-This is dangerous and may result in a crash. Imagine the following
-sequence:
-
-1. screen recording starts, disable_planes is set to true.
-
-2. for whatever reason the output size changes, and we end up
-not updating capture info because we think that writeback is not
-supported by the device.
-
-3. screen recording stops, disable_planes is set to false.
-
-4. user tries to take a writeback screenshot, and the
-DRM-backend will pull a writeback capture task with
-weston_output_pull_capture_task().
-
-5. this function has an assert to ensure that the DRM-backend
-did not forget to update the capture info, and we hit that
-assert.
-
-With this patch we drop disable_planes being false as a condition to
-support writeback. So now we keep the capture info up-to-date even when
-screen recording is happening, and we gracefully fail writeback tasks.
-
-Signed-off-by: Leandro Ribeiro 

- libweston/backend-drm/drm.c | 10 --
- 1 file changed, 8 insertions(+), 2 deletions(-)
-
-diff --git a/libweston/backend-drm/drm.c b/libweston/backend-drm/drm.c
-index 1078b89bf..a1e61df8c 100644
 a/libweston/backend-drm/drm.c
-+++ b/libweston/backend-drm/drm.c
-@@ -561,6 +561,12 @@ drm_output_pick_writeback_capture_task(struct drm_output 
*output)
- 
-   assert(output->device->atomic_modeset);
- 
-+  if (output->base.disable_planes > 0) {
-+  msg = "drm: KMS planes usage is disabled for now, so " \
-+"writeback capture tasks are rejected";
-+  goto err;
-+  }
-+
-   wb = drm_output_find_compatible_writeback(output);
-   if (!wb) {
-   msg = "drm: could not find writeback connector for output";
-@@ -948,7 +954,7 @@ drm_output_apply_mode(struct drm_output *output)
-   }
-   }
- 
--  if (device->atomic_modeset && 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/weston/

2023-10-17 Thread James Le Cuirot
commit: d5d8b49d4f848063eaa68c57cb8cbff894c4ef9c
Author: James Le Cuirot  gentoo  org>
AuthorDate: Tue Oct 17 21:33:15 2023 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Tue Oct 17 21:33:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5d8b49d

dev-libs/weston: Version bump to 12.0.91

Signed-off-by: James Le Cuirot  gentoo.org>

 dev-libs/weston/Manifest  | 1 +
 dev-libs/weston/{weston-.ebuild => weston-12.0.91.ebuild} | 5 ++---
 dev-libs/weston/weston-.ebuild| 5 ++---
 3 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/dev-libs/weston/Manifest b/dev-libs/weston/Manifest
index 2c328000a407..ebb411e42a9e 100644
--- a/dev-libs/weston/Manifest
+++ b/dev-libs/weston/Manifest
@@ -1,3 +1,4 @@
 DIST weston-11.0.1.tar.xz 1900796 BLAKE2B 
33d7d5b3340e7074265885bd54ee039e8b5d448fa9f58f4bf9f823efd2557da9b916d903119565a806ab698382fe185165c8ede8614e983c872dfe15b474b616
 SHA512 
d451230fc260b45db5cf0aa360629e45e72e3b3676c6ec040d6c6549dbb57d05683effd962c3b2d61482b47a6c990d12cc736c896b501d982c8c4d34834c
 DIST weston-12.0.1.tar.xz 1969772 BLAKE2B 
d7a76ad6e11b76b73b91aeb9b3b49e823ecc8170bd1306f9a8ed90fa49d9bc7734e4c0595ca67f11421ecf5b4dbf04289cf803726c508e8c979a9850c0e94ccb
 SHA512 
3dcfa1a2a6b9a605d3ecd597bf7ac0f87b0fd1971845b6e5c44b5e34296943ac146dae6e1cfea9be14ad7a9a8b6d30dc765f9289ef80920d7c516ebba1ba4688
 DIST weston-12.0.2.tar.xz 1969720 BLAKE2B 
2a6749ae183b32365c6f7a135a1e1f57aedefa7071ab95b820a788903771b98de18f5ffe991990751bfa11cee14c1cd42364f97583f63ca388caecb44d5b1b4e
 SHA512 
4277cc71a2001768816d6c30df6c01f09ee24efd16651e7048d425afa63c78f92d6def0cca78150965b0f3fa946675b0325881ff9d2878925dedea216a968d59
+DIST weston-12.0.91.tar.xz 1986200 BLAKE2B 
368fe795bd6121390f14995d8c5ddfcd585e620bcb54f0818b9e9131bb442e79048f82bcd90cfff563c7ad9968cdc9e4f1d859fdd318f4e9b08fec371c4a62e4
 SHA512 
8e1ceae599344c305e1b65294403d434c4a6ca740f76bdcc67a9f83afe9d352d75ab9cf8bb5091b889ddece43941adf9c4666767098c4c27cb732f8c7f8f738a

diff --git a/dev-libs/weston/weston-.ebuild 
b/dev-libs/weston/weston-12.0.91.ebuild
similarity index 97%
copy from dev-libs/weston/weston-.ebuild
copy to dev-libs/weston/weston-12.0.91.ebuild
index f0543f60063a..074fc45a3ced 100644
--- a/dev-libs/weston/weston-.ebuild
+++ b/dev-libs/weston/weston-12.0.91.ebuild
@@ -40,7 +40,7 @@ REQUIRED_USE="
 
 RDEPEND="
>=dev-libs/libinput-1.2.0
-   >=dev-libs/wayland-1.20.0
+   >=dev-libs/wayland-1.22.0
media-libs/libpng:0=
sys-auth/seatd:=
>=x11-libs/cairo-1.11.3
@@ -67,7 +67,7 @@ RDEPEND="
systemd? ( sys-apps/systemd )
vnc? (
=dev-libs/aml-0.3*
-   =gui-libs/neatvnc-0.6*
+   =gui-libs/neatvnc-0.7*
sys-libs/pam
)
webp? ( media-libs/libwebp:0= )
@@ -111,7 +111,6 @@ src_configure() {
-Dbackend-default=auto
$(meson_use gles2 renderer-gl)
$(meson_use xwayland)
-   -Dlauncher-libseat=true
$(meson_use systemd)
$(meson_use remoting)
$(meson_use pipewire)

diff --git a/dev-libs/weston/weston-.ebuild 
b/dev-libs/weston/weston-.ebuild
index f0543f60063a..074fc45a3ced 100644
--- a/dev-libs/weston/weston-.ebuild
+++ b/dev-libs/weston/weston-.ebuild
@@ -40,7 +40,7 @@ REQUIRED_USE="
 
 RDEPEND="
>=dev-libs/libinput-1.2.0
-   >=dev-libs/wayland-1.20.0
+   >=dev-libs/wayland-1.22.0
media-libs/libpng:0=
sys-auth/seatd:=
>=x11-libs/cairo-1.11.3
@@ -67,7 +67,7 @@ RDEPEND="
systemd? ( sys-apps/systemd )
vnc? (
=dev-libs/aml-0.3*
-   =gui-libs/neatvnc-0.6*
+   =gui-libs/neatvnc-0.7*
sys-libs/pam
)
webp? ( media-libs/libwebp:0= )
@@ -111,7 +111,6 @@ src_configure() {
-Dbackend-default=auto
$(meson_use gles2 renderer-gl)
$(meson_use xwayland)
-   -Dlauncher-libseat=true
$(meson_use systemd)
$(meson_use remoting)
$(meson_use pipewire)



[gentoo-commits] repo/gentoo:master commit in: gui-libs/neatvnc/

2023-10-17 Thread James Le Cuirot
commit: 4f426a1d415561866828849fc62764d453f640c0
Author: James Le Cuirot  gentoo  org>
AuthorDate: Tue Oct 17 21:32:41 2023 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Tue Oct 17 21:32:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f426a1d

gui-libs/neatvnc: Version bump to 0.7.0

Signed-off-by: James Le Cuirot  gentoo.org>

 gui-libs/neatvnc/Manifest  | 1 +
 gui-libs/neatvnc/metadata.xml  | 5 +++--
 gui-libs/neatvnc/{neatvnc-.ebuild => neatvnc-0.7.0.ebuild} | 7 ++-
 gui-libs/neatvnc/neatvnc-.ebuild   | 7 ++-
 4 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/gui-libs/neatvnc/Manifest b/gui-libs/neatvnc/Manifest
index c15694e3f9b5..fbd029cfd3d7 100644
--- a/gui-libs/neatvnc/Manifest
+++ b/gui-libs/neatvnc/Manifest
@@ -1 +1,2 @@
 DIST neatvnc-0.6.0.tar.gz 578084 BLAKE2B 
63a064054a61996bd09064e4684d6d4e836290b9c0a097138a8dbefc3615b8d22f1932caef3b147bf3a12fa14ef808d314016d53411e2d461e775e1a34522e15
 SHA512 
7fc38aa36faba227e37ec241b874f7c83e7bb912b22cb1f2198622a0bb314566bf58b3f9e376b0d03f04b667ba94f2e60f7f5e886c141178a874c820ea91
+DIST neatvnc-0.7.0.tar.gz 660642 BLAKE2B 
ae14f3d35839ae141d6cce760c118f6605b66c16e3d8e6fae4606deaa63adacab13d3c8dbc001a3937f4f1f6f9c908607176ea36a914d39a126730c77f3470c7
 SHA512 
79abf2f6d5676e1d8dc9f70a341ae0247ae20dd95f8724d27c667ae42d45c8b5f4de2321c0dad6278e0eebefbcda0a512da917fa6e5def801f938875bdab18d0

diff --git a/gui-libs/neatvnc/metadata.xml b/gui-libs/neatvnc/metadata.xml
index 6063f9cd5636..109d0f5191a0 100644
--- a/gui-libs/neatvnc/metadata.xml
+++ b/gui-libs/neatvnc/metadata.xml
@@ -8,8 +8,9 @@

Build and install examples
Enable support for the Generic Buffer Manager 
(gbm)
-   Enable fast encodings
-   Enable H.264 encoding
+   Enable H.264 encoding
+   Enable JPEG compression
Trace kernel and memory calls
+   Enable websockets support

 

diff --git a/gui-libs/neatvnc/neatvnc-.ebuild 
b/gui-libs/neatvnc/neatvnc-0.7.0.ebuild
similarity index 87%
copy from gui-libs/neatvnc/neatvnc-.ebuild
copy to gui-libs/neatvnc/neatvnc-0.7.0.ebuild
index a07844f06217..e5e117a78e2b 100644
--- a/gui-libs/neatvnc/neatvnc-.ebuild
+++ b/gui-libs/neatvnc/neatvnc-0.7.0.ebuild
@@ -18,7 +18,7 @@ fi
 
 LICENSE="ISC"
 SLOT="0"
-IUSE="examples gbm h264 jpeg ssl test tracing"
+IUSE="examples gbm h264 jpeg ssl test tracing websockets"
 REQUIRED_USE="h264? ( gbm )"
 RESTRICT="!test? ( test )"
 
@@ -34,6 +34,10 @@ RDEPEND="
jpeg? ( media-libs/libjpeg-turbo:= )
ssl? ( net-libs/gnutls:= )
tracing? ( dev-util/systemtap )
+   websockets? (
+   dev-libs/gmp:=
+   dev-libs/nettle:=[gmp]
+   )
 "
 DEPEND="
${RDEPEND}
@@ -49,6 +53,7 @@ src_configure() {
$(meson_use test tests)
$(meson_feature jpeg)
$(meson_feature ssl tls)
+   $(meson_feature websockets nettle)
$(meson_use tracing systemtap)
$(meson_feature gbm)
$(meson_feature h264)

diff --git a/gui-libs/neatvnc/neatvnc-.ebuild 
b/gui-libs/neatvnc/neatvnc-.ebuild
index a07844f06217..e5e117a78e2b 100644
--- a/gui-libs/neatvnc/neatvnc-.ebuild
+++ b/gui-libs/neatvnc/neatvnc-.ebuild
@@ -18,7 +18,7 @@ fi
 
 LICENSE="ISC"
 SLOT="0"
-IUSE="examples gbm h264 jpeg ssl test tracing"
+IUSE="examples gbm h264 jpeg ssl test tracing websockets"
 REQUIRED_USE="h264? ( gbm )"
 RESTRICT="!test? ( test )"
 
@@ -34,6 +34,10 @@ RDEPEND="
jpeg? ( media-libs/libjpeg-turbo:= )
ssl? ( net-libs/gnutls:= )
tracing? ( dev-util/systemtap )
+   websockets? (
+   dev-libs/gmp:=
+   dev-libs/nettle:=[gmp]
+   )
 "
 DEPEND="
${RDEPEND}
@@ -49,6 +53,7 @@ src_configure() {
$(meson_use test tests)
$(meson_feature jpeg)
$(meson_feature ssl tls)
+   $(meson_feature websockets nettle)
$(meson_use tracing systemtap)
$(meson_feature gbm)
$(meson_feature h264)



[gentoo-commits] repo/gentoo:master commit in: sys-apps/inxi/

2023-10-17 Thread Jonas Stein
commit: bd90160aa68d3d7f9af172e837b9f6d2f629cd61
Author: Jonas Stein  gentoo  org>
AuthorDate: Tue Oct 17 21:28:39 2023 +
Commit: Jonas Stein  gentoo  org>
CommitDate: Tue Oct 17 21:28:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd90160a

sys-apps/inxi: add 3.3.30.1

Signed-off-by: Jonas Stein  gentoo.org>

 sys-apps/inxi/Manifest |  1 +
 sys-apps/inxi/inxi-3.3.30.1.ebuild | 32 
 2 files changed, 33 insertions(+)

diff --git a/sys-apps/inxi/Manifest b/sys-apps/inxi/Manifest
index 593fff1cd72a..01945b33d244 100644
--- a/sys-apps/inxi/Manifest
+++ b/sys-apps/inxi/Manifest
@@ -1,3 +1,4 @@
 DIST inxi-3.3.27.1.tar.gz 614167 BLAKE2B 
1a312255340bfe361eb10dd725cc9fb1421d8dfda34ee944347278e4a293cbcb51d1e2b7aa00f26c16286b90f26d3e0f91f68fb4beeb112ecd8f7a3bc86680ff
 SHA512 
f21285d709d8dc7ce393a6c3b43b5ebabb8ef2c55adf43f00935b728a28f502bbcbd8c1482249e872e4623430f01b4e8cf51f0a6790d56fb12147fa125152575
 DIST inxi-3.3.28.1.tar.gz 624472 BLAKE2B 
3d8ac9c21a7531e694e5de3a764906a69ef0c869f1bb4b7b5e5d0b42a74240a141c97401dfe78a85da27e7489d708fbfc4eb568adaab5270388aebd108f29e1a
 SHA512 
6360193cc1f7a71c7329352311fac625e6c80e37c2bd783a78a534ec9712afd7df17b445c652d97415f6162512ede34b32958311b1c5086e899a2aded7a8efd9
 DIST inxi-3.3.29.1.tar.gz 630296 BLAKE2B 
176b20b113b3339f27d2ec16681d652e8ccaefed80c220078fa4e625ad7191cd6ebc9ada049197a858475e5c656b5f74f599ca202e1e47d6682e4cd9049eb763
 SHA512 
09b5a7553ccfd42a3c2e58d4718c487f84bf22df76710a6c42a2a4dd08343279f1d2523652a476ed475c5e019ad5aa02c0886bc40d57de407c9489054f812b5c
+DIST inxi-3.3.30.1.tar.gz 643283 BLAKE2B 
cfcafc643e7e18261fac622df3614e7ad296ec2233ebf6750243d9490e0ca5e8ba3742286a0630ae948d16ac4d09705ffc1b20df666f48ed2c5331a8320919d7
 SHA512 
dba5c23d991bd6fb34eec9c2b6107da4e0ddab202f97e8aa53efb25d446fbe77f5250a9d14f543014f21d2cc614cd4e2d486a9f1fae78dde37ecee418cb763f5

diff --git a/sys-apps/inxi/inxi-3.3.30.1.ebuild 
b/sys-apps/inxi/inxi-3.3.30.1.ebuild
new file mode 100644
index ..1b3918e6aebe
--- /dev/null
+++ b/sys-apps/inxi/inxi-3.3.30.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PV=$(ver_rs 3 '-')
+# 2.3.56 was the last version with no tagged release.
+# It was also the last Bash based release. Later versions are Perl based
+
+DESCRIPTION="The CLI inxi collects and prints hardware and system information"
+HOMEPAGE="https://github.com/smxi/inxi;
+SRC_URI="https://github.com/smxi/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="bluetooth hddtemp opengl"
+
+RDEPEND="dev-lang/perl
+   sys-apps/pciutils
+   sys-apps/usbutils
+   bluetooth? ( net-wireless/bluez )
+   hddtemp? ( app-admin/hddtemp )
+   opengl? ( x11-apps/mesa-progs )
+   "
+
+src_install() {
+   dobin ${PN}
+   doman ${PN}.1
+   dodoc README.txt
+}



[gentoo-commits] repo/gentoo:master commit in: dev-qt/qtbase/

2023-10-17 Thread Ionen Wolkens
commit: adaf5fb78bb93cd496cab023babde1d52b28bdee
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Tue Oct 17 21:16:22 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Oct 17 21:19:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adaf5fb7

dev-qt/qtbase: clarify comment about qtprintsupport/cups

Albeit information remains kind of buried in there, but in case
someone happens to look at it when trying to figure out what
to depend on for qtprintsupport -- aka not [cups] but rather
need [gui,widgets].

Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-qt/qtbase/qtbase-6.5.2-r2.ebuild | 3 ++-
 dev-qt/qtbase/qtbase-6.5.3.ebuild| 3 ++-
 dev-qt/qtbase/qtbase-6.6.0.ebuild| 3 ++-
 dev-qt/qtbase/qtbase-6.6..ebuild | 3 ++-
 dev-qt/qtbase/qtbase-6..ebuild   | 3 ++-
 5 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/dev-qt/qtbase/qtbase-6.5.2-r2.ebuild 
b/dev-qt/qtbase/qtbase-6.5.2-r2.ebuild
index 7ce859ca9b94..511f9d6b0445 100644
--- a/dev-qt/qtbase/qtbase-6.5.2-r2.ebuild
+++ b/dev-qt/qtbase/qtbase-6.5.2-r2.ebuild
@@ -205,7 +205,8 @@ src_configure() {
-DINPUT_opengl=$(usex opengl $(usex gles2-only es2 desktop) no)
-DQT_FEATURE_system_textmarkdownreader=OFF # TODO?: package md4c
) && use widgets && mycmakeargs+=(
-   $(qt_feature cups) # qtprintsupport is enabled w/ gui+widgets
+   # note: qtprintsupport is enabled w/ gui+widgets regardless of 
USE=cups
+   $(qt_feature cups)
$(qt_feature gtk gtk3)
)
 

diff --git a/dev-qt/qtbase/qtbase-6.5.3.ebuild 
b/dev-qt/qtbase/qtbase-6.5.3.ebuild
index ce35f875214a..e58d9d0e80e4 100644
--- a/dev-qt/qtbase/qtbase-6.5.3.ebuild
+++ b/dev-qt/qtbase/qtbase-6.5.3.ebuild
@@ -204,7 +204,8 @@ src_configure() {
-DINPUT_opengl=$(usex opengl $(usex gles2-only es2 desktop) no)
-DQT_FEATURE_system_textmarkdownreader=OFF # TODO?: package md4c
) && use widgets && mycmakeargs+=(
-   $(qt_feature cups) # qtprintsupport is enabled w/ gui+widgets
+   # note: qtprintsupport is enabled w/ gui+widgets regardless of 
USE=cups
+   $(qt_feature cups)
$(qt_feature gtk gtk3)
)
 

diff --git a/dev-qt/qtbase/qtbase-6.6.0.ebuild 
b/dev-qt/qtbase/qtbase-6.6.0.ebuild
index 25600cdad0be..d41f291526d3 100644
--- a/dev-qt/qtbase/qtbase-6.6.0.ebuild
+++ b/dev-qt/qtbase/qtbase-6.6.0.ebuild
@@ -204,7 +204,8 @@ src_configure() {
-DINPUT_opengl=$(usex opengl $(usex gles2-only es2 desktop) no)
-DQT_FEATURE_system_textmarkdownreader=OFF # TODO?: package md4c
) && use widgets && mycmakeargs+=(
-   $(qt_feature cups) # qtprintsupport is enabled w/ gui+widgets
+   # note: qtprintsupport is enabled w/ gui+widgets regardless of 
USE=cups
+   $(qt_feature cups)
$(qt_feature gtk gtk3)
)
 

diff --git a/dev-qt/qtbase/qtbase-6.6..ebuild 
b/dev-qt/qtbase/qtbase-6.6..ebuild
index f75251a83a21..1817d33795df 100644
--- a/dev-qt/qtbase/qtbase-6.6..ebuild
+++ b/dev-qt/qtbase/qtbase-6.6..ebuild
@@ -203,7 +203,8 @@ src_configure() {
-DINPUT_opengl=$(usex opengl $(usex gles2-only es2 desktop) no)
-DQT_FEATURE_system_textmarkdownreader=OFF # TODO?: package md4c
) && use widgets && mycmakeargs+=(
-   $(qt_feature cups) # qtprintsupport is enabled w/ gui+widgets
+   # note: qtprintsupport is enabled w/ gui+widgets regardless of 
USE=cups
+   $(qt_feature cups)
$(qt_feature gtk gtk3)
)
 

diff --git a/dev-qt/qtbase/qtbase-6..ebuild 
b/dev-qt/qtbase/qtbase-6..ebuild
index 6a91e7dac3a2..85ce4a1717ce 100644
--- a/dev-qt/qtbase/qtbase-6..ebuild
+++ b/dev-qt/qtbase/qtbase-6..ebuild
@@ -205,7 +205,8 @@ src_configure() {
-DINPUT_opengl=$(usex opengl $(usex gles2-only es2 desktop) no)
-DQT_FEATURE_system_textmarkdownreader=OFF # TODO?: package md4c
) && use widgets && mycmakeargs+=(
-   $(qt_feature cups) # qtprintsupport is enabled w/ gui+widgets
+   # note: qtprintsupport is enabled w/ gui+widgets regardless of 
USE=cups
+   $(qt_feature cups)
$(qt_feature gtk gtk3)
)
 



[gentoo-commits] repo/gentoo:master commit in: net-vpn/tailscale/

2023-10-17 Thread William Hubbs
commit: 1e6d1108132b9158ccfdeacf15df65b8278204bf
Author: William Hubbs  gentoo  org>
AuthorDate: Tue Oct 17 20:38:56 2023 +
Commit: William Hubbs  gentoo  org>
CommitDate: Tue Oct 17 20:40:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e6d1108

net-vpn/tailscale: fix BDEPEND to require >=go-1.21

Closes: https://bugs.gentoo.org/915905
Signed-off-by: William Hubbs  gentoo.org>

 net-vpn/tailscale/tailscale-1.50.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-vpn/tailscale/tailscale-1.50.1.ebuild 
b/net-vpn/tailscale/tailscale-1.50.1.ebuild
index 0c73b128412b..b66e15e4f4b4 100644
--- a/net-vpn/tailscale/tailscale-1.50.1.ebuild
+++ b/net-vpn/tailscale/tailscale-1.50.1.ebuild
@@ -21,6 +21,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
 
 RDEPEND="net-firewall/iptables"
+BDEPEND=">=dev-lang/go-1.21"
 
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/urllib3/

2023-10-17 Thread Michał Górny
commit: 3443326cf3972dfbfd5f97d00b262ace7700cf1a
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 17 18:57:45 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 17 20:17:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3443326c

dev-python/urllib3: Bump to 1.26.18

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/urllib3/Manifest   |  1 +
 dev-python/urllib3/urllib3-1.26.18.ebuild | 78 +++
 2 files changed, 79 insertions(+)

diff --git a/dev-python/urllib3/Manifest b/dev-python/urllib3/Manifest
index 8d5f1904b444..951612e28ea6 100644
--- a/dev-python/urllib3/Manifest
+++ b/dev-python/urllib3/Manifest
@@ -1,5 +1,6 @@
 DIST urllib3-1.26.16.tar.gz 303733 BLAKE2B 
94c0cfb8696b15ff7aed25927ba584d0d67b150953586ca4d74ddc8f1d0a95ca447a482cf7d0f95728fad1e7e51a610e29c3e342ebe68e65a86789308544ea51
 SHA512 
caa58af5bf49644459a9074be659511b56c5d66802153c72ba2ba2eb9c0aafd56b4cd8f8588964ee7d2a9b16a5e114d62298ab1e128710260ed86f1e315b5571
 DIST urllib3-1.26.17.tar.gz 305031 BLAKE2B 
616b183168a78737988428efa52516586b66cab067d6a257af544c67922156e1e769fbbdd65c8f1ba606f02faa5918e4bafe8c1b27105b8e3f5fe644260d093d
 SHA512 
f26c54def8564981f241a94c915c660d26a52d5437a1e1f4b8ebb6d6cd9de834a31b5816306c2cf2cadc2af00a1633bee97c8bbefa5a45b8e732f7566b4c0327
+DIST urllib3-1.26.18.tar.gz 305687 BLAKE2B 
f2f673761a8d80eee715a8726ba36ab6b09800fd4a4f03f27438553c36072e2abb5ff26cff71dcf30fd114f4d28c4ad9907533965b83c8a0581d3d4661904b70
 SHA512 
c89e93a032bf6b11375c06ef7c5abc1868f93e7655cfdca09e9bd939ad415d206ea159fe151ecd2e5f725e0e18a831c7a5382ad01dbc32264154fc8af7aec156
 DIST urllib3-2.0.4.tar.gz 281517 BLAKE2B 
58635787069b6d8e83394ddacca2c70824c03190efb4e0838b9b80d8e8c1499fa0143e1d38ece4e2a7f9b34d6b50f9805050bf85707d98eb171307ff35f8b215
 SHA512 
64d55714d871716730af5a691fc222722cffc13b0603ecae597e5f4cfd82297beede2b08cedc030b2419bd446f51c4c6e54f466ad96c71dd0848abbf806b4db4
 DIST urllib3-2.0.5.tar.gz 281697 BLAKE2B 
7ae1cc90243cd2069767d4a3f7ca3b96d9e6270f38b363ba2c2cfddeb293cc75782740524bdf91d64bd08dcf1dc44cb9fe6ec2b501d34bdf4c69d893c794382a
 SHA512 
dead3fcda9637c6142b577f051f25578249f7513d3d2bdf4ed880b7a063ff7ee2e946e72b91355328b12205600abc487252ca025f3946408093df46134d9fc12
 DIST urllib3-2.0.6.tar.gz 281846 BLAKE2B 
3af632a77f07d5c686e6412b06d67df5c62517239431ead7d0c7e7bbb5efe06c298db0afda1a84fb314f3e3936edd16aef693ac316a923f67232abf8789b6201
 SHA512 
872a5899ad4486b45fe7a327f029beb5f7d3dd8447b58b861922b32bd15f1cff68d12136f262c2d2d3740047976bc6cff16a54590c1eab19949149e7dae2956a

diff --git a/dev-python/urllib3/urllib3-1.26.18.ebuild 
b/dev-python/urllib3/urllib3-1.26.18.ebuild
new file mode 100644
index ..8d3723a28ac8
--- /dev/null
+++ b/dev-python/urllib3/urllib3-1.26.18.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# please keep this ebuild at EAPI 8 -- sys-apps/portage dep
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_TESTED=( python3_{10..12} pypy3 )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
+PYTHON_REQ_USE="ssl(+)"
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="HTTP library with thread-safe connection pooling, file post, and 
more"
+HOMEPAGE="
+   https://github.com/urllib3/urllib3/
+   https://pypi.org/project/urllib3/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="brotli test"
+RESTRICT="!test? ( test )"
+
+# dev-python/{pyopenssl,cryptography,idna,certifi} are optional runtime
+# dependencies. Do not add them to RDEPEND. They should be unnecessary with
+# modern versions of python (>= 3.2).
+RDEPEND="
+   >=dev-python/PySocks-1.5.8[${PYTHON_USEDEP}]
+   =dev-python/tornado-4.2.1[\${PYTHON_USEDEP}]
+   >=dev-python/trustme-0.5.3[\${PYTHON_USEDEP}]
+   " "${PYTHON_TESTED[@]}")
+   )
+"
+
+src_prepare() {
+   distutils-r1_src_prepare
+
+   # unbundle urllib3
+   rm src/urllib3/packages/six.py || die
+   find -name '*.py' -exec sed -i \
+   -e 's:\([.]*\|urllib3\.\)\?packages\.six:six:g' \
+   -e 's:from \([.]*\|urllib3\.\)\?packages import six:import 
six:g' \
+   {} + || die
+}
+
+python_test() {
+   local -x CI=1
+   if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
+   einfo "Skipping tests on ${EPYTHON}"
+   return
+   fi
+
+   local EPYTEST_DESELECT=(
+   # unstable (relies on warning count)
+   
test/with_dummyserver/test_proxy_poolmanager.py::TestHTTPProxyManager::test_proxy_verified_warning
+   # some random overflow
+   
test/with_dummyserver/test_socketlevel.py::TestSSL::test_requesting_large_resources_via_ssl
+   )
+   has "${EPYTHON}" python3.{8..10} && EPYTEST_DESELECT+=(

[gentoo-commits] repo/gentoo:master commit in: app-doc/casting-spels-emacs/

2023-10-17 Thread Ulrich Müller
commit: 5cf61831fc6bff935c45805069b19316ff75ad1b
Author: Ulrich Müller  gentoo  org>
AuthorDate: Tue Oct 17 20:07:33 2023 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Tue Oct 17 20:10:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cf61831

app-doc/casting-spels-emacs: Update SRC_URI

Convert symlink to relative, other small updates to the ebuild.

Signed-off-by: Ulrich Müller  gentoo.org>

 ...s-19-r3.ebuild => casting-spels-emacs-19-r4.ebuild} | 18 +-
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/app-doc/casting-spels-emacs/casting-spels-emacs-19-r3.ebuild 
b/app-doc/casting-spels-emacs/casting-spels-emacs-19-r4.ebuild
similarity index 64%
rename from app-doc/casting-spels-emacs/casting-spels-emacs-19-r3.ebuild
rename to app-doc/casting-spels-emacs/casting-spels-emacs-19-r4.ebuild
index e3f9c9c18b3c..500d4bfd29b7 100644
--- a/app-doc/casting-spels-emacs/casting-spels-emacs-19-r3.ebuild
+++ b/app-doc/casting-spels-emacs/casting-spels-emacs-19-r4.ebuild
@@ -1,14 +1,14 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit elisp-common
+inherit edos2unix elisp-common
 
 DESCRIPTION="Casting SPELs in Lisp - A Comic Book (Emacs Lisp Edition)"
 
HOMEPAGE="https://www.lisperati.com/casting-spels-emacs/html/casting-spels-emacs-1.html
https://www.gnu.org/software/emacs/casting-spels-emacs/;
-SRC_URI="https://casting-spels-emacs.googlecode.com/files/${PN}-v${PV}.zip;
+SRC_URI="https://web.archive.org/web/20151231165906/https://casting-spels-emacs.googlecode.com/files/${PN}-v${PV}.zip;
 S="${WORKDIR}/${PN}"
 
 LICENSE="GPL-2+ FDL-1.2"
@@ -16,13 +16,13 @@ SLOT="0"
 KEYWORDS="amd64 ~riscv x86"
 
 RDEPEND=">=app-editors/emacs-23.1:*"
-DEPEND="app-arch/unzip"
+BDEPEND="app-arch/unzip"
+
+PATCHES="${FILESDIR}/${P}-require-cl.patch"
 
 src_prepare() {
-   sed -i 's/\r$//' *.txt html/*.html {lisp,test}/*.el || die
-   # needs cl extensions
-   eapply "${FILESDIR}/${P}-require-cl.patch"
-   eapply_user
+   edos2unix *.txt html/*.html {lisp,test}/*.el
+   default
 }
 
 src_install() {
@@ -33,5 +33,5 @@ src_install() {
docinto html/images
dodoc images/*.jpg images/*.png
dosym html/images /usr/share/doc/${PF}/images
-   dosym ${SITELISP}/${PN} /usr/share/doc/${PF}/lisp
+   dosym -r ${SITELISP}/${PN} /usr/share/doc/${PF}/lisp
 }



[gentoo-commits] repo/gentoo:master commit in: net-misc/memcached/

2023-10-17 Thread Matthew Thode
commit: 12598dd8ba5661d5c4954a2eb339c180961c2376
Author: Matthew Thode  gentoo  org>
AuthorDate: Tue Oct 17 19:56:00 2023 +
Commit: Matthew Thode  gentoo  org>
CommitDate: Tue Oct 17 19:56:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12598dd8

net-misc/memcached: add 1.6.22

Signed-off-by: Matthew Thode  gentoo.org>

 net-misc/memcached/Manifest|   1 +
 net-misc/memcached/memcached-1.6.22.ebuild | 104 +
 2 files changed, 105 insertions(+)

diff --git a/net-misc/memcached/Manifest b/net-misc/memcached/Manifest
index ea1ce356c060..39221eead1c1 100644
--- a/net-misc/memcached/Manifest
+++ b/net-misc/memcached/Manifest
@@ -2,3 +2,4 @@ DIST memcached-1.6.18.tar.gz 1081928 BLAKE2B 
edfaf02cdd3b13930d473fbc4475484602b
 DIST memcached-1.6.19.tar.gz 2599941 BLAKE2B 
a66eef916b1d540558cf6487363b95a4228784d921bc0987da803c8d3897ad2ef22ef9949d95251b92b98390d900d4ca26a88862cbf33b8e5d624f3f32cb00d2
 SHA512 
60d93065e0ef2b17e9da5370a497a4fbfc64c0af70e14fdfdab60c0c94c0b19e30da31d615e19565474c278141a4cb401c65fd79bd70947dd96a9fee81824a74
 DIST memcached-1.6.20.tar.gz 2615902 BLAKE2B 
3baa0b2c72619104f43dce6e19b4ae7f54da8342dbdebc06bdd03b5c63bc0133bed71800d8b890d7eb6745a19799fdfd2f1d9f1636bc109ad8827f828639f304
 SHA512 
518784e7ea1f919e3cd67afe394c9435b18f63b612e528d12f554a806ee479139db08ee8ab8e176ee0e88cee6e732cf311fbe6942fc0ca5b1a2286638e1cfcb9
 DIST memcached-1.6.21.tar.gz 1127623 BLAKE2B 
13feb4872f5d196c1c3ded0159c16c2b09661b95f2486fbffb012d3f0bc86a94cbcf82aea9d4e59a9beac7cc4251fb60efd9e2f4c066831cb9b582bd44631d28
 SHA512 
9d8ba8964474e7ed40095e414747a3ce76860ee32b9d8bac19fc7932a79d4bb9947e4cbe810933b6d271f4b0ee5576e25089ca40f414b25faf9245733bfbd369
+DIST memcached-1.6.22.tar.gz 1135926 BLAKE2B 
872594e087e2302ac7901481797aa6fda98a73e39b8ad64e084c87834e86d7026abcdc3a87b016d0c7eb80bc96621ac9a0da8fcc0b46fc93e7c042cc30848cac
 SHA512 
a30adc4f14c32051d2fc112eaa71de96f7ba614bd7f940ab5dd86365fe5e4df1399fa6fe6591cee903c8b914f2156050edef3139bafe38cd4a2b6424ba973e8e

diff --git a/net-misc/memcached/memcached-1.6.22.ebuild 
b/net-misc/memcached/memcached-1.6.22.ebuild
new file mode 100644
index ..53e00ffd929c
--- /dev/null
+++ b/net-misc/memcached/memcached-1.6.22.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic systemd
+
+MY_PV="${PV/_rc/-rc}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="High-performance, distributed memory object caching system"
+HOMEPAGE="http://memcached.org/;
+SRC_URI="https://www.memcached.org/files/${MY_P}.tar.gz
+   https://www.memcached.org/files/old/${MY_P}.tar.gz;
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="debug sasl seccomp selinux slabs-reassign ssl test" # hugetlbfs later
+
+RDEPEND=">=dev-libs/libevent-1.4:=
+   dev-lang/perl
+   sasl? ( dev-libs/cyrus-sasl )
+   seccomp? ( sys-libs/libseccomp )
+   selinux? ( sec-policy/selinux-memcached )
+   ssl? ( >=dev-libs/openssl-1.1.0g:= )"
+DEPEND="${RDEPEND}
+   acct-user/memcached
+   test? ( virtual/perl-Test-Harness >=dev-perl/Cache-Memcached-1.24 ssl? 
( dev-perl/IO-Socket-SSL ) )"
+
+S="${WORKDIR}/${MY_P}"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-1.4.0-fix-as-needed-linking.patch"
+   "${FILESDIR}/${PN}-1.4.17-EWOULDBLOCK.patch"
+)
+
+src_prepare() {
+   default
+
+   sed -i -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,' configure.ac || die
+
+   eautoreconf
+
+   use slabs-reassign && append-flags -DALLOW_SLABS_REASSIGN
+
+   # Tweak upstream systemd unit to use Gentoo variables/envfile.
+   # As noted by bug #587440
+   sed -i -e '/^ExecStart/{
+   s,{USER},{MEMCACHED_RUNAS},g;
+   s,{CACHESIZE},{MEMUSAGE},g;
+   s,OPTIONS,MISC_OPTS,g;
+   };
+   /Environment=/{s,OPTIONS,MISC_OPTS,g;};
+   /EnvironmentFile=/{s,/sysconfig/,/conf.d/,g;};
+   ' \
+   "${S}"/scripts/memcached.service
+}
+
+src_configure() {
+   econf \
+   --disable-docs \
+   --disable-werror \
+   $(use_enable sasl) \
+   $(use_enable ssl tls)
+   # The xml2rfc tool to build the additional docs requires TCL :-(
+   # `use_enable doc docs`
+}
+
+src_compile() {
+   # There is a heavy degree of per-object compile flags
+   # Users do NOT know better than upstream. Trying to compile the testapp 
and
+   # the -debug version with -DNDEBUG _WILL_ fail.
+   append-flags -UNDEBUG -pthread
+   emake testapp memcached-debug CFLAGS="${CFLAGS}"
+
+   filter-flags -UNDEBUG
+   emake
+}
+
+src_test() {
+   emake -j1 test
+}
+
+src_install() {
+   emake 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/leatherman/

2023-10-17 Thread Matthew Thode
commit: be479976e8383a302348a5369cb8a74678f72f1f
Author: Matthew Thode  gentoo  org>
AuthorDate: Tue Oct 17 19:54:40 2023 +
Commit: Matthew Thode  gentoo  org>
CommitDate: Tue Oct 17 19:54:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be479976

dev-libs/leatherman: add 1.12.10

Signed-off-by: Matthew Thode  gentoo.org>

 dev-libs/leatherman/Manifest  |  1 +
 dev-libs/leatherman/leatherman-1.12.10.ebuild | 56 +++
 2 files changed, 57 insertions(+)

diff --git a/dev-libs/leatherman/Manifest b/dev-libs/leatherman/Manifest
index 33986a6e4938..de686d57f6ca 100644
--- a/dev-libs/leatherman/Manifest
+++ b/dev-libs/leatherman/Manifest
@@ -1 +1,2 @@
+DIST leatherman-1.12.10.tar.gz 816708 BLAKE2B 
65c606c548a0394b6a1619d26f1814ea9a9ab2a3b40346ed9a1805291a9df90227f9f7cb37758fcb7f778a1f28e56fd8bf395c335125e1ede7e1455b1c70c0e5
 SHA512 
c9882553906287c27d79e9f3df8af96a77fdf9a0fc0fdadc26105eed3fd6da3f598344a9a0671cc0a1c70cea29402fb0ca76deff1a1a4b9fd9979815917c62fc
 DIST leatherman-1.12.9.tar.gz 816107 BLAKE2B 
1c2e50767585a30da40fdacde0aa8655cefc2a41cadd24a7689be5da0afcbe8627293d37780442873907996f01401b46340a3d7be5d9b2a65b2f87191daca6c3
 SHA512 
e69f2b0c04a1cbd20e097abcc020e7b27fb74f168207fcbcffce9fd0edd1760acc75d5c5f645d3a798f106e129ce73e512f0c11699733475b290dfc876de0565

diff --git a/dev-libs/leatherman/leatherman-1.12.10.ebuild 
b/dev-libs/leatherman/leatherman-1.12.10.ebuild
new file mode 100644
index ..3e6283afc0c3
--- /dev/null
+++ b/dev-libs/leatherman/leatherman-1.12.10.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="A C++ toolkit"
+HOMEPAGE="https://github.com/puppetlabs/leatherman;
+SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="debug static-libs test"
+#RESTRICT="!test? ( test )"
+RESTRICT="test"  # restricted til we don't need the shared_nowide patch
+
+RDEPEND="dev-libs/boost:=[nls]
+   net-misc/curl"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/portage-sandbox-test-fix.patch
+   "${FILESDIR}"/1.12.2-shared_nowide.patch
+)
+
+src_prepare() {
+   sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || die
+   # vendored boost lib conflicts with boost 1.73 and above
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DCMAKE_VERBOSE_MAKEFILE=ON
+   -DCMAKE_BUILD_TYPE=None
+   -DLEATHERMAN_ENABLE_TESTING=$(usex test)
+   # We depend on Boost with nls, so this is always true
+   -DLEATHERMAN_USE_ICU=ON
+
+   -DLEATHERMAN_SHARED=$(usex !static-libs)
+   )
+
+   if use debug; then
+   mycmakeargs+=(
+   -DCMAKE_BUILD_TYPE=Debug
+   )
+   fi
+
+   cmake_src_configure
+}
+
+src_test() {
+   "${WORKDIR}/${P}"_build/bin/leatherman_test || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/

2023-10-17 Thread William Hubbs
commit: c243a7583108ba9da36a83627832f794ef904619
Author: William Hubbs  gentoo  org>
AuthorDate: Tue Oct 17 19:43:14 2023 +
Commit: William Hubbs  gentoo  org>
CommitDate: Tue Oct 17 19:43:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c243a758

dev-lang/go: stabilize 1.20.10 for amd64, #915900

Signed-off-by: William Hubbs  gentoo.org>

 dev-lang/go/go-1.20.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/go/go-1.20.10.ebuild b/dev-lang/go/go-1.20.10.ebuild
index ee74dcbc30da..81e0cc05f36e 100644
--- a/dev-lang/go/go-1.20.10.ebuild
+++ b/dev-lang/go/go-1.20.10.ebuild
@@ -23,7 +23,7 @@ case ${PV}  in
case ${PV} in
*_beta*|*_rc*) ;;
*)
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv 
~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="-* amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 
~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
;;
esac
 esac



[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/

2023-10-17 Thread William Hubbs
commit: a1a1d4fa62a760940e82b56d82cf1e909ffd83d5
Author: William Hubbs  gentoo  org>
AuthorDate: Tue Oct 17 19:44:57 2023 +
Commit: William Hubbs  gentoo  org>
CommitDate: Tue Oct 17 19:45:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1a1d4fa

dev-lang/go: stabilize 1.21.3 for amd64, #915900

Signed-off-by: William Hubbs  gentoo.org>

 dev-lang/go/go-1.21.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/go/go-1.21.3.ebuild b/dev-lang/go/go-1.21.3.ebuild
index f57144c11909..1ad3f323c8a9 100644
--- a/dev-lang/go/go-1.21.3.ebuild
+++ b/dev-lang/go/go-1.21.3.ebuild
@@ -23,7 +23,7 @@ case ${PV}  in
case ${PV} in
*_beta*|*_rc*) ;;
*)
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv 
~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="-* amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 
~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
;;
esac
 esac



[gentoo-commits] repo/gentoo:master commit in: dev-lang/lua/

2023-10-17 Thread Sam James
commit: 7c4d1adc59340281050875aaf8cad24b0e5b3cf0
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Tue Oct 17 17:49:46 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct 17 19:24:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c4d1adc

dev-lang/lua: stable 5.4.6 for sparc, bug #914335

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sam James  gentoo.org>

 dev-lang/lua/lua-5.4.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/lua/lua-5.4.6.ebuild b/dev-lang/lua/lua-5.4.6.ebuild
index c5d1c9109b73..8e723e6781d6 100644
--- a/dev-lang/lua/lua-5.4.6.ebuild
+++ b/dev-lang/lua/lua-5.4.6.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://dev.gentoo.org/~soap/distfiles/${P}.tar.xz;
 
 LICENSE="MIT"
 SLOT="5.4"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x64-solaris"
 IUSE="+deprecated readline"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/abseil-cpp/

2023-10-17 Thread Sam James
commit: 13639579c7ed29ed3e8794e39aefef8321e7e4f5
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct 17 19:22:06 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct 17 19:22:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13639579

dev-cpp/abseil-cpp: destabilize 20230802.0 for ~amd64, ~arm64, ~x86

This version was stabled prematurely. Many blockers remain for new 
protobuf/abseil.

Bug: https://bugs.gentoo.org/915160
Signed-off-by: Sam James  gentoo.org>

 dev-cpp/abseil-cpp/abseil-cpp-20230802.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/abseil-cpp/abseil-cpp-20230802.0.ebuild 
b/dev-cpp/abseil-cpp/abseil-cpp-20230802.0.ebuild
index 4002c7034f58..bf2a6afad44c 100644
--- a/dev-cpp/abseil-cpp/abseil-cpp-20230802.0.ebuild
+++ b/dev-cpp/abseil-cpp/abseil-cpp-20230802.0.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/abseil/abseil-cpp/archive/${PV}.tar.gz -> ${P}.tar.g
 
 LICENSE="Apache-2.0"
 SLOT="0/${PV%%.*}"
-KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~sparc ~x86"
 IUSE="test"
 
 DEPEND=""



[gentoo-commits] repo/gentoo:master commit in: app-emulation/virtualbox/

2023-10-17 Thread Sam James
commit: cdc8c857dd93dd2439643df69c5090d6c8f1b6f7
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct 17 19:22:45 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct 17 19:22:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdc8c857

app-emulation/virtualbox: Stabilize 7.0.10-r1 amd64, #915232

Signed-off-by: Sam James  gentoo.org>

 app-emulation/virtualbox/virtualbox-7.0.10-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emulation/virtualbox/virtualbox-7.0.10-r1.ebuild 
b/app-emulation/virtualbox/virtualbox-7.0.10-r1.ebuild
index e6d12f343761..a129c9b3e3dd 100644
--- a/app-emulation/virtualbox/virtualbox-7.0.10-r1.ebuild
+++ b/app-emulation/virtualbox/virtualbox-7.0.10-r1.ebuild
@@ -34,7 +34,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="GPL-2+ GPL-3 LGPL-2.1 MIT dtrace? ( CDDL )"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE="alsa dbus debug doc dtrace +gui java lvm nls pam pch pulseaudio +opengl 
python +sdk +sdl +udev vboxwebsrv vde vnc"
 
 unset WATCOM #856769



[gentoo-commits] repo/gentoo:master commit in: dev-python/cfn-lint/

2023-10-17 Thread Michał Górny
commit: e6ccb168efc6a8f913ff948a128fcdebfff4019b
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 17 18:31:44 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 17 18:57:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6ccb168

dev-python/cfn-lint: Bump to 0.82.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/cfn-lint/Manifest   |  1 +
 dev-python/cfn-lint/cfn-lint-0.82.0.ebuild | 65 ++
 2 files changed, 66 insertions(+)

diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest
index 95ed92246d5b..50716ec45794 100644
--- a/dev-python/cfn-lint/Manifest
+++ b/dev-python/cfn-lint/Manifest
@@ -1,3 +1,4 @@
 DIST cfn-lint-0.80.3.tar.gz 3685775 BLAKE2B 
3b8d233e64d2060b124eb560aa963c3ae06a53a68f0e2ad1e7824a4b136ba0bb3ab2c7a3b5bcd72e3350531672cd1da4b98ad8bd1348b6efc80a8adce7e276a8
 SHA512 
d5afd13db145200d4ca9679a41436b48e92e391db2c5a9f60feffbe735a3ef013b11f2d2bdee4fa04da862b99cabf5a4aa62648418ce68eeddc9dff0f95235c1
 DIST cfn-lint-0.80.4.tar.gz 3657880 BLAKE2B 
8507c2381bfb7e7f796eb8fbc505bbda48bdb217d9357063289d66307140914dce7d40de8851b0459e6f6154bc3e09d4d0e30da5e1f1cdcf0fad6e8f8b00f3d3
 SHA512 
a09954b014d2cf677b97012b2635345f94cefbe227f4040eed80aad5ee602daa2542a636295a4c90ad60bcf4e8eb9015a5b9de75c72ffcb903a6ec460a22267e
 DIST cfn-lint-0.81.0.tar.gz 3688759 BLAKE2B 
595429d5891b5a4b563645c2b3ba55e8c79179419de73bbaf7298462c40431074ac4c31c7b4fabd037ed252771f3961a006cc2ea4095b79bf0e7dab4c952b4d3
 SHA512 
cbc4a7183c147df9c057420dd9f407762fd79a76447212a4c8ae183c3915061b2a93d3d1cc18a733ac809a81463b1f8cab68b031af50c56441b269c559abf7c0
+DIST cfn-lint-0.82.0.tar.gz 3714744 BLAKE2B 
adaf9e7482983f6585d9ae83979d3066533eeb6192019b621e206d144fbbb0ae0bcb9f3f70602d41cc3958218130ecdbc54eeb7f54f645c729cef1eb31bd9aae
 SHA512 
68c90bb34be029c635f0e1caede46560b011d92a149b701fb3e2aa5794462a9e28addd4489e9fde06df110684728a7dbb9c383a37d7510e076a30d5b7d653cd9

diff --git a/dev-python/cfn-lint/cfn-lint-0.82.0.ebuild 
b/dev-python/cfn-lint/cfn-lint-0.82.0.ebuild
new file mode 100644
index ..ed0ce9f3
--- /dev/null
+++ b/dev-python/cfn-lint/cfn-lint-0.82.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="CloudFormation Linter"
+HOMEPAGE="
+   https://github.com/aws-cloudformation/cfn-lint/
+   https://pypi.org/project/cfn-lint/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+RDEPEND="
+   >=dev-python/aws-sam-translator-1.75.0[${PYTHON_USEDEP}]
+   dev-python/jsonpatch[${PYTHON_USEDEP}]
+   >=dev-python/jschema_to_python-1.2.3[${PYTHON_USEDEP}]
+   =dev-python/jsonschema-3.0[${PYTHON_USEDEP}]
+   dev-python/junit-xml[${PYTHON_USEDEP}]
+   dev-python/pyyaml-5.4[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.15.0[${PYTHON_USEDEP}]
+   >=dev-python/regex-2021.7.1[${PYTHON_USEDEP}]
+   >=dev-python/sarif_om-1.0.4[${PYTHON_USEDEP}]
+   >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+   # unpin the deps
+   sed -e 's:~=[0-9.]*::' -i setup.py || die
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # TODO
+   
test/unit/module/test_template.py::TestTemplate::test_build_graph
+   # requires git repo
+   
test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs
+   # Internet
+   
test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter
+   
test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3
+   # TODO: it looks as if AWS_DEFAULT_REGION didn't work
+   test/unit/module/core/test_run_cli.py::TestCli::test_bad_config
+   
test/unit/module/core/test_run_cli.py::TestCli::test_override_parameters
+   
test/unit/module/core/test_run_cli.py::TestCli::test_positional_template_parameters
+   
test/unit/module/core/test_run_cli.py::TestCli::test_template_config
+   )
+
+   # from tox.ini
+   local -x AWS_DEFAULT_REGION=us-east-1
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/mkdocs-material-extensions/

2023-10-17 Thread Michał Górny
commit: fcdaf9a856e0de6d5520309f92e8c7e728f51fbe
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 17 18:43:01 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 17 18:57:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcdaf9a8

dev-python/mkdocs-material-extensions: Bump to 1.3

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/mkdocs-material-extensions/Manifest |  1 +
 .../mkdocs-material-extensions-1.3.ebuild  | 34 ++
 2 files changed, 35 insertions(+)

diff --git a/dev-python/mkdocs-material-extensions/Manifest 
b/dev-python/mkdocs-material-extensions/Manifest
index 36a003d68f52..3be347f87e1f 100644
--- a/dev-python/mkdocs-material-extensions/Manifest
+++ b/dev-python/mkdocs-material-extensions/Manifest
@@ -1 +1,2 @@
 DIST mkdocs-material-extensions-1.2.gh.tar.gz 11971 BLAKE2B 
eeaf2743c0431a27dc51ad3e00075e5fefec7429ef909d22c95e87cf6333256eec8a6cff16a646c846c0ccdf4414df73ef87d67542d2817d6d49295b4df9066a
 SHA512 
b97deabb35c817b6c1001a3595662abebe78a8e6053887c073af004cd1382320c1a3cad9032de4664615124d493a113d4bc455fe9d945df0bf4857d299b6cc86
+DIST mkdocs-material-extensions-1.3.gh.tar.gz 12636 BLAKE2B 
a92472351bf7ac215df66ff06b0d5248302888a2baca1e664433a329351d7dff5bdda4121d23f1a91204357dd301ba0ca8b40a9c572f339201e4d0659851e2cf
 SHA512 
145fe425e051882105d8e99e71b3989ad6a965a8cf8335c823807bc71e1d19cee847e9c4cf8408549aa3d2d1385724f272ff2a14f8f95945589c9e1d5acd1ed2

diff --git 
a/dev-python/mkdocs-material-extensions/mkdocs-material-extensions-1.3.ebuild 
b/dev-python/mkdocs-material-extensions/mkdocs-material-extensions-1.3.ebuild
new file mode 100644
index ..6be1981c1a7a
--- /dev/null
+++ 
b/dev-python/mkdocs-material-extensions/mkdocs-material-extensions-1.3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Extension pack for Python Markdown"
+HOMEPAGE="
+   https://github.com/facelessuser/mkdocs-material-extensions/
+   https://pypi.org/project/mkdocs-material-extensions/
+"
+SRC_URI="
+   https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+   >=dev-python/mkdocs-material-5.0.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/urllib3/

2023-10-17 Thread Michał Górny
commit: 353d5fe7d818f5b76ff835051fbc15e33dea0ed8
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 17 18:26:59 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 17 18:56:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=353d5fe7

dev-python/urllib3: Bump to 2.0.7

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/urllib3/Manifest |  1 +
 dev-python/urllib3/urllib3-2.0.7.ebuild | 87 +
 2 files changed, 88 insertions(+)

diff --git a/dev-python/urllib3/Manifest b/dev-python/urllib3/Manifest
index 999e6a2d2ca9..8d5f1904b444 100644
--- a/dev-python/urllib3/Manifest
+++ b/dev-python/urllib3/Manifest
@@ -3,3 +3,4 @@ DIST urllib3-1.26.17.tar.gz 305031 BLAKE2B 
616b183168a78737988428efa52516586b66c
 DIST urllib3-2.0.4.tar.gz 281517 BLAKE2B 
58635787069b6d8e83394ddacca2c70824c03190efb4e0838b9b80d8e8c1499fa0143e1d38ece4e2a7f9b34d6b50f9805050bf85707d98eb171307ff35f8b215
 SHA512 
64d55714d871716730af5a691fc222722cffc13b0603ecae597e5f4cfd82297beede2b08cedc030b2419bd446f51c4c6e54f466ad96c71dd0848abbf806b4db4
 DIST urllib3-2.0.5.tar.gz 281697 BLAKE2B 
7ae1cc90243cd2069767d4a3f7ca3b96d9e6270f38b363ba2c2cfddeb293cc75782740524bdf91d64bd08dcf1dc44cb9fe6ec2b501d34bdf4c69d893c794382a
 SHA512 
dead3fcda9637c6142b577f051f25578249f7513d3d2bdf4ed880b7a063ff7ee2e946e72b91355328b12205600abc487252ca025f3946408093df46134d9fc12
 DIST urllib3-2.0.6.tar.gz 281846 BLAKE2B 
3af632a77f07d5c686e6412b06d67df5c62517239431ead7d0c7e7bbb5efe06c298db0afda1a84fb314f3e3936edd16aef693ac316a923f67232abf8789b6201
 SHA512 
872a5899ad4486b45fe7a327f029beb5f7d3dd8447b58b861922b32bd15f1cff68d12136f262c2d2d3740047976bc6cff16a54590c1eab19949149e7dae2956a
+DIST urllib3-2.0.7.tar.gz 282546 BLAKE2B 
d4fbb9e1d0b6d1f3c3d71efc3fc479c7b1c49f87ca849c387701fb0c8b4124082de6d83d958c8b2afc225a84b80e7665df857e7b0918ba50e4ad1431f8facc4d
 SHA512 
ca21dd330cfc7f53e6f00a92be1df1d24acbe61b6ca31c52a272dccd6f50d1bb797eece9132860adc84c21a9bebc3030a12816081451fcb8384c11a6cd2d1e8b

diff --git a/dev-python/urllib3/urllib3-2.0.7.ebuild 
b/dev-python/urllib3/urllib3-2.0.7.ebuild
new file mode 100644
index ..32852e31e793
--- /dev/null
+++ b/dev-python/urllib3/urllib3-2.0.7.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# please keep this ebuild at EAPI 8 -- sys-apps/portage dep
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_TESTED=( python3_{10..12} pypy3 )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
+PYTHON_REQ_USE="ssl(+)"
+
+inherit distutils-r1 multiprocessing pypi
+
+DESCRIPTION="HTTP library with thread-safe connection pooling, file post, and 
more"
+HOMEPAGE="
+   https://github.com/urllib3/urllib3/
+   https://pypi.org/project/urllib3/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos 
~x64-solaris"
+IUSE="brotli test zstd"
+RESTRICT="!test? ( test )"
+
+# [secure] extra is deprecated and slated for removal, we don't need it:
+# https://github.com/urllib3/urllib3/issues/2680
+RDEPEND="
+   >=dev-python/PySocks-1.5.8[${PYTHON_USEDEP}]
+   =dev-python/brotlicffi-0.8.0[${PYTHON_USEDEP}] )
+   zstd? ( >=dev-python/zstandard-0.18.0[${PYTHON_USEDEP}] )
+"
+BDEPEND="
+   test? (
+   $(python_gen_cond_dep "
+   ${RDEPEND}
+   dev-python/brotlicffi[\${PYTHON_USEDEP}]
+   dev-python/freezegun[\${PYTHON_USEDEP}]
+   dev-python/pytest[\${PYTHON_USEDEP}]
+   dev-python/pytest-rerunfailures[\${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[\${PYTHON_USEDEP}]
+   >=dev-python/tornado-4.2.1[\${PYTHON_USEDEP}]
+   >=dev-python/trustme-0.5.3[\${PYTHON_USEDEP}]
+   >=dev-python/zstandard-0.18.0[\${PYTHON_USEDEP}]
+   " "${PYTHON_TESTED[@]}")
+   )
+"
+
+src_prepare() {
+   # upstream considers 0.5 s to be "long" for a timeout
+   # we get tons of test failures on *fast* systems because of that
+   sed -i -e '/LONG_TIMEOUT/s:0.5:5:' test/__init__.py || die
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   local -x CI=1
+   if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
+   einfo "Skipping tests on ${EPYTHON}"
+   return
+   fi
+
+   local EPYTEST_DESELECT=(
+   # take forever
+   
test/contrib/test_pyopenssl.py::TestSocketSSL::test_requesting_large_resources_via_ssl
+   
test/with_dummyserver/test_socketlevel.py::TestSSL::test_requesting_large_resources_via_ssl
+   # stupid test, next bump please verify if they fixed it
+   
test/test_poolmanager.py::TestPoolManager::test_deprecated_no_scheme
+   # 

[gentoo-commits] repo/gentoo:master commit in: dev-python/GitPython/

2023-10-17 Thread Michał Górny
commit: 09a221199f010d05b9824c82202abd1aef866e99
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 17 18:41:58 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 17 18:57:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09a22119

dev-python/GitPython: Bump to 3.1.38

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/GitPython/GitPython-3.1.38.ebuild | 84 
 dev-python/GitPython/Manifest|  2 +
 2 files changed, 86 insertions(+)

diff --git a/dev-python/GitPython/GitPython-3.1.38.ebuild 
b/dev-python/GitPython/GitPython-3.1.38.ebuild
new file mode 100644
index ..cc252e9af748
--- /dev/null
+++ b/dev-python/GitPython/GitPython-3.1.38.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1 pypi
+
+TEST_P=GitPython-${PV}
+GITDB_P=gitdb-4.0.10
+SMMAP_P=smmap-5.0.0_p1
+
+DESCRIPTION="Library used to interact with Git repositories"
+HOMEPAGE="
+   https://github.com/gitpython-developers/GitPython/
+   https://pypi.org/project/GitPython/
+"
+SRC_URI+="
+   test? (
+   https://dev.gentoo.org/~mgorny/dist/${TEST_P}.gitbundle
+   https://dev.gentoo.org/~mgorny/dist/${GITDB_P}.gitbundle
+   https://dev.gentoo.org/~mgorny/dist/${SMMAP_P}.gitbundle
+   )
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+   dev-vcs/git
+   >=dev-python/gitdb-4.0.1[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   >=dev-python/ddt-1.1.1[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+src_test() {
+   git config --global user.email "tra...@ci.com" || die
+   git config --global user.name "Travis Runner" || die
+
+   git clone "${DISTDIR}/${TEST_P}.gitbundle" "${T}"/test || die
+   git clone "${DISTDIR}/${GITDB_P}.gitbundle" \
+   "${T}"/test/git/ext/gitdb || die
+   git clone "${DISTDIR}/${SMMAP_P}.gitbundle" \
+   "${T}"/test/git/ext/gitdb/gitdb/ext/smmap || die
+
+   cd "${T}"/test || die
+   git rev-parse HEAD > .git/refs/remotes/origin/master || die
+   TRAVIS=1 ./init-tests-after-clone.sh || die
+   cat test/fixtures/.gitconfig >> ~/.gitconfig || die
+
+   distutils-r1_src_test
+}
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # performance tests are unreliable by design
+   test/performance
+   # unimpoortant and problematic
+   test/test_installation.py
+   # Internet
+   test/test_repo.py::TestRepo::test_leaking_password_in_clone_logs
+   test/test_quick_doc.py::QuickDoc::test_cloned_repo_object
+   # requires which(1)
+   # https://github.com/gitpython-developers/GitPython/pull/1525
+   test/test_git.py::TestGit::test_refresh
+   # TODO
+   test/test_submodule.py::TestSubmodule::test_base_rw
+   
test/test_submodule.py::TestSubmodule::test_git_submodules_and_add_sm_with_new_commit
+   
test/test_submodule.py::TestSubmodule::test_list_only_valid_submodules
+   test/test_submodule.py::TestSubmodule::test_root_module
+   )
+
+   epytest -o addopts= test
+}

diff --git a/dev-python/GitPython/Manifest b/dev-python/GitPython/Manifest
index 70a5a1d65ca3..3ff48331f5b2 100644
--- a/dev-python/GitPython/Manifest
+++ b/dev-python/GitPython/Manifest
@@ -1,4 +1,6 @@
 DIST GitPython-3.1.37.gitbundle 9744035 BLAKE2B 
57f16e0ebfdf6e2078c8a8fa220185add124431491b0959649c5fca8cf234cf4f3bb86b46937a04de33b5600a3c50dc2c46acff69dfbb03973d48663f8a45bc8
 SHA512 
b18e2cc7f97f82ba7f36181bb76bb58797ac0c13043f44b9ffdb31523ffafd37cc916986a8a358c85c867937145ad58da052bf650fd346fdacc80b89feeb8d8c
 DIST GitPython-3.1.37.tar.gz 200076 BLAKE2B 
b5db83f6712a94464fec98229af739ca7eb71eb47bd03164e94bb680c03bd84e49c7956e3a58937464c6fd6e4254a24d5e89150f40a59c5d101d7e56daca8fba
 SHA512 
c036b5a12b2839a152d21cc6163445c067d70b18984888e799b0900449bea0a5290f6520fae5cab83fb8553af9c6bb0150c9b28103311deecb3686de30dd35f1
+DIST GitPython-3.1.38.gitbundle 9830368 BLAKE2B 
4a0e5c9f7f859b49d36d8d8deef79aa59615698416586d2802d428d21b959bd80da7888f51db4833f35e2cc63d56ef9188a59916693af484e6e6ccc4c6b9
 SHA512 
5fff695ac828bb0495fb8dd9bc75f57e44d721ad8010577d567c34638e75855d22ce6560649cebe26a84f1baa0f245b82b9369e19ce6e3af36eadcfd51049c23
+DIST GitPython-3.1.38.tar.gz 200632 BLAKE2B 
56c9b0f96c70e9f021d9830b220a43902de58271c38b25886c93d33706bd5a4dd081ca3cc3c126c7d5da24ed715a36b570b7a81f9d71aa3c1bfc77f2f7865730
 SHA512 

[gentoo-commits] repo/gentoo:master commit in: dev-python/notebook/

2023-10-17 Thread Michał Górny
commit: 268c10fcf3929b56e1924557960c530aad6cc468
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 17 18:40:18 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 17 18:57:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=268c10fc

dev-python/notebook: Bump to 7.0.6

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/notebook/Manifest  |  1 +
 dev-python/notebook/notebook-7.0.6.ebuild | 62 +++
 2 files changed, 63 insertions(+)

diff --git a/dev-python/notebook/Manifest b/dev-python/notebook/Manifest
index ede9c4489d74..159ecc78fb8c 100644
--- a/dev-python/notebook/Manifest
+++ b/dev-python/notebook/Manifest
@@ -1,2 +1,3 @@
 DIST notebook-7.0.4.tar.gz 3928907 BLAKE2B 
edd498636d35f348f520915d43686243a3ff4b2f8ad4984bc05766403a3bffcd699e1ba691b672ad3ab8f08983920f62a1c5b0308a94e4a7366eb30e049f5d43
 SHA512 
e174fcbb93fcaf67c086b2160d7875457681222e21c23efbf35d4c7503e528df3b368b4d122eebf199a86ea155cf3e6b7b15036587bb9b4260a8d22e7e4a9f0b
 DIST notebook-7.0.5.tar.gz 3929774 BLAKE2B 
8e52bb73c29fb73b57a733f41c71392d08547df95f16bd1571e321c888a6399127b398214b333ec4fa713ce751b918c974486b5d2ba7d4d045ff43722e68b552
 SHA512 
3abc4fe2c017b1dc05f549a0397487cdfe66f40cd29e26b540942424b721ce985cf6e4196faa16f857ead5a1820dfcf4a2a92db3bb79553e8f288ceae042de79
+DIST notebook-7.0.6.tar.gz 3930144 BLAKE2B 
488689b34b61c37f2233d57d6ef75b3bf843e2340846e88593a6b49d88fc52f908126d2e718808451df1f8cc6f9a5624adef47c1ae4984cd2ff5ed535d47cb37
 SHA512 
9f9ac4fae93af425a442c25c8a601578a76c802cc50018a6ff6ef99fbabfe3fb649094625dbdda2b7c526cb7262d2c463745b006d35cc1834d40712f3820895b

diff --git a/dev-python/notebook/notebook-7.0.6.ebuild 
b/dev-python/notebook/notebook-7.0.6.ebuild
new file mode 100644
index ..991606132cdb
--- /dev/null
+++ b/dev-python/notebook/notebook-7.0.6.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1 pypi xdg-utils
+
+DESCRIPTION="Jupyter Interactive Notebook"
+HOMEPAGE="
+   https://jupyter.org/
+   https://github.com/jupyter/notebook/
+   https://pypi.org/project/notebook/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+   >=dev-python/jupyter-server-2.4.0[${PYTHON_USEDEP}]
+   =dev-python/jupyterlab-4.0.2[${PYTHON_USEDEP}]
+   =dev-python/notebook-shim-0.2[${PYTHON_USEDEP}]
+   =dev-python/tornado-6.2.0[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+   dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}]
+   test? (
+   dev-python/ipykernel[${PYTHON_USEDEP}]
+   dev-python/nbval[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+   dev-python/requests-unixsocket[${PYTHON_USEDEP}]
+   dev-python/pytest-console-scripts[${PYTHON_USEDEP}]
+   dev-python/pytest-jupyter[${PYTHON_USEDEP}]
+   dev-python/pytest-timeout[${PYTHON_USEDEP}]
+   dev-python/pytest-tornasync[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_install_all() {
+   distutils-r1_python_install_all
+   mv "${ED}/usr/etc" "${ED}/etc" || die
+}
+
+pkg_postinst() {
+   xdg_desktop_database_update
+   xdg_icon_cache_update
+}
+
+pkg_postrm() {
+   xdg_desktop_database_update
+   xdg_icon_cache_update
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/phonenumbers/

2023-10-17 Thread Michał Górny
commit: 467bf9c80a33454fed2d65dd04600361e809f36e
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 17 18:42:26 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 17 18:57:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=467bf9c8

dev-python/phonenumbers: Bump to 8.13.23

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/phonenumbers/Manifest   |  1 +
 .../phonenumbers/phonenumbers-8.13.23.ebuild   | 39 ++
 2 files changed, 40 insertions(+)

diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest
index f58ace486382..79a6d017b99d 100644
--- a/dev-python/phonenumbers/Manifest
+++ b/dev-python/phonenumbers/Manifest
@@ -1,2 +1,3 @@
 DIST python-phonenumbers-8.13.21.gh.tar.gz 4916054 BLAKE2B 
0086fe789f427140cf8178c4988b9928f4d7e361be9d270d0788470dcc17bde6797dec1e3fd05116a93383034d895c9d0f0c7a3254e55c4c9afca5e10714f2c2
 SHA512 
9b3d80dc2cc864612d86ecf40488fff802f9a9ac4899cb70429515510bdeb728d846ecd0afd0dc284099d8a4b7f3c81a5fd94081cbb691f4aa6d4d9c85aa4319
 DIST python-phonenumbers-8.13.22.gh.tar.gz 4915808 BLAKE2B 
78a9ad733d2c2d223264c3559a7cabbc94a3b49061a0b7b944d104d774edf91733677a5bc58040e618de52d41320bc2602a532eaa679f29adff38ad4f3d17426
 SHA512 
1554a0da082b261a50b3cb0cb6773c8815291664e3ce3ebce7fb7293d1cd41f03400a86198bf28e31716fb346a1f79a4d84e7371d21eebb3b5a64307f67a
+DIST python-phonenumbers-8.13.23.gh.tar.gz 4916269 BLAKE2B 
5f7c14011abc78acdd9d7600ce1c50d2f79fca7f829ac8292a4284e62c14a5f8a1acdb7a9f8d66726065089145d2c22f732e6aa0a5349b4c64344e1de8da70fa
 SHA512 
1ca346c9fd6ecd0bd8ae91c85a6be3d7fe7c0bc62f5677dd929e85563230847a8a6752679c3a2cbcce246f464b6422b71f78b3cfae1b454d95b9e41d6f384dcf

diff --git a/dev-python/phonenumbers/phonenumbers-8.13.23.ebuild 
b/dev-python/phonenumbers/phonenumbers-8.13.23.ebuild
new file mode 100644
index ..e686a889cbea
--- /dev/null
+++ b/dev-python/phonenumbers/phonenumbers-8.13.23.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+MY_P=python-${P}
+DESCRIPTION="Python port of Google's libphonenumber"
+HOMEPAGE="
+   https://github.com/daviddrysdale/python-phonenumbers/
+   https://pypi.org/project/phonenumbers/
+"
+SRC_URI="
+   
https://github.com/daviddrysdale/python-phonenumbers/archive/v${PV}.tar.gz
+   -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}/python
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~riscv ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   test? (
+   dev-python/protobuf-python[${PYTHON_USEDEP}]
+   )
+"
+
+DOCS=( ../README.md )
+
+python_test() {
+   "${EPYTHON}" testwrapper.py -v || die "Tests failed with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/markdown-exec/

2023-10-17 Thread Michał Górny
commit: 234a7e283e597d2a9b05ee362f9c5adb322bf3e6
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 17 18:33:54 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 17 18:57:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=234a7e28

dev-python/markdown-exec: Bump to 1.7.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/markdown-exec/Manifest  |  1 +
 .../markdown-exec/markdown-exec-1.7.0.ebuild   | 34 ++
 2 files changed, 35 insertions(+)

diff --git a/dev-python/markdown-exec/Manifest 
b/dev-python/markdown-exec/Manifest
index 4b6f5ac4e843..09b8bf35f86a 100644
--- a/dev-python/markdown-exec/Manifest
+++ b/dev-python/markdown-exec/Manifest
@@ -1 +1,2 @@
 DIST markdown_exec-1.6.0.tar.gz 18880 BLAKE2B 
374f62c112efcf7f02c6b55f1348a3b38ad574240ca2e0af88af52343eb8cd2c0001d3b3dbe629e8917c40a602311e389683abd374e4ce62209bc051ea722389
 SHA512 
d05d3ede2f0280e8406b7cde7e555f2a1f796101c2cd336883b0e045837767a90fa6beb4ff624fa9029343bd2c3628219f387f438fcdbb661d91219134bf312c
+DIST markdown_exec-1.7.0.tar.gz 20221 BLAKE2B 
5b091b5569caea247e268208a93fbc2bd9f57b76361e549eba6572684a1dcae420471c8cf2fd9be9e63f6a1a29e698ad5ac01491f58b07ec37b18d651c7ddff4
 SHA512 
67ff69a5be5e69496cdc8d29cd259cff99c641717f2e63199c3a245c03cac805be557d2f1559cfa218a4a7520fb851b310adba180889e2c515a42bbc161e002b

diff --git a/dev-python/markdown-exec/markdown-exec-1.7.0.ebuild 
b/dev-python/markdown-exec/markdown-exec-1.7.0.ebuild
new file mode 100644
index ..cc61bb807537
--- /dev/null
+++ b/dev-python/markdown-exec/markdown-exec-1.7.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=pdm-backend
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Utilities to execute code blocks in Markdown files"
+HOMEPAGE="
+   https://pawamoy.github.io/markdown-exec/
+   https://pypi.org/project/markdown-exec/
+"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE="ansi"
+
+RDEPEND="
+   >=dev-python/pymdown-extensions-9[${PYTHON_USEDEP}]
+   ansi? (
+   dev-python/pygments-ansi-color[${PYTHON_USEDEP}]
+   )
+"
+BDEPEND="
+   test? (
+   dev-python/markupsafe[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/trove-classifiers/

2023-10-17 Thread Michał Górny
commit: 76fef4e6232d45e84ab148792301d6600d3ba9a5
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 17 18:32:51 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 17 18:57:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76fef4e6

dev-python/trove-classifiers: Bump to 2023.10.17

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/trove-classifiers/Manifest  |  1 +
 .../trove-classifiers-2023.10.17.ebuild| 31 ++
 2 files changed, 32 insertions(+)

diff --git a/dev-python/trove-classifiers/Manifest 
b/dev-python/trove-classifiers/Manifest
index 987ae20e50ac..94a820fe0f1d 100644
--- a/dev-python/trove-classifiers/Manifest
+++ b/dev-python/trove-classifiers/Manifest
@@ -1,2 +1,3 @@
+DIST trove-classifiers-2023.10.17.tar.gz 15858 BLAKE2B 
d190e4b5ca962fddecfe3d486be479d063897d09049f52a9e5e36c4b28857e5a8f34f71659d3f07377565673f3011e8f77459c1083883838b51a11dc594fb2d5
 SHA512 
ca6f2d23f24f000589a236d4304ed0faab8449d95b7f3ac091f168e04b2b2f6fbe586a48a38952034f40153e667b9c9b61710a0e9b19e8fa54f95db1c7008dad
 DIST trove-classifiers-2023.8.7.tar.gz 15856 BLAKE2B 
b20befe256e51704b4974ba7b3bcae88ff2ae1f1281da145f16a77963a75b3d2a58aa5914d622e8687a0e08915ae92783c4782a90390b53a0f346d829dce8cd3
 SHA512 
d414f5e71abf0eef3593c9509c93b4d3dbbf0b8f6ffacc85acd43be9e0f31d924757868e86bb069d9f0475731c811229ffc827568fe957fef850e71a0a5119fa
 DIST trove-classifiers-2023.9.19.tar.gz 15865 BLAKE2B 
2a84af01c16a728f708775dce6c3b4da564072cdcb6cdb6fea8014ee27744a657d8dc10663eca9fe4f9c9dec6faaa2684b10fe08d827ab52d6a61f16b557b40f
 SHA512 
09979aacca745459f075cce85c483113955e0d218079132478596f350b7d7788d1a734dc82364194df9b31e4c109a806c50db4bb122b1f5bf747d9e7a0616143

diff --git a/dev-python/trove-classifiers/trove-classifiers-2023.10.17.ebuild 
b/dev-python/trove-classifiers/trove-classifiers-2023.10.17.ebuild
new file mode 100644
index ..3c130311d42a
--- /dev/null
+++ b/dev-python/trove-classifiers/trove-classifiers-2023.10.17.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Canonical source for classifiers on PyPI (pypi.org)"
+HOMEPAGE="
+   https://github.com/pypa/trove-classifiers/
+   https://pypi.org/project/trove-classifiers/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos 
~x64-macos ~x64-solaris"
+
+BDEPEND="
+   dev-python/calver[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   epytest
+   "${EPYTHON}" -m tests.lib || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/griffe/

2023-10-17 Thread Michał Górny
commit: bc430919aacec963c9519ad871aa3ce591befff0
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 17 18:39:27 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 17 18:57:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc430919

dev-python/griffe: Bump to 0.36.7

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/griffe/Manifest |  1 +
 dev-python/griffe/griffe-0.36.7.ebuild | 45 ++
 2 files changed, 46 insertions(+)

diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest
index df33faf53b90..ef87a5f2b250 100644
--- a/dev-python/griffe/Manifest
+++ b/dev-python/griffe/Manifest
@@ -2,3 +2,4 @@ DIST griffe-0.36.2.gh.tar.gz 188707 BLAKE2B 
b444dcbb38ab39715f975a17f502cf331bb3
 DIST griffe-0.36.4.gh.tar.gz 192823 BLAKE2B 
42815673835bffebf97ab3bd436997329229596d24f4cd6fcd0b57f137b113bd42461cf9b8a33472ef6887dc7efdb4d88f31b6f503abb365f101311ff89fb5f3
 SHA512 
76d672f91643d347d15e97eb29bd1cdb24f843d396777287d5f5c28259f4f25dc7a89d53a83189e84572fcbed5201144d2b15f1bbc0864799c7703ce90b1cc7a
 DIST griffe-0.36.5.gh.tar.gz 193265 BLAKE2B 
f8727c42b0a5527fcc5d8fafcf1e16e3b4cae516db5f3a5ba790c068e5d1520c50a8cd467d40d12bce9d4793d94aabb67148ff79c81f58fcc5711e1e4c9345ce
 SHA512 
e1ed6c2ece246b1583a18df30151186a605e02d4ad19748c9c4ccd6bf2e47fa493d2cf4b37ca5fa3f91c4c3c3927b034f92a344a9f9601b516673ccf3e7906f1
 DIST griffe-0.36.6.gh.tar.gz 193375 BLAKE2B 
12760d8892226162536afa15a7bba2076ddc22f606272d71ece261ae0b2b5306fdde2cfe3e163607da63f80d52414e46f16f40058716382bff0eab431c8c2c9b
 SHA512 
627524403a0d5157bb0c5287e629e7e489ed624a29d25d4d32f0bbb607391249efabe7c0793ef2ef590a79f2dc0ac52d86ab110d99c4fac4c70af26ec81da020
+DIST griffe-0.36.7.gh.tar.gz 193857 BLAKE2B 
5208cf313c8137441bb256c06093383fa259952d0978bd1e2658920c55703eb4d576a01888f746705e9d82d1d328bd5f1e49cc0d8f4fc83836080d6356241348
 SHA512 
e3bffd19925db7113bbcd5339cedccb444ed682d07b7d03941525c373b1ab34074ae11279b17429c9ce6f411b5be985ce88ad8408099a569dd9f7b5b85e74fd2

diff --git a/dev-python/griffe/griffe-0.36.7.ebuild 
b/dev-python/griffe/griffe-0.36.7.ebuild
new file mode 100644
index ..c8d57610c9ff
--- /dev/null
+++ b/dev-python/griffe/griffe-0.36.7.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=pdm-backend
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="Signature generator for Python programs"
+HOMEPAGE="
+   https://mkdocstrings.github.io/griffe/
+   https://github.com/mkdocstrings/griffe/
+   https://pypi.org/project/griffe/
+"
+# Tests need files absent from the PyPI tarballs
+SRC_URI="
+   https://github.com/mkdocstrings/griffe/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+RDEPEND="
+   >=dev-python/colorama-0.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   >=dev-python/jsonschema-4.17.3[${PYTHON_USEDEP}]
+   >=dev-python/pytest-xdist-2.4[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+export PDM_BUILD_SCM_VERSION=${PV}
+
+EPYTEST_DESELECT=(
+   # fragile to installed packages
+   # (failed on PySide2 for me)
+   tests/test_stdlib.py::test_fuzzing_on_stdlib
+)



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-plus/

2023-10-17 Thread Michał Górny
commit: 0f57cad7ebfd64dcc0d77941801f6fc01d87
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 17 18:29:11 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 17 18:56:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f57cad7

dev-python/pytest-plus: Bump to 0.5.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-plus/Manifest |  1 +
 dev-python/pytest-plus/pytest-plus-0.5.0.ebuild | 29 +
 2 files changed, 30 insertions(+)

diff --git a/dev-python/pytest-plus/Manifest b/dev-python/pytest-plus/Manifest
index c98f7355f029..06ba69815958 100644
--- a/dev-python/pytest-plus/Manifest
+++ b/dev-python/pytest-plus/Manifest
@@ -1 +1,2 @@
 DIST pytest-plus-0.4.0.tar.gz 9987 BLAKE2B 
11b8f17630601f52ebae11b7a660c8d97b4c9f1699096a376c162952a03b9f1b580ead6ac0b040b15c267eec1123bffe07d128eb00aec7414e996275ebc4c4e3
 SHA512 
4f4258853280cac8e03c0477763fd588d2b3cf11e7746d2b8e7d3cf5774b845412bc8779d74d232e4b3473470c39753dc788ac09faf8e8b7c9fee22d7164bab7
+DIST pytest-plus-0.5.0.tar.gz 11444 BLAKE2B 
f42a7d9abc934635414959263a85399ccdf5377eb58790339d816a8ed8b3962ce11f088e0e074163c6ea9498ae07cbb9422586cbfad572200f1fa628f1b9620f
 SHA512 
02417b2b02ec44d505ea8b6a4217c55b88d1b1383ee36c51b4480824816eb57513b63da36b86004a777ebbbca462bdf40ac3b18331010c10ca6d6259c837f705

diff --git a/dev-python/pytest-plus/pytest-plus-0.5.0.ebuild 
b/dev-python/pytest-plus/pytest-plus-0.5.0.ebuild
new file mode 100644
index ..f579173ce992
--- /dev/null
+++ b/dev-python/pytest-plus/pytest-plus-0.5.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="PyTest Plus Plugin - extends pytest functionality"
+HOMEPAGE="
+   https://github.com/pytest-dev/pytest-plus/
+   https://pypi.org/project/pytest-plus/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+RDEPEND="
+   >=dev-python/pytest-6.0.1[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/black/

2023-10-17 Thread Michał Górny
commit: 9f50de62787cc6f45b111222dbde1e147379a508
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 17 18:30:13 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 17 18:56:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f50de62

dev-python/black: Bump to 23.10.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/black/Manifest |  1 +
 dev-python/black/black-23.10.0.ebuild | 53 +++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/black/Manifest b/dev-python/black/Manifest
index d441444d0821..44b716301036 100644
--- a/dev-python/black/Manifest
+++ b/dev-python/black/Manifest
@@ -1,3 +1,4 @@
+DIST black-23.10.0.tar.gz 595880 BLAKE2B 
978f0334abd1085ae9d6b085510c938235fb4b94ac0ecc4f13754f36d3d3152d4c5075d0177c5492a50cc45e8feb4af8d8eb023516d2fe85c0c61fa4b1eb8fb4
 SHA512 
2d24a269e66e07473afb0eeb0e25472ed53b20a4dad3622319cafd2f90f2615b4eba39971269c75208c439bfc430ca9b4922e7cce6ec9bd28e648cd62b75aea4
 DIST black-23.7.0.tar.gz 586177 BLAKE2B 
4bb50b6c7409a97aa277f1048c17101a1c91368b9269cf4c08d3052c036887d2ed6e5f1f2e044c14f41bf2d969d65183413c2a9810f12d96cbf09778c9b1310e
 SHA512 
78d5e87bfef4dcaff007455e8c72dcd45f9374c09da6f4ba45ae7caa980005d1bc984c68fa44d4abf7969a376a4039546e7e8f537c3aa1331d213e13dcbe3941
 DIST black-23.9.0.tar.gz 588540 BLAKE2B 
f3c94acb1af6c4bf1ada948d4ea7b7cd243184b920fab7e741d9e5ee4a82e163e5570ca1451424ea379362ae1755907e4b5e63b517a4e420d6cbe9d69655a10f
 SHA512 
4d1ae51353c7a0a4113796fcc10824228d5bd9a0f19474efc8c5e3a9b929433a586f058521fd1dae35301e9e33e6d231b0584f81514104ac5c787f8e55cb9fa8
 DIST black-23.9.1.tar.gz 589529 BLAKE2B 
642e1bb7b83653d879b3cbf1e618472a3106c1d9c918cbb57e5f517a96a8838a501f0e49f0fa1822d87600b4a8cecaac8da2bc9f08d5bc4131a611a90099f60a
 SHA512 
0732409800a131fee69fffa8e7be8c128d26f0f75038235ba6f8c7451901199eed4118a2cb640ec0a5e6b40238bf41991c4a0559534f3a9f13d29f118e5b4aaa

diff --git a/dev-python/black/black-23.10.0.ebuild 
b/dev-python/black/black-23.10.0.ebuild
new file mode 100644
index ..29726cd5e4ea
--- /dev/null
+++ b/dev-python/black/black-23.10.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 multiprocessing optfeature pypi
+
+DESCRIPTION="The uncompromising Python code formatter"
+HOMEPAGE="
+   https://black.readthedocs.io/en/stable/
+   https://github.com/psf/black/
+   https://pypi.org/project/black/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+   >=dev-python/click-8.0.0[${PYTHON_USEDEP}]
+   >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}]
+   >=dev-python/packaging-22.0[${PYTHON_USEDEP}]
+   >=dev-python/pathspec-0.9.0[${PYTHON_USEDEP}]
+   >=dev-python/platformdirs-2[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}]
+   ' 3.10)
+"
+BDEPEND="
+   dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}]
+   dev-python/hatch-vcs[${PYTHON_USEDEP}]
+   test? (
+   >=dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}]
+   dev-python/aiohttp-cors[${PYTHON_USEDEP}]
+   dev-python/colorama[${PYTHON_USEDEP}]
+   dev-python/parameterized[${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   epytest -n "$(makeopts_jobs)" --dist=worksteal
+}
+
+pkg_postinst() {
+   optfeature "blackd - HTTP API for black" \
+   "dev-python/aiohttp dev-python/aiohttp-cors"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sqlglot/

2023-10-17 Thread Michał Górny
commit: faefd57fcf23372e08e46dccf58b0cbee8b13b9c
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 17 18:27:30 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 17 18:56:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faefd57f

dev-python/sqlglot: Bump to 18.14.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sqlglot/Manifest   |  1 +
 dev-python/sqlglot/sqlglot-18.14.0.ebuild | 36 +++
 2 files changed, 37 insertions(+)

diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest
index 04c348125b87..6176d174561f 100644
--- a/dev-python/sqlglot/Manifest
+++ b/dev-python/sqlglot/Manifest
@@ -1,2 +1,3 @@
 DIST sqlglot-18.12.0.tar.gz 8854252 BLAKE2B 
30bd8a7a8d4dd2337c61b4bddcce74a35a7594ed6ac16e0c68f3103c54c1eb9499246d2ec340ae3ebb137a09a2fb29c4a9e0a82eacef959c9cac1204fa68da0d
 SHA512 
0ac80e9f51f68121f5cf7ac7db08832ac48e706dcdb966ab1c432d4d81dc808221e3b45fd6bf31f570ff7add1a49de2f82a8671b8c81d27efb402776c20d6fd3
 DIST sqlglot-18.13.0.tar.gz 8873766 BLAKE2B 
4dfe6d3d6332bedf13229d2820a12ead44ffcaad0f3f68bb1578d62c325173fddd73f9033277cb0ed8cdfa8e919464ce0efa51ba7dc2a946e725c1698f2afdf8
 SHA512 
6ed3d4eca1496b800c677b45df5499f96266e09b3c0909b8af9c4512a1bab7b7cfabaf89dad6353af2f579211364597b1ffb0f55975ffcd8c3f520802621e9aa
+DIST sqlglot-18.14.0.tar.gz 8880297 BLAKE2B 
f5036816e165ca8f6d65ed21db618b216444578b5a0d403f4674d878a02fae6d9dfc5ce67cef3398d040f4cc44eaff7e5f62bcb1521f244a1fa5b9b127dd666a
 SHA512 
1da34636a92238c0cf67230da3fb5551bd6b9e2a252f252e8fdb0a0b237c7bea2435ecd2852f66a4427628445b25ffe78cd86b46f3939a798612f72efd884148

diff --git a/dev-python/sqlglot/sqlglot-18.14.0.ebuild 
b/dev-python/sqlglot/sqlglot-18.14.0.ebuild
new file mode 100644
index ..368b77416b42
--- /dev/null
+++ b/dev-python/sqlglot/sqlglot-18.14.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi optfeature
+
+DESCRIPTION="An easily customizable SQL parser and transpiler"
+HOMEPAGE="
+   https://sqlglot.com/
+   https://github.com/tobymao/sqlglot/
+   https://pypi.org/project/sqlglot/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+EPYTEST_IGNORE=(
+   # Tests require pyspark or duckdb which aren't in the tree.
+   # Pandas would be a requirement normally, but it gets ignored by proxy.
+   "tests/dataframe/integration/test_dataframe.py"
+   "tests/dataframe/integration/test_grouped_data.py"
+   "tests/dataframe/integration/test_session.py"
+   "tests/test_executor.py"
+   "tests/test_optimizer.py"
+)
+
+distutils_enable_tests pytest
+
+pkg_postinst() {
+   optfeature "simplifying timedelta expressions" 
dev-python/python-dateutil
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/google-api-python-client/

2023-10-17 Thread Michał Górny
commit: fd35871168480707f1cd014e3fc66f4a55ee6547
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 17 18:30:59 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 17 18:56:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd358711

dev-python/google-api-python-client: Bump to 2.104.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/google-api-python-client/Manifest   |  1 +
 .../google-api-python-client-2.104.0.ebuild| 49 ++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/google-api-python-client/Manifest 
b/dev-python/google-api-python-client/Manifest
index 92bc726c740f..be96065a7d0d 100644
--- a/dev-python/google-api-python-client/Manifest
+++ b/dev-python/google-api-python-client/Manifest
@@ -2,3 +2,4 @@ DIST google-api-python-client-2.100.0.tar.gz 11735626 BLAKE2B 
dcdf8d5b3394a8c838
 DIST google-api-python-client-2.101.0.tar.gz 11765398 BLAKE2B 
c50c4266233eaef0d773f403c1d942063430d24602bad9b2c74adabfc3fc110ef8ae5b919add3afced251aec6ef25ce253034c2a3878d31e804a98f2d4dc5e42
 SHA512 
30f74b5e410e97efb814eb3166b91257c81ba8d8d19db446a6818dde54d72e43f275a68aa6dcd576e586eca8cafb97754a4af052f4a69e7c964bb5784192f410
 DIST google-api-python-client-2.102.0.tar.gz 11915090 BLAKE2B 
bc88a590e1c14667ffbac5aa9233d303df2f0743f86de1236b091b3dad50ee77e1d51c2ca0b628b63197547855be911cbb8201773e516e9a0cd50e8451b5998a
 SHA512 
894de3c6ec61ae1de16514f96682776665af897e128918504fb0c067a5dc1586ad53101ca03d3c826ceed7ed3de9a878123a3fed269618f4ca743f53dbeeb66b
 DIST google-api-python-client-2.103.0.tar.gz 12063767 BLAKE2B 
7fa483cca8a957630c1c4662934aaf81c05145246ecb279a85761dc2a808d7b76921a18671006b8eabfba9543e747f396c850a81d42eb4db902a708c302905b3
 SHA512 
d8b4bea6e0643ebe5e2626ecde7086a17c34f469aadc9147d554040a3a3ac12bcbf3404b367c30b423aa6d5aaf6262df3349cd22ef2ab0d213c3a5e30b8fd11a
+DIST google-api-python-client-2.104.0.tar.gz 12080299 BLAKE2B 
ca6209454399db0a738758587b4ed2c7996dcbb1b7953ec7708b427e2bbeecf792db5fbb55f1d4e8c56b1df24352902ffb5e662c1b5a5337b8aaaccf0ae00934
 SHA512 
44318cee7702788fb824ccac462614d7465ae4493c91b4bb758906a88bc326c64e80452387d02b5d35037f42ad4de90ca38a4fce6c06eb89bbbe425b69e4a3cd

diff --git 
a/dev-python/google-api-python-client/google-api-python-client-2.104.0.ebuild 
b/dev-python/google-api-python-client/google-api-python-client-2.104.0.ebuild
new file mode 100644
index ..0194f9640998
--- /dev/null
+++ 
b/dev-python/google-api-python-client/google-api-python-client-2.104.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Google API Client for Python"
+HOMEPAGE="
+   https://github.com/googleapis/google-api-python-client/
+   https://pypi.org/project/google-api-python-client/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+RDEPEND="
+   >=dev-python/httplib2-0.15[${PYTHON_USEDEP}]
+   =dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}]
+   >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}]
+   >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}]
+   >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}]
+   

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/zookeeper-bin/

2023-10-17 Thread 罗百科
commit: ce97b8e73aa1c4fb8b4bf6c070c77f859a1fa561
Author: Patrick Lauer  gentoo  org>
AuthorDate: Tue Oct 17 18:24:48 2023 +
Commit: 罗百科  gentoo  org>
CommitDate: Tue Oct 17 18:27:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce97b8e7

sys-cluster/zookeeper-bin: add 3.8.3

Signed-off-by: Patrick Lauer  gentoo.org>

 sys-cluster/zookeeper-bin/Manifest |  1 +
 .../zookeeper-bin/zookeeper-bin-3.8.3.ebuild   | 68 ++
 2 files changed, 69 insertions(+)

diff --git a/sys-cluster/zookeeper-bin/Manifest 
b/sys-cluster/zookeeper-bin/Manifest
index 5f4b2d8d2bf8..57a9c399dce5 100644
--- a/sys-cluster/zookeeper-bin/Manifest
+++ b/sys-cluster/zookeeper-bin/Manifest
@@ -2,5 +2,6 @@ DIST zookeeper-bin-3.7.1.tar.gz 12649765 BLAKE2B 
1a0fd48185fb2a847d961ffb33387f9
 DIST zookeeper-bin-3.8.0.tar.gz 13185104 BLAKE2B 
2afcfbac16a027fb2a009e20a852a747a9a93fb846b214c57ebf6730e73b892aa40037e29013cbc45e87532848bf889d24635becbf7dd554965b7da0a89ac8e0
 SHA512 
d66e3a40451f840406901b2cd940992b001f92049a372ae48d8b420891605871cd1ae5f6cceb3b10665491e7abef36a4078dace158bd1e0938fcd3567b5234ca
 DIST zookeeper-bin-3.8.1.tar.gz 13368512 BLAKE2B 
c1e5c375f6068e847733aa655e54f0a302ce89dbb3a179abc60f2f2fff558aa264530d53d74857d617ef966c9904281927f50e639ac3e653f958be27c9595e34
 SHA512 
940ce2fdd4ff33acfc99860b5c604d2d48f37c4d6f0b7c2dcdade7492ecf5385b079bf56db68b4c9c9b8dfed0a86ecd73ee2977621738f263d6e9b8432f34b35
 DIST zookeeper-bin-3.8.2.tar.gz 13338235 BLAKE2B 
a1b98b4fdf302ce5f340fcae580340bb07ad40a6f2e3623a1fecd34d24f2cea73ab1cd5d55d666d3dfdf1b1b5d0a4a91a28fd2b4be410ec157d90829d326fdeb
 SHA512 
30d42364d158850700623e2b0f226335ce52a9707660c16c64ea9c163fe657c429b5f846d664bf7f381bc86abafb01cdc28d23d9f8e49b99a751e6598342a7af
+DIST zookeeper-bin-3.8.3.tar.gz 14853274 BLAKE2B 
f386b996d6881a9278eecb25e6db5d029e891dcc4e9c9dae4493b3c49f4d1b33665f9a5ffcdfff1201a7853d4dbfd32b8017cdbeff2c0e7eec0f48d713a5fdde
 SHA512 
eb1a5e79fe55fa50e36021ca8b752e40584d5e24f23985c43e9f56abfbf23c0239dce37d18f27213c9a38fcb6f68daf1a9468fc352e6ac2364faaf9b56145bdf
 DIST zookeeper-bin-3.9.0.tar.gz 19935216 BLAKE2B 
03d2a552362d3f1524dfde6c0a010e49844fa2af8b553ccfa3f50dbe4584af34610669357ad5cca122abe5c83c1eb7f5f23d57f80b997fd9db8a74b81193854b
 SHA512 
6b722a5efab88744f6b235dace5af7c12f0dad50e00d733fb677e89e57f751efefca21a44e18bc4bbf23556f30ed42ed3d9918bd4c978a894f5e5ded04c93dd2
 DIST zookeeper-bin-3.9.1.tar.gz 20323219 BLAKE2B 
5ce1ad4603182636c5da7817034f2a7b835792419f8e0a4d834819929f2f7c397eacbd9d627046b9a6e3a8a2610c34c96012f8b4e2f18375d6f0d4d38c7b8b77
 SHA512 
6a1c56557ee8de63dc0730de6c55640afa8ae9043e57539fed393120fe3adfb7f30a6ac13af0a6331ff34ba9c6f2b31e41e40c5446e669651522fffb9ce64e48

diff --git a/sys-cluster/zookeeper-bin/zookeeper-bin-3.8.3.ebuild 
b/sys-cluster/zookeeper-bin/zookeeper-bin-3.8.3.ebuild
new file mode 100644
index ..f3969f04bfc3
--- /dev/null
+++ b/sys-cluster/zookeeper-bin/zookeeper-bin-3.8.3.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit java-utils-2
+
+MY_PN="zookeeper"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A high-performance coordination service for distributed 
applications"
+HOMEPAGE="https://zookeeper.apache.org/;
+SRC_URI="https://downloads.apache.org/${MY_PN}/${MY_P}/apache-${MY_P}-bin.tar.gz
 -> ${P}.tar.gz"
+S="${WORKDIR}/apache-${MY_P}-bin"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="mirror binchecks"
+
+BDEPEND="
+   acct-group/zookeeper
+   acct-user/zookeeper
+"
+RDEPEND="
+   ${BDEPEND}
+   >=virtual/jre-1.8
+"
+
+INSTALL_DIR=/opt/"${PN}"
+export CONFIG_PROTECT="${CONFIG_PROTECT} ${INSTALL_DIR}/conf"
+
+src_prepare() {
+   default
+   rm "${S}"/docs/skin/instruction_arrow.png || die
+}
+
+src_install() {
+   local DATA_DIR=/var/lib/"${MY_P}"
+
+   # cleanup sources
+   rm bin/*.cmd || die
+
+   keepdir "${DATA_DIR}"
+   sed "s:^dataDir=.*:dataDir=${DATA_DIR}:" conf/zoo_sample.cfg > 
conf/zoo.cfg || die
+   cp "${FILESDIR}"/log4j.properties conf/ || die
+
+   dodir "${INSTALL_DIR}"
+   cp -a "${S}"/* "${ED}${INSTALL_DIR}" || die
+
+   # data dir perms
+   fowners zookeeper:zookeeper "${DATA_DIR}"
+
+   # log dir
+   keepdir /var/log/zookeeper
+   fowners zookeeper:zookeeper /var/log/zookeeper
+
+   # init script
+   newinitd "${FILESDIR}"/zookeeper.initd zookeeper
+   newconfd "${FILESDIR}"/zookeeper.confd zookeeper
+
+   # env file
+   cat > 99"${PN}" <<-EOF
+   PATH="${INSTALL_DIR}"/bin
+   CONFIG_PROTECT="${INSTALL_DIR}"/conf
+   EOF
+   doenvd 99"${PN}"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/kafka-bin/

2023-10-17 Thread 罗百科
commit: 51d8e2e5f05a3600a253f82c869b8725dbd0aac7
Author: Patrick Lauer  gentoo  org>
AuthorDate: Tue Oct 17 18:27:12 2023 +
Commit: 罗百科  gentoo  org>
CommitDate: Tue Oct 17 18:27:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51d8e2e5

net-misc/kafka-bin: add 3.6.0

Signed-off-by: Patrick Lauer  gentoo.org>

 net-misc/kafka-bin/Manifest   |  1 +
 net-misc/kafka-bin/kafka-bin-3.6.0.ebuild | 69 +++
 2 files changed, 70 insertions(+)

diff --git a/net-misc/kafka-bin/Manifest b/net-misc/kafka-bin/Manifest
index 6896a2882131..72422573e8de 100644
--- a/net-misc/kafka-bin/Manifest
+++ b/net-misc/kafka-bin/Manifest
@@ -1,2 +1,3 @@
 DIST kafka_2.13-3.4.1.tgz 106613091 BLAKE2B 
c75bc59291f2030e34bad8d5401a65603b1ef9f570784c382874807741ee97ed4812a114f8a0dbcfbc9d3abe278f103a4dfca53d5a1a0be6f7ebc1d9c00c8565
 SHA512 
875308e9b0a3597ea4a1088788f4040f257c3b825730572b038ede0fee3bc5336559f7ef0ab4d78b9512ac71385f84698180a2026ca81f1221ef65811bed6bce
 DIST kafka_2.13-3.5.1.tgz 106748875 BLAKE2B 
daba54058f8b26dcf622bcf09df3c1abc79886bca0ae1f4221ad593021c329640689408803bac9e62b419e332633f7643354b5168a30c0360f178642c11ae112
 SHA512 
b6ceb010a5fe1791843cbc53d34d35993e97e03f9518344b4b5bdf7146d0a4e866cd2d4760cab319d8b3323a5bf53037a78fed88c9384381aea2cd0366877763
+DIST kafka_2.13-3.6.0.tgz 113257079 BLAKE2B 
db5f0bafbbaef256d03a80e27adbcaffc8463cd5fffcba937cdfc418c4ab931770d87424eeff96cdc41e79217954c0885e26bab72e68b9d9c3f905a1991e7865
 SHA512 
98d20f475bccc11eb3cf05362112c788eea7bfc88abddba66cfcfb48880d3bb97918a90d44eb7c1720527bebca93dd231002b5159876f6ee8b7fcd91cc1b0644

diff --git a/net-misc/kafka-bin/kafka-bin-3.6.0.ebuild 
b/net-misc/kafka-bin/kafka-bin-3.6.0.ebuild
new file mode 100644
index ..62f5d3c5f537
--- /dev/null
+++ b/net-misc/kafka-bin/kafka-bin-3.6.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="A high-throughput distributed messaging system"
+HOMEPAGE="https://kafka.apache.org/;
+
+# pick recommended scala version
+SCALA_VERSION=2.13
+MY_PN="kafka"
+MY_P="${MY_PN}_${SCALA_VERSION}-${PV}"
+SRC_URI="mirror://apache/kafka/${PV}/${MY_P}.tgz"
+
+RESTRICT="mirror"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="internal-zookeeper connect"
+
+COMMON_DEPEND="acct-group/kafka
+   acct-user/kafka
+   virtual/jre:="
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+INSTALL_DIR="/opt/${MY_PN}"
+
+src_prepare() {
+   sed -i -e 's:/tmp/zookeeper:/var/lib/kafka/zookeeper:' 
"config/zookeeper.properties" || die
+   sed -i -e 's:/tmp/kafka-logs:/var/lib/kafka/logs:' 
"config/server.properties" || die
+   sed -i -e 's:/tmp/connect.offsets:/var/lib/kafka/connect.offsets:' 
"config/connect-standalone.properties" || die
+   eapply_user
+}
+
+src_install() {
+   insinto /etc/kafka
+   doins config/zookeeper.properties config/server.properties
+   if use "internal-zookeeper"; then
+   keepdir /var/lib/kafka/zookeeper
+   newinitd "${FILESDIR}/${MY_PN}-zookeeper.init.d" 
"${MY_PN}-zookeeper"
+
+   ewarn "Zookeeper owner has been changed to kafka:kafka"
+   ewarn "you might want to run chown -R kafka:kafka 
/var/lib/kafka/zookeeper"
+   ewarn "or set COMMAND_USER=\"root:root\" in 
/etc/conf.d/kafka-zookeeper"
+   ewarn "to keep the previous behavior."
+   ewarn "All logs files have been move to /var/log/kafka/"
+   fi
+
+   if use "connect"; then
+   doins config/connect-distributed.properties 
config/connect-standalone.properties
+   newinitd "${FILESDIR}/${MY_PN}-connect-distributed.init.d" 
"${MY_PN}-connect-distributed"
+   fi
+
+   keepdir /var/lib/kafka
+   fowners -R kafka:kafka /var/lib/kafka
+
+   keepdir /var/log/kafka
+   fowners -R kafka:kafka /var/log/kafka
+
+   newinitd "${FILESDIR}/${MY_PN}.init.d.5" "${MY_PN}"
+
+   dodir "${INSTALL_DIR}"
+   cp -pRP bin config libs "${ED}/${INSTALL_DIR}" || die
+   keepdir "${INSTALL_DIR}/logs"
+   fowners -R kafka:kafka "${INSTALL_DIR}"
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/zookeeper-bin/

2023-10-17 Thread 罗百科
commit: 173b0097d6d36b2255b452d886f24fcfc73996e9
Author: Patrick Lauer  gentoo  org>
AuthorDate: Tue Oct 17 18:23:46 2023 +
Commit: 罗百科  gentoo  org>
CommitDate: Tue Oct 17 18:27:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=173b0097

sys-cluster/zookeeper-bin: add 3.9.1

Signed-off-by: Patrick Lauer  gentoo.org>

 sys-cluster/zookeeper-bin/Manifest |  1 +
 .../zookeeper-bin/zookeeper-bin-3.9.1.ebuild   | 68 ++
 2 files changed, 69 insertions(+)

diff --git a/sys-cluster/zookeeper-bin/Manifest 
b/sys-cluster/zookeeper-bin/Manifest
index a24f21720ce4..5f4b2d8d2bf8 100644
--- a/sys-cluster/zookeeper-bin/Manifest
+++ b/sys-cluster/zookeeper-bin/Manifest
@@ -3,3 +3,4 @@ DIST zookeeper-bin-3.8.0.tar.gz 13185104 BLAKE2B 
2afcfbac16a027fb2a009e20a852a74
 DIST zookeeper-bin-3.8.1.tar.gz 13368512 BLAKE2B 
c1e5c375f6068e847733aa655e54f0a302ce89dbb3a179abc60f2f2fff558aa264530d53d74857d617ef966c9904281927f50e639ac3e653f958be27c9595e34
 SHA512 
940ce2fdd4ff33acfc99860b5c604d2d48f37c4d6f0b7c2dcdade7492ecf5385b079bf56db68b4c9c9b8dfed0a86ecd73ee2977621738f263d6e9b8432f34b35
 DIST zookeeper-bin-3.8.2.tar.gz 13338235 BLAKE2B 
a1b98b4fdf302ce5f340fcae580340bb07ad40a6f2e3623a1fecd34d24f2cea73ab1cd5d55d666d3dfdf1b1b5d0a4a91a28fd2b4be410ec157d90829d326fdeb
 SHA512 
30d42364d158850700623e2b0f226335ce52a9707660c16c64ea9c163fe657c429b5f846d664bf7f381bc86abafb01cdc28d23d9f8e49b99a751e6598342a7af
 DIST zookeeper-bin-3.9.0.tar.gz 19935216 BLAKE2B 
03d2a552362d3f1524dfde6c0a010e49844fa2af8b553ccfa3f50dbe4584af34610669357ad5cca122abe5c83c1eb7f5f23d57f80b997fd9db8a74b81193854b
 SHA512 
6b722a5efab88744f6b235dace5af7c12f0dad50e00d733fb677e89e57f751efefca21a44e18bc4bbf23556f30ed42ed3d9918bd4c978a894f5e5ded04c93dd2
+DIST zookeeper-bin-3.9.1.tar.gz 20323219 BLAKE2B 
5ce1ad4603182636c5da7817034f2a7b835792419f8e0a4d834819929f2f7c397eacbd9d627046b9a6e3a8a2610c34c96012f8b4e2f18375d6f0d4d38c7b8b77
 SHA512 
6a1c56557ee8de63dc0730de6c55640afa8ae9043e57539fed393120fe3adfb7f30a6ac13af0a6331ff34ba9c6f2b31e41e40c5446e669651522fffb9ce64e48

diff --git a/sys-cluster/zookeeper-bin/zookeeper-bin-3.9.1.ebuild 
b/sys-cluster/zookeeper-bin/zookeeper-bin-3.9.1.ebuild
new file mode 100644
index ..f3969f04bfc3
--- /dev/null
+++ b/sys-cluster/zookeeper-bin/zookeeper-bin-3.9.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit java-utils-2
+
+MY_PN="zookeeper"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A high-performance coordination service for distributed 
applications"
+HOMEPAGE="https://zookeeper.apache.org/;
+SRC_URI="https://downloads.apache.org/${MY_PN}/${MY_P}/apache-${MY_P}-bin.tar.gz
 -> ${P}.tar.gz"
+S="${WORKDIR}/apache-${MY_P}-bin"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="mirror binchecks"
+
+BDEPEND="
+   acct-group/zookeeper
+   acct-user/zookeeper
+"
+RDEPEND="
+   ${BDEPEND}
+   >=virtual/jre-1.8
+"
+
+INSTALL_DIR=/opt/"${PN}"
+export CONFIG_PROTECT="${CONFIG_PROTECT} ${INSTALL_DIR}/conf"
+
+src_prepare() {
+   default
+   rm "${S}"/docs/skin/instruction_arrow.png || die
+}
+
+src_install() {
+   local DATA_DIR=/var/lib/"${MY_P}"
+
+   # cleanup sources
+   rm bin/*.cmd || die
+
+   keepdir "${DATA_DIR}"
+   sed "s:^dataDir=.*:dataDir=${DATA_DIR}:" conf/zoo_sample.cfg > 
conf/zoo.cfg || die
+   cp "${FILESDIR}"/log4j.properties conf/ || die
+
+   dodir "${INSTALL_DIR}"
+   cp -a "${S}"/* "${ED}${INSTALL_DIR}" || die
+
+   # data dir perms
+   fowners zookeeper:zookeeper "${DATA_DIR}"
+
+   # log dir
+   keepdir /var/log/zookeeper
+   fowners zookeeper:zookeeper /var/log/zookeeper
+
+   # init script
+   newinitd "${FILESDIR}"/zookeeper.initd zookeeper
+   newconfd "${FILESDIR}"/zookeeper.confd zookeeper
+
+   # env file
+   cat > 99"${PN}" <<-EOF
+   PATH="${INSTALL_DIR}"/bin
+   CONFIG_PROTECT="${INSTALL_DIR}"/conf
+   EOF
+   doenvd 99"${PN}"
+}



[gentoo-commits] repo/gentoo:master commit in: app-office/libreoffice-bin/

2023-10-17 Thread Andreas K. Hüttel
commit: 549d8d7c682745caeb03d45248644470cfc17f1e
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Tue Oct 17 18:20:42 2023 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Tue Oct 17 18:23:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=549d8d7c

app-office/libreoffice-bin: add 7.5.6.2

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 app-office/libreoffice-bin/Manifest|  12 +
 .../libreoffice-bin/libreoffice-bin-7.5.6.2.ebuild | 262 +
 2 files changed, 274 insertions(+)

diff --git a/app-office/libreoffice-bin/Manifest 
b/app-office/libreoffice-bin/Manifest
index 2c2bc9af6353..d5d13467916f 100644
--- a/app-office/libreoffice-bin/Manifest
+++ b/app-office/libreoffice-bin/Manifest
@@ -1,12 +1,24 @@
 DIST amd64-bin-libreoffice-7.5.5.2.tar.xz 151415676 BLAKE2B 
caf024dd6154a7108393fcd6f2731ebb15a732eb222cfe9d2300f3b00e9783e0b63bb3be902cee0cfb811f6e6096548d302337620ba0da8e1ec53c3b4ac0b3bd
 SHA512 
aa52e4303552090ea3c1a300c8179f4d5a888ddeaa30054f8b103fbfdcb1b72342cf0b1e9b35c71ea29a3c8220f3f79f60235875ea5318314aca3c08e164d9af
+DIST amd64-bin-libreoffice-7.5.6.2.tar.xz 152259672 BLAKE2B 
6460947ad8feea4df3e832661277d87e4412147052334693f7ded219425747e07e8c763734b541b827f82db081f6a981ceeccacf438db7778d55e60fab4d
 SHA512 
eef02b49418b5e83fe84f5eef527610f58d6039fe7db7b26dd9ed60c1b477dacec5a98372383f65b713e73980614fa26e5225e7b975426fe67a412c96501a325
 DIST amd64-bin-libreoffice-gnome-7.5.5.2.xd3 2301098 BLAKE2B 
c134ef1dc729aa3f688830003b8cfd7eb42f3e56e15a54fe18a1eae8b1f3953c25dcd7fe10011b9b2a291f5ccc6852f3edf634244953dbbb0d084fbef81e
 SHA512 
346a55319d826b363d0328594879797f3412036db26aaaf377f31c24530303ceee01f0f7ea2366fecc40156ca0795df451a1d75ca5328b1c2b3c552e1ad14506
+DIST amd64-bin-libreoffice-gnome-7.5.6.2.xd3 2278614 BLAKE2B 
e5a21656f31c0558230a2bb004e0bc800b2d2c82f94aafc189e1777ac1721c20161f1896ad7bfab91c7fa1c04325c2a6bc2466199e70e9cb72d0587aa2d1bedf
 SHA512 
3aa4fd626576ec582a03b24d3087618946c5a367f0f5092aa2b49526cbce32249cb5870dd2216b624a0ba3e9e8733e5c3768808162688ab308a4cedea2202975
 DIST amd64-bin-libreoffice-gnome-java-7.5.5.2.xd3 34218758 BLAKE2B 
81e2daa454f694bff2a0f1dcaf6380ff006d3723a8224961c318daa985f7449f2672afaae030a0836fd1e6eda5101d0cf44f30e9ca4c9f6e5205ae421c7d2501
 SHA512 
fa9ac6cd8f2ca34bae8b63e80a945c226a5776ba347536a5ffb28d3cb7b2b2987cf1d2af05defc8f48ee98e4c0a8b63fc21661781d6583079d468a6f60d5b646
+DIST amd64-bin-libreoffice-gnome-java-7.5.6.2.xd3 34965830 BLAKE2B 
98957e104ba566b82ef9bbdfa1b0dab9e47bea6e2e06296cad134ad7695b1765d2752d815dc8fbc2aef831b54cc4baef2f9b0ed1057675ccd85a0c9f5059eb11
 SHA512 
8195f18373f6f0832e64a62b4bde343925bceee71d216d560e8f9d452467f690786b998cba108a2ae6562f532d9eae12ad3afbfeed2bce706a7c2a9a9d138314
 DIST amd64-bin-libreoffice-java-7.5.5.2.xd3 34082366 BLAKE2B 
479038ea1751f722883ef23482248edd414436a1d322d43c0f70a70a255d206b53971b9dd3b9150e123c448c4e72a1c3b31902b8ceb2fd3b7487539d4957360f
 SHA512 
af19bbad45058d2fec8416360b17e71a976083aa0a39a9ad793e0c82c440fa90cb127ff34ca96efcbbf4fcac4e4c98950269178a4dc21b4927c1bfbb1b1f3a5c
+DIST amd64-bin-libreoffice-java-7.5.6.2.xd3 34824322 BLAKE2B 
f549ef51c592430f91488bdf57861ed88219da42ccb145ab2757e08037134cfb6dbd34cf75a475bd801916ac75337783b66d1f6c9c488f30e4a35c4d0adc3151
 SHA512 
9843837be6bcf8de2a4f9605e448548b1125c5b397e20c6f34e6e23565dbb86a60a40f09442155192f9628070acd1246cece6433069146a0ead1deebe29ac714
 DIST amd64-bin-libreoffice-kde-7.5.5.2.xd3 22760380 BLAKE2B 
40360f47ca57fb2cf8167c6da1fc81f5ba443b8778e1726ea3af5e24e2cf40e9ffa1b0e4cf21df45a27f05acc4d529be9a8b4e39458bc3f75eb1dfc6465799f9
 SHA512 
d19460cddea10a14a0ac96a67108ab76119708ccf400623ac2ebc03aaf26ecdd5d281acc1a64474c77f06cba569bda3710423d6f6475078c7fed01ad10936a3a
+DIST amd64-bin-libreoffice-kde-7.5.6.2.xd3 23259798 BLAKE2B 
7e0d9452816219f44a4513d98818544a283faceeec670baf37cf5a947f1e978ebfdfd01879bd45b1c2f8f9cfe098accd1252004aba82c2488e106a1a5afbbefc
 SHA512 
0c10614b6aa557acd4329bb8fbcefd99eb5832ee5f002e6e64a93cbca53b2dfc961260ff639f04b8062fab6f5b3b381916e6f897dc550306f210d2f8dccc6692
 DIST amd64-bin-libreoffice-kde-java-7.5.5.2.xd3 35214284 BLAKE2B 
dad93a483a1f1e9adf1786135c56e819b48d3bb99bc1a44849b0223334e18e38bfd7ef8f197fca0e1c7e92d6afe7b34ceeb01f03ec52ff8cadaac70ed51737ae
 SHA512 
6ce119232af9a0f4df8ccc16c5fd7a3677e032f3853e8694dd1d7afefc358badc704b939627ab857856947bd7abe3ff51d3cec7f084e0ffb666960c1f2740bdc
+DIST amd64-bin-libreoffice-kde-java-7.5.6.2.xd3 35638519 BLAKE2B 
87f8efcd1424b3d3d226af5153344a6c31a677279f042453e67a52ef123567d91f9e2cc472924ef60a687c473761f6f6c30f61c0232c650138f18f83c648ac48
 SHA512 
5ccf39e109881aed9ecbc8be4982af15b68c635922f1347e39d5cf472e2d3b8ddd5687e6e7d29bf466ba90380a0f6835f7f16a502a8ab58bd05b30684f5bb793
 DIST x86-bin-libreoffice-7.5.5.2.tar.xz 153296004 BLAKE2B 
fa14d21a4b47ee6192bfe6a647c08e3886454942494c2abf6eb1e27978634c910c838bee00d0f2fc6e38dc492529192a26498ab5464a73d50e33f74a83f96deb
 SHA512 

[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gpsprune-bin/

2023-10-17 Thread Florian Schmaus
commit: 3697ca2471e01d5208b0a517b05b9d881c4f2ace
Author: Florian Schmaus  gentoo  org>
AuthorDate: Tue Oct 17 18:10:18 2023 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Tue Oct 17 18:11:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3697ca24

sci-geosciences/gpsprune-bin: add 23.2, drop 23.1, various fixes

- properly install the jar file
- drop empty IUSE
- fix DEPEND/RDEPEND
- use https

Closes: https://bugs.gentoo.org/915822
Closes: https://bugs.gentoo.org/915823
Signed-off-by: Florian Schmaus  gentoo.org>

 sci-geosciences/gpsprune-bin/Manifest  |  2 +-
 .../gpsprune-bin/gpsprune-bin-23.1.ebuild  | 65 --
 .../gpsprune-bin/gpsprune-bin-23.2.ebuild  | 51 +
 3 files changed, 52 insertions(+), 66 deletions(-)

diff --git a/sci-geosciences/gpsprune-bin/Manifest 
b/sci-geosciences/gpsprune-bin/Manifest
index e5e46daa214b..d426286ca59d 100644
--- a/sci-geosciences/gpsprune-bin/Manifest
+++ b/sci-geosciences/gpsprune-bin/Manifest
@@ -1 +1 @@
-DIST gpsprune_23.1.jar 1201224 BLAKE2B 
829383d8fdc5406b4bbddfb224d48142cee910b478db8e67029592c9a8382b78f0286b3850b484801688254455d043e6409e3af21d3fb4956fc284a6f2e3685d
 SHA512 
45b285bd6f940619c2e6f73f29f377a8db01e29435833c07286261d57eee2b5584193b040ed4ce15fe1c0cfae15f629a3b95c0a25af74cf51af64cfa7fc19183
+DIST gpsprune_23.2.jar 1201771 BLAKE2B 
6673381e2415ff58293a5f8aea2d4140054dfca846b5000b7fdd4ad405a3a5a634704131a7269d5a62e8a1870e6e3735321a54f6c07d729efa55c09e6ec52de0
 SHA512 
5e33909d709440b989426de9617b51408739c5dfea040bf0c61ff59ee654a20d318829bed1aa34cbe36dd3698ee30c6c421ad5c6f1c17018d71b5891bd7ffd45

diff --git a/sci-geosciences/gpsprune-bin/gpsprune-bin-23.1.ebuild 
b/sci-geosciences/gpsprune-bin/gpsprune-bin-23.1.ebuild
deleted file mode 100644
index af6ab8ead830..
--- a/sci-geosciences/gpsprune-bin/gpsprune-bin-23.1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop
-
-DESCRIPTION="An application for viewing, editing and converting GPS data"
-HOMEPAGE="http://activityworkshop.net/software/gpsprune/index.html;
-SRC_URI="http://activityworkshop.net/software/gpsprune/gpsprune_${PV}.jar;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="virtual/jre:*"
-RDEPEND="${DEPEND}"
-
-gpsprune_bin="${WORKDIR}/gpsprune"
-gpsprune_desktop="${WORKDIR}/gpsprune.desktop"
-
-S="${WORKDIR}"
-
-src_prepare() {
-   default
-
-   # Provide the necessary files
-   cp "${DISTDIR}/${A}" "${WORKDIR}" || die
-   for size in 128 96 72 64 48 36 32 24 22 16; do
-   mkdir -p "${WORKDIR}/icons/$size"
-   cp "${WORKDIR}/tim/prune/gui/images/window_icon_${size}.png" 
"${WORKDIR}/icons/$size/gpsprune.png" || die
-   done
-
-   # Generate an executable
-   cat <<-EOF > "${gpsprune_bin}" || die
-   #!/bin/sh
-   java -jar /opt/gpsprune/gpsprune_${PV}.jar \$@
-   EOF
-
-   # Generate a .desktop file
-   cat <<-EOF > "${gpsprune_desktop}" || die
-   [Desktop Entry]
-   Name=GpsPrune
-   Type=Application
-   Comment=Application for viewing, editing and converting coordinate data 
from GPS systems
-   Exec=gpsprune
-   Icon=gpsprune
-   Categories=Science;Geoscience;
-   EOF
-}
-
-src_install() {
-   insinto /opt/gpsprune
-   doins "gpsprune_${PV}.jar"
-   exeinto /usr/bin
-   doexe "${gpsprune_bin}"
-
-   for size in 128 96 72 64 48 36 32 24 22 16; do
-   insinto "/usr/share/icons/hicolor/${size}x${size}/apps"
-   doins "icons/${size}/gpsprune.png"
-   done
-
-   domenu gpsprune.desktop
-}

diff --git a/sci-geosciences/gpsprune-bin/gpsprune-bin-23.2.ebuild 
b/sci-geosciences/gpsprune-bin/gpsprune-bin-23.2.ebuild
new file mode 100644
index ..62b86546e93b
--- /dev/null
+++ b/sci-geosciences/gpsprune-bin/gpsprune-bin-23.2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop java-pkg-2 java-pkg-simple
+
+DESCRIPTION="An application for viewing, editing and converting GPS data"
+HOMEPAGE="https://activityworkshop.net/software/gpsprune/index.html;
+SRC_URI="https://activityworkshop.net/software/gpsprune/gpsprune_${PV}.jar;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=">=virtual/jre-11:*"
+
+S="${WORKDIR}"
+
+JAVA_JAR_FILENAME="gpsprune.jar"
+JAVA_MAIN_CLASS="tim.prune.GpsPrune"
+JAVA_LAUNCHER_FILENAME="gpsprune"
+
+src_prepare() {
+   default
+
+   cp "${DISTDIR}/gpsprune_${PV}.jar" gpsprune.jar || die
+}
+
+src_compile() {
+   :
+}
+
+src_install() {
+   java-pkg-simple_src_install
+
+   for size in 128 96 72 64 48 36 32 24 22 16; do
+   insinto "/usr/share/icons/hicolor/${size}x${size}/apps"
+   newins 

[gentoo-commits] repo/gentoo:master commit in: app-portage/portpeek/

2023-10-17 Thread Mike Pagano
commit: 73b5e7c0eb552b916a83d10609fb46ed91f8506b
Author: Mike Pagano  gentoo  org>
AuthorDate: Tue Oct 17 18:06:18 2023 +
Commit: Mike Pagano  gentoo  org>
CommitDate: Tue Oct 17 18:06:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73b5e7c0

app-portage/portpeek: Support python 3.12, bump rev for dependencies

Signed-off-by: Mike Pagano  gentoo.org>

 app-portage/portpeek/portpeek-3.2.3-r1.ebuild | 30 +++
 1 file changed, 30 insertions(+)

diff --git a/app-portage/portpeek/portpeek-3.2.3-r1.ebuild 
b/app-portage/portpeek/portpeek-3.2.3-r1.ebuild
new file mode 100644
index ..c340af74aa86
--- /dev/null
+++ b/app-portage/portpeek/portpeek-3.2.3-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+PYTHON_COMPAT=( python3_{9,10,11,12} )
+
+inherit python-r1
+
+DESCRIPTION="A helper program for maintaining the package.keyword and 
package.unmask files"
+HOMEPAGE="https://github.com/mpagano/portpeek;
+SRC_URI="https://github.com/mpagano/portpeek/releases/download/v${PV}/${P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="${DEPEND}
+   >=app-portage/gentoolkit-0.6.2
+   || (
+   >=sys-apps/portage-3.0.52[${PYTHON_USEDEP}]
+   )"
+
+src_install() {
+   python_foreach_impl python_doscript ${PN}
+   doman *.[0-9]
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/

2023-10-17 Thread William Hubbs
commit: 94aaf10bbb97211efdffb001a4be8852cd65d6ff
Author: William Hubbs  gentoo  org>
AuthorDate: Tue Oct 17 17:53:17 2023 +
Commit: William Hubbs  gentoo  org>
CommitDate: Tue Oct 17 17:53:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94aaf10b

dev-lang/go: add 1.21.3

Bug: https://bugs.gentoo.org/91
Signed-off-by: William Hubbs  gentoo.org>

 dev-lang/go/Manifest |   1 +
 dev-lang/go/go-1.21.3.ebuild | 210 +++
 2 files changed, 211 insertions(+)

diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index 35b62ea30a24..cfb148c9e300 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -1,3 +1,4 @@
 DIST go1.20.10.src.tar.gz 26198392 BLAKE2B 
a9e99e64e6f11a48f8f9682e83c0ae5be4c3252814d869a2e70e445818df018e49e53e1d4c740a5e32a8a811362a5fc1ed3c61233dc967e3b50bf914b47eb60f
 SHA512 
1c6304abb8a7847cedb634380d43fcbf2b206f0e6af99e915b4735b4c5f9dfc08a01db6d41edaed91a2a8140fcd886343d39465bd6fb53bd37be0a7f41dc6525
 DIST go1.20.8.src.tar.gz 26197375 BLAKE2B 
1d6c5eb4da9f2f892b30013427b54039feeaf0bc41e1928a82da56e1c96689a796828758989a85a2d156f0547826eb0d408c324a93e02894dbb0a6c7b73b6b67
 SHA512 
858d0289b3cd709e71e14aed9a36fd3d462fb3aa72cc1108eef0c70ab583742ab2eff99a24f8bfd72d42d1cc741adc1d3619073fbed943f8aea20e453ed479d3
 DIST go1.21.1.src.tar.gz 26974429 BLAKE2B 
716f7c94d29dedd2e69f33a6d9d3cab9d7b02635915bfeab00dcadcc10a40812cd8fe76c1388f0eb8cbfa3cf84e2fd2d2595eab6d2c8782b3ea760e154be21d5
 SHA512 
b6bee4a461ed91958c334b2f8b78e8f0c45f07409ba6968ae393b34d9cd21a9b1a29df357d191144e99f8ea73f491926ea0027ecbcfcaa198349e67fa33e0e3c
+DIST go1.21.3.src.tar.gz 26976568 BLAKE2B 
5c2f76c43f9e98e36f65af38d3e9644693ca9f6921ada29918c7c736d5c9d65dfb454be324117e6423d31d1b55f2c1117941c7431ea9f057cd4c249e40b3ae06
 SHA512 
c98d31b9c477c0ac4b6f6933adefb40fdce5cdbb171e5236e3b694fec9e5b04695487af734259eab304dd42e86341240621a781f54b60c719627fd7b5efe4742

diff --git a/dev-lang/go/go-1.21.3.ebuild b/dev-lang/go/go-1.21.3.ebuild
new file mode 100644
index ..f57144c11909
--- /dev/null
+++ b/dev-lang/go/go-1.21.3.ebuild
@@ -0,0 +1,210 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+export CBUILD=${CBUILD:-${CHOST}}
+export CTARGET=${CTARGET:-${CHOST}}
+
+# See "Bootstrap" in release notes
+GO_BOOTSTRAP_MIN=1.17.13
+MY_PV=${PV/_/}
+
+inherit toolchain-funcs
+
+case ${PV}  in
+**)
+   EGIT_REPO_URI="https://github.com/golang/go.git;
+   inherit git-r3
+   ;;
+*)
+   SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
+   S="${WORKDIR}"/go
+   case ${PV} in
+   *_beta*|*_rc*) ;;
+   *)
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv 
~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+   ;;
+   esac
+esac
+
+DESCRIPTION="A concurrent garbage collected and typesafe programming language"
+HOMEPAGE="https://go.dev;
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+IUSE="abi_mips_o32 abi_mips_n64 cpu_flags_x86_sse2"
+
+RDEPEND="
+arm? ( sys-devel/binutils[gold] )
+arm64? ( sys-devel/binutils[gold] )"
+BDEPEND="|| (
+   >=dev-lang/go-${GO_BOOTSTRAP_MIN}
+   >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
+
+# the *.syso files have writable/executable stacks
+QA_EXECSTACK='*.syso'
+
+# Do not complain about CFLAGS, etc, since Go doesn't use them.
+QA_FLAGS_IGNORED='.*'
+
+# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
+QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
+
+# This package triggers "unrecognized elf file(s)" notices on riscv.
+# https://bugs.gentoo.org/794046
+QA_PREBUILT='.*'
+
+# Do not strip this package. Stripping is unsupported upstream and may
+# fail.
+RESTRICT+=" strip"
+
+DOCS=(
+   CONTRIBUTING.md
+   PATENTS
+   README.md
+   SECURITY.md
+)
+
+go_arch() {
+   # By chance most portage arch names match Go
+   local tc_arch=$(tc-arch $@)
+   case "${tc_arch}" in
+   x86)echo 386;;
+   x64-*)  echo amd64;;
+   loong)  echo loong64;;
+   mips) if use abi_mips_o32; then
+   [[ $(tc-endian $@) = big ]] && echo mips || 
echo mipsle
+   elif use abi_mips_n64; then
+   [[ $(tc-endian $@) = big ]] && echo mips64 || 
echo mips64le
+   fi ;;
+   ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo 
ppc64le ;;
+   riscv) echo riscv64 ;;
+   s390) echo s390x ;;
+   *)  echo "${tc_arch}";;
+   esac
+}
+
+go_arm() {
+   case "${1:-${CHOST}}" in
+   armv5*) echo 5;;
+   armv6*) echo 6;;
+   armv7*) echo 7;;
+   *)
+   die "unknown GOARM for ${1:-${CHOST}}"
+   ;;
+   esac
+}
+

[gentoo-commits] repo/gentoo:master commit in: net-vpn/tailscale/

2023-10-17 Thread William Hubbs
commit: c048b92a768909e1b007b5e8d6cc0bd54a64a1b1
Author: William Hubbs  gentoo  org>
AuthorDate: Tue Oct 17 17:49:08 2023 +
Commit: William Hubbs  gentoo  org>
CommitDate: Tue Oct 17 17:53:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c048b92a

net-vpn/tailscale: add 1.50.1

Closes: https://bugs.gentoo.org/915633
Signed-off-by: William Hubbs  gentoo.org>

 net-vpn/tailscale/Manifest|  2 ++
 net-vpn/tailscale/tailscale-1.50.1.ebuild | 59 +++
 2 files changed, 61 insertions(+)

diff --git a/net-vpn/tailscale/Manifest b/net-vpn/tailscale/Manifest
index 236948aaef8c..e276649c3319 100644
--- a/net-vpn/tailscale/Manifest
+++ b/net-vpn/tailscale/Manifest
@@ -4,3 +4,5 @@ DIST tailscale-1.38.4-deps.tar.xz 252299404 BLAKE2B 
aa500af08c64dd07dc04b4f96d8c
 DIST tailscale-1.38.4.tar.gz 1644918 BLAKE2B 
e61c32513afe8715b99e5ee14ee572849fd1b92c31744894af4d028ab599685d2e38c5fb6eb9e8d40e0638d427065499089152ae002ef7dc947d3957f0fdc785
 SHA512 
f077217d9333263f3883d766abfb8a9adef3cf9c06544cca28bca41e6f51bf06991a0d31ff2ec0dbf01e80cbc04c903bb5b55cdcd871269d3b659664ce24d011
 DIST tailscale-1.46.1-deps.tar.xz 370535596 BLAKE2B 
84c37e83f6ced653132c9a3639ad652cf258ab232d7f32fd5fbe8d2303aaae87c169bc6948c602be435f88c05373c6908d2120b16b83fc3795230fd633a62add
 SHA512 
358a91bdff4df7933660a31f0c967e090c8b10b42abf3e6497bf163e93bf86e4b98b5defadf5dba87815c941361310bfde6060927da73eac0bb55f56c80dace2
 DIST tailscale-1.46.1.tar.gz 1817180 BLAKE2B 
b5ace1aa3fa98b14be53bbf55ec271cbbaf4c28a095300963961dd8bc5ee308091d46807af3b82f8ecb88070763a245292304706ab29e74d6f1e56ff495c2c51
 SHA512 
cecaa216b1f451b65e826856f630e5dd8ef9bbd85684602450e71f0f46b6b1b97bf20a0b7c401a72c354a5a9404386d6bd03350da2a65fb4e358320763d93ab4
+DIST tailscale-1.50.1-deps.tar.xz 371484616 BLAKE2B 
cb4ac1939c4ad36bf3c752ccbdd1f34469e96e0576ae0f4bdede2f6e8ce8865c17addaead22c3be862846b1b9399900c0f3c8c0d720c5200c35405a974c85ec8
 SHA512 
3f11ba62e9879c0e51cd76a6e524d5e6bacb101e26e700872507f08c7924147a146a56933cd391a2b845bfb4fc7ad31a0a13dbc21dd3c8a2f7e10feea6d8b926
+DIST tailscale-1.50.1.tar.gz 1992569 BLAKE2B 
503dd358d13f038eafd67d2c00f292965eaba390ec483daded893082a87428c4bbf01bafb0339aaca3ebc62123985f0686046959d4aa25325b877a779de83b34
 SHA512 
3eb0e0f0ef6df4d77f9649fb8deb8b829286bc8ab70016b09da6aad9aa4e5d027494e2151db425b52e775997345d39d13bce6013e8c69700023a936f142dcfd6

diff --git a/net-vpn/tailscale/tailscale-1.50.1.ebuild 
b/net-vpn/tailscale/tailscale-1.50.1.ebuild
new file mode 100644
index ..0c73b128412b
--- /dev/null
+++ b/net-vpn/tailscale/tailscale-1.50.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module systemd tmpfiles
+
+# These settings are obtained by running ./build_dist.sh shellvars` in
+# the upstream repo.
+VERSION_MINOR="50"
+VERSION_SHORT="1.50.1"
+VERSION_LONG="1.50.1-t874938806"
+VERSION_GIT_HASH="8749388061d0251483389fa876afa01e0e76f15b"
+
+DESCRIPTION="Tailscale vpn client"
+HOMEPAGE="https://tailscale.com;
+SRC_URI="https://github.com/tailscale/tailscale/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz;
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+RDEPEND="net-firewall/iptables"
+
+RESTRICT="test"
+
+# This translates the build command from upstream's build_dist.sh to an
+# ebuild equivalent.
+build_dist() {
+   ego build -tags xversion -ldflags "
+   -X tailscale.com/version.Long=${VERSION_LONG}
+   -X tailscale.com/version.Short=${VERSION_SHORT}
+   -X tailscale.com/version.GitCommit=${VERSION_GIT_HASH}" "$@"
+}
+
+src_compile() {
+   build_dist ./cmd/tailscale
+   build_dist ./cmd/tailscaled
+}
+
+src_install() {
+   dosbin tailscaled
+   dobin tailscale
+
+   systemd_dounit cmd/tailscaled/tailscaled.service
+   insinto /etc/default
+   newins cmd/tailscaled/tailscaled.defaults tailscaled
+   keepdir /var/lib/${PN}
+   fperms 0750 /var/lib/${PN}
+
+   newtmpfiles "${FILESDIR}/${PN}.tmpfiles" ${PN}.conf
+
+   newinitd "${FILESDIR}/${PN}d.initd" ${PN}
+   newconfd "${FILESDIR}/${PN}d.confd" ${PN}
+}
+
+pkg_postinst() {
+   tmpfiles_process ${PN}.conf
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/

2023-10-17 Thread William Hubbs
commit: 4d31735413519485d5f4f0c1fde48a41f6820059
Author: William Hubbs  gentoo  org>
AuthorDate: Tue Oct 17 17:52:05 2023 +
Commit: William Hubbs  gentoo  org>
CommitDate: Tue Oct 17 17:53:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d317354

dev-lang/go: add 1.20.10

Bug: https://bugs.gentoo.org/91
Signed-off-by: William Hubbs  gentoo.org>

 dev-lang/go/Manifest  |   1 +
 dev-lang/go/go-1.20.10.ebuild | 210 ++
 2 files changed, 211 insertions(+)

diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index 0bd54f230120..35b62ea30a24 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -1,2 +1,3 @@
+DIST go1.20.10.src.tar.gz 26198392 BLAKE2B 
a9e99e64e6f11a48f8f9682e83c0ae5be4c3252814d869a2e70e445818df018e49e53e1d4c740a5e32a8a811362a5fc1ed3c61233dc967e3b50bf914b47eb60f
 SHA512 
1c6304abb8a7847cedb634380d43fcbf2b206f0e6af99e915b4735b4c5f9dfc08a01db6d41edaed91a2a8140fcd886343d39465bd6fb53bd37be0a7f41dc6525
 DIST go1.20.8.src.tar.gz 26197375 BLAKE2B 
1d6c5eb4da9f2f892b30013427b54039feeaf0bc41e1928a82da56e1c96689a796828758989a85a2d156f0547826eb0d408c324a93e02894dbb0a6c7b73b6b67
 SHA512 
858d0289b3cd709e71e14aed9a36fd3d462fb3aa72cc1108eef0c70ab583742ab2eff99a24f8bfd72d42d1cc741adc1d3619073fbed943f8aea20e453ed479d3
 DIST go1.21.1.src.tar.gz 26974429 BLAKE2B 
716f7c94d29dedd2e69f33a6d9d3cab9d7b02635915bfeab00dcadcc10a40812cd8fe76c1388f0eb8cbfa3cf84e2fd2d2595eab6d2c8782b3ea760e154be21d5
 SHA512 
b6bee4a461ed91958c334b2f8b78e8f0c45f07409ba6968ae393b34d9cd21a9b1a29df357d191144e99f8ea73f491926ea0027ecbcfcaa198349e67fa33e0e3c

diff --git a/dev-lang/go/go-1.20.10.ebuild b/dev-lang/go/go-1.20.10.ebuild
new file mode 100644
index ..ee74dcbc30da
--- /dev/null
+++ b/dev-lang/go/go-1.20.10.ebuild
@@ -0,0 +1,210 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+export CBUILD=${CBUILD:-${CHOST}}
+export CTARGET=${CTARGET:-${CHOST}}
+
+# See "Bootstrap" in release notes
+GO_BOOTSTRAP_MIN=1.17.13
+MY_PV=${PV/_/}
+
+inherit toolchain-funcs
+
+case ${PV}  in
+**)
+   EGIT_REPO_URI="https://github.com/golang/go.git;
+   inherit git-r3
+   ;;
+*)
+   SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
+   S="${WORKDIR}"/go
+   case ${PV} in
+   *_beta*|*_rc*) ;;
+   *)
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv 
~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+   ;;
+   esac
+esac
+
+DESCRIPTION="A concurrent garbage collected and typesafe programming language"
+HOMEPAGE="https://go.dev;
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+IUSE="abi_mips_o32 abi_mips_n64 cpu_flags_x86_sse2"
+
+RDEPEND="
+arm? ( sys-devel/binutils[gold] )
+arm64? ( sys-devel/binutils[gold] )"
+BDEPEND="|| (
+   >=dev-lang/go-${GO_BOOTSTRAP_MIN}
+   >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
+
+# the *.syso files have writable/executable stacks
+QA_EXECSTACK='*.syso'
+
+# Do not complain about CFLAGS, etc, since Go doesn't use them.
+QA_FLAGS_IGNORED='.*'
+
+# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
+QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
+
+# This package triggers "unrecognized elf file(s)" notices on riscv.
+# https://bugs.gentoo.org/794046
+QA_PREBUILT='.*'
+
+# Do not strip this package. Stripping is unsupported upstream and may
+# fail.
+RESTRICT+=" strip"
+
+DOCS=(
+   CONTRIBUTING.md
+   PATENTS
+   README.md
+   SECURITY.md
+)
+
+go_arch() {
+   # By chance most portage arch names match Go
+   local tc_arch=$(tc-arch $@)
+   case "${tc_arch}" in
+   x86)echo 386;;
+   x64-*)  echo amd64;;
+   loong)  echo loong64;;
+   mips) if use abi_mips_o32; then
+   [[ $(tc-endian $@) = big ]] && echo mips || 
echo mipsle
+   elif use abi_mips_n64; then
+   [[ $(tc-endian $@) = big ]] && echo mips64 || 
echo mips64le
+   fi ;;
+   ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo 
ppc64le ;;
+   riscv) echo riscv64 ;;
+   s390) echo s390x ;;
+   *)  echo "${tc_arch}";;
+   esac
+}
+
+go_arm() {
+   case "${1:-${CHOST}}" in
+   armv5*) echo 5;;
+   armv6*) echo 6;;
+   armv7*) echo 7;;
+   *)
+   die "unknown GOARM for ${1:-${CHOST}}"
+   ;;
+   esac
+}
+
+go_os() {
+   case "${1:-${CHOST}}" in
+   *-linux*)   echo linux;;
+   *-darwin*)  echo darwin;;
+   *-freebsd*) echo freebsd;;
+   *-netbsd*)  echo netbsd;;
+   *-openbsd*) echo openbsd;;
+   *-solaris*) 

[gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/

2023-10-17 Thread Ionen Wolkens
commit: ae8511e7c9be8bed4145b92998b75bfa31a72c31
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Tue Oct 17 14:10:49 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Oct 17 17:46:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae8511e7

x11-drivers/nvidia-drivers: drop 535.104.05

Signed-off-by: Ionen Wolkens  gentoo.org>

 x11-drivers/nvidia-drivers/Manifest|   8 -
 .../nvidia-drivers-535.104.05.ebuild   | 506 -
 2 files changed, 514 deletions(-)

diff --git a/x11-drivers/nvidia-drivers/Manifest 
b/x11-drivers/nvidia-drivers/Manifest
index 391fdd9b9f3f..7edd68684d57 100644
--- a/x11-drivers/nvidia-drivers/Manifest
+++ b/x11-drivers/nvidia-drivers/Manifest
@@ -1,39 +1,31 @@
 DIST NVIDIA-Linux-aarch64-525.125.06.run 263039228 BLAKE2B 
e25f9dd3807fcd3bc4d3d55b6b7f39969ee4140e2f6a60509b34494b5e29daa1c333edeeb966bfdf4397057c6b707830523c956e28e252ab6db1fc402ac8edbb
 SHA512 
190a458810fa02c89eaeb4587b97463b2be86a9a5ba44ab4113a224d224cec69d8d706b4a3421bdc3a067e0c47a67e104c156bb5ddec6ecd109b655a3d4ef7d7
-DIST NVIDIA-Linux-aarch64-535.104.05.run 268930052 BLAKE2B 
2ad8d0c8e490be857f4f9389c6e84ca241b5950e1ae91960128c0dee3043c7796a12e8b5e3d8e3d6b0c35421822f363b31d98ec84495276c3e7722fec12ba169
 SHA512 
1282d5f494af5ca0f9df55213f74c810dd78b154814ab29fbc9719fa3addf2523b82d41f034fbf1a7ec030af39b4c568d5648ea052405c5af98a5ee3aa4ae253
 DIST NVIDIA-Linux-aarch64-535.113.01.run 269687456 BLAKE2B 
712f7d18ac566338fd87f57a686bb66ef987a1a1a244271be398f5b4566ab746e52ed9c65f04daef858b996fd3e1a12b70c0262dc28afa658764d3b27d7cd1f6
 SHA512 
b096ffb63d2f113bb1ac5a8cec9a79a643ccab7fc8e9b20e547d96bda4960f0bc70fa2be806d19d47eae5fe2ee6e762e0638f1600ceb54744f46af38251a7f73
 DIST NVIDIA-Linux-x86-390.157.run 49417041 BLAKE2B 
435b5e0e60468cc74b41cc5d9b5bb0105d29c11a2d408457835212a96519c9334ecf19278b36749d3ff7f498f5b0ae45a2efae2d428703dac21245c62f1efebe
 SHA512 
dae9ac2c12f9ad90f7441e00e01a984147c577892421911d7f67f6a31e616ac1cb7d434bc9c7f58fbd9b8ae909521b5bece607a63c79588c0bb9d99c6bad5fb0
 DIST NVIDIA-Linux-x86_64-390.157.run 85835541 BLAKE2B 
44b855cd11f3b2f231f9fb90492ae2e67a67ea3ea83c413e7c90956d38c9730a8bd0321281ae03c6afce633d102f5b499aed25622b9bfd31bdd2c98f0717e95b
 SHA512 
4780503a4cff0180b1b1f37d20a6ba3438dd78b51fa7f69b98d35521835e5d61099129746929d51d63afa2d47b672b3e145e1e1897584dc3799e7f822c5b3a0a
 DIST NVIDIA-Linux-x86_64-470.199.02.run 273256770 BLAKE2B 
5ceca89da4b4c7de701602d3dbf26e71a1163be26e0e5eac65354ecd40bfc8d68c981a6ef75b13e95079835c95ef7f9e10e5f95a0ed09beffd5bc22cb81a5330
 SHA512 
e1265b6266473af652e9d7bf85dcd76e312af281c5f4f158ab322e34d378738acb87c30cfff7bf1f6e1b238883e7f665d9fc5151b1e0078dd9aece5a52655405
 DIST NVIDIA-Linux-x86_64-525.125.06.run 414318862 BLAKE2B 
204c53bbf579edf6d88c9ab4efcf82983a2b58262df4748076de96f3d67b107949407ae0c5ffe9bf6747783b1bcb9a9efc4a3c60d7161427b1c85ecfc494171a
 SHA512 
a5f13b633d111d9dc928e8522cd916a2b756fccbf2dc532649762a3f9bdc5503bd57c9c698da8205c49e82720b45789413a1afc26be77d741f823b49ae2f333d
-DIST NVIDIA-Linux-x86_64-535.104.05.run 340936244 BLAKE2B 
b549d84df020291180c2dd08f42abd806c01091ccc976932ed35d5ce0c3fe629adb892dfb48837b57f1eb2aefe13c6a06c7d3a05a490bf4de3c6d5315cf40114
 SHA512 
9aba3bada23b41acf7420da57cfced8bf883ef9210bbca5db9882e6e682e9755e0bc48fa12bb2ed114d4d68ba99443f26c22c94d3063d0daf8e9c1e21b369bb5
 DIST NVIDIA-Linux-x86_64-535.113.01.run 341515532 BLAKE2B 
2fe0564771f14618010bd1d8932db1d6c98701faabfd8a867f5f0e9939dcff6d64744c3f2272b62701c231473e49dd1b22687db777a1950c4e0f40f091b70ed2
 SHA512 
bf939843404bc163246b710ca336236f28af489f77ee1830a2d20d4ca926a434b6fbc2156d5777dc004692d5d1adbef77ce79071247f81da2db9adf42c32bfa7
 DIST NVIDIA-Linux-x86_64-535.43.13.run 340967556 BLAKE2B 
7a74e5bb6e492692cc643eefa89418f698eb8a7e6989dc704e18e0eb4489ad47b8f2592a1d4ae7104cd958183f4a4977a10c5f419b67130eb0a4a41569b4ca29
 SHA512 
f942ea0f5287a8c49f9930f5abd0ad3ca6765e791ccfe7f98e3e0c3096c8101a518fac6f2ba814afeb37762340436c72ad00f5b6b5179daa19f7f866b1e8c878
 DIST NVIDIA-kernel-module-source-525.125.06.tar.xz 10100204 BLAKE2B 
1a7a9f56be4533b8106df25ddf65cd7756cde11fd3e01f96f1f34c7d18af764fcfefc1cf980fed6c0e586e614ccacef9e2cddbabb87c7d7f06a1b27d94f63466
 SHA512 
1319a2333988795f5b0850cfe769ab0f4c4364bdb516147b85890abb4695aea2553ca0febf9cfcf2f8eafb4c05c3e21f56356ad75e64416c9782b027495028e6
-DIST NVIDIA-kernel-module-source-535.104.05.tar.xz 12477388 BLAKE2B 
0fb57ede191093c9512243f027747301d177d9c0444b119ea238f61d397f507b424ad05f05417b13ef94457b7557a92f426fe15217e9da5bacc9645477abd40a
 SHA512 
a7f5428307f51c3b35bffe4e69ccf82883a16c6505fddce7b986f434d4bf1753dbc8c1ab42af2df47df6936860f274b6f15835f99fbbb871dab47a9ba61e53ad
 DIST NVIDIA-kernel-module-source-535.113.01.tar.xz 12469512 BLAKE2B 
832d1468a35d9d5677b3fdae30a7db7518173d9b657124669634380568b19ea63659fbfe07f06e82dd8f77331d34d34e8b1a7505e8875594ee06426407528f8c
 SHA512 

[gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/

2023-10-17 Thread Ionen Wolkens
commit: 302828a8a76d1433002376ef4c83eb88c58fbb00
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Tue Oct 17 14:15:08 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Oct 17 17:46:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=302828a8

x11-drivers/nvidia-drivers: minor style adjustments

Signed-off-by: Ionen Wolkens  gentoo.org>

 .../nvidia-drivers/nvidia-drivers-390.157.ebuild   | 22 ++
 .../nvidia-drivers-470.199.02.ebuild   | 22 ++
 .../nvidia-drivers-525.125.06.ebuild   | 22 ++
 .../nvidia-drivers-535.113.01.ebuild   | 22 ++
 .../nvidia-drivers/nvidia-drivers-535.43.13.ebuild | 22 ++
 5 files changed, 70 insertions(+), 40 deletions(-)

diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-390.157.ebuild 
b/x11-drivers/nvidia-drivers/nvidia-drivers-390.157.ebuild
index fce832416735..6adc3f8615de 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-390.157.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-390.157.ebuild
@@ -16,9 +16,10 @@ SRC_URI="
amd64? ( ${NV_URI}Linux-x86_64/${PV}/NVIDIA-Linux-x86_64-${PV}.run )
x86? ( ${NV_URI}Linux-x86/${PV}/NVIDIA-Linux-x86-${PV}.run )
$(printf "${NV_URI}%s/%s-${PV}.tar.bz2 " \
-   nvidia-{installer,modprobe,persistenced,settings,xconfig}{,})"
+   nvidia-{installer,modprobe,persistenced,settings,xconfig}{,})
+"
 # nvidia-installer is unused but here for GPL-2's "distribute sources"
-S="${WORKDIR}"
+S=${WORKDIR}
 
 LICENSE="NVIDIA-r2 BSD BSD-2 GPL-2 MIT"
 SLOT="0/${PV%%.*}"
@@ -43,7 +44,8 @@ COMMON_DEPEND="
x11-libs/libXext
x11-libs/libXxf86vm
x11-libs/pango
-   )"
+   )
+"
 RDEPEND="
${COMMON_DEPEND}
sys-libs/glibc
@@ -51,7 +53,8 @@ RDEPEND="
media-libs/libglvnd[X,abi_x86_32(-)?]
x11-libs/libX11[abi_x86_32(-)?]
x11-libs/libXext[abi_x86_32(-)?]
-   )"
+   )
+"
 DEPEND="
${COMMON_DEPEND}
static-libs? (
@@ -65,10 +68,12 @@ DEPEND="
x11-libs/libXrandr
x11-libs/libXv
x11-libs/libvdpau
-   )"
+   )
+"
 BDEPEND="
sys-devel/m4
-   virtual/pkgconfig"
+   virtual/pkgconfig
+"
 
 QA_PREBUILT="opt/bin/* usr/lib*"
 
@@ -92,7 +97,8 @@ pkg_setup() {
~!AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT
~!LOCKDEP
~!X86_KERNEL_IBT
-   !DEBUG_MUTEXES"
+   !DEBUG_MUTEXES
+   "
 
local ERROR_DRM_KMS_HELPER="CONFIG_DRM_KMS_HELPER: is not set but 
needed for Xorg auto-detection
of drivers (no custom config), and optional nvidia-drm.modeset=1.
@@ -176,7 +182,7 @@ src_compile() {
use X && emake "${NV_ARGS[@]}" -C nvidia-xconfig
 
if use tools; then
-   # cflags: avoid noisy logs, only use here and set first to let 
override
+   # avoid noisy *very* noisy logs with deprecation warnings
CFLAGS="-Wno-deprecated-declarations ${CFLAGS}" \
emake "${NV_ARGS[@]}" -C nvidia-settings
elif use static-libs; then

diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-470.199.02.ebuild 
b/x11-drivers/nvidia-drivers/nvidia-drivers-470.199.02.ebuild
index 59cdea3c4d44..eca9160ac8de 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-470.199.02.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-470.199.02.ebuild
@@ -15,9 +15,10 @@ HOMEPAGE="https://www.nvidia.com/download/index.aspx;
 SRC_URI="
${NV_URI}Linux-x86_64/${PV}/NVIDIA-Linux-x86_64-${PV}.run
$(printf "${NV_URI}%s/%s-${PV}.tar.bz2 " \
-   nvidia-{installer,modprobe,persistenced,settings,xconfig}{,})"
+   nvidia-{installer,modprobe,persistenced,settings,xconfig}{,})
+"
 # nvidia-installer is unused but here for GPL-2's "distribute sources"
-S="${WORKDIR}"
+S=${WORKDIR}
 
 LICENSE="NVIDIA-r2 BSD BSD-2 GPL-2 MIT ZLIB curl openssl"
 SLOT="0/${PV%%.*}"
@@ -42,7 +43,8 @@ COMMON_DEPEND="
x11-libs/libXext
x11-libs/libXxf86vm
x11-libs/pango
-   )"
+   )
+"
 RDEPEND="
${COMMON_DEPEND}
sys-libs/glibc
@@ -54,7 +56,8 @@ RDEPEND="
wayland? (
~gui-libs/egl-wayland-1.1.7
media-libs/libglvnd
-   )"
+   )
+"
 DEPEND="
${COMMON_DEPEND}
static-libs? (
@@ -68,10 +71,12 @@ DEPEND="
x11-libs/libXrandr
x11-libs/libXv
x11-libs/libvdpau
-   )"
+   )
+"
 BDEPEND="
sys-devel/m4
-   virtual/pkgconfig"
+   virtual/pkgconfig
+"
 
 QA_PREBUILT="lib/firmware/* opt/bin/* usr/lib*"
 
@@ -94,7 +99,8 @@ pkg_setup() {
~!LOCKDEP
~!SLUB_DEBUG_ON
~!X86_KERNEL_IBT
-  

[gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/files/, x11-drivers/nvidia-drivers/

2023-10-17 Thread Ionen Wolkens
commit: 33771d6c13247170d54f82bf8747b60288a452bf
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Tue Oct 17 17:13:37 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Oct 17 17:50:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33771d6c

x11-drivers/nvidia-drivers: add 545.23.06 (unkeyworded NFB beta)

Per usual, leaving unkeyworded when NVIDIA notes that it is a beta,
and will wait for the next version for this NFB to keyword. Not that
there is known issues at the moment.

nvidia.conf newly has a (commented out) fbdev=1 setting to take over
efifb or others once nvidia-drm is loaded. Untested but should allow
simpledrm or nouveau to handle early boot messages and then be replaced
(rather than conflict). Not that would recommend nouveau over simpledrm
for this, unnecessary complex initializations just to display few lines
of boot messages.

Note NVIDIA has upped kernel-open from "alpha" to "beta" and no longer
requires setting NVreg_OpenRmEnableUnsupportedGpus=1. To go with this,
reduce ebuild postinst elog nagging to show only once when newly
setting the flag.

Also drop raw ldflags patches, looks finally fixed upstream.

Signed-off-by: Ionen Wolkens  gentoo.org>

 x11-drivers/nvidia-drivers/Manifest|   8 +
 x11-drivers/nvidia-drivers/files/nvidia-545.conf   |  37 ++
 .../nvidia-drivers/nvidia-drivers-545.23.06.ebuild | 504 +
 3 files changed, 549 insertions(+)

diff --git a/x11-drivers/nvidia-drivers/Manifest 
b/x11-drivers/nvidia-drivers/Manifest
index 7edd68684d57..d74bf8547b84 100644
--- a/x11-drivers/nvidia-drivers/Manifest
+++ b/x11-drivers/nvidia-drivers/Manifest
@@ -1,31 +1,39 @@
 DIST NVIDIA-Linux-aarch64-525.125.06.run 263039228 BLAKE2B 
e25f9dd3807fcd3bc4d3d55b6b7f39969ee4140e2f6a60509b34494b5e29daa1c333edeeb966bfdf4397057c6b707830523c956e28e252ab6db1fc402ac8edbb
 SHA512 
190a458810fa02c89eaeb4587b97463b2be86a9a5ba44ab4113a224d224cec69d8d706b4a3421bdc3a067e0c47a67e104c156bb5ddec6ecd109b655a3d4ef7d7
 DIST NVIDIA-Linux-aarch64-535.113.01.run 269687456 BLAKE2B 
712f7d18ac566338fd87f57a686bb66ef987a1a1a244271be398f5b4566ab746e52ed9c65f04daef858b996fd3e1a12b70c0262dc28afa658764d3b27d7cd1f6
 SHA512 
b096ffb63d2f113bb1ac5a8cec9a79a643ccab7fc8e9b20e547d96bda4960f0bc70fa2be806d19d47eae5fe2ee6e762e0638f1600ceb54744f46af38251a7f73
+DIST NVIDIA-Linux-aarch64-545.23.06.run 255875887 BLAKE2B 
83be798d96f5ec23e6008475d71f2a8ce5fe68f7271bec262d775d3a4641317ee83a6929fd07745946bdac03f39aced6ccc1778d1349185cc835efbe20f92db0
 SHA512 
0de770e0871a909f8738acc14eb0eca53a947201cd5acd2af7852f93fce82a6e0de3f52309357a3777f1041a902be9790e7a1531437108d0eec6897f6a62501b
 DIST NVIDIA-Linux-x86-390.157.run 49417041 BLAKE2B 
435b5e0e60468cc74b41cc5d9b5bb0105d29c11a2d408457835212a96519c9334ecf19278b36749d3ff7f498f5b0ae45a2efae2d428703dac21245c62f1efebe
 SHA512 
dae9ac2c12f9ad90f7441e00e01a984147c577892421911d7f67f6a31e616ac1cb7d434bc9c7f58fbd9b8ae909521b5bece607a63c79588c0bb9d99c6bad5fb0
 DIST NVIDIA-Linux-x86_64-390.157.run 85835541 BLAKE2B 
44b855cd11f3b2f231f9fb90492ae2e67a67ea3ea83c413e7c90956d38c9730a8bd0321281ae03c6afce633d102f5b499aed25622b9bfd31bdd2c98f0717e95b
 SHA512 
4780503a4cff0180b1b1f37d20a6ba3438dd78b51fa7f69b98d35521835e5d61099129746929d51d63afa2d47b672b3e145e1e1897584dc3799e7f822c5b3a0a
 DIST NVIDIA-Linux-x86_64-470.199.02.run 273256770 BLAKE2B 
5ceca89da4b4c7de701602d3dbf26e71a1163be26e0e5eac65354ecd40bfc8d68c981a6ef75b13e95079835c95ef7f9e10e5f95a0ed09beffd5bc22cb81a5330
 SHA512 
e1265b6266473af652e9d7bf85dcd76e312af281c5f4f158ab322e34d378738acb87c30cfff7bf1f6e1b238883e7f665d9fc5151b1e0078dd9aece5a52655405
 DIST NVIDIA-Linux-x86_64-525.125.06.run 414318862 BLAKE2B 
204c53bbf579edf6d88c9ab4efcf82983a2b58262df4748076de96f3d67b107949407ae0c5ffe9bf6747783b1bcb9a9efc4a3c60d7161427b1c85ecfc494171a
 SHA512 
a5f13b633d111d9dc928e8522cd916a2b756fccbf2dc532649762a3f9bdc5503bd57c9c698da8205c49e82720b45789413a1afc26be77d741f823b49ae2f333d
 DIST NVIDIA-Linux-x86_64-535.113.01.run 341515532 BLAKE2B 
2fe0564771f14618010bd1d8932db1d6c98701faabfd8a867f5f0e9939dcff6d64744c3f2272b62701c231473e49dd1b22687db777a1950c4e0f40f091b70ed2
 SHA512 
bf939843404bc163246b710ca336236f28af489f77ee1830a2d20d4ca926a434b6fbc2156d5777dc004692d5d1adbef77ce79071247f81da2db9adf42c32bfa7
 DIST NVIDIA-Linux-x86_64-535.43.13.run 340967556 BLAKE2B 
7a74e5bb6e492692cc643eefa89418f698eb8a7e6989dc704e18e0eb4489ad47b8f2592a1d4ae7104cd958183f4a4977a10c5f419b67130eb0a4a41569b4ca29
 SHA512 
f942ea0f5287a8c49f9930f5abd0ad3ca6765e791ccfe7f98e3e0c3096c8101a518fac6f2ba814afeb37762340436c72ad00f5b6b5179daa19f7f866b1e8c878
+DIST NVIDIA-Linux-x86_64-545.23.06.run 324826559 BLAKE2B 
5cdf6f9c0ddd43a57e0d740bf027a98d003a0a44b07a920670439e3c218e2c4385667b86deed60afacf567c186fd5869a80af4fa4498a8724d0548e407b98032
 SHA512 
5b36accd10b5d5768ac6c6865148c750485f24ad4346f9f2f7e9d7d323297b0b5c5e7369bd8b82bca10e3d518b0ca820ae4865df8beaa49eb3fd5ad184702194
 DIST 

[gentoo-commits] repo/proj/guru:dev commit in: net-im/mautrix-slack/

2023-10-17 Thread Julien Roy
commit: 3134142dc4bf9232472793a0a18306ffeea22b4f
Author: Julien Roy  jroy  ca>
AuthorDate: Tue Oct 17 17:50:20 2023 +
Commit: Julien Roy  jroy  ca>
CommitDate: Tue Oct 17 17:50:20 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3134142d

net-im/mautrix-slack: drop 0_pre20230414

Signed-off-by: Julien Roy  jroy.ca>

 net-im/mautrix-slack/Manifest  |  2 -
 .../mautrix-slack-0_pre20230414.ebuild | 64 --
 2 files changed, 66 deletions(-)

diff --git a/net-im/mautrix-slack/Manifest b/net-im/mautrix-slack/Manifest
index 15d9b41aef..16beacd7f2 100644
--- a/net-im/mautrix-slack/Manifest
+++ b/net-im/mautrix-slack/Manifest
@@ -1,5 +1,3 @@
-DIST mautrix-slack-0_pre20230414.gh.tar.gz 94370 BLAKE2B 
56cb12269fb6695aaf6ed3485166732b5f526e00f6a0237b2c2d1fe7f36eda15bf2ba26560b31069cda3f1229645f64bb99c9e6ce88d6c8d441af4e338071875
 SHA512 
7374b87892c92ca7dd493d1886bc24a8916931951be8c3e5799d223931a18bbf2d7a93dc02e4c6714f53e1b3c9005272e278a60578859d48f8882b50488de52b
-DIST mautrix-slack-0_pre20230414.tar.xz 14805340 BLAKE2B 
2fabcacf24edca667143c7dfac108932af7edfe8d991331eb9c06c52de1669184942600224907c4dfe690d85a0a19306398c62d6f3e6b8aba4b243dd72eaffc0
 SHA512 
0f121cf01565a14e1d692b8d646b83c20ecf0082b3c61300fbfeb8a6e5b8f0631ea7c2fc3a9e64e851abb7cf9ec53e1c8e5e20324cd43d71c7e72cb8275cba24
 DIST mautrix-slack-0_pre20230517.gh.tar.gz 94370 BLAKE2B 
56cb12269fb6695aaf6ed3485166732b5f526e00f6a0237b2c2d1fe7f36eda15bf2ba26560b31069cda3f1229645f64bb99c9e6ce88d6c8d441af4e338071875
 SHA512 
7374b87892c92ca7dd493d1886bc24a8916931951be8c3e5799d223931a18bbf2d7a93dc02e4c6714f53e1b3c9005272e278a60578859d48f8882b50488de52b
 DIST mautrix-slack-0_pre20230517.tar.xz 18026880 BLAKE2B 
14623cbf2b3ed3a244f762fee4f816ab38bb2bd9f2d488e3bdd93419b838403e9c3eb50fb473c358c3391788383d382977db23ad3721138f38ad1e022cf18cd2
 SHA512 
bc9b8cb0b59ca2c196d555c49633f1b00305577e400f11b5430f843a6a166ce708ac62db9d06ea262d2b6e2e3b070395fc7dbe79de6467e6a46d89ae6e3ee5de
 DIST mautrix-slack-0_pre20230925.gh.tar.gz 98793 BLAKE2B 
3172f0b274da2f95897cec163bd82090668de0ee8d8a4dfc2e20ec65cf764d8a6270a3801a72efc0b16cef6275c4b767e2728715736878354533de475fb23ea0
 SHA512 
d2bd2b4a52233d2ce59c7fde956ae253c97c6e28913b479fd64708759fceae8154dc71d54dadb8d515fccf6a5a43c0b77a94d0938e4c2a8333a18ac9b7965a7f

diff --git a/net-im/mautrix-slack/mautrix-slack-0_pre20230414.ebuild 
b/net-im/mautrix-slack/mautrix-slack-0_pre20230414.ebuild
deleted file mode 100644
index a03a839bf9..00
--- a/net-im/mautrix-slack/mautrix-slack-0_pre20230414.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit go-module systemd
-
-COMMIT="eb519c6407751b48001bb66bc55014100322b6c6"
-DESCRIPTION="A Matrix-Slack puppeting bridge based on slack-go"
-HOMEPAGE="https://github.com/mautrix/slack;
-SRC_URI="https://github.com/mautrix/slack/archive/${COMMIT}.tar.gz -> 
${P}.gh.tar.gz
-   https://jroy.ca/dist/${P}.tar.xz
-"
-S="${WORKDIR}/slack-${COMMIT}"
-
-LICENSE="AGPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
-   acct-user/${PN}
-   dev-libs/olm
-"
-DEPEND="${RDEPEND}"
-
-src_compile() {
-   ego build
-}
-
-src_install() {
-   dobin mautrix-slack
-
-   keepdir /var/log/mautrix/slack
-   fowners -R root:mautrix /var/log/mautrix
-   fperms -R 770 /var/log/mautrix
-   sed -i -e "s/\.\/logs/\/var\/log\/mautrix\/slack/" 
"example-config.yaml" || die
-
-   insinto "/etc/mautrix"
-   newins "example-config.yaml" "${PN/-/_}.yaml"
-
-   newinitd "${FILESDIR}/${PN}.initd" "${PN}"
-   systemd_dounit "${FILESDIR}/${PN}.service"
-
-   fowners -R root:mautrix /etc/mautrix
-   fperms -R 770 /etc/mautrix
-}
-
-pkg_postinst() {
-   einfo
-   elog ""
-   elog "Before you can use ${PN}, you must configure it correctly"
-   elog "The configuration file is located at 
\"/etc/mautrix/${PN/-/_}.yaml\""
-   elog "When done, run the following command: emerge --config 
${CATEGORY}/${PN}"
-   elog "Then, you must register the bridge with your homeserver"
-   elog "Refer your homeserver's documentation for instructions"
-   elog "The registration file is located at 
/var/lib/${PN/-/\/}/registration.yaml"
-   elog "Finally, you may start the ${PN} daemon"
-   einfo
-}
-
-pkg_config() {
-   su - "${PN}" -s /bin/sh -c \
-  "/usr/bin/${PN} -c /etc/mautrix/${PN/-/_}.yaml -g -r 
/var/lib/${PN/-/\/}/registration.yaml"
-}



[gentoo-commits] repo/proj/guru:dev commit in: net-im/mautrix-slack/

2023-10-17 Thread Julien Roy
commit: 464defa47f7c0a7e813e95ca9eface0821d6a348
Author: Julien Roy  jroy  ca>
AuthorDate: Tue Oct 17 17:50:01 2023 +
Commit: Julien Roy  jroy  ca>
CommitDate: Tue Oct 17 17:50:11 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=464defa4

net-im/mautrix-slack: add 0_pre20230925

Signed-off-by: Julien Roy  jroy.ca>

 net-im/mautrix-slack/Manifest  |  2 +
 .../mautrix-slack-0_pre20230925.ebuild | 64 ++
 2 files changed, 66 insertions(+)

diff --git a/net-im/mautrix-slack/Manifest b/net-im/mautrix-slack/Manifest
index 04730adc09..15d9b41aef 100644
--- a/net-im/mautrix-slack/Manifest
+++ b/net-im/mautrix-slack/Manifest
@@ -2,3 +2,5 @@ DIST mautrix-slack-0_pre20230414.gh.tar.gz 94370 BLAKE2B 
56cb12269fb6695aaf6ed34
 DIST mautrix-slack-0_pre20230414.tar.xz 14805340 BLAKE2B 
2fabcacf24edca667143c7dfac108932af7edfe8d991331eb9c06c52de1669184942600224907c4dfe690d85a0a19306398c62d6f3e6b8aba4b243dd72eaffc0
 SHA512 
0f121cf01565a14e1d692b8d646b83c20ecf0082b3c61300fbfeb8a6e5b8f0631ea7c2fc3a9e64e851abb7cf9ec53e1c8e5e20324cd43d71c7e72cb8275cba24
 DIST mautrix-slack-0_pre20230517.gh.tar.gz 94370 BLAKE2B 
56cb12269fb6695aaf6ed3485166732b5f526e00f6a0237b2c2d1fe7f36eda15bf2ba26560b31069cda3f1229645f64bb99c9e6ce88d6c8d441af4e338071875
 SHA512 
7374b87892c92ca7dd493d1886bc24a8916931951be8c3e5799d223931a18bbf2d7a93dc02e4c6714f53e1b3c9005272e278a60578859d48f8882b50488de52b
 DIST mautrix-slack-0_pre20230517.tar.xz 18026880 BLAKE2B 
14623cbf2b3ed3a244f762fee4f816ab38bb2bd9f2d488e3bdd93419b838403e9c3eb50fb473c358c3391788383d382977db23ad3721138f38ad1e022cf18cd2
 SHA512 
bc9b8cb0b59ca2c196d555c49633f1b00305577e400f11b5430f843a6a166ce708ac62db9d06ea262d2b6e2e3b070395fc7dbe79de6467e6a46d89ae6e3ee5de
+DIST mautrix-slack-0_pre20230925.gh.tar.gz 98793 BLAKE2B 
3172f0b274da2f95897cec163bd82090668de0ee8d8a4dfc2e20ec65cf764d8a6270a3801a72efc0b16cef6275c4b767e2728715736878354533de475fb23ea0
 SHA512 
d2bd2b4a52233d2ce59c7fde956ae253c97c6e28913b479fd64708759fceae8154dc71d54dadb8d515fccf6a5a43c0b77a94d0938e4c2a8333a18ac9b7965a7f
+DIST mautrix-slack-0_pre20230925.tar.xz 15741728 BLAKE2B 
8f107120e688fedf925a219fc317afaa7f19b97951dc48ba9de75596d3866d549775d169eeaaa4747151f82bdb101b901018430d1f29907e66c122892ce8f908
 SHA512 
59d1879ac30feee322dc17af04a651db193ecf688aba2308411ee4534c3c0d824cbce199315c1345f296c7e787d35fc19bc8cf9447169947c889f0fd2d1dd219

diff --git a/net-im/mautrix-slack/mautrix-slack-0_pre20230925.ebuild 
b/net-im/mautrix-slack/mautrix-slack-0_pre20230925.ebuild
new file mode 100644
index 00..b4cce5e113
--- /dev/null
+++ b/net-im/mautrix-slack/mautrix-slack-0_pre20230925.ebuild
@@ -0,0 +1,64 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module systemd
+
+COMMIT="4530ff397d08d93b673cd71da4c2a75d969ca0df"
+DESCRIPTION="A Matrix-Slack puppeting bridge based on slack-go"
+HOMEPAGE="https://github.com/mautrix/slack;
+SRC_URI="https://github.com/mautrix/slack/archive/${COMMIT}.tar.gz -> 
${P}.gh.tar.gz
+   https://jroy.ca/dist/${P}.tar.xz
+"
+S="${WORKDIR}/slack-${COMMIT}"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   acct-user/${PN}
+   dev-libs/olm
+"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+   ego build
+}
+
+src_install() {
+   dobin mautrix-slack
+
+   keepdir /var/log/mautrix/slack
+   fowners -R root:mautrix /var/log/mautrix
+   fperms -R 770 /var/log/mautrix
+   sed -i -e "s/\.\/logs/\/var\/log\/mautrix\/slack/" 
"example-config.yaml" || die
+
+   insinto "/etc/mautrix"
+   newins "example-config.yaml" "${PN/-/_}.yaml"
+
+   newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+   systemd_dounit "${FILESDIR}/${PN}.service"
+
+   fowners -R root:mautrix /etc/mautrix
+   fperms -R 770 /etc/mautrix
+}
+
+pkg_postinst() {
+   einfo
+   elog ""
+   elog "Before you can use ${PN}, you must configure it correctly"
+   elog "The configuration file is located at 
\"/etc/mautrix/${PN/-/_}.yaml\""
+   elog "When done, run the following command: emerge --config 
${CATEGORY}/${PN}"
+   elog "Then, you must register the bridge with your homeserver"
+   elog "Refer your homeserver's documentation for instructions"
+   elog "The registration file is located at 
/var/lib/${PN/-/\/}/registration.yaml"
+   elog "Finally, you may start the ${PN} daemon"
+   einfo
+}
+
+pkg_config() {
+   su - "${PN}" -s /bin/sh -c \
+  "/usr/bin/${PN} -c /etc/mautrix/${PN/-/_}.yaml -g -r 
/var/lib/${PN/-/\/}/registration.yaml"
+}



[gentoo-commits] repo/gentoo:master commit in: net-firewall/conntrack-tools/

2023-10-17 Thread Sam James
commit: a0b632c34588a6c49bbed2633f99da6062d01db4
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct 17 17:13:37 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct 17 17:14:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0b632c3

net-firewall/conntrack-tools: add 1.4.8

Signed-off-by: Sam James  gentoo.org>

 net-firewall/conntrack-tools/Manifest  |   2 +
 .../conntrack-tools/conntrack-tools-1.4.8.ebuild   | 107 +
 2 files changed, 109 insertions(+)

diff --git a/net-firewall/conntrack-tools/Manifest 
b/net-firewall/conntrack-tools/Manifest
index e7de85f22eaf..5b519c990d7a 100644
--- a/net-firewall/conntrack-tools/Manifest
+++ b/net-firewall/conntrack-tools/Manifest
@@ -1,2 +1,4 @@
 DIST conntrack-tools-1.4.7.tar.bz2 539688 BLAKE2B 
42a3cacf8a32a5b8b688a9fd68f66024c591e9814ef3cc349456691094bab0fae15bb1c00befa178b0f8e845bf6fc00715cbf9db55cd7bf2d155c2dfd55f9b1a
 SHA512 
3d37a6b8cd13fd3c149ab80009d686d2184920ba2d0d5c1b57abed6e92e0dd92cba868bfe22f1a155479fe5ab2e291b8bb8a7e72123a73788032202ac142653b
 DIST conntrack-tools-1.4.7.tar.bz2.sig 566 BLAKE2B 
c513cd59d9aeb76bb33bb8c4e0d25c46b6303a9d3f3e359e20248e2d8dd2822777056e217c12da9005ee075036ea05a74dd1ed9f22a44b7d4745ff6917bda15b
 SHA512 
5a2bcc6da792544029ddf0d3a4caf019b215907e66d491e5d98a4f1189fc9c03ec8aad5ad22166799c5f0c81273284cb757e9368c9d9d3049bc49da47c037e05
+DIST conntrack-tools-1.4.8.tar.xz 452980 BLAKE2B 
2f8a7d7facf4890a8ca7dec54d5faa1383ad5e449a0599707578567e9c8ed6fd63ca308538afc34e99121e39e80c1ce686c8dda89247abdf4699bb420b52c4fb
 SHA512 
95d8f6f068c1342ad7e767537e722272a4f5bd8b46b952713ade053a1043aa9ababbe5ce658ede9c77b6de5221b97ad8833777caffd69b67dd70a99f2b45afdf
+DIST conntrack-tools-1.4.8.tar.xz.sig 566 BLAKE2B 
65c2ee185b099281603bca179038bd9ab6e28756f9fa12a53a8bcb75ed561097c9e4672c45fcecc366b86b65e1753073808090e264671d3a3d8dd18ed6f4d680
 SHA512 
8cd229d2e980ab1788e90fc8f53827fe1e4b21801cad6cddf6a9ff537501c40c52242cc964005b2889ad0a4548c772304db8696d4644611ecf9f091aca5c14ee

diff --git a/net-firewall/conntrack-tools/conntrack-tools-1.4.8.ebuild 
b/net-firewall/conntrack-tools/conntrack-tools-1.4.8.ebuild
new file mode 100644
index ..559adeb22994
--- /dev/null
+++ b/net-firewall/conntrack-tools/conntrack-tools-1.4.8.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc
+inherit linux-info systemd verify-sig
+
+DESCRIPTION="Connection tracking userspace tools"
+HOMEPAGE="https://conntrack-tools.netfilter.org;
+SRC_URI="
+   https://www.netfilter.org/projects/conntrack-tools/files/${P}.tar.xz
+   verify-sig? ( 
https://www.netfilter.org/projects/conntrack-tools/files/${P}.tar.xz.sig )
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
+IUSE="doc +cthelper +cttimeout systemd"
+
+RDEPEND="
+   >=net-libs/libmnl-1.0.3
+   >=net-libs/libnetfilter_conntrack-1.0.9
+   >=net-libs/libnetfilter_queue-1.0.2
+   >=net-libs/libnfnetlink-1.0.1
+   net-libs/libtirpc
+   cthelper? (
+   >=net-libs/libnetfilter_cthelper-1.0.0
+   )
+   cttimeout? (
+   >=net-libs/libnetfilter_cttimeout-1.0.0
+   )
+   systemd? (
+   >=sys-apps/systemd-227
+   )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   sys-devel/bison
+   sys-devel/flex
+   virtual/pkgconfig
+   doc? (
+   app-text/docbook-xml-dtd:4.1.2
+   app-text/xmlto
+   )
+   verify-sig? ( sec-keys/openpgp-keys-netfilter )
+"
+
+pkg_setup() {
+   linux-info_pkg_setup
+
+   if kernel_is lt 2 6 18 ; then
+   die "${PN} requires at least 2.6.18 kernel version"
+   fi
+
+   # netfilter core team has changed some option names with kernel 2.6.20
+   if kernel_is lt 2 6 20 ; then
+   CONFIG_CHECK="~IP_NF_CONNTRACK_NETLINK"
+   else
+   CONFIG_CHECK="~NF_CT_NETLINK"
+   fi
+   CONFIG_CHECK="${CONFIG_CHECK} ~NF_CONNTRACK
+   ~NETFILTER_NETLINK ~NF_CONNTRACK_EVENTS"
+
+   check_extra_config
+
+   linux_config_exists || \
+   linux_chkconfig_present "NF_CONNTRACK_IPV4" || \
+   linux_chkconfig_present "NF_CONNTRACK_IPV6" || \
+   ewarn "CONFIG_NF_CONNTRACK_IPV4 or CONFIG_NF_CONNTRACK_IPV6 " \
+   "are not set when one at least should be."
+}
+
+src_prepare() {
+   default
+
+   # bug #474858
+   sed -i -e 's:/var/lock:/run/lock:' doc/stats/conntrackd.conf || die
+}
+
+src_configure() {
+   econf \
+   $(use_enable cthelper) \
+   $(use_enable cttimeout) \
+   $(use_enable systemd)
+}
+
+src_compile() {
+   default
+
+   use doc && emake -C doc/manual
+}
+
+src_install() {
+   default
+
+   

[gentoo-commits] repo/gentoo:master commit in: app-text/grip/

2023-10-17 Thread Ben Kohler
commit: 153e06237e120a033544fc2558482af9af64cec0
Author: Ben Kohler  gentoo  org>
AuthorDate: Tue Oct 17 12:37:56 2023 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Tue Oct 17 17:07:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=153e0623

app-text/grip: add 4.6.2

Signed-off-by: Ben Kohler  gentoo.org>

 app-text/grip/Manifest  |  1 +
 app-text/grip/grip-4.6.2.ebuild | 26 ++
 2 files changed, 27 insertions(+)

diff --git a/app-text/grip/Manifest b/app-text/grip/Manifest
index 4364ae48615f..3072039f0110 100644
--- a/app-text/grip/Manifest
+++ b/app-text/grip/Manifest
@@ -1 +1,2 @@
 DIST grip-4.6.1.tar.gz 147894 BLAKE2B 
e4f6b5c72e98b5d8ec443c794e95ff0a4250526dd7381f5a28da7d1119b607970593c4b3c22a49ec7da7d772e984abb2a0984ed7290b007e48cddf49bfc290ae
 SHA512 
73eb80995457faa10ba5f174c8151c821f4bd9cda066099ba249cc5aad668e6adef267410ddd24fefa1d1e444c276a10a0881ec5e528bc616d3c4d98a8427b3d
+DIST grip-4.6.2.tar.gz 152280 BLAKE2B 
02a5fb21190fe167428fb36390a087094c064fc11bc2016579391b3568bd421c8f0920f7b325e5be8140ebd8e7f7a0c0e20085f9d8899daf3ee85f27f33ffa9d
 SHA512 
e4dc38d25198a1670df7ecf950fc2c815c3e8507571d54d3df844547ee7db0d1a7cbbbaa23fd7daa1391eea12a2788890d5cee09aa64b8bf1039beeb78a5d25f

diff --git a/app-text/grip/grip-4.6.2.ebuild b/app-text/grip/grip-4.6.2.ebuild
new file mode 100644
index ..0e207a8554e7
--- /dev/null
+++ b/app-text/grip/grip-4.6.2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( pypy3 python3_{9..11} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 pypi
+
+DESCRIPTION="Preview GitHub Markdown files like Readme locally before 
committing them"
+HOMEPAGE="https://github.com/joeyespo/grip;
+LICENSE="MIT"
+
+SLOT="0"
+
+KEYWORDS="~amd64"
+
+RDEPEND="
+   !media-sound/grip
+   >=dev-python/docopt-0.4.0[${PYTHON_USEDEP}]
+   >=dev-python/flask-0.10.1[${PYTHON_USEDEP}]
+   >=dev-python/markdown-2.5.1[${PYTHON_USEDEP}]
+   >=dev-python/path-and-address-2.0.1[${PYTHON_USEDEP}]
+   >=dev-python/pygments-1.6[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.4.1[${PYTHON_USEDEP}]
+"



[gentoo-commits] repo/gentoo:master commit in: app-admin/rsyslog/

2023-10-17 Thread Sam James
commit: 88d022d4fecd0a215fd7098cfceec11062ea4072
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct 17 17:01:49 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct 17 17:01:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88d022d4

app-admin/rsyslog: Stabilize 8.2308.0 x86, #915893

Signed-off-by: Sam James  gentoo.org>

 app-admin/rsyslog/rsyslog-8.2308.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/rsyslog/rsyslog-8.2308.0.ebuild 
b/app-admin/rsyslog/rsyslog-8.2308.0.ebuild
index aedf1331c12b..afc40d29f428 100644
--- a/app-admin/rsyslog/rsyslog-8.2308.0.ebuild
+++ b/app-admin/rsyslog/rsyslog-8.2308.0.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == "" ]]; then
 
inherit git-r3
 else
-   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~riscv ~sparc ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~riscv ~sparc x86"
 
SRC_URI="
https://www.rsyslog.com/files/download/${PN}/${P}.tar.gz



[gentoo-commits] repo/gentoo:master commit in: dev-lang/luau/

2023-10-17 Thread Sam James
commit: 15c87da4678f03c653cbe29d45d8a8369965573e
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct 17 17:01:48 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct 17 17:01:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15c87da4

dev-lang/luau: Stabilize 0.595 amd64, #915887

Signed-off-by: Sam James  gentoo.org>

 dev-lang/luau/luau-0.595.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/luau/luau-0.595.ebuild b/dev-lang/luau/luau-0.595.ebuild
index c7bee4916d90..b15291852bc5 100644
--- a/dev-lang/luau/luau-0.595.ebuild
+++ b/dev-lang/luau/luau-0.595.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == ** ]] ; then
 else
SRC_URI="https://github.com/Roblox/${PN}/archive/${PV}.tar.gz
-> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="amd64 ~x86"
 fi
 
 LICENSE="MIT"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/iproute2/

2023-10-17 Thread Sam James
commit: 546f38382b591e9c9a9247209927664e7b888e7f
Author: Matija Skala  gmx  com>
AuthorDate: Tue Oct 17 16:59:16 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct 17 17:01:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=546f3838

sys-apps/iproute2: fix for sed-bsd

Signed-off-by: Matija Skala  gmx.com>
Closes: https://github.com/gentoo/gentoo/pull/33380
Signed-off-by: Sam James  gentoo.org>

 sys-apps/iproute2/iproute2-6.5.0.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-apps/iproute2/iproute2-6.5.0.ebuild 
b/sys-apps/iproute2/iproute2-6.5.0.ebuild
index 92b9a7188d80..d61eddc9d7ae 100644
--- a/sys-apps/iproute2/iproute2-6.5.0.ebuild
+++ b/sys-apps/iproute2/iproute2-6.5.0.ebuild
@@ -61,12 +61,12 @@ src_prepare() {
local versionfile="include/version.h"
if [[ ${PV} !=  ]] && ! grep -Fq "${PV}" ${versionfile} ; then
einfo "Fixing version string"
-   sed "s@\"[[:digit:]\.]\+\"@\"${PV}\"@" \
-   -i ${versionfile} || die
+   sed -i "s@\"[[:digit:]\.]\+\"@\"${PV}\"@" \
+   ${versionfile} || die
fi
 
# echo -n is not POSIX compliant
-   sed 's@echo -n@printf@' -i configure || die
+   sed -i 's@echo -n@printf@' configure || die
 
sed -i \
-e '/^CC :\?=/d' \



  1   2   3   >