diff options
Diffstat (limited to 'app-eselect')
86 files changed, 994 insertions, 640 deletions
diff --git a/app-eselect/eselect-awk/Manifest b/app-eselect/eselect-awk/Manifest deleted file mode 100644 index 1b9c5367e32d..000000000000 --- a/app-eselect/eselect-awk/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST eselect-awk-0.3.tar.gz 1543 BLAKE2B 9ff340002d76a3bc3569501d7b92a8d216eac65e9c009be2a7b43802512050fdae962b53e66bbd0e5df6d295968aa4e3d56c8442adce5eac5d7c8b1f30b1e924 SHA512 d90ed1c8edddd996e2b62b4a927d2c5ead5790aff275e3a79f4a1361358c4debef0c50ec2c8d6da5a210755a5d51cad4b2c5d6ee90553227f0f24b251b52e383 diff --git a/app-eselect/eselect-awk/eselect-awk-0.3.ebuild b/app-eselect/eselect-awk/eselect-awk-0.3.ebuild deleted file mode 100644 index 0cb84863c25c..000000000000 --- a/app-eselect/eselect-awk/eselect-awk-0.3.ebuild +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -DESCRIPTION="Manages the {,/usr}/bin/awk symlink" -HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" -SRC_URI="https://dev.gentoo.org/~junghans/distfiles/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux" -IUSE="" - -src_install() { - insinto /usr/share/eselect/modules - doins awk.eselect -} diff --git a/app-eselect/eselect-awk/metadata.xml b/app-eselect/eselect-awk/metadata.xml deleted file mode 100644 index de9d78424186..000000000000 --- a/app-eselect/eselect-awk/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>base-system@gentoo.org</email> - <name>Gentoo Base System</name> - </maintainer> - <stabilize-allarches/> -</pkgmetadata> diff --git a/app-eselect/eselect-blas/eselect-blas-0.1.ebuild b/app-eselect/eselect-blas/eselect-blas-0.1.ebuild index ef334a1730a1..ad0642543cff 100644 --- a/app-eselect/eselect-blas/eselect-blas-0.1.ebuild +++ b/app-eselect/eselect-blas/eselect-blas-0.1.ebuild @@ -9,7 +9,7 @@ SRC_URI="" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="" # Need skel.bash lib diff --git a/app-eselect/eselect-blas/eselect-blas-0.3.ebuild b/app-eselect/eselect-blas/eselect-blas-0.3.ebuild new file mode 100644 index 000000000000..f07c58aaf4bb --- /dev/null +++ b/app-eselect/eselect-blas/eselect-blas-0.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="BLAS/CBLAS module for eselect" +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" +IUSE="" + +# Need skel.bash lib +RDEPEND=( ">=app-admin/eselect-1.0.5" + "!app-eselect/eselect-cblas" ) +DEPEND="${RDEPEND}" + +S="${WORKDIR}" + +src_install() { + local MODULEDIR="/usr/share/eselect/modules" + local MODULE="blas" + insinto ${MODULEDIR} + newins "${FILESDIR}"/${MODULE}.eselect-${PVR} ${MODULE}.eselect + doman "${FILESDIR}"/blas.eselect.5 +} diff --git a/app-eselect/eselect-blas/files/blas.eselect-0.3 b/app-eselect/eselect-blas/files/blas.eselect-0.3 new file mode 100644 index 000000000000..8941f720054f --- /dev/null +++ b/app-eselect/eselect-blas/files/blas.eselect-0.3 @@ -0,0 +1,168 @@ +# -*-eselect-*- vim: ft=eselect +# Copyright 2019-2023 Gentoo Authors +# Distributed under the terms of the GNU GPL version 2 or later + +inherit config tests multilib skel + +MODULE="BLAS/CBLAS" +IFACE="blas" +DESCRIPTION="Manage installed alternatives of $MODULE shared objects" +MAINTAINER="lumin@debian.org" +VERSION="0.3" + +### helper utility to find all available BLAS/CBLAS implementations +find_targets_in() { + [[ $# -eq 1 ]] || die -q "in which libdir?" + + local cand + for cand in "${EROOT}/etc/env.d/blas/$1"/*; do + [[ "config" = $(basename ${cand}) ]] && continue + [[ -r ${cand} ]] && basename ${cand} + done +} + +### helper utility to validate a BLAS/CBLAS library directory +validate_blaslibdir() { + [[ -d $1 ]] || return 2 # dir doesn't exist + [[ -r "${1}/libblas.so.3" ]] && [[ -r "${1}/libblas.so" ]] \ + && [[ -r "${1}/libcblas.so.3" ]] && [[ -r "${1}/libcblas.so" ]] \ + || return 1 +} + +### show action +do_show() { + # do_show -- show both lib64 and lib32 selection + # do_show libxx -- show libxx selection + local libdir cur libdirs=( $(list_libdirs) ) + + # if manually specified libdirs + if [[ ! $# -eq 0 ]]; then + for libdir in $@; do + has $libdir ${libdirs[@]} || die -q "invalid libdir '$libdir'!" + done + libdirs=( $@ ) + fi + + for libdir in ${libdirs[@]}; do + [[ ! -d ${EROOT}/usr/$libdir ]] && continue + [[ ! -r ${EROOT}/etc/env.d/blas/${libdir}/config ]] && continue + cur=$(load_config "${EROOT}"/etc/env.d/blas/${libdir}/config CURRENT) + echo ${libdir}: $cur + done +} + +### list action +do_list() { + local i cur targets + local libdir libdirs=( $(list_libdirs) ) + + # if manually specified libdirs + if [[ ! $# -eq 0 ]]; then + for libdir in $@; do + has $libdir ${libdirs[@]} || die -q "invalid libdir '$libdir'!" + done + libdirs=( $@ ) + fi + + for libdir in ${libdirs[@]}; do + [[ ! -d ${EROOT}/usr/$libdir ]] || [[ -L ${EROOT}/usr/$libdir ]] && continue + targets=( $(find_targets_in $libdir) ) + cur=$(load_config "${EROOT}"/etc/env.d/blas/${libdir}/config CURRENT) + + write_list_start "Available BLAS/CBLAS ($libdir) candidates:" + for (( i = 0; i < ${#targets[@]}; i++ )); do + [[ ${targets[i]} = $cur ]] \ + && targets[i]=$(highlight_marker "${targets[i]}") + done + write_numbered_list -m "(none found)" "${targets[@]}" + done +} + +### validate action +describe_validate() { + echo "validate candidates and remove invalid ones" +} + +do_validate() { + local i ldpath targets target candidate + local libdir libdirs=( $(list_libdirs) ) + for libdir in ${libdirs[@]}; do + [[ ! -d ${EROOT}/usr/$libdir ]] || [[ -L ${EROOT}/usr/$libdir ]] && continue + targets=( $(find_targets_in $libdir) ) + for target in ${targets[@]}; do + candidate=${EROOT}/etc/env.d/blas/${libdir}/${target} + ldpath=$(load_config "$candidate" LDPATH) + if ! validate_blaslibdir "${ROOT}/$ldpath"; then + echo "Removing invalid BLAS/CBLAS candidate ($candidate) ..." + rm -v "$candidate" + fi + done + done +} + +### set action + +describe_set() { + echo "Activate one of the installed $MODULE implementations" +} + +describe_set_parameters() { + echo "[<libdir>] <implementation>" +} + +describe_set_options() { + echo "libdir: lib64 or lib32. Will use the native one when omitted." + echo "implementation : implementation name or number (from 'list' action)" +} + +do_set() { + local libdirs=( $(list_libdirs) ) + local targets libdir ldconf libpath impl + + # check argument existence + [[ $# -eq 1 ]] || [[ $# -eq 2 ]] || \ + die -q "Please specify [<libdir>] <impl> to activate!" + # read argumenets + if [[ $# -eq 2 ]]; then libdir="$1"; else libdir="$(get_libdir)"; fi + if [[ $# -eq 2 ]]; then impl="$2"; else impl="$1"; fi + # validate arguments + has "$libdir" "${libdirs[@]}" || die -q "Invalid libdir ($libdir) !" + targets=( $(find_targets_in $libdir) ) + if ! has "$impl" "${targets[@]}"; then + if [[ ${impl} -gt 0 ]] && [[ ${impl} -le ${#targets[@]} ]]; then + impl=${targets[(${impl} - 1)]} + else + die -q "Invalid impl ($impl) !" + fi + fi + # store the configuration to env.d + store_config "${EROOT}"/etc/env.d/blas/${libdir}/config CURRENT "${impl}" + # generate ld.so.conf file + ldconf="${EROOT}/etc/ld.so.conf.d/81-blas-${libdir}.conf" + libpath=$(load_config ${EROOT}/etc/env.d/blas/${libdir}/${impl} LDPATH) + truncate -s0 "$ldconf" + echo "# Auto-generated by eselect::blas. DON'T EDIT." >> "$ldconf" + echo "$libpath" >> "$ldconf" + + # refresh cache. env-update will call ldconfig (see + # portage::env_update.py) so we don't need to call it explicitly. + env-update +} + +### add action +describe_add_parameters() { + echo "<libdir> <dir> <impl>" +} + +describe_add_options() { + echo "libdir : library directory where $MODULE implementation is installed (lib, lib64, etc.)" + echo "dir : directory containing lib{,c}blas.so{.3}" + echo "impl : name of the $MODULE implementation" +} + +do_add() { + [[ $# -eq 3 ]] \ + || die -q "Please specify <libdir> <dir> <impl> to activate!" + validate_blaslibdir "${ROOT}/$2" || die -q "invalid blas libdir!" + store_config "${EROOT}/etc/env.d/blas/$1/$3" LDPATH "$2" +} diff --git a/app-eselect/eselect-cblas/eselect-cblas-0.1.ebuild b/app-eselect/eselect-cblas/eselect-cblas-0.1.ebuild index a47f65439b7f..c1ed75a68435 100644 --- a/app-eselect/eselect-cblas/eselect-cblas-0.1.ebuild +++ b/app-eselect/eselect-cblas/eselect-cblas-0.1.ebuild @@ -10,7 +10,7 @@ S=${WORKDIR} LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="" # Need skel.bash lib diff --git a/app-eselect/eselect-cdparanoia/eselect-cdparanoia-0.1-r1.ebuild b/app-eselect/eselect-cdparanoia/eselect-cdparanoia-0.1-r1.ebuild index e364bc17ded2..d3b823decfaf 100644 --- a/app-eselect/eselect-cdparanoia/eselect-cdparanoia-0.1-r1.ebuild +++ b/app-eselect/eselect-cdparanoia/eselect-cdparanoia-0.1-r1.ebuild @@ -1,22 +1,19 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DESCRIPTION="Manage /usr/bin/cdparanoia symlink" -HOMEPAGE="https://www.gentoo.org/proj/en/eselect/" -SRC_URI="" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Eselect" +S="${WORKDIR}" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" RDEPEND="app-eselect/eselect-lib-bin-symlink" -DEPEND="${RDEPEND}" - -S="${FILESDIR}" src_install() { insinto /usr/share/eselect/modules - newins cdparanoia.eselect-${PV} cdparanoia.eselect + newins "${FILESDIR}"/cdparanoia.eselect-${PV} cdparanoia.eselect } diff --git a/app-eselect/eselect-chuck/eselect-chuck-1.0.2.ebuild b/app-eselect/eselect-chuck/eselect-chuck-1.0.2-r1.ebuild index 00b5332eaf8f..1072dfd96778 100644 --- a/app-eselect/eselect-chuck/eselect-chuck-1.0.2.ebuild +++ b/app-eselect/eselect-chuck/eselect-chuck-1.0.2-r1.ebuild @@ -1,23 +1,20 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 DESCRIPTION="Manages the /usr/bin/chuck symlink" HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" -SRC_URI="mirror://gentoo/chuck.eselect-${PVR}.bz2" +SRC_URI="mirror://gentoo/chuck.eselect-${PV}.bz2" +S="${WORKDIR}" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" -RDEPEND=">=app-admin/eselect-1.2.3" -DEPEND="!<=media-sound/chuck-1.2.1.2" - -S=${WORKDIR} +RDEPEND="app-admin/eselect" src_install() { insinto /usr/share/eselect/modules - newins "${WORKDIR}/chuck.eselect-${PVR}" chuck.eselect + newins "${WORKDIR}"/chuck.eselect-${PV} chuck.eselect } diff --git a/app-eselect/eselect-ctags/eselect-ctags-1.19.ebuild b/app-eselect/eselect-ctags/eselect-ctags-1.19.ebuild index ec91079fee65..1da84194f618 100644 --- a/app-eselect/eselect-ctags/eselect-ctags-1.19.ebuild +++ b/app-eselect/eselect-ctags/eselect-ctags-1.19.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://dev.gentoo.org/~ulm/emacs/${MY_P}.tar.xz" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" RDEPEND=">=app-admin/eselect-1.2.3" diff --git a/app-eselect/eselect-dotnet/Manifest b/app-eselect/eselect-dotnet/Manifest new file mode 100644 index 000000000000..e84aa2db3dab --- /dev/null +++ b/app-eselect/eselect-dotnet/Manifest @@ -0,0 +1 @@ +DIST eselect-dotnet-1.0.1.tar.bz2 8432 BLAKE2B f66ff9052158a7ed0034509512e008d4104bc154f06ac5b228a09eb90b33476db8e23857060ea70b48582e0ef9189fe9a1f7259a89150957c9a7b5374539b130 SHA512 7ee8b6ce80a7d61d6286c645c680c1ef0844fe3997f981a54705f992a12576ea63499afd4191c2d13f58f166a1bbf8fc32b5a9303f9db222702d3228eb7e8eee diff --git a/app-eselect/eselect-dotnet/eselect-dotnet-1.0.1.ebuild b/app-eselect/eselect-dotnet/eselect-dotnet-1.0.1.ebuild new file mode 100644 index 000000000000..4a26d5fa9673 --- /dev/null +++ b/app-eselect/eselect-dotnet/eselect-dotnet-1.0.1.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Eselect module for management of multiple dotnet versions" +HOMEPAGE="https://gitlab.gentoo.org/dotnet/eselect-dotnet/" +SRC_URI="https://gitlab.gentoo.org/dotnet/${PN}/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 arm arm64" + +RDEPEND="app-admin/eselect" + +src_install() { + insinto /usr/share/eselect/modules + doins dotnet.eselect +} diff --git a/app-eselect/eselect-sh/metadata.xml b/app-eselect/eselect-dotnet/metadata.xml index 996eb9fa78a2..08bae967b8ea 100644 --- a/app-eselect/eselect-sh/metadata.xml +++ b/app-eselect/eselect-dotnet/metadata.xml @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + <pkgmetadata> - <maintainer type="person"> - <email>mgorny@gentoo.org</email> - <name>Michał Górny</name> - </maintainer> - <stabilize-allarches/> + <maintainer type="project"> + <email>dotnet@gentoo.org</email> + <name>Gentoo Dotnet Project</name> + </maintainer> </pkgmetadata> diff --git a/app-eselect/eselect-emacs/eselect-emacs-1.19.ebuild b/app-eselect/eselect-emacs/eselect-emacs-1.19.ebuild index 7e02e8e3897a..53b6e79fe721 100644 --- a/app-eselect/eselect-emacs/eselect-emacs-1.19.ebuild +++ b/app-eselect/eselect-emacs/eselect-emacs-1.19.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" RDEPEND=">=app-admin/eselect-1.2.6 ~app-eselect/eselect-ctags-${PV}" diff --git a/app-eselect/eselect-fontconfig/Manifest b/app-eselect/eselect-fontconfig/Manifest index dac9ee2b64d7..78fd5ad34487 100644 --- a/app-eselect/eselect-fontconfig/Manifest +++ b/app-eselect/eselect-fontconfig/Manifest @@ -1,2 +1 @@ -DIST fontconfig.eselect-1.1.bz2 1713 BLAKE2B 30af0471a52d7e2785e6e0e5847f51f3a11d0fb53eb800a5314e18dbb61694f1542d71c3e0f4ceccf82a396432113529b0fdb1b5fc6eba37550b27410565c61e SHA512 3b5978e20009754f09cd39e39771e8151cbb7bda60378cda718182b2df2c267a64af5ead220a079fbeeffb30586bc432bbc83b94e4f910205c4a29040cd2ccbd DIST fontconfig.eselect-20220403.xz 1396 BLAKE2B ff29f82f1d8ec945fbb555a7bbbf6c672e281c0c2b9352b22feafd298805ce1f039b43868da20c6fdc540c63117aa0ca2c181440d44394180f5fb4bfbd3e8278 SHA512 aa18510362e0577d4d0959000710b2e35e9870167d18b10e086ff19ed25e8956c5d1f71a1cfbdc7496d417822baf6ebdd9e0044ce9cc220c0aaa4b8ba5694d34 diff --git a/app-eselect/eselect-fontconfig/eselect-fontconfig-1.1-r1.ebuild b/app-eselect/eselect-fontconfig/eselect-fontconfig-1.1-r1.ebuild deleted file mode 100644 index b1ec7ad165d4..000000000000 --- a/app-eselect/eselect-fontconfig/eselect-fontconfig-1.1-r1.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="An eselect module to manage /etc/fonts/conf.d symlinks" -HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-fontconfig.git" -SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/fontconfig.eselect-${PV}.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -RDEPEND=">=app-admin/eselect-1.2.3 - >=media-libs/fontconfig-2.4" - -S=${WORKDIR} - -src_install() { - insinto /usr/share/eselect/modules - newins "${S}"/fontconfig.eselect-${PV} fontconfig.eselect -} diff --git a/app-eselect/eselect-fontconfig/eselect-fontconfig-1.1-r2.ebuild b/app-eselect/eselect-fontconfig/eselect-fontconfig-1.1-r2.ebuild deleted file mode 100644 index d64c2bca973e..000000000000 --- a/app-eselect/eselect-fontconfig/eselect-fontconfig-1.1-r2.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="An eselect module to manage /etc/fonts/conf.d symlinks" -HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-fontconfig.git" -SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/fontconfig.eselect-${PV}.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -RDEPEND=">=app-admin/eselect-1.2.3" - -S=${WORKDIR} - -src_install() { - insinto /usr/share/eselect/modules - newins fontconfig.eselect-${PV} fontconfig.eselect -} diff --git a/app-eselect/eselect-fontconfig/eselect-fontconfig-20220403.ebuild b/app-eselect/eselect-fontconfig/eselect-fontconfig-20220403.ebuild index c63d09f45d74..0920df6dcf0c 100644 --- a/app-eselect/eselect-fontconfig/eselect-fontconfig-20220403.ebuild +++ b/app-eselect/eselect-fontconfig/eselect-fontconfig-20220403.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/fontconfig.esel LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +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" RDEPEND=">=app-admin/eselect-1.2.3" diff --git a/app-eselect/eselect-gnome-shell-extensions/eselect-gnome-shell-extensions-20180306-r1.ebuild b/app-eselect/eselect-gnome-shell-extensions/eselect-gnome-shell-extensions-20180306-r1.ebuild index 89eb6aecf7f2..68a007afe5dc 100644 --- a/app-eselect/eselect-gnome-shell-extensions/eselect-gnome-shell-extensions-20180306-r1.ebuild +++ b/app-eselect/eselect-gnome-shell-extensions/eselect-gnome-shell-extensions-20180306-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -9,7 +9,7 @@ SRC_URI="https://dev.gentoo.org/~leio/distfiles/${P}.tar.xz" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86" +KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv x86" # gnome-shell schemas are used in pkg_postinst DEPEND=" diff --git a/app-eselect/eselect-iptables/eselect-iptables-20220320.ebuild b/app-eselect/eselect-iptables/eselect-iptables-20220320.ebuild index 7dd19f3fb45d..053581dbd1eb 100644 --- a/app-eselect/eselect-iptables/eselect-iptables-20220320.ebuild +++ b/app-eselect/eselect-iptables/eselect-iptables-20220320.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -8,7 +8,7 @@ HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-iptables.git/" SRC_URI="https://dev.gentoo.org/~chutzpah/dist/iptables/${P}.tar.xz https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz" -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" diff --git a/app-eselect/eselect-java/Manifest b/app-eselect/eselect-java/Manifest index 5e0c9321c52c..174ee098d1bf 100644 --- a/app-eselect/eselect-java/Manifest +++ b/app-eselect/eselect-java/Manifest @@ -1 +1,2 @@ DIST eselect-java-0.5.0.tar.bz2 14271 BLAKE2B dc285ad17b62043cc5085a586547a06a12c09f5a80f25dc423db9cb806baaa669a55106f605973fcae7103e35ec673ae2e3a6119730b1789e816a09079deabc8 SHA512 89724b96125911f0abc0363e0b2c9df75d0d52df1a5e16e80efa20a8de39b1bc0d411d297581b3440c944f498688e5dcffe5432f5e46836115d2eb620f31c03a +DIST eselect-java-0.5.1.tar.bz2 14330 BLAKE2B a1333f2e1a40662cdca3ca6155f621efd4b4491fb83dd787d001b172d0baf6c960a217643a18dba5c262317613854cf62f79a9dbb0d621b2335499ada03cd03c SHA512 1a28667d635dae551b0432aa83e80b92733ed8a1c21c4d4a8d978c05e1e89034a0e073bd6fdf1f18569c48efbe17ad338bc95dde5b7e009ba87cad04f7e4a156 diff --git a/app-eselect/eselect-java/eselect-java-0.5.0.ebuild b/app-eselect/eselect-java/eselect-java-0.5.0.ebuild index c0522405b74e..36d7a77f06f5 100644 --- a/app-eselect/eselect-java/eselect-java-0.5.0.ebuild +++ b/app-eselect/eselect-java/eselect-java-0.5.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 ~riscv x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="amd64 ~arm arm64 ppc64 ~riscv x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris" RDEPEND="app-admin/eselect" diff --git a/app-eselect/eselect-java/eselect-java-0.5.1.ebuild b/app-eselect/eselect-java/eselect-java-0.5.1.ebuild new file mode 100644 index 000000000000..401e394906bb --- /dev/null +++ b/app-eselect/eselect-java/eselect-java-0.5.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="A set of eselect modules for Java" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Java" +SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND="app-admin/eselect" + +src_prepare() { + default + eautoreconf +} + +pkg_postinst() { + local REMOVED=0 + + rm -v "${EROOT}"/usr/lib*/nsbrowser/plugins/javaplugin.so 2>/dev/null && REMOVED=1 + rm -v "${EROOT}"/etc/java-config-2/current-icedtea-web-vm 2>/dev/null && REMOVED=1 + + if [[ ${REMOVED} = 1 ]]; then + elog "The eselect java-nsplugin module has been removed and your configuration" + elog "has been cleaned up. From now on, you may only install either Oracle or" + elog "IcedTea's plugin but not both. Note you can use IcedTea's plugin with an" + elog "Oracle VM. See the README installed with icedtea-web for more details." + fi +} diff --git a/app-eselect/eselect-lapack/eselect-lapack-0.3.ebuild b/app-eselect/eselect-lapack/eselect-lapack-0.3.ebuild new file mode 100644 index 000000000000..55befdee5259 --- /dev/null +++ b/app-eselect/eselect-lapack/eselect-lapack-0.3.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="LAPACK module for eselect" +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" +IUSE="" + +# Need skel.bash lib +RDEPEND=( ">=app-admin/eselect-1.0.5" ) +DEPEND="${RDEPEND}" + +S="${WORKDIR}" + +src_install() { + local MODULEDIR="/usr/share/eselect/modules" + local MODULE="lapack" + insinto ${MODULEDIR} + newins "${FILESDIR}"/${MODULE}.eselect-${PVR} ${MODULE}.eselect + doman "${FILESDIR}"/lapack.eselect.5 +} diff --git a/app-eselect/eselect-lapack/files/lapack.eselect-0.3 b/app-eselect/eselect-lapack/files/lapack.eselect-0.3 new file mode 100644 index 000000000000..f3fd6619f22f --- /dev/null +++ b/app-eselect/eselect-lapack/files/lapack.eselect-0.3 @@ -0,0 +1,167 @@ +# -*-eselect-*- vim: ft=eselect +# Copyright 2019-2023 Gentoo Authors +# Distributed under the terms of the GNU GPL version 2 or later + +inherit config tests multilib skel + +MODULE="LAPACK" +IFACE="lapack" +DESCRIPTION="Manage installed alternatives of $MODULE shared objects" +MAINTAINER="lumin@debian.org" +VERSION="0.3" + +### helper utility to find all available LAPACK implementations +find_targets_in() { + [[ $# -eq 1 ]] || die -q "in which libdir?" + + local cand + for cand in "${EROOT}/etc/env.d/lapack/$1"/*; do + [[ "config" = $(basename ${cand}) ]] && continue + [[ -r ${cand} ]] && basename ${cand} + done +} + +### helper utility to validate a LAPACK library directory +validate_lapacklibdir() { + [[ -d $1 ]] || return 2 # dir doesn't exist + [[ -r "${1}/liblapack.so.3" ]] && [[ -r "${1}/liblapack.so" ]] \ + || return 1 +} + +### show action +do_show() { + # do_show -- show both lib64 and lib32 selection + # do_show libxx -- show libxx selection + local libdir cur libdirs=( $(list_libdirs) ) + + # if manually specified libdirs + if [[ ! $# -eq 0 ]]; then + for libdir in $@; do + has $libdir ${libdirs[@]} || die -q "invalid libdir '$libdir'!" + done + libdirs=( $@ ) + fi + + for libdir in ${libdirs[@]}; do + [[ ! -d ${EROOT}/usr/$libdir ]] && continue + [[ ! -r ${EROOT}/etc/env.d/lapack/${libdir}/config ]] && continue + cur=$(load_config "${EROOT}"/etc/env.d/lapack/${libdir}/config CURRENT) + echo ${libdir}: $cur + done +} + +### list action +do_list() { + local i cur targets + local libdir libdirs=( $(list_libdirs) ) + + # if manually specified libdirs + if [[ ! $# -eq 0 ]]; then + for libdir in $@; do + has $libdir ${libdirs[@]} || die -q "invalid libdir '$libdir'!" + done + libdirs=( $@ ) + fi + + for libdir in ${libdirs[@]}; do + [[ ! -d ${EROOT}/usr/$libdir ]] || [[ -L ${EROOT}/usr/$libdir ]] && continue + targets=( $(find_targets_in $libdir) ) + cur=$(load_config "${EROOT}"/etc/env.d/lapack/${libdir}/config CURRENT) + + write_list_start "Available LAPACK ($libdir) candidates:" + for (( i = 0; i < ${#targets[@]}; i++ )); do + [[ ${targets[i]} = $cur ]] \ + && targets[i]=$(highlight_marker "${targets[i]}") + done + write_numbered_list -m "(none found)" "${targets[@]}" + done +} + +### validate action +describe_validate() { + echo "validate candidates and remove invalid ones" +} + +do_validate() { + local i ldpath targets target candidate + local libdir libdirs=( $(list_libdirs) ) + for libdir in ${libdirs[@]}; do + [[ ! -d ${EROOT}/usr/$libdir ]] || [[ -L ${EROOT}/usr/$libdir ]] && continue + targets=( $(find_targets_in $libdir) ) + for target in ${targets[@]}; do + candidate=${EROOT}/etc/env.d/lapack/${libdir}/${target} + ldpath=$(load_config "$candidate" LDPATH) + if ! validate_lapacklibdir "${ROOT}/$ldpath"; then + echo "Removing invalid LAPACK candidate ($candidate) ..." + rm -v "$candidate" + fi + done + done +} + +### set action + +describe_set() { + echo "Activate one of the installed $MODULE implementations" +} + +describe_set_parameters() { + echo "[<libdir>] <implementation>" +} + +describe_set_options() { + echo "libdir: lib64 or lib32. Will use the native one when omitted." + echo "implementation : implementation name or number (from 'list' action)" +} + +do_set() { + local libdirs=( $(list_libdirs) ) + local targets libdir ldconf libpath impl + + # check argument existence + [[ $# -eq 1 ]] || [[ $# -eq 2 ]] || \ + die -q "Please specify [<libdir>] <impl> to activate!" + # read argumenets + if [[ $# -eq 2 ]]; then libdir="$1"; else libdir="$(get_libdir)"; fi + if [[ $# -eq 2 ]]; then impl="$2"; else impl="$1"; fi + # validate arguments + has "$libdir" "${libdirs[@]}" || die -q "Invalid libdir ($libdir) !" + targets=( $(find_targets_in $libdir) ) + if ! has "$impl" "${targets[@]}"; then + if [[ ${impl} -gt 0 ]] && [[ ${impl} -le ${#targets[@]} ]]; then + impl=${targets[(${impl} - 1)]} + else + die -q "Invalid impl ($impl) !" + fi + fi + # store the configuration to env.d + store_config "${EROOT}"/etc/env.d/lapack/${libdir}/config CURRENT "${impl}" + # generate ld.so.conf file + ldconf="${EROOT}/etc/ld.so.conf.d/82-lapack-${libdir}.conf" + libpath=$(load_config ${EROOT}/etc/env.d/lapack/${libdir}/${impl} LDPATH) + truncate -s0 "$ldconf" + echo "# Auto-generated by eselect::lapack. DON'T EDIT." >> "$ldconf" + echo "$libpath" >> "$ldconf" + + # refresh cache. env-update will call ldconfig (see + # portage::env_update.py) so we don't need to call it explicitly. + env-update +} + +### add action +describe_add_parameters() { + echo "<libdir> <dir> <impl>" +} + +describe_add_options() { + echo "libdir : library directory where $MODULE implementation is installed (lib, lib64, etc.)" + echo "dir : directory containing liblapack.so{.3}" + echo "impl : name of the $MODULE implementation" +} + +do_add() { + [[ $# -eq 3 ]] \ + || die -q "Please specify <libdir> <dir> <impl> to activate!" + validate_lapacklibdir "${ROOT}/$2" || die -q "invalid lapack libdir!" + store_config "${EROOT}/etc/env.d/lapack/$1/$3" LDPATH "$2" +} diff --git a/app-eselect/eselect-lib-bin-symlink/eselect-lib-bin-symlink-0.1.1-r1.ebuild b/app-eselect/eselect-lib-bin-symlink/eselect-lib-bin-symlink-0.1.1-r1.ebuild index f796bb18f6d4..bb2d42ffc5e8 100644 --- a/app-eselect/eselect-lib-bin-symlink/eselect-lib-bin-symlink-0.1.1-r1.ebuild +++ b/app-eselect/eselect-lib-bin-symlink/eselect-lib-bin-symlink-0.1.1-r1.ebuild @@ -1,15 +1,14 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DESCRIPTION="An eselect library to manage executable symlinks" -HOMEPAGE="https://github.com/mgorny/eselect-lib-bin-symlink/" -SRC_URI="https://github.com/mgorny/eselect-lib-bin-symlink/releases/download/${P}/${P}.tar.bz2" +HOMEPAGE="https://github.com/projg2/eselect-lib-bin-symlink/" +SRC_URI="https://github.com/projg2/eselect-lib-bin-symlink/releases/download/${P}/${P}.tar.bz2" -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" +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" RDEPEND="app-admin/eselect" diff --git a/app-eselect/eselect-lib-bin-symlink/eselect-lib-bin-symlink-9999.ebuild b/app-eselect/eselect-lib-bin-symlink/eselect-lib-bin-symlink-9999.ebuild index 208e978f8a02..d52de81af377 100644 --- a/app-eselect/eselect-lib-bin-symlink/eselect-lib-bin-symlink-9999.ebuild +++ b/app-eselect/eselect-lib-bin-symlink/eselect-lib-bin-symlink-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -6,13 +6,11 @@ EAPI=7 inherit autotools git-r3 DESCRIPTION="An eselect library to manage executable symlinks" -HOMEPAGE="https://github.com/mgorny/eselect-lib-bin-symlink/" -EGIT_REPO_URI="https://github.com/mgorny/eselect-lib-bin-symlink.git" +HOMEPAGE="https://github.com/projg2/eselect-lib-bin-symlink/" +EGIT_REPO_URI="https://github.com/projg2/eselect-lib-bin-symlink.git" -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" -KEYWORDS="" -IUSE="" RDEPEND="app-admin/eselect" diff --git a/app-eselect/eselect-lib-bin-symlink/metadata.xml b/app-eselect/eselect-lib-bin-symlink/metadata.xml index 744f610c8212..6ce72f96a817 100644 --- a/app-eselect/eselect-lib-bin-symlink/metadata.xml +++ b/app-eselect/eselect-lib-bin-symlink/metadata.xml @@ -10,8 +10,8 @@ <email>mgorny@gentoo.org</email> <name>Michał Górny</name> </maintainer> - <bugs-to>https://github.com/mgorny/eselect-lib-bin-symlink/issues/</bugs-to> - <remote-id type="github">mgorny/eselect-lib-bin-symlink</remote-id> + <bugs-to>https://github.com/projg2/eselect-lib-bin-symlink/issues/</bugs-to> + <remote-id type="github">projg2/eselect-lib-bin-symlink</remote-id> </upstream> <stabilize-allarches/> </pkgmetadata> diff --git a/app-eselect/eselect-lua/eselect-lua-4-r1.ebuild b/app-eselect/eselect-lua/eselect-lua-4-r1.ebuild index b8de36957a9f..3b082835f9bd 100644 --- a/app-eselect/eselect-lua/eselect-lua-4-r1.ebuild +++ b/app-eselect/eselect-lua/eselect-lua-4-r1.ebuild @@ -8,7 +8,7 @@ HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="" RDEPEND="app-admin/eselect diff --git a/app-eselect/eselect-mpg123/eselect-mpg123-0.1-r1.ebuild b/app-eselect/eselect-mpg123/eselect-mpg123-0.1-r1.ebuild index 238757a06bec..992c2bc4e3e7 100644 --- a/app-eselect/eselect-mpg123/eselect-mpg123-0.1-r1.ebuild +++ b/app-eselect/eselect-mpg123/eselect-mpg123-0.1-r1.ebuild @@ -1,22 +1,19 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DESCRIPTION="Manage /usr/bin/mpg123 symlink" -HOMEPAGE="https://www.gentoo.org/proj/en/eselect/" -SRC_URI="" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Eselect" +S="${WORKDIR}" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" RDEPEND="app-eselect/eselect-lib-bin-symlink" -DEPEND="${RDEPEND}" -S="${FILESDIR}" - src_install() { insinto /usr/share/eselect/modules - newins mpg123.eselect-${PV} mpg123.eselect + newins "${FILESDIR}"/mpg123.eselect-${PV} mpg123.eselect } diff --git a/app-eselect/eselect-notify-send/eselect-notify-send-0.1.ebuild b/app-eselect/eselect-notify-send/eselect-notify-send-0.1.ebuild index 638c1f7ade21..5be5798c778c 100644 --- a/app-eselect/eselect-notify-send/eselect-notify-send-0.1.ebuild +++ b/app-eselect/eselect-notify-send/eselect-notify-send-0.1.ebuild @@ -8,7 +8,7 @@ HOMEPAGE="https://www.gentoo.org/proj/en/eselect/" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" RDEPEND="app-admin/eselect >=app-eselect/eselect-lib-bin-symlink-0.1.1 diff --git a/app-eselect/eselect-oodict/eselect-oodict-20100228-r1.ebuild b/app-eselect/eselect-oodict/eselect-oodict-20100228-r1.ebuild index 80cf15fb7488..dc3e6617d407 100644 --- a/app-eselect/eselect-oodict/eselect-oodict-20100228-r1.ebuild +++ b/app-eselect/eselect-oodict/eselect-oodict-20100228-r1.ebuild @@ -10,7 +10,7 @@ S="${WORKDIR}" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x86-solaris" +KEYWORDS="amd64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" RDEPEND=">=app-admin/eselect-1.2" diff --git a/app-eselect/eselect-opencascade/eselect-opencascade-1.ebuild b/app-eselect/eselect-opencascade/eselect-opencascade-1.ebuild deleted file mode 100644 index 7bc27bbc8f08..000000000000 --- a/app-eselect/eselect-opencascade/eselect-opencascade-1.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Manages opencascade env file" -HOMEPAGE="https://www.gentoo.org/proj/en/eselect/" -SRC_URI="" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND="" - -S="${WORKDIR}" - -src_install() { - dodir /etc/env.d/opencascade - insinto /usr/share/eselect/modules - newins "${FILESDIR}"/${P}.eselect opencascade.eselect -} - -pkg_postrm() { - rm -v "${EROOT}"/etc/env.d/51opencascade -} diff --git a/app-eselect/eselect-opencascade/files/eselect-opencascade-1.eselect b/app-eselect/eselect-opencascade/files/eselect-opencascade-1.eselect deleted file mode 100644 index bf2e0497a170..000000000000 --- a/app-eselect/eselect-opencascade/files/eselect-opencascade-1.eselect +++ /dev/null @@ -1,112 +0,0 @@ -# -*-eselect-*- vim: ft=eselect -# Copyright (c) 2006-2019 Gentoo Authors -# -# This file is part of the 'eselect' tools framework. -# -# eselect is free software: you can redistribute it and/or modify it under the -# terms of the GNU General Public License as published by the Free Software -# Foundation, either version 2 of the License, or (at your option) any later -# version. -# -# eselect is distributed in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -# A PARTICULAR PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along with -# eselect. If not, see <http://www.gnu.org/licenses/>. - -DESCRIPTION="Manage OpenCASCADE implementation used by your system" -MAINTAINER="waebbl@gmail.com" -VERSION="1" - -MODULE=opencascade -TARGET=${EROOT}/etc/env.d/51${MODULE} -CONFDIR=${EROOT}/etc/env.d/${MODULE} - -inherit tests path-manipulation - -find_implems() { - local -a implems - for file in "${CONFDIR}"/* ; do - [[ -f ${file} ]] || continue - implems=(${implems[@]} "${file##*/}") - done - echo ${implems[@]} -} - -is_active() { - local f - [[ $# -eq 1 ]] || die "Need exactly 1 arguments!" - [[ -L ${TARGET} ]] || return 1 - f=$(canonicalise ${TARGET}) - [[ -e ${f} ]] || return 1 - [[ ${f##*/} == ${1} ]] -} - -# switch_implem $implem -# switches $iface combination to $implem -switch_implem() { - [[ $# -eq 1 ]] || die "Need exactly 1 arguments!" - $(is_active ${1}) && return - [[ -L ${TARGET} ]] && rm -f ${TARGET} - ln -s ${MODULE}/${1} ${TARGET} - env-update - echo "If you intend to use the selected opencascade in" - echo "an already running shell, please remember to do:" - echo - echo ". /etc/profile" -} - -describe_list() { - echo "List available OpenCASCADE implementations" -} - -do_list() { - local implem i - write_list_start "Installed $MODULE" - for implem in $(find_implems) ; do - (( i++ )) - is_active ${implem##*/} \ - && implem=$(highlight_marker "${implem}") - write_numbered_list_entry $i "${implem}" - done -} - -describe_set() { - echo "Activate one of the installed $MODULE implementations" -} - -describe_set_parameters() { - echo "<implementation>" -} - -describe_set_options() { - echo "implementation : implementation name or number (from 'list' action)" -} - -do_set() { - [[ $# -ne 1 ]] && die -q "Please specify exactly 1 implementation!" - local -a implems - - implems=( $(find_implems) ) - - if is_number ${1} ; then - new_implem=${implems[$(( ${1} - 1 ))]} - else - new_implem=${1} - fi - echo $new_implem - switch_implem ${new_implem} -} - -describe_show() { - echo "Print the currently active $MODULE implementation" -} - -do_show() { - local f n - [[ -L ${TARGET} ]] || return 1 - f=$(canonicalise ${TARGET}) - [[ -f ${f} ]] || return 1 - echo ${f##*/} -} diff --git a/app-eselect/eselect-package-manager/eselect-package-manager-20110108-r2.ebuild b/app-eselect/eselect-package-manager/eselect-package-manager-20110108-r2.ebuild index 7ca40cd34e72..068e2573d98d 100644 --- a/app-eselect/eselect-package-manager/eselect-package-manager-20110108-r2.ebuild +++ b/app-eselect/eselect-package-manager/eselect-package-manager-20110108-r2.ebuild @@ -1,15 +1,15 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DESCRIPTION="Manages PACKAGE_MANAGER environment variable" -HOMEPAGE="https://www.gentoo.org/proj/en/eselect/" -SRC_URI="mirror://gentoo/${P}.tar.bz2" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Eselect" +SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.bz2" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=">=app-admin/eselect-1.1.1" diff --git a/app-eselect/eselect-php/Manifest b/app-eselect/eselect-php/Manifest index 9dd98123ce87..ce643cad989b 100644 --- a/app-eselect/eselect-php/Manifest +++ b/app-eselect/eselect-php/Manifest @@ -1,4 +1 @@ -DIST eselect-php-0.9.6.tar.xz 53236 BLAKE2B 38478d4792f8a527e5f519abd7765211aff8c1d132ceeba5eec70ea3b8d1f254be52564334fed3840950c2461ff4a30784b92fbb8b21cc448083617797eab1d4 SHA512 d3f14288b3493cb48717c1f27430ae8b60881e9f6f48e4b7644a4596d9fc1b9823a6af8b7101a62b28a92e3bff164b1717617a2642a5bb02e8dd46de56d4f410 -DIST eselect-php-0.9.7.tar.bz2 8460 BLAKE2B 160c87d1373b10cb2bd2d48210c7382f721433fb45557d0a5336af0ea25a1a49b151bcbbcf253947e6a5018b5740e8f9f9b1a66544bd74539a4e54aeab047a74 SHA512 f6c909906228906bc75be24bdf69330db10b0ea84822a5a016a185ac2855eec34bf6cb0bdaf22f3edc331002e72c8ae56733e1ea13cf815948a7a58439240fa9 -DIST eselect-php-0.9.7.tar.xz 54124 BLAKE2B e704935046687de6aa52d1900c207a48c79bcb0122506d001bf63ebb76b8144f19b2439daa34fd8da942a5eb4ce942e9b5562e5446ba5b7f62c247470c72018b SHA512 9f4ec72e6ca82fc0d9652f8f55d8bb626dd04a2881cb74d6c63db7ac095ed8ae170fe33ed34a4a76afc9a436114ad23c6981c0dad5afdce8f09c9c0026163bed -DIST eselect-php-0.9.8.tar.xz 62048 BLAKE2B 7938053be5d3893d1b3b399decb9fb90ecc1d266edcee7192511c63ccdd21fb0e7deac2b654db3dc05f56de7c757bb34ed813a026fc711adc4ab05b373f3d275 SHA512 c947d303dc0406539017f3779a7ee1e51e670ce73a47e1a6722f8403573a5dae0825c3b6932d12123bab77187a515023b69fc771f24522480e74fa0287377c3c +DIST eselect-php-0.9.9.tar.xz 54632 BLAKE2B bdd8cb3fafbef057e068c57b413bf3ff03be324c9d0e4938342204780cc15ee9fd415757b1293892032901fb041746cc59f912783cea9dc04b52559d3d6f2415 SHA512 9a86986f9be05fe3c0796bf10dae9de7c9c2c57944d24ea202c6537ad185e4eea915d67befee27ce1c0e3908890661bf384bd54b1b421ec2b928776485da0364 diff --git a/app-eselect/eselect-php/eselect-php-0.9.6.ebuild b/app-eselect/eselect-php/eselect-php-0.9.6.ebuild deleted file mode 100644 index 9ad01454a9f3..000000000000 --- a/app-eselect/eselect-php/eselect-php-0.9.6.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit systemd - -DESCRIPTION="PHP eselect module" -HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-php.git/" -SRC_URI="https://dev.gentoo.org/~mjo/distfiles/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="fpm apache2" - -# The "DirectoryIndex" line in 70_mod_php.conf requires mod_dir. -RDEPEND="app-admin/eselect - apache2? ( www-servers/apache[apache2_modules_dir] )" - -src_configure() { - # We expect localstatedir to be "var"ish, not "var/lib"ish, because - # that's what PHP upstream expects. See for example the FPM - # configuration where they put logs in @localstatedir@/log. - # - # The libdir is passed explicitly in case the /usr/lib symlink - # is not present (bug 624528). - econf --libdir="${EPREFIX}/usr/$(get_libdir)" \ - --localstatedir="${EPREFIX}/var" \ - --with-piddir="${EPREFIX}/run" \ - $(use_enable apache2) \ - $(use_enable fpm) -} diff --git a/app-eselect/eselect-php/eselect-php-0.9.7.ebuild b/app-eselect/eselect-php/eselect-php-0.9.7.ebuild deleted file mode 100644 index a45b136d8d7b..000000000000 --- a/app-eselect/eselect-php/eselect-php-0.9.7.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit systemd autotools - -DESCRIPTION="PHP eselect module" -HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-php.git/" -SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="fpm apache2" - -# The "DirectoryIndex" line in 70_mod_php.conf requires mod_dir. -RDEPEND="app-admin/eselect - apache2? ( www-servers/apache[apache2_modules_dir] )" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # We expect localstatedir to be "var"ish, not "var/lib"ish, because - # that's what PHP upstream expects. See for example the FPM - # configuration where they put logs in @localstatedir@/log. - # - # The libdir is passed explicitly in case the /usr/lib symlink - # is not present (bug 624528). - econf --libdir="${EPREFIX}/usr/$(get_libdir)" \ - --localstatedir="${EPREFIX}/var" \ - --with-piddir="${EPREFIX}/run" \ - $(use_enable apache2) \ - $(use_enable fpm) -} diff --git a/app-eselect/eselect-php/eselect-php-0.9.8.ebuild b/app-eselect/eselect-php/eselect-php-0.9.8.ebuild deleted file mode 100644 index 0b16cb3a69dd..000000000000 --- a/app-eselect/eselect-php/eselect-php-0.9.8.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -TMPFILES_OPTIONAL="yes" -inherit tmpfiles - -DESCRIPTION="PHP eselect module" -HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-php.git/" -SRC_URI="https://dev.gentoo.org/~grknight/distfiles/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="fpm apache2" - -# The "DirectoryIndex" line in 70_mod_php.conf requires mod_dir. -RDEPEND="app-admin/eselect - apache2? ( www-servers/apache[apache2_modules_dir] ) - fpm? ( virtual/tmpfiles )" - -src_configure() { - # We expect localstatedir to be "var"ish, not "var/lib"ish, because - # that's what PHP upstream expects. See for example the FPM - # configuration where they put logs in @localstatedir@/log. - # - # The libdir is passed explicitly in case the /usr/lib symlink - # is not present (bug 624528). - econf --libdir="${EPREFIX}/usr/$(get_libdir)" \ - --localstatedir="${EPREFIX}/var" \ - --with-piddir="${EPREFIX}/run" \ - $(use_enable apache2) \ - $(use_enable fpm) -} - -pkg_postinst() { - use fpm && tmpfiles_process php-fpm.conf -} diff --git a/app-eselect/eselect-php/eselect-php-0.9.7-r1.ebuild b/app-eselect/eselect-php/eselect-php-0.9.9.ebuild index 8dc15b63e917..2b4502d845c3 100644 --- a/app-eselect/eselect-php/eselect-php-0.9.7-r1.ebuild +++ b/app-eselect/eselect-php/eselect-php-0.9.9.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 TMPFILES_OPTIONAL="yes" inherit tmpfiles @@ -12,7 +12,7 @@ SRC_URI="https://dev.gentoo.org/~mjo/distfiles/${P}.tar.xz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="fpm apache2" # The "DirectoryIndex" line in 70_mod_php.conf requires mod_dir. diff --git a/app-eselect/eselect-php/eselect-php-9999.ebuild b/app-eselect/eselect-php/eselect-php-9999.ebuild index aaf4cb6fd250..d43863a6ded3 100644 --- a/app-eselect/eselect-php/eselect-php-9999.ebuild +++ b/app-eselect/eselect-php/eselect-php-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 TMPFILES_OPTIONAL="yes" inherit autotools git-r3 tmpfiles diff --git a/app-eselect/eselect-pinentry/eselect-pinentry-0.7.1.ebuild b/app-eselect/eselect-pinentry/eselect-pinentry-0.7.1.ebuild deleted file mode 100644 index 2dc9957138ff..000000000000 --- a/app-eselect/eselect-pinentry/eselect-pinentry-0.7.1.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Manage /usr/bin/pinentry symlink" -HOMEPAGE="https://www.gentoo.org/proj/en/eselect/" -SRC_URI="" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -RDEPEND=">=app-eselect/eselect-lib-bin-symlink-0.1.1" - -S="${FILESDIR}" - -src_install() { - default - insinto /usr/share/eselect/modules - newins pinentry.eselect-${PV} pinentry.eselect -} diff --git a/app-eselect/eselect-pinentry/eselect-pinentry-0.7.2.ebuild b/app-eselect/eselect-pinentry/eselect-pinentry-0.7.2.ebuild deleted file mode 100644 index 69925d681de3..000000000000 --- a/app-eselect/eselect-pinentry/eselect-pinentry-0.7.2.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Manage /usr/bin/pinentry symlink" -HOMEPAGE="https://www.gentoo.org/proj/en/eselect/" -SRC_URI="" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -RDEPEND=">=app-eselect/eselect-lib-bin-symlink-0.1.1" - -S="${FILESDIR}" - -src_install() { - default - insinto /usr/share/eselect/modules - newins pinentry.eselect-${PV} pinentry.eselect -} diff --git a/app-eselect/eselect-pinentry/eselect-pinentry-0.7.3.ebuild b/app-eselect/eselect-pinentry/eselect-pinentry-0.7.3.ebuild new file mode 100644 index 000000000000..3d65df2747d5 --- /dev/null +++ b/app-eselect/eselect-pinentry/eselect-pinentry-0.7.3.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Manage /usr/bin/pinentry symlink" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Eselect" +S="${WORKDIR}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=">=app-eselect/eselect-lib-bin-symlink-0.1.1" + +src_install() { + insinto /usr/share/eselect/modules + newins "${FILESDIR}"/pinentry.eselect-${PV} pinentry.eselect +} diff --git a/app-eselect/eselect-pinentry/eselect-pinentry-0.7.4.ebuild b/app-eselect/eselect-pinentry/eselect-pinentry-0.7.4.ebuild new file mode 100644 index 000000000000..2f34f9567def --- /dev/null +++ b/app-eselect/eselect-pinentry/eselect-pinentry-0.7.4.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Manage /usr/bin/pinentry symlink" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Eselect" +S="${WORKDIR}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=">=app-eselect/eselect-lib-bin-symlink-0.1.1" + +src_install() { + insinto /usr/share/eselect/modules + newins "${FILESDIR}"/pinentry.eselect-${PV} pinentry.eselect +} diff --git a/app-eselect/eselect-pinentry/files/pinentry.eselect-0.7.1 b/app-eselect/eselect-pinentry/files/pinentry.eselect-0.7.1 deleted file mode 100644 index 77427c45da86..000000000000 --- a/app-eselect/eselect-pinentry/files/pinentry.eselect-0.7.1 +++ /dev/null @@ -1,12 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -DESCRIPTION="Manage /usr/bin/pinentry implementation" -MAINTAINER="zlogene@gentoo.org" -VERSION="0.7.1" - -SYMLINK_PATH=/usr/bin/pinentry -SYMLINK_TARGETS=( pinentry-gnome3 pinentry-qt5 pinentry-curses pinentry-tty ) -SYMLINK_DESCRIPTION='pinentry binary' - -inherit bin-symlink diff --git a/app-eselect/eselect-pinentry/files/pinentry.eselect-0.7.2 b/app-eselect/eselect-pinentry/files/pinentry.eselect-0.7.3 index c445cbf79276..bc058bb41ee7 100644 --- a/app-eselect/eselect-pinentry/files/pinentry.eselect-0.7.2 +++ b/app-eselect/eselect-pinentry/files/pinentry.eselect-0.7.3 @@ -1,12 +1,19 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 DESCRIPTION="Manage /usr/bin/pinentry implementation" -MAINTAINER="zlogene@gentoo.org" -VERSION="0.7.2" +MAINTAINER="maintainer-needed@gentoo.org" +VERSION="0.7.3" SYMLINK_PATH=/usr/bin/pinentry -SYMLINK_TARGETS=( pinentry-efl pinentry-gnome3 pinentry-qt5 pinentry-curses pinentry-tty ) +SYMLINK_TARGETS=( + pinentry-efl + pinentry-gnome3 + pinentry-qt5 + pinentry-curses + pinentry-tty + pinentry-emacs +) SYMLINK_DESCRIPTION='pinentry binary' inherit bin-symlink diff --git a/app-eselect/eselect-pinentry/files/pinentry.eselect-0.7.4 b/app-eselect/eselect-pinentry/files/pinentry.eselect-0.7.4 new file mode 100644 index 000000000000..74c6f14d8b53 --- /dev/null +++ b/app-eselect/eselect-pinentry/files/pinentry.eselect-0.7.4 @@ -0,0 +1,20 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Manage /usr/bin/pinentry implementation" +MAINTAINER="maintainer-needed@gentoo.org" +VERSION="0.7.4" + +SYMLINK_PATH=/usr/bin/pinentry +SYMLINK_TARGETS=( + pinentry-efl + pinentry-gnome3 + pinentry-qt5 + pinentry-qt6 + pinentry-curses + pinentry-tty + pinentry-emacs +) +SYMLINK_DESCRIPTION='pinentry binary' + +inherit bin-symlink diff --git a/app-eselect/eselect-pinentry/metadata.xml b/app-eselect/eselect-pinentry/metadata.xml index 31a6399a74d8..c3bda71eefca 100644 --- a/app-eselect/eselect-pinentry/metadata.xml +++ b/app-eselect/eselect-pinentry/metadata.xml @@ -1,9 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>zlogene@gentoo.org</email> - <name>Mikle Kolyada</name> - </maintainer> + <!-- maintainer-needed --> <stabilize-allarches/> </pkgmetadata> diff --git a/app-eselect/eselect-postgresql/eselect-postgresql-2.4.ebuild b/app-eselect/eselect-postgresql/eselect-postgresql-2.4-r1.ebuild index 8062c5d32747..6953c89741ad 100644 --- a/app-eselect/eselect-postgresql/eselect-postgresql-2.4.ebuild +++ b/app-eselect/eselect-postgresql/eselect-postgresql-2.4-r1.ebuild @@ -1,27 +1,17 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 DESCRIPTION="Utility to select the default PostgreSQL slot" HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" SRC_URI="https://dev.gentoo.org/~titanofold/${P}.tbz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +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" RDEPEND="app-admin/eselect" -# All dev-db/postgresql ebuilds from 10.0 on are well supported. Earlier -# ebuilds may present some quality of life issues. -PDEPEND=" - !<dev-db/postgresql-9.6.2-r1:9.6 - !<dev-db/postgresql-9.5.6-r1:9.5 - !<dev-db/postgresql-9.4.11-r1:9.4 - !<dev-db/postgresql-9.3.16-r1:9.3 - !<dev-db/postgresql-9.2.20-r1 -" - src_install() { insinto /usr/share/eselect/modules doins postgresql.eselect diff --git a/app-eselect/eselect-pwsh/Manifest b/app-eselect/eselect-pwsh/Manifest new file mode 100644 index 000000000000..2818d4e1b83a --- /dev/null +++ b/app-eselect/eselect-pwsh/Manifest @@ -0,0 +1 @@ +DIST eselect-pwsh-0.1.1.tar.bz2 7687 BLAKE2B e5e786c2ccb28f74436baed35db9937d1e0e20cba42926b8c3988d5ad406484ff0503126b8e68561fde1cbfdf434c86e9e08c9a54e312511aa4a04247abb61f5 SHA512 e08c18674cc55be9bcb93522bcae5f7161c6a3b347ff10ca95bca4130eacb8998141305c2c10b4e7dd8d783358234703330bba422ac798d9d7c43dc6206651bb diff --git a/app-eselect/eselect-pwsh/eselect-pwsh-0.1.1.ebuild b/app-eselect/eselect-pwsh/eselect-pwsh-0.1.1.ebuild new file mode 100644 index 000000000000..ed7222ce1814 --- /dev/null +++ b/app-eselect/eselect-pwsh/eselect-pwsh-0.1.1.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Eselect module for management of multiple pwsh versions" +HOMEPAGE="https://gitlab.gentoo.org/dotnet/eselect-pwsh/" +SRC_URI="https://gitlab.gentoo.org/dotnet/${PN}/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 arm ~arm64" + +RDEPEND="app-admin/eselect" + +src_install() { + insinto /usr/share/eselect/modules + doins pwsh.eselect +} diff --git a/app-eselect/eselect-pwsh/metadata.xml b/app-eselect/eselect-pwsh/metadata.xml new file mode 100644 index 000000000000..a3b330949c03 --- /dev/null +++ b/app-eselect/eselect-pwsh/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="project"> + <email>dotnet@gentoo.org</email> + <name>Gentoo Dotnet Project</name> + </maintainer> + <upstream> + <bugs-to>https://gitlab.com/xgqt/eselect-pwsh/-/issues/</bugs-to> + <remote-id type="gitlab">xgqt/eselect-pwsh</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-eselect/eselect-python/eselect-python-20200719.ebuild b/app-eselect/eselect-python/eselect-python-20200719.ebuild index 491fe41f0407..ae87dad8cea4 100644 --- a/app-eselect/eselect-python/eselect-python-20200719.ebuild +++ b/app-eselect/eselect-python/eselect-python-20200719.ebuild @@ -1,14 +1,14 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 if [[ ${PV} == "99999999" ]] ; then inherit autotools git-r3 - EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git" + EGIT_REPO_URI="https://anongit.gentoo.org/proj/${PN}.git" else SRC_URI="https://dev.gentoo.org/~chutzpah/dist/misc/${P}.tar.bz2" - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" fi DESCRIPTION="Eselect module for management of multiple Python versions" diff --git a/app-eselect/eselect-rails/Manifest b/app-eselect/eselect-rails/Manifest index 08fc02a27229..0fe482cc0a49 100644 --- a/app-eselect/eselect-rails/Manifest +++ b/app-eselect/eselect-rails/Manifest @@ -1 +1,2 @@ -DIST eselect-rails-0.25.tar.xz 1600 BLAKE2B 8d8c083860b2269e0cd1b6ae1d2852fe11b859b3b8c15d7f6a4b5158da4606b4cea67e4bb2b87630cad0eb8938fb9f5fc9c208495e95c33a6efa3bdfd20aacb2 SHA512 7c2f7eb8514ff57936d695df85e40bbef3ed85947830b020cf7e2e6369b0ccd636cf242cc0fedbc07cfe632c038be483e5dd99c7f2f79355efc2e73aebaa984e +DIST eselect-rails-0.26.tar.xz 1580 BLAKE2B 2440c57c853ed9cb99d1dd4cb5d6b72adcc5cd5e5c66f7b2b34b298152e8349c4e178645eb185ab771f5459e379465efa03ca4f42eb5ce50ff0305a4610b8270 SHA512 e7b064d00ca9d32e7fa2a837be0d247c2a109dfc7f8458e6ad96d3d685d1f7972fe64e34cf0c0b16c1ee20e91005f92bee46c98f3418c28c02ed0df234d954c9 +DIST eselect-rails-0.27.tar.xz 1584 BLAKE2B 88e14963cf0afe7c708bd9f7a812fbe398e7fe06a5a964a50a2f9337c6ccea396ec55b139395e22ee093993be490bcb65bcde5d98c282ff3eca8eb0837e4a06d SHA512 11a4401a708ef069c4d280106c11e43bc0fd5460df6fadff12dc2e266ca0c0ef04587fd97d6feeb822636edcc2db0bb94b981a5fac15e96bb8ef5abcf8bd6ee6 diff --git a/app-eselect/eselect-rails/eselect-rails-0.25.ebuild b/app-eselect/eselect-rails/eselect-rails-0.26.ebuild index 0285222a9b42..45e8e317a227 100644 --- a/app-eselect/eselect-rails/eselect-rails-0.25.ebuild +++ b/app-eselect/eselect-rails/eselect-rails-0.26.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 DESCRIPTION="Manages Ruby on Rails symlinks" HOMEPAGE="https://gitweb.gentoo.org/proj/ruby-scripts.git/tree/eselect-rails" @@ -9,7 +9,7 @@ SRC_URI="https://dev.gentoo.org/~graaff/ruby-team/${P}.tar.xz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="" RDEPEND=">=app-admin/eselect-1.2.0" diff --git a/app-eselect/eselect-rails/eselect-rails-0.27.ebuild b/app-eselect/eselect-rails/eselect-rails-0.27.ebuild new file mode 100644 index 000000000000..b92360b61aab --- /dev/null +++ b/app-eselect/eselect-rails/eselect-rails-0.27.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Manages Ruby on Rails symlinks" +HOMEPAGE="https://gitweb.gentoo.org/proj/ruby-scripts.git/tree/eselect-rails" +SRC_URI="https://dev.gentoo.org/~graaff/ruby-team/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="" + +RDEPEND=">=app-admin/eselect-1.2.0" + +S=${WORKDIR} + +src_prepare() { + default + + # Fix/Add Prefix support + sed -i -e 's/\${ROOT}/${EROOT}/' *.eselect || die +} + +src_install() { + insinto /usr/share/eselect/modules + doins *.eselect +} diff --git a/app-eselect/eselect-repository/Manifest b/app-eselect/eselect-repository/Manifest index 6337725d6b0b..0893096b64d3 100644 --- a/app-eselect/eselect-repository/Manifest +++ b/app-eselect/eselect-repository/Manifest @@ -1 +1 @@ -DIST eselect-repository-12.tar.gz 8543 BLAKE2B 14866156ddfefebaea368c4a13413d79e7858520861ee2b699cb09b339f3bb4b8393af7201b4cb7d6a60d2a48d168a053cc4707e2f56a7a2a11cfb5156cfa83f SHA512 3b98b9bd87fe61c7fb4d314e72c8433b11dd80501cfd226d4a4de25ca6d08e7a14a2497a1700ac64d704368bb8e5ea2ec337d0712097e9e10182a3122a59e388 +DIST eselect-repository-14.tar.gz 8954 BLAKE2B 01cfe850a4ede31e28ef28c26093217691b1e77ac52c4fed3c2bffac9e066e7d298e34c88028fce996edcfb0f2efcc3799db7d70753e40455d455ad0dd68edf5 SHA512 dc5350aba4fe5b76b0d5cfdf267b34ea26f3d3e3c7ec3d523696fd2635a49f616297d2dc9efc6bb7ce2ebd9c87a4ad7f0f06f115da34c401ed6306e5be7ac687 diff --git a/app-eselect/eselect-repository/eselect-repository-12.ebuild b/app-eselect/eselect-repository/eselect-repository-14.ebuild index 2cc2fc5af707..62f1daefab04 100644 --- a/app-eselect/eselect-repository/eselect-repository-12.ebuild +++ b/app-eselect/eselect-repository/eselect-repository-14.ebuild @@ -1,21 +1,21 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit python-single-r1 DESCRIPTION="Manage repos.conf via eselect" -HOMEPAGE="https://github.com/mgorny/eselect-repository/" +HOMEPAGE="https://github.com/projg2/eselect-repository/" SRC_URI=" - https://github.com/mgorny/eselect-repository/archive/v${PV}.tar.gz + https://github.com/projg2/eselect-repository/archive/v${PV}.tar.gz -> ${P}.tar.gz " LICENSE="BSD-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" IUSE="test" RESTRICT="!test? ( test )" REQUIRED_USE=${PYTHON_REQUIRED_USE} diff --git a/app-eselect/eselect-repository/metadata.xml b/app-eselect/eselect-repository/metadata.xml index 213d2358fc3c..affa96ed287a 100644 --- a/app-eselect/eselect-repository/metadata.xml +++ b/app-eselect/eselect-repository/metadata.xml @@ -6,7 +6,7 @@ <name>Michał Górny</name> </maintainer> <upstream> - <remote-id type="github">mgorny/eselect-repository</remote-id> + <remote-id type="github">projg2/eselect-repository</remote-id> </upstream> <stabilize-allarches/> </pkgmetadata> diff --git a/app-eselect/eselect-ruby/Manifest b/app-eselect/eselect-ruby/Manifest index 7d1b51379edb..b585229e90cf 100644 --- a/app-eselect/eselect-ruby/Manifest +++ b/app-eselect/eselect-ruby/Manifest @@ -1,3 +1,2 @@ -DIST ruby.eselect-20191222.xz 2000 BLAKE2B ec89dca67730ff3c6acba8906f9436866b45c3b7fc4c29be6614eddf7e5fbc1f9f9ff0bfe3ddfdc7309d242a5da6f8913cae738895fd6abcc39dc336f609d066 SHA512 72c3e3fe8c82474de25dbde9f1f63739e57be3e4e61a1f86e57c9dcaf92d72fd8d17263f8a326af771f64395febc82f5eb29e86b4b2a44af029b6c1fc41e43d2 -DIST ruby.eselect-20201225.xz 2008 BLAKE2B 1471c174dddda5078f54b39b46d78dd0a5a2e23b19185d3c833f870b94809c4e7a642bb987d2213e9f99799c7669f0cbeca77dcefe381804f9aa91e197ed499c SHA512 e5b6ff18a7e1a7e3d902b59d27a558499fb87008abe51c3901430ebeaaacd1c1ebc6b782d6eb083d0d2abb5f0fd7cf712b42b451342cbeccceabb8d17859668c -DIST ruby.eselect-20220313.xz 2008 BLAKE2B aeeb70228ccaf163359cff4ba09e9417df7896f63748821b447b08f6fc57cfc760963ee231c82a03b33f24e01492d9305a68f29d00cd45d29d37e8ee4fb92afe SHA512 542ddb796b93e4b954f5fcfbc49e06b41218e1def73078b14c4d6505227bf08dc7fec20b11042058149af4939fd341c20bfc0c9dd13900a33d12f02ff761412f +DIST ruby.eselect-20230616.xz 1976 BLAKE2B 6f31e517a23672300032e9e5bd9edb3d6601b2b23c4a8997d436815d39d91218791b0d4ce172bcc45bf1ef3b4155580939823f7d061e804928a307320323a6ef SHA512 e2b5d30932914282749ddf31d85c8776240ead3a49f93d39c9833a4bc31beb6b53867bf0b86e575d4b88b7adf5aea709d9adb60b4436e3839ebd1c3a6c384111 +DIST ruby.eselect-20231226.xz 1976 BLAKE2B 220ad2dcb4d7c3b9782f2efc6e0763d7d47f55a1464d9ba7585d91c66021a2873e0f0f23f3c46b28886ac037885d3d96d2ef658777760471d3feb4b403cde62e SHA512 0acac48a8942f2757718176de1fa1f084d3462e21b0003ddf84d3d6234b7557f4583aab2d27a50aeea5c881c5bc779076394c047c2844d82494e85d1e73230fb diff --git a/app-eselect/eselect-ruby/eselect-ruby-20201225.ebuild b/app-eselect/eselect-ruby/eselect-ruby-20201225.ebuild deleted file mode 100644 index f065856acf72..000000000000 --- a/app-eselect/eselect-ruby/eselect-ruby-20201225.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Manages multiple Ruby versions" -HOMEPAGE="https://wiki.gentoo.org/wiki/Ruby" -SRC_URI="https://dev.gentoo.org/~graaff/ruby-team/ruby.eselect-${PVR}.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -RDEPEND=">=app-admin/eselect-1.0.2" - -S=${WORKDIR} - -src_install() { - insinto /usr/share/eselect/modules - newins "${WORKDIR}/ruby.eselect-${PVR}" ruby.eselect -} diff --git a/app-eselect/eselect-ruby/eselect-ruby-20191222.ebuild b/app-eselect/eselect-ruby/eselect-ruby-20230616.ebuild index aea503551f29..5b8d7359784e 100644 --- a/app-eselect/eselect-ruby/eselect-ruby-20191222.ebuild +++ b/app-eselect/eselect-ruby/eselect-ruby-20230616.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 DESCRIPTION="Manages multiple Ruby versions" HOMEPAGE="https://wiki.gentoo.org/wiki/Ruby" @@ -9,7 +9,7 @@ SRC_URI="https://dev.gentoo.org/~graaff/ruby-team/ruby.eselect-${PVR}.xz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="" RDEPEND=">=app-admin/eselect-1.0.2" diff --git a/app-eselect/eselect-ruby/eselect-ruby-20220313.ebuild b/app-eselect/eselect-ruby/eselect-ruby-20231226.ebuild index 67bbba5c9f3e..2fb18d184e5a 100644 --- a/app-eselect/eselect-ruby/eselect-ruby-20220313.ebuild +++ b/app-eselect/eselect-ruby/eselect-ruby-20231226.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 @@ -9,7 +9,7 @@ SRC_URI="https://dev.gentoo.org/~graaff/ruby-team/ruby.eselect-${PVR}.xz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="" RDEPEND=">=app-admin/eselect-1.0.2" diff --git a/app-eselect/eselect-rust/eselect-rust-20210703.ebuild b/app-eselect/eselect-rust/eselect-rust-20210703.ebuild index 0083ce57617b..efe373380339 100644 --- a/app-eselect/eselect-rust/eselect-rust-20210703.ebuild +++ b/app-eselect/eselect-rust/eselect-rust-20210703.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -9,7 +9,7 @@ if [[ ${PV} == "99999999" ]] ; then EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git" else SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2" - KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86" + KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" fi DESCRIPTION="Eselect module for management of multiple Rust versions" diff --git a/app-eselect/eselect-scala/metadata.xml b/app-eselect/eselect-scala/metadata.xml index c3744aa4073f..5aec4384f60a 100644 --- a/app-eselect/eselect-scala/metadata.xml +++ b/app-eselect/eselect-scala/metadata.xml @@ -1,9 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>gienah@gentoo.org</email> - </maintainer> <maintainer type="project"> <email>java@gentoo.org</email> <name>Java</name> diff --git a/app-eselect/eselect-sh/eselect-sh-0.4.1.ebuild b/app-eselect/eselect-sh/eselect-sh-0.4.1.ebuild deleted file mode 100644 index 8d11908d4feb..000000000000 --- a/app-eselect/eselect-sh/eselect-sh-0.4.1.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Manages the /bin/sh (POSIX shell) symlink" -HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" -SRC_URI="" -S=${WORKDIR} - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -RDEPEND="app-eselect/eselect-lib-bin-symlink" - -src_install() { - insinto /usr/share/eselect/modules - newins "${FILESDIR}"/sh.eselect-${PV} sh.eselect -} diff --git a/app-eselect/eselect-sh/files/sh.eselect-0.4.1 b/app-eselect/eselect-sh/files/sh.eselect-0.4.1 deleted file mode 100644 index 286c321816d9..000000000000 --- a/app-eselect/eselect-sh/files/sh.eselect-0.4.1 +++ /dev/null @@ -1,13 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -DESCRIPTION="Manage /bin/sh (POSIX shell) implementations" -MAINTAINER="mgorny@gentoo.org" -VERSION="0.4.1" - -SYMLINK_PATH=/bin/sh -SYMLINK_TARGETS=( bash dash mksh ) -SYMLINK_DESCRIPTION='POSIX shell' -SYMLINK_CRUCIAL=1 - -inherit bin-symlink diff --git a/app-eselect/eselect-timezone/eselect-timezone-0.2.ebuild b/app-eselect/eselect-timezone/eselect-timezone-0.2.ebuild index f4d3c19578c7..4d9a265ecbe6 100644 --- a/app-eselect/eselect-timezone/eselect-timezone-0.2.ebuild +++ b/app-eselect/eselect-timezone/eselect-timezone-0.2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 DESCRIPTION="Manages timezone selection" HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" diff --git a/app-eselect/eselect-timezone/metadata.xml b/app-eselect/eselect-timezone/metadata.xml index a2e015de1f8f..c3bda71eefca 100644 --- a/app-eselect/eselect-timezone/metadata.xml +++ b/app-eselect/eselect-timezone/metadata.xml @@ -1,9 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>junghans@gentoo.org</email> - <name>Christoph Junghans</name> - </maintainer> + <!-- maintainer-needed --> <stabilize-allarches/> </pkgmetadata> diff --git a/app-eselect/eselect-timidity/eselect-timidity-20110513-r1.ebuild b/app-eselect/eselect-timidity/eselect-timidity-20110513-r1.ebuild index 885170c412e5..e2061e50eea8 100644 --- a/app-eselect/eselect-timidity/eselect-timidity-20110513-r1.ebuild +++ b/app-eselect/eselect-timidity/eselect-timidity-20110513-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,7 +10,7 @@ S="${WORKDIR}" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86" RDEPEND=">=app-admin/eselect-1.2.3" diff --git a/app-eselect/eselect-unison/files/unison.eselect-0.4 b/app-eselect/eselect-unison/files/unison.eselect-0.4 index b65381985bcb..f400610bf0e7 100644 --- a/app-eselect/eselect-unison/files/unison.eselect-0.4 +++ b/app-eselect/eselect-unison/files/unison.eselect-0.4 @@ -64,7 +64,7 @@ describe_show() { do_show() { [[ -z "${@}" ]] || die -q "Too many parameters" - write_list_start "Current unison verson:" + write_list_start "Current unison version:" if [[ -L "${EROOT}/usr/bin/unison" ]] ; then write_kv_list_entry "$(identify_target)" "" elif [[ -e "${EROOT}/usr/bin/unison" ]] ; then diff --git a/app-eselect/eselect-vi/Manifest b/app-eselect/eselect-vi/Manifest index c34b57b3cdc5..06c22e7cf3d4 100644 --- a/app-eselect/eselect-vi/Manifest +++ b/app-eselect/eselect-vi/Manifest @@ -1 +1 @@ -DIST eselect-vi-1.2.tar.gz 2078 BLAKE2B 0f78afe201d9db72de005e035fd044435faf76b0027ce570cad09f3b4f0f497631f57107222de5e649c8badc0cbc3172edd1f1600e5b7bee8ba6f78b2ae9277a SHA512 77ec5281a25156d4a6c4b35fb154aa5837e4d2335637ecdb66a75984419439526f2215abe39a4d08e68d8dd3e337f47947f5a8fbf89ae7ecca8631e7dbf50dc5 +DIST eselect-vi-20221122.tar.xz 43764 BLAKE2B fd6eff4d7e6e040ba5c844479148105c869cc36930f186949ba3d23eb0cae3e0dfbdf1faf723124abf7112149dfcfda2ab1e57edbcae8e6d9d4c9de80755392c SHA512 9c3625130d9ae9e888cd93eee989398a6da778d99e3cd50ee4048e5e3676f478bb3ba37a281b3200673cea8792c51f105d93e4a89ecf765fea1b278c8763bee3 diff --git a/app-eselect/eselect-vi/eselect-vi-1.2.ebuild b/app-eselect/eselect-vi/eselect-vi-1.2.ebuild deleted file mode 100644 index f6d6fcd1cdde..000000000000 --- a/app-eselect/eselect-vi/eselect-vi-1.2.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -DESCRIPTION="Manages the /usr/bin/vi symlink" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Vim" -SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -RDEPEND="app-admin/eselect" - -src_prepare() { - default - eautoreconf -} diff --git a/app-eselect/eselect-vi/eselect-vi-20221122.ebuild b/app-eselect/eselect-vi/eselect-vi-20221122.ebuild new file mode 100644 index 000000000000..80a869db1567 --- /dev/null +++ b/app-eselect/eselect-vi/eselect-vi-20221122.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Manages the /usr/bin/vi symlink" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Vim" +SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND="app-admin/eselect" diff --git a/app-eselect/eselect-vi/metadata.xml b/app-eselect/eselect-vi/metadata.xml index f8a2bb7497f6..173316bf8504 100644 --- a/app-eselect/eselect-vi/metadata.xml +++ b/app-eselect/eselect-vi/metadata.xml @@ -6,4 +6,7 @@ <name>Gentoo Vim Project</name> </maintainer> <stabilize-allarches/> + <upstream> + <remote-id type="gentoo">proj/eselect-vi</remote-id> + </upstream> </pkgmetadata> diff --git a/app-eselect/eselect-wine/Manifest b/app-eselect/eselect-wine/Manifest index 8e0dc05f626f..587b8dab3e3b 100644 --- a/app-eselect/eselect-wine/Manifest +++ b/app-eselect/eselect-wine/Manifest @@ -1 +1 @@ -DIST wine.eselect-1.2.2 19370 BLAKE2B 957eb84b7ccb24d12eba876a538f0420ab05506c87086b65c27326c80da9adcfbff032c7ecc7b5763012c6d72cc53f643f0d3ffe02687adb103517dedfad2f0e SHA512 6380e904ca824b1fe45cf651637f1cfe931f0c7519db49cb0794826ebbc8bdebc480fe7eb16601dc37123b44ea2d10aec49aa9fe622cad3e67ffb0f730292614 +DIST eselect-wine-2.0.2.tar.bz2 7449 BLAKE2B ce933920a7b6d1df0c0e5f5ae27b1ad1c7467489bd2d35c977b1d9894012b6bcb52d2830c3ebcef9228de40c6f31650e78d40051c82badf959c51339fe6bfa10 SHA512 c49c08e25d7e15c04205608118ea38e970db31f394534efd44070eec5c2148463c09d2b2787a9bb9c1b5f29010e99b4769d3f219b3ae826ceae56757aab596d1 diff --git a/app-eselect/eselect-wine/eselect-wine-1.2.2.ebuild b/app-eselect/eselect-wine/eselect-wine-1.2.2.ebuild deleted file mode 100644 index b38ee9c21af7..000000000000 --- a/app-eselect/eselect-wine/eselect-wine-1.2.2.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DESCRIPTION="Manage active wine version" -HOMEPAGE="https://bitbucket.org/NP-Hardass/eselect-wine" -SRC_URI="https://bitbucket.org/NP-Hardass/${PN}/raw/v${PV}/wine.eselect -> wine.eselect-${PV}" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="-* amd64 x86" -IUSE="" - -RDEPEND="app-admin/eselect - dev-util/desktop-file-utils - !!app-emulation/wine:0" - -S=${WORKDIR} - -src_install() { - keepdir /etc/eselect/wine - - insinto /usr/share/eselect/modules - newins "${DISTDIR}"/wine.eselect-${PV} wine.eselect -} - -pkg_postinst() { - # <eselect-wine-v0.3_rc7 installed symlinks with leading double-slashes. - # In /usr/include this breaks gcc build. - # https://bugs.gentoo.org/434180 - if [[ $(readlink "${EROOT%/}"/usr/include/wine) == //* ]]; then - ewarn "Leading double slash in ${EPREFIX}/usr/include/wine symlink detected." - ewarn "Re-setting wine symlinks..." - eselect wine update --if-unset - fi -} - -pkg_prerm() { - # Avoid conflicts with wine[-multislot] installed later - if [[ -z ${REPLACED_BY_VERSION} ]]; then - elog "${PN} is being uninstalled, removing symlinks" - eselect wine unset --all || die - else - einfo "${PN} is being updated/reinstalled, not modifying symlinks" - fi -} diff --git a/app-eselect/eselect-wine/eselect-wine-2.0.2-r2.ebuild b/app-eselect/eselect-wine/eselect-wine-2.0.2-r2.ebuild new file mode 100644 index 000000000000..da39532a82a4 --- /dev/null +++ b/app-eselect/eselect-wine/eselect-wine-2.0.2-r2.ebuild @@ -0,0 +1,94 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Manage active Wine slots and variants" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Wine" +SRC_URI="https://gitweb.gentoo.org/proj/eselect-wine.git/snapshot/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="+xdg" + +# xdg-utils needed for bug #884077 +RDEPEND=" + app-admin/eselect + xdg? ( x11-misc/xdg-utils ) +" + +src_install() { + insinto /usr/share/eselect/modules + doins wine.eselect + + keepdir /etc/eselect/wine + + newenvd - 95${PN} <<-EOF + PATH="${EPREFIX}/etc/eselect/wine/bin" + MANPATH="${EPREFIX}/etc/eselect/wine/share/man"$(usev xdg " + XDG_DATA_DIRS=\"${EPREFIX}/etc/eselect/wine/share\"") + EOF + + # links to help building, e.g. wineasio (bug #657748), + # albeit in general these are not particularly important + dosym -r /etc/eselect/wine/wine /usr/lib/wine + dosym -r /etc/eselect/wine/include/wine /usr/include/wine + + einstalldocs +} + +pkg_preinst() { + if has_version '<app-eselect/eselect-wine-2'; then + # keep copy of still-set 'active' to auto-select same slots + if [[ -e ${EROOT}/etc/eselect/wine/active && + ! -e ${EROOT}/etc/eselect/wine/eselect-wine-migration ]]; then + cp "${EROOT}"/etc/eselect/wine/{active,eselect-wine-migration} || die + fi + + # managed differently, need cleanup + eselect wine unset --all || die + rm -f "${EROOT}"/etc/eselect/wine/{active,installed,links/{any,vanilla,staging,proton,wine}} || die + rmdir "${EROOT}"/etc/eselect/wine/links 2>/dev/null + + # some rare man dirs were created by old eselect, cleanup if now empty + rmdir "${EROOT}"/usr/share/man/{de,fr,pl}.UTF-8{/man1,} 2>/dev/null + fi + + # lacking QA_BROKEN_SYMLINK, and rather avoid live /usr changes wrt + # bug #632576, nor create "owned" placeholders that will be clobbered + [[ -e ${EROOT}/etc/eselect/wine/bin/wine ]] || + eqawarn "QA Note: broken symlinks QA is normal on first merge, targets created after" +} + +pkg_postinst() { + eselect wine update --if-unset || die + + rm -f "${EROOT}"/etc/eselect/wine/eselect-wine-migration || die # see preinst + + if [[ ! ${REPLACING_VERSIONS##* } ]] || + ver_test ${REPLACING_VERSIONS##* } -lt 2; then + elog + [[ ${REPLACING_VERSIONS} ]] && + elog "${PN} changed a bit, suggest reviewing 'eselect wine help' (and list)." + elog "Please run '. ${EROOT}/etc/profile' to update PATH in current shells" + elog "(PATH should have ':${EPREFIX}/etc/eselect/wine/bin'). Wine can otherwise" + elog "be executed directly from '${EPREFIX}/etc/eselect/wine/bin/wine'." + fi + + if [[ ${REPLACING_VERSIONS##* } ]] && + ver_test ${REPLACING_VERSIONS##* } -lt 2.0.2-r1; then + elog + elog "Be warned that >=${PN}-2.0.2-r1 no longer installs the" + elog "'${EPREFIX}/usr/bin/wine' symbolic link. wine(1) can still be found" + elog "in PATH but, if using the direct location for scripts and/or binfmt," + elog "then please update these to use: '${EPREFIX}/etc/eselect/wine/bin/wine'" + elog + elog "If wine is not found in PATH, please ensure that not overriding the" + elog "default PATH value that should include ':${EPREFIX}/etc/eselect/wine/bin'" + fi +} + +pkg_prerm() { + [[ ${REPLACED_BY_VERSION} ]] || eselect wine update --reset # no die +} diff --git a/app-eselect/eselect-wine/metadata.xml b/app-eselect/eselect-wine/metadata.xml index 280cd5c41bf0..c8c7d6ad97d2 100644 --- a/app-eselect/eselect-wine/metadata.xml +++ b/app-eselect/eselect-wine/metadata.xml @@ -5,8 +5,14 @@ <email>wine@gentoo.org</email> <name>Wine</name> </maintainer> + <stabilize-allarches/> + <use> + <flag name="xdg"> + Set XDG_DATA_DIRS to use the selected wine.desktop, + allows e.g. 'xdg-open my.exe' for file managers + </flag> + </use> <upstream> - <remote-id type="bitbucket">np-hardass/eselect-wine</remote-id> + <remote-id type="gentoo">proj/eselect-wine</remote-id> </upstream> - <stabilize-allarches/> </pkgmetadata> diff --git a/app-eselect/eselect-wxwidgets/Manifest b/app-eselect/eselect-wxwidgets/Manifest index 9ba82af10fda..8f68605c63ad 100644 --- a/app-eselect/eselect-wxwidgets/Manifest +++ b/app-eselect/eselect-wxwidgets/Manifest @@ -1,2 +1,3 @@ DIST eselect-wxwidgets-20180529.tar.xz 2380 BLAKE2B 2f5d5e79b9cd85442b0aa0d1453d84651308d4c33711b919802b383bb98865b615a9afd0493b4d34232c3d986e68246e35943d96a31e25a3fb2778b6483ec764 SHA512 d91e87f23c7feb807ed75fcfd363b61fadd8c305e3aa82c5e3dfa3d9fbc2c18a8b7e6404bcac9ebd6c34269406712d453e5bd877509f26f3648cb864df36e281 +DIST eselect-wxwidgets-20230114.tar.xz 11328 BLAKE2B f417bd1549d12b9a0ec629d92a38863caafc000a6212560f1405930dab6149c106836d0d1e61d8dbfad14059c628775e85fbf0ecdcd909403e06f666aff5e684 SHA512 0da2713e61920792a89e82334b1561464a0afbc61aed7857b7029980370b7f023edcae0da8d7225f091e65dc207e6c346cd4bfddcbe06a71264f597ecffeea95 DIST eselect-wxwidgets-files.tar.bz2 9126 BLAKE2B 47ec94aec721d325fc483ece28e84b48c35b103078415447b6e79e68ab44af9356955c960b9464713396f4cbbf663522e5a4493516414641aa5b99e7cdca0ac8 SHA512 c5aba3bf4bbb891534e0c7a444da6cb90a947dab407e436a1eccd13ddb33251816ce95b5fb6826aa9a64ec2b3d9be09c9852859597b0b8ce91cbaf0f6ed6da5e diff --git a/app-eselect/eselect-wxwidgets/eselect-wxwidgets-20180529.ebuild b/app-eselect/eselect-wxwidgets/eselect-wxwidgets-20180529.ebuild index e2007d63dcbb..07e2f70a0db2 100644 --- a/app-eselect/eselect-wxwidgets/eselect-wxwidgets-20180529.ebuild +++ b/app-eselect/eselect-wxwidgets/eselect-wxwidgets-20180529.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" RDEPEND=">=app-admin/eselect-1.4.13" diff --git a/app-eselect/eselect-wxwidgets/eselect-wxwidgets-20230114-r1.ebuild b/app-eselect/eselect-wxwidgets/eselect-wxwidgets-20230114-r1.ebuild new file mode 100644 index 000000000000..702b10d2af5f --- /dev/null +++ b/app-eselect/eselect-wxwidgets/eselect-wxwidgets-20230114-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib + +WXWRAP_VER=1.4 + +DESCRIPTION="Eselect module and wrappers for wxWidgets" +HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-wxwidgets.git/" +SRC_URI="https://dev.gentoo.org/~sam/distfiles/app-eselect/eselect-wxwidgets/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" + +RDEPEND=">=app-admin/eselect-1.4.13" + +src_prepare() { + sed \ + -e "/^LIBDIR=/s:lib:$(get_libdir):" \ + -e "/^EPREFIX=/s:'':'${EPREFIX}':" \ + -i {wx-config,wxrc}-"${WXWRAP_VER}" || die + eapply_user +} + +src_install() { + insinto /usr/share/eselect/modules + doins wxwidgets.eselect + + insinto /usr/share/aclocal + newins wxwin.m4-3.0 wxwin.m4 + + newbin "wx-config-${WXWRAP_VER}" wx-config + newbin "wxrc-${WXWRAP_VER}" wxrc + + keepdir /var/lib/wxwidgets + keepdir /usr/share/bakefile/presets +} + +pkg_postinst() { + if [[ ! -e ${EROOT}/var/lib/wxwidgets/current ]]; then + echo 'WXCONFIG="none"' > "${EROOT}"/var/lib/wxwidgets/current + fi + + elog "This eselect module only controls the version of wxGTK used when" + elog "building packages outside of portage. If you are not doing development" + elog "with wxWidgets or bakefile you will never need to use it." +} diff --git a/app-eselect/eselect-zig/eselect-zig-1-r1.ebuild b/app-eselect/eselect-zig/eselect-zig-1-r1.ebuild new file mode 100644 index 000000000000..9c8deeddf2eb --- /dev/null +++ b/app-eselect/eselect-zig/eselect-zig-1-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Manages Zig versions" +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND="app-admin/eselect" + +S="${WORKDIR}" + +src_install() { + insinto /usr/share/eselect/modules/ + newins "${FILESDIR}"/zig.eselect-${PVR} zig.eselect +} diff --git a/app-eselect/eselect-zig/files/zig.eselect-1-r1 b/app-eselect/eselect-zig/files/zig.eselect-1-r1 new file mode 100644 index 000000000000..137c267e169d --- /dev/null +++ b/app-eselect/eselect-zig/files/zig.eselect-1-r1 @@ -0,0 +1,132 @@ +# -*-eselect-*- vim: ft=eselect +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Manage Zig versions" +MAINTAINER="bratishkaerik@landless-city.net" + +show_selected_target() { + readlink "${EROOT}/usr/bin/zig" +} + +find_targets() { + for f in "${EROOT}"/usr/bin/zig-*; do + [[ -f "${f}" ]] && basename "${f}" + done +} + +remove_symlinks() { + rm "${EROOT}/usr/bin/zig" +} + +set_symlinks() { + local target=$1 + if is_number "${target}"; then + local targets=( $(find_targets) ) + target=${targets[target-1]} + fi + + [[ -z "${target}" || ! -f "${EROOT}/usr/bin/${target}" ]] \ + && die -q "Target \"$1\" doesn't appear to be valid!" + + ln -s "${target}" "${EROOT}/usr/bin/zig" +} + + + +### show action ### + +describe_show() { + echo "Show current Zig version" +} + +do_show() { + write_list_start "Current Zig version:" + if [[ -L "${EROOT}/usr/bin/zig" ]]; then + write_kv_list_entry "$(show_selected_target)" "" + else + write_kv_list_entry "(unset)" "" + fi +} + +### list action ### + +describe_list() { + echo "List available Zig versions" +} + +do_list() { + local targets=( $(find_targets) ) + local selected_target + selected_target=$(show_selected_target) + + write_list_start "Available Zig versions:" + for (( i = 0; i < ${#targets[@]}; i++ )); do + [[ ${targets[i]} == "${selected_target}" ]] && targets[i]=$(highlight_marker "${targets[i]}") + done + write_numbered_list -m "(none found)" "${targets[@]}" +} + + +### set action ### + +describe_set() { + echo "Set active Zig version" +} + +describe_set_parameters() { + echo "<target>" +} + +describe_set_options() { + echo "target: Target name or number (from 'list' action)" +} + +do_set() { + [[ -z $1 ]] && die -q "You need to specify a target" + [[ $# -gt 1 ]] && die -q "Too many parameters" + test_usr_bin_writeable + + if [[ -L "${EROOT}/usr/bin/zig" ]]; then + remove_symlinks || die -q "Couldn't remove symlink" + fi + set_symlinks "$1" || die -q "Couldn't set a new symlink" +} + + +### update action ### + +describe_update() { + echo "Automatically update the zig symlink" +} + +describe_update_options() { + echo "ifunset: Do not override currently set version" +} + +do_update() { + [[ -z $1 || $1 == ifunset ]] || die -q "Usage error" + [[ $# -gt 1 ]] && die -q "Too many parameters" + test_usr_bin_writeable + + if [[ -L ${EROOT}/usr/bin/zig ]]; then + if [[ $1 == ifunset && -e ${EROOT}/usr/bin/zig ]]; then + return + fi + remove_symlinks + elif [[ -e ${EROOT}/usr/bin/zig ]]; then + die -q "${EROOT}/usr/bin/zig exists but is not a symlink" + fi + + local targets=( $(find_targets) ) + if [[ ${#targets[@]} -gt 0 ]]; then + set_symlinks "${targets[${#targets[@]}-1]}" + fi +} + + +### helper functions ### + +test_usr_bin_writeable() { + [[ -w ${EROOT}/usr/bin ]] || die -q "${EROOT}/usr/bin not writeable by current user. Are you root?" +} diff --git a/app-eselect/eselect-opencascade/metadata.xml b/app-eselect/eselect-zig/metadata.xml index 93c3ab3f0576..916315cd6499 100644 --- a/app-eselect/eselect-opencascade/metadata.xml +++ b/app-eselect/eselect-zig/metadata.xml @@ -2,12 +2,12 @@ <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person" proxied="yes"> - <email>waebbl-gentoo@posteo.net</email> - <name>Bernd Waibel</name> + <email>bratishkaerik@landless-city.net</email> + <name>Eric Joldasov</name> </maintainer> <maintainer type="project" proxied="proxy"> <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers project</name> + <name>Proxy Maintainers</name> </maintainer> <stabilize-allarches/> </pkgmetadata> |