[gentoo-commits] repo/gentoo:master commit in: media-libs/libsixel/

2024-04-13 Thread Akinori Hattori
commit: 218884d2e0cc4ae4c3e6b8b1f49985d2776ebbb9
Author: Akinori Hattori  gentoo  org>
AuthorDate: Sun Apr 14 05:44:20 2024 +
Commit: Akinori Hattori  gentoo  org>
CommitDate: Sun Apr 14 05:46:37 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=218884d2

media-libs/libsixel: fix bash completion

Closes: https://bugs.gentoo.org/925581
Signed-off-by: Akinori Hattori  gentoo.org>

 .../libsixel/{libsixel-1.10.3.ebuild => libsixel-1.10.3-r1.ebuild}  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/media-libs/libsixel/libsixel-1.10.3.ebuild 
b/media-libs/libsixel/libsixel-1.10.3-r1.ebuild
similarity index 96%
rename from media-libs/libsixel/libsixel-1.10.3.ebuild
rename to media-libs/libsixel/libsixel-1.10.3-r1.ebuild
index f64089d2966d..1c009850c585 100644
--- a/media-libs/libsixel/libsixel-1.10.3.ebuild
+++ b/media-libs/libsixel/libsixel-1.10.3-r1.ebuild
@@ -39,6 +39,8 @@ PATCHES=(
 )
 
 src_prepare() {
+   sed -i '/^have/d' converters/shell-completion/bash/img2sixel
+
default
if use python; then
cd python || die



[gentoo-commits] repo/gentoo:master commit in: media-libs/libsixel/

2024-04-13 Thread Akinori Hattori
commit: 792a87482185c17aa8cdb5eaf94ae9be4a3ab00e
Author: Akinori Hattori  gentoo  org>
AuthorDate: Sun Apr 14 05:42:31 2024 +
Commit: Akinori Hattori  gentoo  org>
CommitDate: Sun Apr 14 05:46:36 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=792a8748

media-libs/libsixel: update PYTHON_COMPAT

Closes: https://bugs.gentoo.org/929645
Signed-off-by: Akinori Hattori  gentoo.org>

 media-libs/libsixel/libsixel-1.10.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libsixel/libsixel-1.10.3.ebuild 
b/media-libs/libsixel/libsixel-1.10.3.ebuild
index 839d459c0e5e..f64089d2966d 100644
--- a/media-libs/libsixel/libsixel-1.10.3.ebuild
+++ b/media-libs/libsixel/libsixel-1.10.3.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="8"
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{9..12} )
 DISTUTILS_USE_PEP517="setuptools"
 DISTUTILS_OPTIONAL="1"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/libsixel/

2024-04-13 Thread Akinori Hattori
commit: a0c61a0098beba72f4de442868eb4251ac5678ae
Author: Akinori Hattori  gentoo  org>
AuthorDate: Sun Apr 14 05:40:14 2024 +
Commit: Akinori Hattori  gentoo  org>
CommitDate: Sun Apr 14 05:46:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0c61a00

media-libs/libsixel: migrate to PEP 517

Closes: https://bugs.gentoo.org/909988
Signed-off-by: Akinori Hattori  gentoo.org>

 media-libs/libsixel/libsixel-1.10.3.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/media-libs/libsixel/libsixel-1.10.3.ebuild 
b/media-libs/libsixel/libsixel-1.10.3.ebuild
index 5957c1cfe58f..839d459c0e5e 100644
--- a/media-libs/libsixel/libsixel-1.10.3.ebuild
+++ b/media-libs/libsixel/libsixel-1.10.3.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="8"
 PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_USE_PEP517="setuptools"
 DISTUTILS_OPTIONAL="1"
 
 inherit bash-completion-r1 distutils-r1 meson
@@ -28,7 +29,7 @@ DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig
python? (
${PYTHON_DEPS}
-   dev-python/setuptools[${PYTHON_USEDEP}]
+   ${DISTUTILS_DEPS}
)"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: dev-util/diffuse/

2024-04-13 Thread Andrey Grozin
commit: 2f076d5dc28f9e76e41da902d8ea176b48f53cd5
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sun Apr 14 05:38:18 2024 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sun Apr 14 05:38:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f076d5d

dev-util/diffuse: bump to 0.9.0

Closes: https://bugs.gentoo.org/929535
Signed-off-by: Andrey Grozin  gentoo.org>

 dev-util/diffuse/Manifest |  1 +
 dev-util/diffuse/diffuse-0.9.0.ebuild | 50 +++
 2 files changed, 51 insertions(+)

diff --git a/dev-util/diffuse/Manifest b/dev-util/diffuse/Manifest
index 45671f2e8adc..5e8acb655b95 100644
--- a/dev-util/diffuse/Manifest
+++ b/dev-util/diffuse/Manifest
@@ -1 +1,2 @@
 DIST diffuse-0.8.2.tar.gz 1187378 BLAKE2B 
466cb2291dcc812a82ade4fb59c3e3faf1f632d741fc3efef886c00b100e8edebdddc1837e980d9bb86c18182172cf9afca3b1abc17a8258669f6aada0763beb
 SHA512 
c2a5c1cac435bc0879fc6e6f10bcf10bd8e58e4a2cb603a4e1435c411b3d66373424680d1a41296d38c249e659aa53e67c8783eb26a3d02a42ef5c7e7fa1e245
+DIST diffuse-0.9.0.tar.gz 1193105 BLAKE2B 
934d38722e0bd9f83a915c681521c1699e0a2efefdcbbb3e23c3f9635467fb31d9f364a72b0e7c78ca65bf9fe154e5ebbeecdbfe1a4b412149a3b0f3a511d6e9
 SHA512 
9a9ed6047531eaf80fed867bc2feba081f183ee7e5e5c940b0cb912af6d17c7c22df48b7aa76c3f17d4fafeff1bade45216d26ef689fef33b3680bdc70ed80ac

diff --git a/dev-util/diffuse/diffuse-0.9.0.ebuild 
b/dev-util/diffuse/diffuse-0.9.0.ebuild
new file mode 100644
index ..0c1ca8533aac
--- /dev/null
+++ b/dev-util/diffuse/diffuse-0.9.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9..12} )
+PLOCALES="cs de es fr it ja ka ko nl pl pt pt_BR ru sv th tr zh_CN zh_TW"
+inherit meson plocale python-r1 xdg
+
+DESCRIPTION="A graphical tool to compare and merge text files"
+HOMEPAGE="http://diffuse.sourceforge.net/ 
https://github.com/MightyCreak/diffuse/;
+SRC_URI="https://github.com/MightyCreak/diffuse/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="${DEPEND}
+   $(python_gen_cond_dep '
+   dev-python/pygobject:3[${PYTHON_USEDEP},cairo]
+   ')
+   x11-libs/gtk+:3[introspection]
+   !sci-chemistry/tinker"
+# file collision, bug #279018
+
+src_prepare() {
+   default
+   plocale_find_changes po '' '.po'
+
+   rm_locale() {
+   rm -f po/${1}.po
+   rm -rf data/usr/share/man/${1}
+   rm -rf data/usr/share/gnome/help/${PN}/$1
+   rm -f data/usr/share/omf/${PN}/${PN}-$1.omf
+   sed -e "/^${1}/d" -i po/LINGUAS
+   }
+
+   plocale_for_each_disabled_locale rm_locale
+}
+
+src_install() {
+   meson_src_install
+   rm "${D}"/usr/bin/${PN} || die "rm ${PN} failed"
+   python_foreach_impl python_doscript ../${P}-build/src/${PN}/${PN}
+   mkdir "${D}"/usr/share/metainfo || die "mkdir metainfo failed"
+   mv "${D}"/usr/share/appdata/* "${D}"/usr/share/metainfo/ \
+   || die "mv appdata -> metainfo failed"
+   dodoc AUTHORS CHANGELOG.md README.md
+}



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

2024-04-13 Thread Joonas Niilola
commit: 9bf0c912151ab858c03ef4176390657fa711d767
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun Apr 14 05:14:41 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Apr 14 05:15:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bf0c912

dev-python/respx: Stabilize 0.21.1 amd64, #929922

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-python/respx/respx-0.21.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/respx/respx-0.21.1.ebuild 
b/dev-python/respx/respx-0.21.1.ebuild
index 33adcd176c16..a80ec228377e 100644
--- a/dev-python/respx/respx-0.21.1.ebuild
+++ b/dev-python/respx/respx-0.21.1.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 RDEPEND="
dev-python/httpx[${PYTHON_USEDEP}]



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

2024-04-13 Thread Joonas Niilola
commit: 6406929cdab38f7697ca3d78c2bb6bc0db6710c3
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun Apr 14 05:14:47 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Apr 14 05:15:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6406929c

dev-python/elastic-transport: Stabilize 8.13.0 amd64, #929922

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-python/elastic-transport/elastic-transport-8.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/elastic-transport/elastic-transport-8.13.0.ebuild 
b/dev-python/elastic-transport/elastic-transport-8.13.0.ebuild
index 929ad572fafa..2443bf823287 100644
--- a/dev-python/elastic-transport/elastic-transport-8.13.0.ebuild
+++ b/dev-python/elastic-transport/elastic-transport-8.13.0.ebuild
@@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P}
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 PROPERTIES="test_network"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/

2024-04-13 Thread Andrey Grozin
commit: 52256a60f417548d35c98ce5fb714e44831e4f98
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sun Apr 14 05:12:06 2024 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sun Apr 14 05:12:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52256a60

media-gfx/asymptote: bump to 2.89

Closes: https://bugs.gentoo.org/929612
Signed-off-by: Andrey Grozin  gentoo.org>

 media-gfx/asymptote/Manifest  |   1 +
 media-gfx/asymptote/asymptote-2.89.ebuild | 243 ++
 2 files changed, 244 insertions(+)

diff --git a/media-gfx/asymptote/Manifest b/media-gfx/asymptote/Manifest
index 805af350f4cc..b4bfc5dfb678 100644
--- a/media-gfx/asymptote/Manifest
+++ b/media-gfx/asymptote/Manifest
@@ -1 +1,2 @@
 DIST asymptote-2.86.src.tgz 15118426 BLAKE2B 
305edae6653094a5daa9f136951cfcc3f8ece1dc8e616593710e0bace350a95f61729f8d7a9522a14704300a6cfd15decb1bb634e58dba1626f09c053b6b368b
 SHA512 
9e11dbfca10379f07b50dcce0d63c12b793f47741651b1804cf0825e87604c40b5b94acf343ce7f5ca7da83b5ebb0e213090ada80e0b6ebe4f6cec9db67209d6
+DIST asymptote-2.89.src.tgz 15133552 BLAKE2B 
bde5acd3e76543b3c936e785ccf081c38687d535f336ee0e3da62f5fe078bb040dc162b64f02e94f392129c120bdf497b86e3862059abdb1b4544bab3cce3218
 SHA512 
a9874f0dc6eb05b95ef551611d85f39222af2a0628d7904160b08bdaf797c2b9ec6d12af7ae26dee69dbc056a5bffad4e450d4846a517d80990d89759e0c47a0

diff --git a/media-gfx/asymptote/asymptote-2.89.ebuild 
b/media-gfx/asymptote/asymptote-2.89.ebuild
new file mode 100644
index ..a0b459eb65fa
--- /dev/null
+++ b/media-gfx/asymptote/asymptote-2.89.ebuild
@@ -0,0 +1,243 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit autotools elisp-common latex-package python-r1
+
+DESCRIPTION="A vector graphics language that provides a framework for 
technical drawing"
+HOMEPAGE="https://asymptote.sourceforge.io/;
+SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="+boehm-gc context curl doc emacs examples fftw gsl +imagemagick latex 
lsp offscreen +opengl python sigsegv svg test vim-syntax X"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+   ${PYTHON_REQUIRED_USE}
+   offscreen? ( opengl )
+   doc? ( boehm-gc )"
+
+RDEPEND="
+   >=sys-libs/ncurses-5.4-r5:0=
+   >=sys-libs/readline-4.3-r5:0=
+   net-libs/libtirpc:=
+   imagemagick? ( media-gfx/imagemagick[png] )
+   opengl? ( media-libs/mesa[X(+)] media-libs/freeglut media-libs/glew:0 
media-libs/glm )
+   offscreen? ( media-libs/mesa[osmesa] )
+   svg? ( app-text/dvisvgm )
+   sigsegv? ( dev-libs/libsigsegv )
+   boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
+   fftw? ( >=sci-libs/fftw-3.0.1:= )
+   gsl? ( sci-libs/gsl:= )
+   python? ( ${PYTHON_DEPS} )
+   curl? ( net-misc/curl )
+   lsp? (
+   dev-libs/boost
+   dev-libs/rapidjson
+   dev-libs/utfcpp
+   )
+   X? (
+   ${PYTHON_DEPS}
+   dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,svg]
+   dev-python/cson
+   dev-python/numpy
+   >=gnome-base/librsvg-2.40
+   )
+   latex? (
+   virtual/latex-base
+   dev-texlive/texlive-latexextra
+   )
+   context? ( dev-texlive/texlive-context )
+   emacs? ( >=app-editors/emacs-23.1:* )
+   vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
+DEPEND="${RDEPEND}
+   dev-lang/perl
+   doc? (
+   media-gfx/imagemagick[png]
+   virtual/texi2dvi
+   virtual/latex-base
+   dev-texlive/texlive-latexextra
+   app-text/ghostscript-gpl )
+   test? ( app-text/ghostscript-gpl )"
+
+TEXMF=/usr/share/texmf-site
+
+PATCHES=(
+   # Changing pdf, ps, image viewers to xdg-open
+   "${FILESDIR}/${PN}-2.85-xdg-utils.patch"
+
+   # Bug #322473
+   "${FILESDIR}/${PN}-2.70-info.patch"
+)
+
+src_prepare() {
+   sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
+   -i configure.ac \
+   || die "sed configure.ac failed"
+
+   default
+   eautoreconf
+}
+
+src_configure() {
+   # for the CPPFLAGS see
+   # 
https://sourceforge.net/forum/forum.php?thread_id=1683277_id=409349
+   econf \
+   CPPFLAGS=-DHAVE_SYS_TYPES_H \
+   CFLAGS="${CXXFLAGS}" \
+   --disable-gc-debug \
+   --disable-gc-full-debug \
+   --with-latex=/usr/share/texmf-site/tex/latex \
+   --with-context=/usr/share/texmf-site/tex/context \
+   $(use_enable boehm-gc gc system) \
+   $(use_enable curl) \
+   $(use_enable lsp) \
+   $(use_enable fftw) \
+   $(use_enable gsl) \
+

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

2024-04-13 Thread Andrey Grozin
commit: e133cfda48a1b68b29f94b4012cc164a835f1517
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sun Apr 14 04:51:11 2024 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sun Apr 14 04:51:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e133cfda

net-misc/dropbox-cli: bump to 2024.01.22

Closes: https://bugs.gentoo.org/929721
Signed-off-by: Andrey Grozin  gentoo.org>

 net-misc/dropbox-cli/Manifest  |  1 +
 net-misc/dropbox-cli/dropbox-cli-2024.01.22.ebuild | 33 ++
 2 files changed, 34 insertions(+)

diff --git a/net-misc/dropbox-cli/Manifest b/net-misc/dropbox-cli/Manifest
index bf534b1fdbb6..6805cc564f55 100644
--- a/net-misc/dropbox-cli/Manifest
+++ b/net-misc/dropbox-cli/Manifest
@@ -1 +1,2 @@
 DIST dropbox-cli-2023.py.xz 14308 BLAKE2B 
e0e1f28c911e5744f26bc3854e1283884f7daa57c247f0a13cd5f571124edca1f11e61ea487bccae294b34c4ce30884758662f95d0438efd1e0e3e64ead6a819
 SHA512 
c11928de24c6ab10c142eedfa244a903795b37bb75e7e805dbf28fe5b18f524db210eb432bf43eb3c99d67b0caca51c85bbe533b3d7d877cfdc7595925483294
+DIST dropbox-cli-2024.01.22.py.xz 14316 BLAKE2B 
c2bc33a6d1f74103a3685340747c8d9c974f75e0deec4cd97690333b7697730aa61beef1b315f1375a29d02c6bdf2609464b8ff41cffe7b7ec6efd5978762207
 SHA512 
272ad65476c8ebd55154feb848e1027b891c91252ca3fa3f50c7db84a7c71697843ae999716a671f697b891721b5c536927c2e63fd2c2afd298a37770aebf123

diff --git a/net-misc/dropbox-cli/dropbox-cli-2024.01.22.ebuild 
b/net-misc/dropbox-cli/dropbox-cli-2024.01.22.ebuild
new file mode 100644
index ..d2c3eb6fe937
--- /dev/null
+++ b/net-misc/dropbox-cli/dropbox-cli-2024.01.22.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..12} )
+
+inherit python-r1 bash-completion-r1
+
+DESCRIPTION="Cli interface for dropbox (python), part of nautilus-dropbox"
+HOMEPAGE="https://www.dropbox.com/;
+# https://linux.dropbox.com/packages/dropbox.py
+# https://www.dropbox.com/download?dl=packages/dropbox.py
+# https://raw.githubusercontent.com/dropbox/nautilus-dropbox/master/dropbox.in
+SRC_URI="https://dev.gentoo.org/~grozin/${P}.py.xz;
+S=${WORKDIR}
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+gpg"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="net-misc/dropbox
+   ${PYTHON_DEPS}
+   gpg? ( app-crypt/gpgme[python] )
+   dev-python/pygobject:3[${PYTHON_USEDEP}]"
+
+src_install() {
+   newbin ${P}.py ${PN}
+   python_replicate_script "${D}"/usr/bin/${PN}
+   newbashcomp "${FILESDIR}"/${PN}-19-completion ${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/fuse/

2024-04-13 Thread Mike Gilbert
commit: efe2ef773c05f4e2fb3fb5fbf4d069938de12489
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun Apr 14 02:39:07 2024 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Apr 14 02:47:43 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efe2ef77

sys-fs/fuse: restrict tests unconditionally

Also add some notes.

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

 sys-fs/fuse/fuse-3.16.2.ebuild | 14 --
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/sys-fs/fuse/fuse-3.16.2.ebuild b/sys-fs/fuse/fuse-3.16.2.ebuild
index 8b2bebb691b8..2997ce0cf204 100644
--- a/sys-fs/fuse/fuse-3.16.2.ebuild
+++ b/sys-fs/fuse/fuse-3.16.2.ebuild
@@ -14,7 +14,7 @@ LICENSE="GPL-2 LGPL-2.1"
 SLOT="3"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 IUSE="+suid test"
-RESTRICT="!test? ( test )"
+RESTRICT="test"
 PROPERTIES="test_privileged"
 
 BDEPEND="
@@ -53,11 +53,13 @@ multilib_src_configure() {
 }
 
 src_test() {
-   (
-   addwrite /dev/cuse
-   addwrite /dev/fuse
-   multilib-minimal_src_test
-   ) || die
+   # For tests to pass:
+   # sandbox must be disabled.
+   # Write access to /dev/cuse* and /dev/fuse is required.
+   # root must be a member of the portage group; CAP_DAC_OVERRIDE is 
dropped.
+   # TMPDIR must be short for unix socket paths.
+   local -x TMPDIR=/tmp
+   multilib-minimal_src_test
 }
 
 multilib_src_test() {



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

2024-04-13 Thread Michał Górny
commit: 7be9961c09ccddb014bd7f102d4be984d6bcd99c
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Apr 14 02:20:03 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Apr 14 02:28:56 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7be9961c

dev-python/tavern: Bump to 2.10.3

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

 dev-python/tavern/Manifest |  1 +
 dev-python/tavern/tavern-2.10.3.ebuild | 71 ++
 2 files changed, 72 insertions(+)

diff --git a/dev-python/tavern/Manifest b/dev-python/tavern/Manifest
index 8e50a9464bbf..fed9ee2b2ab6 100644
--- a/dev-python/tavern/Manifest
+++ b/dev-python/tavern/Manifest
@@ -1 +1,2 @@
 DIST tavern-2.10.1.gh.tar.gz 239917 BLAKE2B 
836f4940ba7b9a17455e757a7bdec578effc6753162d0ff0b05c46d293cad840924f3e8d66aac08553478d63eb0edb61ad39f53e4e36d9a7681bae303e71a614
 SHA512 
a09e55e2fa71d2601833137e51fc94cb8bd65086fc21e6c26055406a6be3dce44b57f89d91d7a766aa88c0b5b4214f28eeda69812f1f623ed60f45f57dcf2ded
+DIST tavern-2.10.3.gh.tar.gz 240386 BLAKE2B 
eb01cdabb171de101784c4fecf99c59fad892e9819e4b047e9d6f30a27b742ac49eb1840a66225466f2de09f8e0883941de92a4051898fe479e35ee06151a0d4
 SHA512 
e27da0da1d9eb8302ba34191bb9e157a28335c90012569218709f65b761c2f01d47c2e60a4a72df320cb7a2575ee3e890c3dc37027fb91fc90d97305d2afe277

diff --git a/dev-python/tavern/tavern-2.10.3.ebuild 
b/dev-python/tavern/tavern-2.10.3.ebuild
new file mode 100644
index ..4b7176787254
--- /dev/null
+++ b/dev-python/tavern/tavern-2.10.3.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="A tool, library, and Pytest plugin for testing RESTful APIs"
+HOMEPAGE="
+   https://github.com/taverntesting/tavern/
+   https://pypi.org/project/tavern/
+"
+SRC_URI="
+   https://github.com/taverntesting/tavern/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   >=dev-python/jmespath-1[${PYTHON_USEDEP}]
+   >=dev-python/jsonschema-4[${PYTHON_USEDEP}]
+   =dev-python/paho-mqtt-1.3.1[${PYTHON_USEDEP}]
+   >=dev-python/pyjwt-2.5.0[${PYTHON_USEDEP}]
+   >=dev-python/pykwalify-1.8.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-7[${PYTHON_USEDEP}]
+   >=dev-python/python-box-6[${PYTHON_USEDEP}]
+   >=dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.22.0[${PYTHON_USEDEP}]
+   >=dev-python/stevedore-4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/colorlog[${PYTHON_USEDEP}]
+   dev-python/Faker[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+   local PATCHES=(
+   # https://github.com/taverntesting/tavern/pull/922
+   "${FILESDIR}/${PN}-2.10.1-pytest-8.patch"
+   )
+
+   # strip unnecessary pins, upstream doesn't update them a lot
+   sed -i -E -e 's:,?<=?[0-9.]+::' pyproject.toml || die
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # requires grpc
+   tests/unit/test_extensions.py::TestGrpcCodes
+   )
+   local EPYTEST_IGNORE=(
+   # require grpc*
+   tavern/_plugins/grpc
+   tests/unit/tavern_grpc
+   )
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest -p tavern
+}



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

2024-04-13 Thread Michał Górny
commit: c212abdc06de265c7fa65c3c7745e94cf57cdd17
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Apr 14 02:19:28 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Apr 14 02:28:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c212abdc

dev-python/apprise: Bump to 1.7.6

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

 dev-python/apprise/Manifest |  1 +
 dev-python/apprise/apprise-1.7.6.ebuild | 38 +
 2 files changed, 39 insertions(+)

diff --git a/dev-python/apprise/Manifest b/dev-python/apprise/Manifest
index 9c6b2d8567f7..ab95fdbe6b00 100644
--- a/dev-python/apprise/Manifest
+++ b/dev-python/apprise/Manifest
@@ -1,2 +1,3 @@
 DIST apprise-1.7.4.tar.gz 1648673 BLAKE2B 
33c91a63e3d0e730dcfe2b99433cd97e16ff9635e9ff717e9c4f7b708e6536185265e591ff419a785044877cadd4793f2df73fe9420ffed65838fb16654810f8
 SHA512 
5e3ab2136f1bdbd9d769fb3e3c5a5c899834b7ffb6ba57f3601079d516e31bed9d988b76745c251fff6df91f1fcd186d23a0878165ad73b811f76a8118278a64
 DIST apprise-1.7.5.tar.gz 1652098 BLAKE2B 
01acc8be50b76cdcb5c7ce068b6f644d5edbbf28ea964d95e8d2ea0579a3a9c60e9715ae482ec0d7f16f4ce8118acf99e4159249bc763f268f89362a3e4fcde9
 SHA512 
d783d74a8e4a9f9b39c2ab86c0207a99e6f5fe30492b5bc50cb7008477acc1c5831d94c18bd3cee22fa28e028571108237191cc7a253aa072e121cecd0ce7afa
+DIST apprise-1.7.6.tar.gz 1656123 BLAKE2B 
49720f6ba6522f3496ad5cbf5bf72340c6b21f207d11f3c3fcdd113db2e01730b64209fad1d0c7f1ed357251e567a0fe8c875b2ab8f1befdeeab9af59f5678e3
 SHA512 
39fdfd129d9e8bc16070a015bc9e2b4f4bf6e61e1b87ee45ec11e99e7e87dcc3896312c7ff71d0dac9532cee36709de40d6397d98b8affda069cb3a436ab8683

diff --git a/dev-python/apprise/apprise-1.7.6.ebuild 
b/dev-python/apprise/apprise-1.7.6.ebuild
new file mode 100644
index ..a85837c32c40
--- /dev/null
+++ b/dev-python/apprise/apprise-1.7.6.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2024 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="Push Notifications that work with just about every platform"
+HOMEPAGE="
+   https://pypi.org/project/apprise/
+   https://github.com/caronc/apprise/
+"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv"
+IUSE="+dbus mqtt"
+
+RDEPEND="
+   dev-python/click[${PYTHON_USEDEP}]
+   dev-python/markdown[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+   dev-python/requests-oauthlib[${PYTHON_USEDEP}]
+   dev-python/pyyaml[${PYTHON_USEDEP}]
+   dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] )
+   mqtt? ( dev-python/paho-mqtt[${PYTHON_USEDEP}] )
+"
+BDEPEND="
+   dev-python/Babel[${PYTHON_USEDEP}]
+   test? (
+   dev-python/pytest-mock[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest



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

2024-04-13 Thread Michał Górny
commit: 3b1c143561bbc880652245e99ea4d555a6a92f00
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Apr 14 02:25:15 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Apr 14 02:28:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b1c1435

dev-python/pandas: Remove old

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

 dev-python/pandas/Manifest   |   2 -
 dev-python/pandas/pandas-2.1.4.ebuild| 221 ---
 dev-python/pandas/pandas-2.2.0-r1.ebuild | 215 --
 dev-python/pandas/pandas-2.2.0.ebuild| 218 --
 4 files changed, 656 deletions(-)

diff --git a/dev-python/pandas/Manifest b/dev-python/pandas/Manifest
index 6ec9246b695c..05856a547c23 100644
--- a/dev-python/pandas/Manifest
+++ b/dev-python/pandas/Manifest
@@ -1,4 +1,2 @@
-DIST pandas-2.1.4.tar.gz 4274800 BLAKE2B 
71cd374964d5e751a9ea0b29cb341d7de521de8de3bbe0963fc821eb6fa2babf2a5cb87c0f49fab88fd451bd331d83fd216f199c75876d7c1ea367ba53c20178
 SHA512 
de02944829ea4df6a3913788c2ae30683504d70a1cef5789c927245dab8700981edd50de18af3619d30ac97f4658fce67f6c7637acf496bd464ad3a4109bfd1c
-DIST pandas-2.2.0.tar.gz 4390211 BLAKE2B 
205410d02d1295bfb68403685fb9247ca361c80233e762b8d798ff4a04fd1ca39e22bc3beb3f701490dbaf0a2d69a1afebbfe142ef646506c1d19aba88a1b5c6
 SHA512 
6de7f6941f08d412d5e6e3b33e7ad569afce4ade2eda9a68f2883e8ccefe8373212a1b80ac384e68522fb5a9c043de0b944b3920d07131ed6625363f2a4b0b5b
 DIST pandas-2.2.1.tar.gz 4395256 BLAKE2B 
7f66c2995699832930a626ff01b3b39bafa0bd19f41245b8b49bbf5a1b78663433060f4d94817498494b6cf66d38dde27da64e196c6400e50f30441d7e51991b
 SHA512 
8e6af4793d8b77e5c86a22c88f999dba63b1cc1954f5148bdb8c9b1bfe4e7fc5004de7d0f035b2d651f56c44b28ba4b0bd304f9c9122426cc37fb97596e13746
 DIST pandas-2.2.2.tar.gz 4398391 BLAKE2B 
6b723d85c500abaca4d833e4fb329d9a495e3e8ae51c74632111b139ed38ca9e26087ba43ecc40d68f66613352dc140bb2f1b0cbb92915bb027548886072fc79
 SHA512 
85b006f96bd6400aeea2ec29df3557ea6c4bfee0a7aebb172547a43171dc0e7682d15f798081846a4f464559ab83f579cfe06d66d4b5c0cb0fb2975c2ef98f9c

diff --git a/dev-python/pandas/pandas-2.1.4.ebuild 
b/dev-python/pandas/pandas-2.1.4.ebuild
deleted file mode 100644
index 5bbc6053733f..
--- a/dev-python/pandas/pandas-2.1.4.ebuild
+++ /dev/null
@@ -1,221 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=meson-python
-PYTHON_COMPAT=( python3_{10..12} )
-PYTHON_REQ_USE="threads(+)"
-
-VIRTUALX_REQUIRED="manual"
-
-inherit distutils-r1 optfeature pypi virtualx
-
-DESCRIPTION="Powerful data structures for data analysis and statistics"
-HOMEPAGE="
-   https://pandas.pydata.org/
-   https://github.com/pandas-dev/pandas/
-   https://pypi.org/project/pandas/
-"
-
-SLOT="0"
-LICENSE="BSD"
-KEYWORDS="amd64 arm arm64 ~hppa ~loong ~riscv ~s390 x86"
-IUSE="full-support minimal test X"
-RESTRICT="!test? ( test )"
-
-RECOMMENDED_DEPEND="
-   >=dev-python/bottleneck-1.3.4[${PYTHON_USEDEP}]
-   >=dev-python/numexpr-2.8.0[${PYTHON_USEDEP}]
-"
-
-# TODO: add pandas-gbq to the tree
-# TODO: Re-add dev-python/statsmodel[python3_11] dep once it supports 
python3_11
-# https://github.com/statsmodels/statsmodels/issues/8287
-OPTIONAL_DEPEND="
-   >=dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}]
-   dev-python/blosc[${PYTHON_USEDEP}]
-   >=dev-python/html5lib-1.1[${PYTHON_USEDEP}]
-   >=dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
-   >=dev-python/lxml-4.8.0[${PYTHON_USEDEP}]
-   >=dev-python/matplotlib-3.6.1[${PYTHON_USEDEP}]
-   >=dev-python/openpyxl-3.0.7[${PYTHON_USEDEP}]
-   >=dev-python/sqlalchemy-1.4.36[${PYTHON_USEDEP}]
-   >=dev-python/tables-3.7.0[${PYTHON_USEDEP}]
-   >=dev-python/tabulate-0.8.10[${PYTHON_USEDEP}]
-   >=dev-python/xarray-2022.3.0[${PYTHON_USEDEP}]
-   >=dev-python/xlrd-2.0.1[${PYTHON_USEDEP}]
-   >=dev-python/xlsxwriter-3.0.3[${PYTHON_USEDEP}]
-   >=dev-python/xlwt-1.3.0[${PYTHON_USEDEP}]
-   !arm? ( !hppa? ( !ppc? ( !x86? (
-   $(python_gen_cond_dep '
-   dev-python/statsmodels[${PYTHON_USEDEP}]
-   ' python3_{8..10} )
-   >=dev-python/scipy-1.8.1[${PYTHON_USEDEP}]
-   ) ) ) )
-   X? (
-   || (
-   >=dev-python/PyQt5-5.15.6[${PYTHON_USEDEP}]
-   >=dev-python/QtPy-2.2.0[${PYTHON_USEDEP}]
-   x11-misc/xclip
-   x11-misc/xsel
-   )
-   )
-"
-DEPEND="
-   =dev-python/numpy-1.23.2[${PYTHON_USEDEP}]
-"
-COMMON_DEPEND="
-   ${DEPEND}
-   >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}]
-   >=dev-python/pytz-2020.1[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   ${COMMON_DEPEND}
-   >=dev-build/meson-1.2.1
-   >=dev-python/cython-0.29.33[${PYTHON_USEDEP}]
-   

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

2024-04-13 Thread Michał Górny
commit: 6b410f291d745122fecfb9efa4d0c435ed3cd318
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Apr 14 02:27:14 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Apr 14 02:28:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b410f29

dev-python/opentelemetry-sdk: Remove old

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

 dev-python/opentelemetry-sdk/Manifest  |  1 -
 .../opentelemetry-sdk-1.23.0.ebuild| 80 --
 2 files changed, 81 deletions(-)

diff --git a/dev-python/opentelemetry-sdk/Manifest 
b/dev-python/opentelemetry-sdk/Manifest
index a6e4faac064e..dc35f6a3f727 100644
--- a/dev-python/opentelemetry-sdk/Manifest
+++ b/dev-python/opentelemetry-sdk/Manifest
@@ -1,2 +1 @@
-DIST opentelemetry-python-1.23.0.gh.tar.gz 523456 BLAKE2B 
94047e0d806ce17f0116fd6343daeecbf738c41e3e1cc1cbf8af9a0b1c44b29cecbc597011a7ffe15ffc656f2744750d9117d63bdaa77c7971248f58f9580c8e
 SHA512 
8a2cb94d774db15eb6bb7fd97d5b761d35066779072c0ce0cf51b6d1083d115120b932598c0da2efb20060e8a4c65415a74f508011ccca7242e2d79705f0c246
 DIST opentelemetry-python-1.24.0.gh.tar.gz 532064 BLAKE2B 
3dc13658293d1651d8e441b0c43f539a4e5e9d49d633786cb3f3dbab667b016c88777e0691bac24ca43e7df5f04c8e41a67e9f6991787947d743b1b30b5953cd
 SHA512 
dbae1db127e2aed0a90bb01db6e2865162f945a9e6713f5048c7f56660231a14c3707474f9f65db8759f2f03334c3126d0542c3c8c2e0998d0f7f98ae6e84ef8

diff --git a/dev-python/opentelemetry-sdk/opentelemetry-sdk-1.23.0.ebuild 
b/dev-python/opentelemetry-sdk/opentelemetry-sdk-1.23.0.ebuild
deleted file mode 100644
index b04dc0091a10..
--- a/dev-python/opentelemetry-sdk/opentelemetry-sdk-1.23.0.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_P="opentelemetry-python-${PV}"
-
-DISTUTILS_USE_PEP517=hatchling
-PYTHON_COMPAT=( python3_{11..12} )
-
-inherit distutils-r1
-
-DESCRIPTION="OpenTelemetry Python SDK"
-HOMEPAGE="
-   https://opentelemetry.io/
-   https://pypi.org/project/opentelemetry-sdk/
-   https://github.com/open-telemetry/opentelemetry-python/
-"
-SRC_URI="
-   
https://github.com/open-telemetry/opentelemetry-python/archive/refs/tags/v${PV}.tar.gz
-   -> ${MY_P}.gh.tar.gz
-"
-
-S="${WORKDIR}/${MY_P}/${PN}"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
-   ~dev-python/opentelemetry-api-${PV}[${PYTHON_USEDEP}]
-   ~dev-python/opentelemetry-semantic-conventions-${PV}[${PYTHON_USEDEP}]
-   dev-python/typing-extensions[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-python/asgiref[${PYTHON_USEDEP}]
-   dev-python/attrs[${PYTHON_USEDEP}]
-   dev-python/deprecated[${PYTHON_USEDEP}]
-   dev-python/flaky[${PYTHON_USEDEP}]
-   dev-python/importlib-metadata[${PYTHON_USEDEP}]
-   dev-python/iniconfig[${PYTHON_USEDEP}]
-   dev-python/packaging[${PYTHON_USEDEP}]
-   dev-python/pluggy[${PYTHON_USEDEP}]
-   dev-python/py-cpuinfo[${PYTHON_USEDEP}]
-   dev-python/py[${PYTHON_USEDEP}]
-   dev-python/tomli[${PYTHON_USEDEP}]
-   dev-python/wrapt[${PYTHON_USEDEP}]
-   dev-python/zipp[${PYTHON_USEDEP}]
-   )
-"
-
-# Tests cannot handle xdist with high makeopts
-# https://bugs.gentoo.org/928132
-distutils_enable_tests pytest
-
-src_prepare() {
-   default
-
-   # Use the same version with all opentelemetry components
-   # # https://github.com/gentoo/gentoo/pull/35962#issuecomment-2025466313
-   sed -i -e "s/\"\(opentelemetry-semantic-conventions == \).*\"/\"\1 
${PV}\"/" pyproject.toml || die
-}
-
-python_test() {
-   cp -a "${BUILD_DIR}"/{install,test} || die
-   local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH}
-
-   for dep in tests/opentelemetry-test-utils; do
-   pushd "${WORKDIR}/${MY_P}/${dep}" >/dev/null || die
-   distutils_pep517_install "${BUILD_DIR}"/test
-   popd >/dev/null || die
-   done
-
-   local -x EPYTEST_IGNORE=(
-   tests/performance/benchmarks/
-   )
-
-   epytest
-}



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

2024-04-13 Thread Michał Górny
commit: b3f64c042f46f1d16a053ce1d2522b251b336845
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Apr 14 02:27:28 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Apr 14 02:28:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3f64c04

dev-python/opentelemetry-api: Remove old

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

 dev-python/opentelemetry-api/Manifest  |  1 -
 .../opentelemetry-api-1.23.0.ebuild| 71 --
 2 files changed, 72 deletions(-)

diff --git a/dev-python/opentelemetry-api/Manifest 
b/dev-python/opentelemetry-api/Manifest
index a6e4faac064e..dc35f6a3f727 100644
--- a/dev-python/opentelemetry-api/Manifest
+++ b/dev-python/opentelemetry-api/Manifest
@@ -1,2 +1 @@
-DIST opentelemetry-python-1.23.0.gh.tar.gz 523456 BLAKE2B 
94047e0d806ce17f0116fd6343daeecbf738c41e3e1cc1cbf8af9a0b1c44b29cecbc597011a7ffe15ffc656f2744750d9117d63bdaa77c7971248f58f9580c8e
 SHA512 
8a2cb94d774db15eb6bb7fd97d5b761d35066779072c0ce0cf51b6d1083d115120b932598c0da2efb20060e8a4c65415a74f508011ccca7242e2d79705f0c246
 DIST opentelemetry-python-1.24.0.gh.tar.gz 532064 BLAKE2B 
3dc13658293d1651d8e441b0c43f539a4e5e9d49d633786cb3f3dbab667b016c88777e0691bac24ca43e7df5f04c8e41a67e9f6991787947d743b1b30b5953cd
 SHA512 
dbae1db127e2aed0a90bb01db6e2865162f945a9e6713f5048c7f56660231a14c3707474f9f65db8759f2f03334c3126d0542c3c8c2e0998d0f7f98ae6e84ef8

diff --git a/dev-python/opentelemetry-api/opentelemetry-api-1.23.0.ebuild 
b/dev-python/opentelemetry-api/opentelemetry-api-1.23.0.ebuild
deleted file mode 100644
index 47504cdddb30..
--- a/dev-python/opentelemetry-api/opentelemetry-api-1.23.0.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_P="opentelemetry-python-${PV}"
-
-DISTUTILS_USE_PEP517=hatchling
-PYTHON_COMPAT=( python3_{11..12} )
-
-inherit distutils-r1
-
-DESCRIPTION="OpenTelemetry Python API"
-HOMEPAGE="
-   https://opentelemetry.io/
-   https://pypi.org/project/opentelemetry-api/
-   https://github.com/open-telemetry/opentelemetry-python/
-"
-SRC_URI="
-   
https://github.com/open-telemetry/opentelemetry-python/archive/refs/tags/v${PV}.tar.gz
-   -> ${MY_P}.gh.tar.gz
-"
-S="${WORKDIR}/${MY_P}/${PN}"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
-   >=dev-python/deprecated-1.2.6[${PYTHON_USEDEP}]
-   dev-python/importlib-metadata[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-python/asgiref[${PYTHON_USEDEP}]
-   dev-python/attrs[${PYTHON_USEDEP}]
-   dev-python/flaky[${PYTHON_USEDEP}]
-   dev-python/iniconfig[${PYTHON_USEDEP}]
-   dev-python/packaging[${PYTHON_USEDEP}]
-   dev-python/pluggy[${PYTHON_USEDEP}]
-   dev-python/py-cpuinfo[${PYTHON_USEDEP}]
-   dev-python/py[${PYTHON_USEDEP}]
-   dev-python/tomli[${PYTHON_USEDEP}]
-   dev-python/typing-extensions[${PYTHON_USEDEP}]
-   dev-python/wrapt[${PYTHON_USEDEP}]
-   dev-python/zipp[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-src_prepare() {
-   default
-
-   # Unnecessary restriction
-   # https://github.com/open-telemetry/opentelemetry-python/pull/3576
-   sed -i -e '/importlib-metadata/s:, < 7.0::' pyproject.toml || die
-}
-
-python_test() {
-   cp -a "${BUILD_DIR}"/{install,test} || die
-   local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH}
-
-   for dep in opentelemetry-semantic-conventions opentelemetry-sdk 
tests/opentelemetry-test-utils ; do
-   pushd "${WORKDIR}/${MY_P}/${dep}" >/dev/null || die
-   distutils_pep517_install "${BUILD_DIR}"/test
-   popd >/dev/null || die
-   done
-
-   epytest
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/opentelemetry-semantic-conventions/

2024-04-13 Thread Michał Górny
commit: d3021c47f463ae59602b9961b91b069adf9c129e
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Apr 14 02:28:36 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Apr 14 02:29:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3021c47

dev-python/opentelemetry-semantic-conventions: Remove old

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

 .../opentelemetry-semantic-conventions/Manifest|  1 -
 ...pentelemetry-semantic-conventions-1.23.0.ebuild | 69 --
 2 files changed, 70 deletions(-)

diff --git a/dev-python/opentelemetry-semantic-conventions/Manifest 
b/dev-python/opentelemetry-semantic-conventions/Manifest
index a6e4faac064e..dc35f6a3f727 100644
--- a/dev-python/opentelemetry-semantic-conventions/Manifest
+++ b/dev-python/opentelemetry-semantic-conventions/Manifest
@@ -1,2 +1 @@
-DIST opentelemetry-python-1.23.0.gh.tar.gz 523456 BLAKE2B 
94047e0d806ce17f0116fd6343daeecbf738c41e3e1cc1cbf8af9a0b1c44b29cecbc597011a7ffe15ffc656f2744750d9117d63bdaa77c7971248f58f9580c8e
 SHA512 
8a2cb94d774db15eb6bb7fd97d5b761d35066779072c0ce0cf51b6d1083d115120b932598c0da2efb20060e8a4c65415a74f508011ccca7242e2d79705f0c246
 DIST opentelemetry-python-1.24.0.gh.tar.gz 532064 BLAKE2B 
3dc13658293d1651d8e441b0c43f539a4e5e9d49d633786cb3f3dbab667b016c88777e0691bac24ca43e7df5f04c8e41a67e9f6991787947d743b1b30b5953cd
 SHA512 
dbae1db127e2aed0a90bb01db6e2865162f945a9e6713f5048c7f56660231a14c3707474f9f65db8759f2f03334c3126d0542c3c8c2e0998d0f7f98ae6e84ef8

diff --git 
a/dev-python/opentelemetry-semantic-conventions/opentelemetry-semantic-conventions-1.23.0.ebuild
 
b/dev-python/opentelemetry-semantic-conventions/opentelemetry-semantic-conventions-1.23.0.ebuild
deleted file mode 100644
index 321404550b34..
--- 
a/dev-python/opentelemetry-semantic-conventions/opentelemetry-semantic-conventions-1.23.0.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_P="opentelemetry-python-${PV}"
-
-DISTUTILS_USE_PEP517=hatchling
-PYTHON_COMPAT=( python3_{11..12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="OpenTelemetry Semantic Conventions"
-HOMEPAGE="
-   https://opentelemetry.io/
-   https://pypi.org/project/opentelemetry-sdk/
-   https://github.com/open-telemetry/opentelemetry-python/
-"
-SRC_URI="
-   
https://github.com/open-telemetry/opentelemetry-python/archive/refs/tags/v${PV}.tar.gz
-   -> ${MY_P}.gh.tar.gz
-"
-S="${WORKDIR}/${MY_P}/${PN}"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-
-BDEPEND="
-   test? (
-   dev-python/asgiref[${PYTHON_USEDEP}]
-   dev-python/attrs[${PYTHON_USEDEP}]
-   dev-python/deprecated[${PYTHON_USEDEP}]
-   dev-python/flaky[${PYTHON_USEDEP}]
-   dev-python/importlib-metadata[${PYTHON_USEDEP}]
-   dev-python/iniconfig[${PYTHON_USEDEP}]
-   dev-python/packaging[${PYTHON_USEDEP}]
-   dev-python/pluggy[${PYTHON_USEDEP}]
-   dev-python/py-cpuinfo[${PYTHON_USEDEP}]
-   dev-python/py[${PYTHON_USEDEP}]
-   dev-python/tomli[${PYTHON_USEDEP}]
-   dev-python/typing-extensions[${PYTHON_USEDEP}]
-   dev-python/wrapt[${PYTHON_USEDEP}]
-   dev-python/zipp[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-src_prepare() {
-   default
-
-   # Use the same version with all opentelemetry components
-   # https://github.com/gentoo/gentoo/pull/35962#issuecomment-2025466313
-   sed -i -e "s/\(__version__ =\) .*/\1 \"${PV}\"/" 
src/opentelemetry/semconv/version.py || die
-}
-
-python_test() {
-   cp -a "${BUILD_DIR}"/{install,test} || die
-   local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH}
-
-   for dep in opentelemetry-api opentelemetry-sdk 
tests/opentelemetry-test-utils ; do
-   pushd "${WORKDIR}/${MY_P}/${dep}" >/dev/null || die
-   distutils_pep517_install "${BUILD_DIR}"/test
-   popd >/dev/null || die
-   done
-
-   epytest
-}



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

2024-04-13 Thread Michał Górny
commit: 54a9735264fe2c7b687c2bb54ee90806daeb77ae
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Apr 14 02:20:53 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Apr 14 02:28:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54a97352

dev-python/cachelib: Bump to 0.13.0

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

 dev-python/cachelib/Manifest   |  1 +
 dev-python/cachelib/cachelib-0.13.0.ebuild | 46 ++
 2 files changed, 47 insertions(+)

diff --git a/dev-python/cachelib/Manifest b/dev-python/cachelib/Manifest
index 5c504c9291ed..056183421786 100644
--- a/dev-python/cachelib/Manifest
+++ b/dev-python/cachelib/Manifest
@@ -1 +1,2 @@
 DIST cachelib-0.12.0.gh.tar.gz 30768 BLAKE2B 
5d147e63d0be58c7134f851cea79a002aa89b5364aec5c0e0906bfb9573578b094d71f361265b15eb519da897eed069d4aaeae1a8599176a95c074186018a713
 SHA512 
a35bfa9dfb6db8ae0e6fcdad86e5221d82144d5c0fcdb046b951d193f70f706712800b27c27825f8020314c521eb568131257ce0e20dc820cb3f7f8ffbf2650f
+DIST cachelib-0.13.0.gh.tar.gz 31116 BLAKE2B 
fcb5f065778533bbe9200c77f12d374a62111c5dc26e366c07ea0986bba138a97c56de0440dd3b4a5603b8700ec8035b65ebe95d48e4dcf60c03f78a2215f128
 SHA512 
6b58f3823d1169ca1e25a5accc7a51752e26c8e7f62b58a571b0de4d8792dd6c3eb3d3c60f3843653b7aaa17177a1d6d56e442ceb6b69a486d76511003ff97b2

diff --git a/dev-python/cachelib/cachelib-0.13.0.ebuild 
b/dev-python/cachelib/cachelib-0.13.0.ebuild
new file mode 100644
index ..faaba7e5c123
--- /dev/null
+++ b/dev-python/cachelib/cachelib-0.13.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2024 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
+
+DESCRIPTION="Collection of cache libraries in the same API interface. 
Extracted from werkzeug"
+HOMEPAGE="
+   https://pypi.org/project/cachelib/
+   https://github.com/pallets-eco/cachelib/
+"
+SRC_URI="
+   https://github.com/pallets-eco/cachelib/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+BDEPEND="
+   test? (
+   dev-db/redis
+   dev-python/pylibmc[${PYTHON_USEDEP}]
+   dev-python/pytest-xprocess[${PYTHON_USEDEP}]
+   dev-python/redis[${PYTHON_USEDEP}]
+   net-misc/memcached
+   www-servers/uwsgi[python,${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_IGNORE=(
+   # bug #818523
+   tests/test_redis_cache.py
+   # requires some test server running
+   # (these tests require dev-python/boto3)
+   tests/test_dynamodb_cache.py
+   # requires mongo test server
+   tests/test_mongodb_cache.py
+)



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

2024-04-13 Thread Julien Roy
commit: c8c3735d54424798f03fa4a654fe518e193c935e
Author: Julien Roy  jroy  ca>
AuthorDate: Sun Apr 14 02:13:28 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sun Apr 14 02:13:28 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c8c3735d

dev-python/pyagentx: enable py3.12, use PEP517

Closes: https://bugs.gentoo.org/921856
Closes: https://bugs.gentoo.org/897518
Signed-off-by: Julien Roy  jroy.ca>

 .../pyagentx/{pyagentx-0.4.ebuild => pyagentx-0.4-r1.ebuild} | 9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/dev-python/pyagentx/pyagentx-0.4.ebuild 
b/dev-python/pyagentx/pyagentx-0.4-r1.ebuild
similarity index 60%
rename from dev-python/pyagentx/pyagentx-0.4.ebuild
rename to dev-python/pyagentx/pyagentx-0.4-r1.ebuild
index 73526de94b..571ebd7277 100644
--- a/dev-python/pyagentx/pyagentx-0.4.ebuild
+++ b/dev-python/pyagentx/pyagentx-0.4-r1.ebuild
@@ -1,15 +1,16 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_10 )
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=setuptools
 
 inherit distutils-r1
 
 DESCRIPTION="Python AgentX Implementation"
 HOMEPAGE="https://github.com/hosthvo/pyagentx;
-SRC_URI="https://github.com/hosthvo/pyagentx/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
+SRC_URI="https://github.com/hosthvo/pyagentx/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="BSD-2"
 SLOT="0"
@@ -17,5 +18,3 @@ KEYWORDS="~amd64"
 
 PATCHES="${FILESDIR}/updater.patch
${FILESDIR}/python3.patch"
-
-distutils_enable_tests setup.py



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

2024-04-13 Thread Julien Roy
commit: 4b3169083ff63c935a5a2271e17148080f095423
Author: Julien Roy  jroy  ca>
AuthorDate: Sun Apr 14 02:03:42 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sun Apr 14 02:03:42 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4b316908

profiles: mask dev-python/wheezy-template

Bug: https://bugs.gentoo.org/884691
Bug: https://bugs.gentoo.org/921903
Bug: https://bugs.gentoo.org/897596
Signed-off-by: Julien Roy  jroy.ca>

 profiles/package.mask | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/profiles/package.mask b/profiles/package.mask
index fbde4e5d48..b0229e3e25 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -22,6 +22,8 @@ dev-python/clufter
 dev-python/cx-oracle
 # Library with no revdeps, upstream no longer tagging releases, need to use 
live ebuild or tag commits
 dev-python/curio
+# Can't be merged due to banned files (bug https://bugs.gentoo.org/884691)
+dev-python/wheezy-template
 
 # Julien Roy  (2024-04-13)
 # Depends on last rited dev-python/future



[gentoo-commits] repo/proj/guru:dev commit in: games-util/minigalaxy/

2024-04-13 Thread Julien Roy
commit: fd741d6e7b2fee143f680320b44d4f472e30579d
Author: Julien Roy  jroy  ca>
AuthorDate: Sun Apr 14 02:10:25 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sun Apr 14 02:10:25 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fd741d6e

games-util/minigalaxy: add 1.2.6, enable py3.12

Closes: https://bugs.gentoo.org/897622
Bug: https://bugs.gentoo.org/921890
Bug: https://bugs.gentoo.org/921916
Bug: https://bugs.gentoo.org/927563
Signed-off-by: Julien Roy  jroy.ca>

 games-util/minigalaxy/Manifest|  2 +-
 games-util/minigalaxy/minigalaxy-1.1.0.ebuild | 86 ---
 games-util/minigalaxy/minigalaxy-1.2.6.ebuild | 44 ++
 3 files changed, 45 insertions(+), 87 deletions(-)

diff --git a/games-util/minigalaxy/Manifest b/games-util/minigalaxy/Manifest
index 47ef8c6450..f5f8a363cc 100644
--- a/games-util/minigalaxy/Manifest
+++ b/games-util/minigalaxy/Manifest
@@ -1 +1 @@
-DIST minigalaxy-1.1.0.tar.gz 417215 BLAKE2B 
639ce13d25e53d5e81885026268b6ecc372288a81edd8c6e7b36d38c17b158f8953d49a33af92d541aec94e0c8651927002f3adca44c6a9caa2b61b0d6e3fd68
 SHA512 
5d16120f12398376770a2d2176a127201f1640b83bd8efb576e31eddad5e828bf45f7de7a6394408ef76aafedc126f2f3987920ff2863bbe4668096fa4bf6707
+DIST minigalaxy-1.2.6.tar.gz 457267 BLAKE2B 
005150b631643b20ef0a8a2e7b0f1ee74cc4a82d3d42e5836457016451c2446a658ddd017c68f26960b5f8e56fea6edef62df442192ea1dd8d0f811131504ac8
 SHA512 
99e14c92394cc32fbfcc88fa59c9a9ce2a0f17000edf0c86be0906a3a66104129666e682c3f47fcf2001f93bcee18c1f3d07472eac9c660e978c73cffe3a0943

diff --git a/games-util/minigalaxy/minigalaxy-1.1.0.ebuild 
b/games-util/minigalaxy/minigalaxy-1.1.0.ebuild
deleted file mode 100644
index c8af8a6332..00
--- a/games-util/minigalaxy/minigalaxy-1.1.0.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_10 )
-DISTUTILS_SINGLE_IMPL=1
-
-inherit distutils-r1 optfeature xdg
-
-DESCRIPTION="A simple GOG client for Linux"
-HOMEPAGE="https://github.com/sharkwouter/minigalaxy;
-SRC_URI="https://github.com/sharkwouter/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-   $(python_gen_cond_dep '
-   >=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-   ')
-   >=net-libs/webkit-gtk-2.6
-   >=x11-libs/gtk+-3
-"
-BDEPEND="test? (
-   $(python_gen_cond_dep '
-   dev-python/simplejson[${PYTHON_USEDEP}]')
-)"
-
-distutils_enable_tests unittest
-
-python_prepare_all() {
-   # AttributeError: module 'minigalaxy.ui' has no attribute 'window'
-   rm tests/test_ui_window.py || die
-
-   # TypeError: issubclass() arg 2 must be a class or tuple of classes
-   rm tests/test_ui_library.py || die
-
-   # fails
-   sed "s/test_create_config/_\0/" -i tests/test_config.py || die
-
-   # require network
-   test_api_net=(
-   test1_get_library
-   test_get_download_file_md5
-   test1_can_connect
-   test2_get_download_info
-   )
-   for fn in "${test_api_net[@]}"; do
-   sed "s/def ${fn}/def _${fn}/" -i tests/test_api.py || die
-   done
-
-   # fail
-   test_installer_fail=(
-   test_remove_installer_from_keep
-   test_remove_installer_keep
-   test_remove_installer_same_content
-   )
-   for fn in "${test_installer_fail[@]}"; do
-   sed "s/def ${fn}/def _${fn}/" -i tests/test_installer.py || die
-   done
-
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   eval unset ${!LC_*} LANG
-
-   cp minigalaxy/paths.py minigalaxy/paths.py.bak || die
-   sed "s:\(LAUNCH_DIR =\) .*:\1 \"${BUILD_DIR}/test/usr/bin\":" \
-   -i minigalaxy/paths.py || die
-
-   distutils_install_for_testing
-   distutils-r1_python_test
-
-   mv -f minigalaxy/paths.py.bak minigalaxy/paths.py || die
-}
-
-pkg_postinst() {
-   xdg_pkg_postinst
-
-   optfeature "running games with system dosbox" games-emulation/dosbox
-   optfeature "running games with system scummvm" games-engines/scummvm
-}

diff --git a/games-util/minigalaxy/minigalaxy-1.2.6.ebuild 
b/games-util/minigalaxy/minigalaxy-1.2.6.ebuild
new file mode 100644
index 00..3801ac1499
--- /dev/null
+++ b/games-util/minigalaxy/minigalaxy-1.2.6.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+# Fails to compile with PEP517
+# DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1 optfeature xdg
+
+DESCRIPTION="A simple GOG client for Linux"
+HOMEPAGE="https://github.com/sharkwouter/minigalaxy;

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

2024-04-13 Thread Julien Roy
commit: 4b2ea7a9522dd21c43e818be24bca7e66b1e922c
Author: Julien Roy  jroy  ca>
AuthorDate: Sun Apr 14 01:45:57 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sun Apr 14 01:45:57 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4b2ea7a9

dev-python/pymorphy2-dicts: Enable py3.{11,12}, use PEP517

Closes: https://bugs.gentoo.org/897530
Signed-off-by: Julien Roy  jroy.ca>

 3710985.ebuild => pymorphy2-dicts-2.4.393442.3710985-r1.ebuild} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/dev-python/pymorphy2-dicts/pymorphy2-dicts-2.4.393442.3710985.ebuild 
b/dev-python/pymorphy2-dicts/pymorphy2-dicts-2.4.393442.3710985-r1.ebuild
similarity index 71%
rename from dev-python/pymorphy2-dicts/pymorphy2-dicts-2.4.393442.3710985.ebuild
rename to 
dev-python/pymorphy2-dicts/pymorphy2-dicts-2.4.393442.3710985-r1.ebuild
index dc045ab533..7cf718e2b5 100644
--- a/dev-python/pymorphy2-dicts/pymorphy2-dicts-2.4.393442.3710985.ebuild
+++ b/dev-python/pymorphy2-dicts/pymorphy2-dicts-2.4.393442.3710985-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 2021-2022 Gentoo Authors
+# Copyright 2021-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_10 pypy3  )
-DISTUTILS_USE_SETUPTOOLS=bdepend
+PYTHON_COMPAT=( python3_{10..12} pypy3  )
+DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
 inherit distutils-r1 pypi
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pymorphy2-dicts-ru/

2024-04-13 Thread Julien Roy
commit: 66c0e759648d3c4c9e0c6a5b64bf423f12d9f638
Author: Julien Roy  jroy  ca>
AuthorDate: Sun Apr 14 01:47:55 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sun Apr 14 01:47:55 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=66c0e759

dev-python/pymorphy2-dicts-ru: enable py3.{11,12}, use PEP517

Closes: https://bugs.gentoo.org/897532
Signed-off-by: Julien Roy  jroy.ca>

 ...79844.ebuild => pymorphy2-dicts-ru-2.4.417127.4579844-r1.ebuild} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/dev-python/pymorphy2-dicts-ru/pymorphy2-dicts-ru-2.4.417127.4579844.ebuild 
b/dev-python/pymorphy2-dicts-ru/pymorphy2-dicts-ru-2.4.417127.4579844-r1.ebuild
similarity index 71%
rename from 
dev-python/pymorphy2-dicts-ru/pymorphy2-dicts-ru-2.4.417127.4579844.ebuild
rename to 
dev-python/pymorphy2-dicts-ru/pymorphy2-dicts-ru-2.4.417127.4579844-r1.ebuild
index b6693c3914..7cf718e2b5 100644
--- a/dev-python/pymorphy2-dicts-ru/pymorphy2-dicts-ru-2.4.417127.4579844.ebuild
+++ 
b/dev-python/pymorphy2-dicts-ru/pymorphy2-dicts-ru-2.4.417127.4579844-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_10 pypy3  )
-DISTUTILS_USE_SETUPTOOLS=bdepend
+PYTHON_COMPAT=( python3_{10..12} pypy3  )
+DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
 inherit distutils-r1 pypi
 



[gentoo-commits] repo/proj/guru:dev commit in: app-portage/pacvis/

2024-04-13 Thread Julien Roy
commit: 4e6c7a66a319741c3ac0f68c0e5bc013a9b75ab2
Author: Julien Roy  jroy  ca>
AuthorDate: Sun Apr 14 01:31:07 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sun Apr 14 01:31:07 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4e6c7a66

app-portage/pacvis: drop 0.4.2

Closes: https://bugs.gentoo.org/897372
Signed-off-by: Julien Roy  jroy.ca>

 app-portage/pacvis/pacvis-0.4.2.ebuild | 17 -
 1 file changed, 17 deletions(-)

diff --git a/app-portage/pacvis/pacvis-0.4.2.ebuild 
b/app-portage/pacvis/pacvis-0.4.2.ebuild
deleted file mode 100644
index d4422cc165..00
--- a/app-portage/pacvis/pacvis-0.4.2.ebuild
+++ /dev/null
@@ -1,17 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_10 )
-
-inherit distutils-r1
-
-DESCRIPTION="Displays dependency graphs of packages"
-HOMEPAGE="https://github.com/bgloyer/pacvis;
-SRC_URI="https://github.com/bgloyer/pacvis/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="dev-python/tornado[${PYTHON_USEDEP}]"



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

2024-04-13 Thread Julien Roy
commit: 55f3c6daa3882642b3c41728c80fa25fe04f27f5
Author: Julien Roy  jroy  ca>
AuthorDate: Sun Apr 14 01:26:05 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sun Apr 14 01:26:05 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=55f3c6da

dev-python/typing_inspect: drop 0.7.1

Closes: https://bugs.gentoo.org/897592
Signed-off-by: Julien Roy  jroy.ca>

 dev-python/typing_inspect/Manifest |  1 -
 .../typing_inspect/typing_inspect-0.7.1.ebuild | 31 --
 2 files changed, 32 deletions(-)

diff --git a/dev-python/typing_inspect/Manifest 
b/dev-python/typing_inspect/Manifest
index 7c1fa8d843..013f920d56 100644
--- a/dev-python/typing_inspect/Manifest
+++ b/dev-python/typing_inspect/Manifest
@@ -1,2 +1 @@
-DIST typing_inspect-0.7.1.tar.gz 11799 BLAKE2B 
a0f0fde9fe1b85897c8cac660a1fb9de2b9bc3b83c619ddb0642749cacb105bfc7d2f0e25a1da0e9c95a3cdd60e39eecd3be4aef32d0f47c53f107d681f43a39
 SHA512 
16aa279e5bcdcaa4ad28b68a5c5cedcefee32ec78f57c75b4285888ab6d634e3306eedc63445839cc57923ae956e9b2234cb2afcf71216b3f6ff6839cd48fc58
 DIST typing_inspect-0.9.0.tar.gz 13825 BLAKE2B 
599ec6a99fd040ac5ee83ef20deee86a8255dd116c8d8defe67d99291088984efc3b639986a9d350b26200028a309cfe6590a3f75dc4b9e0306bdc13bb65641e
 SHA512 
5d46e6632895fa0a59007779f49a5812beff09f59e359a81af93bfee7bb5f4c2025566efbd27422299a614baa4d9c22da2317377090b0ad1cdd89fca73e9ee5a

diff --git a/dev-python/typing_inspect/typing_inspect-0.7.1.ebuild 
b/dev-python/typing_inspect/typing_inspect-0.7.1.ebuild
deleted file mode 100644
index ed6f558aa5..00
--- a/dev-python/typing_inspect/typing_inspect-0.7.1.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_10 ) # python3_11 depends on dev-python/mypy_extensions
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Runtime inspection utilities for Python typing module"
-HOMEPAGE="https://github.com/ilevkivskyi/typing_inspect;
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   >=dev-python/mypy_extensions-0.3.0[${PYTHON_USEDEP}]
-   >=dev-python/typing-extensions-3.7.4.2[${PYTHON_USEDEP}]
-"
-DEPEND="${RDEPEND}"
-
-distutils_enable_tests pytest
-
-python_test() {
-   # https://github.com/ilevkivskyi/typing_inspect/issues/84
-   local EPYTEST_DESELECT=( 
'test_typing_inspect.py::GetUtilityTestCase::test_typed_dict_typing_extension' )
-   epytest
-}



[gentoo-commits] repo/proj/guru:dev commit in: x11-misc/picom-jonaburg/

2024-04-13 Thread Julien Roy
commit: e130f7aad7c4252f0e6a92468e82c0b962519326
Author: Julien Roy  jroy  ca>
AuthorDate: Sun Apr 14 01:20:01 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sun Apr 14 01:20:01 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e130f7aa

x11-misc/picom-jonaburg: remove stray comments

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

 x11-misc/picom-jonaburg/picom-jonaburg-.ebuild | 4 
 1 file changed, 4 deletions(-)

diff --git a/x11-misc/picom-jonaburg/picom-jonaburg-.ebuild 
b/x11-misc/picom-jonaburg/picom-jonaburg-.ebuild
index 8904f4a88b..d27ad712b8 100644
--- a/x11-misc/picom-jonaburg/picom-jonaburg-.ebuild
+++ b/x11-misc/picom-jonaburg/picom-jonaburg-.ebuild
@@ -54,10 +54,6 @@ python_check_deps() {
python_has_version -b "dev-python/xcffib[${PYTHON_USEDEP}]"
 }
 
-# pkg_setup() {
-#  use test && python-any-r1_pkg_setup
-# }
-
 src_configure() {
local emesonargs=(
$(meson_use config-file config_file)



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

2024-04-13 Thread Julien Roy
commit: e9884f29bd3c153b694bfff42b1c1d6b3f278456
Author: Julien Roy  jroy  ca>
AuthorDate: Sun Apr 14 00:41:01 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sun Apr 14 00:41:01 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e9884f29

dev-python/yams: enable py3.12, use PEP517

Closes: https://bugs.gentoo.org/897604
Closes: https://bugs.gentoo.org/921883
Signed-off-by: Julien Roy  jroy.ca>

 dev-python/yams/Manifest |  2 +-
 .../yams/{yams-0.7.3.ebuild => yams-0.7.3-r1.ebuild} | 16 +---
 dev-python/yams/yams-.ebuild | 14 --
 3 files changed, 10 insertions(+), 22 deletions(-)

diff --git a/dev-python/yams/Manifest b/dev-python/yams/Manifest
index cd4697dd32..d8979f3065 100644
--- a/dev-python/yams/Manifest
+++ b/dev-python/yams/Manifest
@@ -1 +1 @@
-DIST yams-0.7.3.tar.gz 31201 BLAKE2B 
0b09157c545c3ffe4b2b792c8bd00ebf66f78b65a45904db397b7295d43f4cdefd18c5ef855b88f5652debf6c43902d8e8415cf6d134c51d225bc6ae6ba084dc
 SHA512 
785aae9ce0e371e50dac4070a06102d6ac440acd179b6840d4283b0298dd0ae36f12b9f695ddbf7ee2bb281e4d6e1cfd600a444c4169d5652662da1f8c52f43d
+DIST yams-0.7.3.gh.tar.gz 31201 BLAKE2B 
0b09157c545c3ffe4b2b792c8bd00ebf66f78b65a45904db397b7295d43f4cdefd18c5ef855b88f5652debf6c43902d8e8415cf6d134c51d225bc6ae6ba084dc
 SHA512 
785aae9ce0e371e50dac4070a06102d6ac440acd179b6840d4283b0298dd0ae36f12b9f695ddbf7ee2bb281e4d6e1cfd600a444c4169d5652662da1f8c52f43d

diff --git a/dev-python/yams/yams-0.7.3.ebuild 
b/dev-python/yams/yams-0.7.3-r1.ebuild
similarity index 69%
rename from dev-python/yams/yams-0.7.3.ebuild
rename to dev-python/yams/yams-0.7.3-r1.ebuild
index 4d4d153c7b..9e5c63c716 100644
--- a/dev-python/yams/yams-0.7.3.ebuild
+++ b/dev-python/yams/yams-0.7.3-r1.ebuild
@@ -1,9 +1,11 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_10 )
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=setuptools
+
 inherit distutils-r1 systemd
 
 DESCRIPTION="Yet Another MPD Scrobbler (for Last.FM)"
@@ -13,7 +15,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://github.com/Berulacks/${PN}.git;
inherit git-r3
 else
-   SRC_URI="https://github.com/Berulacks/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   SRC_URI="https://github.com/Berulacks/${PN}/archive/${PV}.tar.gz -> 
${P}.gh.tar.gz"
KEYWORDS="~amd64"
 fi
 
@@ -28,14 +30,6 @@ RDEPEND="
media-sound/mpd
 "
 
-python_prepare_all() {
-   # Change application name so the .egg-info directory has the
-   # same name as the Python site-package one for consistency
-   sed -e "s/YAMScrobbler/yams/" -i setup.py || die
-
-   distutils-r1_python_prepare_all
-}
-
 python_install_all() {
systemd_douserunit yams.service
 

diff --git a/dev-python/yams/yams-.ebuild b/dev-python/yams/yams-.ebuild
index 1824ef057e..9e5c63c716 100644
--- a/dev-python/yams/yams-.ebuild
+++ b/dev-python/yams/yams-.ebuild
@@ -3,7 +3,9 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_10 )
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=setuptools
+
 inherit distutils-r1 systemd
 
 DESCRIPTION="Yet Another MPD Scrobbler (for Last.FM)"
@@ -13,7 +15,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://github.com/Berulacks/${PN}.git;
inherit git-r3
 else
-   SRC_URI="https://github.com/Berulacks/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   SRC_URI="https://github.com/Berulacks/${PN}/archive/${PV}.tar.gz -> 
${P}.gh.tar.gz"
KEYWORDS="~amd64"
 fi
 
@@ -28,14 +30,6 @@ RDEPEND="
media-sound/mpd
 "
 
-python_prepare_all() {
-   # Change application name so the .egg-info directory has the
-   # same name as the Python site-package one for consistency
-   sed -e "s/YAMScrobbler/yams/" -i setup.py || die
-
-   distutils-r1_python_prepare_all
-}
-
 python_install_all() {
systemd_douserunit yams.service
 



[gentoo-commits] repo/proj/guru:dev commit in: net-libs/telepathy-haze/

2024-04-13 Thread Julien Roy
commit: cc7a5d3a25d6d629a642766f30f863f3407e24cb
Author: Julien Roy  jroy  ca>
AuthorDate: Sun Apr 14 01:15:28 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sun Apr 14 01:15:28 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cc7a5d3a

net-libs/telepathy-haze: update HOMEPAGE

Closes: https://bugs.gentoo.org/897636
Signed-off-by: Julien Roy  jroy.ca>

 net-libs/telepathy-haze/telepathy-haze-0.8.1.ebuild | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/net-libs/telepathy-haze/telepathy-haze-0.8.1.ebuild 
b/net-libs/telepathy-haze/telepathy-haze-0.8.1.ebuild
index 6e80d232ab..ce065a1dc4 100644
--- a/net-libs/telepathy-haze/telepathy-haze-0.8.1.ebuild
+++ b/net-libs/telepathy-haze/telepathy-haze-0.8.1.ebuild
@@ -1,14 +1,17 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_10 )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit python-any-r1
 
 DESCRIPTION="Telepathy connection manager providing libpurple supported 
protocols"
-HOMEPAGE="https://telepathy.freedesktop.org 
https://developer.pidgin.im/wiki/TelepathyHaze;
+HOMEPAGE="
+   https://telepathy.freedesktop.org
+   https://developer.pidgin.im/wiki/TelepathyHaze
+"
 SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz;
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: sys-devel/gcc/

2024-04-13 Thread Sam James
commit: 794a5f3477574f69ea65d0522073218a9e6fd7aa
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 14 00:59:03 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 14 00:59:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=794a5f34

sys-devel/gcc: add 11.4.1_p20240411

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

 sys-devel/gcc/Manifest|  1 +
 sys-devel/gcc/gcc-11.4.1_p20240411.ebuild | 65 +++
 2 files changed, 66 insertions(+)

diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest
index 41cbe805616f..bf2785ff7ca8 100644
--- a/sys-devel/gcc/Manifest
+++ b/sys-devel/gcc/Manifest
@@ -5,6 +5,7 @@ DIST gcc-11-20240111.tar.xz 76240620 BLAKE2B 
dcf3b2493ca6ba1a9cd0137186cfbf1b962
 DIST gcc-11-20240208.tar.xz 76276224 BLAKE2B 
efce83c3ea03093546b73d7731ac1051da7a2b0309612ce5b809ae2756bf7a949c94f951f6a77e789f7669051315e1a4e4c33f2b12a2ec1999ee9f1f39f6b13f
 SHA512 
a0e2b4402ff187d0804e3bc2ed0a228cfce48476c1270d57798b060899f65c7e986945651d36c358f9df5eb4b36db13321e141895329b7382c130a0aca6a8962
 DIST gcc-11-20240328.tar.xz 76268060 BLAKE2B 
a3ffdd5a2376b1d3984ca39837932e1c6dc047ff6ae72eac0387cf27acdf8f1a1ff7e9584f631de348b6553e929892d8bc443ad6c40132a2636c39a8907c5eec
 SHA512 
6372a99f2a1320c7df6e7984bb780395aaf8319624f311d955d5dbab2ac7bfb8de933c5b945bc3c4ea3b5d7404b8fc2d696825214b6563c1e032094a421b8bd2
 DIST gcc-11-20240404.tar.xz 76246936 BLAKE2B 
09eed1bff289e960018b8c9c5d39e43ebcff78d344feba45d7889149e0de0d2727a54a0359471eab9a28cb38d5750b488c62cbffbf937ab7238eab51f3e7d0b7
 SHA512 
431f0b8d78f2b5e910ca8de8e8f64594f070639c17bc65a074650c217a5262cb9081db7e090bd3396e30ef50e92ed3ada0d163b4cabf04f2ae78fd02dba8c05a
+DIST gcc-11-20240411.tar.xz 76275268 BLAKE2B 
a24769b7f4b6d111b1fc46f9a99f9f731193a15b9a1a73fc224388721f0e3b6d02022eb0dc44a3d587522ad124bf63ce9ee50b9622ec91b55001c46fbc261776
 SHA512 
43fef6a426b4b8001c1d8707c34339203e66dcfa580cf289e20cd7abeaf0f8b57068ab1099099c4692a7acce1bc38bb978bcff6c309f30e3430457af5b7fb018
 DIST gcc-11.4.0-musl-patches-2.tar.xz 4308 BLAKE2B 
a2335e155fc57816fed822a648e0eaefafcba9d04e1ad0fd7baeea5a694ab6f5e3c1678cb406f2a1bd17bab25cb01699d032713a1ccf337948dfda2093844607
 SHA512 
17b84f907cb1bd763873655e6f35fd3ed55a40b602b70a626f04f83b4cc89c6261db1661de78d4d969187a8c56e9f6305b742515a3836b962248a21df0df5d0c
 DIST gcc-11.4.0-patches-12.tar.xz 13824 BLAKE2B 
e4df9e0dc9512882022aaf325ebf65c540169454c91dd31f913c6f57f6eb291c79ae919671b53db1549799d4a70c09298bf45ed82ad05eb1f961443cc958369d
 SHA512 
87fed0c3f8e28c9f702443db58350bb615110b27ebe334b5de2ea60678e2548c56cd75cffade210d69634e2ac0a9311f5100ddb45d97645aa76d5688bc421a61
 DIST gcc-12-20240112.tar.xz 79832228 BLAKE2B 
deec7123b8ffc42ddace51e1f3e8e08d5485f7000c0d4b7273b6311912ec0e7e2cb41124297af8c54456bb369a76fa2ef51aff552d8d680ec41dd2b144b08e55
 SHA512 
2c0a676ad35e6edee915c042a1751ac0263fae9b7af4d324deb49d6603dc73d3ec768832184879543e6ffb1595da5c56d9117288547adab7f243646dcbfc64ac

diff --git a/sys-devel/gcc/gcc-11.4.1_p20240411.ebuild 
b/sys-devel/gcc/gcc-11.4.1_p20240411.ebuild
new file mode 100644
index ..5ab7ed2dbcfa
--- /dev/null
+++ b/sys-devel/gcc/gcc-11.4.1_p20240411.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+TOOLCHAIN_PATCH_DEV="sam"
+PATCH_GCC_VER="11.4.0"
+PATCH_VER="12"
+MUSL_VER="2"
+MUSL_GCC_VER="11.4.0"
+PYTHON_COMPAT=( python3_{10..11} )
+
+if [[ ${PV} == *. ]] ; then
+   MY_PV_2=$(ver_cut 2)
+   MY_PV_3=1
+   if [[ ${MY_PV_2} == 0 ]] ; then
+   MY_PV_2=0
+   MY_PV_3=0
+   else
+   MY_PV_2=$((${MY_PV_2} - 1))
+   fi
+
+   # e.g. 12.2. -> 12.1.1
+   TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.${MY_PV_3}
+elif [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then
+   # Cheesy hack for RCs
+   MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 
1)))-RC-$(ver_cut 5)
+   MY_P=${PN}-${MY_PV}
+   GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz"
+   TOOLCHAIN_SET_S=no
+   S="${WORKDIR}"/${MY_P}
+fi
+
+inherit toolchain
+
+if tc_is_live ; then
+   # Needs to be after inherit (for now?), bug #830908
+   EGIT_BRANCH=releases/gcc-$(ver_cut 1)
+elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then
+   # Don't keyword live ebuilds
+   #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86"
+   :;
+fi
+
+if [[ ${CATEGORY} != cross-* ]] ; then
+   # Technically only if USE=hardened *too* right now, but no point in 
complicating it further.
+   # If GCC is enabling CET by default, we need glibc to be built with 
support for it.
+   # bug #830454
+   RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )"
+   DEPEND="${RDEPEND}"
+   BDEPEND="amd64? ( >=${CATEGORY}/binutils-2.30[cet(-)?] )"
+fi
+
+src_prepare() {
+   local p upstreamed_patches=(
+  

[gentoo-commits] repo/gentoo:master commit in: sys-devel/gcc/

2024-04-13 Thread Sam James
commit: da9568c2799b2c2924c7e98ff03e968a0242adeb
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 14 01:00:28 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 14 01:00:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da9568c2

sys-devel/gcc: add 12.3.1_p20240412

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

 sys-devel/gcc/Manifest|  1 +
 sys-devel/gcc/gcc-12.3.1_p20240412.ebuild | 65 +++
 2 files changed, 66 insertions(+)

diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest
index bf2785ff7ca8..9cb72bfa3a24 100644
--- a/sys-devel/gcc/Manifest
+++ b/sys-devel/gcc/Manifest
@@ -12,6 +12,7 @@ DIST gcc-12-20240112.tar.xz 79832228 BLAKE2B 
deec7123b8ffc42ddace51e1f3e8e08d548
 DIST gcc-12-20240209.tar.xz 79824868 BLAKE2B 
1ae5a646da470f06648c4766c77475ceb287c5f6647d5102f1aef6590f973233d5e7f83b5e0241488d49dba59dd605c211938379e68a393a2dccb3834103ae4b
 SHA512 
9f9a04f4477f41bb2a5662aedef2af75b039de50c2dc99310e504e6080cb7aae06a1255337ea2e563975cb108ddc6766adbbaf4e3d5d5712801d7ba9a5209dbd
 DIST gcc-12-20240329.tar.xz 79862704 BLAKE2B 
2ac09aeed2718acfcbb8d0d71e51f21cab9b186c73860cfabcf95a7ed4c37eb461fb26f86ee7319c614c21208c0fdf841b660d314eacd8314e8f323edd37f7cf
 SHA512 
56d67cac2744c7fcb28eda9a29ba200d418a9e44fecc37b29747c2abac479e366b591ad6f7f92ce64b09dd3d0261af8ef28673beee1280618e043cf66f3b76ac
 DIST gcc-12-20240405.tar.xz 79849308 BLAKE2B 
d94046fead6cacd3e3b869f1db42843a2487d845ded332ad0fd55a7f290a4c3df72258dc1b74e4db3d7f7357e6b55444cde4b8863f2ce6f8691fd92bd49927fb
 SHA512 
93ed2174ac3cdd8d5e885c6f4f546f9d0557e93bc9583a02d5d159c666fe6a82f30b6ed074f5f1e36f6f82855c41be527fb3d053498059ee4a6194575b00ed0d
+DIST gcc-12-20240412.tar.xz 79856320 BLAKE2B 
b83d64584a2c5bade96b7964349e4b760d5b40a4d10256799130d329f5748d2741a5122105f094f161f95eb8ade64109276aec723a518a42d695b41c8f08d61e
 SHA512 
2a8a3ae4779f1cc897846b9d5e2eeb94ea8ece72d061c0f2436e854bb26eef33eb51c66bee6c0c363be04023e5c5ce3e3a88c9aaa7ae9faaa9322fd18dfbfae3
 DIST gcc-12.3.0-musl-patches-1.tar.xz 3572 BLAKE2B 
c7bf65f7c9ea8023ddaac821ee2b778622fa310ac72a72b2f7032494a8f304eac86217f9204622e6c21aaef9952bece0d09bc126facd4f42b602927909815ab5
 SHA512 
babc279fea2c1fd4c018815f2f5630214fd46015ce9f365c28af242681d51818eaca30ce298eddcab1eed5ac5f2759e2b47b2335afab9d722b4469a6d4fec326
 DIST gcc-12.3.0-patches-2.tar.xz 14236 BLAKE2B 
06c43662c9abb0fa3cf90d5e2273c69aecb9158e6cf6f23c04754ed5d686be2616e81e2502eb16f4298ddd50518ca7677e13249da9e9b091162d3931ff65e4fe
 SHA512 
b0d4b85dbf1a541997203b872e3106906b4ad49cde57e1428bc22b2f8e2d73b8cb10ae0d0b792aebaf664594da4d1dea04c44ddc34e59047410766db04d1
 DIST gcc-12.3.0-patches-3.tar.xz 14852 BLAKE2B 
7a5f1f43063b15f424099afd72096212fbbbc5151ff01f2de15dfb6e7cf274981c8cfaedba9ef61576c9096fb172fc550a7deb5cd7d9366fd249fd5dd3951f76
 SHA512 
aa89e4c2ae02f4fb42229ad5167f2eaa3a8fae51118645bf07199fe2124b9c83948590662b053d08002ef709fa870ea88315fd4ccbe4441a74e9cb62edcb82fb

diff --git a/sys-devel/gcc/gcc-12.3.1_p20240412.ebuild 
b/sys-devel/gcc/gcc-12.3.1_p20240412.ebuild
new file mode 100644
index ..2c4b89e72445
--- /dev/null
+++ b/sys-devel/gcc/gcc-12.3.1_p20240412.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+TOOLCHAIN_PATCH_DEV="sam"
+PATCH_GCC_VER="12.3.0"
+PATCH_VER="3"
+MUSL_VER="1"
+MUSL_GCC_VER="12.3.0"
+PYTHON_COMPAT=( python3_{10..11} )
+
+if [[ ${PV} == *. ]] ; then
+   MY_PV_2=$(ver_cut 2)
+   MY_PV_3=1
+   if [[ ${MY_PV_2} == 0 ]] ; then
+   MY_PV_2=0
+   MY_PV_3=0
+   else
+   MY_PV_2=$((${MY_PV_2} - 1))
+   fi
+
+   # e.g. 12.2. -> 12.1.1
+   TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.${MY_PV_3}
+elif [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then
+   # Cheesy hack for RCs
+   MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 
1)))-RC-$(ver_cut 5)
+   MY_P=${PN}-${MY_PV}
+   GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz"
+   TOOLCHAIN_SET_S=no
+   S="${WORKDIR}"/${MY_P}
+fi
+
+inherit toolchain
+
+if tc_is_live ; then
+   # Needs to be after inherit (for now?), bug #830908
+   EGIT_BRANCH=releases/gcc-$(ver_cut 1)
+elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then
+   # Don't keyword live ebuilds
+   #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86"
+   :;
+fi
+
+if [[ ${CATEGORY} != cross-* ]] ; then
+   # Technically only if USE=hardened *too* right now, but no point in 
complicating it further.
+   # If GCC is enabling CET by default, we need glibc to be built with 
support for it.
+   # bug #830454
+   RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )"
+   DEPEND="${RDEPEND}"
+   BDEPEND="amd64? ( >=${CATEGORY}/binutils-2.30[cet(-)?] )"
+fi
+
+src_prepare() {
+   local p upstreamed_patches=(
+

[gentoo-commits] repo/gentoo:master commit in: sys-devel/gcc/

2024-04-13 Thread Sam James
commit: ba341ebd45ccc8257f7ab0f07d31e72c2cc1a071
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 14 01:01:55 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 14 01:01:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba341ebd

sys-devel/gcc: add 13.2.1_p20240413

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

 sys-devel/gcc/Manifest|  1 +
 sys-devel/gcc/gcc-13.2.1_p20240413.ebuild | 66 +++
 2 files changed, 67 insertions(+)

diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest
index 9cb72bfa3a24..e600b6f1e14f 100644
--- a/sys-devel/gcc/Manifest
+++ b/sys-devel/gcc/Manifest
@@ -20,6 +20,7 @@ DIST gcc-13-20240113.tar.xz 84356052 BLAKE2B 
1fbfffc9f2afe443158e3f26182c8bdc3f3
 DIST gcc-13-20240210.tar.xz 84354416 BLAKE2B 
5807623d3f7dd751b6dfe164cfd50d57b2f93485c23c3c2228a4a846a9a94cdad52a5e6f2806e5e7ee2a7b5526386ebdb339c44c7ea023d69f8652088a1b114d
 SHA512 
14a01ced7ac2bfd9fc93de4e3819b4d0823fbe129d3f1faabeb707e9e3e2613b4173321b58b3648a7250e3b7ff5d94edfee60e6c38682f31a1f7b57b1c01433f
 DIST gcc-13-20240330.tar.xz 84407332 BLAKE2B 
28b40915bf8e9ecf71b50d06fcdf69c01e87d3635f0c6b6159e003a0876453ada062cc538204604885e1350d226417fe9d7cbdb5e39146f9fde0d524ad34ff07
 SHA512 
4c4c4be522feb9ebe1bc868db59f0828de1154f80afad6c32bc2c7cf45df3797cb5e6dce2b35a297194ea87f81e34439f4d87bd88cabf0a29ce686e1b29e7a08
 DIST gcc-13-20240406.tar.xz 84392728 BLAKE2B 
42a560b01677350c480bde2a7436a8be4d2259100dd6f2f9e7cadb3d13ee1f51bfae058ceb0cc2ca4d527b302b5250f26b3d6b26fa9c7a2f5715aa003a3f
 SHA512 
e5ec524df7e9498a23ccfa42e28c5ce284fecdbb4771980328257d8251a11740c4cd3970d6bbe13052907b257d8e89b176d183c895168cf524dda12582d05d86
+DIST gcc-13-20240413.tar.xz 84405692 BLAKE2B 
4df749357ed33afdb0255b4dc02ae568ce12e461c07a535f3736c2dcd9f779391846097aeb99ed70f5f45dbc029244a0c994b84f1de1086cce3da23bba719984
 SHA512 
934857721e1a92ea709e1ff6f64dbb8a47df4c614935ec298ded0a19bb92342e50bb8ab7eccd6e3ab46ca00e86ed34b499d4b06379a689bf48bf4201f3956006
 DIST gcc-13.2.0-musl-patches-2.tar.xz 5292 BLAKE2B 
c057d6574d03c05854edaa9f3fd40e9149662b04f3ac7a7db3eb078d73a7b535726d1bf52e5b12736dedb2f9898ad731f2e48a6421fcfbf7b90f929dee072fcb
 SHA512 
a691da0c87c443a5e9d23731f4005f27871c5b12bc9102873ffa24d374aa7b9fbd187c4f5635d23fa9ffb17e351e76173c2d3fdf40646e355c4cb314b538de69
 DIST gcc-13.2.0-patches-12.tar.xz 47404 BLAKE2B 
ed018bcd7429d1c7aace746cbfc4e59dae409fc0a35231320c1b44c96fff0d912eba5c72109c2deb883f5368159df02148b2d4373396b34da882164c61fe4387
 SHA512 
b7872a03870bce7b633e4af4329b24fe8f3d50d6d9173f63549f606ce062787748af7f79e7ec4afeb768968d6e8462a849bd1b94316ea6bb284551f99e811617
 DIST gcc-13.2.0-patches-14.tar.xz 46928 BLAKE2B 
fce23bc5315f35b04a4976550c4b44578944a1b17e40c7553351eeb8a1ef0f3a2538da5a5e1ae6f37b784ff11bbd8a44b8f6eec542be63e34d984dee69e1cd81
 SHA512 
d7d52bb2915fd89c06b0134bede8db939cadbb1f2dcddf923bee2c3f9f577ff9e5e986b60420d892539edf82867a0d1bd635807814bc618b06a2b37cdaca893a

diff --git a/sys-devel/gcc/gcc-13.2.1_p20240413.ebuild 
b/sys-devel/gcc/gcc-13.2.1_p20240413.ebuild
new file mode 100644
index ..2a22fc220b4c
--- /dev/null
+++ b/sys-devel/gcc/gcc-13.2.1_p20240413.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+TOOLCHAIN_PATCH_DEV="sam"
+PATCH_GCC_VER="13.2.0"
+PATCH_VER="15"
+MUSL_VER="2"
+MUSL_GCC_VER="13.2.0"
+PYTHON_COMPAT=( python3_{10..11} )
+
+if [[ ${PV} == *. ]] ; then
+   MY_PV_2=$(ver_cut 2)
+   MY_PV_3=1
+   if [[ ${MY_PV_2} == 0 ]] ; then
+   MY_PV_2=0
+   MY_PV_3=0
+   else
+   MY_PV_2=$((${MY_PV_2} - 1))
+   fi
+
+   # e.g. 12.2. -> 12.1.1
+   TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.${MY_PV_3}
+elif [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then
+   # Cheesy hack for RCs
+   MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 
1)))-RC-$(ver_cut 5)
+   MY_P=${PN}-${MY_PV}
+   GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz"
+   TOOLCHAIN_SET_S=no
+   S="${WORKDIR}"/${MY_P}
+fi
+
+inherit toolchain
+
+if tc_is_live ; then
+   # Needs to be after inherit (for now?), bug #830908
+   EGIT_BRANCH=releases/gcc-$(ver_cut 1)
+elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then
+   # Don't keyword live ebuilds
+   #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips 
~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+   :;
+fi
+
+if [[ ${CATEGORY} != cross-* ]] ; then
+   # Technically only if USE=hardened *too* right now, but no point in 
complicating it further.
+   # If GCC is enabling CET by default, we need glibc to be built with 
support for it.
+   # bug #830454
+   RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )"
+   DEPEND="${RDEPEND}"
+   BDE

[gentoo-commits] repo/gentoo:master commit in: sys-apps/less/files/, sys-apps/less/

2024-04-13 Thread Sam James
commit: e9856cc39c2e0ee09e32358b23a120d855e4953c
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 14 00:47:11 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 14 00:49:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9856cc3

sys-apps/less: fix LESSOPEN escape vulnerability

Special thanks to the less upstream maintainer, Mark Nudelman, for providing
us with a backport to 643.

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

 sys-apps/less/files/less-643-LESSOPEN-escape.patch | 61 ++
 sys-apps/less/less-643-r2.ebuild   | 97 ++
 2 files changed, 158 insertions(+)

diff --git a/sys-apps/less/files/less-643-LESSOPEN-escape.patch 
b/sys-apps/less/files/less-643-LESSOPEN-escape.patch
new file mode 100644
index ..f3fe50fcfaa2
--- /dev/null
+++ b/sys-apps/less/files/less-643-LESSOPEN-escape.patch
@@ -0,0 +1,61 @@
+https://openwall.com/lists/oss-security/2024/04/12/5
+https://bugs.gentoo.org/929210
+https://github.com/gwsw/less/commit/007521ac3c95bc76e3d59c6dbfe75d06c8075c33
+
+Upstream provided this version via email as a backport to 643.
+--- a/filename.c
 b/filename.c
+@@ -134,6 +134,15 @@
+ }
+ 
+ /*
++ * Must use quotes rather than escape char for this metachar?
++ */
++static int must_quote(char c)
++{
++  /* {{ Maybe the set of must_quote chars should be configurable? }} */
++  return (c == '\n'); 
++}
++
++/*
+  * Insert a backslash before each metacharacter in a string.
+  */
+ public char * shell_quote(char *s)
+@@ -164,6 +173,9 @@
+* doesn't support escape chars.  Use quotes.
+*/
+   use_quotes = 1;
++  } else if (must_quote(*p))
++  {
++  len += 3; /* open quote + char + close quote */
+   } else
+   {
+   /*
+@@ -193,15 +205,22 @@
+   {
+   while (*s != '\0')
+   {
+-  if (metachar(*s))
++  if (!metachar(*s))
+   {
+-  /*
+-   * Add the escape char.
+-   */
++  *p++ = *s++;
++  } else if (must_quote(*s))
++  {
++  /* Surround the char with quotes. */
++  *p++ = openquote;
++  *p++ = *s++;
++  *p++ = closequote;
++  } else
++  {
++  /* Insert an escape char before the char. */
+   strcpy(p, esc);
+   p += esclen;
++  *p++ = *s++;
+   }
+-  *p++ = *s++;
+   }
+   *p = '\0';
+   }

diff --git a/sys-apps/less/less-643-r2.ebuild b/sys-apps/less/less-643-r2.ebuild
new file mode 100644
index ..a8159dc3fa9f
--- /dev/null
+++ b/sys-apps/less/less-643-r2.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Releases are usually first a beta then promoted to stable if no
+# issues were found. Upstream explicitly ask "to not generally distribute"
+# the beta versions. It's okay to keyword beta versions if they fix
+# a serious bug, but otherwise try to avoid it.
+
+WANT_AUTOMAKE=none
+WANT_LIBTOOL=none
+inherit autotools flag-o-matic optfeature toolchain-funcs
+
+DESCRIPTION="Excellent text file viewer"
+HOMEPAGE="https://www.greenwoodsoftware.com/less/;
+
+MY_PV=${PV/_beta/-beta}
+MY_P=${PN}-${MY_PV}
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://github.com/gwsw/less;
+   inherit git-r3
+else
+   SRC_URI="https://www.greenwoodsoftware.com/less/${MY_P}.tar.gz;
+
+   if [[ ${PV} != *_beta* ]] ; then
+   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"
+   fi
+fi
+
+S="${WORKDIR}"/${MY_P/?beta}
+
+LICENSE="|| ( GPL-3 BSD-2 )"
+SLOT="0"
+IUSE="pcre test"
+# chinese1, utf8-2
+RESTRICT="test !test? ( test )"
+
+DEPEND="
+   >=app-misc/editor-wrapper-3
+   >=sys-libs/ncurses-5.2:=
+   pcre? ( dev-libs/libpcre2 )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="test? ( virtual/pkgconfig )"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-643-lesstest-pkg-config.patch
+   "${FILESDIR}"/${PN}-643-LESSOPEN-escape.patch
+)
+
+src_prepare() {
+   default
+   # Per upstream README to prepare live build
+   [[ ${PV} ==  ]] && emake -f Makefile.aut distfiles
+   # Upstream uses unpatched autoconf-2.69, 

[gentoo-commits] repo/gentoo:master commit in: media-libs/gegl/, media-libs/gegl/files/

2024-04-13 Thread Sam James
commit: 413ac744b37e0546a8b29ae914a7eca8c84a8b8d
Author: Sergey Torokhov  yandex  ru>
AuthorDate: Sat Apr 13 21:31:42 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 14 00:42:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=413ac744

media-libs/gegl: drop old 0.4.40-r1, 0.4.42-r1, 0.4.44

Signed-off-by: Sergey Torokhov  yandex.ru>
Signed-off-by: Sam James  gentoo.org>

 media-libs/gegl/Manifest   |   3 -
 .../gegl/files/gegl-0.4.40-libraw-0.21.patch   |  26 
 .../gegl/files/gegl-0.4.40-strict-prototypes.patch |  79 --
 media-libs/gegl/gegl-0.4.40-r1.ebuild  | 171 -
 media-libs/gegl/gegl-0.4.42-r1.ebuild  | 171 -
 media-libs/gegl/gegl-0.4.44.ebuild | 167 
 6 files changed, 617 deletions(-)

diff --git a/media-libs/gegl/Manifest b/media-libs/gegl/Manifest
index b65b2acd470b..d3eec31043bb 100644
--- a/media-libs/gegl/Manifest
+++ b/media-libs/gegl/Manifest
@@ -1,5 +1,2 @@
-DIST gegl-0.4.40.tar.xz 5784744 BLAKE2B 
c4466a76ec4f7939161e9ead6980b8a701f3fc459c40c3de3e09caa688aae12fb1f4a9979ca82e95011437f229532ba07012590d00aeb97b610b69968faa454f
 SHA512 
99ace5f1b916e56f31483b60a38f885d0e09652c834122390bba4439d9bb1a137d84770e1518187330c44f3491e53393cfb8802ba9ede20658e1c8122e79
-DIST gegl-0.4.42.tar.xz 5787100 BLAKE2B 
6ae3ec98e72b1057b9d84551f56b675edb511994a73979bfccf559e24d3d636ba915aab10d3b3a1b38989d69c63692d3f312c621819700332c8cc1a4b3e86875
 SHA512 
29ccd93faa6127b6a9b1180eeba47f1b6f9bc06da8a5c9d68315d7474b77ff19d1084a6f4e7b218666b355329b17bc562f5906a334aa2baf93840d7caa0adf57
-DIST gegl-0.4.44.tar.xz 5791844 BLAKE2B 
dbbdca0ff9985025f528fe298df32672069c09dd87e22ab70330f078ca7fc7efb8b78f8f9077bb559eb61c790c5ab50c53853a1032fe00fbea7080d140baa28c
 SHA512 
4dd3fad0c5e391fc1ac3784d4365ffdc483d37b90a24a29eaa632dd337971674999b2e0f8facf255d86852a3899cc51f4d27f9875ab5849f8b38d9ed5bb7413a
 DIST gegl-0.4.46.tar.xz 5799248 BLAKE2B 
2fc9ccd0c711cc901abd50740a24d0f75b162cbb196bdd62ab8430882da3b9ea72c08dd587ecfecaf5e4ba9aca4df51bcd7d98ec197325375b1d954c2995029e
 SHA512 
cd733208da7dc1ec77ca023f03f47e578350e156ad07ece701b39f517a292e9f9c081b3a8a2db846813483b4ddb21f32f9fc8b9c70fea8a6ba27bb97ef8bb847
 DIST gegl-0.4.48.tar.xz 5805488 BLAKE2B 
3a84f166fdbfbd563688bb71c4579bba132380f5f45496e8fb81394b89781320230adf6e0ee49b9bde7db37d81929a8fd42e19e62281e7f8d1ea3bfb
 SHA512 
8f47e6445062894c16d54c4a5532fc49c9fb9be3428a591daaeb21b1a5b8529a68d82613fd75f107bb8c0418c9e5337346bd94da3226e545189c226b

diff --git a/media-libs/gegl/files/gegl-0.4.40-libraw-0.21.patch 
b/media-libs/gegl/files/gegl-0.4.40-libraw-0.21.patch
deleted file mode 100644
index 84d80d96503c..
--- a/media-libs/gegl/files/gegl-0.4.40-libraw-0.21.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-https://bugs.gentoo.org/887421
-https://gitlab.gnome.org/GNOME/gegl/-/merge_requests/133
-
-From ef71b865a301514fcd13f50d421942f7b6b92d5e Mon Sep 17 00:00:00 2001
-From: Chris Mayo 
-Date: Wed, 21 Dec 2022 19:32:02 +
-Subject: [PATCH] raw-load: make compatible with LibRaw 0.21.0
-
-imgdata.params.shot_select moved to imgdata.rawparams.shot_select
-https://github.com/LibRaw/LibRaw/blob/979160ff13/Changelog.txt#L182
 a/operations/external/raw-load.c
-+++ b/operations/external/raw-load.c
-@@ -114,7 +114,11 @@ prepare (GeglOperation *operation)
- g_warning ("raw-load: Error Initializing raw library");
-   else
- {
-+#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0, 21)
-+  p->LibRaw->rawparams.shot_select = o->image_num;
-+#else
-   p->LibRaw->params.shot_select = o->image_num;
-+#endif
- 
-   p->LibRaw->params.aber[0] = 1.0;
-   p->LibRaw->params.aber[2] = 1.0;
--- 
-GitLab

diff --git a/media-libs/gegl/files/gegl-0.4.40-strict-prototypes.patch 
b/media-libs/gegl/files/gegl-0.4.40-strict-prototypes.patch
deleted file mode 100644
index 6982afa4d7b0..
--- a/media-libs/gegl/files/gegl-0.4.40-strict-prototypes.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-https://bugs.gentoo.org/883313
-https://gitlab.gnome.org/GNOME/gegl/-/merge_requests/132
 a/gegl/graph/gegl-region-generic.c
-+++ b/gegl/graph/gegl-region-generic.c
-@@ -910,7 +910,7 @@ miRegionOp (GeglRegion   *newReg,
-   top = MAX (r1->y1, ybot);
-   bot = MIN (r1->y2, r2->y1);
- 
--  if ((top != bot) && (nonOverlap1Fn != (void (*)())NULL))
-+  if ((top != bot) && (nonOverlap1Fn != (void (*)(void))NULL))
- {
-   (*nonOverlap1Fn)(newReg, r1, r1BandEnd, top, bot);
- }
-@@ -922,7 +922,7 @@ miRegionOp (GeglRegion   *newReg,
-   top = MAX (r2->y1, ybot);
-   bot = MIN (r2->y2, r1->y1);
- 
--  if ((top != bot) && (nonOverlap2Fn != (void (*)())NULL))
-+  if ((top != bot) && (nonOverlap2Fn != (void (*)(void))NULL))
- {
-   

[gentoo-commits] repo/gentoo:master commit in: media-libs/gegl/

2024-04-13 Thread Sam James
commit: bf35b59918fcb688a5003abb16806132cc9b4615
Author: Sergey Torokhov  yandex  ru>
AuthorDate: Sat Apr 13 21:49:47 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 14 00:42:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf35b599

media-libs/gegl: enable py3.12

Closes: https://bugs.gentoo.org/929633

Signed-off-by: Sergey Torokhov  yandex.ru>
Signed-off-by: Sam James  gentoo.org>

 media-libs/gegl/gegl-0.4.46.ebuild | 2 +-
 media-libs/gegl/gegl-0.4.48.ebuild | 2 +-
 media-libs/gegl/gegl-.ebuild   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-libs/gegl/gegl-0.4.46.ebuild 
b/media-libs/gegl/gegl-0.4.46.ebuild
index bee4faac7e40..05137846557c 100644
--- a/media-libs/gegl/gegl-0.4.46.ebuild
+++ b/media-libs/gegl/gegl-0.4.46.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 # vala and introspection support is broken, bug #468208
 VALA_USE_DEPEND=vapigen
 

diff --git a/media-libs/gegl/gegl-0.4.48.ebuild 
b/media-libs/gegl/gegl-0.4.48.ebuild
index 7127527cb64e..9c71cbbdcc4b 100644
--- a/media-libs/gegl/gegl-0.4.48.ebuild
+++ b/media-libs/gegl/gegl-0.4.48.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 # vala and introspection support is broken, bug #468208
 VALA_USE_DEPEND=vapigen
 

diff --git a/media-libs/gegl/gegl-.ebuild b/media-libs/gegl/gegl-.ebuild
index d12038ce1a1b..c73a31fe3fd0 100644
--- a/media-libs/gegl/gegl-.ebuild
+++ b/media-libs/gegl/gegl-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 # vala and introspection support is broken, bug #468208
 VALA_USE_DEPEND=vapigen
 



[gentoo-commits] repo/gentoo:master commit in: dev-vcs/tortoisehg/

2024-04-13 Thread Sam James
commit: ae4038e370cd4fce4104b348df7d29d398a3050e
Author: Sergey Torokhov  yandex  ru>
AuthorDate: Sun Feb 25 07:30:44 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 14 00:42:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae4038e3

dev-vcs/tortoisehg: 6.6.3 version bump; add .ebuild py3.12 compat

Closes: https://bugs.gentoo.org/929565

Signed-off-by: Sergey Torokhov  yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/35519
Signed-off-by: Sam James  gentoo.org>

 dev-vcs/tortoisehg/Manifest | 1 +
 .../tortoisehg/{tortoisehg-.ebuild => tortoisehg-6.6.3.ebuild}  | 6 +++---
 dev-vcs/tortoisehg/tortoisehg-.ebuild   | 6 +++---
 3 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/dev-vcs/tortoisehg/Manifest b/dev-vcs/tortoisehg/Manifest
index 895dc5450fdc..cd311607d1db 100644
--- a/dev-vcs/tortoisehg/Manifest
+++ b/dev-vcs/tortoisehg/Manifest
@@ -1 +1,2 @@
 DIST tortoisehg-6.5.1.tar.gz 8854923 BLAKE2B 
7536f5d7c2b0cda5bb812b2135dcb54ce9bf02a523648e4569bbca5772d3568a63cb09549b6e10c46d212e3c98791f3014b62386d68b488f78f57a235e0be36c
 SHA512 
0e568937f25afa681e8c5f8b8ecc40ede046999318ff80bdd27516b523169c778c695a2a800876eac40480d6e009c83c6493dec3110673f5b79f284be1d4948b
+DIST tortoisehg-6.6.3.tar.gz 8857342 BLAKE2B 
166d1305ed3ee54496b3e0b08fc92a34a56a9398aa618a0f2266e7413fafc371be3c308debc3260a15b59c147a00bbe0773df52a838c4a4f0028b29c1cb05090
 SHA512 
8de8a68a753e8554dcb9936f6ba237e0598df65e6039f7c608e692bc375258e64a443e27e63c337f361fc32c0076b79bd98a972c220089902ff4489ab3507928

diff --git a/dev-vcs/tortoisehg/tortoisehg-.ebuild 
b/dev-vcs/tortoisehg/tortoisehg-6.6.3.ebuild
similarity index 95%
copy from dev-vcs/tortoisehg/tortoisehg-.ebuild
copy to dev-vcs/tortoisehg/tortoisehg-6.6.3.ebuild
index 372918b6780f..51dfb4c89ae7 100644
--- a/dev-vcs/tortoisehg/tortoisehg-.ebuild
+++ b/dev-vcs/tortoisehg/tortoisehg-6.6.3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 DISTUTILS_USE_PEP517=setuptools
 
 inherit desktop distutils-r1 optfeature xdg-utils
@@ -13,7 +13,7 @@ if [[ ${PV} != ** ]]; then

SRC_URI="https://foss.heptapod.net/mercurial/${PN}/thg/-/archive/${PV}/thg-${PV}.tar.gz
 -> ${P}.tar.gz"
HG_DEPEND=">=dev-vcs/mercurial-6.2[${PYTHON_USEDEP}]
$(python_gen_cond_dep 
'>=dev-vcs/mercurial-6.3.2[${PYTHON_USEDEP}]' python3_11 )
-   https://foss.heptapod.net/mercurial/${PN}/thg/-/archive/${PV}/thg-${PV}.tar.gz
 -> ${P}.tar.gz"
HG_DEPEND=">=dev-vcs/mercurial-6.2[${PYTHON_USEDEP}]
$(python_gen_cond_dep 
'>=dev-vcs/mercurial-6.3.2[${PYTHON_USEDEP}]' python3_11 )
-   

[gentoo-commits] repo/gentoo:master commit in: media-gfx/gimp/

2024-04-13 Thread Sam James
commit: cbeba5596a173b1609357abfd9e8bce44f257792
Author: Sergey Torokhov  yandex  ru>
AuthorDate: Sat Apr 13 22:07:34 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 14 00:42:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbeba559

media-gfx/gimp: 2.99.18,  enable py3.12

Closes: https://bugs.gentoo.org/929619

Signed-off-by: Sergey Torokhov  yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/36232
Signed-off-by: Sam James  gentoo.org>

 media-gfx/gimp/gimp-2.99.18.ebuild | 2 +-
 media-gfx/gimp/gimp-.ebuild| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-gfx/gimp/gimp-2.99.18.ebuild 
b/media-gfx/gimp/gimp-2.99.18.ebuild
index 9ac105ac99cb..48f5c21117db 100644
--- a/media-gfx/gimp/gimp-2.99.18.ebuild
+++ b/media-gfx/gimp/gimp-2.99.18.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 LUA_COMPAT=( luajit )
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 VALA_USE_DEPEND=vapigen
 
 inherit lua-single meson python-single-r1 toolchain-funcs vala xdg

diff --git a/media-gfx/gimp/gimp-.ebuild b/media-gfx/gimp/gimp-.ebuild
index f320108fe6ce..6ed419a59545 100644
--- a/media-gfx/gimp/gimp-.ebuild
+++ b/media-gfx/gimp/gimp-.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 LUA_COMPAT=( luajit )
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 VALA_USE_DEPEND=vapigen
 
 inherit git-r3 lua-single meson python-single-r1 toolchain-funcs vala xdg



[gentoo-commits] repo/gentoo:master commit in: media-libs/babl/

2024-04-13 Thread Sam James
commit: a151ef24e15bc429cee86e15570e64493ab50239
Author: Sergey Torokhov  yandex  ru>
AuthorDate: Sat Apr 13 21:33:17 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 14 00:42:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a151ef24

media-libs/babl: drop old 0.1.98, 0.1.102

Signed-off-by: Sergey Torokhov  yandex.ru>
Signed-off-by: Sam James  gentoo.org>

 media-libs/babl/Manifest|  2 --
 media-libs/babl/babl-0.1.102.ebuild | 69 -
 media-libs/babl/babl-0.1.98.ebuild  | 69 -
 3 files changed, 140 deletions(-)

diff --git a/media-libs/babl/Manifest b/media-libs/babl/Manifest
index e47de615b455..6a62c6822859 100644
--- a/media-libs/babl/Manifest
+++ b/media-libs/babl/Manifest
@@ -1,4 +1,2 @@
-DIST babl-0.1.98.tar.xz 312516 BLAKE2B 
c12626e4b8127a5b2e17507e20cf6ce324834a58d64fa54b80fbe00ef2468d3d29c870d44a22f08f7e74404cf6f47321084c854a4ba017cf0c8c199d8210849f
 SHA512 
33b2e3f8fbcd6602bb82d6242dd2911bb2232e69350f7a0e70e14b1472052e27b0e2a1fa6a2b6d0449fc9796353336e311c8d4007c532447cd61f95b684a3120
-DIST babl-0.1.102.tar.xz 313872 BLAKE2B 
b5720b256368c0d1cba5f6da98185bcad3770390e38e0a495b19a51ef3adeb9ab25e9ada8c085fc685261ca5722ee0dd6876091bf366a0a9ef876e096b8cdba9
 SHA512 
7a4cbf011bdac3dbb41e76fbb7fe389b3bfc2c844b58b2f743c0805fac47ea8d8f94997ed3e8f0744d7ed8d9b7d14b807fb959d809cff8f729462fe1b601
 DIST babl-0.1.106.tar.xz 315068 BLAKE2B 
560518beab77ec2f3fc50062bda80839f749992e4c61bef3badd4acfbc2a7bba6dce332ffabe65dcf18e4ba450d0ae1d261b5e34724a1309ea74e50ce3e452c7
 SHA512 
97dc57141754ff64a961f77df50dcd91b32d3cf26efa8ba9f3dd5fcfae41e96f986178a04ba7a8940effb6e6e33ac98b163551f377dc781308c750222efb4943
 DIST babl-0.1.108.tar.xz 317036 BLAKE2B 
a2ece95d7cad33aa70e41ee9c01bd11b7fb1730cb0e0d64df42c4c933a1ac1955b103d75d2ade613ebee0362ade8aaf8ed1257a3cbe307d623243869244f67c1
 SHA512 
3ebdd18b32505e3009ba8f4957ffe892226d83012fbf3217b1761645fdcae943a19bda1a1f93adde78a5dd83fa11b0ba23014118228ca4eab4fd18001f1f4970

diff --git a/media-libs/babl/babl-0.1.102.ebuild 
b/media-libs/babl/babl-0.1.102.ebuild
deleted file mode 100644
index a773e323fecf..
--- a/media-libs/babl/babl-0.1.102.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-VALA_USE_DEPEND=vapigen
-
-inherit meson gnome2-utils vala
-
-if [[ ${PV} == ** ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/babl.git;
-   SRC_URI=""
-else
-   SRC_URI="https://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 
~riscv -sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
-fi
-
-DESCRIPTION="A dynamic, any to any, pixel format conversion library"
-HOMEPAGE="https://gegl.org/babl/;
-
-LICENSE="LGPL-3"
-SLOT="0"
-IUSE="introspection lcms vala cpu_flags_x86_avx2 cpu_flags_x86_f16c 
cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse4_1"
-REQUIRED_USE="vala? ( introspection )"
-
-BDEPEND="
-   virtual/pkgconfig
-   vala? ( $(vala_depend) )
-"
-RDEPEND="
-   introspection? ( >=dev-libs/gobject-introspection-1.72:= )
-   lcms? ( >=media-libs/lcms-2.13.1:2 )
-"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
-   default
-   gnome2_environment_reset
-}
-
-src_configure() {
-   use vala && vala_setup
-
-   # Automagic rsvg support is just for website generation we do not call,
-   # so we don't need to fix it
-   # w3m is used for dist target thus no issue for us that it is 
automagically
-   # detected
-   local emesonargs=(
-   -Dwith-docs=false
-   $(meson_use introspection enable-gir)
-   $(meson_use lcms with-lcms)
-   $(meson_use vala enable-vapi)
-   $(meson_use cpu_flags_x86_avx2 enable-avx2)
-   $(meson_use cpu_flags_x86_f16c enable-f16c)
-   $(meson_use cpu_flags_x86_mmx enable-mmx)
-   $(meson_use cpu_flags_x86_sse enable-sse)
-   $(meson_use cpu_flags_x86_sse2 enable-sse2)
-   $(meson_use cpu_flags_x86_sse4_1 enable-sse4_1)
-   )
-   meson_src_configure
-}
-
-src_install() {
-   meson_src_install
-
-   # Create symlink for backward compatibility. See also bug 871690
-   dosym -r /usr/"$(get_libdir)"/pkgconfig/babl-0.1.pc 
/usr/"$(get_libdir)"/pkgconfig/babl.pc
-}

diff --git a/media-libs/babl/babl-0.1.98.ebuild 
b/media-libs/babl/babl-0.1.98.ebuild
deleted file mode 100644
index 77116b671550..
--- a/media-libs/babl/babl-0.1.98.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-VALA_USE_DEPEND=vapigen
-
-inherit meson gnome2-utils vala
-
-if [[ ${PV} == 

[gentoo-commits] repo/gentoo:master commit in: media-gfx/gimp/

2024-04-13 Thread Sam James
commit: d3953df84d0df91328c61ef319c397ab69fd3539
Author: Sergey Torokhov  yandex  ru>
AuthorDate: Sat Apr 13 06:37:27 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 14 00:42:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3953df8

media-gfx/gimp: drop old 2.99.16 dev-preview version

Signed-off-by: Sergey Torokhov  yandex.ru>
Signed-off-by: Sam James  gentoo.org>

 media-gfx/gimp/Manifest|   1 -
 media-gfx/gimp/gimp-2.99.16.ebuild | 259 -
 2 files changed, 260 deletions(-)

diff --git a/media-gfx/gimp/Manifest b/media-gfx/gimp/Manifest
index 58751bcde9e4..b5ca0b16e48e 100644
--- a/media-gfx/gimp/Manifest
+++ b/media-gfx/gimp/Manifest
@@ -1,4 +1,3 @@
 DIST gimp-2.10.34.tar.bz2 31405329 BLAKE2B 
0b2d3a81abf89684bb90e2101896db3479a25c5da76738543dba8d0378e64608eee9aeb24888e15f5e347f72fa1df3e9b82aa27e503ee61d1c4d45d44fa7bddc
 SHA512 
4802ce3758daba868570f1ac97a3f1cb41e1130fcc6376f9bf4c999441f8fd25937aa71b6f726d82d7c780f4153b11d2595bb76bc2356a42266909fbcc0bd34a
 DIST gimp-2.10.36.tar.bz2 31532334 BLAKE2B 
d033cd1407df3399b5968b7e3f7838d288143080b516476a5dd46599b6a84ac2efca591521368cef7a1c3d9935b45ed3262fb469e1ae36ccf60a1199f5cfa44d
 SHA512 
dbe6152ea6ff99cca59bbf2c88a64fb4ff6b529d98ace7723eadf5dfb0e10d9cbaf2de1e0d5251e9ecf9abca73da9ae1a501f229997802fd4077fb9594f4ba66
-DIST gimp-2.99.16.tar.xz 24969172 BLAKE2B 
45050c0e45e7c9e64ee92ac9b3985c05f528205f74f442979dee8b326f41b35de403a2de93edad090dd87987ef446531e01a67ca857ef03403414fc9ac1464dd
 SHA512 
b0da0529b000a7309c9d601977518cd19a7bf50ab41952fa36b83c027042d6901c39d0a6870c16e8a8ad3318207c93d34ee3d50d0e5f35bcabeaa17d91e060ee
 DIST gimp-2.99.18.tar.xz 25418968 BLAKE2B 
ccb76bb5c375925d4d71505f3e1546f05ba0e20533859b1b6250a4d9054efb6bec4927a5e0c525272fa24d5a6bdf4fb7881d60a1d34b1210ee38b90e661ef707
 SHA512 
151ccd0322601e76ed0198b40832ab0b6c138428f2e75806dd558e29c9b3437d9226a243142bf4a86113fa5ea4f5965b99cf7cd0ab0ecb7bdfc48036de35a9c6

diff --git a/media-gfx/gimp/gimp-2.99.16.ebuild 
b/media-gfx/gimp/gimp-2.99.16.ebuild
deleted file mode 100644
index f23dc09414c1..
--- a/media-gfx/gimp/gimp-2.99.16.ebuild
+++ /dev/null
@@ -1,259 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( luajit )
-PYTHON_COMPAT=( python3_{10..11} )
-VALA_USE_DEPEND=vapigen
-
-inherit lua-single meson python-single-r1 vala xdg
-
-DESCRIPTION="GNU Image Manipulation Program"
-HOMEPAGE="https://www.gimp.org/;
-SRC_URI="mirror://gimp/v$(ver_cut 1-2)/${P}.tar.xz"
-
-LICENSE="GPL-3+ LGPL-3+"
-SLOT="0/3"
-
-IUSE="X aalib alsa doc gnome heif javascript jpeg2k jpegxl lua mng openexr 
postscript python test udev unwind vala vector-icons webp wmf xpm"
-REQUIRED_USE="
-   lua? ( ${LUA_REQUIRED_USE} )
-   python? ( ${PYTHON_REQUIRED_USE} )
-"
-
-RESTRICT="!test? ( test )"
-
-# media-libs/{babl,gegl} are required to be built with USE="introspection"
-# to fix the compilation checking of 
/usr/share/gir-1.0/{Babl-0.1gir,Gegl-0.4.gir}
-COMMON_DEPEND="
-   >=app-accessibility/at-spi2-core-2.46.0
-   >=app-text/poppler-0.90.1[cairo]
-   >=app-text/poppler-data-0.4.9
-   >=dev-libs/appstream-glib-0.7.16
-   >=dev-libs/glib-2.70.0:2
-   >=dev-libs/json-glib-1.4.4
-   dev-libs/libxml2:2
-   dev-libs/libxslt
-   >=gnome-base/librsvg-2.40.21:2
-   >=media-gfx/mypaint-brushes-2.0.2:=
-   >=media-libs/babl-0.1.98[introspection,lcms,vala?]
-   >=media-libs/fontconfig-2.12.6
-   >=media-libs/freetype-2.10.2
-   >=media-libs/gegl-0.4.46:0.4[cairo,introspection,lcms,vala?]
-   >=media-libs/gexiv2-0.14.0
-   >=media-libs/harfbuzz-2.6.5:=
-   >=media-libs/lcms-2.13.1:2
-   media-libs/libjpeg-turbo:=
-   >=media-libs/libmypaint-1.6.1:=
-   >=media-libs/libpng-1.6.37:0=
-   >=media-libs/tiff-4.1.0:=
-   net-libs/glib-networking[ssl]
-   sys-libs/zlib
-   >=x11-libs/cairo-1.16.0
-   >=x11-libs/gdk-pixbuf-2.40.0:2[introspection]
-   >=x11-libs/gtk+-3.24.16:3[introspection]
-   >=x11-libs/pango-1.44.7
-   >=x11-libs/libXmu-1.1.4
-   aalib? ( media-libs/aalib )
-   alsa? ( >=media-libs/alsa-lib-1.0.0 )
-   heif? ( >=media-libs/libheif-1.13.0:= )
-   javascript? ( dev-libs/gjs )
-   jpeg2k? ( >=media-libs/openjpeg-2.3.1:2= )
-   jpegxl? ( >=media-libs/libjxl-0.6.1:= )
-   lua? (
-   ${LUA_DEPS}
-   $(lua_gen_cond_dep '
-   dev-lua/lgi[${LUA_USEDEP}]
-   ')
-   )
-   mng? ( media-libs/libmng:= )
-   openexr? ( >=media-libs/openexr-2.3.0:= )
-   postscript? ( app-text/ghostscript-gpl:= )
-   python? (
-   ${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   >=dev-python/pygobject-3.0:3[${PYTHON_USEDEP}]
-   ')
-   )
-   udev? ( 

[gentoo-commits] repo/gentoo:master commit in: app-emulation/libvirt/, app-emulation/libvirt/files/

2024-04-13 Thread Sam James
commit: 3c32491d0bcded18663dd976934ad5c10b29d4c2
Author: Michal Privoznik  gmail  com>
AuthorDate: Sat Apr 13 18:53:12 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 14 00:41:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c32491d

app-emulation/libvirt: Backport fix for CVE-2024-2494

The fix made it into app-emulation/libvirt-10.2.0 release.
Backport the fix into anything older.

https://nvd.nist.gov/vuln/detail/CVE-2024-2494

Bug: https://bugs.gentoo.org/929966
Signed-off-by: Michal Privoznik  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/36242
Signed-off-by: Sam James  gentoo.org>

 ...k-for-negative-array-lengths-before-alloc.patch | 222 +
 ...t-10.0.0-r1.ebuild => libvirt-10.0.0-r2.ebuild} |   1 +
 ...virt-10.1.0.ebuild => libvirt-10.1.0-r1.ebuild} |   1 +
 ...irt-9.8.0-r1.ebuild => libvirt-9.8.0-r2.ebuild} |   1 +
 ...irt-9.9.0-r1.ebuild => libvirt-9.9.0-r2.ebuild} |   1 +
 5 files changed, 226 insertions(+)

diff --git 
a/app-emulation/libvirt/files/libvirt-10.2.0-remote-check-for-negative-array-lengths-before-alloc.patch
 
b/app-emulation/libvirt/files/libvirt-10.2.0-remote-check-for-negative-array-lengths-before-alloc.patch
new file mode 100644
index ..3e0426634f42
--- /dev/null
+++ 
b/app-emulation/libvirt/files/libvirt-10.2.0-remote-check-for-negative-array-lengths-before-alloc.patch
@@ -0,0 +1,222 @@
+From 10fa5f6ba64b354b99b0f7b372e66e45bb4d9379 Mon Sep 17 00:00:00 2001
+Message-ID: 
<10fa5f6ba64b354b99b0f7b372e66e45bb4d9379.1713033988.git.mpriv...@redhat.com>
+In-Reply-To: 
<2127032ed8cd49001465dc0dce9f842e13467bc2.1713033988.git.mpriv...@redhat.com>
+References: 
<2127032ed8cd49001465dc0dce9f842e13467bc2.1713033988.git.mpriv...@redhat.com>
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= 
+Date: Fri, 15 Mar 2024 10:47:50 +
+Subject: [PATCH 2/2] remote: check for negative array lengths before
+ allocation
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+While the C API entry points will validate non-negative lengths
+for various parameters, the RPC server de-serialization code
+will need to allocate memory for arrays before entering the C
+API. These allocations will thus happen before the non-negative
+length check is performed.
+
+Passing a negative length to the g_new0 function will usually
+result in a crash due to the negative length being treated as
+a huge positive number.
+
+This was found and diagnosed by ALT Linux Team with AFLplusplus.
+
+CVE-2024-2494
+Reviewed-by: Michal Privoznik 
+Found-by: Alexandr Shashkin 
+Co-developed-by: Alexander Kuznetsov 
+Signed-off-by: Daniel P. Berrangé 
+(cherry picked from commit 8a3f8d957507c1f8223fdcf25a3ff885b15557f2)
+Signed-off-by: Michal Privoznik 
+---
+ src/remote/remote_daemon_dispatch.c | 65 +
+ src/rpc/gendispatch.pl  |  5 +++
+ 2 files changed, 70 insertions(+)
+
+diff --git a/src/remote/remote_daemon_dispatch.c 
b/src/remote/remote_daemon_dispatch.c
+index 7daf503b51..7542caa952 100644
+--- a/src/remote/remote_daemon_dispatch.c
 b/src/remote/remote_daemon_dispatch.c
+@@ -2291,6 +2291,10 @@ remoteDispatchDomainGetSchedulerParameters(virNetServer 
*server G_GNUC_UNUSED,
+ if (!conn)
+ goto cleanup;
+ 
++if (args->nparams < 0) {
++virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _("nparams must be 
non-negative"));
++goto cleanup;
++}
+ if (args->nparams > REMOTE_DOMAIN_SCHEDULER_PARAMETERS_MAX) {
+ virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _("nparams too large"));
+ goto cleanup;
+@@ -2339,6 +2343,10 @@ 
remoteDispatchDomainGetSchedulerParametersFlags(virNetServer *server G_GNUC_UNUS
+ if (!conn)
+ goto cleanup;
+ 
++if (args->nparams < 0) {
++virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _("nparams must be 
non-negative"));
++goto cleanup;
++}
+ if (args->nparams > REMOTE_DOMAIN_SCHEDULER_PARAMETERS_MAX) {
+ virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _("nparams too large"));
+ goto cleanup;
+@@ -2497,6 +2505,10 @@ remoteDispatchDomainBlockStatsFlags(virNetServer 
*server G_GNUC_UNUSED,
+ goto cleanup;
+ flags = args->flags;
+ 
++if (args->nparams < 0) {
++virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _("nparams must be 
non-negative"));
++goto cleanup;
++}
+ if (args->nparams > REMOTE_DOMAIN_BLOCK_STATS_PARAMETERS_MAX) {
+ virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _("nparams too large"));
+ goto cleanup;
+@@ -2717,6 +2729,14 @@ remoteDispatchDomainGetVcpuPinInfo(virNetServer *server 
G_GNUC_UNUSED,
+ if (!(dom = get_nonnull_domain(conn, args->dom)))
+ goto cleanup;
+ 
++if (args->ncpumaps < 0) {
++virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _("ncpumaps must be 
non-negative"));
++goto cleanup;
++}
++if (args->maplen < 0) {
++

[gentoo-commits] repo/gentoo:master commit in: media-gfx/gimp/

2024-04-13 Thread Sam James
commit: f6dc1d7623523c4e9ba7d062521db041834164aa
Author: Sergey Torokhov  yandex  ru>
AuthorDate: Sat Apr 13 06:34:14 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 14 00:42:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6dc1d76

media-gfx/gimp: , fix moving data in new directory

Closes: https://bugs.gentoo.org/928557

Signed-off-by: Sergey Torokhov  yandex.ru>
Signed-off-by: Sam James  gentoo.org>

 media-gfx/gimp/gimp-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/gimp/gimp-.ebuild b/media-gfx/gimp/gimp-.ebuild
index c07ce3787a40..f320108fe6ce 100644
--- a/media-gfx/gimp/gimp-.ebuild
+++ b/media-gfx/gimp/gimp-.ebuild
@@ -139,7 +139,7 @@ src_prepare() {
sed -i -e 's/@PYTHON_PATH@/'${EPYTHON}'/' 
plug-ins/python/pygimp.interp.in || die
 
# Set proper intallation path of documentation logo
-   sed -i -e "s/'gimp-@0@'.format(gimp_app_version)/'gimp-${PVR}'/" 
data/images/meson.build || die
+   sed -i -e "s/'gimp-@0@'.format(gimp_app_version)/'gimp-${PVR}'/" 
gimp-data/images/logo/meson.build || die
 }
 
 _adjust_sandbox() {



[gentoo-commits] repo/gentoo:master commit in: media-gfx/gimp/

2024-04-13 Thread Sam James
commit: d11946331606d881d5cb0591f2d99210a0bf5aa5
Author: Sergey Torokhov  yandex  ru>
AuthorDate: Sat Apr 13 21:05:23 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 14 00:42:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1194633

media-gfx/gimp: drop old 2.10.34-r1, 2.10.36-r1

Signed-off-by: Sergey Torokhov  yandex.ru>
Signed-off-by: Sam James  gentoo.org>

 media-gfx/gimp/gimp-2.10.34-r1.ebuild | 213 -
 media-gfx/gimp/gimp-2.10.36-r1.ebuild | 215 --
 2 files changed, 428 deletions(-)

diff --git a/media-gfx/gimp/gimp-2.10.34-r1.ebuild 
b/media-gfx/gimp/gimp-2.10.34-r1.ebuild
deleted file mode 100644
index bbf53b003d80..
--- a/media-gfx/gimp/gimp-2.10.34-r1.ebuild
+++ /dev/null
@@ -1,213 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-GNOME2_EAUTORECONF=yes
-WANT_AUTOMAKE=
-
-inherit autotools gnome2 toolchain-funcs virtualx
-
-DESCRIPTION="GNU Image Manipulation Program"
-HOMEPAGE="https://www.gimp.org/;
-SRC_URI="mirror://gimp/v$(ver_cut 1-2)/${P}.tar.bz2"
-LICENSE="GPL-3+ LGPL-3+"
-SLOT="0/2"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv x86"
-
-IUSE="aalib alsa aqua debug doc gnome heif jpeg2k jpegxl mng openexr 
postscript udev unwind vector-icons webp wmf xpm cpu_flags_ppc_altivec 
cpu_flags_x86_mmx cpu_flags_x86_sse"
-
-RESTRICT="!test? ( test )"
-
-COMMON_DEPEND="
-   >=app-accessibility/at-spi2-core-2.46.0
-   >=app-text/poppler-0.50[cairo]
-   >=app-text/poppler-data-0.4.7
-   >=dev-libs/glib-2.56.2:2
-   >=dev-libs/json-glib-1.2.6
-   dev-libs/libxml2:2
-   dev-libs/libxslt
-   >=gnome-base/librsvg-2.40.6:2
-   >=media-gfx/mypaint-brushes-2.0.2:=
-   >=media-libs/babl-0.1.98
-   >=media-libs/fontconfig-2.12.4
-   >=media-libs/freetype-2.1.7
-   >=media-libs/gegl-0.4.40:0.4[cairo]
-   >=media-libs/gexiv2-0.10.6
-   >=media-libs/harfbuzz-0.9.19:=
-   >=media-libs/lcms-2.8:2
-   media-libs/libjpeg-turbo:=
-   >=media-libs/libmypaint-1.6.1:=
-   >=media-libs/libpng-1.6.25:0=
-   >=media-libs/tiff-3.5.7:=
-   net-libs/glib-networking[ssl]
-   sys-libs/zlib
-   >=x11-libs/cairo-1.12.2
-   >=x11-libs/gdk-pixbuf-2.31:2
-   >=x11-libs/gtk+-2.24.32:2
-   x11-libs/libXcursor
-   >=x11-libs/pango-1.29.4
-   aalib? ( media-libs/aalib )
-   alsa? ( >=media-libs/alsa-lib-1.0.0 )
-   aqua? ( >=x11-libs/gtk-mac-integration-2.0.0 )
-   heif? ( >=media-libs/libheif-1.9.1:= )
-   jpeg2k? ( >=media-libs/openjpeg-2.1.0:2= )
-   jpegxl? ( >=media-libs/libjxl-0.7.0:= )
-   mng? ( media-libs/libmng:= )
-   openexr? ( >=media-libs/openexr-1.6.1:= )
-   postscript? ( app-text/ghostscript-gpl:= )
-   udev? ( dev-libs/libgudev:= )
-   unwind? ( >=sys-libs/libunwind-1.1.0:= )
-   webp? ( >=media-libs/libwebp-0.6.0:= )
-   wmf? ( >=media-libs/libwmf-0.2.8 )
-   xpm? ( x11-libs/libXpm )
-"
-
-RDEPEND="
-   ${COMMON_DEPEND}
-   x11-themes/hicolor-icon-theme
-   gnome? ( gnome-base/gvfs )
-"
-
-DEPEND="
-   ${COMMON_DEPEND}
-   >=dev-lang/perl-5.10.0
-   dev-libs/appstream-glib
-   >=dev-build/gtk-doc-am-1
-   dev-util/gtk-update-icon-cache
-   >=dev-util/intltool-0.40.1
-   >=sys-devel/gettext-0.19
-   >=dev-build/libtool-2.2
-   virtual/pkgconfig
-"
-
-DOCS=( "AUTHORS" "ChangeLog" "HACKING" "NEWS" "README" "README.i18n" )
-
-PATCHES=(
-   "${FILESDIR}/${PN}-2.10_fix_test-appdata.patch" # Bugs 685210 (and 
duplicate 691070)
-)
-
-src_prepare() {
-   sed -i -e 's/mypaint-brushes-1.0/mypaint-brushes-2.0/' configure.ac || 
die #737794
-
-   sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864
-   sed 's:-DGIMP_DISABLE_DEPRECATED:-DGIMP_protect_DISABLE_DEPRECATED:g' 
-i configure.ac || die #615144
-
-   gnome2_src_prepare  # calls eautoreconf
-
-   sed 's:-DGIMP_protect_DISABLE_DEPRECATED:-DGIMP_DISABLE_DEPRECATED:g' 
-i configure || die #615144
-   grep -F -q GIMP_DISABLE_DEPRECATED configure || die #615144, self-test
-
-   export CC_FOR_BUILD="$(tc-getBUILD_CC)"
-}
-
-_adjust_sandbox() {
-   # Bugs #569738 and #591214
-   local nv
-   for nv in /dev/nvidia-uvm /dev/nvidiactl /dev/nvidia{0..9} ; do
-   # We do not check for existence as they may show up later
-   # https://bugs.gentoo.org/show_bug.cgi?id=569738#c21
-   addwrite "${nv}"
-   done
-
-   addwrite /dev/dri/  # bugs #574038 and #684886
-   addwrite /dev/ati/  # bug #589198
-   addwrite /proc/mtrr  # bug #589198
-}
-
-src_configure() {
-   _adjust_sandbox
-
-   local myconf=(
-   GEGL="${EPREFIX}"/usr/bin/gegl-0.4
-   GDBUS_CODEGEN="${EPREFIX}"/bin/false
-
-   

[gentoo-commits] repo/gentoo:master commit in: app-emulation/libvirt/, app-emulation/libvirt/files/

2024-04-13 Thread Sam James
commit: ae3831574e5c8344213c231e4b03acbb899f7fec
Author: Michal Privoznik  gmail  com>
AuthorDate: Sat Apr 13 18:49:27 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 14 00:41:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae383157

app-emulation/libvirt: Backport fix for CVE-2024-1441

The fix made it into app-emulation/libvirt-10.1.0 release.
Backport the fix into anything older.

https://nvd.nist.gov/vuln/detail/CVE-2024-1441

Bug: https://bugs.gentoo.org/929965
Signed-off-by: Michal Privoznik  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 ...y-one-error-in-udevListInterfacesByStatus.patch | 42 ++
 app-emulation/libvirt/libvirt-10.0.0-r1.ebuild |  1 +
 app-emulation/libvirt/libvirt-9.8.0-r1.ebuild  |  1 +
 app-emulation/libvirt/libvirt-9.9.0-r1.ebuild  |  1 +
 4 files changed, 45 insertions(+)

diff --git 
a/app-emulation/libvirt/files/libvirt-10.1.0-Fix-off-by-one-error-in-udevListInterfacesByStatus.patch
 
b/app-emulation/libvirt/files/libvirt-10.1.0-Fix-off-by-one-error-in-udevListInterfacesByStatus.patch
new file mode 100644
index ..7ef0652faa38
--- /dev/null
+++ 
b/app-emulation/libvirt/files/libvirt-10.1.0-Fix-off-by-one-error-in-udevListInterfacesByStatus.patch
@@ -0,0 +1,42 @@
+From 2127032ed8cd49001465dc0dce9f842e13467bc2 Mon Sep 17 00:00:00 2001
+Message-ID: 
<2127032ed8cd49001465dc0dce9f842e13467bc2.1713033988.git.mpriv...@redhat.com>
+From: Martin Kletzander 
+Date: Tue, 27 Feb 2024 16:20:12 +0100
+Subject: [PATCH 1/2] Fix off-by-one error in udevListInterfacesByStatus
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Ever since this function was introduced in 2012 it could've tried
+filling in an extra interface name.  That was made worse in 2019 when
+the caller functions started accepting NULL arrays of size 0.
+
+This is assigned CVE-2024-1441.
+
+Signed-off-by: Martin Kletzander 
+Reported-by: Alexander Kuznetsov 
+Fixes: 5a33366f5c0b18c93d161bd144f9f079de4ac8ca
+Fixes: d6064e2759a24e0802f363e3a810dc5a7d7ebb15
+Reviewed-by: Ján Tomko 
+(cherry picked from commit c664015fe3a7bf59db26686e9ed69af011c6ebb8)
+Signed-off-by: Michal Privoznik 
+---
+ src/interface/interface_backend_udev.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/interface/interface_backend_udev.c 
b/src/interface/interface_backend_udev.c
+index fb6799ed94..4091483060 100644
+--- a/src/interface/interface_backend_udev.c
 b/src/interface/interface_backend_udev.c
+@@ -222,7 +222,7 @@ udevListInterfacesByStatus(virConnectPtr conn,
+ g_autoptr(virInterfaceDef) def = NULL;
+ 
+ /* Ensure we won't exceed the size of our array */
+-if (count > names_len)
++if (count >= names_len)
+ break;
+ 
+ path = udev_list_entry_get_name(dev_entry);
+-- 
+2.43.2
+

diff --git a/app-emulation/libvirt/libvirt-10.0.0-r1.ebuild 
b/app-emulation/libvirt/libvirt-10.0.0-r1.ebuild
index 42348cdc1536..0f5860138006 100644
--- a/app-emulation/libvirt/libvirt-10.0.0-r1.ebuild
+++ b/app-emulation/libvirt/libvirt-10.0.0-r1.ebuild
@@ -147,6 +147,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-9.4.0-fix_paths_in_libvirt-guests_sh.patch
"${FILESDIR}"/${PN}-9.9.0-do-not-use-sysconfig.patch
"${FILESDIR}"/${PN}-9.6.0-fix-paths-for-apparmor.patch
+   
"${FILESDIR}"/${PN}-10.1.0-Fix-off-by-one-error-in-udevListInterfacesByStatus.patch
 )
 
 pkg_setup() {

diff --git a/app-emulation/libvirt/libvirt-9.8.0-r1.ebuild 
b/app-emulation/libvirt/libvirt-9.8.0-r1.ebuild
index 622d6a793d16..899d7683f299 100644
--- a/app-emulation/libvirt/libvirt-9.8.0-r1.ebuild
+++ b/app-emulation/libvirt/libvirt-9.8.0-r1.ebuild
@@ -147,6 +147,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-9.4.0-do-not-use-sysconfig.patch
"${FILESDIR}"/${PN}-9.6.0-fix-paths-for-apparmor.patch

"${FILESDIR}"/${PN}-9.10.0-virxml-include-libxml-xmlsave.h-for-xmlIndentTreeOut.patch
+   
"${FILESDIR}"/${PN}-10.1.0-Fix-off-by-one-error-in-udevListInterfacesByStatus.patch
 )
 
 pkg_setup() {

diff --git a/app-emulation/libvirt/libvirt-9.9.0-r1.ebuild 
b/app-emulation/libvirt/libvirt-9.9.0-r1.ebuild
index 8b1148307051..8f39ada3c36b 100644
--- a/app-emulation/libvirt/libvirt-9.9.0-r1.ebuild
+++ b/app-emulation/libvirt/libvirt-9.9.0-r1.ebuild
@@ -148,6 +148,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-9.9.0-do-not-use-sysconfig.patch
"${FILESDIR}"/${PN}-9.6.0-fix-paths-for-apparmor.patch

"${FILESDIR}"/${PN}-9.10.0-virxml-include-libxml-xmlsave.h-for-xmlIndentTreeOut.patch
+   
"${FILESDIR}"/${PN}-10.1.0-Fix-off-by-one-error-in-udevListInterfacesByStatus.patch
 )
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: media-libs/t1lib/, media-libs/t1lib/files/

2024-04-13 Thread Sam James
commit: 5d09ae33251f4762aae22d3683d47e2cde204efd
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 14 00:35:25 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 14 00:35:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d09ae33

media-libs/t1lib: fix Modern C issues

Closes: https://bugs.gentoo.org/870901
Closes: https://bugs.gentoo.org/899838
Signed-off-by: Sam James  gentoo.org>

 .../t1lib/files/t1lib-5.1.2-c99-configure.patch| 10 ++
 media-libs/t1lib/files/t1lib-5.1.2-c99.patch   | 15 ++
 ...t1lib-5.1.2-r4.ebuild => t1lib-5.1.2-r5.ebuild} | 23 --
 3 files changed, 42 insertions(+), 6 deletions(-)

diff --git a/media-libs/t1lib/files/t1lib-5.1.2-c99-configure.patch 
b/media-libs/t1lib/files/t1lib-5.1.2-c99-configure.patch
new file mode 100644
index ..62a4df22a537
--- /dev/null
+++ b/media-libs/t1lib/files/t1lib-5.1.2-c99-configure.patch
@@ -0,0 +1,10 @@
+--- a/configure.in
 b/configure.in
+@@ -144,6 +144,7 @@ dnl We don'use
+   CFLAGS="$CFLAGS"
+   AC_CACHE_CHECK( "for gcc strength-reduce bug", ac_cv_c_gcc_strength_bug,
+   AC_TRY_RUN([
++#include 
+ int main(void) {
+   static int Array[[3]];
+   unsigned int B = 3;

diff --git a/media-libs/t1lib/files/t1lib-5.1.2-c99.patch 
b/media-libs/t1lib/files/t1lib-5.1.2-c99.patch
new file mode 100644
index ..d1d3301fcc62
--- /dev/null
+++ b/media-libs/t1lib/files/t1lib-5.1.2-c99.patch
@@ -0,0 +1,15 @@
+https://src.fedoraproject.org/rpms/t1lib/blob/rawhide/f/t1lib-c99.patch
+
+Add missing parameter types for improved C99 compatibility: implicit
+ints are not part of C99.
+
+--- a/lib/type1/regions.c
 b/lib/type1/regions.c
+@@ -604,6 +604,7 @@
+register struct region *R;  /* region in which we are changing 
direction */
+fractpel x,y; /* current beginning x,y
*/
+fractpel dy;  /* direction and magnitude of change in y   
*/
++   int x2, y2;
+ {
+register fractpel ymin,ymax;  /* minimum and maximum Y since last call 
*/
+register fractpel x_at_ymin,x_at_ymax;  /* their respective X's   
*/

diff --git a/media-libs/t1lib/t1lib-5.1.2-r4.ebuild 
b/media-libs/t1lib/t1lib-5.1.2-r5.ebuild
similarity index 83%
rename from media-libs/t1lib/t1lib-5.1.2-r4.ebuild
rename to media-libs/t1lib/t1lib-5.1.2-r5.ebuild
index c9f251b91a39..2ccee89b20ac 100644
--- a/media-libs/t1lib/t1lib-5.1.2-r4.ebuild
+++ b/media-libs/t1lib/t1lib-5.1.2-r5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit flag-o-matic libtool toolchain-funcs
+inherit autotools flag-o-matic libtool toolchain-funcs
 
 DESCRIPTION="Type 1 Font Rasterizer Library for UNIX/X11"
 HOMEPAGE="https://www.t1lib.org/;
@@ -14,14 +14,18 @@ SLOT="5"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x64-solaris"
 IUSE="X doc static-libs"
 
-RDEPEND="X? (
+RDEPEND="
+   X? (
x11-libs/libXaw
x11-libs/libX11
x11-libs/libXt
-   )"
-DEPEND="${RDEPEND}
+   )
+"
+DEPEND="
+   ${RDEPEND}
doc? ( virtual/latex-base )
-   X? ( x11-base/xorg-proto )"
+   X? ( x11-base/xorg-proto )
+"
 
 PATCHES=(
"${FILESDIR}"/${PN}-5.1.1-parallel.patch
@@ -30,6 +34,8 @@ PATCHES=(
"${FILESDIR}"/${PN}-5.1.2-CVE-2010-2642_2011-0433_2011-5244.patch
"${FILESDIR}"/${PN}-5.1.2-CVE-2011-0764.patch
"${FILESDIR}"/${PN}-5.1.2-CVE-2011-1552_1553_1554.patch
+   "${FILESDIR}"/${PN}-5.1.2-c99.patch
+   "${FILESDIR}"/${PN}-5.1.2-c99-configure.patch
 )
 
 src_prepare() {
@@ -37,11 +43,16 @@ src_prepare() {
 
sed -i -e "s:dvips:#dvips:" "${S}"/doc/Makefile.in || die
sed -i -e "s:\./\(t1lib\.config\):/etc/t1lib/\1:" 
"${S}"/xglyph/xglyph.c || die
-   # Needed for sane .so versionning on fbsd. Please don't drop.
+
+   eautoconf
+   # Needed for sane .so versioning on fbsd. Please don't drop.
elibtoolize
 }
 
 src_configure() {
+   # lto-type-mismatch
+   filter-lto
+
econf \
--datadir="${EPREFIX}/etc" \
$(use_enable static-libs static) \



[gentoo-commits] repo/proj/guru:dev commit in: net-libs/dpdk/

2024-04-13 Thread Julien Roy
commit: a64bef5cd781542a5a59494e7ac541b16fbdecaf
Author: Julien Roy  jroy  ca>
AuthorDate: Sun Apr 14 00:29:29 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sun Apr 14 00:29:29 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a64bef5c

net-libs/dpdk: drop 21.11.1-r1, 22.07-r1

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

 net-libs/dpdk/Manifest   |  2 --
 net-libs/dpdk/dpdk-21.11.1-r1.ebuild | 66 --
 net-libs/dpdk/dpdk-22.07-r1.ebuild   | 70 
 3 files changed, 138 deletions(-)

diff --git a/net-libs/dpdk/Manifest b/net-libs/dpdk/Manifest
index f303cab390..854ac6336e 100644
--- a/net-libs/dpdk/Manifest
+++ b/net-libs/dpdk/Manifest
@@ -1,3 +1 @@
-DIST dpdk-21.11.1.tar.xz 15115156 BLAKE2B 
089e98279922b5494b205d957f9ac05001a668f4536d45e5fd89b9f7d04779e0671ec428b2408963641da3ae999d5943a1ff5dc59c23020ccefce824609c8f11
 SHA512 
d7afc0c918626b1706a18a129086fcd3741b251c28fa00c5711eb85a03137e5ee6e08de7bd5ebe957e442dc9b901314042b382b223e74f0fdd5d560ac657f1b3
-DIST dpdk-22.07.tar.xz 15231912 BLAKE2B 
29e36519fb91d440645259932863b5fb6c2386f78d9ba78a871505d7d32e9f4803012aa62044aa578585eee4507aa1c277bda6ec0428a27820faef644f5bfd79
 SHA512 
8b2adb8a47732efca4e35a68ab03d6c579fc0f699344c0c10be45e62c90d412ebea5ddc37a26efd08a9af08e65c84de177817300a66e6107674f15ecfe3e696c
 DIST dpdk-23.03.tar.xz 15816416 BLAKE2B 
bfcd533039a765683458a784ee3827836ceca245cfd2108f807b6d8bfb3139a2d30eceb9167131b96c18e3b4d6b640b6c79a20e5f1ec4cfca54e481087f965d4
 SHA512 
c879ad1d84200af3233d8d717b25121e8a9906cd9f2908411e9e6044f388d7f60046427873e592bb922fd603da400ea680d2338a707809ca54bd5f5c944d945d

diff --git a/net-libs/dpdk/dpdk-21.11.1-r1.ebuild 
b/net-libs/dpdk/dpdk-21.11.1-r1.ebuild
deleted file mode 100644
index 1e63ee79f6..00
--- a/net-libs/dpdk/dpdk-21.11.1-r1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 2021-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_10 )
-inherit python-single-r1 meson
-
-DESCRIPTION="Data Plane Development Kit libraries for fast userspace 
networking"
-HOMEPAGE="https://dpdk.org/;
-SRC_URI="https://fast.dpdk.org/rel/${P}.tar.xz;
-S="${WORKDIR}/dpdk-stable-${PV}"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-# tests require rte_kni module to be loaded
-# and also needs network and /dev access
-# and need to be run as root
-RESTRICT="test"
-
-DEPEND="${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   dev-python/pyelftools[${PYTHON_USEDEP}]
-   ')
-   ~sys-kernel/dpdk-kmod-${PV}[${PYTHON_SINGLE_USEDEP}]
-   app-arch/libarchive
-   app-crypt/intel-ipsec-mb
-   dev-libs/elfutils
-   dev-libs/isa-l
-   dev-libs/jansson
-   dev-libs/libbpf
-   dev-libs/libbsd
-   dev-libs/openssl
-   net-libs/libmnl
-   net-libs/libpcap
-   sys-apps/dtc
-   sys-cluster/rdma-core
-   sys-process/numactl
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
-   dev-lang/nasm
-"
-
-PATCHES=( "${FILESDIR}/dpdk-21.11.1-static_linker.patch" )
-
-src_configure() {
-   python-single-r1_pkg_setup
-   local emesonargs=(
-   -Denable_kmods=false
-   -Dplatform=generic
-   $(meson_use test tests)
-   )
-   meson_src_configure
-}
-
-src_install() {
-   meson_src_install
-   local pyfiles=( "${ED}"/usr/bin/*.py )
-   for pyfile in "${pyfiles[@]}"; do
-   python_fix_shebang "${pyfile}"
-   done
-}

diff --git a/net-libs/dpdk/dpdk-22.07-r1.ebuild 
b/net-libs/dpdk/dpdk-22.07-r1.ebuild
deleted file mode 100644
index 9261b3cac1..00
--- a/net-libs/dpdk/dpdk-22.07-r1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 2021-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_10 )
-inherit python-single-r1 toolchain-funcs meson
-
-DESCRIPTION="Data Plane Development Kit libraries for fast userspace 
networking"
-HOMEPAGE="https://dpdk.org/;
-SRC_URI="https://fast.dpdk.org/rel/${P}.tar.xz;
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-# tests require rte_kni module to be loaded
-# and also needs network and /dev access
-# and need to be run as root
-RESTRICT="test"
-
-DEPEND="${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   dev-python/pyelftools[${PYTHON_USEDEP}]
-   ')
-   ~sys-kernel/dpdk-kmod-${PV}[${PYTHON_SINGLE_USEDEP}]
-   app-arch/libarchive
-   app-crypt/intel-ipsec-mb
-   dev-libs/elfutils
-   dev-libs/isa-l
-   dev-libs/jansson
-   dev-libs/libbpf
-   dev-libs/libbsd
-   dev-libs/openssl
-   net-libs/libmnl
-   net-libs/libpcap
-   sys-apps/dtc
-   sys-cluster/rdma-core
-   sys-process/numactl
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
-   

[gentoo-commits] repo/proj/guru:dev commit in: gnome-extra/portfolio/

2024-04-13 Thread Julien Roy
commit: 0e549e829085004ceca12f14b4681d56d67f86f3
Author: Julien Roy  jroy  ca>
AuthorDate: Sat Apr 13 22:28:30 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sat Apr 13 22:28:30 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0e549e82

gnome-extra/portfolio: enable py3.11, py3.12

Closes: https://bugs.gentoo.org/897616
Signed-off-by: Julien Roy  jroy.ca>

 gnome-extra/portfolio/portfolio-0.9.14.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnome-extra/portfolio/portfolio-0.9.14.ebuild 
b/gnome-extra/portfolio/portfolio-0.9.14.ebuild
index 3f675bc9b4..ddda9e684c 100644
--- a/gnome-extra/portfolio/portfolio-0.9.14.ebuild
+++ b/gnome-extra/portfolio/portfolio-0.9.14.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_10 )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit gnome2-utils meson python-single-r1 xdg
 



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

2024-04-13 Thread Julien Roy
commit: 8e5f87c8405a59520b93503d39463dc40a332ae4
Author: Julien Roy  jroy  ca>
AuthorDate: Sat Apr 13 23:09:35 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sat Apr 13 23:09:35 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8e5f87c8

dev-python/libusb1: update HOMEPAGE

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

 dev-python/libusb1/libusb1-2.0.1-r1.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-python/libusb1/libusb1-2.0.1-r1.ebuild 
b/dev-python/libusb1/libusb1-2.0.1-r1.ebuild
index 89d04b7cef..44ca74fd6d 100644
--- a/dev-python/libusb1/libusb1-2.0.1-r1.ebuild
+++ b/dev-python/libusb1/libusb1-2.0.1-r1.ebuild
@@ -9,7 +9,10 @@ DISTUTILS_USE_PEP517=setuptools
 inherit distutils-r1 pypi
 
 DESCRIPTION="Pure-python wrapper for libusb-1.0"
-HOMEPAGE="https://github.com/vpelletier/python-libusb1 
https://pypi.org/project/libusb1/;
+HOMEPAGE="
+   https://github.com/vpelletier/python-libusb1
+   https://pypi.org/project/libusb1/
+"
 
 LICENSE="LGPL-2.1+"
 SLOT="0"



[gentoo-commits] repo/proj/guru:dev commit in: sys-kernel/dpdk-kmod/

2024-04-13 Thread Julien Roy
commit: c9f38c05e5ea8f57b141bf46dbeba5d0bae1ac97
Author: Julien Roy  jroy  ca>
AuthorDate: Sun Apr 14 00:06:40 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sun Apr 14 00:10:05 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c9f38c05

sys-kernel/dpdk-kmod: drop 21.11.1, 22.07

Closes: https://bugs.gentoo.org/897668
Signed-off-by: Julien Roy  jroy.ca>

 sys-kernel/dpdk-kmod/Manifest |  2 -
 sys-kernel/dpdk-kmod/dpdk-kmod-21.11.1.ebuild | 78 
 sys-kernel/dpdk-kmod/dpdk-kmod-22.07.ebuild   | 86 ---
 3 files changed, 166 deletions(-)

diff --git a/sys-kernel/dpdk-kmod/Manifest b/sys-kernel/dpdk-kmod/Manifest
index f303cab390..854ac6336e 100644
--- a/sys-kernel/dpdk-kmod/Manifest
+++ b/sys-kernel/dpdk-kmod/Manifest
@@ -1,3 +1 @@
-DIST dpdk-21.11.1.tar.xz 15115156 BLAKE2B 
089e98279922b5494b205d957f9ac05001a668f4536d45e5fd89b9f7d04779e0671ec428b2408963641da3ae999d5943a1ff5dc59c23020ccefce824609c8f11
 SHA512 
d7afc0c918626b1706a18a129086fcd3741b251c28fa00c5711eb85a03137e5ee6e08de7bd5ebe957e442dc9b901314042b382b223e74f0fdd5d560ac657f1b3
-DIST dpdk-22.07.tar.xz 15231912 BLAKE2B 
29e36519fb91d440645259932863b5fb6c2386f78d9ba78a871505d7d32e9f4803012aa62044aa578585eee4507aa1c277bda6ec0428a27820faef644f5bfd79
 SHA512 
8b2adb8a47732efca4e35a68ab03d6c579fc0f699344c0c10be45e62c90d412ebea5ddc37a26efd08a9af08e65c84de177817300a66e6107674f15ecfe3e696c
 DIST dpdk-23.03.tar.xz 15816416 BLAKE2B 
bfcd533039a765683458a784ee3827836ceca245cfd2108f807b6d8bfb3139a2d30eceb9167131b96c18e3b4d6b640b6c79a20e5f1ec4cfca54e481087f965d4
 SHA512 
c879ad1d84200af3233d8d717b25121e8a9906cd9f2908411e9e6044f388d7f60046427873e592bb922fd603da400ea680d2338a707809ca54bd5f5c944d945d

diff --git a/sys-kernel/dpdk-kmod/dpdk-kmod-21.11.1.ebuild 
b/sys-kernel/dpdk-kmod/dpdk-kmod-21.11.1.ebuild
deleted file mode 100644
index da6109876b..00
--- a/sys-kernel/dpdk-kmod/dpdk-kmod-21.11.1.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 2021-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_10 )
-inherit linux-mod python-single-r1 meson
-
-DESCRIPTION="DPDK Kernel Nic Interface module"
-HOMEPAGE="https://dpdk.org/;
-SRC_URI="https://fast.dpdk.org/rel/dpdk-${PV}.tar.xz;
-S="${WORKDIR}/dpdk-stable-${PV}"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-# tests need root
-RESTRICT="test"
-
-RDEPEND="${PYTHON_DEPS}"
-
-DEPEND="${RDEPEND}
-   $(python_gen_cond_dep '
-   dev-python/pyelftools[${PYTHON_USEDEP}]
-   ')
-   app-crypt/intel-ipsec-mb
-   dev-libs/elfutils
-   dev-libs/isa-l
-   dev-libs/jansson
-   dev-libs/libbpf
-   dev-libs/libbsd
-   dev-libs/openssl
-   net-libs/libmnl
-   net-libs/libpcap
-   sys-apps/dtc
-   sys-cluster/rdma-core
-   sys-process/numactl
-"
-BDEPEND="
-   ${PYTHON_DEPS}
-"
-
-CONFIG_CHECK="~IOMMU_SUPPORT ~AMD_IOMMU ~VFIO ~VFIO_PCI ~UIO ~UIO_PDRV_GENIRQ 
~UIO_DMEM_GENIRQ ~HPET_MMAP"
-
-pkg_setup() {
-   linux-mod_pkg_setup
-   python-single-r1_pkg_setup
-}
-
-src_configure() {
-   linux-mod_pkg_setup
-   python-single-r1_pkg_setup
-   # we still have to do meson configuration as it creates
-   # header files needed for compiling the rte_kni module
-   local emesonargs=(
-   -Denable_kmods=false
-   -Dmachine=default
-   -Dplatform=generic
-   )
-   meson_src_configure
-
-   # export after meson_src_configure as BUILD_DIR is needed for module 
compilation
-   export MODULE_NAMES="rte_kni(extra/dpdk:${S}/kernel/linux/kni)"
-   export BUILD_PARAMS="-C \"${KERNEL_DIR}\" M=\"${S}\"/kernel/linux/kni \
-   src=\"${S}\"/kernel/linux/kni \
-   MODULE_CFLAGS=\"${HAVE_ARG_TX_QUEUE} -include 
${S}/config/rte_config.h -I${S}/lib/eal/include \
-   -I${S}/lib/kni -I${S}/kernel/linux/kni -I${BUILD_DIR} -I${S}\""
-   export BUILD_TARGETS="modules"
-}
-
-src_compile() {
-   linux-mod_src_compile
-}
-
-src_install() {
-   linux-mod_src_install
-}

diff --git a/sys-kernel/dpdk-kmod/dpdk-kmod-22.07.ebuild 
b/sys-kernel/dpdk-kmod/dpdk-kmod-22.07.ebuild
deleted file mode 100644
index b945400c27..00
--- a/sys-kernel/dpdk-kmod/dpdk-kmod-22.07.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 2021-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_10 )
-inherit linux-mod toolchain-funcs python-single-r1 meson
-
-DESCRIPTION="DPDK Kernel Nic Interface module"
-HOMEPAGE="https://dpdk.org/;
-SRC_URI="https://fast.dpdk.org/rel/dpdk-${PV}.tar.xz;
-S="${WORKDIR}/dpdk-${PV}"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-# tests need root
-RESTRICT="test"
-
-RDEPEND="${PYTHON_DEPS}"
-
-DEPEND="${RDEPEND}

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

2024-04-13 Thread Julien Roy
commit: b66bc458977f6d9ab0bb1e4637a9a68f486a3af4
Author: Julien Roy  jroy  ca>
AuthorDate: Sat Apr 13 23:33:02 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sat Apr 13 23:33:02 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b66bc458

dev-python/playsound: update DESCRIPTION, HOMEPAGE

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

 dev-python/playsound/playsound-1.3.0.ebuild | 15 +--
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/dev-python/playsound/playsound-1.3.0.ebuild 
b/dev-python/playsound/playsound-1.3.0.ebuild
index adfad3c27f..15fcb012ae 100644
--- a/dev-python/playsound/playsound-1.3.0.ebuild
+++ b/dev-python/playsound/playsound-1.3.0.ebuild
@@ -1,15 +1,18 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-PYTHON_COMPAT=( python3_10 pypy3 )
+
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
 inherit distutils-r1 pypi
 
-DESCRIPTION="Single function module with no dependencies for playing sounds."
-HOMEPAGE="https://pypi.org/project/playsound/ 
https://github.com/TaylorSMarks/playsound;
+DESCRIPTION="Single function module with no dependencies for playing sounds"
+HOMEPAGE="
+   https://pypi.org/project/playsound/
+   https://github.com/TaylorSMarks/playsound
+"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-
-DEPEND="${RDEPEND}"



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

2024-04-13 Thread Julien Roy
commit: 076e543d62f4095984f3321e59a0d10046f40869
Author: Julien Roy  jroy  ca>
AuthorDate: Sat Apr 13 23:07:43 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sat Apr 13 23:08:51 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=076e543d

dev-python/nkdfu: enable py3.11

Closes: https://bugs.gentoo.org/912677
Signed-off-by: Julien Roy  jroy.ca>

 dev-python/nkdfu/nkdfu-0.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/nkdfu/nkdfu-0.2.ebuild 
b/dev-python/nkdfu/nkdfu-0.2.ebuild
index 08b423d14b..a9bc987102 100644
--- a/dev-python/nkdfu/nkdfu-0.2.ebuild
+++ b/dev-python/nkdfu/nkdfu-0.2.ebuild
@@ -1,10 +1,10 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=flit
-PYTHON_COMPAT=( python3_10 )
+PYTHON_COMPAT=( python3_{10..11} )
 inherit distutils-r1
 
 DESCRIPTION="Python DFU tool for updating Nitrokeys' firmware"



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

2024-04-13 Thread Julien Roy
commit: bdac411320d96b08bebe958087cb648f9f2ffbff
Author: Julien Roy  jroy  ca>
AuthorDate: Sat Apr 13 23:03:07 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sat Apr 13 23:03:07 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bdac4113

dev-python/python-fire: add 0.6.0, drop 0.5.0

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

 dev-python/python-fire/Manifest |  2 +-
 ...ython-fire-0.5.0.ebuild => python-fire-0.6.0.ebuild} | 17 -
 2 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/dev-python/python-fire/Manifest b/dev-python/python-fire/Manifest
index 2cc94f3795..3be4f97051 100644
--- a/dev-python/python-fire/Manifest
+++ b/dev-python/python-fire/Manifest
@@ -1,2 +1,2 @@
+DIST fire-0.6.0.tar.gz 88439 BLAKE2B 
5eb8a7ec2e0f93bec50f0b6a03edfe9ec6040ca2f3a85a77875df752457281c7614874254db935dcd94c229af3fd6722088c43dae7664e99c3f09047f9d4453f
 SHA512 
491f224d31038494be2f40dd55e8713da20e4a20dc044ed1346deaeff69d65908ac754679b36ae1dbf42319c26cb30acc664a444f2d735d173971001447a9dd3
 DIST python-fire-0.4.0.tar.gz 104198 BLAKE2B 
1060931356753c00daa5c138234a8214c3662ae8aab54fa050488df89251be7cdf9846af46defd4fbeed817ca2cc1992e7978ad68579ad753749cdf3e9b6c011
 SHA512 
24473cae1cbaf01a6a07939fd77b8d26d97e5efb0bca349f65ed6a8bbf132167d74140b42030dcee0404945581d039230e0e8f8edb0bf8664e8e9f6555dfdeb5
-DIST python-fire-0.5.0.gh.tar.gz 105701 BLAKE2B 
25acb51c3a76ec14c82157edfa2f0ac4fd49a58f78a62c98f1680cd0817413088820c6db00c5062cee30ed9849696c890054bad214ddfe1d7c613b0c30d31d1e
 SHA512 
9d99b53d03568993f93f4742549b68c6a09668dec51fafc62b66b88cda123e055d0408b61e88ce88ee63d153afc543cec435aeddba9bbfaf2d587ba9bb8ed2ef

diff --git a/dev-python/python-fire/python-fire-0.5.0.ebuild 
b/dev-python/python-fire/python-fire-0.6.0.ebuild
similarity index 64%
rename from dev-python/python-fire/python-fire-0.5.0.ebuild
rename to dev-python/python-fire/python-fire-0.6.0.ebuild
index d027f09d4e..6b84bae316 100644
--- a/dev-python/python-fire/python-fire-0.5.0.ebuild
+++ b/dev-python/python-fire/python-fire-0.6.0.ebuild
@@ -1,15 +1,15 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
+PYTHON_COMPAT=( python3_{10..12} )
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10,11} )
-inherit distutils-r1
+PYPI_PN="fire"
+inherit distutils-r1 pypi
 
 DESCRIPTION="Library for automatically generating command line interfaces from 
Python objects"
 HOMEPAGE="https://pypi.org/project/python-fire/;
-SRC_URI="https://github.com/google/${PN}/archive/refs/tags/v${PV}.tar.gz -> 
${P}.gh.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
@@ -19,6 +19,13 @@ RDEPEND="
dev-python/six
dev-python/termcolor
 "
-DEPEND="${RDEPEND}"
+DEPEND="
+   ${RDEPEND}
+   test? (
+   dev-python/hypothesis
+   dev-python/mock
+   dev-python/pytest-asyncio
+   )
+"
 
 distutils_enable_tests pytest



[gentoo-commits] repo/proj/guru:dev commit in: x11-misc/picom-jonaburg/

2024-04-13 Thread Julien Roy
commit: 5e77f610fce49657534cd461450db410b173707f
Author: Julien Roy  jroy  ca>
AuthorDate: Sun Apr 14 00:04:29 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sun Apr 14 00:04:29 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5e77f610

x11-misc/picom-jonaburg: enable py3.11, py3.12

Closes: https://bugs.gentoo.org/897672
Signed-off-by: Julien Roy  jroy.ca>

 x11-misc/picom-jonaburg/picom-jonaburg-.ebuild | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/x11-misc/picom-jonaburg/picom-jonaburg-.ebuild 
b/x11-misc/picom-jonaburg/picom-jonaburg-.ebuild
index 8f232dacb2..8904f4a88b 100644
--- a/x11-misc/picom-jonaburg/picom-jonaburg-.ebuild
+++ b/x11-misc/picom-jonaburg/picom-jonaburg-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_10 )
+PYTHON_COMPAT=( python3_{10..12} )
 inherit git-r3 meson python-any-r1 virtualx xdg
 
 DESCRIPTION="A lightweight compositor for X11 (previously a compton fork)"
@@ -51,12 +51,12 @@ BDEPEND="virtual/pkgconfig
 DOCS=( README.md picom.sample.conf )
 
 python_check_deps() {
-   has_version -b "dev-python/xcffib[${PYTHON_USEDEP}]"
+   python_has_version -b "dev-python/xcffib[${PYTHON_USEDEP}]"
 }
 
-pkg_setup() {
-   use test && python-any-r1_pkg_setup
-}
+# pkg_setup() {
+#  use test && python-any-r1_pkg_setup
+# }
 
 src_configure() {
local emesonargs=(



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

2024-04-13 Thread Julien Roy
commit: 1655ed45949b332297bc9591b95ac0d6def8107c
Author: Julien Roy  jroy  ca>
AuthorDate: Sat Apr 13 23:58:07 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sat Apr 13 23:58:07 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1655ed45

dev-python/pygments-promql: enable py3.12, use PEP517

Closes: https://bugs.gentoo.org/897528
Closes: https://bugs.gentoo.org/921858
Signed-off-by: Julien Roy  jroy.ca>

 dev-python/pygments-promql/Manifest | 2 +-
 ...pygments-promql-0.0.9.ebuild => pygments-promql-0.0.9-r1.ebuild} | 6 --
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/dev-python/pygments-promql/Manifest 
b/dev-python/pygments-promql/Manifest
index cbc80cd32d..f9e92727f4 100644
--- a/dev-python/pygments-promql/Manifest
+++ b/dev-python/pygments-promql/Manifest
@@ -1 +1 @@
-DIST pygments-promql-0.0.9.tar.gz 97971 BLAKE2B 
77413cad92374b9ac0f6dc6b5f8453c639f3da77abc7014f81e9392c59a36010da71eba50a445a4c4ebbd485f982e7946237a5a8dfed5c90841e93dcd226135d
 SHA512 
5e0138fbf6f303609adcbd7c5d3142a5d10d84f3e64ee55973d129f39f85425484d79d988708f1bf2ceeb97b8752f59407bb453c5f352be2b6de7da975de432d
+DIST pygments-promql-0.0.9.gh.tar.gz 97971 BLAKE2B 
77413cad92374b9ac0f6dc6b5f8453c639f3da77abc7014f81e9392c59a36010da71eba50a445a4c4ebbd485f982e7946237a5a8dfed5c90841e93dcd226135d
 SHA512 
5e0138fbf6f303609adcbd7c5d3142a5d10d84f3e64ee55973d129f39f85425484d79d988708f1bf2ceeb97b8752f59407bb453c5f352be2b6de7da975de432d

diff --git a/dev-python/pygments-promql/pygments-promql-0.0.9.ebuild 
b/dev-python/pygments-promql/pygments-promql-0.0.9-r1.ebuild
similarity index 81%
rename from dev-python/pygments-promql/pygments-promql-0.0.9.ebuild
rename to dev-python/pygments-promql/pygments-promql-0.0.9-r1.ebuild
index b520351502..c8cad28331 100644
--- a/dev-python/pygments-promql/pygments-promql-0.0.9.ebuild
+++ b/dev-python/pygments-promql/pygments-promql-0.0.9-r1.ebuild
@@ -3,12 +3,14 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_10 )
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=setuptools
+
 inherit distutils-r1
 
 DESCRIPTION="A PromQL lexer for Pygments"
 HOMEPAGE="https://github.com/pabluk/pygments-promql;
-SRC_URI="https://github.com/pabluk/${PN}/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI="https://github.com/pabluk/${PN}/archive/refs/tags/${PV}.tar.gz -> 
${P}.gh.tar.gz"
 
 LICENSE="BSD-2"
 SLOT="0"



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

2024-04-13 Thread Julien Roy
commit: 9e62c1167ca2d92d41842021406c5a33a5cfa820
Author: Julien Roy  jroy  ca>
AuthorDate: Sat Apr 13 23:04:07 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sat Apr 13 23:04:07 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9e62c116

dev-python/python-fire: drop 0.4.0

Closes: https://bugs.gentoo.org/878797
Signed-off-by: Julien Roy  jroy.ca>

 dev-python/python-fire/Manifest |  1 -
 dev-python/python-fire/python-fire-0.4.0.ebuild | 24 
 2 files changed, 25 deletions(-)

diff --git a/dev-python/python-fire/Manifest b/dev-python/python-fire/Manifest
index 3be4f97051..ac89896acf 100644
--- a/dev-python/python-fire/Manifest
+++ b/dev-python/python-fire/Manifest
@@ -1,2 +1 @@
 DIST fire-0.6.0.tar.gz 88439 BLAKE2B 
5eb8a7ec2e0f93bec50f0b6a03edfe9ec6040ca2f3a85a77875df752457281c7614874254db935dcd94c229af3fd6722088c43dae7664e99c3f09047f9d4453f
 SHA512 
491f224d31038494be2f40dd55e8713da20e4a20dc044ed1346deaeff69d65908ac754679b36ae1dbf42319c26cb30acc664a444f2d735d173971001447a9dd3
-DIST python-fire-0.4.0.tar.gz 104198 BLAKE2B 
1060931356753c00daa5c138234a8214c3662ae8aab54fa050488df89251be7cdf9846af46defd4fbeed817ca2cc1992e7978ad68579ad753749cdf3e9b6c011
 SHA512 
24473cae1cbaf01a6a07939fd77b8d26d97e5efb0bca349f65ed6a8bbf132167d74140b42030dcee0404945581d039230e0e8f8edb0bf8664e8e9f6555dfdeb5

diff --git a/dev-python/python-fire/python-fire-0.4.0.ebuild 
b/dev-python/python-fire/python-fire-0.4.0.ebuild
deleted file mode 100644
index 98461475ec..00
--- a/dev-python/python-fire/python-fire-0.4.0.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 2022 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
-
-DESCRIPTION="Library for automatically generating command line interfaces from 
Python objects"
-HOMEPAGE="https://pypi.org/project/python-fire/;
-SRC_URI="https://github.com/google/${PN}/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-   dev-python/six
-   dev-python/termcolor
-"
-DEPEND="${RDEPEND}"
-
-distutils_enable_tests pytest



[gentoo-commits] repo/user/dlang:master commit in: dev-lang/ldc2/, dev-lang/ldc2/files/

2024-04-13 Thread Horodniceanu Andrei
commit: 79bb15a181cd764a02097382d13c5461eb0ef4e1
Author: Andrei Horodniceanu  proton  me>
AuthorDate: Fri Mar 22 06:53:22 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Sat Apr 13 23:00:58 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=79bb15a1

dev-lang/ldc2: add tests

Signed-off-by: Andrei Horodniceanu  proton.me>

 ...36.0-disable-compiler-rt-sanitizers-tests.patch |  56 +
 36.0-fix-phobos-OS-dependent-test-string.patch |  26 
 .../files/ldc2-1.36.0-lit-cfg-disable-gdb.patch|  13 ++
 ...ldc2-1.36.0-tests-dshell-remove--m-switch.patch |  13 ++
 .../ldc2-remove-dmd-common-int128-unittest.patch   |  17 +++
 dev-lang/ldc2/ldc2-1.36.0-r2.ebuild| 138 +++--
 6 files changed, 255 insertions(+), 8 deletions(-)

diff --git 
a/dev-lang/ldc2/files/ldc2-1.36.0-disable-compiler-rt-sanitizers-tests.patch 
b/dev-lang/ldc2/files/ldc2-1.36.0-disable-compiler-rt-sanitizers-tests.patch
new file mode 100644
index 000..e086e2d
--- /dev/null
+++ b/dev-lang/ldc2/files/ldc2-1.36.0-disable-compiler-rt-sanitizers-tests.patch
@@ -0,0 +1,56 @@
+diff --git a/tests/PGO/lit.local.cfg b/tests/PGO/lit.local.cfg
+index 9638e26..4578f1a 100644
+--- a/tests/PGO/lit.local.cfg
 b/tests/PGO/lit.local.cfg
+@@ -1,2 +1,2 @@
+ # Add "PGO_RT" feature, assuming the `profile` compiler-rt library is 
available
+-config.available_features.add('PGO_RT')
++#config.available_features.add('PGO_RT')
+diff --git a/tests/instrument/lit.local.cfg b/tests/instrument/lit.local.cfg
+index 9366e7b..5030a1e 100644
+--- a/tests/instrument/lit.local.cfg
 b/tests/instrument/lit.local.cfg
+@@ -2,4 +2,5 @@ import platform
+ 
+ # Add "XRay_RT" feature on non-Windows, assuming the compiler-rt libraries 
are available
+ if (platform.system() != 'Windows'):
+-config.available_features.add('XRay_RT')
++#config.available_features.add('XRay_RT')
++pass
+diff --git a/tests/sanitizers/lit.local.cfg b/tests/sanitizers/lit.local.cfg
+index ce12558..6bd5021 100644
+--- a/tests/sanitizers/lit.local.cfg
 b/tests/sanitizers/lit.local.cfg
+@@ -4,24 +4,27 @@ import platform
+ sys = platform.system()
+ 
+ # Add "LSan" feature, assuming the compiler-rt library is available
+-config.available_features.add('LSan')
++#config.available_features.add('LSan')
+ 
+ # FreeBSD TSan doesn't seem to work,
+ # Linux TSan currently only works with static druntime,
+ # and there's no Windows TSan (yet?).
+ if (sys != 'FreeBSD') and (sys != 'Windows') and not (sys == 'Linux' and 
config.shared_rt_libs_only):
+-config.available_features.add('TSan')
++#config.available_features.add('TSan')
++pass
+ 
+ # FreeBSD ASan and MSan don't cope well with ASLR (might do with FreeBSD 14 
according to https://github.com/llvm/llvm-project/pull/73439)
+ if sys != 'FreeBSD':
+-config.available_features.add('ASan')
++#config.available_features.add('ASan')
++pass
+ 
+ # MSan is supported on Linux, FreeBSD (modulo ASLR issue), and OpenBSD: 
https://clang.llvm.org/docs/MemorySanitizer.html#supported-platforms
+ if (sys == 'Linux') or (sys == 'OpenBSD'):
+-config.available_features.add('MSan')
++#config.available_features.add('MSan')
++pass
+ 
+ # Add "Fuzzer" feature, assuming the compiler-rt library is available
+-config.available_features.add('Fuzzer')
++#config.available_features.add('Fuzzer')
+ 
+ if 'ASan' in config.available_features:
+ # On Darwin, ASan defaults to `abort_on_error=1`, which would make tests 
run

diff --git 
a/dev-lang/ldc2/files/ldc2-1.36.0-fix-phobos-OS-dependent-test-string.patch 
b/dev-lang/ldc2/files/ldc2-1.36.0-fix-phobos-OS-dependent-test-string.patch
new file mode 100644
index 000..5b67c5d
--- /dev/null
+++ b/dev-lang/ldc2/files/ldc2-1.36.0-fix-phobos-OS-dependent-test-string.patch
@@ -0,0 +1,26 @@
+diff --git a/runtime/phobos/std/file.d b/runtime/phobos/std/file.d
+index 5b8925d..f1b19b3 100644
+--- a/runtime/phobos/std/file.d
 b/runtime/phobos/std/file.d
+@@ -1082,6 +1082,7 @@ private void removeImpl(scope const(char)[] name, scope 
const(FSChar)* namez) @t
+ 
+ @safe unittest
+ {
++import std.algorithm.searching : startsWith;
+ import std.exception : collectExceptionMsg, assertThrown;
+ 
+ string filename = null; // e.g. as returned by File.tmpfile.name
+@@ -1090,12 +1091,10 @@ private void removeImpl(scope const(char)[] name, 
scope const(FSChar)* namez) @t
+ {
+ // exact exception message is OS-dependent
+ auto msg = filename.remove.collectExceptionMsg!FileException;
+-assert("Failed to remove file (null): Bad address" == msg, msg);
++assert(msg.startsWith("Failed to remove file (null):"), msg);
+ }
+ else version (Windows)
+ {
+-import std.algorithm.searching : startsWith;
+-
+ // don't test exact message on windows, it's language dependent
+ auto msg = filename.remove.collectExceptionMsg!FileException;
+ 

[gentoo-commits] repo/user/dlang:master commit in: dev-util/serve-d/

2024-04-13 Thread Horodniceanu Andrei
commit: 877403097b5e2779b411ba206132897416c16a4d
Author: Andrei Horodniceanu  proton  me>
AuthorDate: Thu Apr  4 22:39:49 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Sat Apr 13 23:00:59 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=87740309

dev-util/serve-d: Link upstream issue about -mcpu=native with ldc2

Bug: https://github.com/libmir/mir-ion/pull/46
Signed-off-by: Andrei Horodniceanu  proton.me>

 dev-util/serve-d/serve-d-0.8.0_beta15-r2.ebuild | 10 --
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/dev-util/serve-d/serve-d-0.8.0_beta15-r2.ebuild 
b/dev-util/serve-d/serve-d-0.8.0_beta15-r2.ebuild
index b06160f..8969b4d 100644
--- a/dev-util/serve-d/serve-d-0.8.0_beta15-r2.ebuild
+++ b/dev-util/serve-d/serve-d-0.8.0_beta15-r2.ebuild
@@ -113,14 +113,12 @@ src_unpack() {
 
 src_configure() {
# There's an issue with ldc that when -mcpu=native is specified you
-   # get an llvm stack trace. I have to investigate it further before
-   # reporting. -mcpu= works though.  For now
-   # just remove -mcpu=native for ldc2.
+   # get an llvm stack trace. It seems to be related to the use of
+   # certain intrinsics that depend on the target cpu.
if [[ ${EDC} == ldc2* && ${DCFLAGS} == *-mcpu=native* ]]; then
ewarn "-mcpu=native causes issues with ldc2 so it will be 
removed"
-   ewarn "from your flags. If you still want to specify it use"
-   ewarn "app-misc/resolve-march-native to get your actual 
architecture"
-   ewarn "and use that with -mcpu, like in -mcpu=znver3."
+   ewarn "from your flags."
+   ewarn "See: https://github.com/libmir/mir-ion/pull/46;
fi
dlang-filter-dflags "ldc2*" "-mcpu=native"
 



[gentoo-commits] repo/user/dlang:master commit in: dev-util/dlang-tools/

2024-04-13 Thread Horodniceanu Andrei
commit: 1d4aecbcff00c424dc413ae6bdade57a3ceda80b
Author: Andrei Horodniceanu  proton  me>
AuthorDate: Sat Mar  9 17:06:47 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Sat Apr 13 22:47:31 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=1d4aecbc

dev-util/dlang-tools: port to dlang-single.eclass

Signed-off-by: Andrei Horodniceanu  proton.me>

 dev-util/dlang-tools/dlang-tools-2.107.0-r1.ebuild | 64 ++
 1 file changed, 64 insertions(+)

diff --git a/dev-util/dlang-tools/dlang-tools-2.107.0-r1.ebuild 
b/dev-util/dlang-tools/dlang-tools-2.107.0-r1.ebuild
new file mode 100644
index 000..87b1fef
--- /dev/null
+++ b/dev-util/dlang-tools/dlang-tools-2.107.0-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Ancilliary tools for the D programming language compiler"
+HOMEPAGE="http://dlang.org/;
+LICENSE="Boost-1.0"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+TOOLS="ddemangle detab dustmite rdmd"
+IUSE="+ddemangle detab dustmite +rdmd"
+
+DLANG_SLOT="$(ver_cut 1-2)"
+RESTRICT="mirror"
+
+BETA="$(ver_cut 4)"
+VERSION="$(ver_cut 1-3)"
+
+if [[ -n "${BETA}" ]]; then
+   # We want to convert a Gentoo version string into an upstream one: 
2.097.0_rc1 -> 2.097.0-rc.1
+   VERSION="$(ver_rs 3 "-" 4 ".")"
+fi
+SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> 
dlang-tools-${VERSION}.tar.gz"
+
+DLANG_COMPAT=( dmd-2_{106..107} gdc-12 ldc2-1_{35..36} )
+
+inherit desktop dlang-single xdg-utils
+
+REQUIRED_USE="|| ( ${TOOLS[@]} ) ${DLANG_REQUIRED_USE}"
+DEPEND=${DLANG_DEPS}
+BDEPEND=${DLANG_DEPS}
+RDEPEND=${DLANG_DEPS}
+
+S="${WORKDIR}/tools-${VERSION}"
+
+src_compile() {
+   use ddemangle && dlang_compile_bin ddemangle ddemangle.d
+   use detab && dlang_compile_bin detab detab.d
+   use dustmite  && dlang_compile_bin dustmite  DustMite/dustmite.d 
DustMite/splitter.d DustMite/polyhash.d
+   use rdmd  && dlang_compile_bin rdmd  rdmd.d
+}
+
+src_install() {
+   for tool in ${TOOLS}; do
+   if use "${tool}"; then
+   dobin "${tool}"
+   fi
+   done
+
+   # file icons
+   for size in 16 22 24 32 48 256; do
+   newicon --size "${size}" --context mimetypes 
"${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png
+   done
+}
+
+pkg_postinst() {
+   xdg_icon_cache_update
+}
+
+pkg_postrm() {
+   xdg_icon_cache_update
+}



[gentoo-commits] repo/user/dlang:master commit in: dev-util/dfmt/

2024-04-13 Thread Horodniceanu Andrei
commit: a582c3d4ead53f5e8a921e06cc95505a205af342
Author: Andrei Horodniceanu  proton  me>
AuthorDate: Sat Mar  9 17:05:03 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Sat Apr 13 22:47:31 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=a582c3d4

dev-util/dfmt: port to dlang-single.eclass

Signed-off-by: Andrei Horodniceanu  proton.me>

 dev-util/dfmt/dfmt-0.15.1-r1.ebuild | 69 +
 1 file changed, 69 insertions(+)

diff --git a/dev-util/dfmt/dfmt-0.15.1-r1.ebuild 
b/dev-util/dfmt/dfmt-0.15.1-r1.ebuild
new file mode 100644
index 000..323b33f
--- /dev/null
+++ b/dev-util/dfmt/dfmt-0.15.1-r1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Dfmt is a formatter for D source code"
+HOMEPAGE="https://github.com/dlang-community/dfmt;
+LICENSE="Boost-1.0"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+LIBDPARSE="fe6d1e38fb4fc04323170389cfec67ed7fd4e24a"
+ALLOCATOR="ae237cabd1843774cc78aad0729c914a3dd579db"
+SRC_URI="
+   https://github.com/dlang-community/dfmt/archive/v${PV}.tar.gz -> 
${PN}-${PV}.tar.gz
+   
https://github.com/dlang-community/libdparse/archive/${LIBDPARSE}.tar.gz -> 
libdparse-${LIBDPARSE}.tar.gz
+   
https://github.com/dlang-community/stdx-allocator/archive/${ALLOCATOR}.tar.gz 
-> stdx-allocator-${ALLOCATOR}.tar.gz
+   "
+
+DLANG_COMPAT=( dmd-2_{106..107} gdc-13 ldc2-1_{35..36} )
+
+inherit dlang-single bash-completion-r1
+
+REQUIRED_USE=${DLANG_REQUIRED_USE}
+DEPEND=${DLANG_DEPS}
+BDEPEND=${DLANG_DEPS}
+RDEPEND=${DLANG_DEPS}
+
+src_prepare() {
+   default
+
+   mkdir bin || die "Failed to create 'bin' directory."
+   cat > bin/githash.txt << EOF
+v${PV}
+EOF
+}
+
+src_compile() {
+   local libdparse_src="../libdparse-${LIBDPARSE}/src"
+   local allocator_src="../stdx-allocator-${ALLOCATOR}/source"
+   local imports="src ${libdparse_src} ${allocator_src}"
+   local string_imports="bin"
+   local srcDirectories=(
+   "${S}/src"
+   "${S}/${libdparse_src}"
+   "${S}/${allocator_src}"
+   )
+   local sourceFile sourceFiles=()
+   while read -r -d '' sourceFile; do
+   sourceFiles+=("${sourceFile}")
+   done < <(find "${srcDirectories[@]}" -name '*.d' -print0)
+
+   dlang_compile_bin bin/dfmt "${sourceFiles[@]}"
+}
+
+src_test() {
+   cd tests || die
+
+   dlang_compile_bin "run_tests" "test.d"
+   ./run_tests || die "Tests failed"
+   # Note, we're missing the unittests in the main binary.
+   # See make target bin/dfmt-test.
+}
+
+src_install() {
+   dobin bin/dfmt
+   dodoc README.md LICENSE.txt
+   dobashcomp bash-completion/completions/dfmt
+}



[gentoo-commits] repo/user/dlang:master commit in: net-misc/onedrive/

2024-04-13 Thread Horodniceanu Andrei
commit: 75b3199f36a6afae6162ee4eb54716ed9fd1e09d
Author: Andrei Horodniceanu  proton  me>
AuthorDate: Sat Mar  9 18:21:26 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Sat Apr 13 22:47:31 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=75b3199f

net-misc/onedrive: port to dlang-single.eclass

Signed-off-by: Andrei Horodniceanu  proton.me>

 net-misc/onedrive/onedrive-2.4.25-r1.ebuild | 62 +
 1 file changed, 62 insertions(+)

diff --git a/net-misc/onedrive/onedrive-2.4.25-r1.ebuild 
b/net-misc/onedrive/onedrive-2.4.25-r1.ebuild
new file mode 100644
index 000..668b493
--- /dev/null
+++ b/net-misc/onedrive/onedrive-2.4.25-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Free Client for OneDrive on Linux"
+HOMEPAGE="https://abraunegg.github.io/;
+LICENSE="GPL-3"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+SRC_URI="https://codeload.github.com/abraunegg/onedrive/tar.gz/v${PV} -> 
${P}.tar.gz"
+IUSE="debug libnotify"
+
+DLANG_COMPAT=( dmd-2_{106..107} ldc2-1_{35..36} )
+
+inherit dlang-single systemd bash-completion-r1
+
+REQUIRED_USE=${DLANG_REQUIRED_USE}
+RDEPEND="
+   ${DLANG_DEPS}
+   >=dev-db/sqlite-3.7.15:3
+   net-misc/curl
+   libnotify? ( x11-libs/libnotify )
+"
+DEPEND="
+   ${RDEPEND}
+   virtual/pkgconfig
+"
+BDEPEND=${DLANG_DEPS}
+
+src_configure() {
+   DCFLAGS="${DCFLAGS} ${DLANG_LDFLAGS}" econf \
+  --disable-version-check --enable-completions \
+  $(use_enable debug) $(use_enable libnotify notifications) \
+  --with-zsh-completion-dir=/usr/share/zsh/site-functions \
+  --with-bash-completion-dir="$(get_bashcompdir)" \
+  --with-fish-completion-dir=/usr/share/fish/completions \
+  --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \
+  --with-systemduserunitdir="$(systemd_get_userunitdir)"
+}
+
+src_install() {
+   emake DESTDIR="${D}" docdir=/usr/share/doc/${PF} install
+   # log directory
+   keepdir /var/log/onedrive
+   fperms 775 /var/log/onedrive
+   fowners root:users /var/log/onedrive
+   # init script
+   dobin contrib/init.d/onedrive_service.sh
+   newinitd contrib/init.d/onedrive.init onedrive
+}
+
+pkg_postinst() {
+   elog "OneDrive Free Client needs to be authorized to access your data 
before the"
+   elog "first use. To do so, run onedrive in a terminal for the user in 
question and"
+   elog "follow the steps on screen."
+   elog
+   ewarn "When upgrading from 2.3 you are required to reauthorise your 
client."
+   ewarn "This is due to changing the client identifier to assist with 
resolving"
+   ewarn "the correct handling of 429 error responses 
(activityLimitReached)"
+}



[gentoo-commits] repo/user/dlang:master commit in: x11-terms/tilix/

2024-04-13 Thread Horodniceanu Andrei
commit: 1c286cff62006d4d995153a0d01a16e860309474
Author: Andrei Horodniceanu  proton  me>
AuthorDate: Sat Mar  9 19:00:06 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Sat Apr 13 23:00:18 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=1c286cff

x11-terms/tilix: port to dlang-single.eclass

Closes: https://github.com/gentoo/dlang/pull/130
Signed-off-by: Andrei Horodniceanu  proton.me>

 x11-terms/tilix/tilix-1.9.6-r1.ebuild | 57 +++
 1 file changed, 57 insertions(+)

diff --git a/x11-terms/tilix/tilix-1.9.6-r1.ebuild 
b/x11-terms/tilix/tilix-1.9.6-r1.ebuild
new file mode 100644
index 000..234e17a
--- /dev/null
+++ b/x11-terms/tilix/tilix-1.9.6-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="A tiling terminal emulator for Linux using GTK+ 3"
+HOMEPAGE="https://gnunn1.github.io/tilix-web/;
+LICENSE="MPL-2.0"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+GITHUB_URI="https://codeload.github.com/gnunn1;
+SRC_URI="${GITHUB_URI}/${PN}/tar.gz/${PV} -> ${PN}-${PV}.tar.gz"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DLANG_COMPAT=( ldc2-1_{35..36} )
+
+inherit dlang-single gnome2-utils meson optfeature
+
+REQUIRED_USE=${DLANG_REQUIRED_USE}
+RDEPEND="
+   ${DLANG_DEPS}
+   >=sys-devel/gettext-0.19.8.1
+   $(dlang_gen_cond_dep '
+   >=dev-libs/gtkd-3.10.0-r2:3[vte,${DLANG_USEDEP}]
+   ')
+   sys-libs/libunwind
+   gnome-base/gsettings-desktop-schemas
+"
+DEPEND=${RDEPEND}
+BDEPEND="
+   ${DLANG_DEPS}
+   app-text/po4a
+   dev-libs/appstream
+   test? ( dev-util/desktop-file-utils )
+"
+
+src_configure() {
+   DFLAGS="${DCFLAGS}" meson_src_configure -Dd_link_args="${DCFLAGS} 
${DLANG_LDFLAGS}"
+}
+
+pkg_postinst() {
+   xdg_icon_cache_update
+   xdg_desktop_database_update
+   gnome2_schemas_update
+
+   optfeature "Nautilus integration" "dev-python/nautilus-python"
+   optfeature "Password support" "app-crypt/libsecret 
gnome-base/gnome-keyring"
+}
+
+pkg_postrm() {
+   gnome2_schemas_update
+   xdg_desktop_database_update
+   xdg_icon_cache_update
+}



[gentoo-commits] repo/user/dlang:master commit in: dev-util/dcd/

2024-04-13 Thread Horodniceanu Andrei
commit: de4310f69a4a39a67e568b91facd959fc3588418
Author: Andrei Horodniceanu  proton  me>
AuthorDate: Sat Mar  9 14:52:38 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Sat Apr 13 22:47:31 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=de4310f6

dev-util/dcd: port to dlang-single

Additional changes:
- update EAPI 7 -> 8
- enable tests

Signed-off-by: Andrei Horodniceanu  proton.me>

 dev-util/dcd/dcd-0.15.2-r1.ebuild | 95 +++
 1 file changed, 95 insertions(+)

diff --git a/dev-util/dcd/dcd-0.15.2-r1.ebuild 
b/dev-util/dcd/dcd-0.15.2-r1.ebuild
new file mode 100644
index 000..bb66e8d
--- /dev/null
+++ b/dev-util/dcd/dcd-0.15.2-r1.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Auto-complete program for the D programming language"
+HOMEPAGE="https://github.com/dlang-community/DCD;
+LICENSE="GPL-3"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="systemd"
+
+CONTAINERS="116a02872039efbd0289828cd5eeff6f60bdf539"
+DTESTUTILS="206a2e6abd97b4462f3a320e4f2d23986fad3cff"
+LIBDPARSE="592ef39a73a58439afc75a3e6c13a0d87d0b847d"
+MSGPACK="480f3bf9ee80ccf6695ed900cfcc1850ba8da991"
+SRC_URI="
+   https://github.com/dlang-community/DCD/archive/v${PV}.tar.gz -> 
DCD-${PV}.tar.gz
+   
https://github.com/economicmodeling/containers/archive/${CONTAINERS}.tar.gz -> 
containers-${CONTAINERS}.tar.gz
+   
https://github.com/dlang-community/d-test-utils/archive/${DTESTUTILS}.tar.gz -> 
d-test-utils-${DTESTUTILS}.tar.gz
+   
https://github.com/dlang-community/libdparse/archive/${LIBDPARSE}.tar.gz -> 
libdparse-${LIBDPARSE}.tar.gz
+   https://github.com/msgpack/msgpack-d/archive/${MSGPACK}.tar.gz -> 
msgpack-d-${MSGPACK}.tar.gz
+   "
+S="${WORKDIR}/DCD-${PV}"
+
+DLANG_COMPAT=( dmd-2_{106..107} gdc-13 ldc2-1_{35..36} )
+
+inherit dlang-single systemd bash-completion-r1
+
+REQUIRED_USE=${DLANG_REQUIRED_USE}
+DEPEND=${DLANG_DEPS}
+RDEPEND=${DLANG_DEPS}
+BDEPEND=${DLANG_DEPS}
+
+src_prepare() {
+   # Default ebuild unpack function places archives side-by-side ...
+   mv -T ../containers-${CONTAINERS}containers|| die
+   mv -T ../d-test-utils-${DTESTUTILS}  d-test-utils  || die
+   mv -T ../libdparse-${LIBDPARSE}  libdparse || die
+   mv -T ../msgpack-d-${MSGPACK}msgpack-d || die
+   # Stop makefile from executing git to write an unused githash.txt
+   mkdir bin || die "Coult not create output directory"
+   echo "v${PV}" > bin/githash.txt || die "Could not generate githash"
+   touch githash || die "Could not generate githash"
+
+   # Apply patches
+   default
+}
+
+src_compile() {
+   # Don't let the makefile overwrite user flags.
+   # The downside is that we have to also pass the include dirs.
+   local flags="${DCFLAGS} ${DLANG_LDFLAGS}"
+   flags+=" -Icontainers/src -Idsymbol/src -Ilibdparse/src -Imsgpack-d/src 
-Isrc -Jbin"
+   # An uppercase name of the compiler. It can be GDC, LDC or DMD
+   local name=${EDC::3}
+   name=${name^^}
+
+   # Build client & server with the requested Dlang compiler.
+   local mymakeargs=(
+   # The path to the correct compiler
+   "${name}=${DC}"
+   # The flags for the client and the server
+   "${name}_CLIENT_FLAGS=${flags} 
$(dlang_get_output_flag)bin/dcd-client"
+   "${name}_SERVER_FLAGS=${flags} 
$(dlang_get_output_flag)bin/dcd-server"
+   # The target to build, the lowercase version of the compiler 
name
+   ${name,,}
+   )
+   emake "${mymakeargs[@]}"
+
+   # Write system include paths of host implementation into dcd.conf
+   dlang_print_system_import_paths > dcd.conf
+}
+
+src_test() {
+   # Note, the makefile compiles the server with -g for tests.
+   cd tests && ./run_tests.sh || die "Tests failed"
+}
+
+src_install() {
+   dobin bin/dcd-server
+   dobin bin/dcd-client
+   use systemd && systemd_douserunit "${FILESDIR}"/dcd-server.service
+   dobashcomp bash-completion/completions/dcd-server
+   dobashcomp bash-completion/completions/dcd-client
+   insinto /etc
+   doins dcd.conf
+   dodoc README.md
+   doman man1/dcd-client.1 man1/dcd-server.1
+}
+
+pkg_postinst() {
+   use systemd && elog "A systemd user service for 'dcd-server' has been 
installed."
+}



[gentoo-commits] repo/user/dlang:master commit in: dev-util/dscanner/

2024-04-13 Thread Horodniceanu Andrei
commit: aa21b2fcf88726f6c3a05701da8a240b37d533d8
Author: Andrei Horodniceanu  proton  me>
AuthorDate: Sat Mar  9 17:12:21 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Sat Apr 13 22:47:31 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=aa21b2fc

dev-util/dscanner: port to dlang-single.eclass

Signed-off-by: Andrei Horodniceanu  proton.me>

 dev-util/dscanner/dscanner-0.15.2-r1.ebuild | 99 +
 1 file changed, 99 insertions(+)

diff --git a/dev-util/dscanner/dscanner-0.15.2-r1.ebuild 
b/dev-util/dscanner/dscanner-0.15.2-r1.ebuild
new file mode 100644
index 000..e24c6bc
--- /dev/null
+++ b/dev-util/dscanner/dscanner-0.15.2-r1.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Swiss-army knife for D source code"
+HOMEPAGE="https://github.com/dlang-community/D-Scanner;
+LICENSE="Boost-1.0"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="debug"
+
+CONTAINERS="116a02872039efbd0289828cd5eeff6f60bdf539"
+DCD="1c60c5480f70db568279e4637a5033953c777406"
+INIFILED="cecaff8037a60db2a51c9bded4802c87d938a44e"
+LIBDDOC="fbbfb8245728484e5f96d717994d4b404a9789a4"
+LIBDPARSE="fe6d1e38fb4fc04323170389cfec67ed7fd4e24a"
+GITHUB_URI="https://codeload.github.com;
+SRC_URI="
+   ${GITHUB_URI}/dlang-community/${PN}/tar.gz/v${PV} -> ${P}.tar.gz
+   ${GITHUB_URI}/dlang-community/containers/tar.gz/${CONTAINERS} -> 
containers-${CONTAINERS}.tar.gz
+   ${GITHUB_URI}/dlang-community/DCD/tar.gz/${DCD} -> DCD-${DCD}.tar.gz
+   ${GITHUB_URI}/burner/inifiled/tar.gz/${INIFILED} -> 
inifiled-${INIFILED}.tar.gz
+   ${GITHUB_URI}/dlang-community/libddoc/tar.gz/${LIBDDOC} -> 
libddoc-${LIBDDOC}.tar.gz
+   ${GITHUB_URI}/dlang-community/libdparse/tar.gz/${LIBDPARSE} -> 
libdparse-${LIBDPARSE}.tar.gz
+   "
+S="${WORKDIR}/D-Scanner-${PV}"
+PATCHES=( "${FILESDIR}/${PV}-makefile-fixes.patch" )
+
+DLANG_COMPAT=( dmd-2_{106..107} gdc-13 ldc2-1_{35..36} )
+
+inherit dlang-single
+
+REQUIRED_USE=${DLANG_REQUIRED_USE}
+DEPEND=${DLANG_DEPS}
+BDEPEND=${DLANG_DEPS}
+RDEPEND=${DLANG_DEPS}
+
+src_prepare() {
+   move_git_submodules
+
+   mkdir "${S}"/bin || die "Failed to create 'bin' directory."
+   # Stop the makefile from executing git
+   echo "v${PV}" > "${S}"/bin/githash.txt || die "Could not generate 
githash"
+
+   # Apply patches
+   default
+}
+
+src_compile() {
+   if use debug; then
+   # Add a -debug compiler specific flag and enable the 
dparse_verbose version,
+   # like the debug target in the makefile except that it doesn't 
build everything in 1 go.
+   DCFLAGS+=" $(dlang_get_version_flag)=dparse_verbose"
+
+   local debugFlag
+   case "${EDC}" in
+   dmd*) debugFlag="-debug" ;;
+   gdc*) debugFlag="-fdebug" ;;
+   ldc*) debugFlag="-d-debug" ;;
+   esac
+   DCFLAGS+=" ${debugFlag}"
+   fi
+
+   emake DFLAGS="${DCFLAGS}"
+}
+
+src_test() {
+   # We can specify user flags in (DMD|LDC|GDC)_TEST_FLAGS
+   local flagName=${EDC::3}
+   flagName="${flagName^^}_TEST_FLAGS"
+
+   emake test "${flagName}=${DCFLAGS}"
+}
+
+src_install() {
+   dobin bin/dscanner
+   dodoc README.md LICENSE_1_0.txt
+}
+
+move_git_submodules() {
+   # Move all submodule dependencies into the appropriate folders.
+   # They have to be moved from ${WORKDIR}/${name}-${hash} to ${S}/${name}
+   local submodule submodules=(
+   "containers" "DCD" "inifiled" "libddoc" "libdparse"
+   )
+   for submodule in "${submodules[@]}"; do
+   # make the name uppercase: inifiled -> INIFILED
+   local submodule_hash_var="${submodule^^}"
+   # and extract the hash
+   local submodule_hash="${!submodule_hash_var}"
+
+   local 
submodule_directory="${WORKDIR}/${submodule}-${submodule_hash}"
+
+   mv -T "${submodule_directory}" "${S}/${submodule}" \
+  || die "Could not move submodule '${submodule}' to its 
subdirectory"
+   done
+}



[gentoo-commits] repo/user/dlang:master commit in: dev-lang/ldc2/

2024-04-13 Thread Horodniceanu Andrei
commit: 251def323a040201f48b3fae348f6dee9af3e064
Author: Andrei Horodniceanu  proton  me>
AuthorDate: Mon Mar  4 19:07:23 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Sat Apr 13 22:47:30 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=251def32

dev-lang/ldc2: port to dlang-single.eclass

Additional changes:
- remove the useless MULTILIB_COMPAT line since the variable was set
  post inherit and it is unwanted since ldc2 supports arm64.
- change ROOT to EROOT in pkg_post_*
- use llvm-r1.eclass instead of llvm.eclass

Signed-off-by: Andrei Horodniceanu  proton.me>

 dev-lang/ldc2/ldc2-1.36.0-r2.ebuild | 79 +
 1 file changed, 79 insertions(+)

diff --git a/dev-lang/ldc2/ldc2-1.36.0-r2.ebuild 
b/dev-lang/ldc2/ldc2-1.36.0-r2.ebuild
new file mode 100644
index 000..84a0413
--- /dev/null
+++ b/dev-lang/ldc2/ldc2-1.36.0-r2.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic multilib-build cmake
+
+MY_PV="${PV//_/-}"
+MY_P="ldc-${MY_PV}-src"
+SRC_URI="https://github.com/ldc-developers/ldc/releases/download/v${MY_PV}/${MY_P}.tar.gz;
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="LLVM D Compiler"
+HOMEPAGE="https://github.com/ldc-developers/ldc;
+KEYWORDS="~amd64 ~arm64 ~x86"
+LICENSE="BSD"
+# For first bump, set the subslot below to 0 and only increase if there
+# is an actual ABI bkreakage.
+SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
+
+IUSE="static-libs"
+RESTRICT="test"
+
+# Upstream supports LLVM 11.0 through 17.0.
+LLVM_COMPAT=( {15..17} )
+DLANG_COMPAT=( dmd-2_{106..107} gdc-13 ldc2-1_{35..36} )
+
+inherit llvm-r1 dlang-single
+
+REQUIRED_USE=${DLANG_REQUIRED_USE}
+DEPEND="
+   ${DLANG_DEPS}
+   $(llvm_gen_dep '
+ sys-devel/llvm:${LLVM_SLOT}=
+   ')
+"
+IDEPEND=">=app-eselect/eselect-dlang-20140709"
+RDEPEND="
+   ${DEPEND}
+   ${IDEPEND}
+"
+BDEPEND=${DLANG_DEPS}
+
+PATCHES="${FILESDIR}/ldc2-1.15.0-link-defaultlib-shared.patch"
+
+src_configure() {
+   # We disable assertions so we have to apply the same workaround as for
+   # sys-devel/llvm: add -DNDEBUG to CPPFLAGS.
+   local CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+   # https://bugs.gentoo.org/show_bug.cgi?id=922590
+   append-flags -fno-strict-aliasing
+   local mycmakeargs=(
+   -DD_VERSION=2
+   -DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr/lib/ldc2/$(ver_cut 1-2)
+   -DD_COMPILER="$(dlang_get_dmdw) $(dlang_get_dmdw_dcflags)"
+   -DLDC_WITH_LLD=OFF
+   -DCOMPILE_D_MODULES_SEPARATELY=ON
+   -DLDC_ENABLE_ASSERTIONS=OFF
+   -DBUILD_SHARED_LIBS=$(usex static-libs BOTH ON)
+   )
+   use abi_x86_32 && use abi_x86_64 && mycmakeargs+=( -DMULTILIB=ON )
+
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   rm -rf "${ED}"/usr/share/bash-completion
+}
+
+pkg_postinst() {
+   # Update active ldc2
+   "${EROOT}"/usr/bin/eselect dlang update ldc2
+}
+
+pkg_postrm() {
+   "${EROOT}"/usr/bin/eselect dlang update ldc2
+}



[gentoo-commits] repo/user/dlang:master commit in: dev-libs/gtkd/

2024-04-13 Thread Horodniceanu Andrei
commit: 4e055662f4070b21f3ccc5b1343f971c4dfa265c
Author: Andrei Horodniceanu  proton  me>
AuthorDate: Mon Mar  4 14:45:39 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Sat Apr 13 22:47:30 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=4e055662

dev-libs/gtkd: port to dlang-r1.eclass

Signed-off-by: Andrei Horodniceanu  proton.me>

 dev-libs/gtkd/gtkd-3.10.0-r2.ebuild | 181 
 1 file changed, 181 insertions(+)

diff --git a/dev-libs/gtkd/gtkd-3.10.0-r2.ebuild 
b/dev-libs/gtkd/gtkd-3.10.0-r2.ebuild
new file mode 100644
index 000..bc2c489
--- /dev/null
+++ b/dev-libs/gtkd/gtkd-3.10.0-r2.ebuild
@@ -0,0 +1,181 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multilib-minimal
+
+DESCRIPTION="GtkD is a D binding and OO wrapper of GTK+"
+HOMEPAGE="https://gtkd.org/;
+LICENSE="LGPL-3"
+
+SLOT="3"
+KEYWORDS="~amd64 ~x86"
+SRC_URI="https://gtkd.org/Downloads/sources/GtkD-${PV}.zip;
+
+MULTILIB_COMPAT=( abi_x86_{32,64} )
+DLANG_COMPAT=( dmd-2_{106..107} gdc-13 ldc2-1_{35..36} )
+declare -A DLANG_REQ_USE=(
+   [dmd]="${MULTILIB_USEDEP}"
+   [gdc]=""
+   [ldc2]="${MULTILIB_USEDEP}"
+)
+
+inherit dlang-r1
+
+BDEPEND="app-arch/unzip ${DLANG_DEPS}"
+RDEPEND="
+   ${DLANG_DEPS}
+   >=x11-libs/gtk+-3.24:3[${MULTILIB_USEDEP}]
+   >=dev-libs/glib-2.64:2[${MULTILIB_USEDEP}]
+   >=x11-libs/pango-1.43[${MULTILIB_USEDEP}]
+   >=app-accessibility/at-spi2-core-2.34[${MULTILIB_USEDEP}]
+   >=x11-libs/gdk-pixbuf-2.38:2[${MULTILIB_USEDEP}]
+   >=x11-libs/cairo-1.12.2[${MULTILIB_USEDEP}]
+   >=gnome-base/librsvg-2.54:2[${MULTILIB_USEDEP}]
+   sourceview? ( >=x11-libs/gtksourceview-4.2:4 )
+   gstreamer? ( >=media-libs/gstreamer-1.16:1.0[${MULTILIB_USEDEP}] )
+   vte? ( >=x11-libs/vte-0.56:2.91 )
+   peas? ( >=dev-libs/libpeas-1.20 )
+"
+DEPEND=${DLANG_DEPS}
+
+GTKD_USE_FLAGS=(gtk  opengl sourceview gstreamer  vte  peas)
+GTKD_LIB_NAMES=(gtkd gtkdgl gtkdsv gstreamerd vted peasd)
+GTKD_SRC_DIRS=( gtkd gtkdgl sourceview gstreamer  vte  peas)
+# static-libs I have no idea about. It makes a "static-library" that
+# dynamically links phobos and uses dl to open the gtk+ libs at runtime.
+IUSE="${GTKD_USE_FLAGS[@]:1} static-libs"
+REQUIRED_USE=${DLANG_REQUIRED_USE}
+
+MAJOR=$(ver_cut 1)
+MINOR=$(ver_cut 2-)
+
+src_unpack() {
+   mkdir "${S}" || die "Could not create source directory"
+   pushd "${S}" >/dev/null || die
+   unpack "${A}"
+   popd >/dev/null || die
+}
+
+src_prepare() {
+   default
+
+   multilib_copy_sources
+   multilib_foreach_abi dlang_copy_sources
+}
+
+multilib_src_compile() {
+   compile_libs() {
+   # Build the shared library version of the component
+   # The test phase expects no version extension on the .so
+   local sources=generated/${SRC_DIR}/*/*.d
+   if [ ${LIB_NAME} != gtkdgl ]; then
+   sources+=" "generated/${SRC_DIR}/*/c/*.d
+   fi
+   if [ ${LIB_NAME} == gstreamerd ]; then
+   sources+=" "generated/gstreamer/gst/*/*.d" 
"generated/gstreamer/gst/*/c/*.d
+   fi
+
+   local imports="src generated/gtkd"
+   # avoid file name collisions with ldc2
+   [[ ${EDC} == ldc2* ]] && local DCFLAGS="${DCFLAGS} -oq"
+   dlang_compile_lib.so lib${LIB_NAME}-${MAJOR}.so \
+   lib${LIB_NAME}-${MAJOR}.so.0 ${sources}
+   # Build the static library version.
+   use static-libs && dlang_compile_lib.a 
"lib${LIB_NAME}-${MAJOR}.a" "${sources}"
+
+   # Generate the pkg-config file. The make rules don't depend on 
anything so
+   # it's fine to use them even though we compiled the library in 
another way.
+
+   local mymakeargs=(
+   LINKERFLAG="$(dlang_get_linker_flag)"
+   prefix="${EPREFIX}/usr"
+   libdir="$(dlang_get_libdir)"
+   )
+   emake "${mymakeargs[@]}" "${LIB_NAME}-${MAJOR}.pc"
+   sed -i -e 's@include/d@include/dlang@' 
"${LIB_NAME}-${MAJOR}.pc" || \
+   die "Could not modify include path for 
${LIB_NAME}-${MAJOR}.pc"
+   }
+
+   dlang_foreach_impl foreach_used_component compile_libs
+}
+
+multilib_src_test() {
+   simple_test() {
+   if multilib_is_native_abi; then
+   local cmd=(
+   ${DC} ${DCFLAGS} ${DLANG_LDFLAGS}
+   $(dlang_get_model_flag)
+   -Igenerated/gtkd
+   demos/gtkD/TestWindow/*.d
+   $(dlang_get_linker_flag)./libgtkd-3.so
+   $(dlang_get_linker_flag)-ldl
+

[gentoo-commits] repo/user/dlang:master commit in: dev-util/dub/

2024-04-13 Thread Horodniceanu Andrei
commit: cf9db5873fd9d11b0e66faab7ef61a3b2a95c2f9
Author: Andrei Horodniceanu  proton  me>
AuthorDate: Sat Mar  9 14:39:38 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Sat Apr 13 22:47:31 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=cf9db587

dev-util/dub: port to dlang-single.eclass

Signed-off-by: Andrei Horodniceanu  proton.me>

 dev-util/dub/dub-1.36.0-r1.ebuild | 162 ++
 1 file changed, 162 insertions(+)

diff --git a/dev-util/dub/dub-1.36.0-r1.ebuild 
b/dev-util/dub/dub-1.36.0-r1.ebuild
new file mode 100644
index 000..608e02a
--- /dev/null
+++ b/dev-util/dub/dub-1.36.0-r1.ebuild
@@ -0,0 +1,162 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Package and build management system for D"
+HOMEPAGE="https://code.dlang.org/;
+LICENSE="MIT"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+DLANG_COMPAT=( dmd-2_{106..107} gdc-13 ldc2-1_{35..36} )
+
+inherit dlang-single shell-completion
+
+REQUIRED_USE=${DLANG_REQUIRED_USE}
+DEPEND=${DLANG_DEPS}
+BDEPEND=${DLANG_DEPS}
+RDEPEND=${DLANG_DEPS}
+
+DUB_TEST_DEPS=(
+   gitcompatibledubpackage@1.0.1
+   gitcompatibledubpackage@1.0.4
+   urld@2.1.1
+)
+generate_dub_test_dependencies() {
+   local dep
+   for dep in "${DUB_TEST_DEPS[@]}"; do
+   local depName depVersion
+   depName="${dep%@*}"
+   depVersion="${dep#*@}"
+   echo 
"https://code.dlang.org/packages/${depName}/${depVersion}.zip -> 
${depName}-${depVersion}.zip"
+   done
+}
+
+GITHUB_URI="https://codeload.github.com/dlang;
+SRC_URI="
+   ${GITHUB_URI}/${PN}/tar.gz/v${PV} -> ${PN}-${PV}.tar.gz
+   test? (
+   $(generate_dub_test_dependencies)
+   )
+"
+
+PATCHES=(
+   "${FILESDIR}/${P}-fix-wno-error-not-applying.patch"
+)
+
+src_unpack() {
+   unpack "${P}.tar.gz"
+
+   if use test; then
+   # Copy the archives locally. Some tests do need to perform an
+   # actual fetch operation so make all of them available as
+   # archives and let dub figure out the rest.
+   local store="${T}/dub-test-deps"
+   mkdir -p "${store}" || die
+
+   local dep
+   for dep in "${DUB_TEST_DEPS[@]}"; do
+   local depName depVersion
+   depName="${dep%@*}"
+   depVersion="${dep#*@}"
+
+   cp "${DISTDIR}/${depName}-${depVersion}.zip" "${store}" 
|| die
+   done
+
+   # Generate a settings.json file that points to the directory 
with all the deps.
+   cat < "${T}/settings.json"
+{
+   "registryUrls": [
+   "file://${store}"
+   ],
+   "skipRegistry": "all"
+}
+EOF
+   fi
+}
+
+src_compile() {
+   local imports=source versions="DubApplication DubUseCurl"
+   dlang_compile_bin bin/dub $(/../etc/dub/settings.json as per
+   # https://dub.pm/dub-reference/settings so that it's picked up
+   # automatically.
+   mkdir -p "${S}/bin/../etc/dub" || die
+   cp "${T}/settings.json" "${S}/bin/../etc/dub/" \
+   || die "Could not copy dub configuration file"
+
+   # See https://bugs.gentoo.org/921581 we have to remove -op (preserve
+   # source path for output files) from the flags lest the sandbox
+   # trips us up. This shouldn't be a problem anymore with dlang-single.
+   dlang-filter-dflags "*" "--op" "-op"
+
+   # Append -Wno-error or equivalent
+   DCFLAGS+=" $(dlang_get_wno_error_flag)"
+
+   DFLAGS="${DCFLAGS}" FRONTEND="$(dlang_get_fe_version)" 
test/run-unittest.sh  \
+   || die "Tests failed"
+}
+
+src_install() {
+   dobin bin/dub
+   dodoc README.md
+
+   # Make sure there are no man files in any other section.
+   use doc && doman scripts/man/*.1
+
+   newbashcomp scripts/bash-completion/${PN}.bash ${PN}
+   dozshcomp scripts/zsh-completion/_${PN}
+   dofishcomp scripts/fish-completion/${PN}.fish
+}



[gentoo-commits] repo/user/dlang:master commit in: eclass/

2024-04-13 Thread Horodniceanu Andrei
commit: 02e60ee7974e31d94d7210bfc566c1427d4df6df
Author: Andrei Horodniceanu  proton  me>
AuthorDate: Sat Mar  2 17:56:22 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Sat Apr 13 22:47:30 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=02e60ee7

dmd-r1.eclass: new eclass

Signed-off-by: Andrei Horodniceanu  proton.me>

 eclass/dmd-r1.eclass | 414 +++
 1 file changed, 414 insertions(+)

diff --git a/eclass/dmd-r1.eclass b/eclass/dmd-r1.eclass
new file mode 100644
index 000..802e820
--- /dev/null
+++ b/eclass/dmd-r1.eclass
@@ -0,0 +1,414 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# @ECLASS: dmd-r1.eclass
+# @MAINTAINER:
+# Andrei Horodniceanu 
+# @AUTHOR:
+# Andrei Horodniceanu 
+# Based on dmd.eclass by Marco Leise .
+# @BUGREPORTS:
+# Please report bugs via https://github.com/gentoo/dlang/issues
+# @VCSURL: https://github.com/gentoo/dlang
+# @SUPPORTED_EAPIS: 8
+# @BLURB: Captures most of the logic for building and installing DMD
+# @DESCRIPTION:
+# Helps with the maintenance of the various DMD versions by capturing common
+# logic.
+
+if [[ ! ${_ECLASS_ONCE_DMD_R1} ]] ; then
+_ECLASS_ONCE_DMD_R1=1
+
+case ${EAPI:-0} in
+   8) ;;
+   *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
+esac
+
+DESCRIPTION="Reference compiler for the D programming language"
+HOMEPAGE="https://dlang.org/;
+
+# DMD supports amd64/x86 exclusively
+# @ECLASS_VARIABLE: MULTILIB_COMPAT
+# @DESCRIPTION:
+# A list of multilib ABIs supported by $PN. It only supports
+# abi_x86_{32,64}. See the multilib-build.eclass documentation for this
+# variable for more information.
+MULTILIB_COMPAT=( abi_x86_{32,64} )
+
+inherit desktop edos2unix dlang-single multilib-build multiprocessing 
optfeature
+
+LICENSE=Boost-1.0
+SLOT=$(ver_cut 1-2)
+readonly MAJOR=$(ver_cut 1)
+readonly MINOR=$(ver_cut 2)
+readonly PATCH=$(ver_cut 3)
+readonly VERSION=$(ver_cut 1-3)
+readonly BETA=$(ver_cut 4-)
+
+# For prereleases, 2.097.0_rc1 -> 2.097.0-rc.1
+MY_VER=$(ver_rs 3 - 4 .)
+
+DLANG_ORG=https://downloads.dlang.org/${BETA:+pre-}releases/2.x/${VERSION}
+SRC_URI="
+   https://github.com/dlang/${PN}/archive/refs/tags/v${MY_VER}.tar.gz -> 
${PN}-${MY_VER}.tar.gz
+   https://github.com/dlang/phobos/archive/refs/tags/v${MY_VER}.tar.gz -> 
phobos-${MY_VER}.tar.gz
+   selfhost? ( ${DLANG_ORG}/dmd.${MY_VER}.linux.tar.xz )
+   doc? ( ${DLANG_ORG}/dmd.${MY_VER}.linux.tar.xz )
+"
+
+IUSE="doc examples +selfhost static-libs"
+REQUIRED_USE="^^ ( selfhost ${DLANG_REQUIRED_USE} )"
+IDEPEND=">=app-eselect/eselect-dlang-20140709"
+BDEPEND="!selfhost? ( ${DLANG_DEPS} )"
+# We don't need anything in DEPEND, curl is dl-opened
+# so it belongs in RDEPEND.
+#DEPEND=
+# Since 2.107.0, dmd links the standard library of the host
+# compiler. Since this eclass is only used by >=dmd-2.107.0-r1 the
+# dependency is added unconditionally.
+RDEPEND="
+   ${IDEPEND}
+   net-misc/curl[${MULTILIB_USEDEP}]
+   !selfhost? ( ${DLANG_DEPS} )
+"
+
+dmd-r1_pkg_setup() {
+   if use !selfhost; then
+   dlang-single_pkg_setup
+   # set by dlang-single.eclass:
+   # $EDC, $DC, $DLANG_LDFLAGS, $DCFLAGS
+
+   # Now let's build our environment
+   export DMDW=$(dlang_get_dmdw)
+   export DMDW_DCFLAGS=$(dlang_get_dmdw_dcflags)
+   export DMDW_LDFLAGS=$(dlang_get_dmdw_ldflags)
+   else
+   # Setup up similar variables to the above
+   export EDC=dmd-${SLOT}
+   #export DC= # is set inside src_unpack
+   #export DMDW= # is set inside src_unpack
+   export DLANG_LDFLAGS=$(dlang_get_ldflags)
+   # Should we put user DMDFLAGS here?
+   export DMDW_DCFLAGS= DCFLAGS=
+   export DMDW_LDFLAGS=$(dlang_get_dmdw_ldflags)
+   fi
+}
+
+dmd-r1_src_unpack() {
+   # Here because pkgdev complains about it being in pkg_setup
+   if use selfhost; then
+   export DC=${WORKDIR}/dmd2/linux/bin$(_get_abi_bits)/dmd
+   export DMDW=${DC}
+   fi
+
+   default
+
+   # $S may collide with $PN-$MY_VER
+   mv "${PN}-${MY_VER}" tmp || die
+   mkdir "${S}" || die
+   mv -T tmp "${S}/${PN}" || die
+   mv -T "phobos-${MY_VER}" "${S}/phobos" || die
+}
+
+dmd-r1_src_prepare() {
+   einfo "Removing dos-style line endings."
+   local file
+   while read -rd '' file; do
+   edos2unix "${file}"
+   done < <( find "${WORKDIR}" \( -name '*.txt' -o -name '*.html' -o -name 
'*.d' \
+  -o -name '*.di' -o -name '*.ddoc' -type f \) 
\
+  -print0 )
+
+   default
+}
+
+dmd-r1_src_compile() {
+   einfo "Building dmd build script"
+   dlang_compile_bin dmd/compiler/src/build{,.d}
+   

[gentoo-commits] repo/user/dlang:master commit in: dev-util/serve-d/

2024-04-13 Thread Horodniceanu Andrei
commit: 0745a8003103943351c12d52102b30d99844a09d
Author: Andrei Horodniceanu  proton  me>
AuthorDate: Wed Mar  6 16:57:33 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Sat Apr 13 22:47:30 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=0745a800

dev-util/serve-d: port to dlang-single.eclass

Signed-off-by: Andrei Horodniceanu  proton.me>

 dev-util/serve-d/serve-d-0.8.0_beta15-r2.ebuild | 198 
 1 file changed, 198 insertions(+)

diff --git a/dev-util/serve-d/serve-d-0.8.0_beta15-r2.ebuild 
b/dev-util/serve-d/serve-d-0.8.0_beta15-r2.ebuild
new file mode 100644
index 000..b06160f
--- /dev/null
+++ b/dev-util/serve-d/serve-d-0.8.0_beta15-r2.ebuild
@@ -0,0 +1,198 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_VER="$(ver_rs 3 - 4 .)" # 0.8.0_beta15 -> 0.8.0-beta.15
+
+DESCRIPTION="Microsoft language server protocol implementation for D"
+HOMEPAGE="https://github.com/Pure-D/serve-d;
+SRC_URI="https://code.dlang.org/packages/serve-d/${MY_VER}.zip -> ${P}.zip
+
+https://code.dlang.org/packages/automem/0.6.9.zip -> automem-0.6.9.zip
+https://code.dlang.org/packages/botan/1.12.19.zip -> botan-1.12.19.zip
+https://code.dlang.org/packages/botan-math/1.0.3.zip -> botan-math-1.0.3.zip
+https://code.dlang.org/packages/cachetools/0.4.1.zip -> cachetools-0.4.1.zip
+https://code.dlang.org/packages/dcd/0.16.0-beta.2.zip -> dcd-0.16.0-beta.2.zip
+https://code.dlang.org/packages/dfmt/0.15.0.zip -> dfmt-0.15.0.zip
+https://code.dlang.org/packages/diet-complete/0.0.3.zip -> 
diet-complete-0.0.3.zip
+https://code.dlang.org/packages/diet-ng/1.8.1.zip -> diet-ng-1.8.1.zip
+https://code.dlang.org/packages/dscanner/0.16.0-beta.2.zip -> 
dscanner-0.16.0-beta.2.zip
+https://code.dlang.org/packages/dub/1.33.1.zip -> dub-1.33.1.zip
+https://code.dlang.org/packages/emsi_containers/0.9.0.zip -> 
emsi_containers-0.9.0.zip
+https://code.dlang.org/packages/eventcore/0.9.25.zip -> eventcore-0.9.25.zip
+https://code.dlang.org/packages/fuzzymatch/1.0.0.zip -> fuzzymatch-1.0.0.zip
+https://code.dlang.org/packages/inifiled/1.3.3.zip -> inifiled-1.3.3.zip
+https://code.dlang.org/packages/isfreedesktop/0.1.1.zip -> 
isfreedesktop-0.1.1.zip
+https://code.dlang.org/packages/libasync/0.8.6.zip -> libasync-0.8.6.zip
+https://code.dlang.org/packages/libddoc/0.8.0.zip -> libddoc-0.8.0.zip
+https://code.dlang.org/packages/libdparse/0.23.2.zip -> libdparse-0.23.2.zip
+https://code.dlang.org/packages/memutils/1.0.9.zip -> memutils-1.0.9.zip
+https://code.dlang.org/packages/mir-algorithm/3.20.4.zip -> 
mir-algorithm-3.20.4.zip
+https://code.dlang.org/packages/mir-core/1.5.5.zip -> mir-core-1.5.5.zip
+https://code.dlang.org/packages/mir-cpuid/1.2.10.zip -> mir-cpuid-1.2.10.zip
+https://code.dlang.org/packages/mir-ion/2.1.8.zip -> mir-ion-2.1.8.zip
+https://code.dlang.org/packages/mir-linux-kernel/1.0.1.zip -> 
mir-linux-kernel-1.0.1.zip
+https://code.dlang.org/packages/msgpack-d/1.0.4.zip -> msgpack-d-1.0.4.zip
+https://code.dlang.org/packages/openssl/3.3.0.zip -> openssl-3.3.0.zip
+https://code.dlang.org/packages/openssl-static/1.0.2+3.0.8.zip -> 
openssl-static-1.0.2+3.0.8.zip
+https://code.dlang.org/packages/requests/2.1.1.zip -> requests-2.1.1.zip
+https://code.dlang.org/packages/rm-rf/0.1.0.zip -> rm-rf-0.1.0.zip
+https://code.dlang.org/packages/sdlfmt/0.1.1.zip -> sdlfmt-0.1.1.zip
+https://code.dlang.org/packages/sdlite/1.1.2.zip -> sdlite-1.1.2.zip
+https://code.dlang.org/packages/silly/1.1.1.zip -> silly-1.1.1.zip
+https://code.dlang.org/packages/standardpaths/0.8.2.zip -> 
standardpaths-0.8.2.zip
+https://code.dlang.org/packages/stdx-allocator/2.77.5.zip -> 
stdx-allocator-2.77.5.zip
+https://code.dlang.org/packages/taggedalgebraic/0.11.22.zip -> 
taggedalgebraic-0.11.22.zip
+https://code.dlang.org/packages/test_allocator/0.3.4.zip -> 
test_allocator-0.3.4.zip
+https://code.dlang.org/packages/unit-threaded/0.10.8.zip -> 
unit-threaded-0.10.8.zip
+https://code.dlang.org/packages/vibe-core/2.2.0.zip -> vibe-core-2.2.0.zip
+https://code.dlang.org/packages/vibe-d/0.9.6.zip -> vibe-d-0.9.6.zip
+https://code.dlang.org/packages/xdgpaths/0.2.5.zip -> xdgpaths-0.2.5.zip
+"
+
+LICENSE="MIT"
+LICENSE+=" Apache-2.0 BSD-2 BSD Boost-1.0 GPL-3 ISC LGPL-3 MIT public-domain 
Unlicense || ( openssl SSLeay )"
+S="${WORKDIR}/${PN}-${MY_VER}"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# gdc currently fails due to a bug in mir-cpuid, see: 
https://github.com/libmir/mir-cpuid/pull/46
+DLANG_COMPAT=( dmd-2_{106..107} ldc2-1_{35..36} )
+
+CHECKREQS_MEMORY="10G" # mir is a chonker
+
+inherit check-reqs dlang-single multiprocessing
+
+DEPEND=${DLANG_DEPS}
+# Lower versions of dcd won't immediately fail but they won't work as
+# intended (no autocompletion for example).
+RDEPEND=">=dev-util/dcd-0.15.2 ${DEPEND}"
+BDEPEND="dev-util/dub app-arch/unzip ${DEPEND}"
+REQUIRED_USE=${DLANG_REQUIRED_USE}
+
+src_unpack() {
+   

[gentoo-commits] repo/user/dlang:master commit in: eclass/, eclass/tests/

2024-04-13 Thread Horodniceanu Andrei
commit: 647a7f67006cbc49f7712ed714fa61ab7553d997
Author: Andrei Horodniceanu  proton  me>
AuthorDate: Sat Mar  2 16:11:51 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Sat Apr 13 22:47:30 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=647a7f67

dlang-utils.eclass: new eclass

Signed-off-by: Andrei Horodniceanu  proton.me>

 eclass/dlang-utils.eclass   | 1312 +++
 eclass/tests/dlang-utils.sh |  279 +
 2 files changed, 1591 insertions(+)

diff --git a/eclass/dlang-utils.eclass b/eclass/dlang-utils.eclass
new file mode 100644
index 000..b759435
--- /dev/null
+++ b/eclass/dlang-utils.eclass
@@ -0,0 +1,1312 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# @ECLASS: dlang-utils.eclass
+# @MAINTAINER:
+# Andrei Horodniceanu 
+# @AUTHOR:
+# Andrei Horodniceanu 
+# Based on python-utils-r1.eclass by Michał Górny  et al
+# with logic taken from dlang.eclass by Marco Leise .
+# @BUGREPORTS:
+# Please report bugs via https://github.com/gentoo/dlang/issues
+# @VCSURL: https://github.com/gentoo/dlang
+# @SUPPORTED_EAPIS: 8
+# @PROVIDES: dlang-compilers-r1
+# @BLURB: Utility functions for packages with Dlang parts.
+# @DESCRIPTION:
+# A utility eclass providing functions to query Dlang implementations
+# and install Dlang libraries.
+#
+# This eclass does not set any metadata variables nor export any phase
+# functions. It can be inherited safely.
+
+case ${EAPI} in
+   8) ;;
+   *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
+esac
+
+if [[ ! ${_DLANG_UTILS_R1_ECLASS} ]]; then
+_DLANG_UTILS_R1_ECLASS=1
+
+inherit dlang-compilers-r1 multilib toolchain-funcs
+
+# @ECLASS_VARIABLE: DMDFLAGS
+# @USER_VARIABLE
+# @DESCRIPTION:
+# Flags that will be passed to dmd implementations during compilation.
+#
+# Example value:
+# @CODE
+# -O -release -mcpu=native
+# @CODE
+
+# @ECLASS_VARIABLE: GDCFLAGS
+# @USER_VARIABLE
+# @DESCRIPTION:
+# Flags that will be passed to gdc implementations during compilation.
+#
+# Example value:
+# @CODE
+# -O2 -pipe -march=native -frelease
+# @CODE
+
+# @ECLASS_VARIABLE: LDCFLAGS
+# @USER_VARIABLE
+# @DESCRIPTION:
+# Flags that will be passed to ldc2 implementations during compilation.
+#
+# Example value:
+# @CODE
+# -O2 -release -mcpu=native
+# @CODE
+
+# @FUNCTION: _dlang_set_impls
+# @INTERNAL
+# @DESCRIPTION:
+# Set two global variables based on DLANG_COMPAT
+#
+# - _DLANG_SUPPORTED_IMPLS containing valid implementations supported
+#   by the ebuild (DLANG_COMPAT - dead implementations),
+#
+# - and _DLANG_UNSUPPORTED_IMPLS containing valid implementations that
+#   are not supported by the ebuild.
+#
+# Implementations in both variables are ordered using the pre-defined
+# eclass implementation ordering.
+#
+# This function must be called once in global scope by an eclass
+# utilizing DLANG_COMPAT.
+_dlang_set_impls() {
+   if ! declare -p DLANG_COMPAT &>/dev/null; then
+   die 'DLANG_COMPAT not declared.'
+   fi
+   if [[ ${DLANG_COMPAT@a} != *a* ]]; then
+   die 'DLANG_COMPAT must be an array'
+   fi
+
+   local supp=() unsupp=()
+
+   local i
+   for i in "${_DLANG_ALL_IMPLS[@]}"; do
+   if has "${i}" "${DLANG_COMPAT[@]}"; then
+   supp+=( "${i}" )
+   else
+   unsupp+=( "${i}" )
+   fi
+   done
+
+   if [[ ! ${supp[@]} ]]; then
+   die "No supported implementation in DLANG_COMPAT."
+   fi
+
+   if [[ ${_DLANG_SUPPORTED_IMPLS[@]} ]]; then
+   # set once already, verify integrity
+   if [[ ${_DLANG_SUPPORTED_IMPLS[@]} != ${supp[@]} ]]; then
+   eerror "Supported impls (DLANG_COMPAT) changed between 
inherits!"
+   eerror "Before: ${_DLANG_SUPPORTED_IMPLS[*]}"
+   eerror "Now   : ${supp[*]}"
+   die "_DLANG_SUPPORTED_IMPLS integrity check failed"
+   fi
+   if [[ ${_DLANG_UNSUPPORTED_IMPLS[@]} != ${unsupp[@]} ]]; then
+   eerror "Unsupported impls changed between inherits!"
+   eerror "Before: ${_DLANG_UNSUPPORTED_IMPLS[*]}"
+   eerror "Now   : ${unsupp[*]}"
+   die "_DLANG_UNSUPPORTED_IMPLS integrity check failed"
+   fi
+   else
+   _DLANG_SUPPORTED_IMPLS=( "${supp[@]}" )
+   _DLANG_UNSUPPORTED_IMPLS=( "${unsupp[@]}" )
+   readonly _DLANG_SUPPORTED_IMPLS _DLANG_UNSUPPORTED_IMPLS
+   fi
+}
+
+# @ECLASS_VARIABLE: DC
+# @DEFAULT_UNSET
+# @DESCRIPTION:
+# The absolute path to the current Dlang compiler.
+#
+# Example values (each line is a possible value):
+# @CODE
+# /usr/lib/ldc2/1.36/bin/ldc2
+# /usr/lib/dmd/2.106/bin/dmd
+# /usr/x86_64-pc-linux-gnu/gcc-bin/12/gdc
+# @CODE
+
+# @ECLASS_VARIABLE: 

[gentoo-commits] repo/user/dlang:master commit in: dev-lang/dmd/files/, dev-lang/dmd/

2024-04-13 Thread Horodniceanu Andrei
commit: 92ee7c824ef055115439603eb27aaa9a110005c3
Author: Andrei Horodniceanu  proton  me>
AuthorDate: Sun Mar  3 12:48:00 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Sat Apr 13 22:47:30 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=92ee7c82

dev-lang/dmd: port 2.107.0 to dmd-r1.eclass

Signed-off-by: Andrei Horodniceanu  proton.me>

 dev-lang/dmd/Manifest   |  2 ++
 dev-lang/dmd/dmd-2.107.0-r1.ebuild  | 13 +
 .../2.107-dmd-r1-link-32-bit-shared-lib-with-ld.bfd.patch   | 13 +
 3 files changed, 28 insertions(+)

diff --git a/dev-lang/dmd/Manifest b/dev-lang/dmd/Manifest
index 0df2c9c..214b07d 100644
--- a/dev-lang/dmd/Manifest
+++ b/dev-lang/dmd/Manifest
@@ -1,3 +1,4 @@
+DIST dmd-2.107.0.tar.gz 5947524 BLAKE2B 
11f7d5f75842b1a2657a8687f69e7bf442aff55f1fef01c96f5cfa27c2b9952196692b6e520bb8eaa156b76d298291d8c514bcbb1d632cd42224ab4d7fb5840c
 SHA512 
2d4392d2c423773dfb4a38a0b8e58de26770d148a5a0a31eecc0623276eacd0e4b3cac3e0d3b20ac444cd2676f44ff623268db8cfc41590db2bc546762d973dc
 DIST dmd.2.101.2.linux.tar.xz 22666828 BLAKE2B 
8233d9f375291d73530a677cd5180153bc758076fd135c420cbb088bf84147fa1f0dc1cd563e94737e781823db26e4e0250af31d68819c3375224a92e53876b6
 SHA512 
7e1ce980fce7a2a995af92b2e05acdfcb2d8abc14780e11d8234792b80edead68c455e644e1830d360651bdacefa1aace963ce652fbfd3b0951dd9002fcfb87f
 DIST dmd.2.102.2.linux.tar.xz 22699620 BLAKE2B 
b0a8fc0650bfe5df4a40ccf20d160765a8ed7804915a1049366ff8b4044d7036ca7f27c8bc71146dc33bf60bf03bc09a9bd8758b9850b020480774f130325abd
 SHA512 
a2dab6efe46176bed0dca98fcf590c6823be9e4d5ca89bce0ff088e7c59a63f8eb4bb3742df1975cc90b5efd78c11377e682b0083fe44c394a73161cbb2b3aa3
 DIST dmd.2.103.1.linux.tar.xz 22747324 BLAKE2B 
b00f41b4ab48be9c5467342314995e69332d4c8bff86083474a940431721d179d5e5ef64734f355df2d96637983de2262d45516594434ad3ad6c4d57a0d7a54c
 SHA512 
854cf08d715506bd36d791c1471f2dd1d834f439bdf4489b4addf0cc5abdecbefceb966baeb764eb5ca816a5830ac7374818ba6fbcad24668d011d56a32a1f15
@@ -5,3 +6,4 @@ DIST dmd.2.104.2.linux.tar.xz 22478264 BLAKE2B 
6af63d7a5c976ae251bb16d4b48fc354d
 DIST dmd.2.105.3.linux.tar.xz 22582468 BLAKE2B 
bbff951452a3fa0ba8fd30ad4a24720ee2df9538abf123931366f4c596e2a224d2a3792e9d03370f3a285bf3b4f29b126b49a88874da912ea862da8eaf0d5d73
 SHA512 
6dc46d1d84cac5964eb0027cdae656525601e4e16ecaba8540f7f403182696300c2293e3971886fff6ad966bd440243acd5a1824a66638c8a09f584476b825a8
 DIST dmd.2.106.1.linux.tar.xz 22778396 BLAKE2B 
66ff621beed21ef4fada3562380fe000d57aa7ca962c53b0b4c18520a47a76a9c405fe7074d17e2882e03313cdef47c67e6f690442e8f6ada8baf8e1589a4579
 SHA512 
2f287c1774196ad35d48288eef0ab87670b3b470ebd4b4707388197fc79ccbc9af0c6e839b9ffd3d2f3f06624fabbedb9bf4fc1c0a670a2131f700be572a244f
 DIST dmd.2.107.0.linux.tar.xz 22438472 BLAKE2B 
551b2a723256b61b4c07fe44ace55c91c92f796fbd67aa5012c0efa9cb8c79010c1dcd9039dd85a19cb3c09163221792c1eb2200ecc6c1c9d74019df717f6fd1
 SHA512 
888369938fbf6dbcaf0c534ed899ffe055cef363e47282374fd45a3a702d97f96a7c7ce9a55a199915e5cc86e4b78ff86fccbd6334c4a4f1a940be5fa2872d11
+DIST phobos-2.107.0.tar.gz 2756892 BLAKE2B 
604d19254e453f0a04e6659e46de187837f5ab82278f8a52ae9714b91d3554e3cc166086860ca32e39d722847c4e962762e26e8226ce685064d5dcc10d3a708b
 SHA512 
4002878851673bc4deaec66dd35d2dc3cfe5f72b7050e2b454bf53aeaa8b4a68fc425d248eab4fbea89f251298b66c726166c41666a69a5508092fd30a9903d5

diff --git a/dev-lang/dmd/dmd-2.107.0-r1.ebuild 
b/dev-lang/dmd/dmd-2.107.0-r1.ebuild
new file mode 100644
index 000..97e1a98
--- /dev/null
+++ b/dev-lang/dmd/dmd-2.107.0-r1.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KEYWORDS="-* ~amd64 ~x86"
+DLANG_COMPAT=( dmd-2_{106..107} gdc-13 ldc2-1_{35..36} )
+
+inherit dmd-r1
+
+PATCHES=(
+   "${FILESDIR}/2.107-dmd-r1-link-32-bit-shared-lib-with-ld.bfd.patch"
+)

diff --git 
a/dev-lang/dmd/files/2.107-dmd-r1-link-32-bit-shared-lib-with-ld.bfd.patch 
b/dev-lang/dmd/files/2.107-dmd-r1-link-32-bit-shared-lib-with-ld.bfd.patch
new file mode 100644
index 000..f96c246
--- /dev/null
+++ b/dev-lang/dmd/files/2.107-dmd-r1-link-32-bit-shared-lib-with-ld.bfd.patch
@@ -0,0 +1,13 @@
+diff --git a/dmd/compiler/src/dmd/link.d b/dmd/compiler/src/dmd/link.d
+index c1a4f3f..b83c253 100644
+--- a/dmd/compiler/src/dmd/link.d
 b/dmd/compiler/src/dmd/link.d
+@@ -514,6 +514,8 @@ public int runLINK()
+ {
+ if (driverParams.dll)
+ argv.push("-shared");
++if (!target.isX86_64)
++argv.push("-fuse-ld=bfd");
+ }
+ // None of that a.out stuff. Use explicit exe file name, or
+ // generate one from name of first source file.



[gentoo-commits] repo/user/dlang:master commit in: eclass/

2024-04-13 Thread Horodniceanu Andrei
commit: 8c87f32d55db8c0f99374d6e42758f539a49d344
Author: Andrei Horodniceanu  proton  me>
AuthorDate: Sat Mar  2 17:09:48 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Sat Apr 13 22:47:30 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=8c87f32d

dlang-r1.eclass: new eclass

Signed-off-by: Andrei Horodniceanu  proton.me>

 eclass/dlang-r1.eclass | 391 +
 1 file changed, 391 insertions(+)

diff --git a/eclass/dlang-r1.eclass b/eclass/dlang-r1.eclass
new file mode 100644
index 000..3ec24fe
--- /dev/null
+++ b/eclass/dlang-r1.eclass
@@ -0,0 +1,391 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# @ECLASS: dlang-r1.eclass
+# @MAINTAINER:
+# Andrei Horodniceanu 
+# @AUTHOR:
+# Andrei Horodniceanu 
+# Based on python-r1.eclass by Michał Górny  et al
+# with logic taken from dlang.eclass by Marco Leise .
+# @BUGREPORTS:
+# Please report bugs via https://github.com/gentoo/dlang/issues
+# @VCSURL: https://github.com/gentoo/dlang
+# @SUPPORTED_EAPIS: 8
+# @PROVIDES: dlang-utils
+# @BLURB: A common eclass for Dlang packages.
+# @DESCRIPTION:
+# A common eclass providing helper functions to build and install
+# packages supporting being installed for multiple Dlang implementations.
+#
+# This eclass sets correct IUSE. Modification of REQUIRED_USE has to
+# be done by the author of the ebuild (but DLANG_REQUIRED_USE is
+# provided for convenience, see below). dlang-r1 exports DLANG_DEPS
+# and DLANG_USEDEP so you can create correct dependencies for your
+# package easily. It also provides methods to easily run a command for
+# each enabled Dlang implementation and duplicate the sources for them.
+#
+# Please note that dlang-r1 will always inherit dlang-utils as
+# well. Thus, all the functions defined there can be used
+# in the packages using dlang-r1, and there is no need ever to inherit
+# both.
+#
+# There is one more particularity about the eclass. In order to provide
+# correct DLANG_DEPS and DLANG_REQUIRED_USE the contents of KEYWORDS
+# need to be set before the inherit, see the example below.
+#
+# @EXAMPLE:
+# @CODE
+# EAPI=8
+# DLANG_COMPAT=( dmd-2_{101..106} gdc-12 gdc-13 ldc2-1_{32..36} )
+# KEYWORDS="amd64 x86"
+#
+# inherit dlang-r1
+#
+# REQUIRED_USE=${DLANG_REQUIRED_USE}
+# DEPEND="${DLANG_DEPS} dev-libs/gtkd[${DLANG_USEDEP}]"
+# RDEPEND=${DEPEND}
+# BDEPEND=${DLANG_DEPS}
+#
+# dlang_src_compile() {
+# emake DC_FLAGS="${DCFLAGS}" LD_FLAGS="${DLANG_LDFLAGS}"
+# }
+#
+# src_compile() {
+# dlang_foreach_impl dlang_src_compile
+# }
+# @CODE
+
+case ${EAPI} in
+   8) ;;
+   *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
+esac
+
+if [[ -z ${_DLANG_R1_ECLASS} ]]; then
+_DLANG_R1_ECLASS=1
+
+if [[ ${_DLANG_SINGLE_ECLASS} ]]; then
+   die 'dlang-r1.eclass cannot be used with dlang-single.eclass.'
+fi
+
+inherit multibuild dlang-utils
+
+# @ECLASS_VARIABLE: DLANG_COMPAT
+# @REQUIRED
+# @PRE_INHERIT
+# @DESCRIPTION:
+# This variable contains a list of Dlang implementations the package
+# supports. It must be set before the `inherit' call. It has to be an
+# array.
+#
+# Example:
+# @CODE
+# DLANG_COMPAT=( gdc-12 ldc2-1_36 dmd-2_102 dmd-2_103 )
+# @CODE
+#
+# Please note that you can also use bash brace expansion if you like:
+# @CODE
+# DLANG_COMPAT=( gdc-1{2..3} ldc2-1_{29..36} dmd-2_10{5,6} )
+# @CODE
+
+# @ECLASS_VARIABLE: DLANG_COMPAT_OVERRIDE
+# @USER_VARIABLE
+# @DEFAULT_UNSET
+# @DESCRIPTION:
+# This variable can be used when working with ebuilds to override the
+# in-ebuild DLANG_COMPAT. It is a string listing all the implementations
+# which package will be built for. It needs to be specified in the
+# calling environment, and not in ebuilds.
+#
+# It should be noted that in order to preserve metadata immutability,
+# DLANG_COMPAT_OVERRIDE does not affect IUSE nor dependencies.
+# The state of DLANG_TARGETS is ignored, and all the implementations
+# in DLANG_COMPAT_OVERRIDE are built. Dependencies need to be satisfied
+# manually.
+#
+# Example:
+# @CODE
+# DLANG_COMPAT_OVERRIDE='gdc-13 dmd-2_106' emerge -1v dev-libs/foo
+# @CODE
+
+# @ECLASS_VARIABLE: DLANG_REQ_USE
+# @DEFAULT_UNSET
+# @PRE_INHERIT
+# @DESCRIPTION:
+# An associative array of Dlang implementations and USE-dependencies
+# strings. The keys are implementation names, so: "dmd" "ldc2" or "gdc";
+# and the values are the aforementioned USE-dependency strings.
+#
+# This should be set before calling `inherit'.
+#
+# Example:
+# @CODE
+# declare -A DLANG_REQ_USE=(
+# [dmd]="static-libs(-)?"
+# [gdc]="another_flag"
+# [ldc2]="static-libs(-)?"
+# )
+# @CODE
+#
+# It will cause the Dlang dependencies to look like:
+# @CODE
+# dlang_targets_ldc2-X_Y? ( dev-lang/ldc2:X.Y=[static-libs(-)?] )
+# dlang_targets_gdc-X? ( sys-devel/gcc[d,another_flag]:X dev-util/gdmd:X )
+# dlang_targets_dmd-X_Y? ( dev-lang/dmd:X.Y=[static-libs(-)?] )
+# @CODE
+
+# 

[gentoo-commits] repo/user/dlang:master commit in: profiles/

2024-04-13 Thread Horodniceanu Andrei
commit: c25d30f6699b2015ca06ddd6b2f18517f86e7c50
Author: Andrei Horodniceanu  proton  me>
AuthorDate: Sat Mar  2 16:07:31 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Sat Apr 13 22:47:30 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=c25d30f6

profiles: Add DLANG_SINGLE_TARGET and DLANG_TARGETS use descriptions

Signed-off-by: Andrei Horodniceanu  proton.me>

 profiles/use.desc | 35 +++
 1 file changed, 35 insertions(+)

diff --git a/profiles/use.desc b/profiles/use.desc
index eb8b622..32cb310 100644
--- a/profiles/use.desc
+++ b/profiles/use.desc
@@ -1,3 +1,38 @@
+dlang_single_target_dmd-2_101 - Build for DMD 2.101 only
+dlang_single_target_dmd-2_102 - Build for DMD 2.102 only
+dlang_single_target_dmd-2_103 - Build for DMD 2.103 only
+dlang_single_target_dmd-2_104 - Build for DMD 2.104 only
+dlang_single_target_dmd-2_105 - Build for DMD 2.105 only
+dlang_single_target_dmd-2_106 - Build for DMD 2.106 only
+dlang_single_target_dmd-2_107 - Build for DMD 2.107 only
+
+dlang_single_target_gdc-12 - Build for GCC 12 only
+dlang_single_target_gdc-13 - Build for GCC 13 only
+
+dlang_single_target_ldc2-1_32 - Build for ldc2 1.32 only
+dlang_single_target_ldc2-1_33 - Build for ldc2 1.33 only
+dlang_single_target_ldc2-1_34 - Build for ldc2 1.34 only
+dlang_single_target_ldc2-1_35 - Build for ldc2 1.35 only
+dlang_single_target_ldc2-1_36 - Build for ldc2 1.36 only
+
+dlang_targets_dmd-2_101 - Build with DMD 2.101
+dlang_targets_dmd-2_102 - Build with DMD 2.102
+dlang_targets_dmd-2_103 - Build with DMD 2.103
+dlang_targets_dmd-2_104 - Build with DMD 2.104
+dlang_targets_dmd-2_105 - Build with DMD 2.105
+dlang_targets_dmd-2_106 - Build with DMD 2.106
+dlang_targets_dmd-2_107 - Build with DMD 2.107
+
+dlang_targets_gdc-12 - Build with GCC 12
+dlang_targets_gdc-13 - Build with GCC 13
+
+dlang_targets_ldc2-1_32 - Build with ldc2 1.32
+dlang_targets_ldc2-1_33 - Build with ldc2 1.33
+dlang_targets_ldc2-1_34 - Build with ldc2 1.34
+dlang_targets_ldc2-1_35 - Build with ldc2 1.35
+dlang_targets_ldc2-1_36 - Build with ldc2 1.36
+
+
 dmd-2_101 - Build for DMD 2.101
 dmd-2_102 - Build for DMD 2.102
 dmd-2_103 - Build for DMD 2.103



[gentoo-commits] repo/user/dlang:master commit in: eclass/

2024-04-13 Thread Horodniceanu Andrei
commit: 88e2ca3511032435742bd8d7d1c01d8a29588ba3
Author: Andrei Horodniceanu  proton  me>
AuthorDate: Sat Mar  2 14:27:21 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Sat Apr 13 22:47:25 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=88e2ca35

dlang-compilers-r1.eclass: new eclass

Signed-off-by: Andrei Horodniceanu  proton.me>

 eclass/dlang-compilers-r1.eclass | 293 +++
 1 file changed, 293 insertions(+)

diff --git a/eclass/dlang-compilers-r1.eclass b/eclass/dlang-compilers-r1.eclass
new file mode 100644
index 000..933b05a
--- /dev/null
+++ b/eclass/dlang-compilers-r1.eclass
@@ -0,0 +1,293 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# @ECLASS: dlang-compilers-r1.eclass
+# @MAINTAINER:
+# Andrei Horodniceanu 
+# @AUTHOR:
+# Andrei Horodniceanu 
+# Based on dlang-compilers.eclass by Marco Leise .
+# @BUGREPORTS:
+# Please report bugs via https://github.com/gentoo/dlang/issues
+# @VCSURL: https://github.com/gentoo/dlang
+# @BLURB: Support data for dlang-utils.eclass
+# @DESCRIPTION:
+# Contains the available D compiler versions with their stable
+# architectures and the language version they support.
+
+if [[ ! ${_DLANG_COMPILERS_R1_ECLASS} ]] ; then
+_DLANG_COMPILERS_R1_ECLASS=1
+
+# @ECLASS_VARIABLE: _DLANG_DMD_FRONTENDS
+# @INTERNAL
+# @DESCRIPTION:
+# A list of dmd implementations with their dlang frontend version (which
+# happens to coincide with the implementation version) and the
+# architectures they support as a list of keywords. Only stable and
+# unstable keywords will appear.
+#
+# The elements are ordered, the higher implementation version has the
+# higher index.
+#
+# Example value for an element:
+# @CODE
+# "2.102 2.102 ~amd64 x86"
+# @CODE
+# Where the first 2.102 represents the implementation version,
+# the second one represents the D language version the implementation
+# supports and, lastly, there are two keywords.
+readonly _DLANG_DMD_FRONTENDS=(
+   "2.101 2.101 ~amd64 ~x86"
+   "2.102 2.102 ~amd64 ~x86"
+   "2.103 2.103 ~amd64 ~x86"
+   "2.104 2.104 ~amd64 ~x86"
+   "2.105 2.105 ~amd64 ~x86"
+   "2.106 2.106 ~amd64 ~x86"
+   "2.107 2.107 ~amd64 ~x86"
+)
+
+# @ECLASS_VARIABLE: _DLANG_GDC_FRONTENDS
+# @INTERNAL
+# @DESCRIPTION:
+# A list of gdc implementations with their dlang frontend version and
+# the architectures they support as a list of keywords. Only stable and
+# unstable keywords will appear.
+#
+# The elements are ordered, the higher implementation version has the
+# higher index.
+#
+# Example value for an element:
+# @CODE
+# "13 2.103 amd64 ~arm64 x86"
+# @CODE
+# Where 13 represents the implementation version, 2.103 represents the D
+# language version the implementation supports and, lastly, there are
+# three keywords.
+readonly _DLANG_GDC_FRONTENDS=(
+   "12 2.100 ~amd64 ~arm64 ~x86"
+   "13 2.103 ~amd64 ~arm64 ~x86"
+)
+
+# @ECLASS_VARIABLE: _DLANG_LDC2_FRONTENDS
+# @INTERNAL
+# @DESCRIPTION:
+# A list of ldc2 implementations with their dlang frontend version and
+# the architectures they support as a list of keywords. Only stable and
+# unstable keywords will appear.
+#
+# The elements are ordered, the higher implementation version has the
+# higher index.
+#
+# Example value for an element:
+# @CODE
+# 1.34 2.104 ~amd64 ~arm64
+# @CODE
+# Where 1.34 represents the implementation version, 2.104 represents the
+# D language version the implementation supports and, lastly, there are
+# two keywords.
+readonly _DLANG_LDC2_FRONTENDS=(
+   "1.32 2.102 ~amd64 ~arm64 ~x86"
+   "1.33 2.103 ~amd64 ~arm64 ~x86"
+   "1.34 2.104 ~amd64 ~arm64 ~x86"
+   "1.35 2.105 ~amd64 ~arm64 ~x86"
+   "1.36 2.106 ~amd64 ~arm64 ~x86"
+)
+
+# @FUNCTION: _dlang_accumulate_implementations
+# @INTERNAL
+# @DESCRIPTION:
+# Set the global variable _DLANG_ALL_IMPLS based on the three arrays:
+# _DLANG_(DMD|LDC2|GDC)_FRONTENDS. This function should be called once,
+# in global scope.
+_dlang_accumulate_implementations() {
+   local line result=()
+   for line in "${_DLANG_DMD_FRONTENDS[@]/#/dmd-}" \
+   "${_DLANG_GDC_FRONTENDS[@]/#/gdc-}" \
+   "${_DLANG_LDC2_FRONTENDS[@]/#/ldc2-}"
+   do
+   line=( ${line} )
+   # We only need the first component (name + version)
+   local impl=${line[0]/\./_}
+   result+=( "${impl}" )
+   done
+
+   if [[ ${_DLANG_ALL_IMPLS+1} ]]; then
+   if [[ ${_DLANG_ALL_IMPLS[@]} != ${result[@]} ]]; then
+   eerror "_DLANG_ALL_IMPLS has changed between inherits!"
+   eerror "Before: ${_DLANG_ALL_IMPLS[*]}"
+   eerror "Now   : ${result[*]}"
+   die "_DLANG_ALL_IMPLS integrity check failed!"
+   fi
+   else
+   

[gentoo-commits] repo/user/dlang:master commit in: eclass/

2024-04-13 Thread Horodniceanu Andrei
commit: e76ec139c6db2b0ab1d83bd61088d6903f2febff
Author: Andrei Horodniceanu  proton  me>
AuthorDate: Sat Mar  2 17:28:49 2024 +
Commit: Horodniceanu Andrei  proton  me>
CommitDate: Sat Apr 13 22:47:30 2024 +
URL:https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=e76ec139

dlang-single.eclass: new eclass

Signed-off-by: Andrei Horodniceanu  proton.me>

 eclass/dlang-single.eclass | 409 +
 1 file changed, 409 insertions(+)

diff --git a/eclass/dlang-single.eclass b/eclass/dlang-single.eclass
new file mode 100644
index 000..a94bc80
--- /dev/null
+++ b/eclass/dlang-single.eclass
@@ -0,0 +1,409 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# @ECLASS: dlang-single.eclass
+# @MAINTAINER:
+# Andrei Horodniceanu 
+# @AUTHOR:
+# Andrei Horodniceanu 
+# Based on python-utils-r1.eclass by Michał Górny  et al
+# with logic taken from dlang.eclass by Marco Leise .
+# @BUGREPORTS:
+# Please report bugs via https://github.com/gentoo/dlang/issues
+# @VCSURL: https://github.com/gentoo/dlang
+# @SUPPORTED_EAPIS: 8
+# @PROVIDES: dlang-utils
+# @BLURB: An eclass for Dlang packages not installed for multiple 
implementations.
+# @DESCRIPTION:
+# An extension of the dlang-r1 eclass suite for packages which don't
+# support being installed for multiple Dlang implementations.
+#
+# This eclass sets correct IUSE. It also provides DLANG_DEPS and
+# DLANG_REQUIRED_USE that need to be added to appropriate ebuild
+# metadata variables.
+#
+# The eclass exports DLANG_SINGLE_USEDEP that is suitable for depending
+# on other packages using the eclass.  Dependencies on packages using
+# dlang-r1 should be created via dlang_gen_cond_dep() function, using
+# DLANG_USEDEP placeholder.
+#
+# Please note that packages which support multiple Dlang implementations
+# (using dlang-r1 eclass) can not depend on packages not supporting them
+# (using this eclass).
+#
+# Please note that dlang-single will always inherit dlang-utils as
+# well. Thus, all the functions defined there can be used in the
+# packages using dlang-single, and there is no need ever to inherit
+# both.
+#
+# Same as dlang-r1.eclass, the contents of $KEYWORDS need to be set
+# before the inherit.
+#
+# @EXAMPLE:
+# @CODE
+# EAPI=8
+# DLANG_COMPAT=( dmd-2_{101..106} gdc-12 gdc-13 ldc2-1_{32..36} )
+# KEYWORDS="amd64 x86"
+#
+# inherit dlang-single
+#
+# REQUIRED_USE=${DLANG_REQUIRED_USE}
+# DEPEND="${DLANG_DEPS} $(dlang_gen_cond_dep '
+# dev-libs/gtkd[${DLANG_USEDEP}]
+# ')"
+# RDEPEND=${DEPEND}
+# BDEPEND=${DLANG_DEPS}
+#
+# src_compile() {
+# emake DMD="$(dlang_get_dmdw)" DFLAGS="$(dlang_get_dmdw_dcflags)"
+# }
+# @CODE
+
+case ${EAPI} in
+   8) ;;
+   *) die "${ECLASS}: EAPI ${EAPI:-0}  not supported" ;;
+esac
+
+if [[ -z ${_DLANG_SINGLE_ECLASS} ]]; then
+_DLANG_SINGLE_ECLASS=1
+
+if [[ ${_DLANG_R1_ECLASS} ]]; then
+   die 'dlang-single.eclass cannot be used with dlang-r1.eclass.'
+fi
+
+inherit dlang-utils
+
+# @ECLASS_VARIABLE: DLANG_COMPAT
+# @REQUIRED
+# @PRE_INHERIT
+# @DESCRIPTION:
+# This variable contains a list of Dlang implementations the package
+# supports. It must be set before the `inherit' call. It has to be an
+# array.
+#
+# Example:
+# @CODE
+# DLANG_COMPAT=( gdc-12 ldc2-1_36 dmd-2_102 dmd-2_103 )
+# @CODE
+#
+# Please note that you can also use bash brace expansion if you like:
+# @CODE
+# DLANG_COMPAT=( gdc-1{2..3} ldc2-1_{29..36} dmd-2_10{5,6} )
+# @CODE
+
+# @ECLASS_VARIABLE: DLANG_COMPAT_OVERRIDE
+# @USER_VARIABLE
+# @DEFAULT_UNSET
+# @DESCRIPTION:
+# This variable can be used when working with ebuilds to override the
+# in-ebuild DLANG_COMPAT. It is a string naming the implementation which
+# package will be built for. It needs to be specified in the calling
+# environment, and not in ebuilds.
+#
+# It should be noted that in order to preserve metadata immutability,
+# DLANG_COMPAT_OVERRIDE does not affect IUSE nor dependencies. The state
+# of DLANG_TARGETS is ignored, and all the implementations in
+# DLANG_COMPAT_OVERRIDE are built. Dependencies need to be satisfied
+# manually.
+#
+# Example:
+# @CODE
+# DLANG_COMPAT_OVERRIDE='gdc-13' emerge -1v dev-libs/foo
+# @CODE
+
+# @ECLASS_VARIABLE: DLANG_REQ_USE
+# @DEFAULT_UNSET
+# @PRE_INHERIT
+# @DESCRIPTION:
+# An associative array of Dlang implementations and USE-dependencies
+# strings. The keys are implementation names, so: "dmd" "ldc2" or "gdc";
+# and the values are the aforementioned USE-dependency strings.
+#
+# This should be set before calling `inherit'.
+#
+# Example:
+# @CODE
+# declare -A DLANG_REQ_USE=(
+# [dmd]="static-libs(-)?"
+# [gdc]="another_flag"
+# [ldc2]="static-libs(-)?"
+# )
+# @CODE
+#
+# It will cause the Dlang dependencies to look like:
+# @CODE
+# dlang_targets_ldc2-X_Y? ( dev-lang/ldc2:X.Y=[static-libs(-)?] )
+# dlang_targets_gdc-X? ( sys-devel/gcc[d,another_flag]:X dev-util/gdmd:X )
+# 

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

2024-04-13 Thread Maciej Barć
commit: cea808376e6cc29b3c8fe134a96bfc635b23b60d
Author: Maciej Barć  gentoo  org>
AuthorDate: Sat Apr 13 22:07:18 2024 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Sat Apr 13 22:55:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cea80837

dev-lang/boogie: drop old 3.0.12

Signed-off-by: Maciej Barć  gentoo.org>

 dev-lang/boogie/Manifest |   1 -
 dev-lang/boogie/boogie-3.0.12.ebuild | 296 ---
 2 files changed, 297 deletions(-)

diff --git a/dev-lang/boogie/Manifest b/dev-lang/boogie/Manifest
index cf3f3127842c..2da38d8dc6a6 100644
--- a/dev-lang/boogie/Manifest
+++ b/dev-lang/boogie/Manifest
@@ -1,4 +1,3 @@
-DIST boogie-3.0.12.tar.gz 2044818 BLAKE2B 
0d11cb1288933b1046b46ea3b93336fe08b9897a4aaf42228971e280be2c648b2110d20aaf6533e6d95e51b0a86c1fe507da05eaa908dc0ed885192e9480d0e7
 SHA512 
e2c1d4faad1bb448dd3cd9f6dbd4c70fa913584ef1bedd4938298498850bc6a0b6017924a55d9b48c82189253c2ac8c84a2564afa2d9b237434ad40ea286fbec
 DIST boogie-3.1.1.tar.gz 2038688 BLAKE2B 
ea720665dd9d830de0639b3b2fe08c452e80375e98b8ff9ced473c4beb540a2cb3908415bfbb1582edac9043c17dcbfc014d2dd1dcc3ce0877db436c13a639bd
 SHA512 
704990ebd9b55e4f617249a5e2b4c74a615c61a51da41485eddd8c1b8159f16afd5da13e93f684a97d87c2e1273549977e04180423909c22b026e975d07a0ceb
 DIST boogie-3.1.2.tar.gz 2038757 BLAKE2B 
5e20b8c4d02fb623a9b7ae053677ae148d1d5db8a3a7530088a56f25fed1708946ca9bf9f2509fecfe994963b65c52a83238870d5060e7a787d2330b2cf98628
 SHA512 
218dbdcc979de6d8fb871596906a5403935b9dd06b8ad74eab2face0c7a1d04946b692fbe635e23bbad4b0a9e74de6159c53c38069be627ab6a916a09050a282
 DIST boogie-3.1.3.tar.gz 2038898 BLAKE2B 
4a5604d6b00ca81393ccf37c542bfed3f3983453b1fd390fc466e37c7133030f1b453c61f2907bb399fe2891e134dcf3dc86b1ac562cd4ed34b634625320497d
 SHA512 
2ae4bd267ea4636c4f52cb7aae0907db9b8411d6f19d35a9338237ef7820f6cf03ebe9939497fe34a646e8b1f69da0882a5765bcc1224bb8cdfd2a7f999d8862

diff --git a/dev-lang/boogie/boogie-3.0.12.ebuild 
b/dev-lang/boogie/boogie-3.0.12.ebuild
deleted file mode 100644
index af645fd84b5b..
--- a/dev-lang/boogie/boogie-3.0.12.ebuild
+++ /dev/null
@@ -1,296 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DOTNET_PKG_COMPAT=8.0
-NUGETS="
-microsoft.bcl.asyncinterfaces@6.0.0
-microsoft.codecoverage@16.2.0
-microsoft.csharp@4.0.1
-microsoft.dotnet.internalabstractions@1.0.0
-microsoft.net.test.sdk@16.2.0
-microsoft.netcore.platforms@1.0.1
-microsoft.netcore.platforms@1.1.0
-microsoft.netcore.targets@1.0.1
-microsoft.netcore.targets@1.1.0
-microsoft.testplatform.objectmodel@16.2.0
-microsoft.testplatform.testhost@16.2.0
-microsoft.win32.primitives@4.0.1
-microsoft.win32.primitives@4.3.0
-microsoft.win32.registry@4.0.0
-microsoft.win32.registry@4.3.0
-microsoft.win32.systemevents@6.0.0
-netstandard.library@1.6.0
-netstandard.library@2.0.0
-newtonsoft.json@9.0.1
-nunit@3.12.0
-nunit3testadapter@3.15.1
-runtime.any.system.collections@4.3.0
-runtime.any.system.diagnostics.tools@4.3.0
-runtime.any.system.diagnostics.tracing@4.3.0
-runtime.any.system.globalization.calendars@4.3.0
-runtime.any.system.globalization@4.3.0
-runtime.any.system.io@4.3.0
-runtime.any.system.reflection.extensions@4.3.0
-runtime.any.system.reflection.primitives@4.3.0
-runtime.any.system.reflection@4.3.0
-runtime.any.system.resources.resourcemanager@4.3.0
-runtime.any.system.runtime.handles@4.3.0
-runtime.any.system.runtime.interopservices@4.3.0
-runtime.any.system.runtime@4.3.0
-runtime.any.system.text.encoding.extensions@4.3.0
-runtime.any.system.text.encoding@4.3.0
-runtime.any.system.threading.tasks@4.3.0
-runtime.any.system.threading.timer@4.3.0
-runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.native.system.io.compression@4.1.0
-runtime.native.system.net.http@4.0.1
-runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.native.system.security.cryptography@4.0.0
-runtime.native.system@4.0.0
-runtime.native.system@4.3.0
-runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.unix.microsoft.win32.primitives@4.3.0
-runtime.unix.system.console@4.3.0
-runtime.unix.system.diagnostics.debug@4.3.0
-runtime.unix.system.io.filesystem@4.3.0

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

2024-04-13 Thread Maciej Barć
commit: e63f446626cf51238f60dadc097a6e502363db6b
Author: Maciej Barć  gentoo  org>
AuthorDate: Sat Apr 13 22:49:55 2024 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Sat Apr 13 22:55:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e63f4466

dev-lang/fennel: remove failing ppc tests

Closes: https://bugs.gentoo.org/929927
Signed-off-by: Maciej Barć  gentoo.org>

 dev-lang/fennel/{fennel-1.4.0-r1.ebuild => fennel-1.4.0-r2.ebuild} | 6 +-
 dev-lang/fennel/{fennel-1.4.2.ebuild => fennel-1.4.2-r1.ebuild}| 6 +-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/dev-lang/fennel/fennel-1.4.0-r1.ebuild 
b/dev-lang/fennel/fennel-1.4.0-r2.ebuild
similarity index 86%
rename from dev-lang/fennel/fennel-1.4.0-r1.ebuild
rename to dev-lang/fennel/fennel-1.4.0-r2.ebuild
index 367c7a62e82d..68ee8a548f2b 100644
--- a/dev-lang/fennel/fennel-1.4.0-r1.ebuild
+++ b/dev-lang/fennel/fennel-1.4.0-r2.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 # Fails to build with with "lua5-1".
-LUA_COMPAT=( lua5-{3,4} )
+LUA_COMPAT=( lua5-{3,4} luajit )
 
 inherit lua-single
 
@@ -39,6 +39,10 @@ src_prepare() {
 
# Turn off failing tests. bug https://bugs.gentoo.org/906351
sed -e 's|"failures",||' -e 's|"repl",||' -i test/init.lua || die
+
+   # Remove bad tests, bug #923281
+   rm test/macro.fnl || die
+   sed -i test/init.lua -e 's|"test.macro",||' || die
 }
 
 src_test() {

diff --git a/dev-lang/fennel/fennel-1.4.2.ebuild 
b/dev-lang/fennel/fennel-1.4.2-r1.ebuild
similarity index 86%
rename from dev-lang/fennel/fennel-1.4.2.ebuild
rename to dev-lang/fennel/fennel-1.4.2-r1.ebuild
index 2970b228386f..71f067aa7941 100644
--- a/dev-lang/fennel/fennel-1.4.2.ebuild
+++ b/dev-lang/fennel/fennel-1.4.2-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 # Fails to build with with "lua5-1".
-LUA_COMPAT=( lua5-{3,4} )
+LUA_COMPAT=( lua5-{3,4} luajit )
 
 inherit lua-single
 
@@ -39,6 +39,10 @@ src_prepare() {
 
# Turn off failing tests. bug https://bugs.gentoo.org/906351
sed -e 's|"failures",||' -e 's|"repl",||' -i test/init.lua || die
+
+   # Remove bad tests, bug #923281
+   rm test/macro.fnl || die
+   sed -i test/init.lua -e 's|"test.macro",||' || die
 }
 
 src_test() {



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

2024-04-13 Thread Maciej Barć
commit: b35eec60fcb7f6d0d7e9c539a42b3a7f51153c71
Author: Maciej Barć  gentoo  org>
AuthorDate: Sat Apr 13 22:14:03 2024 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Sat Apr 13 22:55:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b35eec60

dev-lang/boogie: bump to 3.1.4

Signed-off-by: Maciej Barć  gentoo.org>

 dev-lang/boogie/Manifest|   1 +
 dev-lang/boogie/boogie-3.1.4.ebuild | 303 
 2 files changed, 304 insertions(+)

diff --git a/dev-lang/boogie/Manifest b/dev-lang/boogie/Manifest
index d8dc77c4d964..6cacf40b8881 100644
--- a/dev-lang/boogie/Manifest
+++ b/dev-lang/boogie/Manifest
@@ -1,5 +1,6 @@
 DIST boogie-3.1.2.tar.gz 2038757 BLAKE2B 
5e20b8c4d02fb623a9b7ae053677ae148d1d5db8a3a7530088a56f25fed1708946ca9bf9f2509fecfe994963b65c52a83238870d5060e7a787d2330b2cf98628
 SHA512 
218dbdcc979de6d8fb871596906a5403935b9dd06b8ad74eab2face0c7a1d04946b692fbe635e23bbad4b0a9e74de6159c53c38069be627ab6a916a09050a282
 DIST boogie-3.1.3.tar.gz 2038898 BLAKE2B 
4a5604d6b00ca81393ccf37c542bfed3f3983453b1fd390fc466e37c7133030f1b453c61f2907bb399fe2891e134dcf3dc86b1ac562cd4ed34b634625320497d
 SHA512 
2ae4bd267ea4636c4f52cb7aae0907db9b8411d6f19d35a9338237ef7820f6cf03ebe9939497fe34a646e8b1f69da0882a5765bcc1224bb8cdfd2a7f999d8862
+DIST boogie-3.1.4.tar.gz 2050762 BLAKE2B 
01a8faa38a3a7d134d8f5d54f2b8e0a6a2a07b11d46469c8dbd65d80987e3292cd61937437321e6f79ab55895f6dbe5cfdf410d311f314ab7ed69f684a48d98b
 SHA512 
76a9a4cb2ae2ac49db7fdbca049f797c1272b19e1a783541a74cd310b085c8bab5360fee4293d4f1478371ae26368751e2f658965023a4d7a7dc6b9d25489edb
 DIST microsoft.bcl.asyncinterfaces.6.0.0.nupkg 76354 BLAKE2B 
aca3f5db71e4037dbdd604aeaebcd0962ccc171915b77b4c409ab744bf0a469c7d588f9504fc7fa49e3863e9593b66b4083235cb49e812d1f87b3dadb32e6003
 SHA512 
221a05a0c910f7a87b620d8f3831ed392b4eb95d112bee274d35f27009ad2a26445de9d7cd235fe6fb4a03f2550874bda3be396edaf9c0852a9c23d7b099
 DIST microsoft.codecoverage.16.2.0.nupkg 3133582 BLAKE2B 
418cf403247d594cde0d827f8ca8690019a7631525f07993937085f4bbf8473364b4c99aea6e8b7b0020208d15fe0da63f0f4e69c273493c51ae011e8bd82667
 SHA512 
91f1d43fc038a20f5367d9aab669105dc7514dfbe749260b52789c09a75abcc6bdc000ee0c7f432231d4cc09e99bf5b863dd6289d813342f74d9dad23a651625
 DIST microsoft.csharp.4.0.1.nupkg 462346 BLAKE2B 
209ccebc9103b803d26ea1f0232245c3cd231078b03a83a0011a2a79a1a8a324a72c5b3fda94b2686fff170932f366e165f81a36a70df590a39c45d70778e4be
 SHA512 
c0e75a9162f28ba4c4572c8fac4fd4c8c97d6d3505a37683646ba5f7e5f6ac0da69d5200d2646054de90e8e08f893a10e514591b69b8273640842b2cf90bddec

diff --git a/dev-lang/boogie/boogie-3.1.4.ebuild 
b/dev-lang/boogie/boogie-3.1.4.ebuild
new file mode 100644
index ..d7ab20c085a9
--- /dev/null
+++ b/dev-lang/boogie/boogie-3.1.4.ebuild
@@ -0,0 +1,303 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DOTNET_PKG_COMPAT=8.0
+NUGETS="
+microsoft.bcl.asyncinterfaces@6.0.0
+microsoft.codecoverage@16.2.0
+microsoft.csharp@4.0.1
+microsoft.dotnet.internalabstractions@1.0.0
+microsoft.net.test.sdk@16.2.0
+microsoft.netcore.platforms@1.0.1
+microsoft.netcore.platforms@1.1.0
+microsoft.netcore.targets@1.0.1
+microsoft.netcore.targets@1.1.0
+microsoft.testplatform.objectmodel@16.2.0
+microsoft.testplatform.testhost@16.2.0
+microsoft.win32.primitives@4.0.1
+microsoft.win32.primitives@4.3.0
+microsoft.win32.registry@4.0.0
+microsoft.win32.registry@4.3.0
+microsoft.win32.systemevents@6.0.0
+netstandard.library@1.6.0
+netstandard.library@2.0.0
+newtonsoft.json@9.0.1
+nunit@3.12.0
+nunit3testadapter@3.15.1
+runtime.any.system.collections@4.3.0
+runtime.any.system.diagnostics.tools@4.3.0
+runtime.any.system.diagnostics.tracing@4.3.0
+runtime.any.system.globalization.calendars@4.3.0
+runtime.any.system.globalization@4.3.0
+runtime.any.system.io@4.3.0
+runtime.any.system.reflection.extensions@4.3.0
+runtime.any.system.reflection.primitives@4.3.0
+runtime.any.system.reflection@4.3.0
+runtime.any.system.resources.resourcemanager@4.3.0
+runtime.any.system.runtime.handles@4.3.0
+runtime.any.system.runtime.interopservices@4.3.0
+runtime.any.system.runtime@4.3.0
+runtime.any.system.text.encoding.extensions@4.3.0
+runtime.any.system.text.encoding@4.3.0
+runtime.any.system.threading.tasks@4.3.0
+runtime.any.system.threading.timer@4.3.0
+runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl@4.3.0
+runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl@4.3.0
+runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl@4.3.0
+runtime.native.system.io.compression@4.1.0
+runtime.native.system.net.http@4.0.1
+runtime.native.system.security.cryptography.openssl@4.3.0
+runtime.native.system.security.cryptography@4.0.0
+runtime.native.system@4.0.0
+runtime.native.system@4.3.0
+runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl@4.3.0

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

2024-04-13 Thread Maciej Barć
commit: b654f192e0cc6b2c3c0397c279c2db6d6a1a1db8
Author: Maciej Barć  gentoo  org>
AuthorDate: Sat Apr 13 22:07:37 2024 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Sat Apr 13 22:55:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b654f192

dev-lang/boogie: drop old 3.1.1

Signed-off-by: Maciej Barć  gentoo.org>

 dev-lang/boogie/Manifest|   1 -
 dev-lang/boogie/boogie-3.1.1.ebuild | 295 
 2 files changed, 296 deletions(-)

diff --git a/dev-lang/boogie/Manifest b/dev-lang/boogie/Manifest
index 2da38d8dc6a6..d8dc77c4d964 100644
--- a/dev-lang/boogie/Manifest
+++ b/dev-lang/boogie/Manifest
@@ -1,4 +1,3 @@
-DIST boogie-3.1.1.tar.gz 2038688 BLAKE2B 
ea720665dd9d830de0639b3b2fe08c452e80375e98b8ff9ced473c4beb540a2cb3908415bfbb1582edac9043c17dcbfc014d2dd1dcc3ce0877db436c13a639bd
 SHA512 
704990ebd9b55e4f617249a5e2b4c74a615c61a51da41485eddd8c1b8159f16afd5da13e93f684a97d87c2e1273549977e04180423909c22b026e975d07a0ceb
 DIST boogie-3.1.2.tar.gz 2038757 BLAKE2B 
5e20b8c4d02fb623a9b7ae053677ae148d1d5db8a3a7530088a56f25fed1708946ca9bf9f2509fecfe994963b65c52a83238870d5060e7a787d2330b2cf98628
 SHA512 
218dbdcc979de6d8fb871596906a5403935b9dd06b8ad74eab2face0c7a1d04946b692fbe635e23bbad4b0a9e74de6159c53c38069be627ab6a916a09050a282
 DIST boogie-3.1.3.tar.gz 2038898 BLAKE2B 
4a5604d6b00ca81393ccf37c542bfed3f3983453b1fd390fc466e37c7133030f1b453c61f2907bb399fe2891e134dcf3dc86b1ac562cd4ed34b634625320497d
 SHA512 
2ae4bd267ea4636c4f52cb7aae0907db9b8411d6f19d35a9338237ef7820f6cf03ebe9939497fe34a646e8b1f69da0882a5765bcc1224bb8cdfd2a7f999d8862
 DIST microsoft.bcl.asyncinterfaces.6.0.0.nupkg 76354 BLAKE2B 
aca3f5db71e4037dbdd604aeaebcd0962ccc171915b77b4c409ab744bf0a469c7d588f9504fc7fa49e3863e9593b66b4083235cb49e812d1f87b3dadb32e6003
 SHA512 
221a05a0c910f7a87b620d8f3831ed392b4eb95d112bee274d35f27009ad2a26445de9d7cd235fe6fb4a03f2550874bda3be396edaf9c0852a9c23d7b099

diff --git a/dev-lang/boogie/boogie-3.1.1.ebuild 
b/dev-lang/boogie/boogie-3.1.1.ebuild
deleted file mode 100644
index 412d21a3c9d6..
--- a/dev-lang/boogie/boogie-3.1.1.ebuild
+++ /dev/null
@@ -1,295 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DOTNET_PKG_COMPAT=8.0
-NUGETS="
-microsoft.bcl.asyncinterfaces@6.0.0
-microsoft.codecoverage@16.2.0
-microsoft.csharp@4.0.1
-microsoft.dotnet.internalabstractions@1.0.0
-microsoft.net.test.sdk@16.2.0
-microsoft.netcore.platforms@1.0.1
-microsoft.netcore.platforms@1.1.0
-microsoft.netcore.targets@1.0.1
-microsoft.netcore.targets@1.1.0
-microsoft.testplatform.objectmodel@16.2.0
-microsoft.testplatform.testhost@16.2.0
-microsoft.win32.primitives@4.0.1
-microsoft.win32.primitives@4.3.0
-microsoft.win32.registry@4.0.0
-microsoft.win32.registry@4.3.0
-microsoft.win32.systemevents@6.0.0
-netstandard.library@1.6.0
-netstandard.library@2.0.0
-newtonsoft.json@9.0.1
-nunit@3.12.0
-nunit3testadapter@3.15.1
-runtime.any.system.collections@4.3.0
-runtime.any.system.diagnostics.tools@4.3.0
-runtime.any.system.diagnostics.tracing@4.3.0
-runtime.any.system.globalization.calendars@4.3.0
-runtime.any.system.globalization@4.3.0
-runtime.any.system.io@4.3.0
-runtime.any.system.reflection.extensions@4.3.0
-runtime.any.system.reflection.primitives@4.3.0
-runtime.any.system.reflection@4.3.0
-runtime.any.system.resources.resourcemanager@4.3.0
-runtime.any.system.runtime.handles@4.3.0
-runtime.any.system.runtime.interopservices@4.3.0
-runtime.any.system.runtime@4.3.0
-runtime.any.system.text.encoding.extensions@4.3.0
-runtime.any.system.text.encoding@4.3.0
-runtime.any.system.threading.tasks@4.3.0
-runtime.any.system.threading.timer@4.3.0
-runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.native.system.io.compression@4.1.0
-runtime.native.system.net.http@4.0.1
-runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.native.system.security.cryptography@4.0.0
-runtime.native.system@4.0.0
-runtime.native.system@4.3.0
-runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.unix.microsoft.win32.primitives@4.3.0
-runtime.unix.system.console@4.3.0
-runtime.unix.system.diagnostics.debug@4.3.0
-runtime.unix.system.io.filesystem@4.3.0

[gentoo-commits] repo/gentoo:master commit in: app-emacs/elpy/

2024-04-13 Thread Maciej Barć
commit: de2d3b0c5f990d885aa2247aacd776393b203586
Author: Maciej Barć  gentoo  org>
AuthorDate: Sat Apr 13 22:06:07 2024 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Sat Apr 13 22:55:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de2d3b0c

app-emacs/elpy: enable py3.12 compat

Closes: https://bugs.gentoo.org/929303
Closes: https://bugs.gentoo.org/885897
Signed-off-by: Maciej Barć  gentoo.org>

 ...0627.ebuild => elpy-1.35.0_p20220627-r1.ebuild} | 47 +++---
 1 file changed, 32 insertions(+), 15 deletions(-)

diff --git a/app-emacs/elpy/elpy-1.35.0_p20220627.ebuild 
b/app-emacs/elpy/elpy-1.35.0_p20220627-r1.ebuild
similarity index 52%
rename from app-emacs/elpy/elpy-1.35.0_p20220627.ebuild
rename to app-emacs/elpy/elpy-1.35.0_p20220627-r1.ebuild
index eab92e1f5156..dbb7bd8ac1ba 100644
--- a/app-emacs/elpy/elpy-1.35.0_p20220627.ebuild
+++ b/app-emacs/elpy/elpy-1.35.0_p20220627-r1.ebuild
@@ -1,25 +1,33 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-[[ ${PV} == *_p20220627 ]] && COMMIT=de31d30003c515c25ff7bfd3a361c70c298f78bb
-
 DISTUTILS_SINGLE_IMPL=ON
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1 elisp
 
 DESCRIPTION="Emacs Python Development Environment"
 HOMEPAGE="https://github.com/jorgenschaefer/elpy/;
-SRC_URI="https://github.com/jorgenschaefer/${PN}/archive/${COMMIT}.tar.gz
-   -> ${P}.tar.gz"
-S="${WORKDIR}"/${PN}-${COMMIT}
+
+if [[ "${PV}" == ** ]] ; then
+   inherit git-r3
+
+   EGIT_REPO_URI="https://github.com/jorgenschaefer/${PN}.git;
+else
+   [[ "${PV}" == *_p20220627 ]] && 
COMMIT=de31d30003c515c25ff7bfd3a361c70c298f78bb
+
+   
SRC_URI="https://github.com/jorgenschaefer/${PN}/archive/${COMMIT}.tar.gz
+   -> ${P}.tar.gz"
+   S="${WORKDIR}/${PN}-${COMMIT}"
+
+   KEYWORDS="~amd64 ~x86"
+fi
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 
@@ -29,7 +37,9 @@ RDEPEND="
app-emacs/pyvenv
app-emacs/s
app-emacs/yasnippet
-   $(python_gen_cond_dep 'dev-python/flake8[${PYTHON_USEDEP}]')
+   $(python_gen_cond_dep '
+   dev-python/flake8[${PYTHON_USEDEP}]
+   ')
 "
 BDEPEND="
${RDEPEND}
@@ -42,9 +52,13 @@ BDEPEND="
)
 "
 
+ELISP_REMOVE="
+   elpy/tests/test_black.py
+   elpy/tests/test_yapf.py
+"
 PATCHES=(
-   "${FILESDIR}"/${PN}-elpy.el-yas-snippet-dirs.patch
-   "${FILESDIR}"/${PN}-elpy-rpc.el-elpy-rpc-pythonpath.patch
+   "${FILESDIR}/${PN}-elpy.el-yas-snippet-dirs.patch"
+   "${FILESDIR}/${PN}-elpy-rpc.el-elpy-rpc-pythonpath.patch"
 )
 
 DOCS=( CONTRIBUTING.rst README.rst )
@@ -60,10 +74,13 @@ pkg_setup() {
 
 src_prepare() {
distutils-r1_src_prepare
-   rm elpy/tests/test_black.py || die
 
-   sed -i "s|@SITEETC@|${EPREFIX}${SITEETC}/${PN}|" ${PN}.el || die
-   sed -i "s|@PYTHONLIB@|${EPREFIX}/usr/lib/${EPYTHON}|" ${PN}-rpc.el || 
die
+   sed -i "${PN}.el" -e "s|@SITEETC@|${EPREFIX}${SITEETC}/${PN}|" || die
+   sed -i "${PN}-rpc.el" -e "s|@PYTHONLIB@|${EPREFIX}/usr/lib/${EPYTHON}|" 
|| die
+
+   rm ${ELISP_REMOVE} || die
+   sed -i elpy/tests/support.py \
+   -e 
"s|test_should_get_oneline_docstring_for_modules|disabled_&|" || die
 }
 
 src_compile() {
@@ -79,6 +96,6 @@ src_install() {
distutils-r1_src_install
 
elisp_src_install
-   insinto ${SITEETC}/${PN}
+   insinto "${SITEETC}/${PN}"
doins -r snippets
 }



[gentoo-commits] repo/gentoo:master commit in: app-emacs/nginx-mode/

2024-04-13 Thread Maciej Barć
commit: 142443918666464d989b213f821bc14ca2935be7
Author: Maciej Barć  gentoo  org>
AuthorDate: Sat Apr 13 11:43:36 2024 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Sat Apr 13 22:55:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14244391

app-emacs/nginx-mode: bump to 1.1.10

Signed-off-by: Maciej Barć  gentoo.org>

 app-emacs/nginx-mode/Manifest |  1 +
 app-emacs/nginx-mode/nginx-mode-1.1.10.ebuild | 31 +++
 2 files changed, 32 insertions(+)

diff --git a/app-emacs/nginx-mode/Manifest b/app-emacs/nginx-mode/Manifest
index fab6b69bfc87..68b5d4977076 100644
--- a/app-emacs/nginx-mode/Manifest
+++ b/app-emacs/nginx-mode/Manifest
@@ -1 +1,2 @@
+DIST nginx-mode-1.1.10.tar.gz 3204 BLAKE2B 
e252c386d00e6c2a43ae4a8583189d4c06bf166e230b81b0f59449050376d539a7966f2e44a09ae70b42c5b51ea74fc8f84a1f15ebcb502f69001b2d564bd9e5
 SHA512 
93801701322afdbd6f02152108d69abd050bda9456b2016446d03c22ff1c886ec0d14da4be07f49c02ab2346b45480926c0ea4c00769233e4b32ad1a7cff4f00
 DIST nginx-mode-1.1.9.tar.gz 3290 BLAKE2B 
7a20632ed860e1e4f0f379f8c489bdb3f6a1eb09cf790ca4124dd08b631a101796fb96efc73672cc59b812c0136015d955a9d6bab2ccb223d777f299dd1c04c7
 SHA512 
a209b83f39696ccea8d45b0d90a25b4cdb56f85f1288ca9a7bf83b24a7d69ae2a1caea5e71f7c62ef693f8aac3e74e5dce7761b69ded7da037904df1c9d43536

diff --git a/app-emacs/nginx-mode/nginx-mode-1.1.10.ebuild 
b/app-emacs/nginx-mode/nginx-mode-1.1.10.ebuild
new file mode 100644
index ..272a59e9de15
--- /dev/null
+++ b/app-emacs/nginx-mode/nginx-mode-1.1.10.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Emacs editing mode for Nginx config files"
+HOMEPAGE="http://github.com/ajc/nginx-mode/;
+
+if [[ "${PV}" == ** ]] ; then
+   inherit git-r3
+
+   EGIT_REPO_URI="https://github.com/ajc/${PN}.git;
+else
+   SRC_URI="https://github.com/ajc/${PN}/archive/v${PV}.tar.gz
+   -> ${P}.tar.gz"
+
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+
+DOCS=( README.md )
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+   elisp_src_compile
+   elisp-make-autoload-file
+}



[gentoo-commits] repo/gentoo:master commit in: app-emacs/cape/

2024-04-13 Thread Maciej Barć
commit: 29ecd6414353375ea1860c573a88a1efe8a83c33
Author: Maciej Barć  gentoo  org>
AuthorDate: Sat Apr 13 11:37:48 2024 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Sat Apr 13 22:55:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29ecd641

app-emacs/cape: drop old 1.3

Signed-off-by: Maciej Barć  gentoo.org>

 app-emacs/cape/Manifest|  1 -
 app-emacs/cape/cape-1.3.ebuild | 40 
 2 files changed, 41 deletions(-)

diff --git a/app-emacs/cape/Manifest b/app-emacs/cape/Manifest
index a7263e3e4180..7c3a1148e4c4 100644
--- a/app-emacs/cape/Manifest
+++ b/app-emacs/cape/Manifest
@@ -1,3 +1,2 @@
-DIST cape-1.3.tar.gz 40141 BLAKE2B 
ab9ab2855eb2b38396e7479e7514e65065282e6bf7a04d35e0766c811976392ccb18f128e2ed608eafd9150099aa88203ddbe3d75b48c53f2748d076cfa7e2df
 SHA512 
abe987c0f67fa497d958f20f9e674a90a2ff8493adc865f3f961eee39f5e8367a1e78948e29a2336e973a187fb7e2f60786bb278b07f95d23376aae314ab6aa1
 DIST cape-1.4.tar.gz 40299 BLAKE2B 
c1075551b2d1ba9555b41993067a4c96b122a3dd7147cb5378bfc2f41ac20e67606b4d0805adc35fe13d9cf70cb5b83ec86ae88471d2af9d6ceb8849b447938a
 SHA512 
9890ec51b1202a1644767bf57d4174f388d90246a9d2b97e3f2c13c5a07371be3003b11275e2ba0cb41f0898f9185774e91db141947999ca4e8e31bc0e3efd22
 DIST cape-1.5.tar.gz 41327 BLAKE2B 
5bf499786483161e485764b64dfe70f8aaf21e176e72f9a755fe0d681d107e690b28bc0c7d841b62154616e1dc38bf475577e7357719ce4e82a1184ac849e198
 SHA512 
d47e9c8b78a51e93e6dbd6c41440021eb117cb5c865a27cebeaf25a00891b7d315593e542f416c2b47c38f768b3fa663361f31798523534d60168dd68f2714b3

diff --git a/app-emacs/cape/cape-1.3.ebuild b/app-emacs/cape/cape-1.3.ebuild
deleted file mode 100644
index 99068b9ad304..
--- a/app-emacs/cape/cape-1.3.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-NEED_EMACS=27.1
-
-inherit elisp
-
-DESCRIPTION="Completion At Point Extensions"
-HOMEPAGE="https://github.com/minad/cape/;
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/minad/${PN}.git;
-else
-   SRC_URI="https://github.com/minad/${PN}/archive/refs/tags/${PV}.tar.gz
-   -> ${P}.tar.gz"
-   KEYWORDS="~amd64"
-fi
-
-LICENSE="GPL-3+"
-SLOT="0"
-
-RDEPEND="
-   >=app-emacs/compat-29.1.4.0
-"
-DEPEND="
-   ${RDEPEND}
-"
-
-DOCS=( CHANGELOG.org README.org )
-ELISP_TEXINFO="${PN}.texi"
-SITEFILE="50${PN}-gentoo.el"
-
-src_compile() {
-   elisp-org-export-to texinfo README.org
-   elisp_src_compile
-   elisp-make-autoload-file
-}



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

2024-04-13 Thread Maciej Barć
commit: 38d9fd370922921c0a0beee36c50fa9ba67ab800
Author: Maciej Barć  gentoo  org>
AuthorDate: Sat Apr 13 22:06:58 2024 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Sat Apr 13 22:55:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38d9fd37

dev-lang/boogie: drop old 3.0.11

Signed-off-by: Maciej Barć  gentoo.org>

 dev-lang/boogie/Manifest |   1 -
 dev-lang/boogie/boogie-3.0.11.ebuild | 300 ---
 2 files changed, 301 deletions(-)

diff --git a/dev-lang/boogie/Manifest b/dev-lang/boogie/Manifest
index 5386b8f05e09..cf3f3127842c 100644
--- a/dev-lang/boogie/Manifest
+++ b/dev-lang/boogie/Manifest
@@ -1,4 +1,3 @@
-DIST boogie-3.0.11.tar.gz 2044740 BLAKE2B 
b8c1cde7ad4b10deabb9ca9edbf226f580512a3817e9a19a947c7bd5d26808c08e907237aad2209ec06e645fa7ef40c8d73fec812437585b27adf4e125d5b1a0
 SHA512 
fe59fb1ed2708a5d988a569dd14148e308966ca6382da8502a2c679d67121b39f60e03e9ed6f7efa80c079c818db008c99e1f5e6bc28ba617fe33ae6289c2cce
 DIST boogie-3.0.12.tar.gz 2044818 BLAKE2B 
0d11cb1288933b1046b46ea3b93336fe08b9897a4aaf42228971e280be2c648b2110d20aaf6533e6d95e51b0a86c1fe507da05eaa908dc0ed885192e9480d0e7
 SHA512 
e2c1d4faad1bb448dd3cd9f6dbd4c70fa913584ef1bedd4938298498850bc6a0b6017924a55d9b48c82189253c2ac8c84a2564afa2d9b237434ad40ea286fbec
 DIST boogie-3.1.1.tar.gz 2038688 BLAKE2B 
ea720665dd9d830de0639b3b2fe08c452e80375e98b8ff9ced473c4beb540a2cb3908415bfbb1582edac9043c17dcbfc014d2dd1dcc3ce0877db436c13a639bd
 SHA512 
704990ebd9b55e4f617249a5e2b4c74a615c61a51da41485eddd8c1b8159f16afd5da13e93f684a97d87c2e1273549977e04180423909c22b026e975d07a0ceb
 DIST boogie-3.1.2.tar.gz 2038757 BLAKE2B 
5e20b8c4d02fb623a9b7ae053677ae148d1d5db8a3a7530088a56f25fed1708946ca9bf9f2509fecfe994963b65c52a83238870d5060e7a787d2330b2cf98628
 SHA512 
218dbdcc979de6d8fb871596906a5403935b9dd06b8ad74eab2face0c7a1d04946b692fbe635e23bbad4b0a9e74de6159c53c38069be627ab6a916a09050a282

diff --git a/dev-lang/boogie/boogie-3.0.11.ebuild 
b/dev-lang/boogie/boogie-3.0.11.ebuild
deleted file mode 100644
index 86a1c4aef664..
--- a/dev-lang/boogie/boogie-3.0.11.ebuild
+++ /dev/null
@@ -1,300 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DOTNET_PKG_COMPAT=8.0
-NUGETS="
-microsoft.bcl.asyncinterfaces@6.0.0
-microsoft.codecoverage@16.2.0
-microsoft.csharp@4.0.1
-microsoft.dotnet.internalabstractions@1.0.0
-microsoft.net.test.sdk@16.2.0
-microsoft.netcore.platforms@1.0.1
-microsoft.netcore.platforms@1.1.0
-microsoft.netcore.targets@1.0.1
-microsoft.netcore.targets@1.1.0
-microsoft.testplatform.objectmodel@16.2.0
-microsoft.testplatform.testhost@16.2.0
-microsoft.win32.primitives@4.0.1
-microsoft.win32.primitives@4.3.0
-microsoft.win32.registry@4.0.0
-microsoft.win32.registry@4.3.0
-microsoft.win32.systemevents@6.0.0
-netstandard.library@1.6.0
-netstandard.library@2.0.0
-newtonsoft.json@9.0.1
-nunit@3.12.0
-nunit3testadapter@3.15.1
-runtime.any.system.collections@4.3.0
-runtime.any.system.diagnostics.tools@4.3.0
-runtime.any.system.diagnostics.tracing@4.3.0
-runtime.any.system.globalization.calendars@4.3.0
-runtime.any.system.globalization@4.3.0
-runtime.any.system.io@4.3.0
-runtime.any.system.reflection.extensions@4.3.0
-runtime.any.system.reflection.primitives@4.3.0
-runtime.any.system.reflection@4.3.0
-runtime.any.system.resources.resourcemanager@4.3.0
-runtime.any.system.runtime.handles@4.3.0
-runtime.any.system.runtime.interopservices@4.3.0
-runtime.any.system.runtime@4.3.0
-runtime.any.system.text.encoding.extensions@4.3.0
-runtime.any.system.text.encoding@4.3.0
-runtime.any.system.threading.tasks@4.3.0
-runtime.any.system.threading.timer@4.3.0
-runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.native.system.io.compression@4.1.0
-runtime.native.system.net.http@4.0.1
-runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.native.system.security.cryptography@4.0.0
-runtime.native.system@4.0.0
-runtime.native.system@4.3.0
-runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl@4.3.0
-runtime.unix.microsoft.win32.primitives@4.3.0
-runtime.unix.system.console@4.3.0
-runtime.unix.system.diagnostics.debug@4.3.0
-runtime.unix.system.io.filesystem@4.3.0

[gentoo-commits] repo/gentoo:master commit in: app-emacs/exec-path-from-shell/

2024-04-13 Thread Maciej Barć
commit: 21a9fad57f77e88c8ff1b0a84fcb073ef526e803
Author: Maciej Barć  gentoo  org>
AuthorDate: Sat Apr 13 11:41:03 2024 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Sat Apr 13 22:55:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21a9fad5

app-emacs/exec-path-from-shell: bump to 2.2

Signed-off-by: Maciej Barć  gentoo.org>

 app-emacs/exec-path-from-shell/Manifest|  1 +
 .../exec-path-from-shell-2.2.ebuild| 31 ++
 2 files changed, 32 insertions(+)

diff --git a/app-emacs/exec-path-from-shell/Manifest 
b/app-emacs/exec-path-from-shell/Manifest
index da48b37f5a24..aea18b416c4e 100644
--- a/app-emacs/exec-path-from-shell/Manifest
+++ b/app-emacs/exec-path-from-shell/Manifest
@@ -1 +1,2 @@
 DIST exec-path-from-shell-2.1.tar.gz 18673 BLAKE2B 
fd1d3c1cc6d7ce89eacbf9cd3cfe737a1867723dda28993ee049d91437dc8a17edf07ec1e4a121eae384deebfde934e371168ee6870e09886483cecce1bc306e
 SHA512 
bd211756fa06115af45db6d9fb351f3affb0d59ae717643c9e4df422e63ddb780edf642d030db5b039e2759b2bfca948f7638d2dbd3ac84f3c2b8814b4a085f3
+DIST exec-path-from-shell-2.2.tar.gz 18935 BLAKE2B 
7b255664037a68c3ec67fd3ed404a35d834f69431152f6baaa4c8f85aa8565968ad6cc59f8674d06dd86befd9d13fbf2f39b1347395451fc8bb9eb43138e9e0d
 SHA512 
75bd4dd96c7224a7daf9709e5508ff45b3b7541713267282ff9a31e357e74e2ff8ad054193c1753e2d2f824206abcff5485fe7710037974c536b4afc87500b09

diff --git a/app-emacs/exec-path-from-shell/exec-path-from-shell-2.2.ebuild 
b/app-emacs/exec-path-from-shell/exec-path-from-shell-2.2.ebuild
new file mode 100644
index ..d2795541094c
--- /dev/null
+++ b/app-emacs/exec-path-from-shell/exec-path-from-shell-2.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Ensure environment variables inside Emacs are the same as in 
shell"
+HOMEPAGE="https://github.com/purcell/exec-path-from-shell/;
+
+if [[ "${PV}" == ** ]] ; then
+   inherit git-r3
+
+   EGIT_REPO_URI="https://github.com/purcell/${PN}.git;
+else
+   SRC_URI="https://github.com/purcell/${PN}/archive/${PV}.tar.gz
+   -> ${P}.tar.gz"
+
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+DOCS=( README.md )
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+   elisp_src_compile
+   elisp-make-autoload-file
+}



[gentoo-commits] repo/gentoo:master commit in: app-emacs/pymacs/files/, app-emacs/pymacs/

2024-04-13 Thread Maciej Barć
commit: 83e926029ae787486fc19a30d517b7f6682b21f7
Author: Maciej Barć  gentoo  org>
AuthorDate: Sat Apr 13 13:58:53 2024 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Sat Apr 13 22:55:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83e92602

app-emacs/pymacs: port to py3.12

Closes: https://bugs.gentoo.org/929304
Signed-off-by: Maciej Barć  gentoo.org>

 app-emacs/pymacs/files/pymacs-0.26-setup.patch | 11 ++
 ...pymacs-0.26-r4.ebuild => pymacs-0.26-r5.ebuild} | 25 +++---
 2 files changed, 23 insertions(+), 13 deletions(-)

diff --git a/app-emacs/pymacs/files/pymacs-0.26-setup.patch 
b/app-emacs/pymacs/files/pymacs-0.26-setup.patch
new file mode 100644
index ..5d774b7d4dfb
--- /dev/null
+++ b/app-emacs/pymacs/files/pymacs-0.26-setup.patch
@@ -0,0 +1,11 @@
+--- a/setup.py
 b/setup.py
+@@ -70,7 +70,7 @@ def cfg_to_args(path='setup.cfg'):
+ config = RawConfigParser()
+ f = codecs.open(path, encoding='utf-8')
+ try:
+-config.readfp(f)
++config.read_file(f)
+ finally:
+ f.close()
+ 

diff --git a/app-emacs/pymacs/pymacs-0.26-r4.ebuild 
b/app-emacs/pymacs/pymacs-0.26-r5.ebuild
similarity index 71%
rename from app-emacs/pymacs/pymacs-0.26-r4.ebuild
rename to app-emacs/pymacs/pymacs-0.26-r5.ebuild
index bebfd8782b42..0cc4eacd125b 100644
--- a/app-emacs/pymacs/pymacs-0.26-r4.ebuild
+++ b/app-emacs/pymacs/pymacs-0.26-r5.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit elisp distutils-r1
 
@@ -12,13 +12,15 @@ DESCRIPTION="A tool that allows both-side communication 
between Python and Emacs
 HOMEPAGE="https://www.emacswiki.org/emacs/PyMacs
https://github.com/dgentry/Pymacs/;
 
-if [[ ${PV} == ** ]] ; then
+if [[ "${PV}" == ** ]] ; then
inherit git-r3
+
EGIT_REPO_URI="https://github.com/dgentry/${PN^}.git;
 else
SRC_URI="https://github.com/dgentry/${PN^}/archive/v${PV}.tar.gz
-> ${P}.tar.gz"
-   S="${WORKDIR}"/${P^}
+   S="${WORKDIR}/${P^}"
+
KEYWORDS="amd64 arm ~hppa ~ia64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~ppc-macos"
 fi
 
@@ -33,16 +35,13 @@ BDEPEND="
)
 "
 
-DOCS=( ${PN}.rst )
+PATCHES=( "${FILESDIR}/${PN}-0.26-setup.patch"  )
+
+DOCS=( "${PN}.rst" )
 SITEFILE="50${PN}-gentoo.el"
 
 python_configure() {
-   emake PYSETUP=: PYTHON=${EPYTHON} prepare
-}
-
-src_prepare() {
-   distutils-r1_src_prepare
-   elisp_src_prepare
+   emake PYSETUP=":" PYTHON="${EPYTHON}" prepare
 }
 
 src_compile() {
@@ -50,7 +49,7 @@ src_compile() {
elisp_src_compile
 
if use doc; then
-   VARTEXFONTS="${T}"/fonts emake RST2LATEX=rst2latex.py ${PN}.pdf
+   VARTEXFONTS="${T}/fonts" emake RST2LATEX="rst2latex.py" 
"${PN}.pdf"
fi
 }
 
@@ -58,5 +57,5 @@ src_install() {
distutils-r1_src_install
elisp_src_install
 
-   use doc && dodoc ${PN}.pdf
+   use doc && dodoc "${PN}.pdf"
 }



[gentoo-commits] repo/gentoo:master commit in: app-emacs/uxntal-mode/

2024-04-13 Thread Maciej Barć
commit: 48545aaef32fe9e3586ed16051f97c87f0a9583f
Author: Maciej Barć  gentoo  org>
AuthorDate: Sat Apr 13 11:37:07 2024 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Sat Apr 13 22:55:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48545aae

app-emacs/uxntal-mode: drop old 0.2

Signed-off-by: Maciej Barć  gentoo.org>

 app-emacs/uxntal-mode/Manifest   |  1 -
 app-emacs/uxntal-mode/uxntal-mode-0.2.ebuild | 19 ---
 2 files changed, 20 deletions(-)

diff --git a/app-emacs/uxntal-mode/Manifest b/app-emacs/uxntal-mode/Manifest
index f3d299f7d0ab..4507db7f027f 100644
--- a/app-emacs/uxntal-mode/Manifest
+++ b/app-emacs/uxntal-mode/Manifest
@@ -1,2 +1 @@
-DIST uxntal-mode-0.2.tar.gz 9450 BLAKE2B 
b8c3517f452c087aafce7fb1f0dd3dceca5160db27c59b24e1eb46eb0496768b330ab5a741fa809284817a3adcf1e4a46a16c6ec44e8d687f299b63e680eca46
 SHA512 
4f84a67831c9a43361849185c2ab097174a66c70bd2fd57ca175cb46977be5fef2797d52bd70ea6854a69c99cf94faaa8aa5a6f38ef306e895a42ae62de590a9
 DIST uxntal-mode-0.3.tar.gz 9906 BLAKE2B 
fc0126c99ebaae2f8f95b7364dc56341de012d7b010a13ac362dda2bc81b110f60bdb8c5e7d1f764b0368538e4657aa989e75797566499cd58e4b3f85ae12d66
 SHA512 
d161b96d8c80cd7e3761cf05ffb7f4711755c5ec2282fdb9ee0a2e77dc78f7ed059482641908c645371794c7d258e5f6fae0971d281e56e2e80397026b4fa441

diff --git a/app-emacs/uxntal-mode/uxntal-mode-0.2.ebuild 
b/app-emacs/uxntal-mode/uxntal-mode-0.2.ebuild
deleted file mode 100644
index 27a4bd542e1d..
--- a/app-emacs/uxntal-mode/uxntal-mode-0.2.ebuild
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-NEED_EMACS=27.1
-
-inherit elisp
-
-DESCRIPTION="GNU Emacs major mode for the uxntal assembly language"
-HOMEPAGE="https://github.com/non/uxntal-mode/;
-SRC_URI="https://github.com/non/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-DOCS=( README.md )
-SITEFILE="50${PN}-gentoo.el"



[gentoo-commits] repo/gentoo:master commit in: app-emacs/ninja-mode/, app-emacs/ninja-mode/files/

2024-04-13 Thread Maciej Barć
commit: 86ff2e5384aa9a64776df75ff6e0b7d3a4b02a61
Author: Maciej Barć  gentoo  org>
AuthorDate: Sat Apr 13 11:34:24 2024 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Sat Apr 13 22:55:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86ff2e53

app-emacs/ninja-mode: bump to 1.12.0

Signed-off-by: Maciej Barć  gentoo.org>

 app-emacs/ninja-mode/Manifest  |  1 +
 .../ninja-mode/files/50ninja-mode-gentoo-r1.el |  3 +++
 app-emacs/ninja-mode/ninja-mode-1.12.0.ebuild  | 31 ++
 3 files changed, 35 insertions(+)

diff --git a/app-emacs/ninja-mode/Manifest b/app-emacs/ninja-mode/Manifest
index 4ccdb98ca1a4..5a84814e8171 100644
--- a/app-emacs/ninja-mode/Manifest
+++ b/app-emacs/ninja-mode/Manifest
@@ -1 +1,2 @@
 DIST ninja-1.11.1.tar.gz 229479 BLAKE2B 
c96cf7c319b7abd65f644465688d256f8b3a576c4616d0c63852e25dd0dc5f63c66708d429d8dddb6228502eb147211a86a5dd369b80ec2228902b370d2343e5
 SHA512 
1bca38877c70ee6613f347ffccef5adc02ba0a3947c62ae004ea97f918442b5a3de92378e4f820ae2a7676bc7609d25fbc7d41f6cfb3a61e5e4b26ec3639e403
+DIST ninja-1.12.0.tar.gz 240291 BLAKE2B 
e7d721ab62164574b076f7cbf6d40fd2ee950534d124a58f5fe9e09bdae5895c8dc9dd7636a9f2f2b79774d6d9ba5f831e2c8b370826029af060fdc80fdc207f
 SHA512 
167cd838ad47815183b79302a6e19227d956e634ae9d4211f0895ea9f4d893932e1154a765a9d5a1a3167b1a48b398f255fb4f46eb1395a6da11070bda628875

diff --git a/app-emacs/ninja-mode/files/50ninja-mode-gentoo-r1.el 
b/app-emacs/ninja-mode/files/50ninja-mode-gentoo-r1.el
new file mode 100644
index ..30b88abef9be
--- /dev/null
+++ b/app-emacs/ninja-mode/files/50ninja-mode-gentoo-r1.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'ninja-mode "ninja-mode" "ninja" t)
+(add-to-list 'auto-mode-alist '("\\.ninja$" . ninja-mode))

diff --git a/app-emacs/ninja-mode/ninja-mode-1.12.0.ebuild 
b/app-emacs/ninja-mode/ninja-mode-1.12.0.ebuild
new file mode 100644
index ..5cbb51651d61
--- /dev/null
+++ b/app-emacs/ninja-mode/ninja-mode-1.12.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="GNU Emacs mode for handling Ninja build files"
+HOMEPAGE="https://github.com/ninja-build/ninja/;
+
+if [[ "${PV}" == ** ]] ; then
+   inherit git-r3
+
+   EGIT_REPO_URI="https://github.com/ninja-build/${PN/-mode}.git;
+else
+   
SRC_URI="https://github.com/ninja-build/${PN/-mode}/archive/v${PV}.tar.gz
+   -> ${P/-mode}.tar.gz"
+   S="${WORKDIR}/${P/-mode}/misc"
+
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos 
~x64-solaris"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+RDEPEND="
+   !

[gentoo-commits] repo/gentoo:master commit in: games-util/cartridges/

2024-04-13 Thread Maciej Barć
commit: 8b17f40a679e303d527adba2ad8fdd01c8d4a12d
Author: Maciej Barć  gentoo  org>
AuthorDate: Sat Apr 13 11:36:25 2024 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Sat Apr 13 22:55:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b17f40a

games-util/cartridges: drop old 2.7.3

Signed-off-by: Maciej Barć  gentoo.org>

 games-util/cartridges/Manifest|  1 -
 games-util/cartridges/cartridges-2.7.3.ebuild | 59 ---
 2 files changed, 60 deletions(-)

diff --git a/games-util/cartridges/Manifest b/games-util/cartridges/Manifest
index 770d11e622c7..70b8bb3e91e0 100644
--- a/games-util/cartridges/Manifest
+++ b/games-util/cartridges/Manifest
@@ -1,2 +1 @@
-DIST cartridges-2.7.3.tar.gz 1097578 BLAKE2B 
71ac72127d1034a9f4eb64250f3595d4ff5efa4e4f062e7bd0847e2e8a513dcdbe827c3bae93db875c8467beeb2012363654e54fe4ba62987b48578ba3c420dd
 SHA512 
67f9f9b4f4b396c57e989a0649f8261eed14729ad6bbc7d20557abe7d7c6e64ea7ef2cdcc80ef1aa6fe71b0bce34f91ed56e51595cbf9f14697aa439ea6ad601
 DIST cartridges-2.7.4.tar.gz 1099412 BLAKE2B 
0f15bbe53d8a893dd22b54b0b9435e8a301536c3654b99a302622655dc1207dc657ec21f9c0b8bb7526465126e62d86f7b35ce5561ccf0c275282ce04b685a44
 SHA512 
3f0c8b7fb83454296d5d676a5a69a8e6c9ae0e833a092b43a45fe0ff39c9eeeb0593a8ae8cf6bf936f84fa2ed8141d8c35fc26a4a05d4eb9ab04e04c627ae4e9

diff --git a/games-util/cartridges/cartridges-2.7.3.ebuild 
b/games-util/cartridges/cartridges-2.7.3.ebuild
deleted file mode 100644
index deb98cb4d395..
--- a/games-util/cartridges/cartridges-2.7.3.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit gnome2-utils python-single-r1 meson xdg
-
-DESCRIPTION="Simple game launcher written in Python using GTK4 and Libadwaita"
-HOMEPAGE="https://github.com/kra-mo/cartridges/;
-
-if [[ "${PV}" == ** ]] ; then
-   inherit git-r3
-
-   EGIT_REPO_URI="https://github.com/kra-mo/${PN}.git;
-else
-   SRC_URI="https://github.com/kra-mo/${PN}/archive/v${PV}.tar.gz
-   -> ${P}.tar.gz"
-
-   KEYWORDS="amd64 ~x86"
-fi
-
-LICENSE="GPL-3+"
-SLOT="0"
-RESTRICT="test" # Just appstream file validation that uses network.
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   >=gui-libs/libadwaita-1.4.0:1[introspection]
-   gui-libs/gtk:4[introspection]
-   $(python_gen_cond_dep '
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-   ')
-"
-BDEPEND="
-   ${RDEPEND}
-   dev-libs/appstream-glib
-   dev-util/blueprint-compiler
-   dev-util/desktop-file-utils
-"
-
-src_install() {
-   meson_src_install
-
-   python_fix_shebang "${ED}/usr/bin"
-   python_optimize "${ED}/usr"
-}
-
-pkg_postinst() {
-   gnome2_schemas_update
-   xdg_pkg_postinst
-}
-
-pkg_postrm() {
-   gnome2_schemas_update
-   xdg_pkg_postrm
-}



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

2024-04-13 Thread Maciej Barć
commit: 97aa294b7a7eb260acf8be8ab2b7225c53b66859
Author: Maciej Barć  gentoo  org>
AuthorDate: Sat Apr 13 11:13:39 2024 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Sat Apr 13 22:55:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97aa294b

dev-lang/crystal: drop old 1.12.0

Signed-off-by: Maciej Barć  gentoo.org>

 dev-lang/crystal/Manifest  |   2 -
 dev-lang/crystal/crystal-1.12.0.ebuild | 120 -
 2 files changed, 122 deletions(-)

diff --git a/dev-lang/crystal/Manifest b/dev-lang/crystal/Manifest
index c5cfcc8821e3..890098d53fae 100644
--- a/dev-lang/crystal/Manifest
+++ b/dev-lang/crystal/Manifest
@@ -1,6 +1,4 @@
 DIST crystal-1.11.2-1-linux-x86_64.tar.gz 46947860 BLAKE2B 
c3f08d8a399c139f2eb465857142ad6faaf6925459318d5e6b5b5b879974cc63f43c99f8b2d1fa852fe239a81c0341e24c84023b8b8113bc2bfe9e4fe03c8346
 SHA512 
54cf8e24d5bd87602a65d22dfa0bbe3520b49cedb430d0652066caf2f47d1cea1bafdb852133a886f3c3b324826212dfa82ac15475ef044016b4b8210e20da39
 DIST crystal-1.11.2.tar.gz 3620048 BLAKE2B 
3838f43897ba74a3c7f5717ba795f38cfd4265bbcbe11fa5a155d196afae40c60f7b5789c5d97e94eea1a1affb2cbd5c7fa9208e74a0fa7fa932b013e6124923
 SHA512 
e9b828539359fbae93799654f39b75c0c72764348ae279da326ac4ff4d2fa8e693c01956f5bc7ce1fff1504156049bf2b261c8defbde9cb690e1e84c13c8a296
-DIST crystal-1.12.0-1-linux-x86_64.tar.gz 47041886 BLAKE2B 
bdcfc974a8e37889455b07d3c9689a16ff72909819055a47167d5d1e6bd6f58ca6a89c395b7e8d9316a9db5df239586027b4c26b57f225a000a4b2697ff751af
 SHA512 
fbfc096f0f879614e6f38a40477eb8c2749eb29fe1b988a4eed30a8ea706cbc6a8bf61840396b9c918cada857fb3a095d9c713615c5eb072e08bf82f633561d6
-DIST crystal-1.12.0.tar.gz 3655308 BLAKE2B 
49f0d22cba830fefb3261c7411978eff6f2bb8845688d86c62b89376f5a5f2a5540ac97c6166e86553da93ad0cf2174853ca1bb0d7bc5af1df81adc1fce3f983
 SHA512 
69b2be677b6bda00e18054c1a18227feb3905fc7f5f235d7d70da6ce5463d0e0f3aa7cf57e7e986db6721753218235218aa3fd670cfdef3fbd71ebf43c6f25fa
 DIST crystal-1.12.1-1-linux-x86_64.tar.gz 47041074 BLAKE2B 
7e5d4a422144902de4b187947d55f9e8069d55f51013e10236fcf79b142ff96fc39973c883f5a633fbd10180553b6c82bdea824bff09d355fa171e4f5e308b68
 SHA512 
3256dc2340ed7b783bdf7e5f3d5c03cf981655ac2f50921aa53ada13cc72315d5a70515adb1c511f0f6e37c09310a963773b4f57eaeffe34c68e539edaaa7726
 DIST crystal-1.12.1.tar.gz 3657963 BLAKE2B 
42cf32dca63a2bdd2925b4970e2277cb163ddcdbcbc997b7c72b155024f642d03c5a565e82dfc8a2b1aed0d3f877633beb9d128eb592485c034bfdcbc3f5baab
 SHA512 
bd0c085d44a473b86797fa64ce9a5c66c7d3eda44bdba929faee490b635aef45bdf84b45baaa5dfea8e2b6fd218d1ae7fbdf117d3924b04b284075d4a500e55c

diff --git a/dev-lang/crystal/crystal-1.12.0.ebuild 
b/dev-lang/crystal/crystal-1.12.0.ebuild
deleted file mode 100644
index 02631f5f838f..
--- a/dev-lang/crystal/crystal-1.12.0.ebuild
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-BV="${PV}-1"
-BV_AMD64="${BV}-linux-x86_64"
-
-LLVM_MAX_SLOT=17
-
-inherit bash-completion-r1 llvm multiprocessing toolchain-funcs
-
-DESCRIPTION="The Crystal Programming Language"
-HOMEPAGE="https://crystal-lang.org/
-   https://github.com/crystal-lang/crystal/;
-SRC_URI="
-   https://github.com/crystal-lang/crystal/archive/${PV}.tar.gz
-   -> ${P}.tar.gz
-   amd64? (
-   
https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_AMD64}.tar.gz
-   )
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="doc debug llvm-libunwind"
-
-# Upstream test suite not reliable
-RESTRICT="test"
-
-DEPEND="
-   

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

2024-04-13 Thread Maciej Barć
commit: b28ff3ad7ccb826614ccdc144ca1e77877f8b751
Author: Maciej Barć  gentoo  org>
AuthorDate: Sat Apr 13 11:13:02 2024 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Sat Apr 13 22:55:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b28ff3ad

dev-lang/crystal: bump to 1.12.1

Signed-off-by: Maciej Barć  gentoo.org>

 dev-lang/crystal/Manifest  |   2 +
 dev-lang/crystal/crystal-1.12.1.ebuild | 120 +
 2 files changed, 122 insertions(+)

diff --git a/dev-lang/crystal/Manifest b/dev-lang/crystal/Manifest
index e1df16c98451..c5cfcc8821e3 100644
--- a/dev-lang/crystal/Manifest
+++ b/dev-lang/crystal/Manifest
@@ -2,3 +2,5 @@ DIST crystal-1.11.2-1-linux-x86_64.tar.gz 46947860 BLAKE2B 
c3f08d8a399c139f2eb46
 DIST crystal-1.11.2.tar.gz 3620048 BLAKE2B 
3838f43897ba74a3c7f5717ba795f38cfd4265bbcbe11fa5a155d196afae40c60f7b5789c5d97e94eea1a1affb2cbd5c7fa9208e74a0fa7fa932b013e6124923
 SHA512 
e9b828539359fbae93799654f39b75c0c72764348ae279da326ac4ff4d2fa8e693c01956f5bc7ce1fff1504156049bf2b261c8defbde9cb690e1e84c13c8a296
 DIST crystal-1.12.0-1-linux-x86_64.tar.gz 47041886 BLAKE2B 
bdcfc974a8e37889455b07d3c9689a16ff72909819055a47167d5d1e6bd6f58ca6a89c395b7e8d9316a9db5df239586027b4c26b57f225a000a4b2697ff751af
 SHA512 
fbfc096f0f879614e6f38a40477eb8c2749eb29fe1b988a4eed30a8ea706cbc6a8bf61840396b9c918cada857fb3a095d9c713615c5eb072e08bf82f633561d6
 DIST crystal-1.12.0.tar.gz 3655308 BLAKE2B 
49f0d22cba830fefb3261c7411978eff6f2bb8845688d86c62b89376f5a5f2a5540ac97c6166e86553da93ad0cf2174853ca1bb0d7bc5af1df81adc1fce3f983
 SHA512 
69b2be677b6bda00e18054c1a18227feb3905fc7f5f235d7d70da6ce5463d0e0f3aa7cf57e7e986db6721753218235218aa3fd670cfdef3fbd71ebf43c6f25fa
+DIST crystal-1.12.1-1-linux-x86_64.tar.gz 47041074 BLAKE2B 
7e5d4a422144902de4b187947d55f9e8069d55f51013e10236fcf79b142ff96fc39973c883f5a633fbd10180553b6c82bdea824bff09d355fa171e4f5e308b68
 SHA512 
3256dc2340ed7b783bdf7e5f3d5c03cf981655ac2f50921aa53ada13cc72315d5a70515adb1c511f0f6e37c09310a963773b4f57eaeffe34c68e539edaaa7726
+DIST crystal-1.12.1.tar.gz 3657963 BLAKE2B 
42cf32dca63a2bdd2925b4970e2277cb163ddcdbcbc997b7c72b155024f642d03c5a565e82dfc8a2b1aed0d3f877633beb9d128eb592485c034bfdcbc3f5baab
 SHA512 
bd0c085d44a473b86797fa64ce9a5c66c7d3eda44bdba929faee490b635aef45bdf84b45baaa5dfea8e2b6fd218d1ae7fbdf117d3924b04b284075d4a500e55c

diff --git a/dev-lang/crystal/crystal-1.12.1.ebuild 
b/dev-lang/crystal/crystal-1.12.1.ebuild
new file mode 100644
index ..02631f5f838f
--- /dev/null
+++ b/dev-lang/crystal/crystal-1.12.1.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+BV="${PV}-1"
+BV_AMD64="${BV}-linux-x86_64"
+
+LLVM_MAX_SLOT=17
+
+inherit bash-completion-r1 llvm multiprocessing toolchain-funcs
+
+DESCRIPTION="The Crystal Programming Language"
+HOMEPAGE="https://crystal-lang.org/
+   https://github.com/crystal-lang/crystal/;
+SRC_URI="
+   https://github.com/crystal-lang/crystal/archive/${PV}.tar.gz
+   -> ${P}.tar.gz
+   amd64? (
+   
https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_AMD64}.tar.gz
+   )
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc debug llvm-libunwind"
+
+# Upstream test suite not reliable
+RESTRICT="test"
+
+DEPEND="
+   

[gentoo-commits] repo/proj/guru:master commit in: games-fps/far-cry-demo/

2024-04-13 Thread Julien Roy
commit: f732a56b4d06883d3ff99102fb5710a690ce7081
Author: Vitaly Zdanevich  ya  ru>
AuthorDate: Sat Apr 13 21:36:34 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sat Apr 13 21:36:34 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f732a56b

games-fps/far-cry-demo: Path from /opt/games to /opt - for 
https://github.com/gentoo/guru/commit/588027158ca99b03954b78a6c432d3801e40c686

Signed-off-by: Vitaly Zdanevich  ya.ru>

 games-fps/far-cry-demo/far-cry-demo-.ebuild | 9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/games-fps/far-cry-demo/far-cry-demo-.ebuild 
b/games-fps/far-cry-demo/far-cry-demo-.ebuild
index 07734b7595..90f9770b8b 100644
--- a/games-fps/far-cry-demo/far-cry-demo-.ebuild
+++ b/games-fps/far-cry-demo/far-cry-demo-.ebuild
@@ -23,16 +23,15 @@ QA_PREBUILT="*"
 
 src_install() {
 
-   path="/opt/games/"
conty=conty-1.25.2
 
-   dodir $path
+   dodir opt
dodir /usr/bin
-   cp -r . "$ED/$path" || die
+   cp -r . "$ED/opt" || die
 
pr="WINEPREFIX=/home/\$USER/.wine-far-cry-demo"
 
-   echo "cd $path$PN; $pr $conty wine /opt/games/$PN/FarCry.exe; cd -" > 
"$ED/usr/bin/$PN"
+   echo "cd $path$PN; $pr $conty wine /opt/$PN/FarCry.exe; cd -" > 
"$ED/usr/bin/$PN"
fperms +x "/usr/bin/$PN"
 
 }
@@ -49,5 +48,5 @@ pkg_postinst() {
einfo "https://www.gog.com/game/far_cry;
einfo "https://www.humblebundle.com/store/far-cry;
einfo ""
-   einfo "The game is installed to $path$PN - if you want to run it by 
another Wine or operating system"
+   einfo "The game is installed to /opt/$PN - if you want to run it by 
another Wine or operating system"
 }



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/django-widget-tweaks/

2024-04-13 Thread Julien Roy
commit: 33e4032ecc43fed60f5121448f124739444a776b
Author: Julien Roy  jroy  ca>
AuthorDate: Sat Apr 13 21:40:19 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sat Apr 13 22:15:22 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=33e4032e

dev-python/django-widget-tweaks: enable py3.12

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

 dev-python/django-widget-tweaks/django-widget-tweaks-1.4.12.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/django-widget-tweaks/django-widget-tweaks-1.4.12.ebuild 
b/dev-python/django-widget-tweaks/django-widget-tweaks-1.4.12.ebuild
index 2107541bbc..a1391fd0c6 100644
--- a/dev-python/django-widget-tweaks/django-widget-tweaks-1.4.12.ebuild
+++ b/dev-python/django-widget-tweaks/django-widget-tweaks-1.4.12.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 DISTUTILS_USE_PEP517=setuptools
 inherit distutils-r1
 



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

2024-04-13 Thread Julien Roy
commit: 819030a80cbba12a8da9b640bfa21204b52b4349
Author: Julien Roy  jroy  ca>
AuthorDate: Sat Apr 13 21:53:09 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sat Apr 13 22:15:22 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=819030a8

dev-python/jinja2-cli: update SRC_URI

Closes: https://bugs.gentoo.org/879105
Signed-off-by: Julien Roy  jroy.ca>

 dev-python/jinja2-cli/jinja2-cli-0.8.2.ebuild | 14 --
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/dev-python/jinja2-cli/jinja2-cli-0.8.2.ebuild 
b/dev-python/jinja2-cli/jinja2-cli-0.8.2.ebuild
index 8270925b4c..d42ee151f6 100644
--- a/dev-python/jinja2-cli/jinja2-cli-0.8.2.ebuild
+++ b/dev-python/jinja2-cli/jinja2-cli-0.8.2.ebuild
@@ -1,16 +1,16 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} pypy3 )
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
 DISTUTILS_USE_PEP517=setuptools
 
 inherit distutils-r1
 
 DESCRIPTION="CLI for Jinja2"
 HOMEPAGE="https://github.com/mattrobenolt/jinja2-cli;
-SRC_URI="https://github.com/mattrobenolt/jinja2-cli/archive/refs/tags/${PV}.tar.gz
 -> ${P}.tar.gz"
+SRC_URI="https://github.com/mattrobenolt/jinja2-cli/archive/${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
@@ -21,10 +21,4 @@ RDEPEND="
dev-python/xmltodict[${PYTHON_USEDEP}]
 "
 
-src_prepare() {
-   distutils-r1_src_prepare
-}
-
-python_install_all() {
-   distutils-r1_python_install_all
-}
+distutils_enable_tests pytest



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

2024-04-13 Thread Julien Roy
commit: bae80fb4637f56f7710ae6e2bbb423c997902f0c
Author: Julien Roy  jroy  ca>
AuthorDate: Sat Apr 13 21:49:52 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sat Apr 13 22:15:22 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bae80fb4

dev-python/grpc-stubs: enable py3.12

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

 dev-python/grpc-stubs/grpc-stubs-1.53.0.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/grpc-stubs/grpc-stubs-1.53.0.3.ebuild 
b/dev-python/grpc-stubs/grpc-stubs-1.53.0.3.ebuild
index 373d990529..510b7365ce 100644
--- a/dev-python/grpc-stubs/grpc-stubs-1.53.0.3.ebuild
+++ b/dev-python/grpc-stubs/grpc-stubs-1.53.0.3.ebuild
@@ -1,10 +1,10 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_11 )
+PYTHON_COMPAT=( python3_{11..12} )
 inherit distutils-r1
 
 DESCRIPTION="gRPC typing stubs for Python"



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

2024-04-13 Thread Julien Roy
commit: 79e72551d7a57cdc36044067cef9096688ef4c62
Author: Julien Roy  jroy  ca>
AuthorDate: Sat Apr 13 22:15:08 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sat Apr 13 22:15:22 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=79e72551

dev-python/i3ipc: enable py3.12

Closes: https://bugs.gentoo.org/897446
Signed-off-by: Julien Roy  jroy.ca>

 dev-python/i3ipc/i3ipc-2.2.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/i3ipc/i3ipc-2.2.1-r1.ebuild 
b/dev-python/i3ipc/i3ipc-2.2.1-r1.ebuild
index a1115ee945..3099a4eb25 100644
--- a/dev-python/i3ipc/i3ipc-2.2.1-r1.ebuild
+++ b/dev-python/i3ipc/i3ipc-2.2.1-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517="setuptools"
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1 virtualx pypi
 



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

2024-04-13 Thread Julien Roy
commit: b98c06ae7be6fab447a70589b3542509909756b4
Author: Julien Roy  jroy  ca>
AuthorDate: Sat Apr 13 21:49:21 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sat Apr 13 22:15:22 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b98c06ae

dev-python/libusb1: use PEP517

Closes: https://bugs.gentoo.org/921757
Signed-off-by: Julien Roy  jroy.ca>

 dev-python/libusb1/{libusb1-2.0.1.ebuild => libusb1-2.0.1-r1.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/libusb1/libusb1-2.0.1.ebuild 
b/dev-python/libusb1/libusb1-2.0.1-r1.ebuild
similarity index 85%
rename from dev-python/libusb1/libusb1-2.0.1.ebuild
rename to dev-python/libusb1/libusb1-2.0.1-r1.ebuild
index 04c7ffcf70..89d04b7cef 100644
--- a/dev-python/libusb1/libusb1-2.0.1.ebuild
+++ b/dev-python/libusb1/libusb1-2.0.1-r1.ebuild
@@ -1,9 +1,10 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 PYTHON_COMPAT=( python3_{10,11} pypy3 )
+DISTUTILS_USE_PEP517=setuptools
 
 inherit distutils-r1 pypi
 



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

2024-04-13 Thread Julien Roy
commit: 3dce5ea91ec073e176abcc365dda05d166477401
Author: Julien Roy  jroy  ca>
AuthorDate: Sat Apr 13 21:40:05 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sat Apr 13 22:15:22 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3dce5ea9

dev-python/devtools: enable py3.12

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

 dev-python/devtools/devtools-0.10.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/devtools/devtools-0.10.0-r1.ebuild 
b/dev-python/devtools/devtools-0.10.0-r1.ebuild
index 5fa9ae14b8..bb84ed887b 100644
--- a/dev-python/devtools/devtools-0.10.0-r1.ebuild
+++ b/dev-python/devtools/devtools-0.10.0-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 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_COMPAT=( python3_{10..12} )
 
 DOCS_BUILDER=mkdocs
 DOCS_DEPEND=(



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

2024-04-13 Thread Julien Roy
commit: 401a84c2285f4e2b3fd4735ed94d482951aa3330
Author: Julien Roy  jroy  ca>
AuthorDate: Sat Apr 13 21:34:34 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sat Apr 13 22:15:21 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=401a84c2

dev-python/http-ece: enable py3.12

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

 dev-python/http-ece/http-ece-1.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/http-ece/http-ece-1.2.0.ebuild 
b/dev-python/http-ece/http-ece-1.2.0.ebuild
index e2a1c22bf1..1b66fed68a 100644
--- a/dev-python/http-ece/http-ece-1.2.0.ebuild
+++ b/dev-python/http-ece/http-ece-1.2.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 DISTUTILS_USE_PEP517=setuptools
 inherit distutils-r1 pypi
 



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

2024-04-13 Thread Julien Roy
commit: d1d35c2c03e2e527d32bb7804c4b4cecf58d78cc
Author: Julien Roy  jroy  ca>
AuthorDate: Sat Apr 13 21:35:36 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sat Apr 13 22:15:22 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d1d35c2c

dev-python/j1m-sphinxautozconfig: treeclean

Dependency with no revdep

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

 dev-python/j1m-sphinxautozconfig/Manifest  |  1 -
 .../j1m-sphinxautozconfig-0.1.0.ebuild | 23 --
 dev-python/j1m-sphinxautozconfig/metadata.xml  | 17 
 3 files changed, 41 deletions(-)

diff --git a/dev-python/j1m-sphinxautozconfig/Manifest 
b/dev-python/j1m-sphinxautozconfig/Manifest
deleted file mode 100644
index cbea93af5e..00
--- a/dev-python/j1m-sphinxautozconfig/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST j1m.sphinxautozconfig-0.1.0.tar.gz 2419 BLAKE2B 
8fa63ddbf29404edeb13b110b6432fadad49752f0c43cb57feef03276013979dc2b632e6b75b7b0d19ee273a23c8d0a401f6039e0005a2619a8d60516d98e478
 SHA512 
a6177d4ea94f79f3d5974f3633d553ddcfbfcd5e6734998005de929b6ed34273c7d8aaeea59d2b61bf49559c7f09563bce04ab46d371d06a9a4a2954fcff3178

diff --git 
a/dev-python/j1m-sphinxautozconfig/j1m-sphinxautozconfig-0.1.0.ebuild 
b/dev-python/j1m-sphinxautozconfig/j1m-sphinxautozconfig-0.1.0.ebuild
deleted file mode 100644
index d970db1b87..00
--- a/dev-python/j1m-sphinxautozconfig/j1m-sphinxautozconfig-0.1.0.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# 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} pypy3 )
-PYPI_NO_NORMALIZE=1
-PYPI_PN="${PN/-/\.}"
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Spinx support for ZConfig"
-HOMEPAGE="https://github.com/jimfulton/sphinxautozconfig;
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-python_compile() {
-   distutils-r1_python_compile
-   find "${BUILD_DIR}" -name '*.pth' -delete || die
-}

diff --git a/dev-python/j1m-sphinxautozconfig/metadata.xml 
b/dev-python/j1m-sphinxautozconfig/metadata.xml
deleted file mode 100644
index 102a28d423..00
--- a/dev-python/j1m-sphinxautozconfig/metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-https://www.gentoo.org/dtd/metadata.dtd;>
-
-   
-   Julien Roy
-   jul...@jroy.ca
-   
-   
-   
-   Jim Fulton
-   j...@jimfulton.info
-   
-   
https://github.com/jimfulton/sphinxautozconfig/issues
-   jimfulton/sphinxautozconfig
-   j1m.sphinxautozconfig
-   
-



[gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl2/

2024-04-13 Thread James Le Cuirot
commit: 3867373890791642ee64a315e067bbd3a8ca62f1
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sat Apr 13 21:56:35 2024 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sat Apr 13 22:01:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38673738

media-libs/libsdl2: Bump to 2.30.2, migrate to CMake

SDL3 only suppports CMake, and we have seen issues with flags not being
respected in the tests under Autotools.

There are CMake options for nearly every configure option we were using before.
I have kept the options in the same order for easier comparison, at least for
now.

There is no way to explicitly select gles1 or gles2, only gles in general.
Detection is performed for each at build time, but this will always succeed as
libglvnd covers them both. Detection is also performed at runtime, so the usual
auto-magic concerns don't apply here.

Closes: https://bugs.gentoo.org/929065
Signed-off-by: James Le Cuirot  gentoo.org>

 media-libs/libsdl2/Manifest  |   1 +
 media-libs/libsdl2/libsdl2-2.30.2.ebuild | 205 +++
 2 files changed, 206 insertions(+)

diff --git a/media-libs/libsdl2/Manifest b/media-libs/libsdl2/Manifest
index da206de2e72c..fccd26d09142 100644
--- a/media-libs/libsdl2/Manifest
+++ b/media-libs/libsdl2/Manifest
@@ -3,3 +3,4 @@ DIST SDL2-2.28.3.tar.gz 7340914 BLAKE2B 
1ef8950b7736fbbca4607ed9750114f94b8e6e94
 DIST SDL2-2.28.4.tar.gz 7344208 BLAKE2B 
03d1fec4c9c43d5b906ec9fafd69b75040f7c80696d9097b03c33a93760e579ff677b1dd9385c77d44209a5a8dbb295074d47595b8a2e39f00bc11ad32b7f154
 SHA512 
16950ccedcfdef42ee6eba1a6bf09ed7231ea0205fe8600388de2aed1aba94da2e5450d16e9732dce9f12569a238730b3727bf64b8699f1fed4cb3c5c94c3eaa
 DIST SDL2-2.28.5.tar.gz 7345355 BLAKE2B 
c96481bc02af6b6d077247238f7e46b0e3ec216664584add29cafb0a91d06dc6ddc637a01519dbd7182d4fa59cfaf26ad6733f72583021cf65849416f9c4b698
 SHA512 
12593eb78fcca877a8dfb78cf21a4e6feba7dc87c964de378ac462b36d8e41ecb587222cb41d5f56dd35b838e1b9867b8ae0cf2f4d2a01afaf23ac8c11edc84d
 DIST SDL2-2.30.1.tar.gz 7428023 BLAKE2B 
5cc651bcb38a1a3989a966351074b1a77f511b5bef0d3c9aef06d67d89f1d0ee926f5cba4bf2d45be28bb3f1e9da9b3f17a85f094c8547586072b24ee342777d
 SHA512 
bb1863310d627e7b49cfc31bea7eb9100da1908cd83a97c533c28a2e32eac377c72dde83d2c2c4791007f534ea2e5ec8b1ac545a0d2e291dfdce1734a727c4af
+DIST SDL2-2.30.2.tar.gz 7426565 BLAKE2B 
258084c6965281951b78619d7ebcd80b0f6873f54ded93d35b6b898f0533fef9a29bef4a8babe53df50bc589b0565b3a3b1378a930b43fdce575c4a5baa70864
 SHA512 
19316bb4c483a8c4be2140b70d906b7767beabada481873217a9207bd41e79c1854a837e1394325f59795da010f5344f791a7973a846b8189e3f9b662f408aca

diff --git a/media-libs/libsdl2/libsdl2-2.30.2.ebuild 
b/media-libs/libsdl2/libsdl2-2.30.2.ebuild
new file mode 100644
index ..02c8eabacee0
--- /dev/null
+++ b/media-libs/libsdl2/libsdl2-2.30.2.ebuild
@@ -0,0 +1,205 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib flag-o-matic
+
+MY_P="SDL2-${PV}"
+DESCRIPTION="Simple Direct Media Layer"
+HOMEPAGE="https://www.libsdl.org/;
+SRC_URI="https://www.libsdl.org/release/${MY_P}.tar.gz;
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
+
+IUSE="alsa aqua cpu_flags_ppc_altivec cpu_flags_x86_3dnow cpu_flags_x86_mmx 
cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 custom-cflags dbus doc 
fcitx4 gles1 gles2 +haptic ibus jack +joystick kms libsamplerate nas opengl oss 
pipewire pulseaudio sndio +sound static-libs test +threads udev +video vulkan 
wayland X xscreensaver"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+   alsa? ( sound )
+   fcitx4? ( dbus )
+   gles1? ( video )
+   gles2? ( video )
+   haptic? ( joystick )
+   ibus? ( dbus )
+   jack? ( sound )
+   nas? ( sound )
+   opengl? ( video )
+   pulseaudio? ( sound )
+   sndio? ( sound )
+   test? ( static-libs )
+   vulkan? ( video )
+   wayland? ( gles2 )
+   xscreensaver? ( X )
+"
+
+COMMON_DEPEND="
+   virtual/libiconv[${MULTILIB_USEDEP}]
+   alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
+   dbus? ( >=sys-apps/dbus-1.6.18-r1[${MULTILIB_USEDEP}] )
+   ibus? ( app-i18n/ibus )
+   jack? ( virtual/jack[${MULTILIB_USEDEP}] )
+   kms? (
+   >=x11-libs/libdrm-2.4.82[${MULTILIB_USEDEP}]
+   >=media-libs/mesa-9.0.0[${MULTILIB_USEDEP},gbm(+)]
+   )
+   libsamplerate? ( media-libs/libsamplerate[${MULTILIB_USEDEP}] )
+   nas? (
+   >=media-libs/nas-1.9.4[${MULTILIB_USEDEP}]
+   >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}]
+   )
+   opengl? (
+   >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
+   >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}]
+   )
+   pipewire? ( media-video/pipewire:=[${MULTILIB_USEDEP}] )
+

[gentoo-commits] repo/proj/guru:dev commit in: games-fps/far-cry-demo/

2024-04-13 Thread Vitaly Zdanevich
commit: f732a56b4d06883d3ff99102fb5710a690ce7081
Author: Vitaly Zdanevich  ya  ru>
AuthorDate: Sat Apr 13 21:36:34 2024 +
Commit: Vitaly Zdanevich  ya  ru>
CommitDate: Sat Apr 13 21:36:34 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f732a56b

games-fps/far-cry-demo: Path from /opt/games to /opt - for 
https://github.com/gentoo/guru/commit/588027158ca99b03954b78a6c432d3801e40c686

Signed-off-by: Vitaly Zdanevich  ya.ru>

 games-fps/far-cry-demo/far-cry-demo-.ebuild | 9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/games-fps/far-cry-demo/far-cry-demo-.ebuild 
b/games-fps/far-cry-demo/far-cry-demo-.ebuild
index 07734b7595..90f9770b8b 100644
--- a/games-fps/far-cry-demo/far-cry-demo-.ebuild
+++ b/games-fps/far-cry-demo/far-cry-demo-.ebuild
@@ -23,16 +23,15 @@ QA_PREBUILT="*"
 
 src_install() {
 
-   path="/opt/games/"
conty=conty-1.25.2
 
-   dodir $path
+   dodir opt
dodir /usr/bin
-   cp -r . "$ED/$path" || die
+   cp -r . "$ED/opt" || die
 
pr="WINEPREFIX=/home/\$USER/.wine-far-cry-demo"
 
-   echo "cd $path$PN; $pr $conty wine /opt/games/$PN/FarCry.exe; cd -" > 
"$ED/usr/bin/$PN"
+   echo "cd $path$PN; $pr $conty wine /opt/$PN/FarCry.exe; cd -" > 
"$ED/usr/bin/$PN"
fperms +x "/usr/bin/$PN"
 
 }
@@ -49,5 +48,5 @@ pkg_postinst() {
einfo "https://www.gog.com/game/far_cry;
einfo "https://www.humblebundle.com/store/far-cry;
einfo ""
-   einfo "The game is installed to $path$PN - if you want to run it by 
another Wine or operating system"
+   einfo "The game is installed to /opt/$PN - if you want to run it by 
another Wine or operating system"
 }



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

2024-04-13 Thread Julien Roy
commit: e1b7f97804b159080a77926f1d18fcd9aae09494
Author: Julien Roy  jroy  ca>
AuthorDate: Sat Apr 13 21:21:07 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sat Apr 13 21:21:07 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e1b7f978

dev-python/gnuplot-py: enable py3.12, use PEP517

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

 .../{gnuplot-py-1.8_p8.ebuild => gnuplot-py-1.8_p8-r1.ebuild}| 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-python/gnuplot-py/gnuplot-py-1.8_p8.ebuild 
b/dev-python/gnuplot-py/gnuplot-py-1.8_p8-r1.ebuild
similarity index 90%
rename from dev-python/gnuplot-py/gnuplot-py-1.8_p8.ebuild
rename to dev-python/gnuplot-py/gnuplot-py-1.8_p8-r1.ebuild
index 18c889f1a7..3640171d79 100644
--- a/dev-python/gnuplot-py/gnuplot-py-1.8_p8.ebuild
+++ b/dev-python/gnuplot-py/gnuplot-py-1.8_p8-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -6,7 +6,8 @@ EAPI=8
 MYPN="python-gnuplot"
 MYPV="$(ver_cut 1-2)"
 MYP="${PN}-${MYPV}"
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=setuptools
 
 inherit distutils-r1
 



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

2024-04-13 Thread Julien Roy
commit: aa1cac3e8febf93b11dbce017ab110feba634388
Author: Julien Roy  jroy  ca>
AuthorDate: Sat Apr 13 21:30:40 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sat Apr 13 21:30:55 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aa1cac3e

dev-python/graphql-core: enable py3.12, fix tests

Closes: https://bugs.gentoo.org/921814
Signed-off-by: Julien Roy  jroy.ca>

 dev-python/graphql-core/graphql-core-3.2.3.ebuild | 10 +++---
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/dev-python/graphql-core/graphql-core-3.2.3.ebuild 
b/dev-python/graphql-core/graphql-core-3.2.3.ebuild
index a78e07eb1f..5aeb6e468e 100644
--- a/dev-python/graphql-core/graphql-core-3.2.3.ebuild
+++ b/dev-python/graphql-core/graphql-core-3.2.3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 DISTUTILS_USE_PEP517=poetry
 PYPI_NO_NORMALIZE=1
 inherit distutils-r1 pypi
@@ -44,10 +44,6 @@ src_prepare() {
 }
 
 python_test() {
-   if [[ ${EPYTHON} == "python3.11" ]]; then
-   local EPYTEST_DESELECT=(
-   
tests/pyutils/test_is_awaitable.py::describe_is_awaitable::recognizes_an_old_style_coroutine
-   )
-   fi
+   cd "${S}"/tests || die
epytest
 }



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

2024-04-13 Thread Julien Roy
commit: 8f63abed8aa52eb2b2841f5c52011b96947538d8
Author: Julien Roy  jroy  ca>
AuthorDate: Sat Apr 13 21:12:25 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sat Apr 13 21:12:25 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8f63abed

dev-python/dataclasses_json: drop 0.5.7

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

 dev-python/dataclasses_json/Manifest   |  1 -
 .../dataclasses_json/dataclasses_json-0.5.7.ebuild | 40 --
 2 files changed, 41 deletions(-)

diff --git a/dev-python/dataclasses_json/Manifest 
b/dev-python/dataclasses_json/Manifest
index ccd86b30d1..1f0d170792 100644
--- a/dev-python/dataclasses_json/Manifest
+++ b/dev-python/dataclasses_json/Manifest
@@ -1,2 +1 @@
 DIST dataclasses_json-0.5.14.tar.gz 72513 BLAKE2B 
f45ca18030388efcc21ca9c939bf2298f891de66d62dc0f8042a3d0e26cc0bae63c7c5a02c839b07282c3110d6e5752979e3abea361b215b86b354984901c77c
 SHA512 
5ec21843ef29a8e6e9511922698f42c115c7e641ca9ae5e47a58c6f0697a51928fd462f6342190263469baa70b76a302ad1d27954f50b9457b97149586f35703
-DIST dataclasses_json-0.5.7.tar.gz 39291 BLAKE2B 
eded21a6da89e1a8785c38cd7facc3e273154a31f34daf99dc0681891bf44cc0f34fc7ab69021cf04052e82a5bd66058b826609ca3ebfc1d75f40720b0b9ce6b
 SHA512 
2dad73f55e0f33d1f9557e1ed3d41cf237204631c044027c41d37cd2e968da003f77e80c9a06db651e689413cbfd7f85eec1b70b02acf0a32f8337c4abb75f7b

diff --git a/dev-python/dataclasses_json/dataclasses_json-0.5.7.ebuild 
b/dev-python/dataclasses_json/dataclasses_json-0.5.7.ebuild
deleted file mode 100644
index 7ddb358474..00
--- a/dev-python/dataclasses_json/dataclasses_json-0.5.7.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_10 )
-
-inherit distutils-r1
-
-DESCRIPTION="Easily serialize Data Classes to and from JSON"
-HOMEPAGE="https://github.com/lidatong/dataclasses-json;
-SRC_URI="https://github.com/lidatong/dataclasses-json/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
-S="${WORKDIR}/${P/_/-}"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   >=dev-python/marshmallow-3.3.0[${PYTHON_USEDEP}]
-   >=dev-python/marshmallow_enum-1.5.1[${PYTHON_USEDEP}]
-   >=dev-python/typing_inspect-0.4.0[${PYTHON_USEDEP}]
-"
-DEPEND="
-   ${RDEPEND}
-   test? (
-   dev-python/hypothesis[${PYTHON_USEDEP}]
-   >=dev-python/mypy-0.710[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-src_prepare() {
-   sed -i '/scripts/d' setup.py || die
-   distutils-r1_src_prepare
-}



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

2024-04-13 Thread Julien Roy
commit: c4c1d9376fc3afeb9e24809735f82917c9e2d0f6
Author: Julien Roy  jroy  ca>
AuthorDate: Sat Apr 13 21:09:00 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sat Apr 13 21:09:00 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c4c1d937

dev-python/guidata: drop 2.3.1

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

 dev-python/guidata/Manifest |  1 -
 dev-python/guidata/guidata-2.3.1.ebuild | 25 -
 2 files changed, 26 deletions(-)

diff --git a/dev-python/guidata/Manifest b/dev-python/guidata/Manifest
index b387ca03ae..28a62c5afb 100644
--- a/dev-python/guidata/Manifest
+++ b/dev-python/guidata/Manifest
@@ -1,3 +1,2 @@
-DIST guidata-2.3.1.tar.gz 504812 BLAKE2B 
4b2e5e07ee76bbeb95a9a55a4cde1d409d2438fe5273a0f154d34e8beb9934f810b29a33ef508009e38c589d57402aef55d346b93856fc744e7a8236748f5e86
 SHA512 
7488ca8c761394dfd9d58a8ac3c96dc963adab6df278823fb1a7d9132febc16e275908034ef48381d696668add43f62438fab1ba22f70f5e08f33b14a81082c5
 DIST guidata-3.2.2.tar.gz 672062 BLAKE2B 
ff8c06e1f97cc454136a3cb8857739cc223536456bb06a4ac3b3b86e2eaf894fc60a3bdc2d70ea62fdc2b85bbc9f546f614b5ad0b2c9bace584054377f5fbfb2
 SHA512 
a9f31e5c43bf203f9a5919dd574553ec14dcd317e06204be50bcd4f2cc7ac71a431145d33a6d3dfe076620d6cc753349b5fdb5436d89dfda18c9f7572aeec00f
 DIST guidata-3.3.0.tar.gz 690865 BLAKE2B 
1b52295094844f839665e9dadbfff8d407b48d1746d72154d1181812a8b205660feac6ec86002cab31eef2c8fc5e72a35034145e51388e16e9bae89b2e801bd1
 SHA512 
7c962b8205cdcb13a628b6bfa256e7b62e1478933933d5ac9b8a1f7fbf6e4e17dbbbfe73bd520585b148ea858816e78f7dd3377ba70acc1be3a071981e5179ca

diff --git a/dev-python/guidata/guidata-2.3.1.ebuild 
b/dev-python/guidata/guidata-2.3.1.ebuild
deleted file mode 100644
index 3ef6ef1075..00
--- a/dev-python/guidata/guidata-2.3.1.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_11 )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Library for user interfaces for easy dataset editing and display"
-HOMEPAGE="https://pypi.python.org/pypi/guidata;
-LICENSE="CeCILL-2"
-
-SLOT="0"
-
-# No automated tests can be performed afaik
-RESTRICT="test"
-
-RDEPEND="
-   dev-python/PyQt5[${PYTHON_USEDEP}]
-   dev-python/QtPy[${PYTHON_USEDEP}]
-"
-
-
-KEYWORDS="~amd64 ~x86"



  1   2   3   4   5   6   7   >