diff options
Diffstat (limited to 'app-portage')
282 files changed, 4030 insertions, 5734 deletions
diff --git a/app-portage/cfg-update/cfg-update-1.8.9.ebuild b/app-portage/cfg-update/cfg-update-1.8.9-r2.ebuild index d899e6016d2b..beacc660fe49 100644 --- a/app-portage/cfg-update/cfg-update-1.8.9.ebuild +++ b/app-portage/cfg-update/cfg-update-1.8.9-r2.ebuild @@ -1,13 +1,11 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 - -inherit eutils +EAPI=8 DESCRIPTION="Easy to use GUI & CLI alternative for etc-update" HOMEPAGE="https://github.com/rich0/cfg-update" -SRC_URI="https://github.com/rich0/cfg-update/tarball/${PV} -> ${P}.tgz" +SRC_URI="https://github.com/rich0/cfg-update/archive/${PV}.tar.gz -> ${P}.tgz" LICENSE="GPL-2" SLOT="0" @@ -24,7 +22,7 @@ RDEPEND=" S="${WORKDIR}/rich0-cfg-update-2f10786" pkg_prerm() { - if [[ ${ROOT} == / ]] + if [[ -z ${ROOT} ]] then ebegin "Disabling portage hook" cfg-update --ebuild --disable-portage-hook @@ -82,7 +80,7 @@ pkg_postinst() { echo fi - if [[ ${ROOT} == / ]] + if [[ -z ${ROOT} ]] then ebegin "Moving backups to /var/lib/cfg-update/backups" /usr/bin/cfg-update --ebuild --move-backups diff --git a/app-portage/cfg-update/metadata.xml b/app-portage/cfg-update/metadata.xml index 1864b4eb4ebf..7e1aa3ceff28 100644 --- a/app-portage/cfg-update/metadata.xml +++ b/app-portage/cfg-update/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> <email>rich0@gentoo.org</email> @@ -7,4 +7,5 @@ <upstream> <remote-id type="github">rich0/cfg-update</remote-id> </upstream> + <stabilize-allarches/> </pkgmetadata> diff --git a/app-portage/command-not-found/Manifest b/app-portage/command-not-found/Manifest new file mode 100644 index 000000000000..dc5340d26823 --- /dev/null +++ b/app-portage/command-not-found/Manifest @@ -0,0 +1,2 @@ +DIST command-not-found-0.0.4.tar.gz 10028 BLAKE2B b1740a01400ed0084ad22414a586926132d6c9e6994de50812cf885d947c4bd95e65d715bcbc8b13f173464a7896ff6b8ee95782ab8a18d5884aa338bffa28ae SHA512 1c0ed9d17f7cfa18b8d1a8fd914716f6e44dd514f79e92ea8d33e4b0ee8d2556ee23b8853d286993fe72a1bdf23fc656f276fe8264bf78fef83f045169efe7c2 +DIST command-not-found-0.0.5.tar.gz 10045 BLAKE2B 5225fe4512516518172b1c7d25563488f26b359e0698a3352ebf2143dd7983fee2c44050e2b4abf72377780875436861855f0891bc10d429fba9bba695808bf3 SHA512 9125e168d64b7474f83d1bc8ed7f54ef332190d0d7325c281f1a041d47b23ce18170dff2fa3342468941cba7b0197821790ef5d1e9b8c1ee1f5a6ba1383b1005 diff --git a/app-portage/command-not-found/command-not-found-0.0.4.ebuild b/app-portage/command-not-found/command-not-found-0.0.4.ebuild new file mode 100644 index 000000000000..1859d6690bfe --- /dev/null +++ b/app-portage/command-not-found/command-not-found-0.0.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit optfeature python-r1 + +DESCRIPTION="Command-not-found handler for Gentoo" +HOMEPAGE="https://github.com/AndrewAmmerlaan/command-not-found-gentoo" +SRC_URI="https://github.com/AndrewAmmerlaan/command-not-found-gentoo/archive/${PV}.tar.gz + -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-gentoo-${PV}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS}" + +src_install() { + python_foreach_impl python_doscript command-not-found + + insinto /etc/bash/bashrc.d + doins command-not-found.sh + + einstalldocs +} + +pkg_postinst() { + elog "${PN} is automatically setup for app-shells/bash, see" + elog " /usr/share/doc/${PF}/README.md" + elog "for instructions on how to set it up for various other shells." + elog + optfeature "suggesting snaps providing the missing command" "app-containers/snapd" + optfeature "suggesting ebuilds providing the missing command" "app-portage/pfl" +} diff --git a/app-portage/command-not-found/command-not-found-0.0.5.ebuild b/app-portage/command-not-found/command-not-found-0.0.5.ebuild new file mode 100644 index 000000000000..1859d6690bfe --- /dev/null +++ b/app-portage/command-not-found/command-not-found-0.0.5.ebuild @@ -0,0 +1,40 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit optfeature python-r1 + +DESCRIPTION="Command-not-found handler for Gentoo" +HOMEPAGE="https://github.com/AndrewAmmerlaan/command-not-found-gentoo" +SRC_URI="https://github.com/AndrewAmmerlaan/command-not-found-gentoo/archive/${PV}.tar.gz + -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-gentoo-${PV}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS}" + +src_install() { + python_foreach_impl python_doscript command-not-found + + insinto /etc/bash/bashrc.d + doins command-not-found.sh + + einstalldocs +} + +pkg_postinst() { + elog "${PN} is automatically setup for app-shells/bash, see" + elog " /usr/share/doc/${PF}/README.md" + elog "for instructions on how to set it up for various other shells." + elog + optfeature "suggesting snaps providing the missing command" "app-containers/snapd" + optfeature "suggesting ebuilds providing the missing command" "app-portage/pfl" +} diff --git a/app-portage/command-not-found/metadata.xml b/app-portage/command-not-found/metadata.xml new file mode 100644 index 000000000000..87d84e421471 --- /dev/null +++ b/app-portage/command-not-found/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>andrewammerlaan@gentoo.org</email> + <name>Andrew Ammerlaan</name> + </maintainer> + <upstream> + <remote-id type="github">AndrewAmmerlaan/command-not-found-gentoo</remote-id> + </upstream> + <stabilize-allarches/> +</pkgmetadata> diff --git a/app-portage/conf-update/metadata.xml b/app-portage/conf-update/metadata.xml index 90a0e1a4289b..c1ca563537ec 100644 --- a/app-portage/conf-update/metadata.xml +++ b/app-portage/conf-update/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <!-- maintainer-needed --> <use> diff --git a/app-portage/cpuid2cpuflags/Manifest b/app-portage/cpuid2cpuflags/Manifest index f8d57b951c25..6ff103eb1ce4 100644 --- a/app-portage/cpuid2cpuflags/Manifest +++ b/app-portage/cpuid2cpuflags/Manifest @@ -1 +1 @@ -DIST cpuid2cpuflags-11.tar.bz2 83091 BLAKE2B 2225b6031505597050332d50f4cee69aebb263f9def8043fde64b61e7d06bd2b2ab306eab31701434435a5ede1da974004db3d800a9184011595ed5c16422c79 SHA512 0eeff4e6369eaca6ddb516ff95597c649a7619c1ad79b0d73f51ef9f903db55cb7a49c5ccec478c9a923abfcce63e4ee5b6436f08eb9092b0024c898e508750b +DIST cpuid2cpuflags-14.tar.bz2 85645 BLAKE2B 19a2fccfbdff107acf715e570103aed7b47a75fa7d493a421d979f31cf559713f260df2d01ae0d8b3ff5c97cb569f89093279de951de22c1d3786ee39e66f19f SHA512 595174e91dcfed9ac94827cb385f8c0069b25f4b76e0753b792cf94b6d97b45c7deb81708d1d304fbd159875952f3907699eca51fd85787a63327f971cf7526b diff --git a/app-portage/cpuid2cpuflags/cpuid2cpuflags-11.ebuild b/app-portage/cpuid2cpuflags/cpuid2cpuflags-11.ebuild deleted file mode 100644 index 884bf37a43ec..000000000000 --- a/app-portage/cpuid2cpuflags/cpuid2cpuflags-11.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="Tool to guess CPU_FLAGS_* flags for the host" -HOMEPAGE="https://github.com/mgorny/cpuid2cpuflags" -SRC_URI="https://github.com/mgorny/cpuid2cpuflags/releases/download/v${PV}/${P}.tar.bz2" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 x86 ~x64-macos ~x64-solaris ~x86-solaris" -IUSE="" - -pkg_postinst() { - local v - for v in ${REPLACING_VERSIONS}; do - if [[ ${v%-r*} -lt 2 ]]; then - elog 'Please note that the output has changed in v2. The new format is suitable' - elog 'both for Portage and Paludis. To use it, e.g.:' - elog - elog ' $ echo "*/* $(cpuid2cpuflags)" > /etc/portage/package.use/00cpuflags' - elog - elog '(you may need to convert package.use into a directory if you want to use' - elog ' separate file as presented here)' - fi - done -} diff --git a/app-portage/cpuid2cpuflags/cpuid2cpuflags-14.ebuild b/app-portage/cpuid2cpuflags/cpuid2cpuflags-14.ebuild new file mode 100644 index 000000000000..b3c3227bcbd4 --- /dev/null +++ b/app-portage/cpuid2cpuflags/cpuid2cpuflags-14.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Tool to guess CPU_FLAGS_* flags for the host" +HOMEPAGE="https://github.com/projg2/cpuid2cpuflags/" +SRC_URI=" + https://github.com/projg2/cpuid2cpuflags/releases/download/v${PV}/${P}.tar.bz2 +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="amd64 arm arm64 ppc ppc64 x86 ~x64-macos ~x64-solaris" diff --git a/app-portage/cpuid2cpuflags/cpuid2cpuflags-9999.ebuild b/app-portage/cpuid2cpuflags/cpuid2cpuflags-9999.ebuild deleted file mode 100644 index 5192dad1280b..000000000000 --- a/app-portage/cpuid2cpuflags/cpuid2cpuflags-9999.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -EGIT_REPO_URI="https://github.com/mgorny/cpuid2cpuflags" -inherit autotools git-r3 - -DESCRIPTION="Tool to guess CPU_FLAGS_* flags for the host" -HOMEPAGE="https://github.com/mgorny/cpuid2cpuflags" -SRC_URI="" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="" -IUSE="" - -src_prepare() { - default - eautoreconf -} diff --git a/app-portage/cpuid2cpuflags/metadata.xml b/app-portage/cpuid2cpuflags/metadata.xml index 422aab7218c1..2d8cc330ba90 100644 --- a/app-portage/cpuid2cpuflags/metadata.xml +++ b/app-portage/cpuid2cpuflags/metadata.xml @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!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> <upstream> - <remote-id type="github">mgorny/cpuid2cpuflags</remote-id> + <remote-id type="github">projg2/cpuid2cpuflags</remote-id> </upstream> </pkgmetadata> diff --git a/app-portage/deltup/Manifest b/app-portage/deltup/Manifest deleted file mode 100644 index 1d5b5bf46c0e..000000000000 --- a/app-portage/deltup/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST deltup-0.4.6.tar.gz 14869 BLAKE2B d0332eca70da268f0f85718bf08f8b19da7e7e8a1868d6bb4b2edd386d498f61342538234defebbc0430cc176da13b57efc11ecd62f300eef960b62e738d3147 SHA512 196be319f31860d89654c23241edde503d4194064617970d87cb0d0a66544959bc666dd34a3bf1a42e69ddb5927420728a1e208b7bb848e935e99f3a090ffa7a diff --git a/app-portage/deltup/deltup-0.4.6-r1.ebuild b/app-portage/deltup/deltup-0.4.6-r1.ebuild deleted file mode 100644 index 81b8f8efe465..000000000000 --- a/app-portage/deltup/deltup-0.4.6-r1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -DESCRIPTION="Delta-Update - patch system for updating source-archives." -HOMEPAGE="http://deltup.sourceforge.net" -SRC_URI="https://github.com/jjwhitney/Deltup/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -MY_PN="Deltup" -S="${WORKDIR}/${MY_PN}-${PV}/src" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" - -DEPEND=" - sys-libs/zlib - app-arch/bzip2 - dev-libs/openssl:0= -" -RDEPEND="${DEPEND} - || ( dev-util/bdelta =dev-util/xdelta-1* )" - -PATCHES=( - "${FILESDIR}"/${PN}-0.4.6-ldflags.patch - "${FILESDIR}"/${PN}-0.4.6-cxx.patch -) - -src_compile() { - emake CXX=$(tc-getCXX) -} - -src_install() { - emake DESTDIR="${D}" PREFIX=/usr install - dodoc "${S}"/../{README,ChangeLog} - doman "${S}"/../deltup.1 -} diff --git a/app-portage/deltup/files/deltup-0.4.6-cxx.patch b/app-portage/deltup/files/deltup-0.4.6-cxx.patch deleted file mode 100644 index 6a07dc1ee0a1..000000000000 --- a/app-portage/deltup/files/deltup-0.4.6-cxx.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff --git a/Makefile b/Makefile -index 6a3aa95..a591a6f 100644 ---- a/Makefile -+++ b/Makefile -@@ -7,3 +7,3 @@ CC = g++ - objfiles=bpatch.o archfunc.o file.o system.o tmpstore.o deltup.o --libs=-lstdc++ -lz -lbz2 -lcrypto #-lssl -+libs=-lz -lbz2 -lcrypto #-lssl - -@@ -12,3 +12,3 @@ libs=-lstdc++ -lz -lbz2 -lcrypto #-lssl - %.o : %.cpp -- ${CC} -c $< -o $@ ${CXXFLAGS} #-g #-Wall -pedantic -+ ${CXX} -c $< -o $@ ${CXXFLAGS} #-g #-Wall -pedantic - -@@ -17,6 +17,6 @@ all: deltup - depend: -- gcc -MM *.cpp > .depend -+ ${CXX} -MM *.cpp > .depend - - deltup: $(objfiles) -- ${CC} $(objfiles) ${LDFLAGS} -o deltup $(libs) -+ ${CXX} $(objfiles) ${LDFLAGS} -o deltup $(libs) - diff --git a/app-portage/deltup/files/deltup-0.4.6-ldflags.patch b/app-portage/deltup/files/deltup-0.4.6-ldflags.patch deleted file mode 100644 index 0d06255abcd2..000000000000 --- a/app-portage/deltup/files/deltup-0.4.6-ldflags.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff --git a/Makefile b/Makefile -index 6a3aa95..6e7c5cf 100644 ---- a/Makefile -+++ b/Makefile -@@ -20,3 +20,3 @@ depend: - deltup: $(objfiles) -- ${CC} $(objfiles) ${CXXFLAGS} -o deltup $(libs) -+ ${CC} $(objfiles) ${LDFLAGS} -o deltup $(libs) - diff --git a/app-portage/deltup/metadata.xml b/app-portage/deltup/metadata.xml deleted file mode 100644 index a777a3761381..000000000000 --- a/app-portage/deltup/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>Ameretat.Reith@gmail.com</email> - <name>Ameretat 'reith' Reith</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <upstream> - <remote-id type="github">jjwhitney/Deltup</remote-id> - <remote-id type="sourceforge">deltup</remote-id> - </upstream> -</pkgmetadata> diff --git a/app-portage/diffmask/diffmask-0.3.3-r4.ebuild b/app-portage/diffmask/diffmask-0.3.3-r5.ebuild index 4942a259424f..a4cfe46a89af 100644 --- a/app-portage/diffmask/diffmask-0.3.3-r4.ebuild +++ b/app-portage/diffmask/diffmask-0.3.3-r5.ebuild @@ -1,20 +1,21 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{7..9} ) +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 DESCRIPTION="A utility to maintain package.unmask entries up-to-date with masks" -HOMEPAGE="https://github.com/mgorny/diffmask/" -SRC_URI="https://github.com/mgorny/diffmask/releases/download/${P}/${P}.tar.bz2" +HOMEPAGE="https://github.com/projg2/diffmask/" +SRC_URI="https://github.com/projg2/diffmask/releases/download/${P}/${P}.tar.bz2" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm64 ~mips ~x86 ~amd64-linux ~x86-linux" -IUSE="" -RDEPEND="sys-apps/portage[${PYTHON_USEDEP}]" +RDEPEND=" + sys-apps/portage[${PYTHON_USEDEP}] +" diff --git a/app-portage/diffmask/diffmask-9999.ebuild b/app-portage/diffmask/diffmask-9999.ebuild deleted file mode 100644 index 413a58f1d2c3..000000000000 --- a/app-portage/diffmask/diffmask-9999.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 - -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{7..9} ) - -inherit distutils-r1 git-r3 - -DESCRIPTION="A utility to maintain package.unmask entries up-to-date with masks" -HOMEPAGE="https://github.com/mgorny/diffmask/" -SRC_URI="" -EGIT_REPO_URI="https://github.com/mgorny/${PN}.git" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="" -IUSE="" - -RDEPEND="sys-apps/portage[${PYTHON_USEDEP}]" diff --git a/app-portage/diffmask/metadata.xml b/app-portage/diffmask/metadata.xml index a7831157d057..82b3808f17cf 100644 --- a/app-portage/diffmask/metadata.xml +++ b/app-portage/diffmask/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> <email>mgorny@gentoo.org</email> @@ -13,11 +13,7 @@ the mask entries) and remove old unmasks. </longdescription> <upstream> - <maintainer status="active"> - <email>mgorny@gentoo.org</email> - <name>Michał Górny</name> - </maintainer> - <bugs-to>https://github.com/mgorny/diffmask/issues/</bugs-to> - <remote-id type="github">mgorny/diffmask</remote-id> + <bugs-to>https://github.com/projg2/diffmask/issues/</bugs-to> + <remote-id type="github">projg2/diffmask</remote-id> </upstream> </pkgmetadata> diff --git a/app-portage/distpatch/Manifest b/app-portage/distpatch/Manifest deleted file mode 100644 index 9c567adc9b7b..000000000000 --- a/app-portage/distpatch/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST distpatch-0.1.2.tar.gz 19998 BLAKE2B 1ede140e1b427df8f35011a025dc81b614c1a372668e41a26bbd02a3ab084b97c504a5de8e288a9d16d75439d0e3393ac13ef8cf49d55620babcee79fd137699 SHA512 f4dd08fd69a5b2030e0b912c1153994bcc03f40af65fff185231a220c110d0e7b5a4acf402d116e9dbfef86b13d17036ca563d0fefd89bc62809e1ecc9acf1ed diff --git a/app-portage/distpatch/distpatch-0.1.2-r2.ebuild b/app-portage/distpatch/distpatch-0.1.2-r2.ebuild deleted file mode 100644 index dbc1ab1b44d9..000000000000 --- a/app-portage/distpatch/distpatch-0.1.2-r2.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 - -PYTHON_COMPAT=( python3_{8..9} ) -inherit distutils-r1 - -DESCRIPTION="Distfile Patching Support for Gentoo Linux (tools)" -HOMEPAGE="https://github.com/rafaelmartins/distpatch" -SRC_URI="https://github.com/rafaelmartins/${PN}/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -PATCHES=( "${FILESDIR}/${PN}-python3-support.patch" ) - -RDEPEND=" - >=dev-util/diffball-1.0.1 - dev-python/snakeoil[${PYTHON_USEDEP}] - >=sys-apps/portage-2.1.8.3[${PYTHON_USEDEP}]" diff --git a/app-portage/distpatch/files/distpatch-python3-support.patch b/app-portage/distpatch/files/distpatch-python3-support.patch deleted file mode 100644 index eec335633d77..000000000000 --- a/app-portage/distpatch/files/distpatch-python3-support.patch +++ /dev/null @@ -1,420 +0,0 @@ -From 0274956acf4479b7346ac441fe09f2e56d575c47 Mon Sep 17 00:00:00 2001 -From: "Rafael G. Martins" <rafael@rafaelmartins.eng.br> -Date: Wed, 26 Feb 2020 18:22:06 +0100 -Subject: [PATCH] python3 support - ---- - distdiffer | 46 ++++++++++++++++++++++---------------------- - distpatch/chksums.py | 12 ++++++------ - distpatch/deltadb.py | 4 ++-- - distpatch/diff.py | 12 ++++++------ - distpatch/package.py | 6 +++--- - distpatch/patch.py | 4 ++-- - distpatch/stats.py | 6 +++--- - distpatcher | 32 +++++++++++++++--------------- - distpatchq | 28 +++++++++++++-------------- - 9 files changed, 75 insertions(+), 75 deletions(-) - -diff --git a/distdiffer b/distdiffer -index a2b933d..6975b5c 100755 ---- a/distdiffer -+++ b/distdiffer -@@ -73,39 +73,39 @@ def main(): - return - - if args.verbose: -- print '>>> Starting distdiffer ...\n' -+ print('>>> Starting distdiffer ...\n') - - for package in packages: - if args.verbose: -- print '>>> Package: %s' % package -+ print('>>> Package: %s' % package) - pkg = Package(db) - try: - pkg.diff(package) -- except Exception, err: -- print >> sys.stderr, str(err) -+ except Exception as err: -+ print(str(err), file=sys.stderr) - if args.verbose: -- print ' >>> Versions:' -+ print(' >>> Versions:') - for cpv in pkg.ebuilds: -- print ' %s' % cpv -- print ' >>> Deltas:' -+ print(' %s' % cpv) -+ print(' >>> Deltas:') - if len(pkg.diffs) == 0: -- print ' None\n' -+ print(' None\n') - else: - for diff in pkg.diffs: -- print ' %s -> %s' % (diff.src.fname, -- diff.dest.fname) -+ print(' %s -> %s' % (diff.src.fname, -+ diff.dest.fname)) - if len(pkg.diffs) == 0: - continue - if args.verbose: -- print ' >>> Fetching distfiles:' -+ print(' >>> Fetching distfiles:') - try: - pkg.fetch_distfiles() -- except Exception, err: -- print >> sys.stderr, str(err) -- print -+ except Exception as err: -+ print(str(err), file=sys.stderr) -+ print() - continue - if args.verbose: -- print ' >>> Generating deltas:' -+ print(' >>> Generating deltas:') - for diff in pkg.diffs: - if args.verbose: - sys.stdout.write(' %s -> %s ... ' % (diff.src.fname, -@@ -116,20 +116,20 @@ def main(): - not args.no_compress, args.force) - except DiffExists: - if args.verbose: -- print 'up2date!' -- print ' %s' % os.path.basename(diff.diff_file) -- except Exception, err: -+ print('up2date!') -+ print(' %s' % os.path.basename(diff.diff_file)) -+ except Exception as err: - if args.verbose: -- print 'failed!' -- print ' %s: %s' % (err.__class__.__name__, str(err)) -+ print('failed!') -+ print(' %s: %s' % (err.__class__.__name__, str(err))) - else: - if args.verbose: -- print 'done!' -- print ' %s' % os.path.basename(diff.diff_file) -+ print('done!') -+ print(' %s' % os.path.basename(diff.diff_file)) - db.add(diff.dbrecord) - diff.cleanup() - if args.verbose: -- print -+ print() - - if __name__ == '__main__': - main() -diff --git a/distpatch/chksums.py b/distpatch/chksums.py -index 808dc59..d3dffab 100644 ---- a/distpatch/chksums.py -+++ b/distpatch/chksums.py -@@ -26,16 +26,16 @@ class ChksumValue(object): - self._handler = get_handler(algorithm) - - def to_str(self): -- if isinstance(self.value, basestring): -+ if isinstance(self.value, str): - return self.value -- elif isinstance(self.value, long): -+ elif isinstance(self.value, int): - return self._handler.long2str(self.value) - raise ChksumException('Invalid value: %s' % self.value) - - def to_long(self): -- if isinstance(self.value, long): -+ if isinstance(self.value, int): - return self.value -- elif isinstance(self.value, basestring): -+ elif isinstance(self.value, str): - return self._handler.str2long(self.value) - raise ChksumException('Invalid value: %s' % self.value) - -@@ -69,11 +69,11 @@ class Chksum(object): - raise ChksumException('File not found: %s' % fname) - - values = get_chksums(fname, *self.algorithms) -- chksums = zip(self.algorithms, values) -+ chksums = list(zip(self.algorithms, values)) - - # if provided checksums, use them - else: -- chksums = chksums.items() -+ chksums = list(chksums.items()) - - # validate checksums, and set attributes - tmp_algorithms = list(self.algorithms) -diff --git a/distpatch/deltadb.py b/distpatch/deltadb.py -index 77d8c21..345077d 100644 ---- a/distpatch/deltadb.py -+++ b/distpatch/deltadb.py -@@ -40,7 +40,7 @@ import os - - from collections import OrderedDict - from fcntl import lockf, LOCK_EX, LOCK_UN --from itertools import izip -+ - from shutil import rmtree - from snakeoil.chksum import get_handler - from snakeoil.fileutils import AtomicWriteFile -@@ -171,7 +171,7 @@ class DeltaDB(list): - pieces = line.split() - chksums = OrderedDict() - uchksums = OrderedDict() -- for key, value in izip(pieces[::2], pieces[1::2]): -+ for key, value in zip(pieces[::2], pieces[1::2]): - key = key.lower()[:] - mykey = key[0] == 'u' and key[1:] or key - myvalue = get_handler(mykey).str2long(value.strip()) -diff --git a/distpatch/diff.py b/distpatch/diff.py -index d5818f1..eeaf8a6 100644 ---- a/distpatch/diff.py -+++ b/distpatch/diff.py -@@ -37,11 +37,11 @@ class DiffUnsupported(Exception): - - - _supported_formats = [ -- u'.tar', -- u'.tar.gz', u'.tgz', u'.gz', -- u'.tar.bz2', u'.tbz2', u'.bz2', -- u'.tar.xz', u'.xz', -- u'.tar.lzma', u'.ĺzma', -+ '.tar', -+ '.tar.gz', '.tgz', '.gz', -+ '.tar.bz2', '.tbz2', '.bz2', -+ '.tar.xz', '.xz', -+ '.tar.lzma', '.ĺzma', - ] - - -@@ -152,7 +152,7 @@ class Diff(object): - try: - patch = Patch(self.dbrecord) - patch.reconstruct(output_dir, tmp_dir, False) -- except PatchException, err: -+ except PatchException as err: - if clean_sources: - os.unlink(self.diff_file) - raise DiffException('Delta reconstruction failed: %s' % str(err)) -diff --git a/distpatch/package.py b/distpatch/package.py -index 553fc18..3c834cc 100644 ---- a/distpatch/package.py -+++ b/distpatch/package.py -@@ -35,17 +35,17 @@ class Package(object): - diffs = [] - taken = {} - for ebuild_id in range(len(self.ebuilds) - 1): -- cpvs = self.ebuilds.keys() -+ cpvs = list(self.ebuilds.keys()) - src_cpv = cpvs[ebuild_id] - dest_cpv = cpvs[ebuild_id + 1] - src_ebuild = self.ebuilds[src_cpv] - dest_ebuild = self.ebuilds[dest_cpv] -- for src_distfile in src_ebuild.src_uri_map.keys(): -+ for src_distfile in list(src_ebuild.src_uri_map.keys()): - avg_distfile = None - avg_ebuild = None - max_avg = 0.0 - avgs = {} -- for dest_distfile in dest_ebuild.src_uri_map.keys(): -+ for dest_distfile in list(dest_ebuild.src_uri_map.keys()): - prefix = '' - suffix = '' - for i in range(min(len(src_distfile), len(dest_distfile))): -diff --git a/distpatch/patch.py b/distpatch/patch.py -index c210a5e..83eb3d6 100644 ---- a/distpatch/patch.py -+++ b/distpatch/patch.py -@@ -14,7 +14,7 @@ import portage - import posixpath - import re - --from itertools import izip -+ - from portage.package.ebuild.fetch import fetch - from shutil import move - from subprocess import call -@@ -96,7 +96,7 @@ class Patch(object): - if self.src != DeltaDBFile(src): - raise PatchException('Bad checksum for source: %s' % \ - self.src.fname) -- for delta, delta_record in izip(deltas, self.dbrecords): -+ for delta, delta_record in zip(deltas, self.dbrecords): - if delta_record.delta != DeltaDBFile(delta): - raise PatchException('Bad checksum for delta: %s' % \ - delta_record.delta.fname) -diff --git a/distpatch/stats.py b/distpatch/stats.py -index 187f926..7716e07 100644 ---- a/distpatch/stats.py -+++ b/distpatch/stats.py -@@ -48,7 +48,7 @@ class Stats(object): - delta = float(record.delta.chksums['size']) - dest = float(record.dest.chksums['size']) - ratio.append(100 - ((delta / dest) * 100)) -- pyplot.plot(range(1, len(ratio) + 1), sorted(ratio)) -+ pyplot.plot(list(range(1, len(ratio) + 1)), sorted(ratio)) - pyplot.axes() - pyplot.xlabel('Deltas (total: %i)' % len(ratio)) - pyplot.ylabel('Percentage of savings (for compressed files)') -@@ -60,6 +60,6 @@ class Stats(object): - for record in self.deltadb: - dest.append(int(record.dest.chksums['size'])) - delta.append(int(record.delta.chksums['size'])) -- pyplot.plot(range(len(dest)), dest) -- pyplot.plot(range(len(delta)), delta) -+ pyplot.plot(list(range(len(dest))), dest) -+ pyplot.plot(list(range(len(delta))), delta) - pyplot.show() -diff --git a/distpatcher b/distpatcher -index 05980e2..984e4c2 100755 ---- a/distpatcher -+++ b/distpatcher -@@ -69,35 +69,35 @@ def main(): - return - - if args.verbose: -- print '>>> Starting distpatcher ...\n' -+ print('>>> Starting distpatcher ...\n') - - for cpv in cpv_list: - if args.verbose: - if args.distfile: -- print '>>> Distfile: %s' % cpv -+ print('>>> Distfile: %s' % cpv) - else: -- print '>>> CPV: %s' % cpv -+ print('>>> CPV: %s' % cpv) - pkg = Package(db) - if args.distfile: - pkg.patch_distfile(cpv, args.output_dir) - else: - pkg.patch(cpv, args.output_dir) - if args.verbose: -- print ' >>> Deltas:' -+ print(' >>> Deltas:') - if len(pkg.patches) == 0: -- print ' None\n' -+ print(' None\n') - else: - for patch in pkg.patches: -- print ' %s' % '\n -> '.join( -- [i.delta.fname for i in patch.dbrecords]) -+ print(' %s' % '\n -> '.join( -+ [i.delta.fname for i in patch.dbrecords])) - if len(pkg.patches) == 0: - continue - if args.verbose: -- print ' >>> Fetching deltas:' -+ print(' >>> Fetching deltas:') - for patch in pkg.patches: - patch.fetch_deltas(args.root_url, args.input_dir) - if args.verbose: -- print ' >>> Reconstructing distfiles:' -+ print(' >>> Reconstructing distfiles:') - for patch in pkg.patches: - if args.verbose: - sys.stdout.write(' %s ... ' % '\n -> '.join( -@@ -106,17 +106,17 @@ def main(): - try: - patch.reconstruct(args.input_dir, args.output_dir, - not args.no_compress) -- except PatchException, err: -+ except PatchException as err: - if args.verbose: -- print 'failed!' -- print ' %s' % str(err) -+ print('failed!') -+ print(' %s' % str(err)) - else: - if args.verbose: -- print 'done!' -- print ' %s' % \ -- os.path.basename(patch.dest.fname) -+ print('done!') -+ print(' %s' % \ -+ os.path.basename(patch.dest.fname)) - if args.verbose: -- print -+ print() - - if __name__ == '__main__': - main() -diff --git a/distpatchq b/distpatchq -index 902f6c0..e6bcebe 100755 ---- a/distpatchq -+++ b/distpatchq -@@ -48,7 +48,7 @@ def delta_fetch_size(pkg, filename, distfiles_dir=None, deltas_dir=None): - except OSError: - pass - if filename in distfiles: -- print 0 -+ print(0) - return 0 - pkg.patch_distfile(filename, distfiles_dir) - if len(pkg.patches) == 0: -@@ -62,7 +62,7 @@ def delta_fetch_size(pkg, filename, distfiles_dir=None, deltas_dir=None): - if dbrecord.delta.fname in deltas: - continue - fetch_size += int(dbrecord.delta.chksums.size.to_long()) -- print fetch_size -+ print(fetch_size) - - - def delta_verify_checksums(pkg, filename, distfiles_dir=None): -@@ -96,20 +96,20 @@ def delta_verify_checksums(pkg, filename, distfiles_dir=None): - return 0 if dest_record.uchksums == _Chksum(usrc) else 4 - - --commands = sorted(i for i in globals().keys() if not i.startswith('_')) -+commands = sorted(i for i in list(globals().keys()) if not i.startswith('_')) - - - def usage(argv): -- print '>>> distpatch information query tool' -- print '>>> Usage: distpatchq <command> [<option> ...]' -- print -- print 'Available commands:' -+ print('>>> distpatch information query tool') -+ print('>>> Usage: distpatchq <command> [<option> ...]') -+ print() -+ print('Available commands:') - for name in commands: - function = globals()[name] - if function.__doc__ is None: -- print ' ' + name -- print ' MISSING DOCUMENTATION!' -- print -+ print(' ' + name) -+ print(' MISSING DOCUMENTATION!') -+ print() - continue - - # introspect command arguments -@@ -120,14 +120,14 @@ def usage(argv): - args.append('<%s>' % arg) - for arg in spec.args[-opt:]: - args.append('[%s]' % arg) -- print ' ' + name + ' ' + ' '.join(args) -+ print(' ' + name + ' ' + ' '.join(args)) - lines = function.__doc__.split('\n') - if len(argv) > 1: - for line in lines: -- print " " + line.strip() -+ print(" " + line.strip()) - - if len(argv) == 1: -- print "\nRun distpatchq with --help for info" -+ print("\nRun distpatchq with --help for info") - - if __name__ == '__main__': - if len(_sys.argv) < 2: -@@ -150,7 +150,7 @@ if __name__ == '__main__': - req = len(spec.args) - opt - - if len(_sys.argv) < req + 2: -- print "Invalid number of arguments!!" -+ print("Invalid number of arguments!!") - _sys.exit(2) - - dbfile = _sys.argv[2] --- -2.21.0 - diff --git a/app-portage/distpatch/metadata.xml b/app-portage/distpatch/metadata.xml deleted file mode 100644 index 23d2bc12f72f..000000000000 --- a/app-portage/distpatch/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <stabilize-allarches/> - <upstream> - <maintainer status="active"> - <email>rafaelmartins@gentoo.org</email> - <name>Rafael G. Martins</name> - </maintainer> - <remote-id type="github">rafaelmartins/distpatch</remote-id> - </upstream> -</pkgmetadata> diff --git a/app-portage/eix/Manifest b/app-portage/eix/Manifest index c510a8078a53..36c0e3b0427d 100644 --- a/app-portage/eix/Manifest +++ b/app-portage/eix/Manifest @@ -1,4 +1 @@ -DIST eix-0.34.12.tar.xz 629704 BLAKE2B 22c3a93b47c607467321445704c8b4fe0f8b131081609709ebe5e2bd09d0ac08194938641ab44304e51d9dc4d473615625a9ca0de649767b6552c60d38974b75 SHA512 458a01b8ccb5fe4c7fbf9eb8368dbb0c63ac587e0452de4c3a58fadfc62aa8b404e509d6f24d20956bd6f04c00bfdfc95d6bf59287c5ea9e07091bea67f8c4e2 -DIST eix-0.35.0.tar.xz 636432 BLAKE2B 8a880cde56c0010f193445d9813c533effd59b8ee570132a0c40d62de827968839d99ee16981d152e737b881519e9f73d4ddac5375b6339dd480064deefa6149 SHA512 b9a6e59e666ec6015a612e083839a11a77e1d649262a802a9c8684fe25abbeda7a2c51ea629f1bb85ddc77fccce42b577178284763668bb2d1bcc85df5d68f2e -DIST eix-0.35.1.tar.xz 635996 BLAKE2B e8afb4d33d8e0525471e396e752859ab5fb165df8b1519cfa9ded1a3ff287059d9c647d744ec095eeec92d01f25330cced3ecefdb3d399ecf513d8aa5f14e9d3 SHA512 2812406f28994c133f9fe3dfe53bc0495f5bb446e2f0ac69f070632d0f357044c1c334e5ed2344a81dd8e3ba100fb427c161201e488ef2581717b55a712f3908 -DIST eix-0.35.2.tar.xz 636616 BLAKE2B 22c9ce54bd612ff7b8a085d91727ee7b472b9c3ba71568f23b4cfc5e2c4d9b0a68e2df377d4c4101c53e193864418c11b0c76830b5b6044588dcf3882b164e3d SHA512 39ff4c4f31be3c40a17a77626c25550a3881d8c405ebd9e7a361252cb729f9c0fc40831bc41e503fdea9f05684ad0eaa1aceabba1c6e4067a33a8581bf5a9625 +DIST eix-0.36.7.tar.xz 639832 BLAKE2B 37202ae78378688ede95b410fe2e6325d63a9553dc082e4e09dc5bcd261f4e7bf49f349a92c286743c30a54cdc5bc1733fedebae33c37d601e6f5db1faf499e7 SHA512 5f5d059b502633be22c8a18fca410e2319061989bbc65b23592c87a9a109b93e615a5b5a7ca92a500999e3cc791e331b12e32a10700cc104040b1980f7f7a0f9 diff --git a/app-portage/eix/eix-0.35.0.ebuild b/app-portage/eix/eix-0.35.0.ebuild deleted file mode 100644 index a13024c139e6..000000000000 --- a/app-portage/eix/eix-0.35.0.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools bash-completion-r1 flag-o-matic tmpfiles - -DESCRIPTION="Search and query ebuilds" -HOMEPAGE="https://github.com/vaeth/eix/" -SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz" - -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="debug doc nls sqlite" - -DEPEND=" - nls? ( virtual/libintl ) - sqlite? ( >=dev-db/sqlite-3:= )" -RDEPEND="${DEPEND} - >=app-shells/push-2.0-r1 - >=app-shells/quoter-3.0_p2-r1" -BDEPEND=" - app-arch/xz-utils - nls? ( sys-devel/gettext )" - -pkg_setup() { - # remove stale cache file to prevent collisions - local old_cache=${EROOT}/var/cache/${PN} - if [[ -f ${old_cache} ]]; then - rm "${old_cache}" || die - fi -} - -src_prepare() { - default - sed -i -e "s:/:${EPREFIX}/:" tmpfiles.d/eix.conf || die - - sed -e "/eixf_source=/s:push.sh:cat \"${EPREFIX}/usr/share/push/push.sh\":" \ - -e "/eixf_source=/s:quoter_pipe.sh:cat \"${EPREFIX}/usr/share/quoter/quoter_pipe.sh\":" \ - -i src/eix-functions.sh.in || die - sed -e "s:'\$(bindir)/eix-functions.sh':cat \\\\\"${EPREFIX}/usr/share/eix/eix-functions\\\\\":" \ - -i src/Makefile.am || die - - eautoreconf -} - -src_configure() { - local myconf=( - $(use_enable debug paranoic-asserts) - $(use_enable nls) - $(use_with doc extra-doc) - $(use_with sqlite) - --without-protobuf - - # default configuration - $(use_with prefix always-accept-keywords) - --with-dep-default - --with-required-use-default - - # paths - --with-portage-rootpath="${ROOTPATH}" - --with-eprefix-default="${EPREFIX}" - - # build a single executable with symlinks - --disable-separate-binaries - --disable-separate-tools - - # used purely to control/disrespect *FLAGS - --disable-debugging - --disable-new_dialect - --disable-optimization - --disable-strong-optimization - --disable-security - --disable-nopie-security - --disable-strong-security - ) - - econf "${myconf[@]}" -} - -src_install() { - default - dobashcomp bash/eix - dotmpfiles tmpfiles.d/eix.conf - - rm -r "${ED}"/usr/bin/eix-functions.sh || die -} - -pkg_postinst() { - tmpfiles_process eix.conf - - local obs=${EROOT}/var/cache/eix.previous - if [[ -f ${obs} ]]; then - ewarn "Found obsolete ${obs}, please remove it" - fi -} - -pkg_postrm() { - if [[ ! -n ${REPLACED_BY_VERSION} ]]; then - rm -rf "${EROOT}/var/cache/${PN}" || die - fi -} diff --git a/app-portage/eix/eix-0.35.1.ebuild b/app-portage/eix/eix-0.35.1.ebuild deleted file mode 100644 index a13024c139e6..000000000000 --- a/app-portage/eix/eix-0.35.1.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools bash-completion-r1 flag-o-matic tmpfiles - -DESCRIPTION="Search and query ebuilds" -HOMEPAGE="https://github.com/vaeth/eix/" -SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz" - -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="debug doc nls sqlite" - -DEPEND=" - nls? ( virtual/libintl ) - sqlite? ( >=dev-db/sqlite-3:= )" -RDEPEND="${DEPEND} - >=app-shells/push-2.0-r1 - >=app-shells/quoter-3.0_p2-r1" -BDEPEND=" - app-arch/xz-utils - nls? ( sys-devel/gettext )" - -pkg_setup() { - # remove stale cache file to prevent collisions - local old_cache=${EROOT}/var/cache/${PN} - if [[ -f ${old_cache} ]]; then - rm "${old_cache}" || die - fi -} - -src_prepare() { - default - sed -i -e "s:/:${EPREFIX}/:" tmpfiles.d/eix.conf || die - - sed -e "/eixf_source=/s:push.sh:cat \"${EPREFIX}/usr/share/push/push.sh\":" \ - -e "/eixf_source=/s:quoter_pipe.sh:cat \"${EPREFIX}/usr/share/quoter/quoter_pipe.sh\":" \ - -i src/eix-functions.sh.in || die - sed -e "s:'\$(bindir)/eix-functions.sh':cat \\\\\"${EPREFIX}/usr/share/eix/eix-functions\\\\\":" \ - -i src/Makefile.am || die - - eautoreconf -} - -src_configure() { - local myconf=( - $(use_enable debug paranoic-asserts) - $(use_enable nls) - $(use_with doc extra-doc) - $(use_with sqlite) - --without-protobuf - - # default configuration - $(use_with prefix always-accept-keywords) - --with-dep-default - --with-required-use-default - - # paths - --with-portage-rootpath="${ROOTPATH}" - --with-eprefix-default="${EPREFIX}" - - # build a single executable with symlinks - --disable-separate-binaries - --disable-separate-tools - - # used purely to control/disrespect *FLAGS - --disable-debugging - --disable-new_dialect - --disable-optimization - --disable-strong-optimization - --disable-security - --disable-nopie-security - --disable-strong-security - ) - - econf "${myconf[@]}" -} - -src_install() { - default - dobashcomp bash/eix - dotmpfiles tmpfiles.d/eix.conf - - rm -r "${ED}"/usr/bin/eix-functions.sh || die -} - -pkg_postinst() { - tmpfiles_process eix.conf - - local obs=${EROOT}/var/cache/eix.previous - if [[ -f ${obs} ]]; then - ewarn "Found obsolete ${obs}, please remove it" - fi -} - -pkg_postrm() { - if [[ ! -n ${REPLACED_BY_VERSION} ]]; then - rm -rf "${EROOT}/var/cache/${PN}" || die - fi -} diff --git a/app-portage/eix/eix-0.35.2.ebuild b/app-portage/eix/eix-0.35.2.ebuild deleted file mode 100644 index a13024c139e6..000000000000 --- a/app-portage/eix/eix-0.35.2.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools bash-completion-r1 flag-o-matic tmpfiles - -DESCRIPTION="Search and query ebuilds" -HOMEPAGE="https://github.com/vaeth/eix/" -SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz" - -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="debug doc nls sqlite" - -DEPEND=" - nls? ( virtual/libintl ) - sqlite? ( >=dev-db/sqlite-3:= )" -RDEPEND="${DEPEND} - >=app-shells/push-2.0-r1 - >=app-shells/quoter-3.0_p2-r1" -BDEPEND=" - app-arch/xz-utils - nls? ( sys-devel/gettext )" - -pkg_setup() { - # remove stale cache file to prevent collisions - local old_cache=${EROOT}/var/cache/${PN} - if [[ -f ${old_cache} ]]; then - rm "${old_cache}" || die - fi -} - -src_prepare() { - default - sed -i -e "s:/:${EPREFIX}/:" tmpfiles.d/eix.conf || die - - sed -e "/eixf_source=/s:push.sh:cat \"${EPREFIX}/usr/share/push/push.sh\":" \ - -e "/eixf_source=/s:quoter_pipe.sh:cat \"${EPREFIX}/usr/share/quoter/quoter_pipe.sh\":" \ - -i src/eix-functions.sh.in || die - sed -e "s:'\$(bindir)/eix-functions.sh':cat \\\\\"${EPREFIX}/usr/share/eix/eix-functions\\\\\":" \ - -i src/Makefile.am || die - - eautoreconf -} - -src_configure() { - local myconf=( - $(use_enable debug paranoic-asserts) - $(use_enable nls) - $(use_with doc extra-doc) - $(use_with sqlite) - --without-protobuf - - # default configuration - $(use_with prefix always-accept-keywords) - --with-dep-default - --with-required-use-default - - # paths - --with-portage-rootpath="${ROOTPATH}" - --with-eprefix-default="${EPREFIX}" - - # build a single executable with symlinks - --disable-separate-binaries - --disable-separate-tools - - # used purely to control/disrespect *FLAGS - --disable-debugging - --disable-new_dialect - --disable-optimization - --disable-strong-optimization - --disable-security - --disable-nopie-security - --disable-strong-security - ) - - econf "${myconf[@]}" -} - -src_install() { - default - dobashcomp bash/eix - dotmpfiles tmpfiles.d/eix.conf - - rm -r "${ED}"/usr/bin/eix-functions.sh || die -} - -pkg_postinst() { - tmpfiles_process eix.conf - - local obs=${EROOT}/var/cache/eix.previous - if [[ -f ${obs} ]]; then - ewarn "Found obsolete ${obs}, please remove it" - fi -} - -pkg_postrm() { - if [[ ! -n ${REPLACED_BY_VERSION} ]]; then - rm -rf "${EROOT}/var/cache/${PN}" || die - fi -} diff --git a/app-portage/eix/eix-0.34.12.ebuild b/app-portage/eix/eix-0.36.7-r1.ebuild index 0971f52d7527..2ae133e4f41f 100644 --- a/app-portage/eix/eix-0.34.12.ebuild +++ b/app-portage/eix/eix-0.36.7-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit autotools bash-completion-r1 flag-o-matic tmpfiles +inherit autotools bash-completion-r1 tmpfiles DESCRIPTION="Search and query ebuilds" HOMEPAGE="https://github.com/vaeth/eix/" @@ -11,7 +11,7 @@ SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz" 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" +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="debug doc nls sqlite" DEPEND=" @@ -22,6 +22,7 @@ RDEPEND="${DEPEND} >=app-shells/quoter-3.0_p2-r1" BDEPEND=" app-arch/xz-utils + virtual/pkgconfig nls? ( sys-devel/gettext )" pkg_setup() { @@ -61,6 +62,7 @@ src_configure() { # paths --with-portage-rootpath="${ROOTPATH}" --with-eprefix-default="${EPREFIX}" + --with-sh-shebang="${EPREFIX}/bin/sh" # build a single executable with symlinks --disable-separate-binaries diff --git a/app-portage/eix/metadata.xml b/app-portage/eix/metadata.xml index c63f78d2f35f..a4538a85fcae 100644 --- a/app-portage/eix/metadata.xml +++ b/app-portage/eix/metadata.xml @@ -1,11 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!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 type="person"> <email>mgorny@gentoo.org</email> <name>Michał Górny</name> </maintainer> diff --git a/app-portage/elicense/elicense-1.0.2.ebuild b/app-portage/elicense/elicense-1.0.2.ebuild index 4c89c0d9be20..971949dc9c52 100644 --- a/app-portage/elicense/elicense-1.0.2.ebuild +++ b/app-portage/elicense/elicense-1.0.2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" -PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_COMPAT=( pypy3 python3_{9..11} ) inherit distutils-r1 if [[ ${PV} == "9999" ]]; then @@ -10,7 +10,7 @@ if [[ ${PV} == "9999" ]]; then inherit git-r3 else SRC_URI="https://github.com/Whissi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 mips ppc ppc64 ~riscv ~s390 sparc x86" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" fi DESCRIPTION="Tool to find installed packages in Gentoo with non-accepted license(s)" diff --git a/app-portage/elicense/elicense-9999.ebuild b/app-portage/elicense/elicense-9999.ebuild deleted file mode 100644 index 7870b58347a6..000000000000 --- a/app-portage/elicense/elicense-9999.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" -PYTHON_COMPAT=( python3_{7,8,9} ) -inherit distutils-r1 - -if [[ ${PV} == "9999" ]]; then - EGIT_REPO_URI="https://github.com/Whissi/elicense.git" - inherit git-r3 -else - SRC_URI="https://github.com/Whissi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -fi - -DESCRIPTION="Tool to find installed packages in Gentoo with non-accepted license(s)" -HOMEPAGE="https://github.com/Whissi/elicense" - -LICENSE="GPL-2" -SLOT="0" -IUSE="" - -RDEPEND=">=sys-apps/portage-2.3.62[${PYTHON_USEDEP}]" - -src_prepare() { - default - - local MY_PV=${PV} - if [[ ${PV} == "9999" ]]; then - local last_commit=$(git rev-parse HEAD) - MY_PV="${last_commit:0:7}-git" - fi - - sed -i -e "s/^MY_PV =.*$/MY_PV = \"${MY_PV}\"/" \ - elicense || die "Failed to sed in version." -} diff --git a/app-portage/elicense/metadata.xml b/app-portage/elicense/metadata.xml index a100a0b4e8f7..a84bb3c8b94d 100644 --- a/app-portage/elicense/metadata.xml +++ b/app-portage/elicense/metadata.xml @@ -1,10 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>whissi@gentoo.org</email> - <name>Thomas Deutschmann</name> - </maintainer> + <!-- maintainer-needed --> <stabilize-allarches/> <upstream> <remote-id type="github">Whissi/elicense</remote-id> diff --git a/app-portage/elogv/Manifest b/app-portage/elogv/Manifest index 03e6931d4d4b..914694aa721d 100644 --- a/app-portage/elogv/Manifest +++ b/app-portage/elogv/Manifest @@ -1,2 +1 @@ -DIST elogv-0.7.8.tar.gz 19554 BLAKE2B 653a1dd8d5cb142c78c27ad4c7110a7dac666eed649213ef62c1548d5248c4add561242290a59178470736cffc9ac15fb7ee796a2954239ba382001f1e6c9c4f SHA512 be90f01b4d2e114608b13aeba78ab368af6ed66ca329de6952d7f422c90356fd1c6988827f0c60ee66636ae92e089689c7cbd725f6eb20545747fb24d0d1daf2 -DIST elogv-0.7.9.tar.gz 19556 BLAKE2B 5d5f1a4adab09cf8b56ca3433b2a1cd0d3572345ff92f34b6b3ad175178161c36531bf9211563f4ad18191c6ff99c2cdcf9c3d188eca293a1698157e0a9f04a2 SHA512 703d1e8f55f5ee17a393f3a331ee38ef1d4e4c918c316055d5e2297b96dbe7de0ca6df864f462520f2087ed1a7bb7f43db56bfd3864a865d349516694522a686 +DIST elogv-0.8.3.tar.gz 27144 BLAKE2B 7c672365afb9a17e2acf76f04b4479a5a9d8a43fd1e739ac86fb00f2744ad2b2871f12e3b384d292c8f7d704af877372e201644a6354b49d38d6ec03c2437f4d SHA512 9825e530f3e2de9f84aa77afba813aaba8ce68e3fb52f7685e98099e9f5a3b828cad259d4eb273aafba9b7a14ea9e41e9c0ecf2f6efe1dfd3b81f9ea0786592b diff --git a/app-portage/elogv/elogv-0.7.8-r3.ebuild b/app-portage/elogv/elogv-0.7.8-r3.ebuild deleted file mode 100644 index 4ca848e032c6..000000000000 --- a/app-portage/elogv/elogv-0.7.8-r3.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) -PYTHON_REQ_USE="ncurses" -DISTUTILS_USE_SETUPTOOLS=no - -inherit distutils-r1 - -DESCRIPTION="Curses based utility to parse the contents of elogs created by Portage" -HOMEPAGE="https://gitweb.gentoo.org/proj/elogv.git/" -SRC_URI="https://github.com/gentoo/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" - -RDEPEND="sys-apps/portage[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND}" - -DOCS=( README ) - -src_install() { - distutils-r1_src_install - - # unset LINGUAS => install all languages - # empty LINGUAS => install none - local i - if [[ -n "${LINGUAS+x}" ]] ; then - for i in $(ls "${ED}"/usr/share/locale/) ; do - if ! has ${i} ${LINGUAS} ; then - rm -rf "${ED}"/usr/share/{locale,man}/${i} - fi - done - fi -} - -pkg_postinst() { - elog "In order to use this software, you need to activate" - elog "Portage's elog features. Required is" - elog " PORTAGE_ELOG_SYSTEM=\"save\" " - elog "and at least one out of " - elog " PORTAGE_ELOG_CLASSES=\"warn error info log qa\"" - elog "More information on the elog system can be found" - elog "in ${EPREFIX}/usr/share/portage/config/make.conf.example" - elog - elog "To operate properly this software needs the directory" - elog "${PORT_LOGDIR:-${EPREFIX}/var/log/portage}/elog created, belonging to group portage." - elog "To start the software as a user, add yourself to the portage" - elog "group." - elog -} diff --git a/app-portage/elogv/elogv-0.7.9.ebuild b/app-portage/elogv/elogv-0.8.3.ebuild index 4ca848e032c6..73fa941852c1 100644 --- a/app-portage/elogv/elogv-0.7.9.ebuild +++ b/app-portage/elogv/elogv-0.8.3.ebuild @@ -1,11 +1,11 @@ -# 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 -PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) +PYTHON_COMPAT=( python3_{9..12} pypy3 ) PYTHON_REQ_USE="ncurses" -DISTUTILS_USE_SETUPTOOLS=no +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 @@ -13,9 +13,11 @@ DESCRIPTION="Curses based utility to parse the contents of elogs created by Port HOMEPAGE="https://gitweb.gentoo.org/proj/elogv.git/" SRC_URI="https://github.com/gentoo/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="~alpha amd64 ~arm ~arm64 ppc ~ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +PLOCALES=( "de" "es" "it" "pl" ) +IUSE="${PLOCALES[*]/#/l10n_}" RDEPEND="sys-apps/portage[${PYTHON_USEDEP}]" DEPEND="${RDEPEND}" @@ -25,16 +27,16 @@ DOCS=( README ) src_install() { distutils-r1_src_install - # unset LINGUAS => install all languages - # empty LINGUAS => install none - local i - if [[ -n "${LINGUAS+x}" ]] ; then - for i in $(ls "${ED}"/usr/share/locale/) ; do - if ! has ${i} ${LINGUAS} ; then - rm -rf "${ED}"/usr/share/{locale,man}/${i} - fi - done - fi + elog 'Deleting unwanted language files...' + for i in ${PLOCALES[@]}; do + if use "l10n_${i}"; then + # Keep and fix man page filename (bug #869905) + mv "${ED}"/usr/share/man/${i}/man1/${PN}.1{.${i},} || die + else + rm -r "${ED}"/usr/share/{locale,man}/"${i}" || die + elog "- Language \"${i}\" deleted" + fi + done } pkg_postinst() { diff --git a/app-portage/elogv/metadata.xml b/app-portage/elogv/metadata.xml index 8516991bfeb1..c1b6a7fe55bd 100644 --- a/app-portage/elogv/metadata.xml +++ b/app-portage/elogv/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> <email>sping@gentoo.org</email> @@ -10,6 +10,7 @@ <name>Gentoo Portage tools team</name> </maintainer> <upstream> + <remote-id type="gentoo">proj/elogv</remote-id> <remote-id type="github">gentoo/elogv</remote-id> </upstream> </pkgmetadata> diff --git a/app-portage/elogviewer/Manifest b/app-portage/elogviewer/Manifest index 13aa5f945d67..8b04f1c45bfd 100644 --- a/app-portage/elogviewer/Manifest +++ b/app-portage/elogviewer/Manifest @@ -1,3 +1 @@ -DIST elogviewer-3.0.tar.gz 28349 BLAKE2B 44f3ca5b28d075bb8349450cc817fd8ccdd1d1dc7eb948a9d65ab3b423191eca04cc479b2d6bec0bf6bc7f1120eccd257fdf61bb736919129ee756c2f4bd4366 SHA512 7eb59849a06632053ee0f7d1d76d9848220dbb8ad48d04c80fea5e64304f86c1a99987f525c6df682c832bd8453e07781a5c95ad2dee0539e954400730f47e36 -DIST elogviewer-3.1.tar.gz 28650 BLAKE2B b15d94095def5fb7fdcf77ad1e7bf1fc35af6bbd999d89b7f90bed8ef9739182c8e4af0033aee92453d6b0731ac5d8c168e3900abe0a4466d584bfd9bc64917a SHA512 b99bc165ab08755273ead73fdd3602c9266a9bb243c46d99805c1f8b07f7e8ea9b0583aedb9b7ab717461f2ed3bd27dcf0a5677f2d908d3fcc03769794a64d5b DIST elogviewer-3.2.tar.gz 29046 BLAKE2B a880fde71df3c688572c33abbc163f3ac10a53c672b01b3139d02effa5e59a05f7ae1df35a4505b1a48d7a0cb6166a21b18d1d969e1eaebab03e3620298d4f38 SHA512 2503482f14e21c7b6f69ac0d6305c7c126fa3ac944b68acef7edec0c464d2e45bc2dc348f8d38033dbc276afc132d75863c737e222f66ad5ebe870b30fec2f39 diff --git a/app-portage/elogviewer/elogviewer-3.0-r2.ebuild b/app-portage/elogviewer/elogviewer-3.0-r2.ebuild deleted file mode 100644 index a74707ed46aa..000000000000 --- a/app-portage/elogviewer/elogviewer-3.0-r2.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_8 ) - -DISABLE_AUTOFORMATTING=true - -inherit desktop python-single-r1 readme.gentoo-r1 - -DESCRIPTION="Elog viewer for Gentoo" -HOMEPAGE="https://sourceforge.net/projects/elogviewer" -SRC_URI="https://github.com/Synss/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc x86" -IUSE="" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - >=sys-apps/portage-2.1[${PYTHON_USEDEP}] - ') -" -DEPEND="${RDEPEND} - $(python_gen_cond_dep ' - dev-python/setuptools[${PYTHON_USEDEP}] - ') -" - -DOC_CONTENTS="In order to use this software, you need to activate -Portage's elog features. Required is - PORTAGE_ELOG_SYSTEM=\"save\" -and at least one of - PORTAGE_ELOG_CLASSES=\"warn error info log qa\" -More information on the elog system can be found in -/usr/share/portage/config/make.conf.example - -To operate properly this software needs the directory -${PORT_LOGDIR:-/var/log/portage}/elog created, belonging to group portage. -To start the software as a user, add yourself to the portage group." - -PATCHES=( "${FILESDIR}/elogviewer-3.0-segfault.patch" -) - -src_compile() { - rm -f Makefile -} - -src_install() { - python_newscript elogviewer.py elogviewer - - make_desktop_entry ${PN} ${PN} ${PN} System - - doman elogviewer.1 - readme.gentoo_create_doc -} - -pkg_postinst() { - readme.gentoo_print_elog - - ewarn "The elogviewer's configuration file is now saved in:" - ewarn "~/.config/elogviewer/ (was ~/.config/Mathias\ Laurin/)." - ewarn "Please migrate any user specific settings to the new config file." -} diff --git a/app-portage/elogviewer/elogviewer-3.1.ebuild b/app-portage/elogviewer/elogviewer-3.1.ebuild deleted file mode 100644 index 3a21c008fa21..000000000000 --- a/app-portage/elogviewer/elogviewer-3.1.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8,9} ) - -DISABLE_AUTOFORMATTING=true - -inherit desktop python-single-r1 readme.gentoo-r1 - -DESCRIPTION="Elog viewer for Gentoo" -HOMEPAGE="https://github.com/Synss/elogviewer" -SRC_URI="https://github.com/Synss/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~x86" -IUSE="" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - >=sys-apps/portage-2.1[${PYTHON_USEDEP}] - ') -" -DEPEND="${RDEPEND} - $(python_gen_cond_dep ' - dev-python/setuptools[${PYTHON_USEDEP}] - ') -" - -DOC_CONTENTS="In order to use this software, you need to activate -Portage's elog features. Required is - PORTAGE_ELOG_SYSTEM=\"save\" -and at least one of - PORTAGE_ELOG_CLASSES=\"warn error info log qa\" -More information on the elog system can be found in -/usr/share/portage/config/make.conf.example - -To operate properly this software needs the directory -${PORT_LOGDIR:-/var/log/portage}/elog created, belonging to group portage. -To start the software as a user, add yourself to the portage group." - -PATCHES=( "${FILESDIR}/elogviewer-3.0-segfault.patch" -) - -src_compile() { - rm -f Makefile -} - -src_install() { - python_newscript elogviewer.py elogviewer - - make_desktop_entry ${PN} ${PN} ${PN} System - - doman elogviewer.1 - readme.gentoo_create_doc -} - -pkg_postinst() { - readme.gentoo_print_elog - - ewarn "The elogviewer's configuration file is now saved in:" - ewarn "~/.config/elogviewer/ (was ~/.config/Mathias\ Laurin/)." - ewarn "Please migrate any user specific settings to the new config file." -} diff --git a/app-portage/elogviewer/elogviewer-3.2.ebuild b/app-portage/elogviewer/elogviewer-3.2.ebuild index fed3a755fb78..1c6330793153 100644 --- a/app-portage/elogviewer/elogviewer-3.2.ebuild +++ b/app-portage/elogviewer/elogviewer-3.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{8,9} ) +PYTHON_COMPAT=( python3_{9..11} ) DISABLE_AUTOFORMATTING=true @@ -15,7 +15,7 @@ SRC_URI="https://github.com/Synss/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc x86" +KEYWORDS="amd64 ~arm64 ~ppc ~riscv x86" IUSE="" REQUIRED_USE="${PYTHON_REQUIRED_USE}" diff --git a/app-portage/elogviewer/files/elogviewer-3.0-segfault.patch b/app-portage/elogviewer/files/elogviewer-3.0-segfault.patch deleted file mode 100644 index cc67a0d6f198..000000000000 --- a/app-portage/elogviewer/files/elogviewer-3.0-segfault.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- a/elogviewer.py 2020-05-08 20:23:04.419257166 -0700 -+++ b/elogviewer.py 2020-05-08 20:23:30.436359552 -0700 -@@ -255,15 +255,22 @@ - return "</h2>" - - def parse(self, line): -- eclass, stage = line.split(":") -- self.context.eclass = { -- "ERROR": EClass.Error, -- "WARN": EClass.Warning, -- "LOG": EClass.Log, -- "INFO": EClass.Info, -- "QA": EClass.QA, -- }[eclass] -- return "{}: {}".format(self.context.eclass.name, stage) -+ if not line: -+ return -+ parts = line.split(":") -+ if len(parts) == 2: -+ eclass, stage = parts[0:2] -+ self.context.eclass = { -+ "ERROR": EClass.Error, -+ "WARN": EClass.Warning, -+ "LOG": EClass.Log, -+ "INFO": EClass.Info, -+ "QA": EClass.QA, -+ }[eclass] -+ return "{}: {}".format(self.context.eclass.name, stage) -+ elif len(parts) > 2: -+ # Return an empty string, eclass and stage are populated anyway -+ return "" - - - class BodyState(AbstractState): diff --git a/app-portage/elogviewer/metadata.xml b/app-portage/elogviewer/metadata.xml index 54f126394a36..f67f8932a09d 100644 --- a/app-portage/elogviewer/metadata.xml +++ b/app-portage/elogviewer/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> <email>tools-portage@gentoo.org</email> diff --git a/app-portage/elsw/Manifest b/app-portage/elsw/Manifest new file mode 100644 index 000000000000..ac9e40b9cad3 --- /dev/null +++ b/app-portage/elsw/Manifest @@ -0,0 +1 @@ +DIST elsw-1.0.0.tar.gz 9793 BLAKE2B 63e61eebda9fde9d6f1eeabca917038308fc4c91464424cca167ce37c3c4beb6c2eb2f61673ddc1519acf38820ec4ad44b31d3246727a4d039b958e5d04222ee SHA512 a85a0b76b74335f2107e78a9e70f8f07a8af3543a021f3b1b9c63e64f7884888b43dbe387f6be12ee15dfa58a25102d1c3c63945d5cace3cdc8a7c612b65fc60 diff --git a/app-portage/elsw/elsw-1.0.0.ebuild b/app-portage/elsw/elsw-1.0.0.ebuild new file mode 100644 index 000000000000..52a97ab63bb9 --- /dev/null +++ b/app-portage/elsw/elsw-1.0.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Tool providing a nice way to view the Portage world file" +HOMEPAGE="https://gitlab.com/xgqt/python-elsw/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://gitlab.com/xgqt/python-${PN}.git" +else + inherit pypi + + KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" +fi + +LICENSE="GPL-2+" +SLOT="0" + +RDEPEND=" + dev-python/colorama[${PYTHON_USEDEP}] + sys-apps/portage[${PYTHON_USEDEP}] +" + +DOCS=( README.md ) diff --git a/app-portage/elsw/elsw-9999.ebuild b/app-portage/elsw/elsw-9999.ebuild new file mode 100644 index 000000000000..f476f0d0e3b2 --- /dev/null +++ b/app-portage/elsw/elsw-9999.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Tool providing a nice way to view the Portage world file" +HOMEPAGE="https://gitlab.com/xgqt/python-elsw/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://gitlab.com/xgqt/python-${PN}.git" +else + inherit pypi + + KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +fi + +LICENSE="GPL-2+" +SLOT="0" + +RDEPEND=" + dev-python/colorama[${PYTHON_USEDEP}] + sys-apps/portage[${PYTHON_USEDEP}] +" + +DOCS=( README.md ) diff --git a/app-portage/elsw/metadata.xml b/app-portage/elsw/metadata.xml new file mode 100644 index 000000000000..a434c9d8d886 --- /dev/null +++ b/app-portage/elsw/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="person"> + <email>xgqt@gentoo.org</email> + <name>Maciej Barć</name> + </maintainer> + <upstream> + <maintainer status="active"> + <email>xgqt@riseup.net</email> + <name>Maciej Barć</name> + </maintainer> + <bugs-to>https://gitlab.com/xgqt/python-elsw/-/issues/</bugs-to> + <remote-id type="gitlab">xgqt/python-elsw</remote-id> + <remote-id type="pypi">elsw</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-portage/elt-patches/Manifest b/app-portage/elt-patches/Manifest index 6344aa49022c..56928f6c12f1 100644 --- a/app-portage/elt-patches/Manifest +++ b/app-portage/elt-patches/Manifest @@ -1 +1,5 @@ -DIST elt-patches-20201205.tar.xz 39240 BLAKE2B aa2e2377f0d0cba14f38c59664174d066eff04c9d2a71346c998c4324987fbce25cfd91b79e8e40bde0d81bf7d3c43126bffd0a6b0b219aaad11f4f9f22abde4 SHA512 67e199f060e2c93e01b7a7809f52c0a18d82e86f1b1eb34b965c2acd24e5538a874b820028e363d3002cf58b43c2fe3376ae28d2bef0ca81feabb90c83ae47c2 +DIST elt-patches-20240116.tar.xz 44400 BLAKE2B 0e664bf02180c2d0a5813f25a7661064f6612b71ab4743041a87579bf4fc2af276b2d653cbf75fe412364c2eb0a38dad744cc1eaa1159837239b0b9bbd122c5c SHA512 b014bebf918bb3debb5f38297caa0e250b426bdabfbc3c3e7ae44c1f5cda0d63ae1c0d82c12710a966a615947a5ad823a6e06c2ca485b987a74065dde16216bb +DIST elt-patches-20240213.tar.xz 44840 BLAKE2B 00c7c19dd0cd2aacc72e90d98f6b5bf09cfbcc79597b53d1c8095066354de10d3080404f7798463e87c1eef385b26dcbc590d3e6fe6f709ea04eaa82bbb17359 SHA512 d39ba86d4356491246b30b7c87d4fba341ba1539f696ef297c231fee5566a3fbf09891323d1f04fd97b9504c56dbb6f2ac99fa6051bf77a31aab55695c6da24b +DIST elt-patches-20240315.tar.xz 45416 BLAKE2B 4a1e33bba89c43cb91d75641d35837aa482e2e119079321b4e1824ee5bd4b0f5c465c4709082daf987dedf423fef5adb9ba8d8d1b9d6dc814c663dda86ac0ee0 SHA512 7c2034713630f8ad40fed5be34f397749e8e1f63d5933656fe3618e97cf59240aaa64468fcb1a46bac111b96603e538b857513ca80d327c0be865868020457ea +DIST elt-patches-20240324.tar.xz 45712 BLAKE2B 29a94ad3132ba10f4fc90cde685732b1cb679d693e1b1a1fbdb7fd99fbfc70aa7df9e6753ef6374cd606195829bd9d6a8b9b19126780ffa8f28542fb59d99fb0 SHA512 3878d5d303b372c873859510d6a0f3911657f4b66af8a91833657a13902474d011e30b4d245e5f82df791a9231f0253bb0ddef42bba66acb4241600265fb7925 +DIST elt-patches-20240415.tar.xz 46164 BLAKE2B 460a21bb20368c541406d8e0031d379a41d7a41f62a74a2a33c40647261f1dc542693ee9c3148c8f07ecb830c18d6d34500fbe2f05d03902b06967d6f762f131 SHA512 d876049860aad979bdf5e8b9842688cb31f3e1487d4966247ec4bcb6b696c25ef4b2a4abd4b330ecc39cff4f9ef18cf8b401660e59f35468b8dc1a26996a5c06 diff --git a/app-portage/elt-patches/elt-patches-20201205.ebuild b/app-portage/elt-patches/elt-patches-20201205.ebuild deleted file mode 100644 index 272378929948..000000000000 --- a/app-portage/elt-patches/elt-patches-20201205.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="Collection of patches for libtool.eclass" -HOMEPAGE="https://gitweb.gentoo.org/proj/elt-patches.git/" -SRC_URI="https://dev.gentoo.org/~grobian/distfiles/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~arm64-linux ~ppc64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" - -RDEPEND="sys-apps/gentoo-functions" -BDEPEND="app-arch/xz-utils" - -src_compile() { - emake rootprefix="${EPREFIX}" libdirname="$(get_libdir)" -} - -src_install() { - emake DESTDIR="${D}" rootprefix="${EPREFIX}" install -} diff --git a/app-portage/elt-patches/elt-patches-20240116.ebuild b/app-portage/elt-patches/elt-patches-20240116.ebuild new file mode 100644 index 000000000000..1c8e8632cc83 --- /dev/null +++ b/app-portage/elt-patches/elt-patches-20240116.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Collection of patches for libtool.eclass" +HOMEPAGE="https://gitweb.gentoo.org/proj/elt-patches.git/" + +if [[ ${PV} == *9999* ]] ; then + EGIT_REPO_URI=" + https://anongit.gentoo.org/git/proj/elt-patches.git + https://github.com/gentoo/elt-patches + " + inherit git-r3 +else + SRC_URI=" + https://dev.gentoo.org/~grobian/distfiles/${P}.tar.xz + https://dev.gentoo.org/~vapier/dist/${P}.tar.xz + https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz + " + + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~arm64-linux ~ppc64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +fi + +LICENSE="GPL-2" +SLOT="0" +# The 'check' target currently wants network access to fetch libtool tarballs. +RESTRICT="test" + +RDEPEND="sys-apps/gentoo-functions" +BDEPEND="app-arch/xz-utils" + +src_compile() { + emake rootprefix="${EPREFIX}" libdirname="$(get_libdir)" +} + +src_install() { + emake DESTDIR="${D}" rootprefix="${EPREFIX}" install +} diff --git a/app-portage/elt-patches/elt-patches-20240213.ebuild b/app-portage/elt-patches/elt-patches-20240213.ebuild new file mode 100644 index 000000000000..1c8e8632cc83 --- /dev/null +++ b/app-portage/elt-patches/elt-patches-20240213.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Collection of patches for libtool.eclass" +HOMEPAGE="https://gitweb.gentoo.org/proj/elt-patches.git/" + +if [[ ${PV} == *9999* ]] ; then + EGIT_REPO_URI=" + https://anongit.gentoo.org/git/proj/elt-patches.git + https://github.com/gentoo/elt-patches + " + inherit git-r3 +else + SRC_URI=" + https://dev.gentoo.org/~grobian/distfiles/${P}.tar.xz + https://dev.gentoo.org/~vapier/dist/${P}.tar.xz + https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz + " + + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~arm64-linux ~ppc64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +fi + +LICENSE="GPL-2" +SLOT="0" +# The 'check' target currently wants network access to fetch libtool tarballs. +RESTRICT="test" + +RDEPEND="sys-apps/gentoo-functions" +BDEPEND="app-arch/xz-utils" + +src_compile() { + emake rootprefix="${EPREFIX}" libdirname="$(get_libdir)" +} + +src_install() { + emake DESTDIR="${D}" rootprefix="${EPREFIX}" install +} diff --git a/app-portage/elt-patches/elt-patches-20240315.ebuild b/app-portage/elt-patches/elt-patches-20240315.ebuild new file mode 100644 index 000000000000..1c8e8632cc83 --- /dev/null +++ b/app-portage/elt-patches/elt-patches-20240315.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Collection of patches for libtool.eclass" +HOMEPAGE="https://gitweb.gentoo.org/proj/elt-patches.git/" + +if [[ ${PV} == *9999* ]] ; then + EGIT_REPO_URI=" + https://anongit.gentoo.org/git/proj/elt-patches.git + https://github.com/gentoo/elt-patches + " + inherit git-r3 +else + SRC_URI=" + https://dev.gentoo.org/~grobian/distfiles/${P}.tar.xz + https://dev.gentoo.org/~vapier/dist/${P}.tar.xz + https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz + " + + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~arm64-linux ~ppc64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +fi + +LICENSE="GPL-2" +SLOT="0" +# The 'check' target currently wants network access to fetch libtool tarballs. +RESTRICT="test" + +RDEPEND="sys-apps/gentoo-functions" +BDEPEND="app-arch/xz-utils" + +src_compile() { + emake rootprefix="${EPREFIX}" libdirname="$(get_libdir)" +} + +src_install() { + emake DESTDIR="${D}" rootprefix="${EPREFIX}" install +} diff --git a/app-portage/elt-patches/elt-patches-20240324.ebuild b/app-portage/elt-patches/elt-patches-20240324.ebuild new file mode 100644 index 000000000000..29410c13f990 --- /dev/null +++ b/app-portage/elt-patches/elt-patches-20240324.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Collection of patches for libtool.eclass" +HOMEPAGE="https://gitweb.gentoo.org/proj/elt-patches.git/" + +if [[ ${PV} == *9999* ]] ; then + EGIT_REPO_URI=" + https://anongit.gentoo.org/git/proj/elt-patches.git + https://github.com/gentoo/elt-patches + " + inherit git-r3 +else + SRC_URI=" + https://dev.gentoo.org/~grobian/distfiles/${P}.tar.xz + https://dev.gentoo.org/~vapier/dist/${P}.tar.xz + https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz + " + + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~arm64-linux ~ppc64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +fi + +LICENSE="GPL-2" +SLOT="0" +# The 'check' target currently wants network access to fetch libtool tarballs. +RESTRICT="test" + +RDEPEND="sys-apps/gentoo-functions" +BDEPEND="app-arch/xz-utils" + +src_compile() { + emake rootprefix="${EPREFIX}" libdirname="$(get_libdir)" +} + +src_install() { + emake DESTDIR="${D}" rootprefix="${EPREFIX}" install +} diff --git a/app-portage/elt-patches/elt-patches-20240415.ebuild b/app-portage/elt-patches/elt-patches-20240415.ebuild new file mode 100644 index 000000000000..29410c13f990 --- /dev/null +++ b/app-portage/elt-patches/elt-patches-20240415.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Collection of patches for libtool.eclass" +HOMEPAGE="https://gitweb.gentoo.org/proj/elt-patches.git/" + +if [[ ${PV} == *9999* ]] ; then + EGIT_REPO_URI=" + https://anongit.gentoo.org/git/proj/elt-patches.git + https://github.com/gentoo/elt-patches + " + inherit git-r3 +else + SRC_URI=" + https://dev.gentoo.org/~grobian/distfiles/${P}.tar.xz + https://dev.gentoo.org/~vapier/dist/${P}.tar.xz + https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz + " + + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~arm64-linux ~ppc64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +fi + +LICENSE="GPL-2" +SLOT="0" +# The 'check' target currently wants network access to fetch libtool tarballs. +RESTRICT="test" + +RDEPEND="sys-apps/gentoo-functions" +BDEPEND="app-arch/xz-utils" + +src_compile() { + emake rootprefix="${EPREFIX}" libdirname="$(get_libdir)" +} + +src_install() { + emake DESTDIR="${D}" rootprefix="${EPREFIX}" install +} diff --git a/app-portage/elt-patches/elt-patches-99999999.ebuild b/app-portage/elt-patches/elt-patches-99999999.ebuild new file mode 100644 index 000000000000..29410c13f990 --- /dev/null +++ b/app-portage/elt-patches/elt-patches-99999999.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Collection of patches for libtool.eclass" +HOMEPAGE="https://gitweb.gentoo.org/proj/elt-patches.git/" + +if [[ ${PV} == *9999* ]] ; then + EGIT_REPO_URI=" + https://anongit.gentoo.org/git/proj/elt-patches.git + https://github.com/gentoo/elt-patches + " + inherit git-r3 +else + SRC_URI=" + https://dev.gentoo.org/~grobian/distfiles/${P}.tar.xz + https://dev.gentoo.org/~vapier/dist/${P}.tar.xz + https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz + " + + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~arm64-linux ~ppc64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +fi + +LICENSE="GPL-2" +SLOT="0" +# The 'check' target currently wants network access to fetch libtool tarballs. +RESTRICT="test" + +RDEPEND="sys-apps/gentoo-functions" +BDEPEND="app-arch/xz-utils" + +src_compile() { + emake rootprefix="${EPREFIX}" libdirname="$(get_libdir)" +} + +src_install() { + emake DESTDIR="${D}" rootprefix="${EPREFIX}" install +} diff --git a/app-portage/elt-patches/metadata.xml b/app-portage/elt-patches/metadata.xml index f540000d5aab..03193409a70b 100644 --- a/app-portage/elt-patches/metadata.xml +++ b/app-portage/elt-patches/metadata.xml @@ -1,7 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> <email>base-system@gentoo.org</email> </maintainer> + <upstream> + <remote-id type="gentoo">proj/elt-patches</remote-id> + <remote-id type="github">gentoo/elt-patches</remote-id> + </upstream> </pkgmetadata> diff --git a/app-portage/emerge-delta-webrsync/Manifest b/app-portage/emerge-delta-webrsync/Manifest index 53d46d6f6c9f..8a47f5b23602 100644 --- a/app-portage/emerge-delta-webrsync/Manifest +++ b/app-portage/emerge-delta-webrsync/Manifest @@ -1 +1,4 @@ DIST emerge-delta-webrsync-3.7.6 24117 BLAKE2B 05bc77b6454e057247f225404cbf6f7b8fac8b54b19137434a4df028d5b6e8330ee853f4fa0f94a6c56e97ea088c7eac3f486c0013059b475f1ff36c858ad0a3 SHA512 85e5c2b5fffe952f6642507dd9dfd960725e86f385a5fc0ac289c5fcfe4666f0a50efdf7621342f8ae29f7623b8431f697ea33afe0fe2d6a837c820feefccae8 +DIST emerge-delta-webrsync-3.7.7 29041 BLAKE2B bf4a62dfa79b7445017fe513c2fe5f46ea00c6ec40c6cc36366ba9ac80b48278d53741afa514a68585b28f5120390b1460c2a2e905d27e44d13b7fccef963f09 SHA512 cda23099d0fe0858150b61f2ff1e7a41f78b9c42093890dff03882beeaaff9ae20cd4ae1a76b0ff7ab30dfa05e126e4ce541889d78649528c5cfd38870362362 +DIST emerge-delta-webrsync-3.7.8 29034 BLAKE2B bb043265577d2b7d861744b5d6f31aad645075ff916426013da26b6335560a6a0adf05b0a39c2f3a7cd6d5695a4b9c7646a53fe68d91e792dcb3523558b9f0bd SHA512 403c4437ca925657b24f4783f46bc475d8f485f27a79e6b9261dcb71babfc08f6b15ce87a54f3df55c190f1fbe1623165539d6b53366c1ed17e7c6f1e0b892f6 +DIST emerge-delta-webrsync-3.7.9 29089 BLAKE2B 836182a42b506de9ff17be8a5caa769aaee7bc2eaf0edc7dcddaf6c57cf1e2afd8a338b836c81068a9c9a38918b60779b6b071cb1cb70a92d886c168c67ca929 SHA512 8b722ca4a651762c4ccaddbfa535c19f0330179a18ed3b6dbf51637d34a17ac8b06f07540ae86c7e8c5ce9dfe9003f8f6f66e053bd29d90a1105bb8dad47d353 diff --git a/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.6.ebuild b/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.6.ebuild index 91e756876aae..3eb15e1fb1a2 100644 --- a/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.6.ebuild +++ b/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.6.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 DESCRIPTION="emerge-webrsync using patches to minimize bandwidth" HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage" SRC_URI="https://gitweb.gentoo.org/proj/portage.git/plain/misc/emerge-delta-webrsync?id=829623eadbeda97d37c0ea50dc5f08f19bf4561b -> ${P}" diff --git a/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.7.ebuild b/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.7.ebuild new file mode 100644 index 000000000000..5598c4a3e5c8 --- /dev/null +++ b/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.7.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="emerge-webrsync using patches to minimize bandwidth" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage" +SRC_URI="https://gitweb.gentoo.org/proj/portage.git/plain/misc/emerge-delta-webrsync?id=fe8b6d95b9c46b67cd4cf0040b5ae81704056cb7 -> ${P}" +S=${WORKDIR} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86" + +RDEPEND=" + app-shells/bash + >=dev-util/diffball-0.6.5 + >=sys-apps/portage-3.0.49 +" + +src_unpack() { + cp "${DISTDIR}/${P}" "${WORKDIR}/" || die +} + +src_install() { + newbin ${P} ${PN} + keepdir /var/delta-webrsync + fperms 0770 /var/delta-webrsync +} + +pkg_preinst() { + # Failure here is non-fatal, since the "portage" group + # doesn't necessarily exist on prefix systems. + chgrp portage "${ED}"/var/delta-webrsync 2>/dev/null +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] && \ + ! has_version app-arch/tarsync ; then + elog "For maximum emerge-delta-webrsync" \ + "performance, install app-arch/tarsync." + fi +} diff --git a/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.8.ebuild b/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.8.ebuild new file mode 100644 index 000000000000..674b41c71142 --- /dev/null +++ b/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.8.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DELTA_WEBRSYNC_COMMIT="591f0826a15e437eb02e2eddf8ed1487b05f5e94" + +DESCRIPTION="emerge-webrsync using patches to minimize bandwidth" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage" +SRC_URI="https://gitweb.gentoo.org/proj/portage.git/plain/misc/emerge-delta-webrsync?id=${DELTA_WEBRSYNC_COMMIT} -> ${P}" +S="${WORKDIR}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ppc ~sparc x86" + +RDEPEND=" + app-shells/bash + >=dev-util/diffball-0.6.5 + >=sys-apps/portage-3.0.49 +" + +src_unpack() { + cp "${DISTDIR}/${P}" "${WORKDIR}/" || die +} + +src_install() { + newbin ${P} ${PN} + keepdir /var/delta-webrsync + fperms 0770 /var/delta-webrsync +} + +pkg_preinst() { + # Failure here is non-fatal, since the "portage" group + # doesn't necessarily exist on prefix systems. + chgrp portage "${ED}"/var/delta-webrsync 2>/dev/null +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] && \ + ! has_version app-arch/tarsync ; then + elog "For maximum emerge-delta-webrsync" \ + "performance, install app-arch/tarsync." + fi +} diff --git a/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.9.ebuild b/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.9.ebuild new file mode 100644 index 000000000000..17647c83d1ec --- /dev/null +++ b/app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.9.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DELTA_WEBRSYNC_COMMIT="86a3bfce1e399b3274143df00e68c762d3666724" + +DESCRIPTION="emerge-webrsync using patches to minimize bandwidth" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage" +SRC_URI="https://gitweb.gentoo.org/proj/portage.git/plain/misc/emerge-delta-webrsync?id=${DELTA_WEBRSYNC_COMMIT} -> ${P}" +S="${WORKDIR}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ppc ~sparc x86" + +RDEPEND=" + app-shells/bash + >=dev-util/diffball-0.6.5 + >=sys-apps/portage-3.0.49 +" + +src_unpack() { + cp "${DISTDIR}/${P}" "${WORKDIR}/" || die +} + +src_install() { + newbin ${P} ${PN} + keepdir /var/delta-webrsync + fperms 0770 /var/delta-webrsync +} + +pkg_preinst() { + # Failure here is non-fatal, since the "portage" group + # doesn't necessarily exist on prefix systems. + chgrp portage "${ED}"/var/delta-webrsync 2>/dev/null +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] && \ + ! has_version app-arch/tarsync ; then + elog "For maximum emerge-delta-webrsync" \ + "performance, install app-arch/tarsync." + fi +} diff --git a/app-portage/emerge-delta-webrsync/metadata.xml b/app-portage/emerge-delta-webrsync/metadata.xml index 15533694141b..8ab017358711 100644 --- a/app-portage/emerge-delta-webrsync/metadata.xml +++ b/app-portage/emerge-delta-webrsync/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <upstream> <bugs-to>mailto:dev-portage@gentoo.org</bugs-to> diff --git a/app-portage/emlop/Manifest b/app-portage/emlop/Manifest new file mode 100644 index 000000000000..08867fedb507 --- /dev/null +++ b/app-portage/emlop/Manifest @@ -0,0 +1,135 @@ +DIST adler-1.0.2.crate 12778 BLAKE2B a1dc17786adae945ac09d3525e609ed944e6465690787bbb831a1b9d53793cba1989793d0a5606d5d23ee20d36457923d451b1b3530c9ec7072a487aa3e55bbd SHA512 7ab190d31890fc05b0b55d8e2c6527a505e06793d5496be0b3831e0513412f9ba97f8148f6f68ed0770fa9cd980a5092d885e058becf1d5506b7c74b82674aa1 +DIST aho-corasick-1.0.2.crate 167694 BLAKE2B fa5323cbe6cb73594dfa4c327c64676bc1e006dadc0b9def325974c83b9a769beba02d59a4657ec7a2d0cc511a7b7cc6f72cf57b8f9e639206d1c2bf13107a52 SHA512 5c75451f96fbbd670e6af0e1f54df2bdb57259dfe6898495ac46a5b2fc04f316a4698fd5cfd4ec31a94c298661937a8de08ce97cab3890fb3c015e4a2a67bb7b +DIST aho-corasick-1.1.2.crate 183136 BLAKE2B 2d4306d8968061b9f7e50190be6a92b3f668169ba1b9f9691de08a57c96185f7a4288d20c64cb8488a260eb18d3ed4b0e8358b0cca47aa44759b2e448049cbaa SHA512 61ef5092673ab5a60bec4e92df28a91fe6171ba59d5829ffe41fc55aff3bfb755533a4ad53dc7bf827a0b789fcce593b17e69d1fcfb3694f06ed3b1bd535d40c +DIST anstream-0.6.13.crate 30928 BLAKE2B 0c6d0932dc486ccbe8d7e6f97bd8aae03fb84d4db90d0488070b7109de673e0af845a70a39e546af87f71f4c7f7bb159ab8ed68ac0f03a0297457062d9d69dc0 SHA512 4f9ccfd135de9be22a01230f39d571c8d8ccf7c3eba837fbf0868c9660693b60ee0c1c2f9490a587d5307e892ed45cb946da7a0690a9f972619c94fb050bde09 +DIST anstyle-1.0.1.crate 13977 BLAKE2B 35be03a7de78737592528967e8ad4851436a74c7863cae9cf5cf7366d3cce9bbbd255b1a89401051f82fe8569a0ff029dcfe427c14a2e0677890453c6119d241 SHA512 2bf9b83ad9772c6a3ef28239cbb98bd667dc631fd1ef76ec5029825c128f6cb22756bb1548dd991e482f86eb9fd94fae5c648f91de2c0d71754b6dca4ec2362c +DIST anstyle-1.0.6.crate 14604 BLAKE2B 0716d0dbb62bf05c63c2bfe1c689896660073a423d26965ce2570f11e1925752a61209d78c2f2fe65ec4eb64ea4ffbb39669e789c0ba5d1b71e75de929153b20 SHA512 dc0e505465be54799b9faad70d0c6f7f0dcf9f5e1aaa43177b826c85dae626b054910244da0499862f066f6723a1560ad12100aec523f28c6198f1ea0d1b78fa +DIST anstyle-parse-0.2.3.crate 24699 BLAKE2B 17e8638187ccc1ca0174a8cec7f7daeee7e0d8b8c430f7e74f9b10d8de4b49fd1c6facfdafde305b7a3e55b1ebf2b4e8ec4975a0cce691514ddae9eb5b5e711e SHA512 4a6d0f706d75c9b3c5144f34efdef3ef8fcd075962c594a23a6209ed56112563a34b3c01e05a08a0868d59204272d06211b2585cb9d06ce075ea875bedb2f399 +DIST anstyle-query-1.0.2.crate 8739 BLAKE2B c06643e8616f1f4469a32f9c0512941ce53ac5db9ebfa7a5b2f19233040cd4438dd2ee69ab89ecbc1c239e92b674dea9df15ed673408c6f3fe21787cc17d76f3 SHA512 f409b624cbeecf58fd87c47f85be28cae1fe48f65d692195fb80854c514e38c40d0e0ffad3a5b388a3929c47bd2060302ebb635aa98dc57329f3a5ed7be3e2dc +DIST anstyle-wincon-3.0.2.crate 11272 BLAKE2B 73e124773f618a744b17017d4680ec6ccc84ff94fbe2e565073fbcc0facecd3cb65356cf27746d07f453bc917cbeb2ade3a618c6b8578d64cff4828c99569868 SHA512 4cc194faacffa01c6989354c1cadbf1134f0945250f67b7020ab5b475e30db34c799176bd335a6265386cb9c5e8b5bcbdf35894ec0c809b140ffe1c406751931 +DIST anyhow-1.0.71.crate 43808 BLAKE2B 1ec6b440758e26b2328738bab7c6b1fe8670959793cc24f61cecd0d8b0ebe60b9855ee1cdac9b5f5a5b238daf796eae5b7c82b903e7c822a5625d95130f8b61f SHA512 401b1c5d04fa0581f303395fcb3af5e7684ead367e2a173b4d90db9c04ac20010c5330a686f3ba91a541e1526a7185091b7dbfddce5134b5a74cc749b0338da5 +DIST anyhow-1.0.80.crate 45138 BLAKE2B 4985d3d8f1d5b5886fae5c7d1a61f921d3d64fb51e24710044b85dfadd2dae2b25b8995cab419cb7cdb5c8cb6b50ad0de93b9a942d34bc45014bd5fb9aecbd39 SHA512 481a3bc29de2af0b913d83cc79dacd559cf0bafecafcc707b921b91a732df953a2df582a54e5fca3f506f6441fd47379bd6bd006bcb1bd6f2615198f9903cc59 +DIST assert_cmd-2.0.11.crate 25346 BLAKE2B 1777fd5e3c0ea962d06b4e26e8c7437a3f1d8834fd0439338f53985e5958f2e11dadcf96a8ac86035bb9bce20ed9072fe4c37cee5dafdda3e6d2f72afe8b7a8e SHA512 45c142e7d4f526fe66f9987ea6c62750c53eb2e429cafff6a13bb5fd6377c59888cfa19abbc3a3d50f377f69ea894c42906639020c86de09805662d929a95aae +DIST assert_cmd-2.0.13.crate 23917 BLAKE2B 72fbb8afc12429a96c89b07dce8b2a969a1c2656aedf19ac9cd2bd1e5d5f29b3c558616858ad01a86807b787c88efc556ad432a55b59b0df5b4bdbeb9b6ab05e SHA512 3599483d28f1893945b63d693f38d656724f382ac7a0c2cb0773d72e6bba3dcc9137cca51575fca984c2435b081cd6ad68ed5d1fa04e606484926528cc41a305 +DIST atoi-2.0.0.crate 7785 BLAKE2B 406b5d14541bbd1428171874c549cfbfa1b80b8317a03b1b0e2795da7d2d54e94b30fbac05fcced9b1ecdb6e15709985cf84490af9e57fc16697bd581fe48554 SHA512 089959e903a17c5550f90fa1be67fb937120f693a924800d4443c49caee6516f2537c57b29ecd9136020d7644281457f75654315e9c5a211b2e4b57e77076024 +DIST atty-0.2.14.crate 5470 BLAKE2B 2db856a9e898a430258f059aeaf7c844a153293e8856d90ac81f7d91a888c89198768ad5cb09303c23241fe85c560a55148fa56a303651a82b0edb895616bfab SHA512 d7b6c4b9a0f898d91ddbc41a5ee45bbf45d1d269508c8cc87ee3e3990500e41e0ec387afb1f3bc7db55bedac396dd86c6509f4bf9e5148d809c3802edcc5e1d9 +DIST autocfg-1.1.0.crate 13272 BLAKE2B 7724055c337d562103f191f4e36cab469e578f0c51cc24d33624dea155d108a07578703766341fd6a4cc1ef52acda406e7dba1650d59115f18261281e5b40203 SHA512 df972c09abbdc0b6cb6bb55b1e29c7fed706ece38a62613d9e275bac46a19574a7f96f0152cccb0239efea04ee90083a146b58b15307696c4c81878cd12de28f +DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62 +DIST bstr-1.5.0.crate 346060 BLAKE2B 55f8b92b16947a02834a56d463d2f24f6857b9bfb590bcd250bcba4f0cbb06fd50793d6767e90d95bf48dd50b3e6f447096f8afd70890d54b27fdd6ccf1d99cd SHA512 6bd1be4fd785f7e576b4ae4a7203b1c1ff698d01f56b1f09b40dc1629f0ba7c958bfa9f6ca3cceef4fb51120707ae0fac9622126e1cdc477ee0802a57b34cd13 +DIST bstr-1.9.1.crate 380305 BLAKE2B 52b45bd48874d052636c6b451cc36d8b012808ea5193e0188e5edd09f81d21b8306926cfebb405ad0650ec9aa710f609bacaa773bf854b21f4803dc38bb2eca7 SHA512 67e9f76719310de60f46adf3c39768b4dc078d4c32dc6bdcec1a94cd9f630c5238e427ed84cd6ec25a44f54e84adeb795a0e92060a5372d9fb9ad9f0914e3172 +DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff +DIST clap-3.2.25.crate 219403 BLAKE2B 75a8ee36c52e64cf0ac7ed5604d8a575c41c756a588bd418e6c1edccfb358350cdd831b4176f01b987fe7fa5901ca2bccee6b0f68ccba7dbe40baf85a5f3bdb4 SHA512 557c8932175d7ecd077b32b68904924e52dd46d04fd04ba36b3a9dfd7ab1dbe8c2128fecfd75d0388b21fca4aee55a941794181cc2910a4d4eb3c54e9c7e73ea +DIST clap-4.4.18.crate 55269 BLAKE2B cb5d4b093bb7958d013b28ee25f9cbf0479ada392b81265834d75a5fa2e6a4a687f8d4a71520d5bdce05785a874ffaa09beb5707766d59e70928dab00bc122ad SHA512 1f151864b92dcfcc69a66c2a8aa8310ce28171895698d82e2e69e19a6b51ed8780e5eaa77410df9aae2d17c9b45117b913a4c23ef879106c1b7a96182656ebb9 +DIST clap_builder-4.4.18.crate 163538 BLAKE2B 9991c1a8aba5feda466fc878f9415ad9b5922ea1835c17e1dd6c640234ee85e623bc556ba0e4edd84100a0879ae462028c74304465310d69f9d58e333c2ba8a3 SHA512 ff04ce8e700d8df4a0ae94e8341c3bcc1ebd415312e3b21d56e6beadf604aa5576641861506fa1c901a615a013e4f30bf8e6467889d637b34fa37ef22e2a15c2 +DIST clap_complete-3.2.5.crate 31625 BLAKE2B c76baef63d773b81eb4d8d953da4a94769b618da45fb0f13fb9d6c6738b67ccdbd58ad2b5361bae99705fd2b7aadb520d6e7f4d258d872971e0e308a36900965 SHA512 c26d6c15a0ab44720cd7a5979dd4c66a9171082b99c04cda10fe4f6dd9a1405f8ca9022c344d03d7d2af7788bc28be033c9e2311f6879993901773176783f61e +DIST clap_complete-4.4.10.crate 37761 BLAKE2B 41364c37c96e82bfdbf0fde377512e894ff720542ded85fe49da4e305ebfdf39a2d511a48d6662c0ff2e3d191ea95c59704dbfe89e7531a969be42de9409e82c SHA512 d0f541bd167c9f755f149e5ab3171a4b5a9e4a37dba2de62ed51eeaa20691eb7602ef0061392cc7e4ca3594a0a69a7eeec75bf65f14e92fa6bc45285725c3f1b +DIST clap_derive-3.2.25.crate 28212 BLAKE2B 8782f6425ed46197c5e5293e2f06fd82b2d17ea3e89206580ef3c6853bed2e8c99ef2528a30276a8287215d7f5505a992dd43c59f26b2915757c8e2f20510843 SHA512 c98098bfedb8b681d72eaedb946d9867fd068d9be31137fe1fb5d821cd68afec48e7d2963adb2099aa760c702d5b75fb0ed45fc62b83d7f26edc8cecc03ea5d3 +DIST clap_derive-4.4.7.crate 29046 BLAKE2B 96ca919b8f9901b2e89c58ee8cf8bd3881ff715ac27999c03c867b317321e4839d9e923f68d411a05b45c34d54557af12b8a173f2445732fb6de16f30dad8e2b SHA512 4be40460468f7ce22906cdc9eea8d01bb07cb206d4ce0c3df2abd929d6925b175a49cf63907925ca16ae6297d6f4d933087fa5b35958e551117ec7ae050be167 +DIST clap_lex-0.2.4.crate 9652 BLAKE2B 5120b508dedf52507068c0c369a45ddfbe0369e5c05b65bc5a78c422b2a4bf488f9ef1e0bed4e335450f2c08b80148eb5f7efed678039b5a94b5bd666385939f SHA512 6c05e5fd850befd45be9005af7252385f2304aa28a107413bbe329d97aea835f7acfd0bd169c99f69f466ab93d6e1c35d73a4e48343457a06fe2d6be5bedde0f +DIST clap_lex-0.6.0.crate 12272 BLAKE2B 22aa04997fffa15a2efc7013ae27fd223c3247cd31f8fe96aafb4e87e3224f075e887df10a95a2da80b468d4e16088ae9f171ba6551c0ae06d77bf3b8920ff9d SHA512 3651aa5e27ed35b6b75b1d25fd9c20c26a2a6039116e54d84c51469087732a4f0fd71754326456b367e341b017d03749e9a6774cb7b62250ca8745f5af46574e +DIST colorchoice-1.0.0.crate 6857 BLAKE2B a0818be1299717461ffc1bcfb6fc53a0b3b645aa8c45fb72e045cf2d876fa207948610e58d6a837aad24838ea9616e80b0558ca3eae03fdf9bc4c03a8e5ba52f SHA512 53363f2889cd8e8a3b3ed10c48356896c0daa72f3c12c9c7804707ab0dbc07c0e34ef52fa4f0fb1647311ce5913168c1bf62c2407ff86a33f765a9e6fccad551 +DIST crc32fast-1.4.0.crate 38665 BLAKE2B 77398dedfa5e61357fb9abe3415ee53e45d3f1f7aaee959cbc9774f31a10ed324da2a558d20fd7c0674d450c8985b1e9c78b0b65e6ae2d9da6c873fe631c5ce7 SHA512 3e0bf1d2411ad9c651e0242c574cfda09403db24ab4b55560145ee73b31b08be45e5e12ce2db991d165ff056c7f2f67203fb2c048651f1c66ce90ec3276c455e +DIST crossbeam-channel-0.5.12.crate 90515 BLAKE2B 5a302e58411d99d52630cd154f4f642ec925af3330ced9456a16e417e2e43a37dc2b2288ccc88137a75e682e7b10ab2979f1f90c0bd42ceca8fa84c700b7dd0d SHA512 e17b0e41901b2b41e89913a0a50cd1eaacbf64cd07f454605a85781b8b1373c35bedd16ccf6b24029404a3171e0d670fc2b1474a6448d0feb40ba0e41f99019c +DIST crossbeam-channel-0.5.8.crate 90455 BLAKE2B 017132056f1b40e55fbc7a09b75509d72b0a6123a0e5ea5d6104fe822f73b3ccce670d711d3b84b5ce743dcab5f10445297a6701b71213b77c0d56e2c3fd7160 SHA512 47677d6fe63050c51393e4a0537a3c65d7055c9eae118ebe60c5d716b4f47f23c2b1947b1e1b66bfb34a57c4db3a44631d323e996dd545565fe4f58c25863ff4 +DIST crossbeam-utils-0.8.16.crate 42508 BLAKE2B dfaf9e7cade2cb5a2de90dc622e58a69c5b28fe9f69d3cbb945431683cf48fb409565190e3414a815563afb12631d990476919890fc482ce6b5792fdc25536a7 SHA512 4b8d599a8b93015eea2fd404cdf1526fbb94662fffc7c64d2f0659aeef349e4ad682f61b2b85d075c7f3fbbc4d8106cd7caf6e65dae117ba982f31262df3f831 +DIST crossbeam-utils-0.8.19.crate 42328 BLAKE2B b2846f569555818fe7a3ef4aa29f68c638f933ee0251713c2c92624bee5f8013def5527027022963f572815991abb98d5e68d0fa00f478b2762133f84ffc84c0 SHA512 6e742fbb0d2a6371db87e81f8ac583259530a288237d0e8347394581c60004703a822318ec945936c410bb44001b115d8d986bb264e5b2d8091bb63a8edd93a9 +DIST deranged-0.3.11.crate 18043 BLAKE2B 738d5a88732e227bb0e0d33c04ab8248a699c7c499100666ffcd78673d1f38ad2d740222ab405e3eaa7a0a6f4596cfef90bd581a1baf77c954dca830c22e74f9 SHA512 48485666d3e50eb7976e91bed36bddbaea80fac4ac664723130069bd7d17893b6d1a2b82a4c3dd61677162e4305ba5ea8aec7bc2793d1b8b92dd1666c204fc43 +DIST difflib-0.4.0.crate 7638 BLAKE2B 57c703de0d467c997bcbedc4d6577569b3d72c612d3ccd929025a98f4bf8f72f2a0d43f3cd3bc616676c2569aed176b3c1362cfa868a4bb1197e05fe4dbce32f SHA512 fcb57859424fea6958a4407061c421599fbca111357b1fe72faa65d8fb0b74425c993a24484e8414f475fa146cd8368c4f82e1ceb4e8dd9f95741149345b37a9 +DIST doc-comment-0.3.3.crate 4123 BLAKE2B a82d1c1a7a90af6e111b5e684a1298d7eac5fd8e4bf7d5baf6c7403d26b609958716d57e51122fe7ad7626fe00a2d824dcfef3cc2fd7679fdb7b5099603de1cd SHA512 e98ff9646a3612bd41bb6f278e7b6e9a0c58747f8b82524da814cf51b7f06c76ad4d65b502ac5740e818744abb295f78f15f8262d0b50ced1523f6d1a26939ba +DIST either-1.8.1.crate 16027 BLAKE2B 2fad54b5f20bb8540fff5959ca7b2f9021c814ee610895d770f7081b12ebe2c93ce754c462df9d81824d479ca75e07f4a9e398c07a655f4abe2740b9c9de9c62 SHA512 5e4da301a605e0bc1ee3a269fe449aef044df05b5e833940c7f79bed61bbff4fc248e9c82b45dab92b2688d578ada000b271aaf67f2f4f7c82b35f05663cfe7e +DIST emlop-0.6.1.crate 2534998 BLAKE2B ba93140aeea4787c8c508b02e8c50dc597c99a393c724f3bad86b3096f78fe335ad35777ec33818332bf8ead03417aa0d0d509df1b15a6bea4beed2b2d305760 SHA512 49b0136a25f1d5b10e4f2e4910d37ea7635e52684b147a6dfdd9e1396e8d28f44d1614f96df521f5122852dec9b5dd85af07ec59bbf56f1ef5f94eb5bb78b1be +DIST emlop-0.7.0.crate 3471834 BLAKE2B 649f0b1d8ee0d1900cdba09d542565a9767b0c6615b753344e87914881f154d40e13781ab789c6b917109f3d2ab7ab1976a07f64cde81136510424398d0da31f SHA512 f0055fccfeed7ad7c8bf28eceace542bcf953c978a7634ac58f8c9e7bbe012dd6e1b04659445e85e97c6ffb17c7d2b1486e60820f3be63caae88cc2162adbdfe +DIST env_filter-0.1.0.crate 11553 BLAKE2B 8e358517c0aeda431239f14610925bcfd6be3bd346c7628e1818cdbaa1796bfdf2454db99cd06bc6ffdca95e7ff47c0a621d1f4c3bb50ecd1641f9d19efe4b4d SHA512 a0ab51c2b905466d23c75fd77b430dff2956556b7687ea434050c78a497cbe63018c5730be950724c0ca6aefe29bbc379ac01c8a7cd2779a69c5a03e92a21bf1 +DIST env_logger-0.10.0.crate 36574 BLAKE2B d2f387682059fe9b4566ab995be449c58c57b8df5e5d8bd5ffd153aec1648721d8a9606d3f9aa034263651f5182043e08b6cc08d2d29d0a10f6cc61df9949a06 SHA512 4dd02f9d333a1f15657167ef4bd403eda5426cad17e0a4a43fa20cc65449345eb4d3fae2d6b10a3480016b9e23497fac13ed7e70b40c9450ef430be9f910d3e4 +DIST env_logger-0.11.2.crate 28310 BLAKE2B 8fcfb9a7fd96928e500b59ebe4cc86c5bddcf685a57bdb65b458e5299da3993172e207442ed3129bb6d683b39163c3456512ba4973402f0993ba2eab52c596e4 SHA512 12029a99de8eb2c5514d138869cc3242a32799bbf94932c3d8030fa8ed7cd10e9026738a9591116a2397c4875c0cb22b2c64faf120246e88a63ad420aa17e427 +DIST equivalent-1.0.1.crate 6615 BLAKE2B 302d78069d9df05e78b53f0488a9e4eb98fa2bc1e21893dc8a0acf2234347ba7c4df4b9d6b380ae77d8ffb1074b9c790460fe2dae47318aa1c4fe4208244540a SHA512 b2bc60e804c1b02c461dcefcfd60fc37145af710d183ebe65f9a4d63f2b2072d23193f98dc550a9213c7fdc6a2a837af23b04a89294ebbb681a4aaf5d5031140 +DIST flate2-1.0.28.crate 73690 BLAKE2B c9f141bde0eda6b9c42da0a3ed69322c12c6c29bc522131f51ad56f6e2758646aa5585382407409257a8301f5f07a1825d150838bbb55822f2d49037f6279aa8 SHA512 9db6f3ddc4e1e91960b07c08712beabd911b297d93db8be3ecb97a392a4262e608c75ed8e9e34d87d58c3e67d1b7987734e14ab3d45fd837a2767e8016380284 +DIST hashbrown-0.12.3.crate 102968 BLAKE2B 492072f27eaec45abd2c5d7405c614c0c6a8221425e901bb6174bfa1688ee524408a618650126d6c683b7285b9bf0a21dcdbff7347e4d8f97bf7111defa1b7e5 SHA512 b3700fcd659a21a6b9b3777c18b37a83bf25542b4e8f2b963779a122f5d22e1742c064cfc03e649583e7dd5c6e90ca8407f8c51a0e8755f6a108682853022f76 +DIST hashbrown-0.14.3.crate 141425 BLAKE2B 23c63a99c6c6b7a6b9b9e8bbbc7f1e342e1eb9d7582fc9eb408d3eec50c99f34502d450170bcfef4da7f2b1e743e1d1619875ec879e4753dffcb84f3c10dc3b2 SHA512 4d344e5c89ce58e04668b80ef10e4e110a3a5daf4d610c52d980577795d0e2050c7d0b151d8ba97128117665e27b92ab0300f85b88bd6e1de943c62d49249356 +DIST heck-0.4.1.crate 11567 BLAKE2B 520aeea740cfa30b0cca12f73594ffa655f32959673b1c9caaca1ea0162e455546ae3033881394c0ba0516bcd5c9a997da02162e1585522d665813b9096eabd9 SHA512 8c80e959d2f10a2893f9a71994720f90747742bb5b61fc0a539eed3ea5679b140c48fd7f7690d7122cd6af5f7f20a19d412e3569fe741c6d31f6b2ce1e0b80e8 +DIST hermit-abi-0.1.19.crate 9979 BLAKE2B 801e8052b85341cca388ada9db4b06bb1bd7b64474185b2ad06c0256b9e597639bd3dd4ba0053ea010f922e53969a4ab47b90d451fd9b94c8f2324055d151ea1 SHA512 1c877fcd562b15d2de9c151fd6c5f3ea4bf48abcb799e6139a180ffad5d64b632f0000d5707bbd92ff23a0e5f349157b9e0f5be8b50f03680b0fa47315dbb78a +DIST indexmap-1.9.3.crate 54653 BLAKE2B 7bc1768589e74020dc15d3dd064009edaaef39b7aeb682d0ca8e49944e3f020b9c04d64feb102e88b22feb40863479dfaf4722d6a77b5d19e7ca553f4bf64c1b SHA512 2aa8069eb07a814c8fa3e11296c9f032ef60963520d7786ad20cca5cb7e73b8f76d97722a994d65295bb713020aadce5008cd3df5e99d8bd968ef1979f910a37 +DIST indexmap-2.2.5.crate 81498 BLAKE2B 8914a50344951aad58766fbfebe8780298098e3a7c923287e3a84f6de41e2924a6a3bb3ee91ceae9b5b49654b83ddc7516a4cfa6253584b0657995d7c8f63a89 SHA512 84fbb6e61756d5ff746f6ffb2c3c8552f96d3af205075a381f06df85258c7597ce24b0d193127a797f975a3fddc1fa92110738227babc73a7fa37505331f8d78 +DIST itertools-0.10.5.crate 115354 BLAKE2B f24734bdfedf1dba48554e39b43669efcd4a43656eeb2c511096060daeaf049e1ad3eab232e757057750ce94aabad9fc8a0cf29a997edc6c4b167301c3443391 SHA512 d03c3cfba9841776913bbb6daad0c8945830c155f32ae4b48872e0f937c75a443f0ac9a0355f43b359ff75232f38b15f4f6d446b4be30b00b4209cf66ef770c3 +DIST itoa-1.0.10.crate 10534 BLAKE2B 8ffcb345d07070cc01651fd44c19f3e0659185eda733c407fd4be0955a301879ae1272dae7f425279dae8dcb7f7dc954465c9a09b5c521938a503d34fecfe2a7 SHA512 fc496be0873e31afa6ddf7f2958030f8fcb517cadb86a48280a0c50ce50460afda189af1e6c26e5ff6f85c750d772c21503864c32b526c4fe4bcdb5b07918538 +DIST itoa-1.0.6.crate 10410 BLAKE2B 8b1dc9ae9d55a006bb2abe3b0282e5e77397814b692a87b9becdc2bb74deabf5db09e3d5a2f604964cbff046148025988a5d916480e0402b2b80646fbed32875 SHA512 e1fb82fe16e1248141d48de9e05e7abed0c6fef58f2ff8b77b52aca5f16f3600c46707ff4c7a0f0307047610f29775bda74948d6d1efceb74b37cdd22e1fcf31 +DIST libc-0.2.146.crate 684707 BLAKE2B 53091a46262389e327973185c26bf187beba392c45a92bfa424fc0976333d6c8afdac6527484032574086e32412a712bc2616468f7cb14e6bd0480ca2bef6da6 SHA512 4112c17cfda83041f33a7b616a365a0eb6603ba857fd7bedd64162021a6305c81da6ae8f37395732d7eea40d4fe648bae435ee0bf0b1a1a48400e6546d4d50b6 +DIST libc-0.2.153.crate 740614 BLAKE2B 523a41bc8cff4ebcba0edbbe9e6a2286ec7cb3ba5e90ca5926c972b68e4b34188bc077d20c22376238c3cd91b7455898a95c505ace4ededea88cc496edb4c5a7 SHA512 3f99e3a192974fffdc053ef21e9ad5fb54b7cdbd4755df176704a95dba38047138ccab76763e89c6b565f37f98fd549fe368749f84f6d1638b3209cb07eae9b4 +DIST log-0.4.19.crate 38073 BLAKE2B bbc8ce51ad4a01562ecd204a531ec7d82101a342ec26405dfadd1761372f7039297dc97f4899889ebdf4eccbd56345e015d4ec6d2788851e523db56eb541aab3 SHA512 8f11ca6f5a99b61a5f3baeb7a23b7a879b3a5bed666337936bd1d8794864d14a6c4f0747d03505831783f15d8c14ebcf507267915481dfb1b32188b8ab36a038 +DIST log-0.4.21.crate 43442 BLAKE2B 8429b3270794d3e2c7f7d5b58bd4fa1abb9d4807ab3a1ac980ac81c11d9544635003d8cf2e608c2c0094865459108a2879f280278e121df68d09bc1561d604ba SHA512 0becc1a06b6e7048cff6c0bb8df49a16ac4772133c00239e9e9459c0811e7715c500f440cf1a9aef8d7ad74f57434559ca9b55917f588b8e476cf36eb6d4e10b +DIST memchr-2.5.0.crate 65812 BLAKE2B 57966413a1f933dcb2d2d4ccb29c247070f65a83299b2a9f5aa83f5a48a5c5f1c4c7c632fa63bd19f9508e9291e7258db2f16e2813a56fd84e0856f70f1e67ab SHA512 444a163b484c233e78c0e2e4d51f01ce2da93d7d29f516a95e4b0866b20bdfd3f34137653abed53eb70387991ee3e2b5937d8d4360a85bbcb50a93005a75defa +DIST memchr-2.7.1.crate 96307 BLAKE2B f1a008fbdbfe84852a8ae1d9d9574306b1bf120dd5087903adbcca6af342c9abbb296496eb9bf6cb58915c4444b3edd6ca4e27131ac7d8aed8849815df87a944 SHA512 5120496faa31fc427c8b4178461a262b3a34d70eddb7ad17a19d6db8b9969c9e113d3625b5e6dc677087fc80907377b00ba0421aba9a92cf73ca2849d932f473 +DIST miniz_oxide-0.7.2.crate 55731 BLAKE2B e3cbf5983025bee879b8a735fa2912db8975cb60f0499498a73ce4375e7d452c9ed62d4b0b6f6a4fa591aab55e5d7ff20033baa007fd6c839b9d74b31142c0b1 SHA512 2f8f09d7afdb9d78bfc80a228ded85a215fea05e577e907921f1808f84aae30ab118048d7b53295f11aeb5de70ab6cbdec892f3a2417bedf6f53a4576d095432 +DIST num-conv-0.1.0.crate 7444 BLAKE2B 4f5c4695006aa3ae77aaf5c55999a07d8ddfab294584fe10d73eb6abbb3f551846646156581599f966a28c74d80d3ac4373c49d2099991f7ed9edb56d36feec4 SHA512 7884c0c6599c66e40b9a79435e1bbcec60aa7e68b59686922dfab19ccbcac6a6e54f208cfb3d5a8a12e86e4dd67e09977d60b69ef6940e308a28256733f36100 +DIST num-traits-0.2.15.crate 49262 BLAKE2B 942ab170b2acce1cb40e6847f766bf810a79edd293d34f3a27864f464c16fe2b99fb13171ba429cc6d584248de879434beaadf1b231a4001b0e8389ed6c1be04 SHA512 5228498af0f15daeac3c9210f3e6e71cfaaeb30beea81dd37f8eb06b9592c8bf3226a47597cd8592ad4c513964a9a40f1ab2c33102ef3dfe3800d22c8d4528e8 +DIST num-traits-0.2.18.crate 51930 BLAKE2B 6c40e155d7a52267a7183d8030ef34245492d33f103cc24551b10da3eaa18e3db485062ff87057dc23e6b55e381e5c5d2a2633aaf6f4763c06677a0a0c524f02 SHA512 e395ad9f3b21b0dd1d3a94cefe0d68a42d1b1d429ddb2823696f9cd75042568a635d93d133ddb9497ed357e5b3be5caddb8e4a4af87b65882bbdc60b05c74ebc +DIST num_threads-0.1.6.crate 7334 BLAKE2B 416efdf395b0299b6b01e1508823afdda08cf67ca54e1d644fc5accbb0490945a492a34bc5ba70c3e838e6405d17ddce164ef87468bd9da27097de8994ad9577 SHA512 b2d9897e29e59353379b6372a629fc7f9afc89f777b4410eaeac7b4729527948a8dbecb175f056899f9076693ef855cc0d40e725cc54f28af588fbac5f7ce3b6 +DIST num_threads-0.1.7.crate 7455 BLAKE2B 282514d1c6ebe67ab2c30f91efd5b6c8880baa078265e22d5d7200eca4f96702aad8b537ba772e5d4e680a6e90fa6919fecfcf37a060668b2a618bb01bbabf2a SHA512 60eecfe49c1afca8efa320c5f4d0cd794f6adf8924193682c903307f484ca0a1ddb56102a772232aca040f29651bbe26ddc1c4939e1f030e229d179837e06bda +DIST once_cell-1.18.0.crate 32969 BLAKE2B a08d5beee50a7add28bd9e50b18709e7b34574f0f55f80909d5efb7ac5917e5f30bdcf3fb43ddd0a4f420a427390c7ffe1cc1c7191a3a1d939bc6e3139e6eef7 SHA512 9328968afdf3535b2d9e0113d75afa725259d76994ef2e1948ad7efa4ec8a65bac7cfdc31b749d5cd55ad4e28d2e28ac57b871e3067b89182453c7e2413a13b8 +DIST os_str_bytes-6.5.1.crate 22778 BLAKE2B 1d3daa82b41e6e360ec17051be2c5b1a394fe49ae349b2888e6f30fccf99d102c71357f76c3f68118de59e24480221b352a223ed01f26f11bf707b1c7de81941 SHA512 6d7a4475398daaae4e3d55ad58a8fba729517acf5744a5a6296f477207ee91e5bc36c2b54e58f6f9b15ce9bc75286e9ba62a59d577f0171d8151d3aaa01311b8 +DIST powerfmt-0.2.0.crate 15165 BLAKE2B a3e1ce63f5866f75526eeb749bec6607e42cb495bbb953082cde7e98e6aa429ecaa41889d98ff7ed4cf5031258b4f7e0553ff8fc435b3b6f8b4ef2b6d53d9b61 SHA512 0623f92e4d6ab284b3f6dae58220d79d9185df4a738999d68040c50d72fe0380d70358cb622f079c629bab53bb03c6e085e165d5bddfbeea84245864fed90029 +DIST predicates-3.0.3.crate 22743 BLAKE2B e0dbdba7bfaedfd3730bc381efd439c09a0730a8876be219ae5b8beb230f99acb29263c7eea1ea7333102335550936cb968f82268eeaf61db912fc4d2ba2952c SHA512 6638890cf3ca26170363e789318fd201223818089a34970fb650c12e11da0c2031dbe114ffa1e4bc55c05f7c75f41c60ca3bdb4764e061c6317508275940c7e1 +DIST predicates-3.1.0.crate 23090 BLAKE2B 6c51fa390f3335501df604afda47ff1d2a69322d928a1412bcc4829f16c3ff5d345ae52f54d797c9698b0eb7b26495e594d8c21f04fdd77c8119ad4635184adb SHA512 1ee38c715b4b55038497a4a4996e12de91d356d53173d3a034d6a1f56859cb3a4a61a82d016fbefdd6ff291519097ce9cef950547d3d437035cd7093d965dbf0 +DIST predicates-core-1.0.6.crate 8084 BLAKE2B 337cbb155bc2859c5a8b891c21d352e998cd1eaaf606cf46c003c9c499a42f12268b071e7a4cca65d50cdfdfd4267f023076e078a0a3eb401ad836755d65298e SHA512 afeb1de4275c76bb1c5950f42bce2f83a21ab217ec60130336286cb48b15f36bf2a1ca346bd652c10a65a1f9e3310d16b23b8333a3e0f7e20fe874c3f728e702 +DIST predicates-tree-1.0.9.crate 7960 BLAKE2B b758c52dcdd0ea237ce25f0a092200604765bc83c5edcaea646c6b1db49431296b61aebddea3b325e62f0ba9bbd5edba7ec92fd031cb597e7e8d642b966b401a SHA512 1fd5d9a84ca8fdd1b3c4759d5e6fb16e3d8fe8b0dfe5afbd16bb509c8558b0750705fff47701c95f7a8df1a222f639116a1b9ba4d89775bf03b06daf34f249a3 +DIST proc-macro-error-1.0.4.crate 25293 BLAKE2B ef918c5efaf2545ab38787c8d0c07315af00431139e4dff66346bf798e3a429f91d12a79776c150412fdda0b158a72badd5e1044ac4d6917f8482d4b5a7110b7 SHA512 8a47bc9d3e24e9561d1e384d8f5a633284c2cf9b5e6733c5f9d1dbfe1870ccc8e2152482852e50b551cecb68e009148585b910ffb0508a7b4875598eaf8657db +DIST proc-macro-error-attr-1.0.4.crate 7971 BLAKE2B 98e2925881c2be186e22c2c439697e91d43f807eb61a5d13e3b0b4321ed50a74f3d699942c04b89b6fea0f156bb5d19ebcf22f9cd4b98a7e6917c437600ed823 SHA512 2606afa9ec78d7dad4500c98d3a5ecbd02c6b53ab829c742bed7f57b322a95238ab4e01cf268746815f1424fd9b02eddfa30e72f98c66106f57765f3d3116495 +DIST proc-macro2-1.0.60.crate 44160 BLAKE2B 3cca40d5ffa85607212ea8da63995b35b1d59bf077ad1f708bb08f20a3f3d477e934205008984bf2e947e6e53689192df1d437772c75148e122e0f1f4fe43455 SHA512 2a3d33d2e42e3b7edac7a099dcaf83c43ad47852217424c2bcf8ed5b894292975ef5a11df01ebb3479971e94d5b032b9d043c28bed476d6f7087fb9297fbaac0 +DIST proc-macro2-1.0.78.crate 47158 BLAKE2B c56a24fce3faca9e04db7965cab552d2a976c3764df0a84179b5a89d1230ab355c777a82b4c982e3945414f1f0478473a88821dd176c32d6de394d73a26adb9a SHA512 11956fe03a2e77a925cdff2c3c8bc8804dffab4fa1de963a128fa23f4189976fd2e2102bd346b92c33524beae320b71dadaa5213695a3ec638404196e14fa769 +DIST quote-1.0.28.crate 28382 BLAKE2B 9fb16c3bb2a7fec3d8138ffec1f58277061f4a643c9051e1f6525f9e347ed9de41a3797eb3140a6dd828526eb4114c1f7ca562151dc933f338d64b175ed35d9f SHA512 846d718153f78cbae6dc714caa9413a5d5964bcc5e032f5c6c5356c62c33bf22635955ebdff0dede69ba1c9657387e65d61de7c537f6f56f8060721dfa52d735 +DIST quote-1.0.35.crate 28136 BLAKE2B 81424245e1e2b94459df68bb3a9a866c6a364102b5e1d010ede9c5f8278f8406d7b651957d091c5914e936b494b0f6e9a6a1dd8b7d35cd7d7100f86dee4ec12e SHA512 f5314fb6af17cf36c228e1970c569c29ec248954a450a5f90ba9e2896d04f74904c9cec5a1f74325f2489295a94491eee4ce8fb461e22cd4b34e53f1f881efd2 +DIST regex-1.10.3.crate 253101 BLAKE2B 390ebb00bf5430048412883b672d80737e783fd36f40895343cb38ef2e26e2713418c2fb4d66792bfd3be4c990b4518ba120de229a72cbeb7fd5c2af325fbcaf SHA512 d090898465013b0975a6de87fbdcdf76b4896578056f4da83424bd5e7832547a3d8ace643c379c4f14700a0a88dc95950a38645508d1675306c377879a90cf5d +DIST regex-1.8.4.crate 249562 BLAKE2B ad6d1221412beb65eb760ae905d4becc5583ae4d030c67b061626afdd3d4389c24123000688039fc6c8c1d091ff307b4a46f4b0eb84f1c258d0612c51aa2627d SHA512 6fa873671bc188906334202027fdd4d15923fcea88aa85d56a63e3a36bcf6aa77ae61c596f9154dee6c69e03bf3f3441e4ce26304d5a8e0ac47d710bf7af4a5a +DIST regex-automata-0.1.10.crate 114533 BLAKE2B 0e357229f6825f14339b1d7c40730b83e62bba12115d01ed20313320766e769a653a2fcd2c9d19af51a82c38e9e42c1a31d005e1f44f5b6fbb3ead7c9c74027f SHA512 56d64da361afce82c6cb49e70b99ce1fca3e1969c54bba5f9971db135f8544c65f49feb8827789947b3d1dcefc9c49a7a434a7ffe0d09c5900345a1733723c5f +DIST regex-automata-0.4.6.crate 617565 BLAKE2B 8f1e2a3cc1d2d50478776281d2bf10164ef441dcf7127994f4a0341ec40588ec8dc1c07fdf9f670da9e61a7753551500b80314df130370b61d2c03c2b2e3135a SHA512 b288e1facae2612f73d3de3fe9fd1af13d337107004f990263abe6277b31b948478ad9c2b807dcafa73fa565e48bdf2113139f5ca67eb73165b7d29e2ee5c9f1 +DIST regex-syntax-0.7.2.crate 339778 BLAKE2B 0b9533e4e4bfae1304a7ab5e2c8bc0bc3038367dbcab7bc19e680bc4945146f1eca3baa1c5bbff6ac60447b54059228a5790cad20ae33f16b9dab794a5f76140 SHA512 3065cec128ae6ce427d13b68066fc02357c21f7d1517c1669295f857395eea3297344fb2171c96d15dfe48050785249b7b8b8138fbe5b4a65c8427968347c128 +DIST regex-syntax-0.8.2.crate 347228 BLAKE2B 211fd1c35ad0f28874d4b4d276e0fb0a27e5a1608f2f16ba2333641b154624e378419daf8d1c955f21ff5f40f6d49c89569b7e11ea5649850846d0fe447a675c SHA512 301dde555f300298f2594490ccd8b92033e4917fe9b8671b8a97db6c827793c73969be85a92999964dcaf3177edda51abeb576811ad6cab9772964dc0a77e728 +DIST rev_lines-0.3.0.crate 10409 BLAKE2B 5812df1f9a17e353dc17e26467953e4bbb691e52bb7af7062ed75c497d811eda86b7a1455d08da933b4671beece422168a5c9bae60e2eb649440b494091cbd36 SHA512 bba54d53dd31c47f8f85f1aa5b9b7dbccf09c4decee9528aa1067c103166d62bbdea7868449c71d8e7fd85fd5ffa141c2ebe3c14a8578f8d52585b607b8b316a +DIST ryu-1.0.13.crate 46823 BLAKE2B c6d661cbff5e7b273da5a6bb704bb1910b897c55d854b05bd417f53853a832791afc351e5a5aeaa94ba99a8fe64c8a930221c52a8784519728da748371a4ae04 SHA512 25f60216d91e68cb47695ce4e966fae674d5b3e4b0cf33e740248c1605fdcf0c963acd278a485c5b4bb0a1c1144002e73173592222af4989df7a4ba402508c13 +DIST ryu-1.0.17.crate 47537 BLAKE2B 28408e17a4322f1afb6f21bc8d7328c39d07186de4d464f8e9bd63a69757cb4af61b46e558075e14836f310f020ac824d5ffa616fc0a5ffba59b9df0bb66ffc4 SHA512 6dad725c4fb2d3a33ea30107b63cb702eed56bd2f3c16a72265f648f5aaefcd3d5a7b919b1d037af926cc6311bc68ba58c4e0483da2b2e2135c6a7c2d6601af4 +DIST serde-1.0.164.crate 77057 BLAKE2B a3c9c7deaa841a559ec901eed72a768e0718a77683897a84149dc8211f3e6f8f016e6b86e5b3c7c3c3d512486dd7fdda2860f69e7d9e600fff6ca6da8870bfd4 SHA512 17376fad0d3f0fc696d713c0eec81fc4a83992f6f9dfbed7c3e700e7ca8a3241abd46d4c11303d26a5fe049ddaf3308c2e76b650cc7350e03a1e34002700552a +DIST serde-1.0.197.crate 77087 BLAKE2B 4a4e04ededf5fefaabfcc4e17457db823239e8eeee7631a905ed47800ca10d26a93632e3a9d1b784b83f84168d0d649cfa2e6f5f1e68ab15a68e837cd5b6c699 SHA512 69e42825fce6a0a5d109979785daceacfd6afc5641e202fe83da32e2b1f968416557cce97fa014839e873e65f85c27494c8f8e20e6e9e4fbedf20d0291880410 +DIST serde_derive-1.0.164.crate 54789 BLAKE2B fb8e50cabecb66bfbb4eff07bbd034510ebc4eef5fa21c855887beb84d19b1201a4e9dc0f68a2aeabc559f2229a905cc44e780a7e6bdc55aaed399bde5dbe168 SHA512 08777ed5775ee6ea47daf084f4ee15869b3969d54e43e6820277535e79b70f61f6152decaeea29bca67137d354bad079393a6709fd10d7cfeb50728e46030c04 +DIST serde_derive-1.0.197.crate 55771 BLAKE2B 73708908b6d1e104af4c63b498bd25c5a728e07e22afdf92f15754c0f17636efe44c0560c1f0df1b9a30708e8e8894a62f1ea57c234b6dd861cb9c8dc044eb4b SHA512 669376e248b76a5ee8b9c93fd9fe6d35372e7267fbabc14730539ef28a94e405ee5e9c2cc2846897d59d6153742cdc6799f9e2c87f20b9dad119bd3a86c28994 +DIST serde_json-1.0.114.crate 146986 BLAKE2B 229f0a8e2c0bc35435b49774fab9d4cec4e2323e85e2f97ccaa2a18277ecfb9cff9e9b165786e782cba043e9ac670717364b0f9c145254eefd74582b728f2186 SHA512 2c35cd0e29ee2af6046ce849b5854b82b90f402b51c04ea86b32ce7d67869736f17a4d028dd8245c31201036bcca7a1d3df11d842a92a45b0eaebd809687d436 +DIST serde_json-1.0.97.crate 145152 BLAKE2B c1d02a336bc12a5afb2cac2d48cd98393f56e0b679015b6c1a17670c0341903c58b97ece89de03ae53b3f4728b75ea03d5a537c227d02222acc1e85a2db76b58 SHA512 567b226ac89bd02b729f2aa34412a37aa4f4ca4bd08195c409e7171b3b6058313010a42b6ac016b7daf123e8d88da5a3cda45f08d78d525d127b8c1e480ca2b4 +DIST serde_spanned-0.6.5.crate 8349 BLAKE2B f4f8f798ae3a02c0d5178aa12a94bd1bc08fef88b6a81d782ba07ba36fb0d89927ecf621087faf376b6e53de12f6a96e0880ce0cd01ecc31c5dab7dadc6f3ff4 SHA512 bffe2398629ae5a5a5bb6d5fc2fa0f4b94d02c96e25d1be2fb9ad95d8ca2fa9bfdeb3af11049ee9c050e497f3beca108f03020f88f6de29b208063c3898af354 +DIST strsim-0.10.0.crate 11355 BLAKE2B bcb25ad0a7284e24e4f17ebe0ccb621bdc4118e499b50b094d98aa7e8fcc0b96716c9953c3516ce7ea78309d41d424892ded595259696a5bbffdcb07802b5c2f SHA512 78b318532addfcf5c1ccc1e14539e258aab9d3cd893cc45d82342549bde838c177d90f13c560671f8f32929af47d0b467db35e6876bd7697d8b3f9e055aeeac1 +DIST syn-1.0.109.crate 237611 BLAKE2B e827445d00c79a8eeb91eacde472f1987addd6ce9e1df95d7abf6446a77ff4173a8006845f3ae71c1da47193cfb72e0ead9a6d6bad2573be12c17e90735d9ad9 SHA512 12816b9e8cf984024b2fbce9f0ae14cf94d4d2c06f08cc54fb793ce78770bb4cc1288eb7df0ba5e8e937756e1e8e295c53fe07a0c5dde1ea8ddba03b6203b37d +DIST syn-2.0.18.crate 240648 BLAKE2B 1e16f0936faf2656ee74cf9c75bdaec19589a4309d68b0cab37438061cfa29c66a1dcd624ad9247d63c85b3c1fdd8a484a65509d672cc6471f3c93f3ecce30d2 SHA512 2642eb35d52022c6d21bb893843beb9b737a267f620e1f5a6c9096d434fd1fab05fe007c8d8b6f1fe00a25007d6f55dbd4ec620b9f5c1154659bf34c246334dd +DIST syn-2.0.52.crate 254728 BLAKE2B 1e56e49de8fee8ed47e89a0791bb0188ee8f0dac127f6e17a1c91a3cb8744a61a6e3b8d3a7fa5cc450a453e9ba7c9ed844302d23cb6e6cd8ca8c624ca475b32e SHA512 a0fb277a4d4611c465d76adf83040a6ac4375275d9f9414fddb34f577573b0f5890b94773bd57660e9af4b65778888ddf34c99d829fe4f58a966484cd8dd9b05 +DIST termcolor-1.2.0.crate 17917 BLAKE2B 5ca7802b0bd29495bcd2deaddcdb4c3ff964073a373eaf39964a24ed91a48c5c33e192d676099e2837064df3149fdd73aba7d241e9aeaad9887bf1bcae9d38f0 SHA512 cf1896523353390b2f90b2a8bf30f47da5fc7c2daa635bd0cd8059bdc73feb243e46e4279562fe45d5726f2840833b1e967c7de19ffc0c853592d9f86c0c1be7 +DIST termtree-0.4.1.crate 4557 BLAKE2B d4300b0e6e908c519a0a76f5e08167f4467f428b2926e7739614cef5d3e294dfac15ae8576f7011a852745713c16da93346660ff96520a2bb90a4dd4c23d889c SHA512 ddbe0d3ddd79b182732359f47958ca32aa351d10b1e7d5f6456700b851aa2b5314ce005e1fd120a248b676f219fbd68039cefc071d92c5b5477d053bb6e29062 +DIST textwrap-0.16.0.crate 53722 BLAKE2B 44140aa2dfd5076005749449a56e920418e71e34cb92f1d697eb3f3e7f6fe87b0a3861c8a4050a4a62e03187b6cadc4495e4200bee52ee183541431c73e47209 SHA512 97ae8acece5663e1a6b08b827179e96d5ad0ee67d635888cc3d83454b52cf48fce97eb0eba374ba4747834099c74f43d66d9fec868e84be45369a42c1aaec2c3 +DIST thiserror-1.0.40.crate 18709 BLAKE2B 8057ebcd11546f8b3ae5d760c1dd1764386f3c29dc43bc7a4aef20604970c65356daef137734e80260051d41e39979943bfda496459696b924a95f455159704c SHA512 db1b1fab3aa61dc6bbc672670eb70cee2f838fa713d3a927022900eddde253108d123bded1aa6df8d314e1aa2f8ff37bc72fc9b0803fe3a56447a64290ab2a91 +DIST thiserror-1.0.57.crate 20993 BLAKE2B 4eb90b8ee027e39102d6c030176db94510180f2bd2966503501ff89ca6b49afd61e6d9e1ebf18c08d374ff9de4e958dfcb3da8740fdfe31cceace5be456bfe4b SHA512 0ff7e48c3696f4f4c6af29f3142f0a7bb88a07b7a9877ec243e3ea15d89c48f1898b731311da5d4a7c88060628cae3eeea6a4eccf25bd851cb3075920cb1a936 +DIST thiserror-impl-1.0.40.crate 15138 BLAKE2B 7590428b5a97efde6a823440a9c91e1d1835b20df4ad8a700c1eeddd98516f1203605853fc6dc65528c5fd92480d04f9a8412aa7c20a524cb94435b0a0032f1d SHA512 9027f2d4127864c34d2d92ad3b2753a95893d26f5b2dcdec869884a98232c5304db1700a38112ced258e5f3832218cdea3a4bb21223098e1b20d06af1fd7edd2 +DIST thiserror-impl-1.0.57.crate 15639 BLAKE2B 2838235c5536fcb16d19382fe286850d6fb882b1d77ca4ade6a62e1d4727ef89f69cf0383cf330996f9e2303226d5fd709557331a45c9a91393db1788fbf4422 SHA512 a850806f09b232546d1e0df5e35cd961a8aa32f1d8ac3b24df360981da53b75325a46dc788c994042c95a5887fdc77234b9f6ee5851242f734a613e579548e3c +DIST time-0.3.22.crate 113792 BLAKE2B 8c9920d38b2d9b2f3204de7fe399f6e25b0a7ae7bb72d155eeba397f5721130fae1e0b3022ce9f1109d08e73b72a9fd09043d69f5cca953e80f3d70c4f49a71d SHA512 55575d043cdda64f7a789c61360974d17d3d380a4f0b243346222709743609503644c352ab2ec5d5336bd2b2a4709d54fe1863209d5625f14f881a1c33df1763 +DIST time-0.3.34.crate 118430 BLAKE2B 6d04a20596c9b0961ca104748d9d360f07b16059719d7410fdf1a7a0d5f2aa02aaebf640999464835964bbded2d3257d79c4b0ca3080fbecf13dd2d0aa6962fc SHA512 3997e1b8d9be2f54184ebc9e1355d4b65f0b7bc9439b2b29e4a4acd86ad3a3aa019261112a24d998d76a7f66b266a86536fa50412279911b14d4d7aa7078c116 +DIST time-core-0.1.1.crate 7197 BLAKE2B 9d0be2ef7111a8b66e5c750b2c372627ae4acfb2c68b0c6ed44b3c23bea1cdca4f65b24d2f2027b4d334667b1620019f4cb8c6d9799c1c2c537e6cfe692ab88a SHA512 a29d6619581d3fed73d6bc66a2c18805b80a3d54197feac5ad987a2c31d003bf4fef88a312d5315d2fa5c7d3e509066a65c1732be2ce280cf937bb4eff012e14 +DIST time-core-0.1.2.crate 7191 BLAKE2B c477ad3410ff29f3bf4a38fc6ac4a043d49b6d2bdf5cf309ffcd2eec3bb6e4c4b62156ee7f069f0b37ea31c163bc75ccbf35abc1db2833cdd4912135e60ddfc9 SHA512 3861724c23cb806829a01186deb5217ae8252c20af622975264e6670cff528f42155039e4937756a9eb312a5580ffab07949437d5504d684a0e70755046cac52 +DIST time-macros-0.2.17.crate 24443 BLAKE2B 5045af9352961db0c97cae2f6ca3e8d2c4f89a129c7ac2ec1d8d20804292aa9f2901a61f910a564954614b68f39311bd381deeb66fed8bdac423227d077f3d14 SHA512 c81747f0b74e68d3b3f36d378ac5911dece8c6b511e5ac793807f854cc31c812b927d0df941f55ff90d3d67512d0ac6a5f63f2de4322c81b05da42f46b4a661c +DIST time-macros-0.2.9.crate 23684 BLAKE2B 5484a3c5bca52fcff3fcd4e6f060ee24ce293fbdad1abd5819d0426eca29b95de866fe1273e0ed3431d1b94b12c37f23748d4cacb0112a67e9be0f49132d03ba SHA512 2fe094e61ca0ab708d60693367812f1b87fb9b6770dbfa3dad8a2aad7d2a000c24ae3b8960104d6c5b72b4a055c7715fa5d4d601eb7b7ea1764bb730aec86033 +DIST toml-0.8.10.crate 50667 BLAKE2B 815c850d4e2b8f107729c24ff82a6be81160649fff726f07a2c6e2af0283298fd5eadcc5811ba4ef20ce12914ecb43da79fa1840fea8d1572ca59f02f9e2c310 SHA512 24f3b44244d7e91ae50eaf20bde40c177352592aadd2dac697a831a5de9305ac1c93c8dc407579b9bbd8d9984fe34cfdc42c3243cd0057ad83db14bd899bb546 +DIST toml_datetime-0.6.5.crate 10910 BLAKE2B 93a21ab2784e96ee2e6b56c7b4f733f6ac4c68c1e7d7dac3fbd8aceedb3580e25b4a9c7d9c3f9b5ed152560353b3e80906e37824956dc4ea90bc6f039768f6cb SHA512 502bdedbcbd2ac9fbaa5f4b51f2e409af185f3633f01f8845de5e3b007f2400215ddeb82ac588bc915ed5a5f9d7251ccf93fe2a57cd40fca2927f4c0966357e6 +DIST toml_edit-0.22.6.crate 103304 BLAKE2B 93f14ec5e0765673b4621216707605d7c2afef82d0ad9fe1e0c660be62fb65a59e91db3144c7bf04c71cf5848dc970447b3b31255125d3a2be94ababb3d82692 SHA512 9816338008f2727fd53d34164c0be16621b61e22ac4838752839af4bd09e4d361f319bbd188c5732c1af140358d73d645e05faf4d655eb295d6c331293b7f2d2 +DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac SHA512 bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920 +DIST unicode-ident-1.0.9.crate 41978 BLAKE2B 4e78cefb4e7d7f173f1826a5ab6c8ffde386fea67cf3227bd22e6a6e65d3348dc53c9438e6bde9af06fb5e04b0beac866209d2426e7f04cd10b2435db85df7e3 SHA512 4d8cffe699c6f15ee82ab5f5a73421a6bb8b1a476237aefefa6e932c45c30683a4fb015f138bce99d7cb27a27fb7972909c828e77daef091da84ec162315625a +DIST utf8parse-0.2.1.crate 13435 BLAKE2B a1c111d7ffc60690f2aaa86f034c66ba1abe4e126f1774a4377d41eba3269369862f57515af387ea785d69a8adf46338b5e53761b5ee6f4f4380473f4d9cab0a SHA512 51fba8f1e7eb74b7020fd831e30a67fc8353ac2ee07335c8c3374a5570ac8117f165f6905d4b7f0360095b7b5ed3e739001d02a8cc3c89195baf2cd679136050 +DIST version_check-0.9.4.crate 14895 BLAKE2B fa1fa4008af165bfc1fdbe560488afd9d232cfafee94104fbcc4cbc52f234849bff9ddfa88109a1ac682f6d9c1d86b0459893d223f64e65adc08966aaf93dc89 SHA512 b172dc9a3759a4a683ffc39b9a40b03b9974b626a088217de87090466cef695226557c226cf3e469b2b25ee7297b7eb0d7719878cab42457f80146a81943c0c8 +DIST wait-timeout-0.2.0.crate 12441 BLAKE2B a99d3f57bc6e784ac06167f98b2dc2841f730dfab4fb9772b15e67707f756d6ba7daeb3e992d32291bed3daa85eaa8a8ddde64db5e1acf1cc4031fc9bdc82212 SHA512 db3b7aa2acfd44e64451042b8ba98eecab77a82aa5c58ed08dadb119ab36dee4e26d62baad7978ed56d5ad03019c96be5021455362290f56043981137bac8066 +DIST winapi-0.3.9.crate 1200382 BLAKE2B cb5799749ccd935ea2d7068d953cecf19f543d9db7dc16ad4584bb7005373ada34937a3ced7225544d8bc765da599911c7a3190efefb3a25b7c1bb7123b4f673 SHA512 ff8b7b78065f3d8999ec03c725a0460ebc059771bf071c7a3df3f0ecd733edf3b0a2450024d4e24e1aedddaecd9038ce1376c0d8bbf45132068cf45cf4a53a97 +DIST winapi-i686-pc-windows-gnu-0.4.0.crate 2918815 BLAKE2B 4d357e4d30f9552972170d65b9a5358b69c46a3e772fe05efc22f3d4ffc1caeeaad7aacdc7abd503a7ad0545f8bd7d22bf351dcb6df76f812fa4d45c34d65df0 SHA512 a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2 +DIST winapi-util-0.1.5.crate 10164 BLAKE2B fc800aceae5249a858c806c3e969ef2545766099872d856ebee51c883d9acf1122278db9607d50ca53eac351502b700fd2463900932d342240f97f683d517963 SHA512 7baeb661f397c4693dfa001fdc774b323c51a7c55caad40f2de5112a1cefd1d6151e3df41fa4ee193460a5905917c83d2b1de5fa10b4bd014ad96690af95c0fd +DIST winapi-x86_64-pc-windows-gnu-0.4.0.crate 2947998 BLAKE2B 2ad1ea8b5fa07d544e910ccba043ae925269b76b26c9da356305b34b86741dd8b9aff0b9ffe3d562db4fcd7d7c46a11ce9e3168b782b1d89ae6881742b7ede82 SHA512 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513 +DIST windows-sys-0.52.0.crate 2576877 BLAKE2B 69d6b560ccfc8f679e2678663ba606060d71fa28efa82c8aef8cceaa2c63b06f2052764d60163964f939649a26bbec6361ee4b094555e941fae92070db566980 SHA512 24ee0df246c2b456a4987a9124786a28acd358768cc7d1305bccd81bc5bb8822b81a03fb18d35174a520b911c6d9b685f81a34ab319fee13da3b985273584f03 +DIST windows-targets-0.52.4.crate 6310 BLAKE2B 0393bf3e7f8823edc455055e9977798bd6cdc1e523127cf840ee1b9e36febe40e01dcad9875a06aea283dd55443d02f643d42752103a5ec1de933285fe410b17 SHA512 4b2c26468df54b9801e6badd120dcffc15429fc78a614f45efa16d5fed1a36983198fbb621cc3beb4a4f9f0161ef8ddeca3a5c6a6ac48b5589681936f4d2bf50 +DIST windows_aarch64_gnullvm-0.52.4.crate 433373 BLAKE2B 5678cf2371e4c566b7ff0dd1fabcae92d12ce9f97670524c93fd8c34bf6b09d054e7de2f852302b8d994f52c81015b7cc8a74f529490c7bdd17a3b5d2c88a12e SHA512 dbb914a866873892a8cffecd4ed4977fe6c3fc48a58bb9f88655d86e7f8969cc27e6f5bb7d40eee41ae7d78f6f4be65d46650719321a7697c7b5b99a0f07a5dd +DIST windows_aarch64_msvc-0.52.4.crate 828055 BLAKE2B 3088f2f66fc91ad698906315eae7e6c0dd7da5414c28cfa25b24e138fc4a7da40535be09129cd37b8e331d8d6e8c41d0106fba1ef9e5b4ac561140653e9ded4d SHA512 dcc538d0a9c276e7ec415575ec1392bf476219348984d9567f56d5cc7af0f9beeac523a9a6651f763dd4f50f89535a3ea2275d5321ec022c2ee8814e4e84e95b +DIST windows_i686_gnu-0.52.4.crate 875736 BLAKE2B 31ee3017a6db246b0d5fc02e10cdb517a69ceac3dbbc9d41b4051f5dfa1196e4a46e7b3f5f90935560c03bb139b897e5dce69989a3698d9c88ebae923e24ef30 SHA512 9d57260744607eb63453040c532bf3693cf3d8d93c56543ee00aa66adf3a71919e72bdef7811f287167403ade893248f189b797a5d2dcb24ef4e6f3d915a88c6 +DIST windows_i686_msvc-0.52.4.crate 895530 BLAKE2B 87ec4628472beec8697317662fd599a8ea0ba5a11a0cad6b23f2481f39b3a4e0546d37fade4d715ad06a4798cf7faa6435bafa1e5054105c064cb560468b6025 SHA512 0d5526b21bfb96ab352b5181dcf84ff31007ce338245a374b3b413805239359a689b1a21de56ae998cc13444e40867bc30c4200454b84ef9ffa7117318baef1e +DIST windows_x86_64_gnu-0.52.4.crate 831627 BLAKE2B 64d29f6e0837be822d89cc8aaea2514382d2c03b33deb5684df1d6b81573b3817add39d99f66181a762fae7c155e60a8c070affe43a0f2e247fb0c5ddcc7afd9 SHA512 96c673fb330af597fc3c71b53b9b66cacc9f3f64f05dc7cfe4a77447b7545280f065df22b7d91a6b7cf681a442d8b71c9d2dd128e76580664d8598c481cbb95e +DIST windows_x86_64_gnullvm-0.52.4.crate 433358 BLAKE2B ffd55fba15ef713bd48caec5ed5f32936e05ac4897b721bd2b041229bc8c7beeca77ca018c3258dcdb09495629aa359d1dadaaf5112d38e7ea54670309d0ddf4 SHA512 f153d86b01e47f17ef08271b69becf7883bab92f96d40cdb1d74432f2bc6a7a65aa4ed931d8f6f4c2679e360bbd8d12037dc2a74a6a444fcaec5e4c784c54c74 +DIST windows_x86_64_msvc-0.52.4.crate 828019 BLAKE2B 08163b63d934114457cd64b1c372f8a0cfc1ebf48a2efb41d79031c58ea64e023acd32d2f5075b8b78536998188138562e584ece95f2021b4bc71087ac45f026 SHA512 0671fa3c0463c6d65b525ece8bc91eab2f75cb534de86ba2b1e854d4136fcb439717441881206dba7cfb602493bc24d2aefa96abf8977f5a0fe38d41eadc90f1 +DIST winnow-0.6.5.crate 159316 BLAKE2B d28c6a069e3d557335c09ae04f1d90a9086b1744d711e259da230c031a0302e270e304f8f9e8bc690c01cedcf07b46e05938ab3468b3e388ae8c51ac361b6408 SHA512 5395db16797beb158e9458099279abf53c5ea62c65584bbb9e0111213ab21c88cd0b0674062757e57ceb6c762a349f22db6ef60deef866fe15ebb0818287ab99 diff --git a/app-portage/emlop/emlop-0.6.1.ebuild b/app-portage/emlop/emlop-0.6.1.ebuild new file mode 100644 index 000000000000..c158e638ce1e --- /dev/null +++ b/app-portage/emlop/emlop-0.6.1.ebuild @@ -0,0 +1,111 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Auto-Generated by cargo-ebuild 0.5.4 + +EAPI=8 + +CRATES=" + aho-corasick-1.0.2 + anstyle-1.0.1 + anyhow-1.0.71 + assert_cmd-2.0.11 + atoi-2.0.0 + atty-0.2.14 + autocfg-1.1.0 + bitflags-1.3.2 + bstr-1.5.0 + cfg-if-1.0.0 + clap-3.2.25 + clap_complete-3.2.5 + clap_derive-3.2.25 + clap_lex-0.2.4 + crossbeam-channel-0.5.8 + crossbeam-utils-0.8.16 + difflib-0.4.0 + doc-comment-0.3.3 + either-1.8.1 + emlop-0.6.1 + env_logger-0.10.0 + hashbrown-0.12.3 + heck-0.4.1 + hermit-abi-0.1.19 + indexmap-1.9.3 + itertools-0.10.5 + itoa-1.0.6 + libc-0.2.146 + log-0.4.19 + memchr-2.5.0 + num-traits-0.2.15 + num_threads-0.1.6 + once_cell-1.18.0 + os_str_bytes-6.5.1 + predicates-3.0.3 + predicates-core-1.0.6 + predicates-tree-1.0.9 + proc-macro-error-1.0.4 + proc-macro-error-attr-1.0.4 + proc-macro2-1.0.60 + quote-1.0.28 + regex-1.8.4 + regex-automata-0.1.10 + regex-syntax-0.7.2 + rev_lines-0.3.0 + ryu-1.0.13 + serde-1.0.164 + serde_derive-1.0.164 + serde_json-1.0.97 + strsim-0.10.0 + syn-1.0.109 + syn-2.0.18 + termcolor-1.2.0 + termtree-0.4.1 + textwrap-0.16.0 + thiserror-1.0.40 + thiserror-impl-1.0.40 + time-0.3.22 + time-core-0.1.1 + time-macros-0.2.9 + unicode-ident-1.0.9 + version_check-0.9.4 + wait-timeout-0.2.0 + winapi-0.3.9 + winapi-i686-pc-windows-gnu-0.4.0 + winapi-util-0.1.5 + winapi-x86_64-pc-windows-gnu-0.4.0 +" + +inherit cargo shell-completion + +DESCRIPTION="A fast, accurate, ergonomic emerge.log parser" +HOMEPAGE="https://github.com/vincentdephily/emlop" +SRC_URI="$(cargo_crate_uris)" + +LICENSE="GPL-3" +# Dependent crate licenses +LICENSE+=" + MIT Unicode-DFS-2016 + || ( Apache-2.0 Boost-1.0 ) +" + +SLOT="0" +KEYWORDS="amd64" + +BDEPEND=">=virtual/rust-1.65.0" + +# rust does not use *FLAGS from make.conf, silence portage warning +QA_FLAGS_IGNORED="usr/bin/${PN}" + +src_install() { + cargo_src_install + dodoc README.md CHANGELOG.md + # bash + ./target/$(usex debug debug release)/emlop complete bash > emlop || die + dobashcomp emlop + # zsh + ./target/$(usex debug debug release)/emlop complete zsh > _emlop || die + dozshcomp _emlop + # fish + ./target/$(usex debug debug release)/emlop complete fish > emlop.fish || die + dofishcomp emlop.fish +} diff --git a/app-portage/emlop/emlop-0.7.0.ebuild b/app-portage/emlop/emlop-0.7.0.ebuild new file mode 100644 index 000000000000..f7a3cb045ab2 --- /dev/null +++ b/app-portage/emlop/emlop-0.7.0.ebuild @@ -0,0 +1,126 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Autogenerated by pycargoebuild 0.13.2 + +EAPI=8 + +CRATES=" + adler@1.0.2 + aho-corasick@1.1.2 + anstream@0.6.13 + anstyle-parse@0.2.3 + anstyle-query@1.0.2 + anstyle-wincon@3.0.2 + anstyle@1.0.6 + anyhow@1.0.80 + assert_cmd@2.0.13 + atoi@2.0.0 + autocfg@1.1.0 + bstr@1.9.1 + cfg-if@1.0.0 + clap@4.4.18 + clap_builder@4.4.18 + clap_complete@4.4.10 + clap_derive@4.4.7 + clap_lex@0.6.0 + colorchoice@1.0.0 + crc32fast@1.4.0 + crossbeam-channel@0.5.12 + crossbeam-utils@0.8.19 + deranged@0.3.11 + difflib@0.4.0 + doc-comment@0.3.3 + env_filter@0.1.0 + env_logger@0.11.2 + equivalent@1.0.1 + emlop@0.7.0 + flate2@1.0.28 + hashbrown@0.14.3 + heck@0.4.1 + indexmap@2.2.5 + itoa@1.0.10 + libc@0.2.153 + log@0.4.21 + memchr@2.7.1 + miniz_oxide@0.7.2 + num-conv@0.1.0 + num-traits@0.2.18 + num_threads@0.1.7 + powerfmt@0.2.0 + predicates-core@1.0.6 + predicates-tree@1.0.9 + predicates@3.1.0 + proc-macro2@1.0.78 + quote@1.0.35 + regex-automata@0.4.6 + regex-syntax@0.8.2 + regex@1.10.3 + rev_lines@0.3.0 + ryu@1.0.17 + serde@1.0.197 + serde_derive@1.0.197 + serde_json@1.0.114 + serde_spanned@0.6.5 + strsim@0.10.0 + syn@2.0.52 + termtree@0.4.1 + thiserror-impl@1.0.57 + thiserror@1.0.57 + time-core@0.1.2 + time-macros@0.2.17 + time@0.3.34 + toml@0.8.10 + toml_datetime@0.6.5 + toml_edit@0.22.6 + unicode-ident@1.0.12 + utf8parse@0.2.1 + wait-timeout@0.2.0 + windows-sys@0.52.0 + windows-targets@0.52.4 + windows_aarch64_gnullvm@0.52.4 + windows_aarch64_msvc@0.52.4 + windows_i686_gnu@0.52.4 + windows_i686_msvc@0.52.4 + windows_x86_64_gnu@0.52.4 + windows_x86_64_gnullvm@0.52.4 + windows_x86_64_msvc@0.52.4 + winnow@0.6.5 +" + +inherit cargo shell-completion + +DESCRIPTION="A fast, accurate, ergonomic emerge.log parser" +HOMEPAGE="https://github.com/vincentdephily/emlop" +SRC_URI=" + ${CARGO_CRATE_URIS} +" + +LICENSE="GPL-3" +# Dependent crate licenses +LICENSE+=" + MIT Unicode-DFS-2016 + || ( Apache-2.0 Boost-1.0 ) +" + +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=">=virtual/rust-1.71.0" + +# rust does not use *FLAGS from make.conf, silence portage warning +QA_FLAGS_IGNORED="usr/bin/${PN}" + +src_install() { + cargo_src_install + dodoc README.md CHANGELOG.md emlop.toml + # bash + ./target/$(usex debug debug release)/emlop complete bash > emlop || die + dobashcomp emlop + # zsh + ./target/$(usex debug debug release)/emlop complete zsh > _emlop || die + dozshcomp _emlop + # fish + ./target/$(usex debug debug release)/emlop complete fish > emlop.fish || die + dofishcomp emlop.fish +} diff --git a/app-portage/emlop/metadata.xml b/app-portage/emlop/metadata.xml new file mode 100644 index 000000000000..1b0566d146a1 --- /dev/null +++ b/app-portage/emlop/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>moltonel@gmail.com</email> + <description>Upstream author</description> +</maintainer> +<maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> +</maintainer> +<upstream> + <remote-id type="github">vincentdephily/emlop</remote-id> +</upstream> +</pkgmetadata> diff --git a/app-portage/epkg/epkg-0.4-r1.ebuild b/app-portage/epkg/epkg-0.4-r2.ebuild index 9d9ca1ddef1c..5be72cf13641 100644 --- a/app-portage/epkg/epkg-0.4-r1.ebuild +++ b/app-portage/epkg/epkg-0.4-r2.ebuild @@ -1,22 +1,21 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 DESCRIPTION="A simple portage wrapper which works like other package managers" HOMEPAGE="https://github.com/jdhore/epkg" -SRC_URI="https://github.com/jdhore/${PN}/archive/${P}.tar.gz" +SRC_URI="https://github.com/jdhore/${PN}/archive/refs/tags/${P}.tar.gz" LICENSE="BSD-2" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" -S="${WORKDIR}/${PN}-${P}" -DEPEND="" RDEPEND="app-portage/eix - app-portage/gentoolkit - sys-apps/portage" + app-portage/gentoolkit + sys-apps/portage" + +S="${WORKDIR}"/${PN}-${P} src_install() { dobin epkg diff --git a/app-portage/epkg/metadata.xml b/app-portage/epkg/metadata.xml index 3b5de10d3114..c1eeb99237f3 100644 --- a/app-portage/epkg/metadata.xml +++ b/app-portage/epkg/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <!--maintainer-needed--> <upstream> diff --git a/app-portage/esearch/Manifest b/app-portage/esearch/Manifest index 7025615d98e2..9771bbf499ca 100644 --- a/app-portage/esearch/Manifest +++ b/app-portage/esearch/Manifest @@ -1 +1 @@ -DIST esearch-1.3.tar.gz 19383 BLAKE2B 308cb075eff0a592135e883913bab3709b64a785602250ae06bfcb50eca6f8dacfb047bb4326b4b9476553bc8bd993b69295373cced7a18786a7834378e860e9 SHA512 7fbc1c362a320a76a40c45ddf83a29223eaafd3cfed1d8a9410a380e2025fb515eea26e38ebf0f304d14230c6c5cfc83ef2116b774b1d50ee4f7f4bb0ac046c4 +DIST esearch-1.3.gh.tar.gz 19441 BLAKE2B 76c121403b3b35c0657d4cc342310f078ef36516915760e6c174776787ed75589559a295898e8a30603f89e15cfac6a796c030d664531a96081f1f2f95f90999 SHA512 55464bdeaefc6c946c22bac93909333691d1e851840695b50e692734005984d8a1111c7107138a7abdc42503471b1f76378b400412bb9184f1ea3c8eeb44ca06 diff --git a/app-portage/esearch/esearch-1.3-r3.ebuild b/app-portage/esearch/esearch-1.3-r3.ebuild index 9ada78838ce7..70712ebcfc36 100644 --- a/app-portage/esearch/esearch-1.3-r3.ebuild +++ b/app-portage/esearch/esearch-1.3-r3.ebuild @@ -1,24 +1,26 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=(python3_{7..9}) +PYTHON_COMPAT=( python3_{10..12} ) PYTHON_REQ_USE="readline(+)" -DISTUTILS_USE_SETUPTOOLS=no +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 DESCRIPTION="Replacement for 'emerge --search' with search-index" HOMEPAGE="https://github.com/fuzzyray/esearch" -SRC_URI="https://github.com/downloads/fuzzyray/${PN}/${P}.tar.gz" +SRC_URI="https://github.com/fuzzyray/esearch/archive/refs/tags/${P}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}"/${PN}-${P} LICENSE="GPL-2" SLOT="0" IUSE="l10n_fr l10n_it" -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 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +BDEPEND="${DISTUTILS_DEPS}" DEPEND="sys-apps/portage" RDEPEND="${DEPEND}" diff --git a/app-portage/esearch/esearch-9999.ebuild b/app-portage/esearch/esearch-9999.ebuild index 83b0591b76b4..db0abe567e95 100644 --- a/app-portage/esearch/esearch-9999.ebuild +++ b/app-portage/esearch/esearch-9999.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=(python3_{7..9}) +PYTHON_COMPAT=( python3_{10..12} ) PYTHON_REQ_USE="readline(+)" -DISTUTILS_USE_SETUPTOOLS=no +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 git-r3 @@ -19,6 +19,7 @@ IUSE="l10n_fr l10n_it" KEYWORDS="" +BDEPEND="${DISTUTILS_DEPS}" DEPEND="sys-apps/portage" RDEPEND="${DEPEND}" diff --git a/app-portage/esearch/metadata.xml b/app-portage/esearch/metadata.xml index 540aa0188fe8..fc6486547397 100644 --- a/app-portage/esearch/metadata.xml +++ b/app-portage/esearch/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> <email>tools-portage@gentoo.org</email> diff --git a/app-portage/euses/euses-2.6.0.ebuild b/app-portage/euses/euses-2.6.0.ebuild index 7f9fe47dbad6..5d752fcaaf03 100644 --- a/app-portage/euses/euses-2.6.0.ebuild +++ b/app-portage/euses/euses-2.6.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -9,7 +9,7 @@ SRC_URI="https://www.xs4all.nl/~rooversj/gentoo/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ppc ppc64 sparc x86" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ppc ppc64 ~riscv sparc x86" S=${WORKDIR} diff --git a/app-portage/euses/metadata.xml b/app-portage/euses/metadata.xml index c6a119862d54..b7861b0acaa6 100644 --- a/app-portage/euses/metadata.xml +++ b/app-portage/euses/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> <email>tools-portage@gentoo.org</email> diff --git a/app-portage/fetchcommandwrapper/fetchcommandwrapper-0.8.4-r1.ebuild b/app-portage/fetchcommandwrapper/fetchcommandwrapper-0.8.4-r4.ebuild index ceb96bf797c8..788a228fffb1 100644 --- a/app-portage/fetchcommandwrapper/fetchcommandwrapper-0.8.4-r1.ebuild +++ b/app-portage/fetchcommandwrapper/fetchcommandwrapper-0.8.4-r4.ebuild @@ -1,22 +1,20 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" -PYTHON_COMPAT=( python3_{7..9} ) -DISTUTILS_USE_SETUPTOOLS=rdepend +EAPI="8" -inherit distutils-r1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..12} ) + +inherit distutils-r1 pypi DESCRIPTION="Wrapper integrating aria2 into portage's FETCHCOMMAND" HOMEPAGE="https://github.com/hartwork/fetchcommandwrapper" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" +KEYWORDS="~amd64 ~ppc64 ~x86" -DEPEND="" RDEPEND=">=net-misc/aria2-1.10.2[metalink,xmlrpc]" pkg_postinst() { diff --git a/app-portage/fetchcommandwrapper/metadata.xml b/app-portage/fetchcommandwrapper/metadata.xml index b37944b1a238..6452baf428d0 100644 --- a/app-portage/fetchcommandwrapper/metadata.xml +++ b/app-portage/fetchcommandwrapper/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> <email>sping@gentoo.org</email> @@ -7,5 +7,6 @@ </maintainer> <upstream> <remote-id type="github">gentoo/fetchcommandwrapper</remote-id> + <remote-id type="pypi">fetchcommandwrapper</remote-id> </upstream> </pkgmetadata> diff --git a/app-portage/flaggie/Manifest b/app-portage/flaggie/Manifest index 1d01791c764a..5fef7c992c09 100644 --- a/app-portage/flaggie/Manifest +++ b/app-portage/flaggie/Manifest @@ -1 +1 @@ -DIST flaggie-0.2.1.tar.bz2 16767 BLAKE2B fea0fbc505bfa97e7bee2c05f0cc19077b9b23a021b01aafa2c4b064466677f9dd4ae95c36f6de65b4ad07c5046d539ceb0cb667dcb791b60410d7a5e688813f SHA512 3f273ebeceaaedce7a3807126fb3f450e420338a883440066d06a4d6a95b63bd538bb5da882fea23e0d390b28a83f50375dbda2624f656327775b2b700f2b2e4 +DIST flaggie-0.99.8.tar.gz 17865 BLAKE2B af52f5c030ff81ebd1efac6c02a736c87d0ce8f953722f0f364adf7ace74a26245fb43fb5ba96000fb2da391ff90c6c682522fc5a7725fca0289c1063e4704ac SHA512 77265b2958210a9643776dfaad65d00cd511b2b8d1cedd397c6712559af9c7d671cf286eabd0c866b10408429829615cd2f2b7c3013a99d470be8f2f7e8cccfb diff --git a/app-portage/flaggie/flaggie-0.2.1-r1.ebuild b/app-portage/flaggie/flaggie-0.2.1-r1.ebuild deleted file mode 100644 index fc24c8393df4..000000000000 --- a/app-portage/flaggie/flaggie-0.2.1-r1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{7..9} ) - -inherit bash-completion-r1 distutils-r1 - -DESCRIPTION="A smart CLI mangler for package.* files" -HOMEPAGE="https://github.com/mgorny/flaggie/" -SRC_URI="https://github.com/mgorny/flaggie/releases/download/${P}/${P}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" -IUSE="" - -RDEPEND="sys-apps/portage[${PYTHON_USEDEP}]" - -python_install_all() { - newbashcomp contrib/bash-completion/${PN}.bash-completion ${PN} - distutils-r1_python_install_all -} - -pkg_postinst() { - ewarn "Please note that flaggie creates backups of your package.* files" - ewarn "before performing each change through appending a single '~'." - ewarn "If you'd like to keep your own backup of them, please use another" - ewarn "naming scheme (or even better some VCS)." - if ! has_version app-shells/gentoo-bashcomp; then - elog - elog "If you want to use bash-completion, you need to install:" - elog " app-shells/gentoo-bashcomp" - fi -} diff --git a/app-portage/flaggie/flaggie-0.99.8.ebuild b/app-portage/flaggie/flaggie-0.99.8.ebuild new file mode 100644 index 000000000000..6b637e334d74 --- /dev/null +++ b/app-portage/flaggie/flaggie-0.99.8.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A smart CLI mangler for package.* files" +HOMEPAGE=" + https://github.com/projg2/flaggie/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~hppa ~mips ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=app-portage/gentoopm-0.5.0[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-vcs/git +" + +distutils_enable_tests pytest + +pkg_postinst() { + ewarn "This is a preview release of flaggie 1.x. It it not fully featured" + ewarn "yet and it may have significant bugs. Please back your /etc/portage" + ewarn "up before using it. Verify the results using --pretend." +} diff --git a/app-portage/flaggie/flaggie-9999.ebuild b/app-portage/flaggie/flaggie-9999.ebuild deleted file mode 100644 index 054c1c210325..000000000000 --- a/app-portage/flaggie/flaggie-9999.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 - -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{7..9} ) - -EGIT_REPO_URI="https://github.com/mgorny/flaggie.git" -inherit bash-completion-r1 distutils-r1 git-r3 - -DESCRIPTION="A smart CLI mangler for package.* files" -HOMEPAGE="https://github.com/mgorny/flaggie/" -SRC_URI="" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="" -IUSE="" - -RDEPEND="sys-apps/portage[${PYTHON_USEDEP}]" - -python_install_all() { - newbashcomp contrib/bash-completion/${PN}.bash-completion ${PN} - distutils-r1_python_install_all -} - -pkg_postinst() { - ewarn "Please note that flaggie creates backups of your package.* files" - ewarn "before performing each change through appending a single '~'." - ewarn "If you'd like to keep your own backup of them, please use another" - ewarn "naming scheme (or even better some VCS)." - if ! has_version app-shells/gentoo-bashcomp; then - elog - elog "If you want to use bash-completion, you need to install:" - elog " app-shells/gentoo-bashcomp" - fi -} diff --git a/app-portage/flaggie/metadata.xml b/app-portage/flaggie/metadata.xml index f4ff1e6030fa..d210fbb38849 100644 --- a/app-portage/flaggie/metadata.xml +++ b/app-portage/flaggie/metadata.xml @@ -1,16 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!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/> <upstream> - <maintainer status="active"> - <email>mgorny@gentoo.org</email> - <name>Michał Górny</name> - </maintainer> - <bugs-to>https://github.com/mgorny/flaggie/issues/</bugs-to> - <remote-id type="github">mgorny/flaggie</remote-id> + <bugs-to>https://github.com/projg2/flaggie/issues/</bugs-to> + <remote-id type="github">projg2/flaggie</remote-id> + <remote-id type="pypi">flaggie</remote-id> </upstream> </pkgmetadata> diff --git a/app-portage/fquery/Manifest b/app-portage/fquery/Manifest deleted file mode 100644 index 2c6835950f2a..000000000000 --- a/app-portage/fquery/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST fquery-0.2.3.tar.gz 14511 BLAKE2B ccc0162095cf270320c1e7a27ef6f19902ddc591ea04742b9645bbb80e67132d85c3f182d1f7fd536a819e96b64abc734b42728faf46a0f2ab01943f660705ee SHA512 0dc345b189bd18f5f1084ab2aea07390b547b6c663d03fa9cec968e5cef598fe58b6a294845ca12b020c78ff2a01ce7e5da0bb06a513c53b8b5aa357b071fb88 diff --git a/app-portage/fquery/fquery-0.2.3-r1.ebuild b/app-portage/fquery/fquery-0.2.3-r1.ebuild deleted file mode 100644 index a4f67bfe7708..000000000000 --- a/app-portage/fquery/fquery-0.2.3-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -# ebuild generated by hackport 0.4.6.9999 - -CABAL_FEATURES="" -inherit haskell-cabal - -DESCRIPTION="Installed package query tool for Gentoo Linux" -HOMEPAGE="https://hackage.haskell.org/package/fquery" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="dev-haskell/hashtables:= - dev-haskell/parsec:= - dev-haskell/regex-compat:= - >=dev-lang/ghc-7.4.1:= -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-1.6 -" - -src_prepare() { - default - - # Workaround for Cabal 2.2.0.1 running configure with - # ${S}/dist/build set as the current directory. This changes - # the script to prepend ${S}/ to the the paths. The script - # then uses the ${S} environment variable. - sed -e 's@\(Adelie/\)@${S}/\1@g' \ - -i configure || die -} diff --git a/app-portage/fquery/metadata.xml b/app-portage/fquery/metadata.xml deleted file mode 100644 index 030b282d175d..000000000000 --- a/app-portage/fquery/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>haskell@gentoo.org</email> - </maintainer> -</pkgmetadata> diff --git a/app-portage/g-cpan/Manifest b/app-portage/g-cpan/Manifest index 137f2cdf37e2..8638c86cec2f 100644 --- a/app-portage/g-cpan/Manifest +++ b/app-portage/g-cpan/Manifest @@ -1,2 +1 @@ -DIST g-cpan-0.16.9.tar.gz 34463 BLAKE2B 7eff6b7da75219712504ac7b9ea1833e9eaa9ba4a49f609baec6407beb16f4764baf2c35e15c779c93ca8c09bba9058e6acb6fda7f3fd2df06296724f2c3c3fc SHA512 f26d81974fedb024808fe3671ae297fd36abc37a5b04783f36f6c9e8c6000a411c675e999e91da48801a7c84fde15a59587df02fa9d7b3833ccc0916993b1783 -DIST g-cpan-0.17.0.tar.gz 38786 BLAKE2B 3f4a165920c7c075919f0eeca9554fe32bd3f72cd8010fced4d7e45aa44e80de7800fb78587d1429ac88643dd812d58725b66fbbdce305bd762db8d4ca2f0720 SHA512 80475560a00fddce31f8a92dd460bd22e0de57445a56628ad76f35ab3fc4d2f801ebd2a2a9542ed675245a994e53bb7ae842f714c35ab1f6bdbc40dd49ce2d86 +DIST g-cpan-0.18.0.tar.gz 39099 BLAKE2B fd04d36706a63b66bf74d247d088397f77e42f8f33d6fcf068ea42601bfb89cca751ea35a6a10977077eeac2f3fd9b21d6f1d9990b87fe8cf60951a639730589 SHA512 bebb6187c80fb5228a6dcaa4dd51d7d9c9bb755e86d637ab1d740e4cbdc09c5b01f3d0b608f3c6b2b27a06e4e433ec77dfe49c6738cdef75f45c1e8231ebd9e9 diff --git a/app-portage/g-cpan/g-cpan-0.16.9-r1.ebuild b/app-portage/g-cpan/g-cpan-0.16.9-r1.ebuild deleted file mode 100644 index 5aa5f50272f0..000000000000 --- a/app-portage/g-cpan/g-cpan-0.16.9-r1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit perl-module - -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="https://github.com/gentoo-perl/g-cpan.git" - inherit git-r3 - SRC_URI="" -else - SRC_URI="https://github.com/gentoo-perl/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86" -fi - -DESCRIPTION="Autogenerate and install ebuilds for CPAN modules" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Perl/g-cpan" - -LICENSE="|| ( Artistic GPL-2 )" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" - -COMMONDEPEND=" - virtual/perl-File-Path - virtual/perl-File-Spec - dev-perl/Log-Agent - virtual/perl-Memoize - virtual/perl-IO - dev-perl/Shell-EnvImporter - virtual/perl-Term-ANSIColor - >=dev-perl/YAML-0.60 -" -RDEPEND="${COMMONDEPEND} - >=sys-apps/portage-2.0.0 -" -DEPEND="${COMMONDEPEND} - virtual/perl-ExtUtils-MakeMaker - test? ( >=virtual/perl-Test-Simple-0.940.0 ) -" - -src_install() { - perl-module_src_install - if ! use prefix; then - diropts -m0775 -o portage -g portage - else - diropts -m0775 - fi - dodir "/var/tmp/g-cpan" - dodir "/var/log/g-cpan" - keepdir "/var/log/g-cpan" -} - -pkg_postinst() { - elog "If you want to use g-cpan as non root user you may wish to adjust" - elog "the permissions on /var/tmp/g-cpan or add users to the portage group." - elog "Please note that some CPAN packages need additional manual" - elog "parameters or tweaking, due to bugs in their build systems." -} diff --git a/app-portage/g-cpan/g-cpan-0.17.0.ebuild b/app-portage/g-cpan/g-cpan-0.18.0-r1.ebuild index fca42099a130..9d71bc053ad6 100644 --- a/app-portage/g-cpan/g-cpan-0.17.0.ebuild +++ b/app-portage/g-cpan/g-cpan-0.18.0-r1.ebuild @@ -1,17 +1,16 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit perl-module -if [[ ${PV} == "9999" ]] ; then +if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://github.com/gentoo-perl/g-cpan.git" inherit git-r3 - SRC_URI="" else - SRC_URI="https://github.com/gentoo-perl/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + SRC_URI="https://github.com/gentoo-perl/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86" fi DESCRIPTION="Autogenerate and install ebuilds for CPAN modules" @@ -22,7 +21,7 @@ SLOT="0" IUSE="test" RESTRICT="!test? ( test )" -COMMONDEPEND=" +COMMON_DEPEND=" dev-perl/Config-Tiny virtual/perl-File-Path virtual/perl-File-Spec @@ -34,27 +33,43 @@ COMMONDEPEND=" virtual/perl-Term-ANSIColor >=dev-perl/YAML-0.60 " -RDEPEND="${COMMONDEPEND} +RDEPEND=" + ${COMMON_DEPEND} >=sys-apps/portage-2.0.0 " -DEPEND="${COMMONDEPEND} +BDEPEND=" + ${COMMON_DEPEND} virtual/perl-ExtUtils-MakeMaker test? ( >=virtual/perl-Test-Simple-0.940.0 ) " src_install() { perl-module_src_install + if ! use prefix; then diropts -m0775 -o portage -g portage else diropts -m0775 fi - dodir "/var/tmp/g-cpan" - dodir "/var/log/g-cpan" - keepdir "/var/log/g-cpan" + + dodir /var/tmp/g-cpan + dodir /var/log/g-cpan + keepdir /var/log/g-cpan +} + +pkg_preinst() { + has_version "<app-portage/g-cpan-0.18.0-r1" && HAD_EAPI5_GCPAN=1 } pkg_postinst() { + if [[ ${HAD_EAPI5_GCPAN:-0} -eq 1 ]] ; then + ewarn "Please re-create your overlay with generated g-cpan ebuilds!" + ewarn "The old ebuilds will use EAPI 5 and be incompatible with newer" + ewarn "Perl eclass changes. This newer version of g-cpan (0.18.0+)" + ewarn "generates EAPI 8 ebuilds without this problem, but it cannot" + ewarn "change existing ebuilds. See bug #819513." + fi + elog "If you want to use g-cpan as non root user you may wish to adjust" elog "the permissions on /var/tmp/g-cpan or add users to the portage group." elog "Please note that some CPAN packages need additional manual" diff --git a/app-portage/g-cpan/g-cpan-9999.ebuild b/app-portage/g-cpan/g-cpan-9999.ebuild index fca42099a130..d37683277b73 100644 --- a/app-portage/g-cpan/g-cpan-9999.ebuild +++ b/app-portage/g-cpan/g-cpan-9999.ebuild @@ -1,16 +1,15 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit perl-module -if [[ ${PV} == "9999" ]] ; then +if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://github.com/gentoo-perl/g-cpan.git" inherit git-r3 - SRC_URI="" else - SRC_URI="https://github.com/gentoo-perl/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/gentoo-perl/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" fi @@ -22,7 +21,7 @@ SLOT="0" IUSE="test" RESTRICT="!test? ( test )" -COMMONDEPEND=" +COMMON_DEPEND=" dev-perl/Config-Tiny virtual/perl-File-Path virtual/perl-File-Spec @@ -34,27 +33,43 @@ COMMONDEPEND=" virtual/perl-Term-ANSIColor >=dev-perl/YAML-0.60 " -RDEPEND="${COMMONDEPEND} +RDEPEND=" + ${COMMON_DEPEND} >=sys-apps/portage-2.0.0 " -DEPEND="${COMMONDEPEND} +BDEPEND=" + ${COMMON_DEPEND} virtual/perl-ExtUtils-MakeMaker test? ( >=virtual/perl-Test-Simple-0.940.0 ) " src_install() { perl-module_src_install + if ! use prefix; then diropts -m0775 -o portage -g portage else diropts -m0775 fi - dodir "/var/tmp/g-cpan" - dodir "/var/log/g-cpan" - keepdir "/var/log/g-cpan" + + dodir /var/tmp/g-cpan + dodir /var/log/g-cpan + keepdir /var/log/g-cpan +} + +pkg_preinst() { + has_version "<app-portage/g-cpan-0.18.0-r1" && HAD_EAPI5_GCPAN=1 } pkg_postinst() { + if [[ ${HAD_EAPI5_GCPAN:-0} -eq 1 ]] ; then + ewarn "Please re-create your overlay with generated g-cpan ebuilds!" + ewarn "The old ebuilds will use EAPI 5 and be incompatible with newer" + ewarn "Perl eclass changes. This newer version of g-cpan (0.18.0+)" + ewarn "generates EAPI 8 ebuilds without this problem, but it cannot" + ewarn "change existing ebuilds. See bug #819513." + fi + elog "If you want to use g-cpan as non root user you may wish to adjust" elog "the permissions on /var/tmp/g-cpan or add users to the portage group." elog "Please note that some CPAN packages need additional manual" diff --git a/app-portage/g-cpan/metadata.xml b/app-portage/g-cpan/metadata.xml index fa5a8f4c1891..29b22f4b4ff9 100644 --- a/app-portage/g-cpan/metadata.xml +++ b/app-portage/g-cpan/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> <email>robbat2@gentoo.org</email> diff --git a/app-portage/g-octave/Manifest b/app-portage/g-octave/Manifest index f50b4166cf1e..cb89de9707f3 100644 --- a/app-portage/g-octave/Manifest +++ b/app-portage/g-octave/Manifest @@ -1,3 +1,3 @@ -DIST g-octave-0.4.1.tar.gz 52285 BLAKE2B d1e39931471c527c5542683c976487c56bca2a4666a437e110fa41b504287c0dd87aad94bf98298544c374c6d3faa0722fb3fab43228c56425be19b450ae0dd4 SHA512 424b95e626981aa5685795ffb3df1a1d608e5293adba074cc67f7dcf08d4a0c94a0174005f97a8da1ba1ae4233299e6a530af96ba3b9fd0d8b224915e947efb3 -DIST g-octave-db-bdf02cb.tar.gz 39836 BLAKE2B fadc374e69bbf785f9e9ecae02eeba6f1c048d11503e5d97db2b4cc65c820ec829615be72ce823ef44ecb0e59e1b68dd40f7310d19d0b7706a2ff47ab95c0851 SHA512 5eae00e18b6d4633ed0feda3a2eea6b36da049c133bcd49e54481443ff435bfcab0f303ab9f0e8c3f48fad707625ee13b4564c510d89fa196e737c7599ea5fa6 +DIST g-octave-0.4.1.gh.tar.gz 47496 BLAKE2B 1144b04b99ce4bdf925947cf090b1e723df2af4fc7297bdc31f21986f34e53bbd46fb5f15e2b95e412c6575727920f405e267bf9963c62e07c5fccf46372497f SHA512 08dcc66a2c3f7cd98580b79013239a6e3ae3ebb1cf5b2208294c84a1242a16bd1d2ed1f96899e4c6d1d56e04b43ea64d22289a507fd4c7b73977a3c12de42789 +DIST g-octave-db-b48055c.tar.gz 48280 BLAKE2B 21d507ec3a4484363457105667e54646b19b7a43b2ae303527faf19748495d31d7b23caab839f0e45c03806e1c7c390312c778f3f9dc2a9e2be1282b9b889514 SHA512 095a3327c1b00686a66c69592842a0258509d7a12e3e91bf4ba59c40c7f326c4f4e3355fe06fb3d8f14e3581c8e7e7c9b7c69b6c3b498943dfad8e68a028eb43 DIST g-octave-patches-0.4.1-r7.tar.xz 8800 BLAKE2B 514b154d7cbb816f15d88a2efe0d0b8503a5a09dedfcc79ab61fdb2fca8be193752ffb477ad7ea7be167e341a91e8d83c5b70fa20ed9d55da6f668acc8743e6c SHA512 cb03afd16bb7f2f0ddf2c4f11bdde2748b8ee0124642cfed4697e19adda30b141b3217afa55e996acf3e295d06af0636ba235a631039e65ca7920eef3243e267 diff --git a/app-portage/g-octave/g-octave-0.4.1-r7.ebuild b/app-portage/g-octave/g-octave-0.4.1-r8.ebuild index d787f7309a5d..a122a10487c9 100644 --- a/app-portage/g-octave/g-octave-0.4.1-r7.ebuild +++ b/app-portage/g-octave/g-octave-0.4.1-r8.ebuild @@ -1,48 +1,56 @@ -# 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 -PYTHON_COMPAT=( python3_{7..9} ) -DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 -DB_COMMIT="bdf02cbf0a8d017c6c1bddeffd6f03d5d90695ed" +DB_COMMIT="b48055c9b54ef4fb941a07eb3b763c868ef4e0ca" DB_DIR="rafaelmartins-${PN}-db-${DB_COMMIT:0:7}" DESCRIPTION="A tool that generates and installs ebuilds for Octave-Forge" HOMEPAGE="https://github.com/rafaelmartins/g-octave" -SRC_URI="https://github.com/downloads/rafaelmartins/${PN}/${P}.tar.gz +SRC_URI=" + https://github.com/rafaelmartins/g-octave/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz https://github.com/rafaelmartins/${PN}-db/archive/${DB_COMMIT}.tar.gz -> ${PN}-db-${DB_COMMIT:0:7}.tar.gz - https://dev.gentoo.org/~rafaelmartins/distfiles/${PN}-patches-${PVR}.tar.xz" + https://dev.gentoo.org/~rafaelmartins/distfiles/${PN}-patches-${PV}-r7.tar.xz +" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="doc" -BDEPEND="doc? ( >=dev-python/sphinx-1.0 )" RDEPEND="sys-apps/portage" +# Only needed for man page generation but easier to just require it for all impls +BDEPEND="dev-python/docutils[${PYTHON_USEDEP}]" + +PATCHES=( + "${WORKDIR}/${PN}-patches-${PV}-r7" +) + +distutils_enable_sphinx docs + +pkg_config() { + local db="$(g-octave --config db)" + mkdir -p "${db}" || die 'mkdir failed.' + einfo "Extracting g-octave database files to: ${db}" + tar -xzf "${EROOT}/usr/share/g-octave/${PN}-db-${DB_COMMIT:0:7}.tar.gz" -C "${db}" || die 'tar failed.' + rm -r "${db}"/{patches,octave-forge,info.json,manifest.json,timestamp} || die 'rm db files failed.' + mv "${db}/${DB_DIR}"/* "${db}" || die 'mv failed.' + rm -r "${db}/${DB_DIR}" || die 'rm db dir failed.' +} python_prepare_all() { - eapply "${WORKDIR}"/${PN}-patches-${PVR} sed -i -e 's/^has_fetch.*$/has_fetch = False/' scripts/g-octave \ || die 'failed to patch the g-octave main script' distutils-r1_python_prepare_all } -python_compile_all() { - use doc && emake -C docs html -} - python_install_all() { - local HTML_DOCS=( ${PN}.html ) doman ${PN}.1 - if use doc; then - mv docs/_build/{html,sphinx} || die 'mv failed.' - HTML_DOCS+=( docs/_build/sphinx ) - fi insinto /usr/share/g-octave doins "${DISTDIR}"/${PN}-db-${DB_COMMIT:0:7}.tar.gz distutils-r1_python_install_all @@ -64,13 +72,3 @@ pkg_postinst() { elog 'Please install the package manager that you want to use before run g-octave' elog } - -pkg_config() { - local db="$(g-octave --config db)" - mkdir -p "${db}" || die 'mkdir failed.' - einfo "Extracting g-octave database files to: ${db}" - tar -xzf "${EROOT}/usr/share/g-octave/${PN}-db-${DB_COMMIT:0:7}.tar.gz" -C "${db}" || die 'tar failed.' - rm -rf "${db}"/{patches,octave-forge,info.json,manifest.json,timestamp} || die 'rm db files failed.' - mv -f "${db}/${DB_DIR}"/* "${db}" || die 'mv failed.' - rm -rf "${db}/${DB_DIR}" || die 'rm db dir failed.' -} diff --git a/app-portage/g-octave/metadata.xml b/app-portage/g-octave/metadata.xml index b4cf5cf18289..c062123f49ad 100644 --- a/app-portage/g-octave/metadata.xml +++ b/app-portage/g-octave/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> <email>sci-mathematics@gentoo.org</email> @@ -15,6 +15,7 @@ tries to be very similar to the interface of the emerge tool. </longdescription> <upstream> + <remote-id type="gentoo">proj/g-octave</remote-id> <remote-id type="github">rafaelmartins/g-octave</remote-id> </upstream> </pkgmetadata> diff --git a/app-portage/g-sorcery/Manifest b/app-portage/g-sorcery/Manifest deleted file mode 100644 index 562db957c0f3..000000000000 --- a/app-portage/g-sorcery/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST g-sorcery-0.2.1.tar.gz 55546 BLAKE2B 56fb8a766c17c220a8279d2288f5de5c6976dc8fb380ac695bcf891616aa8a284f6b07c9be79c3c819c69faf7fcf9a7a826ee8b8b955db007c00e23d6417f2f8 SHA512 42c34ed8addaf721583029d5056751810b0a77546f798081c7c605223342fa2a99bd2e30f20f004a8606ccf847108f0e2ef2c479f3cbb55f2fe6648d4ffc075e -DIST g-sorcery-0.2.2.tar.gz 55707 BLAKE2B 59466e116caff697618154f3c9d8a2c11809ac0c1d367a35a7773fdcad381e283c2426310ccd4f843e10e6fc5143061f2ee575bdd190a1a51d7691be0d452d73 SHA512 a63b6a49225fbf5105666a6d8094f04534674c4773eb8008e2cb8e2eb75291011d53ff3f1bf6dd456496469d537a97151feca73b9b26553cf1fda9d3128534cb diff --git a/app-portage/g-sorcery/files/g-sorcery-0.2.1-py3.7.tests-fix.patch b/app-portage/g-sorcery/files/g-sorcery-0.2.1-py3.7.tests-fix.patch deleted file mode 100644 index 84a702413ac8..000000000000 --- a/app-portage/g-sorcery/files/g-sorcery-0.2.1-py3.7.tests-fix.patch +++ /dev/null @@ -1,140 +0,0 @@ -diff --git a/README.md b/README.md -index 9bdd5b7..c2eb5ad 100644 ---- a/README.md -+++ b/README.md -@@ -26,3 +26,5 @@ This project is aimed to create a framework for ebuild-generators for - 3rd party software providers. - - If you want to develop a new backend see [developer's instructions](https://github.com/jauhien/g-sorcery/blob/master/docs/developer_instructions.rst). -+ -+[TODO list](https://trello.com/b/8WdY2ZIs/framework-for-automated-ebuild-generators). -diff --git a/scripts/all_pythons.sh b/scripts/all_pythons.sh -index af4c1f1..3c85974 100755 ---- a/scripts/all_pythons.sh -+++ b/scripts/all_pythons.sh -@@ -2,7 +2,7 @@ - - DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" - --for VER in 2.7 3.3 3.4 -+for VER in 2.7 3.6 3.7 3.8 - do - echo - echo "testing python${VER}" -diff --git a/tests/server.py b/tests/server.py -index 51d49b7..aa895ea 100644 ---- a/tests/server.py -+++ b/tests/server.py -@@ -4,20 +4,21 @@ - """ - server.py - ~~~~~~~~~ -- -+ - test server -- -+ - :copyright: (c) 2013 by Jauhien Piatlicki - :license: GPL-2, see LICENSE for more details. - """ - - import os - import threading -+import time - - from g_sorcery.compatibility import py2k - - if py2k: -- from SocketServer import TCPServer as HTTPServer -+ from SocketServer import TCPServer as HTTPServer - from SimpleHTTPServer import SimpleHTTPRequestHandler - else: - from http.server import HTTPServer -@@ -26,26 +27,27 @@ else: - def HTTPRequestHandlerGenerator(direct): - - class HTTPRequestHandler(SimpleHTTPRequestHandler, object): -- directory = direct - - def __init__(self, request, client_address, server): -+ self.direct = direct - super(HTTPRequestHandler, self).__init__(request, client_address, server) - - def translate_path(self, path): -- return os.path.join(self.directory, path[1:]) -+ return os.path.join(self.direct, path[1:]) - - return HTTPRequestHandler - -- -+ - class Server(threading.Thread): - def __init__(self, directory, port=8080): - super(Server, self).__init__() - HTTPServer.allow_reuse_address = True - server_address = ('127.0.0.1', port) - self.httpd = HTTPServer(server_address, HTTPRequestHandlerGenerator(directory)) -- -+ - def run(self): - self.httpd.serve_forever() - - def shutdown(self): - self.httpd.shutdown() -+ time.sleep(0.5) -diff --git a/tests/test_DBGenerator.py b/tests/test_DBGenerator.py -index 9a47c86..3c28278 100644 ---- a/tests/test_DBGenerator.py -+++ b/tests/test_DBGenerator.py -@@ -4,9 +4,9 @@ - """ - test_DBGenerator.py - ~~~~~~~~~~~~~~~~~~~ -- -+ - DBGenerator test suite -- -+ - :copyright: (c) 2013 by Jauhien Piatlicki - :license: GPL-2, see LICENSE for more details. - """ -@@ -81,11 +81,13 @@ class TestDBGenerator(BaseTest): - srv = Server(orig_tempdir.name) - srv.start() - -- pkg_db = db_generator(self.tempdir.name, "test_repo", -+ try: -+ pkg_db = db_generator(self.tempdir.name, "test_repo", - common_config = common_config, config = config) - -- srv.shutdown() -- srv.join() -+ finally: -+ srv.shutdown() -+ srv.join() - - self.assertEqual(set(pkg_db.list_categories()), set(["app-test1", "app-test2"])) - self.assertTrue(pkg_db.in_category("app-test1", "test")) -diff --git a/tests/test_PackageDB.py b/tests/test_PackageDB.py -index 152c605..8be8f8a 100644 ---- a/tests/test_PackageDB.py -+++ b/tests/test_PackageDB.py -@@ -70,11 +70,13 @@ class TestPackageDB(BaseTest): - - srv = Server(orig_tempdir.name, port=port) - srv.start() -- self.assertRaises(IntegrityError, test_db.sync, sync_address) -- os.system("cd " + orig_tempdir.name + " && mv good.tar.gz dummy.tar.gz") -- test_db.sync(sync_address) -- srv.shutdown() -- srv.join() -+ try: -+ self.assertRaises(IntegrityError, test_db.sync, sync_address) -+ os.system("cd " + orig_tempdir.name + " && mv good.tar.gz dummy.tar.gz") -+ test_db.sync(sync_address) -+ finally: -+ srv.shutdown() -+ srv.join() - test_db.read() - self.assertEqual(orig_db.database, test_db.database) - self.assertEqual(orig_db.get_common_data("app-test1"), test_db.get_common_data("app-test1")) diff --git a/app-portage/g-sorcery/g-sorcery-0.2.1-r1.ebuild b/app-portage/g-sorcery/g-sorcery-0.2.1-r1.ebuild deleted file mode 100644 index 50cc18f1bbde..000000000000 --- a/app-portage/g-sorcery/g-sorcery-0.2.1-r1.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 - -PYTHON_COMPAT=( python{3_7,3_8} ) -DISTUTILS_USE_SETUPTOOLS=no - -inherit distutils-r1 prefix - -DESCRIPTION="framework for ebuild generators" -HOMEPAGE="https://github.com/jauhien/g-sorcery" -SRC_URI="https://github.com/jauhien/g-sorcery/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -IUSE="bson git test" -RESTRICT="!test? ( test )" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" - -DEPEND="bson? ( dev-python/pymongo[${PYTHON_USEDEP}] ) - git? ( dev-vcs/git ) - sys-apps/portage[${PYTHON_USEDEP}]" -RDEPEND="${DEPEND}" -PDEPEND=">=app-portage/layman-2.2.0[g-sorcery(-),${PYTHON_USEDEP}]" - -PATCHES=( - "${FILESDIR}/g-sorcery-0.2.1-py3.7.tests-fix.patch" -) - -src_prepare() { - hprefixify setup.py - default -} - -python_test() { - PYTHONPATH="." "${PYTHON}" scripts/run_tests.py -} - -python_install_all() { - distutils-r1_python_install_all - - doman docs/*.8 - dohtml docs/developer_instructions.html - diropts -m0777 - dodir /var/lib/g-sorcery -} diff --git a/app-portage/g-sorcery/g-sorcery-0.2.2.ebuild b/app-portage/g-sorcery/g-sorcery-0.2.2.ebuild deleted file mode 100644 index 368e36a04f05..000000000000 --- a/app-portage/g-sorcery/g-sorcery-0.2.2.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) -DISTUTILS_USE_SETUPTOOLS=no - -inherit distutils-r1 prefix - -DESCRIPTION="framework for ebuild generators" -HOMEPAGE="https://gitweb.gentoo.org/proj/g-sorcery.git - https://github.com/jauhien/g-sorcery" -SRC_URI="https://gitweb.gentoo.org/proj/g-sorcery.git/snapshot/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="bson git test" -RESTRICT="!test? ( test )" - -BDEPEND=" - bson? ( dev-python/pymongo[${PYTHON_USEDEP}] ) - git? ( dev-vcs/git ) - sys-apps/portage[${PYTHON_USEDEP}]" -RDEPEND="${BDEPEND}" -PDEPEND=">=app-portage/layman-2.2.0[g-sorcery(-),${PYTHON_USEDEP}]" - -src_prepare() { - hprefixify setup.py - default -} - -python_test() { - PYTHONPATH="." "${PYTHON}" scripts/run_tests.py || die -} - -python_install_all() { - distutils-r1_python_install_all - - doman docs/*.8 - - docinto html - dodoc docs/developer_instructions.html - - diropts -m0777 - keepdir /var/lib/g-sorcery -} diff --git a/app-portage/g-sorcery/metadata.xml b/app-portage/g-sorcery/metadata.xml deleted file mode 100644 index 32f32e7f0643..000000000000 --- a/app-portage/g-sorcery/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <use> - <flag name="bson">Support BSON file format for package DB</flag> - </use> - <maintainer type="project"> - <email>layman@gentoo.org</email> - <name>Gentoo Layman team</name> - </maintainer> -</pkgmetadata> diff --git a/app-portage/gander/Manifest b/app-portage/gander/Manifest deleted file mode 100644 index a0677288307a..000000000000 --- a/app-portage/gander/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST gander-0.0.1.tar.gz 8882 BLAKE2B 29c25fedabff3936e13789ae31f2e06871cfe4eb31a0eed1d36150ec219e741d25ba1603d0151d026777c81dff8461a1c051e4c02bff2488d8b9d6888ebe9618 SHA512 d72b2fd92ddd646369f8eb16d73a67e7b793aa84109231365abebec3ab2e14a8c76bae301271ec1cc82850a71bcb217a72f969086554e6c850117b5492215d57 diff --git a/app-portage/gander/gander-0.0.1-r1.ebuild b/app-portage/gander/gander-0.0.1-r1.ebuild deleted file mode 100644 index a1d24b8b5151..000000000000 --- a/app-portage/gander/gander-0.0.1-r1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..9} ) -inherit distutils-r1 - -DESCRIPTION="Statistic submission client for Goose (anser.gentoo.org)" -HOMEPAGE="https://github.com/mgorny/gander/" -SRC_URI="https://github.com/mgorny/gander/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/requests[${PYTHON_USEDEP}] - sys-apps/portage[${PYTHON_USEDEP}] -" - -BDEPEND="test? ( dev-python/responses[${PYTHON_USEDEP}] )" - -distutils_enable_tests pytest - -python_test() { - # Portage exports random configuration options *overriding* its own - # behavior into the build environment. - env -u PORTAGE_REPOSITORIES pytest -vv || die "Tests fail with ${EPYTHON}" -} diff --git a/app-portage/gander/gander-0.0.1.ebuild b/app-portage/gander/gander-0.0.1.ebuild deleted file mode 100644 index 9aca0742932b..000000000000 --- a/app-portage/gander/gander-0.0.1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{7..8} ) -inherit distutils-r1 - -DESCRIPTION="Statistic submission client for Goose (anser.gentoo.org)" -HOMEPAGE="https://github.com/mgorny/gander/" -SRC_URI=" - https://github.com/mgorny/gander/archive/v${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/requests[${PYTHON_USEDEP}] - sys-apps/portage[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - dev-python/responses[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -python_test() { - # Portage exports random configuration options *overriding* its own - # behavior into the build environment. - env -u PORTAGE_REPOSITORIES pytest -vv || - die "Tests fail with ${EPYTHON}" -} diff --git a/app-portage/gander/metadata.xml b/app-portage/gander/metadata.xml deleted file mode 100644 index 0319eec4c8be..000000000000 --- a/app-portage/gander/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>mgorny@gentoo.org</email> - <name>Michał Górny</name> - </maintainer> -</pkgmetadata> diff --git a/app-portage/gemato/Manifest b/app-portage/gemato/Manifest index d866b5780118..fc6ef1cb2a13 100644 --- a/app-portage/gemato/Manifest +++ b/app-portage/gemato/Manifest @@ -1 +1 @@ -DIST gemato-16.2.tar.gz 80178 BLAKE2B c973c36bb1277d07618ba8d90f7d6820508d78aedae200f0678c8b2e1dde38e3b7f4d7dc24791dedb9c88791d3b71711c9bdeb749b5fc091a20aa87f71ad70d3 SHA512 9d59ba360afaf237e47c5ded0e5bc29ec44d5b1d73eadadc19ff834a1966e1e620da258eb7a1b6afbff5c66cbd7e39454fd5920f2f82fc510c2f8836c0b80462 +DIST gemato-20.5.tar.gz 88598 BLAKE2B dadbdd0275b6a79bb1c288d85ccb41600715c5e582b0d427a7fca5f08a8390200929b3de921bb7bd56f4a155fd9d979baaccb29a75c119c418c3ab62202f2856 SHA512 427e198b0630a18f219739dc093ddd0752a9b9871cd4ebf78b035c315bb49e4a5a639811d5fc26a17446c29eeea133e5cb97bb38fe89e2f74a6a320fd9bf5f0a diff --git a/app-portage/gemato/gemato-16.2.ebuild b/app-portage/gemato/gemato-20.5.ebuild index 206c761c09ca..559e2fad73be 100644 --- a/app-portage/gemato/gemato-16.2.ebuild +++ b/app-portage/gemato/gemato-20.5.ebuild @@ -1,34 +1,41 @@ -# 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 -PYTHON_COMPAT=( python3_{8..10} pypy3 ) +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} pypy3 ) PYTHON_REQ_USE='threads(+)' -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="Stand-alone Manifest generation & verification tool" -HOMEPAGE="https://github.com/mgorny/gemato" -SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" +HOMEPAGE=" + https://github.com/projg2/gemato/ + https://pypi.org/project/gemato/ +" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux" -IUSE="+gpg tools" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" +IUSE="+gpg pretty-log tools" RDEPEND=" gpg? ( >=app-crypt/gnupg-2.2.20-r1 dev-python/requests[${PYTHON_USEDEP}] - )" + ) + pretty-log? ( + dev-python/rich[${PYTHON_USEDEP}] + ) +" BDEPEND=" test? ( >=app-crypt/gnupg-2.2.20-r1 - >=dev-python/pytest-5[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] dev-python/responses[${PYTHON_USEDEP}] - )" + ) +" distutils_enable_tests pytest diff --git a/app-portage/gemato/gemato-9999.ebuild b/app-portage/gemato/gemato-9999.ebuild index 5d6009149ea0..2930ef35cc4e 100644 --- a/app-portage/gemato/gemato-9999.ebuild +++ b/app-portage/gemato/gemato-9999.ebuild @@ -1,35 +1,41 @@ -# 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 -PYTHON_COMPAT=( python3_{8..10} pypy3 ) +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} pypy3 ) PYTHON_REQ_USE='threads(+)' inherit distutils-r1 git-r3 DESCRIPTION="Stand-alone Manifest generation & verification tool" -HOMEPAGE="https://github.com/mgorny/gemato" -SRC_URI="" -EGIT_REPO_URI="https://github.com/mgorny/gemato.git" +HOMEPAGE=" + https://github.com/projg2/gemato/ + https://pypi.org/project/gemato/ +" +EGIT_REPO_URI="https://github.com/projg2/gemato.git" LICENSE="BSD-2" SLOT="0" -KEYWORDS="" -IUSE="+gpg tools" +IUSE="+gpg pretty-log tools" RDEPEND=" gpg? ( >=app-crypt/gnupg-2.2.20-r1 dev-python/requests[${PYTHON_USEDEP}] - )" + ) + pretty-log? ( + dev-python/rich[${PYTHON_USEDEP}] + ) +" BDEPEND=" test? ( >=app-crypt/gnupg-2.2.20-r1 - >=dev-python/pytest-5[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] dev-python/responses[${PYTHON_USEDEP}] - )" + ) +" distutils_enable_tests pytest diff --git a/app-portage/gemato/metadata.xml b/app-portage/gemato/metadata.xml index 79fbd6dbc98f..aa7988a48ee7 100644 --- a/app-portage/gemato/metadata.xml +++ b/app-portage/gemato/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> <email>mgorny@gentoo.org</email> @@ -9,12 +9,15 @@ <use> <flag name="gpg">Install dependencies needed for OpenPGP signature verification support</flag> + <flag name="pretty-log">Pull <pkg>dev-python/rich</pkg> + to enable pretty logs</flag> <flag name="tools">Install additional utilities (benchmarks, hash testing tools, fast Manifest generators) to /usr/share/gemato.</flag> </use> <upstream> - <bugs-to>https://github.com/mgorny/gemato/issues/</bugs-to> - <remote-id type="github">mgorny/gemato</remote-id> + <bugs-to>https://github.com/projg2/gemato/issues/</bugs-to> + <remote-id type="github">projg2/gemato</remote-id> + <remote-id type="pypi">gemato</remote-id> </upstream> </pkgmetadata> diff --git a/app-portage/genlop/Manifest b/app-portage/genlop/Manifest index 78315f8b102a..6e4036ecd9c5 100644 --- a/app-portage/genlop/Manifest +++ b/app-portage/genlop/Manifest @@ -1 +1 @@ -DIST genlop-0.30.10.tar.gz 20872 BLAKE2B e06088678598464c67b78cf10a7472d7bf7b22d69c85fc072064b7a90fe57e2015fddba30edaa85574381cd59367b81c7bf514c269d5dc186fbcc367bba0cca4 SHA512 eab59d7dc012fbbdbe7de509deba66e6c7d0c5a37064e79c25a37c64becc259ee5206194615b60b3363022fa59e458356547edca307ceb4e19eeeaf4b146c593 +DIST genlop-0.30.12.tar.xz 19592 BLAKE2B 7609067dbdd5eed9c2fae17d09bed6ad449a734c755882b3ba5969415b08466dfec48de39332a39b16e21430f1e587840cebe2a216eb01ee953b9f76f40aeaf7 SHA512 7bccbeccd06fc18b5b96caac8e926f6827061ad06d4c9a5087a894ab48e75fba3b07d49249be21e2736e517d8f63fafaf9fd399fecfb7a4336b37fb1f3beae68 diff --git a/app-portage/genlop/files/genlop-0.30.10-sandbox.patch b/app-portage/genlop/files/genlop-0.30.10-sandbox.patch deleted file mode 100644 index 1b4efdb97687..000000000000 --- a/app-portage/genlop/files/genlop-0.30.10-sandbox.patch +++ /dev/null @@ -1,29 +0,0 @@ -From af0fccf158a0a5d0c300be2eae167eace93cc1d3 Mon Sep 17 00:00:00 2001 -From: Joe Breuer <gentoo@jmbreuer.net> -Date: Sat, 11 May 2019 21:08:21 -0700 -Subject: [PATCH] genlop -c: filter pid-ns-init duplicates (bug 677890) - -The latest stable version of portage introduces a pid-ns-init -process which must be filtered in order to avoid duplicates. - -Bug: https://bugs.gentoo.org/677890 -Signed-off-by: Zac Medico <zmedico@gentoo.org> ---- - genlop | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/genlop b/genlop -index b28c9d6..c154aa4 100755 ---- a/genlop -+++ b/genlop -@@ -706,7 +706,7 @@ sub current() - # not check for sanity and have users check their FEATURES instead. - my @targets = (); - my @sandbox_pids = (); -- my @sandbox_procs = qx{ps ax -o pid,args | tail -n +2 | sed -e's/^ *//' | grep ' sandbox ' | grep -v ' grep '}; -+ my @sandbox_procs = qx{ps ax -o pid,args | tail -n +2 | sed -e's/^ *//' | grep ' sandbox ' | grep -v -e ' grep ' -e 'pid-ns-init '}; - my ($e_curmerge, $e_lastmerge); - foreach (@sandbox_procs) - { --- -2.21.0 diff --git a/app-portage/genlop/files/genlop-0.30.10-sync.patch b/app-portage/genlop/files/genlop-0.30.10-sync.patch deleted file mode 100644 index 8c798dddd18a..000000000000 --- a/app-portage/genlop/files/genlop-0.30.10-sync.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 46eb6a5a9a90049920ea84018b69b643c2809bfa Mon Sep 17 00:00:00 2001 -From: Paul Varner <fuzzyray@gentoo.org> -Date: Thu, 19 Feb 2015 09:46:47 -0600 -Subject: [PATCH] Fix genlop -r to work with new Portage sync code. (Bug - 540050) - ---- - genlop | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/genlop b/genlop -index e36c678..4e0faf0 100755 ---- a/genlop -+++ b/genlop -@@ -968,7 +968,7 @@ sub rsync() { - my $handle; - open_file($_, \$handle); - while(<$handle>) { -- if ($_ =~ m/^(.*?)\: \=\=\= Sync completed with/) { -+ if ($_ =~ m/^(.*?)\: \=\=\= Sync completed/) { - if ($date_found) { - if (datecompare($1) <= 0) { - next; --- -2.3.0 - diff --git a/app-portage/genlop/genlop-0.30.10-r2.ebuild b/app-portage/genlop/genlop-0.30.10-r2.ebuild deleted file mode 100644 index 65d3383ba30b..000000000000 --- a/app-portage/genlop/genlop-0.30.10-r2.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 bash-completion-r1 - -DESCRIPTION="A nice emerge.log parser" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Perl" -SRC_URI="https://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -DEPEND=" - dev-lang/perl - dev-perl/Date-Manip - dev-perl/libwww-perl" -RDEPEND="${DEPEND}" - -# Populate the patches array for any patches for -rX releases -PATCHES=( - "${FILESDIR}"/${P}-sync.patch - "${FILESDIR}"/${P}-sandbox.patch -) - -src_install() { - dobin genlop - dodoc README Changelog - doman genlop.1 - newbashcomp genlop.bash-completion genlop -} diff --git a/app-portage/genlop/genlop-0.30.12.ebuild b/app-portage/genlop/genlop-0.30.12.ebuild new file mode 100644 index 000000000000..1c9857fc5a28 --- /dev/null +++ b/app-portage/genlop/genlop-0.30.12.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 + +DESCRIPTION="Nice emerge.log parser" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Perl https://github.com/gentoo-perl/genlop" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/gentoo-perl/genlop" + inherit git-r3 +else + SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" +fi + +LICENSE="GPL-2" +SLOT="0" + +DEPEND=" + dev-lang/perl + dev-perl/Date-Manip + dev-perl/libwww-perl +" +RDEPEND="${DEPEND}" + +src_install() { + dobin genlop + dodoc README Changelog + doman genlop.1 + newbashcomp genlop.bash-completion genlop +} diff --git a/app-portage/genlop/genlop-9999.ebuild b/app-portage/genlop/genlop-9999.ebuild index fe9a088ea8af..a17ddee040e7 100644 --- a/app-portage/genlop/genlop-9999.ebuild +++ b/app-portage/genlop/genlop-9999.ebuild @@ -1,13 +1,20 @@ -# 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 -inherit git-r3 bash-completion-r1 +inherit bash-completion-r1 -EGIT_REPO_URI="https://github.com/gentoo-perl/genlop.git" -DESCRIPTION="A nice emerge.log parser" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Perl" +DESCRIPTION="Nice emerge.log parser" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Perl https://github.com/gentoo-perl/genlop" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/gentoo-perl/genlop" + inherit git-r3 +else + SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi LICENSE="GPL-2" SLOT="0" @@ -15,7 +22,8 @@ SLOT="0" DEPEND=" dev-lang/perl dev-perl/Date-Manip - dev-perl/libwww-perl" + dev-perl/libwww-perl +" RDEPEND="${DEPEND}" src_install() { diff --git a/app-portage/genlop/metadata.xml b/app-portage/genlop/metadata.xml index 310c8d376ea6..9057dc1657d3 100644 --- a/app-portage/genlop/metadata.xml +++ b/app-portage/genlop/metadata.xml @@ -1,12 +1,15 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> <email>tools-portage@gentoo.org</email> <name>Gentoo Portage tools team</name> </maintainer> -<maintainer type="project"> + <maintainer type="project"> <email>perl@gentoo.org</email> <name>Gentoo Perl Project</name> </maintainer> + <upstream> + <remote-id type="github">gentoo-perl/genlop</remote-id> + </upstream> </pkgmetadata> diff --git a/app-portage/gentle/Manifest b/app-portage/gentle/Manifest new file mode 100644 index 000000000000..822c38d8bd8c --- /dev/null +++ b/app-portage/gentle/Manifest @@ -0,0 +1,2 @@ +DIST gentle_mxml-0.3.1.tar.gz 141735 BLAKE2B 6720ff9af32d83beac66e5e8fc71cc33a7554edb000b835d4f770da199806ebfbc3bdd95954b738f21768da6b6f8315cb870e2185b8066d5f69cad85128f60ec SHA512 4722e37c635d7f1b492bf52f3f4003deda1ba65c79be56228009875241048d6976b38e836e62f6d90adb8ec1bc545ff903487759ad581ffc0bb2e371d25dd780 +DIST gentle_mxml-0.4.0.tar.gz 329273 BLAKE2B baf6d954838d6cd2fc9548aaa33c85cb53307b325521a2fe300486a2cc08e833f835016ba632b484c1068c7deee3b2eeb17606f0180d248081304fa866b79461 SHA512 beac2c7bd3e4d80448fec5a633502e6cdc763145541b9205e3c354597b4e9c724f94cadb747b87df3c49669f5534cc9d123ded00b45b9cb783cd4e086a9b3ceb diff --git a/app-portage/gentle/gentle-0.3.1.ebuild b/app-portage/gentle/gentle-0.3.1.ebuild new file mode 100644 index 000000000000..b24f526fe46e --- /dev/null +++ b/app-portage/gentle/gentle-0.3.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=flit +PYPI_PN="gentle-mxml" +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Gentoo Lazy Entry - a metadata.xml generator" +HOMEPAGE=" + https://gentle.sysrq.in + https://pypi.org/project/gentle-mxml/ +" + +LICENSE="WTFPL-2" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + test? ( + app-text/xmldiff[${PYTHON_USEDEP}] + dev-python/pkginfo[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/rdflib[${PYTHON_USEDEP}] + $(python_gen_cond_dep \ + 'dev-python/tomli[${PYTHON_USEDEP}]' 3.10) + ) +" + +distutils_enable_tests pytest + +distutils_enable_sphinx docs \ + dev-python/insipid-sphinx-theme \ + dev-python/sphinx-prompt + +pkg_postinst() { + optfeature "PKG-INFO support" dev-python/pkginfo + optfeature "yaml support" dev-python/pyyaml + optfeature "rdf support" dev-python/rdflib + optfeature "toml support" dev-python/tomli +} diff --git a/app-portage/gentle/gentle-0.4.0.ebuild b/app-portage/gentle/gentle-0.4.0.ebuild new file mode 100644 index 000000000000..b2f9beb6bc2b --- /dev/null +++ b/app-portage/gentle/gentle-0.4.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=flit +PYPI_PN="gentle-mxml" +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Gentoo Lazy Entry - a metadata.xml generator" +HOMEPAGE=" + https://gentle.sysrq.in + https://pypi.org/project/gentle-mxml/ +" + +LICENSE="WTFPL-2" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + app-text/xmldiff[${PYTHON_USEDEP}] + dev-python/build[${PYTHON_USEDEP}] + dev-python/pkginfo[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/rdflib[${PYTHON_USEDEP}] + $(python_gen_cond_dep \ + 'dev-python/tomli[${PYTHON_USEDEP}]' 3.10) + ) +" + +EPYTEST_DESELECT=( + # require network + "tests/python/wheel/test_generator.py::test_pkg_empty[pyproject.toml]" + "tests/python/wheel/test_generator.py::test_pkg_empty[setup.py]" +) + +distutils_enable_tests pytest + +distutils_enable_sphinx docs \ + dev-python/insipid-sphinx-theme \ + dev-python/sphinx-prompt + +pkg_postinst() { + optfeature "python packaging support" dev-python/build + optfeature "PKG-INFO support" dev-python/pkginfo + optfeature "yaml support" dev-python/pyyaml + optfeature "rdf support" dev-python/rdflib + optfeature "toml support" dev-python/tomli +} diff --git a/app-portage/gentle/metadata.xml b/app-portage/gentle/metadata.xml new file mode 100644 index 000000000000..aa2672eae4d7 --- /dev/null +++ b/app-portage/gentle/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-needed --> + <upstream> + <maintainer> + <name>Anna</name> + <email>cyber@sysrq.in</email> + </maintainer> + <bugs-to>https://bugs.sysrq.in/enter_bug.cgi?product=Software&component=gentle</bugs-to> + <remote-id type="pypi">gentle-mxml</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-portage/gentoolkit/Manifest b/app-portage/gentoolkit/Manifest index 08bf8c5a57b2..6436268220d5 100644 --- a/app-portage/gentoolkit/Manifest +++ b/app-portage/gentoolkit/Manifest @@ -1,2 +1,3 @@ -DIST gentoolkit-0.5.0.tar.gz 3206598 BLAKE2B a379dcbbaba9d52c241fea020b87c458384e44092539947909e14fd6c63fd9cc06d076b8081874edf17fc50e80fe48ceab3400c90046867dc409e7ac39c17231 SHA512 8a5c344f3a17c4c779abbcaa35b5e3f147106dbc61310d0d1a816ec8080914271fa45c311a8feeb1bfe14195af7cf34c0b29142d6e43e2de232dae96fbd00861 -DIST gentoolkit-0.5.1.tar.gz 3203805 BLAKE2B de2cd69aec9be79f498b1180a90afb54e77f9d8a47636cd722f2028a906d43874132d55a71bf373b3d10c7c10034f5d8ce0280a35041b0c60a1d5aa2ed6296a1 SHA512 667e464853b17ae297c59fb06e8f4563119a1382470d064c5721ae898e61173e9af5b071c7618d315232e6974fec205e27559785d2816253711de3e83d9e1911 +DIST gentoolkit-0.6.3.tar.bz2 3186163 BLAKE2B 0f9befac53faa2b578b461a55c7113934a60478fc5d8d5ab0e06cb836ff5a2de75bb290ed797a2b085ec9f33c8494e3c3d5d0d6b643c525fff4dd0a82657118f SHA512 cf51480213fd4bac45d44f5eb5e4be4cb5c5b97ad63ecd832eb54fc7043ab8e974491005431f0897d6c41d251ae0f9fc95cfdfc4d613fc56340630a094bfc61d +DIST gentoolkit-0.6.5.tar.bz2 3186457 BLAKE2B 7f873385b183e51b03e1c4be0edbabc89556e1b3a1dce2be71584c9ea927dd09185ba1022e570de0ed2a46cbb764c67f6eaccf97dc5892f4f355244bac7c0545 SHA512 cff9e7b1b8122941b03f7e156f25b5b416c5e4bbf1b759ecf006c271758f2548323bf59ba94a14f3268eea43081ccbba3ab63e118123af870c0257aaecbb9554 +DIST gentoolkit-0.6.6.tar.bz2 3187351 BLAKE2B f8add246e9d968c57a8d0e5c842a40a7646e92cc165ca611df35988ba55bd0221a26eefb351680f53e81adcf608a20eab604d0a9b9e52f936ebc7c20575c597c SHA512 73fc4b8d98dc118d3c505c49d94dd248c92d2bde883c130c65dcf814d200a165084e9c94713e93341e7c54b59b59db83279538440e0822902de688c135b8949d diff --git a/app-portage/gentoolkit/files/gentoolkit-0.5.0-python3_9.patch b/app-portage/gentoolkit/files/gentoolkit-0.5.0-python3_9.patch deleted file mode 100644 index 6a50db9ca669..000000000000 --- a/app-portage/gentoolkit/files/gentoolkit-0.5.0-python3_9.patch +++ /dev/null @@ -1,43 +0,0 @@ -# https://github.com/gentoo/gentoolkit/pull/11 -# https://bugs.gentoo.org/747034 -diff --git a/pym/gentoolkit/metadata.py b/pym/gentoolkit/metadata.py -index 22c249e..c3dba98 100644 ---- a/pym/gentoolkit/metadata.py -+++ b/pym/gentoolkit/metadata.py -@@ -73,8 +73,7 @@ class _Maintainer(object): - self.description = None - self.restrict = node.get('restrict') - self.status = node.get('status') -- maint_attrs = node.getchildren() -- for attr in maint_attrs: -+ for attr in node.iter(): - setattr(self, attr.tag, attr.text) - - def __repr__(self): -@@ -101,7 +100,7 @@ class _Useflag(object): - _desc = '' - if node.text: - _desc = node.text -- for child in node.getchildren(): -+ for child in node.iter(): - _desc += child.text if child.text else '' - _desc += child.tail if child.tail else '' - # This takes care of tabs and newlines left from the file -@@ -213,7 +212,7 @@ class MetaData(object): - if herd in ('no-herd', 'maintainer-wanted', 'maintainer-needed'): - return None - -- for node in self._herdstree.getiterator('herd'): -+ for node in self._herdstree.iter('herd'): - if node.findtext('name') == herd: - return node.findtext('email') - -@@ -283,7 +282,7 @@ class MetaData(object): - return self._useflags - - self._useflags = [] -- for node in self._xml_tree.getiterator('flag'): -+ for node in self._xml_tree.iter('flag'): - self._useflags.append(_Useflag(node)) - - return self._useflags diff --git a/app-portage/gentoolkit/files/gentoolkit-0.5.0-r1-python3_9.patch b/app-portage/gentoolkit/files/gentoolkit-0.5.0-r1-python3_9.patch deleted file mode 100644 index a9dae6150454..000000000000 --- a/app-portage/gentoolkit/files/gentoolkit-0.5.0-r1-python3_9.patch +++ /dev/null @@ -1,34 +0,0 @@ -From f14b6198d1dd9cb7f4a83f3822e4a1782a5581e8 Mon Sep 17 00:00:00 2001 -From: Brian Dolbec <dolsen@gentoo.org> -Date: Tue, 13 Oct 2020 10:04:07 -0400 -Subject: [PATCH] metadata.py: Fix duplicated use flag text bug 748129 - -Regression from commit: 517581df206766 -link: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=517581df206766fabf10273cde565e0a6dc62829 -Gentoo bug: https://bugs.gentoo.org/748129 -Signed-off-by: Brian Dolbec <dolsen@gentoo.org> ---- - pym/gentoolkit/metadata.py | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -diff --git a/pym/gentoolkit/metadata.py b/pym/gentoolkit/metadata.py -index c3dba98..0b58392 100644 ---- a/pym/gentoolkit/metadata.py -+++ b/pym/gentoolkit/metadata.py -@@ -101,8 +101,11 @@ class _Useflag(object): - if node.text: - _desc = node.text - for child in node.iter(): -- _desc += child.text if child.text else '' -- _desc += child.tail if child.tail else '' -+ # prevent duplicate text -+ if child.text and child.text not in _desc: -+ _desc += child.text -+ if child.tail and not child.tail in _desc: -+ _desc += child.tail - # This takes care of tabs and newlines left from the file - self.description = re.sub(r'\s+', ' ', _desc) - --- -libgit2 1.0.1 - diff --git a/app-portage/gentoolkit/gentoolkit-0.5.0-r2.ebuild b/app-portage/gentoolkit/gentoolkit-0.5.0-r2.ebuild deleted file mode 100644 index b5d01fea1c2e..000000000000 --- a/app-portage/gentoolkit/gentoolkit-0.5.0-r2.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) -PYTHON_REQ_USE="xml(+),threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Collection of administration scripts for Gentoo" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage-Tools" -SRC_URI="https://gitweb.gentoo.org/proj/gentoolkit.git/snapshot/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -IUSE="" - -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" - -DEPEND=" - sys-apps/portage[${PYTHON_USEDEP}]" -RDEPEND="${DEPEND} - sys-apps/gawk - sys-apps/gentoo-functions" - -distutils_enable_tests setup.py - -PATCHES=( - "${FILESDIR}"/${PN}-0.5.0-python3_9.patch - "${FILESDIR}"/${PN}-0.5.0-r1-python3_9.patch -) - -python_prepare_all() { - python_setup - echo VERSION="${PVR}" "${PYTHON}" setup.py set_version - VERSION="${PVR}" "${PYTHON}" setup.py set_version - distutils-r1_python_prepare_all - - if use prefix-guest ; then - # use correct repo name, bug #632223 - sed -i \ - -e "/load_profile_data/s/repo='gentoo'/repo='gentoo_prefix'/" \ - pym/gentoolkit/profile.py || die - fi -} - -pkg_preinst() { - if has_version "<${CATEGORY}/${PN}-0.4.0"; then - SHOW_GENTOOKIT_DEV_DEPRECATED_MSG=1 - fi -} - -pkg_postinst() { - # Create cache directory for revdep-rebuild - mkdir -p -m 0755 "${EROOT}"/var/cache - mkdir -p -m 0700 "${EROOT}"/var/cache/revdep-rebuild - - if [[ ${SHOW_GENTOOKIT_DEV_DEPRECATED_MSG} ]]; then - elog "Starting with version 0.4.0, ebump, ekeyword and imlate are now" - elog "part of the gentoolkit package." - elog "The gentoolkit-dev package is now deprecated in favor of a single" - elog "gentoolkit package. The remaining tools from gentoolkit-dev" - elog "are now obsolete/unused with the git based tree." - fi - - # Only show the elog information on a new install - if [[ ! ${REPLACING_VERSIONS} ]]; then - elog - elog "For further information on gentoolkit, please read the gentoolkit" - elog "guide: https://wiki.gentoo.org/wiki/Gentoolkit" - elog - elog "Another alternative to equery is app-portage/portage-utils" - elog - elog "Additional tools that may be of interest:" - elog - elog " app-admin/eclean-kernel" - elog " app-portage/diffmask" - elog " app-portage/flaggie" - elog " app-portage/portpeek" - elog " app-portage/smart-live-rebuild" - fi -} diff --git a/app-portage/gentoolkit/gentoolkit-0.5.1.ebuild b/app-portage/gentoolkit/gentoolkit-0.5.1.ebuild deleted file mode 100644 index dd0c74111423..000000000000 --- a/app-portage/gentoolkit/gentoolkit-0.5.1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) -PYTHON_REQ_USE="xml(+),threads(+)" - -inherit distutils-r1 - -if [[ ${PV} = 9999* ]]; then - EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/gentoolkit.git" - inherit git-r3 -else - SRC_URI="https://gitweb.gentoo.org/proj/gentoolkit.git/snapshot/${P}.tar.gz" - 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" -fi - -DESCRIPTION="Collection of administration scripts for Gentoo" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage-Tools" - -LICENSE="GPL-2" -SLOT="0" - -DEPEND=" - sys-apps/portage[${PYTHON_USEDEP}]" -RDEPEND="${DEPEND} - sys-apps/gawk - sys-apps/gentoo-functions" - -distutils_enable_tests setup.py - -python_prepare_all() { - python_setup - echo VERSION="${PVR}" "${PYTHON}" setup.py set_version - VERSION="${PVR}" "${PYTHON}" setup.py set_version - distutils-r1_python_prepare_all - - if use prefix-guest ; then - # use correct repo name, bug #632223 - sed -i \ - -e "/load_profile_data/s/repo='gentoo'/repo='gentoo_prefix'/" \ - pym/gentoolkit/profile.py || die - fi -} - -pkg_postinst() { - # Create cache directory for revdep-rebuild - mkdir -p -m 0755 "${EROOT}"/var/cache - mkdir -p -m 0700 "${EROOT}"/var/cache/revdep-rebuild - - # Only show the elog information on a new install - if [[ ! ${REPLACING_VERSIONS} ]]; then - elog - elog "For further information on gentoolkit, please read the gentoolkit" - elog "guide: https://wiki.gentoo.org/wiki/Gentoolkit" - elog - elog "Another alternative to equery is app-portage/portage-utils" - elog - elog "Additional tools that may be of interest:" - elog - elog " app-admin/eclean-kernel" - elog " app-portage/diffmask" - elog " app-portage/flaggie" - elog " app-portage/portpeek" - elog " app-portage/smart-live-rebuild" - fi -} diff --git a/app-portage/gentoolkit/gentoolkit-0.6.3-r1.ebuild b/app-portage/gentoolkit/gentoolkit-0.6.3-r1.ebuild new file mode 100644 index 000000000000..36bae9f8dac2 --- /dev/null +++ b/app-portage/gentoolkit/gentoolkit-0.6.3-r1.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_REQ_USE="xml(+),threads(+)" + +inherit meson python-r1 tmpfiles + +if [[ ${PV} = 9999* ]]; then + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/gentoolkit.git" + inherit git-r3 +else + SRC_URI="https://gitweb.gentoo.org/proj/gentoolkit.git/snapshot/${P}.tar.bz2" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +fi + +DESCRIPTION="Collection of administration scripts for Gentoo" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage-Tools" + +LICENSE="GPL-2" +SLOT="0" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# Need newer Portage for eclean-pkg API, bug #900224 +DEPEND=" + >=sys-apps/portage-3.0.53[${PYTHON_USEDEP}] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} + app-alternatives/awk + sys-apps/gentoo-functions +" + +# setuptools is still needed as a workaround for Python 3.12+ for now. +# https://github.com/mesonbuild/meson/issues/7702 +# +# >=meson-1.2.1-r1 for bug #912051 +BDEPEND=" + ${PYTHON_DEPS} + >=dev-build/meson-1.2.1-r1 + $(python_gen_cond_dep ' + dev-python/setuptools[${PYTHON_USEDEP}] + ' python3_12) +" + +src_prepare() { + default + if use prefix-guest ; then + # use correct repo name, bug #632223 + sed -i \ + -e "/load_profile_data/s/repo='gentoo'/repo='gentoo_prefix'/" \ + pym/gentoolkit/profile.py || die + fi +} + +src_configure() { + local code_only=false + python_foreach_impl my_src_configure +} + +my_src_configure() { + local emesonargs=( + -Dcode-only=${code_only} + -Deprefix="${EPREFIX}" + -Ddocdir="${EPREFIX}/usr/share/doc/${PF}" + ) + + meson_src_configure + code_only=true +} + +src_compile() { + python_foreach_impl meson_src_compile +} + +src_test() { + python_foreach_impl meson_src_test --no-rebuild --verbose +} + +src_install() { + python_foreach_impl my_src_install + dotmpfiles data/tmpfiles.d/revdep-rebuild.conf + + local scripts + mapfile -t scripts < <(awk '/^#!.*python/ {print FILENAME} {nextfile}' "${ED}"/usr/bin/* || die) + python_replicate_script "${scripts[@]}" +} + +my_src_install() { + local pydirs=( + "${D}$(python_get_sitedir)" + ) + + meson_src_install + python_fix_shebang "${pydirs[@]}" + python_optimize "${pydirs[@]}" +} + +pkg_postinst() { + tmpfiles_process revdep-rebuild.conf + + # Only show the elog information on a new install + if [[ ! ${REPLACING_VERSIONS} ]]; then + elog + elog "For further information on gentoolkit, please read the gentoolkit" + elog "guide: https://wiki.gentoo.org/wiki/Gentoolkit" + elog + elog "Another alternative to equery is app-portage/portage-utils" + elog + elog "Additional tools that may be of interest:" + elog + elog " app-admin/eclean-kernel" + elog " app-portage/diffmask" + elog " app-portage/flaggie" + elog " app-portage/portpeek" + elog " app-portage/smart-live-rebuild" + fi +} diff --git a/app-portage/gentoolkit/gentoolkit-0.6.5.ebuild b/app-portage/gentoolkit/gentoolkit-0.6.5.ebuild new file mode 100644 index 000000000000..06657eae3abe --- /dev/null +++ b/app-portage/gentoolkit/gentoolkit-0.6.5.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_REQ_USE="xml(+),threads(+)" + +inherit meson python-r1 tmpfiles + +if [[ ${PV} = 9999* ]]; then + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/gentoolkit.git" + inherit git-r3 +else + SRC_URI="https://gitweb.gentoo.org/proj/gentoolkit.git/snapshot/${P}.tar.bz2" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +fi + +DESCRIPTION="Collection of administration scripts for Gentoo" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage-Tools" + +LICENSE="GPL-2" +SLOT="0" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# Need newer Portage for eclean-pkg API, bug #900224 +DEPEND=" + >=sys-apps/portage-3.0.57[${PYTHON_USEDEP}] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} + app-alternatives/awk + sys-apps/gentoo-functions +" + +# setuptools is still needed as a workaround for Python 3.12+ for now. +# https://github.com/mesonbuild/meson/issues/7702 +# +# >=meson-1.2.1-r1 for bug #912051 +BDEPEND=" + ${PYTHON_DEPS} + >=dev-build/meson-1.2.1-r1 + $(python_gen_cond_dep ' + dev-python/setuptools[${PYTHON_USEDEP}] + ' python3_12) +" + +src_prepare() { + default + if use prefix-guest ; then + # use correct repo name, bug #632223 + sed -i \ + -e "/load_profile_data/s/repo='gentoo'/repo='gentoo_prefix'/" \ + pym/gentoolkit/profile.py || die + fi +} + +src_configure() { + local code_only=false + python_foreach_impl my_src_configure +} + +my_src_configure() { + local emesonargs=( + -Dcode-only=${code_only} + -Deprefix="${EPREFIX}" + -Ddocdir="${EPREFIX}/usr/share/doc/${PF}" + ) + + meson_src_configure + code_only=true +} + +src_compile() { + python_foreach_impl meson_src_compile +} + +src_test() { + python_foreach_impl meson_src_test --no-rebuild --verbose +} + +src_install() { + python_foreach_impl my_src_install + dotmpfiles data/tmpfiles.d/revdep-rebuild.conf + + local scripts + mapfile -t scripts < <(awk '/^#!.*python/ {print FILENAME} {nextfile}' "${ED}"/usr/bin/* || die) + python_replicate_script "${scripts[@]}" +} + +my_src_install() { + local pydirs=( + "${D}$(python_get_sitedir)" + ) + + meson_src_install + python_fix_shebang "${pydirs[@]}" + python_optimize "${pydirs[@]}" +} + +pkg_postinst() { + tmpfiles_process revdep-rebuild.conf + + # Only show the elog information on a new install + if [[ ! ${REPLACING_VERSIONS} ]]; then + elog + elog "For further information on gentoolkit, please read the gentoolkit" + elog "guide: https://wiki.gentoo.org/wiki/Gentoolkit" + elog + elog "Another alternative to equery is app-portage/portage-utils" + elog + elog "Additional tools that may be of interest:" + elog + elog " app-admin/eclean-kernel" + elog " app-portage/diffmask" + elog " app-portage/flaggie" + elog " app-portage/portpeek" + elog " app-portage/smart-live-rebuild" + fi +} diff --git a/app-portage/gentoolkit/gentoolkit-0.6.6.ebuild b/app-portage/gentoolkit/gentoolkit-0.6.6.ebuild new file mode 100644 index 000000000000..5eb3d884baf5 --- /dev/null +++ b/app-portage/gentoolkit/gentoolkit-0.6.6.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_REQ_USE="xml(+),threads(+)" + +inherit meson python-r1 tmpfiles + +if [[ ${PV} = 9999* ]]; then + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/gentoolkit.git" + inherit git-r3 +else + SRC_URI="https://gitweb.gentoo.org/proj/gentoolkit.git/snapshot/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +fi + +DESCRIPTION="Collection of administration scripts for Gentoo" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage-Tools" + +LICENSE="GPL-2" +SLOT="0" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +IUSE="test" +RESTRICT="!test? ( test )" + +# Need newer Portage for eclean-pkg API, bug #900224 +DEPEND=" + >=sys-apps/portage-3.0.57[${PYTHON_USEDEP}] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} + app-alternatives/awk + sys-apps/gentoo-functions +" + +# setuptools is still needed as a workaround for Python 3.12+ for now. +# https://github.com/mesonbuild/meson/issues/7702 +# +# >=meson-1.2.1-r1 for bug #912051 +BDEPEND=" + ${PYTHON_DEPS} + >=dev-build/meson-1.2.1-r1 + $(python_gen_cond_dep ' + dev-python/setuptools[${PYTHON_USEDEP}] + ' python3_12) + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + default + if use prefix-guest ; then + # use correct repo name, bug #632223 + sed -i \ + -e "/load_profile_data/s/repo='gentoo'/repo='gentoo_prefix'/" \ + pym/gentoolkit/profile.py || die + fi +} + +src_configure() { + local code_only=false + python_foreach_impl my_src_configure +} + +my_src_configure() { + local emesonargs=( + -Dcode-only=${code_only} + $(meson_use test tests) + -Deprefix="${EPREFIX}" + -Ddocdir="${EPREFIX}/usr/share/doc/${PF}" + ) + + meson_src_configure + code_only=true +} + +src_compile() { + python_foreach_impl meson_src_compile +} + +src_test() { + python_foreach_impl meson_src_test --no-rebuild --verbose +} + +src_install() { + python_foreach_impl my_src_install + dotmpfiles data/tmpfiles.d/revdep-rebuild.conf + + local scripts + mapfile -t scripts < <(awk '/^#!.*python/ {print FILENAME} {nextfile}' "${ED}"/usr/bin/* || die) + python_replicate_script "${scripts[@]}" +} + +my_src_install() { + local pydirs=( + "${D}$(python_get_sitedir)" + ) + + meson_src_install + python_fix_shebang "${pydirs[@]}" + python_optimize "${pydirs[@]}" +} + +pkg_postinst() { + tmpfiles_process revdep-rebuild.conf + + # Only show the elog information on a new install + if [[ ! ${REPLACING_VERSIONS} ]]; then + elog + elog "For further information on gentoolkit, please read the gentoolkit" + elog "guide: https://wiki.gentoo.org/wiki/Gentoolkit" + elog + elog "Another alternative to equery is app-portage/portage-utils" + elog + elog "Additional tools that may be of interest:" + elog + elog " app-admin/eclean-kernel" + elog " app-portage/diffmask" + elog " app-portage/flaggie" + elog " app-portage/portpeek" + elog " app-portage/smart-live-rebuild" + fi +} diff --git a/app-portage/gentoolkit/gentoolkit-9999.ebuild b/app-portage/gentoolkit/gentoolkit-9999.ebuild index a05cb33f75d4..5eb3d884baf5 100644 --- a/app-portage/gentoolkit/gentoolkit-9999.ebuild +++ b/app-portage/gentoolkit/gentoolkit-9999.ebuild @@ -1,20 +1,19 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) +PYTHON_COMPAT=( python3_{10..12} pypy3 ) PYTHON_REQ_USE="xml(+),threads(+)" -inherit distutils-r1 +inherit meson python-r1 tmpfiles if [[ ${PV} = 9999* ]]; then EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/gentoolkit.git" inherit git-r3 else - SRC_URI="https://gitweb.gentoo.org/proj/gentoolkit.git/snapshot/${P}.tar.gz" - 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" + SRC_URI="https://gitweb.gentoo.org/proj/gentoolkit.git/snapshot/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" fi DESCRIPTION="Collection of administration scripts for Gentoo" @@ -22,21 +21,38 @@ HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage-Tools" LICENSE="GPL-2" SLOT="0" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +IUSE="test" +RESTRICT="!test? ( test )" +# Need newer Portage for eclean-pkg API, bug #900224 DEPEND=" - sys-apps/portage[${PYTHON_USEDEP}]" -RDEPEND="${DEPEND} - sys-apps/gawk - sys-apps/gentoo-functions" + >=sys-apps/portage-3.0.57[${PYTHON_USEDEP}] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} + app-alternatives/awk + sys-apps/gentoo-functions +" -distutils_enable_tests setup.py - -python_prepare_all() { - python_setup - echo VERSION="${PVR}" "${PYTHON}" setup.py set_version - VERSION="${PVR}" "${PYTHON}" setup.py set_version - distutils-r1_python_prepare_all +# setuptools is still needed as a workaround for Python 3.12+ for now. +# https://github.com/mesonbuild/meson/issues/7702 +# +# >=meson-1.2.1-r1 for bug #912051 +BDEPEND=" + ${PYTHON_DEPS} + >=dev-build/meson-1.2.1-r1 + $(python_gen_cond_dep ' + dev-python/setuptools[${PYTHON_USEDEP}] + ' python3_12) + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + ) +" +src_prepare() { + default if use prefix-guest ; then # use correct repo name, bug #632223 sed -i \ @@ -45,10 +61,52 @@ python_prepare_all() { fi } +src_configure() { + local code_only=false + python_foreach_impl my_src_configure +} + +my_src_configure() { + local emesonargs=( + -Dcode-only=${code_only} + $(meson_use test tests) + -Deprefix="${EPREFIX}" + -Ddocdir="${EPREFIX}/usr/share/doc/${PF}" + ) + + meson_src_configure + code_only=true +} + +src_compile() { + python_foreach_impl meson_src_compile +} + +src_test() { + python_foreach_impl meson_src_test --no-rebuild --verbose +} + +src_install() { + python_foreach_impl my_src_install + dotmpfiles data/tmpfiles.d/revdep-rebuild.conf + + local scripts + mapfile -t scripts < <(awk '/^#!.*python/ {print FILENAME} {nextfile}' "${ED}"/usr/bin/* || die) + python_replicate_script "${scripts[@]}" +} + +my_src_install() { + local pydirs=( + "${D}$(python_get_sitedir)" + ) + + meson_src_install + python_fix_shebang "${pydirs[@]}" + python_optimize "${pydirs[@]}" +} + pkg_postinst() { - # Create cache directory for revdep-rebuild - mkdir -p -m 0755 "${EROOT}"/var/cache - mkdir -p -m 0700 "${EROOT}"/var/cache/revdep-rebuild + tmpfiles_process revdep-rebuild.conf # Only show the elog information on a new install if [[ ! ${REPLACING_VERSIONS} ]]; then diff --git a/app-portage/gentoolkit/metadata.xml b/app-portage/gentoolkit/metadata.xml index 011e78ec7428..030cf9c14f49 100644 --- a/app-portage/gentoolkit/metadata.xml +++ b/app-portage/gentoolkit/metadata.xml @@ -1,14 +1,19 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> <email>tools-portage@gentoo.org</email> <name>Gentoo Portage tools team</name> </maintainer> + <stabilize-allarches/> <longdescription> -Gentoolkit is a collection of useful adminstration scripts particular to -the Gentoo Linux distribution. It contains rough drafts and -implementations of features that may in time make it into Portage, or -into full-fledged tools in their own right. -</longdescription> + Gentoolkit is a collection of useful adminstration scripts particular to + the Gentoo Linux distribution. It contains rough drafts and + implementations of features that may in time make it into Portage, or + into full-fledged tools in their own right. + </longdescription> + <upstream> + <remote-id type="gentoo">proj/gentoolkit</remote-id> + <remote-id type="github">gentoo/gentoolkit</remote-id> + </upstream> </pkgmetadata> diff --git a/app-portage/gentoopm/Manifest b/app-portage/gentoopm/Manifest index f3c236ab7268..109f2f94f3cb 100644 --- a/app-portage/gentoopm/Manifest +++ b/app-portage/gentoopm/Manifest @@ -1 +1 @@ -DIST gentoopm-0.3.3.tar.gz 38624 BLAKE2B 018be741c6970b17525e56d5acdb23e15c8f78016fddda50ef329ea65b84e085a928e1e5e95c69757530c067c28aa578e9c56b8bd7546d7249a75e9c3cc3b57f SHA512 91ea07035b25bdccd8072c5691690ae0b40b6220a2ea29e4b051aeb8455f200e94569036af42ff2f5d7714344d332e5d71e3ff8dfde811f2aa6b6c1b3a895b21 +DIST gentoopm-0.5.0.gh.tar.gz 36710 BLAKE2B 12819b645154fd9ea68cd2b4f605c8ea3fcbec5005754acfd0e96081527c66a04d37ab73c8c967f5989abf97f155263c98ccb3ce6e0bc1fe9d9e5dbbc639c902 SHA512 b5ff3f79c54028b8d1442414353e4872fb0249c75ce9dedff9c907bd1307841996c254b502d18f32469d938a62add2acdd77080c693069a4b01afecca382a67e diff --git a/app-portage/gentoopm/gentoopm-0.3.3.ebuild b/app-portage/gentoopm/gentoopm-0.3.3.ebuild deleted file mode 100644 index a97e106c1412..000000000000 --- a/app-portage/gentoopm/gentoopm-0.3.3.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 - -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 - -DESCRIPTION="A common interface to Gentoo package managers" -HOMEPAGE="https://github.com/mgorny/gentoopm/" -SRC_URI="https://github.com/mgorny/gentoopm/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~mips ~sparc x86 ~x64-macos" -IUSE="" - -RDEPEND=" - || ( - >=sys-apps/pkgcore-0.9.4[${PYTHON_USEDEP}] - >=sys-apps/portage-2.1.10.3[${PYTHON_USEDEP}] )" -PDEPEND="app-eselect/eselect-package-manager" - -python_test() { - esetup.py test -} diff --git a/app-portage/gentoopm/gentoopm-0.5.0.ebuild b/app-portage/gentoopm/gentoopm-0.5.0.ebuild new file mode 100644 index 000000000000..b410c9550d62 --- /dev/null +++ b/app-portage/gentoopm/gentoopm-0.5.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A common interface to Gentoo package managers" +HOMEPAGE=" + https://github.com/projg2/gentoopm/ + https://pypi.org/project/gentoopm/ +" +SRC_URI=" + https://github.com/projg2/gentoopm/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv sparc x86 ~x64-macos" + +RDEPEND=" + || ( + >=sys-apps/pkgcore-0.12.19[${PYTHON_USEDEP}] + >=sys-apps/portage-2.1.10.3[${PYTHON_USEDEP}] + ) +" +PDEPEND=" + app-eselect/eselect-package-manager +" + +distutils_enable_tests pytest diff --git a/app-portage/gentoopm/gentoopm-9999.ebuild b/app-portage/gentoopm/gentoopm-9999.ebuild index 840415f2aa12..216267845773 100644 --- a/app-portage/gentoopm/gentoopm-9999.ebuild +++ b/app-portage/gentoopm/gentoopm-9999.ebuild @@ -1,29 +1,31 @@ -# 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 -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} pypy3 ) -EGIT_REPO_URI="https://github.com/mgorny/gentoopm.git" inherit distutils-r1 git-r3 DESCRIPTION="A common interface to Gentoo package managers" -HOMEPAGE="https://github.com/mgorny/gentoopm/" -SRC_URI="" +HOMEPAGE=" + https://github.com/projg2/gentoopm/ + https://pypi.org/project/gentoopm/ +" +EGIT_REPO_URI="https://github.com/projg2/gentoopm.git" LICENSE="BSD-2" SLOT="0" -KEYWORDS="" -IUSE="" RDEPEND=" || ( - >=sys-apps/pkgcore-0.9.4[${PYTHON_USEDEP}] - >=sys-apps/portage-2.1.10.3[${PYTHON_USEDEP}] )" -PDEPEND="app-eselect/eselect-package-manager" + >=sys-apps/pkgcore-0.12.19[${PYTHON_USEDEP}] + >=sys-apps/portage-2.1.10.3[${PYTHON_USEDEP}] + ) +" +PDEPEND=" + app-eselect/eselect-package-manager +" -python_test() { - esetup.py test -} +distutils_enable_tests pytest diff --git a/app-portage/gentoopm/metadata.xml b/app-portage/gentoopm/metadata.xml index 96a81859dd9c..4eaa4cb48702 100644 --- a/app-portage/gentoopm/metadata.xml +++ b/app-portage/gentoopm/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> <email>mgorny@gentoo.org</email> @@ -11,7 +11,8 @@ <email>mgorny@gentoo.org</email> <name>Michał Górny</name> </maintainer> - <bugs-to>https://github.com/mgorny/gentoopm/issues/</bugs-to> - <remote-id type="github">mgorny/gentoopm</remote-id> + <bugs-to>https://github.com/projg2/gentoopm/issues/</bugs-to> + <remote-id type="github">projg2/gentoopm</remote-id> + <remote-id type="pypi">gentoopm</remote-id> </upstream> </pkgmetadata> diff --git a/app-portage/getdelta/Manifest b/app-portage/getdelta/Manifest deleted file mode 100644 index e296fc621959..000000000000 --- a/app-portage/getdelta/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST getdelta-0.7.8.tar.bz2 10335 BLAKE2B ab2093a805649904405d23d7ec7afb2f338e87864c91f8aeb13efa2547f5493080cc1249a28a73da8e17d6b5aaff6fc00f217fe5b8df51db4fbea2420a88a523 SHA512 66374ce1a0ec5492d11478ddcaeb67b497a44357605f3cd1b9176796ca9f69d8c6865f9db188a6d7722c4ab372a5a317dfa6fafe97d9f08f76f332469f1ee2b2 diff --git a/app-portage/getdelta/files/getdelta-0.7.9.patch b/app-portage/getdelta/files/getdelta-0.7.9.patch deleted file mode 100644 index 9ab117e59c95..000000000000 --- a/app-portage/getdelta/files/getdelta-0.7.9.patch +++ /dev/null @@ -1,252 +0,0 @@ ---- getdelta.sh 2007-07-13 16:30:26.000000000 +0000 -+++ getdelta.sh 2010-08-27 17:23:31.692000002 +0000 -@@ -25,6 +25,9 @@ - VERSION="0.7" - - # Changelog -+# version 0.7.9 2008/10/08 -+# - add second parameter for destination name (EAPI=2) -+# - quote more carefully - # version 0.7.8 2007/07/13 - # - added option -O to call of emerge when finding mirrors - # - replaced some calls of coreutils with bash-internals -@@ -326,13 +329,13 @@ - - remove() { - output "${GREEN}You have chosen to remove ${CYAN}$1\n" -- pushd ${DISTDIR} >/dev/null 2>&1 -+ pushd -- "${DISTDIR}" >/dev/null 2>&1 - removeme=true - for n in $(grep -v "^#" ${DO_NOT_REMOVE}) - do - grep -q $n <<< "$1" && removeme=false && output "${CYAN}${1}${RED} is not deleted, since it matches ${n} in ${DO_NOT_REMOVE}" - done -- $removeme && rm -f $1 -+ $removeme && rm -f -- "$1" - popd >/dev/null 2>&1 - } - -@@ -349,7 +352,7 @@ - -e "s/src4/srcDDD/g" \ - -e "s/src5/srcEEE/g" \ - -e "s/src6/srcFFF/g" \ -- -e "s/src7/srcGGG/g" <<< $MASK_FILENAME) -+ -e "s/src7/srcGGG/g" <<< "$MASK_FILENAME") - fi - - # ignore PR for src-files of firefox -@@ -375,7 +378,7 @@ - -e "s/rc//g" \ - -e "s/[\._-]//g" \ - -e "s/\+//g" \ -- -e "s/ //g" <<< $MASK_FILENAME) -+ -e "s/ //g" <<< "$MASK_FILENAME") - } - - # create or update a config-file -@@ -384,6 +387,7 @@ - add_to_configfile LOCAL_MIRROR "" "set this to one or more (space separated) URI ending with '/' if you want to check one or more local mirror(s) first\n# most people just leave it empty." - add_to_configfile DELTUP_SERVER "http://linux01.gwdg.de/~nlissne/deltup.php" "deltup-server to use" - add_to_configfile FETCH "/usr/bin/wget -t 1 --passive-ftp" "command to use for downloading" -+add_to_configfile FETCHNAME "\$FETCH -O" "command to use for downloading; first parameter is the filename, second the url" - add_to_configfile QUEUERETRY 15 "number of seconds to wait before a queued request is retried" - add_to_configfile MAXIMUM_ACCEPTABLE_QUEUEPOS "15" "the maximum queuepos you would accept (if higher download full archive instead)" - add_to_configfile QUEUETIMEOUT 900 "when a dtu-request is queued - how long should we wait max. before downloading the original archive instead (in seconds)" -@@ -424,14 +428,14 @@ - add_to_donotremove "^rp-pppoe" - - --if [ -z $1 ] -+if [ -z "$1" ] - then - COLOR=true - echo -e "${YELLOW}getdelta.sh version ${VERSION}" - echo "This script has to be called like this:" - echo -e "${CYAN}$0 <URI>" - echo -e "\n${YELLOW}To use it, you should just put the following line into your /etc/make.conf" -- echo -e "${GREEN}FETCHCOMMAND=\"$0 \\\${URI}\"" -+ echo -e "${GREEN}FETCHCOMMAND=\"$0 \\\"\\\${URI}\\\" \\\"\\\${FILE}\\\"\"" - echo -e "\n${YELLOW}There is a config-file ${CYAN}${GETDELTA_CONFIGFILE}${YELLOW} with some variables to control the behaviour of this script." - echo -e "Edit it to your needs.${NORMAL}" - exit 1 -@@ -464,10 +468,12 @@ - output "use getdelta.sh for your FETCHCOMMAND, only." && - sleep 5 && exit 1 - --pushd $DISTDIR >/dev/null 2>/dev/null -+pushd -- "$DISTDIR" >/dev/null 2>/dev/null - ORIG_URI=$1 - NEW_FILE=$(basename $ORIG_URI) - -+[ -z "${NEW_FILE}" ] && NEW_FILE=${ORIG_URI##*/} -+ - # repoman downloads metadata.dtd with FETCHCOMMAND - # this should not be done with getdelta - so just fetch the file and exit - -@@ -475,7 +481,7 @@ - # dtu files. - if [ "${NEW_FILE}" = "metadata.dtd" ] || [ "$GETDELTA" = "0" ] - then -- $FETCH $@ -+ $FETCHNAME "$NEW_FILE" "$ORIG_URI" - exit $? - fi - -@@ -516,7 +522,7 @@ - # - output "${GREEN}Searching for a previously downloaded file in ${YELLOW}${DISTDIR}\n" - --first_chars=$(sed 's/[[:digit:]][[:print:]]*$//' <<< $NEW_FILE) -+first_chars=$(sed 's/[[:digit:]][[:print:]]*$//' <<< "$NEW_FILE") - length_first_chars=${#first_chars} - [ $length_first_chars -lt 3 ] && first_chars="${NEW_FILE:0:2}" - -@@ -527,7 +533,7 @@ - let len1=${#mask} - filelist="" - --for name in $( ls ${first_chars}* 2>/dev/null ) -+for name in $( ls -- "${first_chars}"* 2>/dev/null ) - do - mask2=$(mask_name "${name}") - # add any file, that results in the same mask or differ not more than two letters -@@ -582,7 +588,7 @@ - - # find matching part of filename - first: frontmatch - x=0; -- a=($NEW_FILE $filelist) -+ a=("$NEW_FILE" $filelist) - match="" - while [ -z "$match" ] - do -@@ -657,7 +663,7 @@ - FILE_IS_CORRUPT=false - if $CHECK_OLD_FILE - then -- file_digest=$(grep -h ${best_candidate} ${FILESDIR}/digest-* | sed -n 1p) -+ file_digest=$(grep -h ${best_candidate} "${FILESDIR}"/digest-* | sed -n 1p) - if [ "$file_digest" ] - then - file_md5=$(cut -d ' ' -f2 <<< "$file_digest") -@@ -669,7 +675,7 @@ - FILE_IS_CORRUPT=true - fi - else -- if [ $(rev <<< ${best_candidate} | cut -d. -f2 | rev) = "tar" ] -+ if [ $(rev <<< "${best_candidate}" | cut -d. -f2 | rev) = "tar" ] - then - output "${YELLOW}Could not find a digest-file for ${CYAN}${best_candidate}${YELLOW}. Testing file integrity with tar.\n" - if ! tar -tf ${best_candidate} >/dev/null -@@ -698,17 +704,16 @@ - - # Remember where we are, and go to a new dir there we can work - tmp_dwn_dest="${DISTDIR}/.getdelta-`date +%N`-tmp" -- mkdir ${tmp_dwn_dest} -+ mkdir -- "${tmp_dwn_dest}" - # If user abort Ctrl+C (signal 2), remove tmp-dir; enabable trap again and send it again to stop wget -- trap "rm -r ${tmp_dwn_dest}; trap 2; kill -2 $$" 2 -- pushd ${tmp_dwn_dest} >/dev/null 2>&1 -+ trap 'rm -r -- "${tmp_dwn_dest}"; trap 2; kill -2 '$$ 2 -+ pushd -- "${tmp_dwn_dest}" >/dev/null 2>&1 - - # thanks to MATSUI Fe2+ Tetsushi for idea and patch - FILESIZE=$(stat -c %s "${DISTDIR}/${best_candidate}") - let TIMELIMIT=${FILESIZE}/${BANDWIDTH} - [[ $TIMELIMIT -lt $QUEUETIMEOUT ]] && QUEUETIMEOUT=$TIMELIMIT -- -- if $FETCH "${DELTUP_SERVER}${query}" -+ if $FETCH "${DELTUP_SERVER}${query}" -O ${best_candidate}-${NEW_FILE}.dtu - then - # thanks to deelkar for this much more elegant solution to the "broken pipe" problem with "head -n1" - GOTFILE=$(ls -c | sed -n 1p) -@@ -718,15 +723,15 @@ - # may have sento to us. - - # first: the request have been queued -- if [ "${GOTFILE}" = "deltup-queued" ] -+# if [ "${GOTFILE}" = "deltup-queued" ] -+ if [[ "$(file -bi ${GOTFILE}|cut -d ";" -f1)" != "application/x-bzip2" && "$(cat ${GOTFILE}|cut -d "," -f1)" != "sorry" ]] - then - let QTMOUT=$(date +%s)+QUEUETIMEOUT -- while [ -f deltup-queued ] -+ while [[ "$(file -bi ${GOTFILE}|cut -d ";" -f1)" != "application/x-bzip2" && "$(cat ${GOTFILE}|cut -d "," -f1)" != "sorry" ]] - do - output "${GREEN}destination file: ${CYAN}${NEW_FILE}\n" -- output "${YELLOW}$(cat deltup-queued)" -- QUEUEPOS=$(grep "has been queued" deltup-queued | cut -d. -f2 | cut -d")" -f1) -- rm -f deltup-queued -+ output "${YELLOW}$(cat ${GOTFILE})" -+ QUEUEPOS=$(grep "has been queued" ${GOTFILE} | cut -d. -f2 | cut -d")" -f1) - TSTAMP=$(date +%s) - if ((TSTAMP<QTMOUT)) && ((QUEUEPOS<=MAXIMUM_ACCEPTABLE_QUEUEPOS)) - then -@@ -741,7 +746,7 @@ - sleep 1 - done - echo -n -e "${NORMAL}" -- $FETCH "${DELTUP_SERVER}${query}" -+ $FETCH "${DELTUP_SERVER}${query}" -O ${best_candidate}-${NEW_FILE}.dtu - GOTFILE=$(ls -c | sed -n 1p) - else - if ((TSTAMP>=QTMOUT)) -@@ -761,20 +766,20 @@ - done - fi - -- if [ -f ${best_candidate}-${NEW_FILE}.failed ] -+ if [ "$(cat ${GOTFILE}|cut -d "," -f1)" = "sorry" ] - then - output "\n${RED}The server could not build the dtu-file for ${NEW_FILE}\n" -- output "${YELLOW}reason:\n${RED}$(cat ${best_candidate}-${NEW_FILE}.failed)\n" -- rm -rf ${best_candidate}-${NEW_FILE}.failed -+ output "${YELLOW}reason:\n${RED}$(cat ${GOTFILE})\n" -+ rm -rf -- "${GOTFILE}" - fi - -- if [ -f ${best_candidate}-${NEW_FILE}.dtu ] -+ if [ -f "${best_candidate}-${NEW_FILE}.dtu" ] - then - output "${GREEN}Successfully fetched the dtu-file - let's build ${NEW_FILE}...\n" -- downloadsize=$(stat -c %s ${best_candidate}-${NEW_FILE}.dtu) -- if deltup -p -v -D ${DISTDIR} ${best_candidate}-${NEW_FILE}.dtu -+ downloadsize=$(stat -c %s "${best_candidate}-${NEW_FILE}.dtu") -+ if deltup -p -v -D "${DISTDIR}" "${best_candidate}-${NEW_FILE}.dtu" - then -- newsize=$(stat -c %s ${NEW_FILE}) -+ newsize=$(stat -c %s "${NEW_FILE}") - let savedsize=${newsize}-${downloadsize} - let percent=${savedsize}*100/${newsize} - unit="bytes" -@@ -791,8 +796,8 @@ - esac - output "${YELLOW}This dtu-file saved ${UCOLOR}${savedsize} ${unit} (${percent}%)${YELLOW} download size.\n" - fi -- mv -f ${NEW_FILE} ${DISTDIR} && -- ${REMOVE_OLD} && remove "${best_candidate}" -+ mv -f -- "${NEW_FILE}" "${DISTDIR}" && -+ ${REMOVE_OLD} && remove ${best_candidate} - fi - - fi # if $FETCH "${DELTUP_SERVER}${query}" -@@ -812,7 +817,7 @@ - read - fi - popd >/dev/null 2>&1 -- rm -rf ${tmp_dwn_dest} -+ rm -rf -- "${tmp_dwn_dest}" - #stop respond to trap2 - trap 2 - fi # if ! FILE_IS_CORRUPT -@@ -824,10 +829,10 @@ - - # Ok, once we are here, we should have got the delta (and used it) - # or we still have to download the full file --if ! [ -f ${DISTDIR}/${NEW_FILE} ] -+if ! [ -f "${DISTDIR}/${NEW_FILE}" ] - then - output "${RED}The dtu could not be fetched,${YELLOW} downloading full file from original URL\n" -- $FETCH $ORIG_URI -+ $FETCHNAME "$NEW_FILE" "$ORIG_URI" - # remember we had a fallback to use correct exitcode for portage - FALLBACK=$? - fi diff --git a/app-portage/getdelta/getdelta-0.7.9-r2.ebuild b/app-portage/getdelta/getdelta-0.7.9-r2.ebuild deleted file mode 100644 index db9e237e7914..000000000000 --- a/app-portage/getdelta/getdelta-0.7.9-r2.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit epatch - -DESCRIPTION="dynamic deltup client" -HOMEPAGE="http://linux01.gwdg.de/~nlissne/" -SRC_URI="http://linux01.gwdg.de/~nlissne/${PN}-0.7.8.tar.bz2" -SLOT="0" -IUSE="" -LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~sparc ~x86" - -RDEPEND="app-portage/deltup - dev-util/bdelta" - -S=${WORKDIR} - -src_prepare() { - epatch "${FILESDIR}"/${P}.patch -} - -src_install() { - # portage has moved make.globals, so we just hotfix it - sed -i -e "s:/etc/make.globals:/usr/share/portage/config/make.globals:g" "${WORKDIR}"/getdelta.sh || die "Couldn't fix make.globals path" - - # make.conf has now two locations. This should fix it ( #461726 ) - sed -i -e "s:source /etc/make.conf:source /etc/make.conf || source /etc/portage/make.conf:" "${WORKDIR}"/getdelta.sh || die "Couldn't fix make.conf path" - - sed -i -e "s:/bin/sh:/bin/bash:" "${WORKDIR}"/getdelta.sh || die - dobin "${WORKDIR}"/getdelta.sh -} - -pkg_postinst() { - elog "You need to put" - elog "FETCHCOMMAND=\"/usr/bin/getdelta.sh \\\${URI}\"" - elog "into your /etc/make.conf to make use of getdelta" - - # make sure permissions are ok - touch "${ROOT}"/var/log/getdelta.log - mkdir -p "${ROOT}"/etc/deltup - chown -R portage:portage "${ROOT}"/{var/log/getdelta.log,etc/deltup} - chmod -R ug+rwX "${ROOT}"/{var/log/getdelta.log,etc/deltup} -} diff --git a/app-portage/getdelta/metadata.xml b/app-portage/getdelta/metadata.xml deleted file mode 100644 index f3de5f693ed8..000000000000 --- a/app-portage/getdelta/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>patrick@gentoo.org</email> - <name>Patrick Lauer</name> - </maintainer> -</pkgmetadata> diff --git a/app-portage/getuto/Manifest b/app-portage/getuto/Manifest new file mode 100644 index 000000000000..452b03450438 --- /dev/null +++ b/app-portage/getuto/Manifest @@ -0,0 +1,4 @@ +DIST getuto-1.10.2.tar.gz 10561 BLAKE2B 93093e9027b6fc1f8e2dac5fbcdab847c95742fe2e5b4fa142591039f639570a589b28f954cb7290d22b06cd18d189d2176d937bbd256a2cd91270c5c762c3b9 SHA512 9e559551a0b85d1fd41202d6cc6d328021320647789d374c6ccacd5a7d29beb63959385499b84bc3b3bea18b17c50d54a78526150d39b4103719753930f1fff3 +DIST getuto-1.11.tar.gz 10686 BLAKE2B c92121dc9b02e6af5101dcd27a64e59828270fd54a42a9b333d844d0f75d93206f91f130699f7dbf6d825cbc2c2a341ced9f1f0247ed1ee39ef5226a51f59c0e SHA512 f73b81134b8cf306b19fdc49bd797278ea08b5c64695dd4da9c4000701e627c9b8b7a8909bff4fd4a72b801df6bcbf6d1638b126556dd9b11628989e8602b6be +DIST getuto-1.9.1.tar.gz 10220 BLAKE2B 4c756f36e9d1272ab194c65e75b6c4d47c248190029ce2b5fe6edb1253998aaa311dd1ae59f893200d1588a52d1bcb53376a32f279c841ae6b5cf5e5b0eeb163 SHA512 3f8e5359940fa5582bea8dc11f2a0846c3f6bdc555974f2f049d5c6ff282029b6393a8c6ae221d327376b4df05de492f44720de90f76f5e3deb436171507f0cb +DIST libc-1-r1-1.gpkg.tar 20480 BLAKE2B b2c184e20c1a29ff66240e992f9f81219285f525eb63cea081372685cf03a2e231a2edb528259617e74c655fbe61b6e0d8fc0bbdbd8452b6098de58432f019d7 SHA512 ce52f398ea8979ec16161381803740d49a4294c77303880f54090c379ba5eb8e545a3d3550f229cacc18c7763dc3adf7936561ba1c64b43c87692ec66084e4e6 diff --git a/app-portage/getuto/getuto-1.10.2.ebuild b/app-portage/getuto/getuto-1.10.2.ebuild new file mode 100644 index 000000000000..2a7563e23c9e --- /dev/null +++ b/app-portage/getuto/getuto-1.10.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Standalone Gentoo gpg trust anchor generation tool for binpkgs" +HOMEPAGE="https://github.com/projg2/getuto" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/projg2/getuto" + inherit git-r3 +else + SRC_URI=" + https://github.com/projg2/getuto/archive/refs/tags/${P}.tar.gz + " + S=${WORKDIR}/${PN}-${P} + + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" +fi + +SRC_URI+=" test? ( https://mirror.bytemark.co.uk/gentoo/releases/amd64/binpackages/17.1/x86-64/virtual/libc/libc-1-r1-1.gpkg.tar )" + +LICENSE="GPL-2" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + app-crypt/gnupg + dev-libs/openssl + sec-keys/openpgp-keys-gentoo-release + sys-apps/gentoo-functions +" + +src_unpack() { + if [[ ${PV} == 9999 ]] ; then + git-r3_src_unpack + else + # Don't mangle test data + unpack ${P}.tar.gz + fi + + if use test ; then + cp "${DISTDIR}"/libc-1-r1-1.gpkg.tar "${S}" || die + fi +} + +src_install() { + dobin getuto +} diff --git a/app-portage/getuto/getuto-1.11.ebuild b/app-portage/getuto/getuto-1.11.ebuild new file mode 100644 index 000000000000..7be78a7129e1 --- /dev/null +++ b/app-portage/getuto/getuto-1.11.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Standalone Gentoo gpg trust anchor generation tool for binpkgs" +HOMEPAGE="https://github.com/projg2/getuto" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/projg2/getuto" + inherit git-r3 +else + SRC_URI=" + https://github.com/projg2/getuto/archive/refs/tags/${P}.tar.gz + " + S=${WORKDIR}/${PN}-${P} + + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +SRC_URI+=" test? ( https://mirror.bytemark.co.uk/gentoo/releases/amd64/binpackages/17.1/x86-64/virtual/libc/libc-1-r1-1.gpkg.tar )" + +LICENSE="GPL-2" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + app-crypt/gnupg + dev-libs/openssl + sec-keys/openpgp-keys-gentoo-release + sys-apps/gentoo-functions +" + +src_unpack() { + if [[ ${PV} == 9999 ]] ; then + git-r3_src_unpack + else + # Don't mangle test data + unpack ${P}.tar.gz + fi + + if use test ; then + cp "${DISTDIR}"/libc-1-r1-1.gpkg.tar "${S}" || die + fi +} + +src_install() { + dobin getuto +} diff --git a/app-portage/getuto/getuto-1.9.1.ebuild b/app-portage/getuto/getuto-1.9.1.ebuild new file mode 100644 index 000000000000..9f47de19cdd1 --- /dev/null +++ b/app-portage/getuto/getuto-1.9.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Standalone Gentoo gpg trust anchor generation tool for binpkgs" +HOMEPAGE="https://github.com/projg2/getuto" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/projg2/getuto" + inherit git-r3 +else + SRC_URI=" + https://github.com/projg2/getuto/archive/refs/tags/${P}.tar.gz + " + S=${WORKDIR}/${PN}-${P} + + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" +fi + +SRC_URI+=" test? ( https://mirror.bytemark.co.uk/gentoo/releases/amd64/binpackages/17.1/x86-64/virtual/libc/libc-1-r1-1.gpkg.tar )" + +LICENSE="GPL-2" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + app-crypt/gnupg + dev-libs/openssl + sec-keys/openpgp-keys-gentoo-release + sys-apps/gentoo-functions +" + +src_unpack() { + if [[ ${PV} == 9999 ]] ; then + git-r3_src_unpack + else + # Don't mangle test data + unpack ${P}.tar.gz + fi + + if use test ; then + cp "${DISTDIR}"/libc-1-r1-1.gpkg.tar "${S}" || die + fi +} + +src_install() { + dobin getuto +} diff --git a/app-portage/getuto/getuto-9999.ebuild b/app-portage/getuto/getuto-9999.ebuild new file mode 100644 index 000000000000..c5a496c6edd2 --- /dev/null +++ b/app-portage/getuto/getuto-9999.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Standalone Gentoo gpg trust anchor generation tool for binpkgs" +HOMEPAGE="https://github.com/projg2/getuto" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/projg2/getuto" + inherit git-r3 +else + SRC_URI=" + https://github.com/projg2/getuto/archive/refs/tags/${P}.tar.gz + " + S=${WORKDIR}/${PN}-${P} + + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +SRC_URI+=" test? ( https://mirror.bytemark.co.uk/gentoo/releases/amd64/binpackages/17.1/x86-64/virtual/libc/libc-1-r1-1.gpkg.tar )" + +LICENSE="GPL-2" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + app-crypt/gnupg + dev-libs/openssl + sec-keys/openpgp-keys-gentoo-release + sys-apps/gentoo-functions +" + +src_unpack() { + if [[ ${PV} == 9999 ]] ; then + git-r3_src_unpack + else + # Don't mangle test data + unpack ${P}.tar.gz + fi + + if use test ; then + cp "${DISTDIR}"/libc-1-r1-1.gpkg.tar "${S}" || die + fi +} + +src_install() { + dobin getuto +} diff --git a/app-portage/getuto/metadata.xml b/app-portage/getuto/metadata.xml new file mode 100644 index 000000000000..d83b8d67cb67 --- /dev/null +++ b/app-portage/getuto/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="person"> + <email>dilfridge@gentoo.org</email> + <name>Andreas K. Hüttel</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <bugs-to>https://github.com/projg2/getuto/issues/</bugs-to> + <remote-id type="github">projg2/getuto</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-portage/golop/golop-0.2.1-r1.ebuild b/app-portage/golop/golop-0.2.1-r1.ebuild new file mode 100644 index 000000000000..ce8d84d8a050 --- /dev/null +++ b/app-portage/golop/golop-0.2.1-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="A pure Go re-implementation of genlop" +HOMEPAGE="https://github.com/klausman/golop" +SRC_URI="https://github.com/klausman/golop/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +src_compile() { + ego build -v -o ${PN} +} + +src_install() { + dobin ${PN} + + local DOCS=( README.md ) + einstalldocs +} diff --git a/app-portage/golop/golop-0.2.1.ebuild b/app-portage/golop/golop-0.2.1.ebuild deleted file mode 100644 index fa33821ab317..000000000000 --- a/app-portage/golop/golop-0.2.1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -EGO_PN=github.com/klausman/golop - -if [[ ${PV} = *9999* ]]; then - inherit golang-vcs -else - KEYWORDS="~amd64 ~x86" - EGIT_COMMIT=v${PV} - SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - inherit golang-vcs-snapshot -fi -inherit golang-build - -DESCRIPTION="A pure Go re-implementation of genlop" -HOMEPAGE="https://github.com/klausman/golop" -LICENSE="Apache-2.0" -SLOT="0" -IUSE="" -DEPEND="" -RDEPEND="" - -src_install() { - dobin ${PN} - - declare -a DOCS - DOCS+=( src/${EGO_PN}/README.md ) - einstalldocs -} diff --git a/app-portage/golop/golop-9999.ebuild b/app-portage/golop/golop-9999.ebuild deleted file mode 100644 index 461b2e016c8d..000000000000 --- a/app-portage/golop/golop-9999.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -EGO_PN=github.com/klausman/golop - -if [[ ${PV} = *9999* ]]; then - inherit golang-vcs -else - KEYWORDS="~amd64 ~x86" - EGIT_COMMIT=v${PV} - SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - inherit golang-vcs-snapshot -fi -inherit golang-build prefix - -DESCRIPTION="A pure Go re-implementation of genlop" -HOMEPAGE="https://github.com/klausman/golop" -LICENSE="Apache-2.0" -SLOT="0" -IUSE="" -DEPEND="" -RDEPEND="" - -src_prepare() { - sed -i -e 's@/var/log/emerge.log@'"${EPREFIX}"'&@g' src/github.com/klausman/golop/main.go || die - default -} - -src_install() { - dobin ${PN} - - declare -a DOCS - DOCS+=( src/${EGO_PN}/README.md ) - einstalldocs -} diff --git a/app-portage/golop/metadata.xml b/app-portage/golop/metadata.xml index 9cd9d4eefb09..94f2ca024598 100644 --- a/app-portage/golop/metadata.xml +++ b/app-portage/golop/metadata.xml @@ -1,14 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>klausman@gentoo.org</email> - <name>Tobias Klausmann</name> - </maintainer> - <maintainer type="person"> - <email>whissi@gentoo.org</email> - <name>Thomas Deutschmann</name> - </maintainer> + <!-- maintainer-needed --> <upstream> <bugs-to>https://github.com/klausman/golop/issues/</bugs-to> <changelog>https://github.com/klausman/golop/commits/master</changelog> diff --git a/app-portage/gpyutils/Manifest b/app-portage/gpyutils/Manifest index 30ed75896699..31f8a41bf10f 100644 --- a/app-portage/gpyutils/Manifest +++ b/app-portage/gpyutils/Manifest @@ -1,2 +1 @@ -DIST gpyutils-0.6.1.tar.gz 23914 BLAKE2B 1e799ce33a949037b68262cb7a6ca5fd99b4ca4ec74c3044bfb31ea08b59906a21f6c96cdf99330f6af16d68be6ee7ab49c3cf05979691899abaacc9d62032eb SHA512 74d984e496ccfa7124cfefd9f8f79d5fab4bb4dbf5e61f4400b39367dd54e23b871f286eef28007a5c255b862533a34948449bbf7aed55cf8fe315e76ac876ea -DIST gpyutils-0.6.tar.gz 23862 BLAKE2B 6992aa6260dcb495bb6d1ec3615d9acbb60d79bdaa50f2ba29da0ee1ed9f0931726a2e71cce296eb05d37715b94386352137e86072a7ced789c53dd1dc9e9a2c SHA512 1174ed9f645eb0e7b435677c0f8ad19eeae54479f319aa1d192215e2c83642df68ba37d9e0113a505468f9e05f8e6822ae32b5965e8d7601a545f4d0c9387231 +DIST gpyutils-0.13.1.gh.tar.gz 31758 BLAKE2B a7eb282dff3b65e7cdf50c3ae5d787a4cdc49bda2030d88525b5d1752eafb5b9548873832512f3b9449eeef26198adea89b8e339e997a002eea32215c8a5b783 SHA512 0126f6f1253d39dca6ff2c2191c44831c562494883b8d6e48b6b313914689f5389acc2fde2eba21d538a452d3eea3ee92057ca1ba2edb72bd293b6731f4959ef diff --git a/app-portage/gpyutils/files/implementations.txt b/app-portage/gpyutils/files/implementations.txt index f8f378e84459..17f2119d1046 100644 --- a/app-portage/gpyutils/files/implementations.txt +++ b/app-portage/gpyutils/files/implementations.txt @@ -17,9 +17,11 @@ python3_4 dead 3.4 python3_5 dead 3.5 python3_6 dead 3.6 python3_7 dead 3.7 -python3_8 old 3.8 -python3_9 current 3.9 +python3_8 dead 3.8 +python3_9 dead 3.9 python3_10 supported 3.10 +python3_11 current 3.11 +python3_12 supported 3.12 pypy1_8 2.7-pypy-1.8 dead p1.8 pypy1_9 2.7-pypy-1.9 dead p1.9 diff --git a/app-portage/gpyutils/gpyutils-0.13.1.ebuild b/app-portage/gpyutils/gpyutils-0.13.1.ebuild new file mode 100644 index 000000000000..3e8b40b49ef2 --- /dev/null +++ b/app-portage/gpyutils/gpyutils-0.13.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Utitilies for maintaining Python packages" +HOMEPAGE=" + https://github.com/projg2/gpyutils/ + https://pypi.org/project/gpyutils/ +" +SRC_URI=" + https://github.com/projg2/gpyutils/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc x86" + +RDEPEND=" + >=app-portage/gentoopm-0.3.2[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/app-portage/gpyutils/gpyutils-0.6.1.ebuild b/app-portage/gpyutils/gpyutils-0.6.1.ebuild deleted file mode 100644 index 9960fab01e41..000000000000 --- a/app-portage/gpyutils/gpyutils-0.6.1.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 - -DESCRIPTION="Utitilies for maintaining Python packages" -HOMEPAGE="https://github.com/mgorny/gpyutils/" -SRC_URI=" - https://github.com/mgorny/gpyutils/archive/v${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=">=app-portage/gentoopm-0.3.2[${PYTHON_USEDEP}]" - -python_test() { - esetup.py test -} diff --git a/app-portage/gpyutils/gpyutils-0.6.ebuild b/app-portage/gpyutils/gpyutils-0.6.ebuild deleted file mode 100644 index f00bb9f55f46..000000000000 --- a/app-portage/gpyutils/gpyutils-0.6.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{8..9} ) - -inherit distutils-r1 - -DESCRIPTION="Utitilies for maintaining Python packages" -HOMEPAGE="https://github.com/mgorny/gpyutils/" -SRC_URI=" - https://github.com/mgorny/gpyutils/archive/v${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -RDEPEND=">=app-portage/gentoopm-0.3.2[${PYTHON_USEDEP}]" - -python_test() { - esetup.py test -} diff --git a/app-portage/gpyutils/gpyutils-9999.ebuild b/app-portage/gpyutils/gpyutils-9999.ebuild deleted file mode 100644 index c1d6bf513297..000000000000 --- a/app-portage/gpyutils/gpyutils-9999.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{8..10} ) - -EGIT_REPO_URI="https://github.com/mgorny/gpyutils.git" -inherit distutils-r1 git-r3 - -DESCRIPTION="Utitilies for maintaining Python packages" -HOMEPAGE="https://github.com/mgorny/gpyutils/" -SRC_URI="" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="" -IUSE="" - -RDEPEND=">=app-portage/gentoopm-0.3.2[${PYTHON_USEDEP}]" - -python_test() { - esetup.py test -} diff --git a/app-portage/gpyutils/metadata.xml b/app-portage/gpyutils/metadata.xml index 91decfc24b95..89201d449b7c 100644 --- a/app-portage/gpyutils/metadata.xml +++ b/app-portage/gpyutils/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> <email>mgorny@gentoo.org</email> @@ -11,7 +11,8 @@ <email>mgorny@gentoo.org</email> <name>Michał Górny</name> </maintainer> - <bugs-to>https://github.com/mgorny/gpyutils/issues/</bugs-to> - <remote-id type="github">mgorny/gpyutils</remote-id> + <bugs-to>https://github.com/projg2/gpyutils/issues/</bugs-to> + <remote-id type="github">projg2/gpyutils</remote-id> + <remote-id type="pypi">gpyutils</remote-id> </upstream> </pkgmetadata> diff --git a/app-portage/grs/Manifest b/app-portage/grs/Manifest index 6fc83dd26ee7..59a144c1406a 100644 --- a/app-portage/grs/Manifest +++ b/app-portage/grs/Manifest @@ -1,2 +1,3 @@ DIST ISO-1.tar.gz 2887967 BLAKE2B 0ae9d9c4078974316d6865a8601705f7c69c8305d8401835bfa544d14a90b3688ea6b881a1c07bcb969fe2b15f210d05f114ebaf3af5ba6f1ae3705d395f1603 SHA512 50bd9bcaa3d1900763936beb4801fd9e5cb963e39d51c39c9cc9a8d160469db1b0c6fffae01bbb5d5d5c6d4e42d84a6c499c465bbdd964835c2d190785eed52d DIST grs-0.7.tar.gz 36330 BLAKE2B 9e835262656f8a51969810f92a1ae801bc058c4529c01fe1998227fa8b81939c1d7db9f335f5a18f18d9cbd53ec809d289efd80ba7543b3b61a8dee1296bd780 SHA512 b530d66e3402e34f1c4efdff0af0e1d0f0ccf311c440c8d5ee050f8a8ab178d663433f766d507c5b1280ef9056fd97d05915e65e07a1a59bb8a3c80fd4bab4c6 +DIST grs-0.8.tar.gz 36501 BLAKE2B 2ed3391d2b12f41d2e50b54518728c642ede0deecca71aa6c6977bc4b01d53cd0274623b09e5be898a00254148d1cdcb8751d3cac50cf08ab1358cd1b7ad7007 SHA512 ae17c0af785cd4a75cb94bebb9b61c69b8e0a772643fdc7d978dfba274419bec76f4c9bafa984a83d86b13eb919ded51ac06cc7965fea2f0aab71cbaebeb2a84 diff --git a/app-portage/grs/grs-0.7.ebuild b/app-portage/grs/grs-0.7.ebuild index ab99785d4f64..f4ad029668a2 100644 --- a/app-portage/grs/grs-0.7.ebuild +++ b/app-portage/grs/grs-0.7.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" -PYTHON_COMPAT=( python3_{7,8} ) +EAPI="8" +PYTHON_COMPAT=( python3_{9,10,11} ) +DISTUTILS_USE_SETUPTOOLS=no inherit distutils-r1 linux-info @@ -27,7 +28,7 @@ IUSE="server" DEPEND="" RDEPEND=" - sys-apps/portage + sys-apps/portage[${PYTHON_USEDEP}] server? ( app-arch/tar[xattr] app-cdr/cdrtools @@ -36,10 +37,7 @@ RDEPEND=" dev-vcs/git net-misc/rsync sys-fs/squashfs-tools - || ( - sys-kernel/genkernel - sys-kernel/genkernel-next - ) + sys-kernel/genkernel )" pkg_setup() { diff --git a/app-portage/grs/grs-0.8-r1.ebuild b/app-portage/grs/grs-0.8-r1.ebuild new file mode 100644 index 000000000000..c9da5b2394a2 --- /dev/null +++ b/app-portage/grs/grs-0.8-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" +PYTHON_COMPAT=( python3_{9,10,11} ) +DISTUTILS_USE_SETUPTOOLS=no + +inherit distutils-r1 linux-info + +ISO="ISO-1.tar.gz" + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/grss.git" + SRC_URI="https://dev.gentoo.org/~blueness/${PN}/${ISO}" + inherit git-r3 +else + SRC_URI="https://dev.gentoo.org/~blueness/${PN}/${P}.tar.gz + https://dev.gentoo.org/~blueness/${PN}/${ISO}" + KEYWORDS="amd64 ~arm ~arm64 ~x86" +fi + +DESCRIPTION="Suite to build Gentoo Reference Systems" +HOMEPAGE="https://dev.gentoo.org/~blueness/grs" + +LICENSE="GPL-2" +SLOT="0" +IUSE="server" + +DEPEND="" +RDEPEND=" + sys-apps/portage[${PYTHON_USEDEP}] + server? ( + app-arch/tar[xattr] + app-cdr/cdrtools + app-crypt/md5deep + dev-libs/libcgroup + dev-vcs/git + net-misc/rsync + sys-fs/squashfs-tools + sys-kernel/genkernel + )" + +pkg_setup() { + if use server; then + local CONFIG_CHECK="~CGROUPS" + local ERROR_CGROUPS="WARNING: grsrun requires CONFIG_CGROUPS enabled in the kernel." + linux-info_pkg_setup + fi +} + +src_install() { + distutils-r1_src_install + echo "CONFIG_PROTECT=\"/etc/grs/systems.conf\"" > "${T}"/20grs + doenvd "${T}"/20grs + if use server; then + mkdir "${D}"/usr/share/${PN} + cp "${DISTDIR}"/${ISO} "${D}"/usr/share/${PN} + else + rm "${D}"/usr/bin/grsrun + fi +} diff --git a/app-portage/grs/grs-9999.ebuild b/app-portage/grs/grs-9999.ebuild index c98149f22b02..540cf24b2eb6 100644 --- a/app-portage/grs/grs-9999.ebuild +++ b/app-portage/grs/grs-9999.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" -PYTHON_COMPAT=( python3_{7,8} ) +EAPI="8" +PYTHON_COMPAT=( python3_{9,10,11} ) +DISTUTILS_USE_SETUPTOOLS=no inherit distutils-r1 linux-info @@ -27,7 +28,7 @@ IUSE="server" DEPEND="" RDEPEND=" - sys-apps/portage + sys-apps/portage[${PYTHON_USEDEP}] server? ( app-arch/tar[xattr] app-cdr/cdrtools @@ -36,10 +37,7 @@ RDEPEND=" dev-vcs/git net-misc/rsync sys-fs/squashfs-tools - || ( - sys-kernel/genkernel - sys-kernel/genkernel-next - ) + sys-kernel/genkernel )" pkg_setup() { @@ -57,5 +55,7 @@ src_install() { if use server; then mkdir "${D}"/usr/share/${PN} cp "${DISTDIR}"/${ISO} "${D}"/usr/share/${PN} + else + rm "${D}"/usr/bin/grsrun fi } diff --git a/app-portage/grs/metadata.xml b/app-portage/grs/metadata.xml index eec62d4496e8..9a913c870972 100644 --- a/app-portage/grs/metadata.xml +++ b/app-portage/grs/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> <email>blueness@gentoo.org</email> @@ -8,4 +8,7 @@ <use> <flag name="server">Install all the tools building systems</flag> </use> + <upstream> + <remote-id type="gentoo">proj/grs</remote-id> + </upstream> </pkgmetadata> diff --git a/app-portage/gs-elpa/Manifest b/app-portage/gs-elpa/Manifest deleted file mode 100644 index d6c6eed2b83f..000000000000 --- a/app-portage/gs-elpa/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST gs-elpa-0.1.3.tar.gz 15486 BLAKE2B 6e34aa27aae9d7e27d41e122ed18890b5b63a18e5803f83aaa2fe5c82cf95fb010f7d428e576ce1c8493b27fbb587e37f74f8c9ed3ed9320722ec61eff1f535e SHA512 616c6cc33e89094e727c9ebe577d211cf9200a95b7ad6fd4b350b16d6982e3d509278b63a145880cdbc8f83481ba409b650e43260d463bf90a22e2a705997020 -DIST gs-elpa-0.2.1.tar.gz 15808 BLAKE2B b37c8d8ecb57277db89b399dd9151348a46269054722f5f29aff6b04511e098a6ddfadc163130d7f9dfbb1af6ff2d76feda695717e021a44422b67a3f335a15e SHA512 d17dab0a0dcabcd3b9fb0fe1a81dcd175808033b46cb7368c017561c060110bd39998117f6feab3e16ace7304e9dc3cf10e684efd0e77b252d8b249317c37475 diff --git a/app-portage/gs-elpa/gs-elpa-0.1.3-r1.ebuild b/app-portage/gs-elpa/gs-elpa-0.1.3-r1.ebuild deleted file mode 100644 index 82ed6a255852..000000000000 --- a/app-portage/gs-elpa/gs-elpa-0.1.3-r1.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python{3_7,3_8} ) -DISTUTILS_USE_SETUPTOOLS=no - -inherit distutils-r1 - -DESCRIPTION="g-sorcery backend for elisp packages" -HOMEPAGE="https://github.com/jauhien/gs-elpa" -SRC_URI="https://github.com/jauhien/gs-elpa/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" - -DEPEND="app-portage/g-sorcery[$(python_gen_usedep 'python*')] - dev-python/sexpdata[$(python_gen_usedep 'python*')]" -RDEPEND="${DEPEND}" - -python_install_all() { - distutils-r1_python_install_all - doman docs/*.8 -} diff --git a/app-portage/gs-elpa/gs-elpa-0.2.1.ebuild b/app-portage/gs-elpa/gs-elpa-0.2.1.ebuild deleted file mode 100644 index a523564f65f3..000000000000 --- a/app-portage/gs-elpa/gs-elpa-0.2.1.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} ) -DISTUTILS_USE_SETUPTOOLS=no - -inherit distutils-r1 - -DESCRIPTION="g-sorcery backend for elisp packages" -HOMEPAGE="https://gitweb.gentoo.org/proj/gs-elpa.git - https://github.com/jauhien/gs-elpa" -SRC_URI="https://gitweb.gentoo.org/proj/gs-elpa.git/snapshot/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" - -DEPEND="app-portage/g-sorcery[$(python_gen_usedep 'python*')] - dev-python/sexpdata[$(python_gen_usedep 'python*')]" -RDEPEND="${DEPEND}" - -python_install_all() { - distutils-r1_python_install_all - doman docs/*.8 -} diff --git a/app-portage/gs-elpa/metadata.xml b/app-portage/gs-elpa/metadata.xml deleted file mode 100644 index a70f9d31bfdb..000000000000 --- a/app-portage/gs-elpa/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>layman@gentoo.org</email> - <name>Gentoo Layman team</name> - </maintainer> - <maintainer type="project"> - <email>gnu-emacs@gentoo.org</email> - <name>Gentoo GNU Emacs project</name> - </maintainer> -</pkgmetadata> diff --git a/app-portage/gverify/gverify-2.ebuild b/app-portage/gverify/gverify-2.ebuild index 95d5f0cde54a..db36790e3f20 100644 --- a/app-portage/gverify/gverify-2.ebuild +++ b/app-portage/gverify/gverify-2.ebuild @@ -1,25 +1,33 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) -PYTHON_COMPAT=( python3_{7..9} ) inherit python-single-r1 DESCRIPTION="gentoo.git signature verification tool" -HOMEPAGE="https://github.com/mgorny/gverify" -SRC_URI="https://github.com/mgorny/gverify/archive/v${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE="https://github.com/projg2/gverify/" +SRC_URI=" + https://github.com/projg2/gverify/archive/v${PV}.tar.gz + -> ${P}.tar.gz +" LICENSE="BSD-2" SLOT="0" KEYWORDS="~amd64 ~x86" REQUIRED_USE=${PYTHON_REQUIRED_USE} -RDEPEND="${PYTHON_DEPS} +RDEPEND=" + ${PYTHON_DEPS} app-crypt/gnupg - app-crypt/openpgp-keys-gentoo-auth - dev-vcs/git" -DEPEND="${PYTHON_DEPS}" + sec-keys/openpgp-keys-gentoo-auth + dev-vcs/git +" +BDEPEND=" + ${PYTHON_DEPS} +" src_compile() { emake PREFIX="${EPREFIX}"/usr diff --git a/app-portage/gverify/metadata.xml b/app-portage/gverify/metadata.xml index 0319eec4c8be..0dd3a1ac3cc4 100644 --- a/app-portage/gverify/metadata.xml +++ b/app-portage/gverify/metadata.xml @@ -1,8 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!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> + <upstream> + <remote-id type="github">projg2/gverify</remote-id> + </upstream> </pkgmetadata> diff --git a/app-portage/hackport/Manifest b/app-portage/hackport/Manifest index 8c6f72c36bae..64c31175a24d 100644 --- a/app-portage/hackport/Manifest +++ b/app-portage/hackport/Manifest @@ -1,2 +1,2 @@ -DIST hackport-0.6.6.tar.gz 2079279 BLAKE2B 6e4084babb3fc036568387845ca2793d47a29ce94c24211259324d3040d0c0e15be028d0a9726ea8512dd518d7e9dd8447aba67725c0916418f523449f2179b4 SHA512 b836bd21e3713796feaab9ca830fdef80f52b9723d0fba6cfb60d802e038eaec2da8492eb025d6ae376aea69734c031e23c0887642675c4f767b1592d82c5523 -DIST hackport-0.7.tar.gz 2080625 BLAKE2B 87c70180df45c2bd6c6e51dff31b31c45d0c3c572223803daed8f2b9045ececa63edea1b9f35984067b393b25a31e78c761a12478c1dce6e9cc57dc4c0f1b4b0 SHA512 72f1638d2007d8b085c8dcb8d01b171c6a0e8306c71efc7be7ffc8d3e2a6fdee8e74c2bb62e8762a4315e3384d2f78ac12d45faf79b94270c638a9afc7cc1a82 +DIST hackport-0.7.2.2.tar.gz 2083323 BLAKE2B e14fbd5c5fa88260518869ad72dd59d08e7cb4351cecc35952ebfdd71e34ea335e6c4b56de7577033335e3efdbff8796fd05f1ad3df20ae84ed1bc8ef7b2153f SHA512 ce880ae8a5a4dc1d446654b8bf4108bacf4a974afaad0266c291ff9f2ab6f8af49294452314cbbeec1979c8e5ffab0860d87668f63d7d7731eb11eb3144a4bd0 +DIST hackport-0.8.4.0.tar.gz 2427117 BLAKE2B fac57e56cb09d32bd51abd5cb209920176682578cb198675d8dfca82b5b6851a5ea26758b9d83f3db74b5bc03a3ed9cb33372b56e9c314e3fdbb5fc24953e722 SHA512 4ecdc4e0eef0f27b4a79c4ad20676296d925fd51f113f701718f230ca9af2068bb44ef355cc0fdb22dceec11c2fe7aee14887bf2994d49f43bd5cfc66c9b7a79 diff --git a/app-portage/hackport/files/hackport.bash.completion b/app-portage/hackport/files/hackport.bash.completion new file mode 100644 index 000000000000..687c2046c4c2 --- /dev/null +++ b/app-portage/hackport/files/hackport.bash.completion @@ -0,0 +1,14 @@ +_hackport() +{ + local CMDLINE + local IFS=$'\n' + CMDLINE=(+RTS -I0 -A8M -N1 -qg -RTS --bash-completion-index $COMP_CWORD) + + for arg in ${COMP_WORDS[@]}; do + CMDLINE=(${CMDLINE[@]} --bash-completion-word $arg) + done + + COMPREPLY=( $(/usr/bin/hackport "${CMDLINE[@]}") ) +} + +complete -o filenames -F _hackport hackport diff --git a/app-portage/hackport/hackport-0.6.6.ebuild b/app-portage/hackport/hackport-0.6.6.ebuild deleted file mode 100644 index 149aa49011ec..000000000000 --- a/app-portage/hackport/hackport-0.6.6.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# ebuild generated by hackport 0.6.5.9999 - -CABAL_FEATURES="test-suite" -inherit haskell-cabal - -DESCRIPTION="Hackage and Portage integration tool" -HOMEPAGE="https://hackage.haskell.org/package/hackport" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="app-portage/repoman - >=dev-haskell/async-2.0:= - >=dev-haskell/base16-bytestring-0.1.1:= - >=dev-haskell/base64-bytestring-1.0:= - >=dev-haskell/cryptohash-sha256-0.11:= - dev-haskell/ed25519:= - dev-haskell/extensible-exceptions:= - >=dev-haskell/hashable-1.0:= - >=dev-haskell/http-4000.1.5:= - >=dev-haskell/lukko-0.1:= - >=dev-haskell/mtl-2.1:= - >=dev-haskell/network-2.6:= - >=dev-haskell/network-uri-2.6:= - >=dev-haskell/old-locale-1.0:= - >=dev-haskell/parsec-3.1.13:= - >=dev-haskell/random-1.0:= - dev-haskell/split:= - >=dev-haskell/stm-2.0:= - >=dev-haskell/tar-0.5:= - >=dev-haskell/text-1.2.3.0:= - >=dev-haskell/xml-1.3.7:= - >=dev-haskell/zlib-0.5.3:= - >=dev-lang/ghc-8.0.1:= -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-1.24.0.0 - test? ( >=dev-haskell/doctest-0.8 - >=dev-haskell/hspec-2.0 - >=dev-haskell/quickcheck-2.0 ) -" - -src_install() { - haskell-cabal_src_install - doman man/hackport.1 -} diff --git a/app-portage/hackport/hackport-0.7.2.2.ebuild b/app-portage/hackport/hackport-0.7.2.2.ebuild new file mode 100644 index 000000000000..9caa117dedee --- /dev/null +++ b/app-portage/hackport/hackport-0.7.2.2.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.7.1.1.9999 +#hackport: flags: +cabal-v1 + +CABAL_FEATURES="test-suite" +inherit haskell-cabal + +DESCRIPTION="Hackage and Portage integration tool" +HOMEPAGE="https://hackage.haskell.org/package/hackport" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" + +GHC_BOOTSTRAP_PACKAGES=( + cabal-doctest +) + +RDEPEND=">=dev-haskell/async-2.0:= + >=dev-haskell/base16-bytestring-0.1.1:= + >=dev-haskell/base64-bytestring-1.0:= + >=dev-haskell/cryptohash-sha256-0.11:= + >=dev-haskell/echo-0.1.3:= + >=dev-haskell/ed25519-0.0:= + >=dev-haskell/edit-distance-0.2.2:= + dev-haskell/extensible-exceptions:= + >=dev-haskell/hashable-1.0:= + >=dev-haskell/http-4000.1.5:= + >=dev-haskell/network-3.0:= + >=dev-haskell/network-uri-2.6.0.2:= + >=dev-haskell/parallel-3.2.1.0:= + dev-haskell/quickcheck:= + >=dev-haskell/random-1:= + >=dev-haskell/regex-base-0.94.0.0:= + >=dev-haskell/regex-posix-0.96.0.0:= + >=dev-haskell/resolv-0.1.1:= + dev-haskell/split:= + >=dev-haskell/stm-2.0:= + >=dev-haskell/tar-0.5.0.3:= + dev-haskell/xml:= + >=dev-haskell/zlib-0.5.3:= + >=dev-lang/ghc-8.4.3:= <dev-lang/ghc-9.1 +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( dev-haskell/base-compat + dev-haskell/cabal-doctest + >=dev-haskell/doctest-0.8 + dev-haskell/glob + >=dev-haskell/hspec-2.0 + >=dev-haskell/quickcheck-2.0 ) +" +RDEPEND+=" + dev-util/pkgcheck +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=cabal-v1 +} + +src_install() { + haskell-cabal_src_install + doman man/hackport.1 +} diff --git a/app-portage/hackport/hackport-0.7.ebuild b/app-portage/hackport/hackport-0.7.ebuild deleted file mode 100644 index bbe4e16168c8..000000000000 --- a/app-portage/hackport/hackport-0.7.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# ebuild generated by hackport 0.6.6.9999 - -CABAL_FEATURES="test-suite" -inherit haskell-cabal - -DESCRIPTION="Hackage and Portage integration tool" -HOMEPAGE="https://hackage.haskell.org/package/hackport" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=">=dev-haskell/async-2.0:= - >=dev-haskell/base16-bytestring-0.1.1:= <dev-haskell/base16-bytestring-1:= - >=dev-haskell/base64-bytestring-1.0:= - >=dev-haskell/cryptohash-sha256-0.11:= - dev-haskell/ed25519:= - dev-haskell/extensible-exceptions:= - >=dev-haskell/hashable-1.0:= - >=dev-haskell/http-4000.1.5:= - >=dev-haskell/lukko-0.1:= - >=dev-haskell/mtl-2.1:= - >=dev-haskell/network-2.6:= - >=dev-haskell/network-uri-2.6:= - >=dev-haskell/old-locale-1.0:= - >=dev-haskell/parallel-3.2.1.0:= - >=dev-haskell/parsec-3.1.13:= - >=dev-haskell/random-1.0:= - dev-haskell/split:= - >=dev-haskell/stm-2.0:= - >=dev-haskell/tar-0.5:= - >=dev-haskell/text-1.2.3.0:= - >=dev-haskell/xml-1.3.7:= - >=dev-haskell/zlib-0.5.3:= - >=dev-lang/ghc-8.0.1:= -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-1.24.0.0 - test? ( >=dev-haskell/doctest-0.8 - >=dev-haskell/hspec-2.0 - >=dev-haskell/quickcheck-2.0 ) -" -RDEPEND+=" - app-portage/repoman - dev-util/pkgcheck -" - -src_install() { - haskell-cabal_src_install - doman man/hackport.1 -} diff --git a/app-portage/hackport/hackport-0.8.4.0.ebuild b/app-portage/hackport/hackport-0.8.4.0.ebuild new file mode 100644 index 000000000000..624f4ffddd58 --- /dev/null +++ b/app-portage/hackport/hackport-0.8.4.0.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.4.0.9999 +#hackport: flags: +cabal-v1,+gentoo-tests,+pedantic + +CABAL_FEATURES="test-suite" +inherit haskell-cabal bash-completion-r1 +DESCRIPTION="Hackage and Portage integration tool" +HOMEPAGE="https://github.com/gentoo-haskell/hackport#readme" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="profile" + +RDEPEND=" + >=dev-haskell/async-2.0:=[profile?] + >=dev-haskell/base16-bytestring-0.1.1:=[profile?] + >=dev-haskell/base64-bytestring-1.0:=[profile?] + >=dev-haskell/cryptohash-sha256-0.11:=[profile?] + dev-haskell/dlist:=[profile?] + >=dev-haskell/echo-0.1.3:=[profile?] + >=dev-haskell/ed25519-0.0:=[profile?] + >=dev-haskell/edit-distance-0.2.2:=[profile?] + dev-haskell/extensible-exceptions:=[profile?] + >=dev-haskell/hashable-1.0:=[profile?] + >=dev-haskell/http-4000.1.5:=[profile?] + dev-haskell/lifted-base:=[profile?] + >=dev-haskell/lukko-0.1:=[profile?] + dev-haskell/monad-control:=[profile?] + >=dev-haskell/network-3.0:=[profile?] + >=dev-haskell/network-uri-2.6.0.2:=[profile?] + dev-haskell/optparse-applicative:=[profile?] + >=dev-haskell/parallel-3.2.1.0:=[profile?] + >=dev-haskell/parsec-3.1.13.0:=[profile?] + dev-haskell/parser-combinators:=[profile?] + dev-haskell/prettyprinter:=[profile?] + dev-haskell/quickcheck:= + >=dev-haskell/random-1.2:=[profile?] + >=dev-haskell/regex-base-0.94.0.0:=[profile?] + >=dev-haskell/regex-posix-0.96.0.0:=[profile?] + >=dev-haskell/resolv-0.1.1:=[profile?] + >=dev-haskell/safe-exceptions-0.1.7.0:=[profile?] + dev-haskell/split:=[profile?] + >=dev-haskell/tar-0.5.0.3:=[profile?] + >=dev-haskell/text-1.2.3.0:=[profile?] + dev-haskell/xml:=[profile?] + >=dev-haskell/zlib-0.5.3:=[profile?] + >=dev-lang/ghc-8.10.6:=[profile?] +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( + dev-haskell/base-compat + >=dev-haskell/cabal-doctest-1.0 + >=dev-haskell/doctest-0.8 + dev-haskell/glob + >=dev-haskell/hspec-2.0 + dev-haskell/hunit + >=dev-haskell/quickcheck-2.0 + ) +" + +src_configure() { + if use test; then + export GHC_BOOTSTRAP_PACKAGES=( + cabal-doctest + ) + fi + + haskell-cabal_src_configure \ + --flag=cabal-v1 \ + --flag=gentoo-tests \ + --flag=pedantic \ + $(cabal_flag profile profile) +} + +src_install() { + haskell-cabal_src_install + doman man/hackport.1 + + # We only install bash completion scripts currently + newbashcomp "${FILESDIR}/${PN}.bash.completion" "${PN}" +} diff --git a/app-portage/hackport/hackport-9999.ebuild b/app-portage/hackport/hackport-9999.ebuild index 6853550d5f1f..6845afdc9bf7 100644 --- a/app-portage/hackport/hackport-9999.ebuild +++ b/app-portage/hackport/hackport-9999.ebuild @@ -1,62 +1,97 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 -# ebuild generated by hackport 0.5.1.9999 +# ebuild generated by hackport 0.8.4.0.9999 +#hackport: flags: +cabal-v1,+gentoo-tests,+pedantic CABAL_FEATURES="test-suite" EGIT_REPO_URI="https://github.com/gentoo-haskell/hackport.git" -inherit git-r3 haskell-cabal +inherit git-r3 haskell-cabal bash-completion-r1 DESCRIPTION="Hackage and Portage integration tool" -HOMEPAGE="https://github.com/gentoo-haskell/hackport" +HOMEPAGE="https://github.com/gentoo-haskell/hackport#readme" -LICENSE="GPL-2" +LICENSE="GPL-3+" SLOT="0" KEYWORDS="" -IUSE="" - -RESTRICT=test # tests are broken: need path to ebuild tree +IUSE="profile +threads" +REQUIRED_USE="profile? ( threads ) test? ( threads )" RDEPEND=" - app-portage/repoman - dev-haskell/async:= - dev-haskell/base16-bytestring:= - dev-haskell/base64-bytestring:= - dev-haskell/cryptohash:= - dev-haskell/ed25519:= - dev-haskell/extensible-exceptions:= - dev-haskell/hashable:= - >=dev-haskell/http-4000.0.3:= - dev-haskell/missingh:= - dev-haskell/mtl:= - >=dev-haskell/network-2.6:= - >=dev-haskell/network-uri-2.6:= - dev-haskell/old-locale:= - dev-haskell/old-time:= - dev-haskell/parsec:= - dev-haskell/random:= - dev-haskell/regex-compat:= - dev-haskell/split:= - dev-haskell/stm:= - >=dev-haskell/tar-0.5:= - >=dev-haskell/xml-1.3.7:= - dev-haskell/zlib:= - >=dev-lang/ghc-7.8.2:= + >=dev-haskell/async-2.0:=[profile?] + >=dev-haskell/base16-bytestring-0.1.1:=[profile?] + >=dev-haskell/base64-bytestring-1.0:=[profile?] + >=dev-haskell/cryptohash-sha256-0.11:=[profile?] + dev-haskell/dlist:=[profile?] + >=dev-haskell/echo-0.1.3:=[profile?] + >=dev-haskell/ed25519-0.0:=[profile?] + >=dev-haskell/edit-distance-0.2.2:=[profile?] + dev-haskell/extensible-exceptions:=[profile?] + >=dev-haskell/hashable-1.0:=[profile?] + >=dev-haskell/http-4000.1.5:=[profile?] + dev-haskell/lifted-base:=[profile?] + >=dev-haskell/lukko-0.1:=[profile?] + dev-haskell/monad-control:=[profile?] + >=dev-haskell/network-3.0:=[profile?] + >=dev-haskell/network-uri-2.6.0.2:=[profile?] + dev-haskell/optparse-applicative:=[profile?] + >=dev-haskell/parallel-3.2.1.0:=[profile?] + >=dev-haskell/parsec-3.1.13.0:=[profile?] + dev-haskell/parser-combinators:=[profile?] + dev-haskell/prettyprinter:=[profile?] + dev-haskell/quickcheck:= + >=dev-haskell/random-1.2:=[profile?] + >=dev-haskell/regex-base-0.94.0.0:=[profile?] + >=dev-haskell/regex-posix-0.96.0.0:=[profile?] + >=dev-haskell/resolv-0.1.1:=[profile?] + >=dev-haskell/safe-exceptions-0.1.7.0:=[profile?] + dev-haskell/split:=[profile?] + >=dev-haskell/tar-0.5.0.3:=[profile?] + >=dev-haskell/text-1.2.3.0:=[profile?] + dev-haskell/xml:=[profile?] + >=dev-haskell/zlib-0.5.3:=[profile?] + >=dev-lang/ghc-8.10.6:=[profile?] " DEPEND="${RDEPEND} - >=dev-haskell/cabal-1.18.1.3 - test? ( dev-haskell/hunit ) + >=dev-haskell/cabal-3.2.1.0 + test? ( + dev-haskell/base-compat + >=dev-haskell/cabal-doctest-1.0 + >=dev-haskell/doctest-0.8 + dev-haskell/glob + >=dev-haskell/hspec-2.0 + dev-haskell/hunit + >=dev-haskell/quickcheck-2.0 + ) " src_prepare() { - default - sed -e 's/^Version:.*/&.9999/' -i ${PN}.cabal || die # just to distinct from release install + haskell-cabal_src_prepare + sed -e 's/^version:.*/&.9999/' -i ${PN}.cabal || die # just to distinguish from release install +} + +src_configure() { + if use test; then + export GHC_BOOTSTRAP_PACKAGES=( + cabal-doctest + ) + fi + + haskell-cabal_src_configure \ + --flag=cabal-v1 \ + --flag=gentoo-tests \ + --flag=pedantic \ + $(cabal_flag profile profile) \ + $(cabal-flag threads threads) } src_install() { haskell-cabal_src_install doman man/hackport.1 + + # We only install bash completion scripts currently + newbashcomp "${FILESDIR}/${PN}.bash.completion" "${PN}" } diff --git a/app-portage/hackport/metadata.xml b/app-portage/hackport/metadata.xml index c50a266c0b62..168e097f4c4c 100644 --- a/app-portage/hackport/metadata.xml +++ b/app-portage/hackport/metadata.xml @@ -1,15 +1,15 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - A command line tool to manage an overlay of Gentoo ebuilds - that are generated from a hackage repo of Cabal packages. - </longdescription> + <use> + <flag name="profile">Enable profiling flags</flag> + </use> <upstream> + <remote-id type="hackage">hackport</remote-id> <remote-id type="github">gentoo-haskell/hackport</remote-id> </upstream> </pkgmetadata> diff --git a/app-portage/iwdevtools/Manifest b/app-portage/iwdevtools/Manifest new file mode 100644 index 000000000000..0f22d1cf5191 --- /dev/null +++ b/app-portage/iwdevtools/Manifest @@ -0,0 +1 @@ +DIST iwdevtools-0.12.11.tar.gz 91626 BLAKE2B ffdc58c9a76105031b3be771d49d3b1afa7550333bc8cc2eae6a8ba798974e363aecf6c3f7f3f76e6d0cf6e3aac1ccd6f73bfafe3f0ae99987099fb3896ecb0f SHA512 6083a7ddef331b8f7ef96491c438096b7c920dedbe2ba3f0d74e6542592cfabbe442939609f10cddce736c21d02794900e8428c10b2b2b46ed988f6efe80351b diff --git a/app-portage/iwdevtools/iwdevtools-0.12.11.ebuild b/app-portage/iwdevtools/iwdevtools-0.12.11.ebuild new file mode 100644 index 000000000000..43c7fdf45013 --- /dev/null +++ b/app-portage/iwdevtools/iwdevtools-0.12.11.ebuild @@ -0,0 +1,70 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson optfeature + +DESCRIPTION="Small tools to aid with Gentoo development, primarily intended for QA" +HOMEPAGE="https://github.com/ionenwks/iwdevtools/" +SRC_URI=" + https://github.com/ionenwks/iwdevtools/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86 ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + app-misc/pax-utils + app-portage/portage-utils + >=app-shells/bash-5.1:0[readline] + dev-libs/libxml2:2 + sys-apps/coreutils + sys-apps/diffutils + sys-apps/file + sys-apps/portage + || ( sys-apps/util-linux app-misc/getopt ) +" +BDEPEND=" + sys-apps/help2man + || ( sys-apps/util-linux app-misc/getopt ) + test? ( ${RDEPEND} ) +" + +src_configure() { + local emesonargs=( + -Ddocdir=${PF} + -Deprefix="${EPREFIX}" + -Dshellcheck=false + $(meson_use test) + ) + + has_version sys-apps/util-linux || emesonargs+=( -Dgetopt=getopt-long ) + + meson_src_configure +} + +pkg_postinst() { + optfeature "detecting potential ABI issues using abidiff" dev-util/libabigail + + if [[ ! ${REPLACING_VERSIONS} ]]; then + elog "Optional portage integration relies on using /etc/portage/bashrc." + elog "The example bashrc can be used as-is if not already using one:" + elog + elog " ln -s ../../usr/share/${PN}/bashrc ${EROOT}/etc/portage/bashrc" + elog + elog "Otherwise, inspect the tools' --help output and the example to integrate" + elog "(if not defining the same phase functions, the example can be sourced)." + elog + elog "Note that \`eqawarn\` is used for portage output by default. QA messages" + elog "aren't logged / shown post-emerge unless e.g. in /etc/portage/make.conf:" + elog + elog ' PORTAGE_ELOG_CLASSES="${PORTAGE_ELOG_CLASSES} qa"' + elog + elog "See ${EROOT}/usr/share/doc/${PF}/README.rst* for information on tools." + fi +} diff --git a/app-portage/iwdevtools/iwdevtools-9999.ebuild b/app-portage/iwdevtools/iwdevtools-9999.ebuild new file mode 100644 index 000000000000..ea71b94535ad --- /dev/null +++ b/app-portage/iwdevtools/iwdevtools-9999.ebuild @@ -0,0 +1,66 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit git-r3 meson optfeature + +DESCRIPTION="Small tools to aid with Gentoo development, primarily intended for QA" +HOMEPAGE="https://github.com/ionenwks/iwdevtools" +EGIT_REPO_URI="https://github.com/ionenwks/iwdevtools.git" + +LICENSE="BSD-2" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + app-misc/pax-utils + app-portage/portage-utils + >=app-shells/bash-5.1:0[readline] + dev-libs/libxml2:2 + sys-apps/coreutils + sys-apps/diffutils + sys-apps/file + sys-apps/portage + || ( sys-apps/util-linux app-misc/getopt ) +" +BDEPEND=" + sys-apps/help2man + || ( sys-apps/util-linux app-misc/getopt ) + test? ( ${RDEPEND} ) +" + +src_configure() { + local emesonargs=( + -Ddocdir=${PF} + -Deprefix="${EPREFIX}" + -Dshellcheck=false + $(meson_use test) + ) + + has_version sys-apps/util-linux || emesonargs+=( -Dgetopt=getopt-long ) + + meson_src_configure +} + +pkg_postinst() { + optfeature "detecting potential ABI issues using abidiff" dev-util/libabigail + + if [[ ! ${REPLACING_VERSIONS} ]]; then + elog "Optional portage integration relies on using /etc/portage/bashrc." + elog "The example bashrc can be used as-is if not already using one:" + elog + elog " ln -s ../../usr/share/${PN}/bashrc ${EROOT}/etc/portage/bashrc" + elog + elog "Otherwise, inspect the tools' --help output and the example to integrate" + elog "(if not defining the same phase functions, the example can be sourced)." + elog + elog "Note that \`eqawarn\` is used for portage output by default. QA messages" + elog "aren't logged / shown post-emerge unless e.g. in /etc/portage/make.conf:" + elog + elog ' PORTAGE_ELOG_CLASSES="${PORTAGE_ELOG_CLASSES} qa"' + elog + elog "See ${EROOT}/usr/share/doc/${PF}/README.rst* for information on tools." + fi +} diff --git a/app-portage/iwdevtools/metadata.xml b/app-portage/iwdevtools/metadata.xml new file mode 100644 index 000000000000..8b32ac13b4c3 --- /dev/null +++ b/app-portage/iwdevtools/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>ionen@gentoo.org</email> + <name>Ionen Wolkens</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">ionenwks/iwdevtools</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-portage/java-ebuilder/java-ebuilder-0.5.1-r1.ebuild b/app-portage/java-ebuilder/java-ebuilder-0.5.1-r1.ebuild index 664ccaef394d..c62803f47eab 100644 --- a/app-portage/java-ebuilder/java-ebuilder-0.5.1-r1.ebuild +++ b/app-portage/java-ebuilder/java-ebuilder-0.5.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2016-2021 Gentoo Authors +# Copyright 2016-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -8,7 +8,7 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git" else SRC_URI="https://gitweb.gentoo.org/proj/java-ebuilder.git/snapshot/${P}.tar.gz" - KEYWORDS="~amd64" + KEYWORDS="amd64" fi inherit java-pkg-2 java-pkg-simple prefix ${ECLASS} diff --git a/app-portage/java-ebuilder/metadata.xml b/app-portage/java-ebuilder/metadata.xml index 860761f67af5..2760a3d5cbe4 100644 --- a/app-portage/java-ebuilder/metadata.xml +++ b/app-portage/java-ebuilder/metadata.xml @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <upstream> + <remote-id type="gentoo">proj/java-ebuilder</remote-id> <remote-id type="github">gentoo/java-ebuilder</remote-id> </upstream> <maintainer type="person"> diff --git a/app-portage/kuroneko/Manifest b/app-portage/kuroneko/Manifest index 116e7149aa5d..a927e5fcbe16 100644 --- a/app-portage/kuroneko/Manifest +++ b/app-portage/kuroneko/Manifest @@ -1,4 +1,3 @@ -DIST kuroneko-0.1.0.tar.gz 8964 BLAKE2B 051539ab6714332b02188854debe655d405093418a3edcf88f58bc54f153c5e9cecf9f9ab165ea32e9dc1d967c43618249b2a6677cb74ea020b05def99479d1b SHA512 b4f9e4cbf932927549ab1411aba15e8ca394919e80a19f7bd04a560764d74c7c884e96133c9aad1be69f9646b1d37713dfb449a1ca09bd74d407101789c213c1 -DIST kuroneko-0.1.1.tar.gz 10223 BLAKE2B aad046291218139662e74c653241bfb36180a0f7fdb4e3571c4d3c8787c41032c48a96d7b02f612e957b2a0eca9fd880daa03c31302d2e92eb6dec5df1b18aab SHA512 c4f29cb5244e659f2615cca706d002c9f20b200b51c964250da8c915d45bcaca03eac2a2dbc19e1d9b6a6374b7458b2c9e0a004e0fa14b1655e8c2c9ce8268a9 -DIST kuroneko-0.1.2.tar.gz 10279 BLAKE2B 9c468e17a1ca566a0bbdc65a3b4d8f5e08e188b2d999c9ee94187ee072f627f34dad9c965d67fc58108585cf05b876158b12b0c2c6043e0a1f5f16ed2cfe929f SHA512 9fff9b65fdda9a48d6c2b40b84fce5af811b288b0da08aee50ab2d393826dad2bfbd2250875b2dc40c55e417c7f8bff04bf7f4ad1b5f2adbee26a0bc94b9955f DIST kuroneko-0.1.3.tar.gz 10872 BLAKE2B 3dc85e92a4490501897e25949d258341e661672a2bd1fbce2673d3be6ead3599269cfc93884ad05da9ee41f90b60d17faeebb6b806da870458c8cf13e33fe58e SHA512 b388e0c19faae282b158e63a2ef3f54af98932e5f0efe96dcdcbd0ace509a22a1f7887834c94813912a03734448bc230767ab8e1367545f5cc877d778954fa0c +DIST kuroneko-0.1.4.tar.gz 11369 BLAKE2B 607d5b59720ba718dfb24d5f253a38d35c825ff9f29284bb2b50ed7a5c09ac044b514953af67217d2f840d97f1530e4608ba244cae5ca71316176bb873d28d8b SHA512 d71a0298080cfd453788fb8c9ab936b3aa7e6b67337ac8ee52d4c859b4539a9a319c81811da5f955a0c7bdf5a43a04a8b5911dc02d09d3bc212a441b217957a4 +DIST kuroneko-0.1.5.tar.gz 11415 BLAKE2B 2aaa3802f17e7363b5b28d6c70d740eed8a608d8d9ca279d84ee632f15a040d87ea8fb48aa6ca77b318398e73a80fb1863bb851917435e2a28ac23f19caed9c6 SHA512 bdb2814c55895f2020587086a75dac3355204efb8f2e0fde361111b31e8840a1890cdd744b121c17d2f1987200571d377c0d021bcc63df2a53d7a0fb51d07063 diff --git a/app-portage/kuroneko/kuroneko-0.1.0.ebuild b/app-portage/kuroneko/kuroneko-0.1.0.ebuild deleted file mode 100644 index 0bd9b554e20a..000000000000 --- a/app-portage/kuroneko/kuroneko-0.1.0.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..10} ) -inherit distutils-r1 - -DESCRIPTION="Vulnerability checker using data scraped from Gentoo Bugzilla" -HOMEPAGE="https://github.com/mgorny/kuroneko/" -SRC_URI=" - https://github.com/mgorny/kuroneko/archive/v${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="scraper" - -RDEPEND=" - dev-python/colorama[${PYTHON_USEDEP}] - sys-apps/pkgcore[${PYTHON_USEDEP}] - scraper? ( - dev-python/bracex[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - )" -BDEPEND=" - test? ( - dev-python/bracex[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest diff --git a/app-portage/kuroneko/kuroneko-0.1.3.ebuild b/app-portage/kuroneko/kuroneko-0.1.3-r1.ebuild index 9b74e4af13e3..5f1db112225d 100644 --- a/app-portage/kuroneko/kuroneko-0.1.3.ebuild +++ b/app-portage/kuroneko/kuroneko-0.1.3-r1.ebuild @@ -1,20 +1,21 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 DESCRIPTION="Vulnerability checker using data scraped from Gentoo Bugzilla" -HOMEPAGE="https://github.com/mgorny/kuroneko/" +HOMEPAGE="https://github.com/projg2/kuroneko/" SRC_URI=" - https://github.com/mgorny/kuroneko/archive/v${PV}.tar.gz + https://github.com/projg2/kuroneko/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" IUSE="scraper" RDEPEND=" @@ -23,11 +24,13 @@ RDEPEND=" sys-apps/pkgcore[${PYTHON_USEDEP}] scraper? ( dev-python/bracex[${PYTHON_USEDEP}] - )" + ) +" BDEPEND=" test? ( dev-python/bracex[${PYTHON_USEDEP}] dev-python/responses[${PYTHON_USEDEP}] - )" + ) +" distutils_enable_tests pytest diff --git a/app-portage/kuroneko/kuroneko-0.1.2.ebuild b/app-portage/kuroneko/kuroneko-0.1.4.ebuild index 9b74e4af13e3..f48a1fb55c96 100644 --- a/app-portage/kuroneko/kuroneko-0.1.2.ebuild +++ b/app-portage/kuroneko/kuroneko-0.1.4.ebuild @@ -1,20 +1,23 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) -PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="Vulnerability checker using data scraped from Gentoo Bugzilla" -HOMEPAGE="https://github.com/mgorny/kuroneko/" +HOMEPAGE="https://github.com/projg2/kuroneko/" SRC_URI=" - https://github.com/mgorny/kuroneko/archive/v${PV}.tar.gz - -> ${P}.tar.gz" + https://github.com/projg2/kuroneko/archive/v${PV}.tar.gz + -> ${P}.tar.gz +" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" IUSE="scraper" RDEPEND=" @@ -23,11 +26,13 @@ RDEPEND=" sys-apps/pkgcore[${PYTHON_USEDEP}] scraper? ( dev-python/bracex[${PYTHON_USEDEP}] - )" + ) +" BDEPEND=" test? ( dev-python/bracex[${PYTHON_USEDEP}] dev-python/responses[${PYTHON_USEDEP}] - )" + ) +" distutils_enable_tests pytest diff --git a/app-portage/kuroneko/kuroneko-0.1.1.ebuild b/app-portage/kuroneko/kuroneko-0.1.5.ebuild index 9b74e4af13e3..f48a1fb55c96 100644 --- a/app-portage/kuroneko/kuroneko-0.1.1.ebuild +++ b/app-portage/kuroneko/kuroneko-0.1.5.ebuild @@ -1,20 +1,23 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) -PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="Vulnerability checker using data scraped from Gentoo Bugzilla" -HOMEPAGE="https://github.com/mgorny/kuroneko/" +HOMEPAGE="https://github.com/projg2/kuroneko/" SRC_URI=" - https://github.com/mgorny/kuroneko/archive/v${PV}.tar.gz - -> ${P}.tar.gz" + https://github.com/projg2/kuroneko/archive/v${PV}.tar.gz + -> ${P}.tar.gz +" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" IUSE="scraper" RDEPEND=" @@ -23,11 +26,13 @@ RDEPEND=" sys-apps/pkgcore[${PYTHON_USEDEP}] scraper? ( dev-python/bracex[${PYTHON_USEDEP}] - )" + ) +" BDEPEND=" test? ( dev-python/bracex[${PYTHON_USEDEP}] dev-python/responses[${PYTHON_USEDEP}] - )" + ) +" distutils_enable_tests pytest diff --git a/app-portage/kuroneko/metadata.xml b/app-portage/kuroneko/metadata.xml index b09f3f81a528..7af1965fdefb 100644 --- a/app-portage/kuroneko/metadata.xml +++ b/app-portage/kuroneko/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> <email>mgorny@gentoo.org</email> @@ -10,4 +10,7 @@ Include the dependencies necessary for Bugzilla scraping. </flag> </use> + <upstream> + <remote-id type="github">projg2/kuroneko</remote-id> + </upstream> </pkgmetadata> diff --git a/app-portage/kuroo/Manifest b/app-portage/kuroo/Manifest index 77cda2156133..c0b12acacf38 100644 --- a/app-portage/kuroo/Manifest +++ b/app-portage/kuroo/Manifest @@ -1 +1 @@ -DIST kuroo-1.0.0.tar.xz 248912 BLAKE2B b7b556fb833052890038a8186d0d5c9eae127633449b542ccad3e38c8c888f31b1dc73bd6b5ecbbfe332917c72f0b1511e25df4360b8057c95172188cee8ae12 SHA512 af90554604aa9ae4776f207202a6a1313e104a9a0883fa924241dc5b14b7d39a4c60b226d2606f55a210b7dfe80c84b952ab3cdca14da77c150e7ae6e7782bc2 +DIST kuroo-1.2.2.tar.xz 250284 BLAKE2B 57bb80fde83e4506b0e8e9230a9e619ec887327779e1d9700e51bd534fa3d14ab51d3d80aad1def1a67cc14fd446f84f1ea551919578bf7f92cbb5dc4368e172 SHA512 6120508d77fe2b6787aa62994327882bd7abd0a08bfce0905920ab17b7837aabfa271c572377fe16131dd9770e5fd45c82409c6aeae5f27f8c0eb33d4e0cdb4c diff --git a/app-portage/kuroo/kuroo-1.0.0.ebuild b/app-portage/kuroo/kuroo-1.2.2.ebuild index cff3675995b0..efff98af1f45 100644 --- a/app-portage/kuroo/kuroo-1.0.0.ebuild +++ b/app-portage/kuroo/kuroo-1.2.2.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 +KFMIN=5.96.0 inherit ecm DESCRIPTION="Graphical Portage frontend based on KDE Frameworks" @@ -18,23 +19,23 @@ DEPEND=" dev-db/sqlite:3 dev-qt/qtgui:5 dev-qt/qtwidgets:5 - kde-frameworks/kauth:5 - kde-frameworks/kconfig:5 - kde-frameworks/kconfigwidgets:5 - kde-frameworks/kcoreaddons:5 - kde-frameworks/ki18n:5 - kde-frameworks/kio:5 - kde-frameworks/kitemviews:5 - kde-frameworks/knotifications:5 - kde-frameworks/ktextwidgets:5 - kde-frameworks/kwidgetsaddons:5 - kde-frameworks/kxmlgui:5 - kde-frameworks/threadweaver:5 + >=kde-frameworks/kauth-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kcrash-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kitemviews-${KFMIN}:5 + >=kde-frameworks/knotifications-${KFMIN}:5 + >=kde-frameworks/ktextwidgets-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=kde-frameworks/threadweaver-${KFMIN}:5 " RDEPEND="${DEPEND} app-portage/gentoolkit kde-apps/kompare:5 - kde-plasma/kde-cli-tools:5[kdesu] " pkg_postinst() { diff --git a/app-portage/kuroo/kuroo-9999.ebuild b/app-portage/kuroo/kuroo-9999.ebuild index c61ccf8e1e7a..821009e5e6fc 100644 --- a/app-portage/kuroo/kuroo-9999.ebuild +++ b/app-portage/kuroo/kuroo-9999.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 +KFMIN=5.96.0 ESVN_REPO_URI="https://svn.code.sf.net/p/kuroo/code/kuroo4/trunk" inherit ecm subversion @@ -18,23 +19,23 @@ DEPEND=" dev-db/sqlite:3 dev-qt/qtgui:5 dev-qt/qtwidgets:5 - kde-frameworks/kauth:5 - kde-frameworks/kconfig:5 - kde-frameworks/kconfigwidgets:5 - kde-frameworks/kcoreaddons:5 - kde-frameworks/ki18n:5 - kde-frameworks/kio:5 - kde-frameworks/kitemviews:5 - kde-frameworks/knotifications:5 - kde-frameworks/ktextwidgets:5 - kde-frameworks/kwidgetsaddons:5 - kde-frameworks/kxmlgui:5 - kde-frameworks/threadweaver:5 + >=kde-frameworks/kauth-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kcrash-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kitemviews-${KFMIN}:5 + >=kde-frameworks/knotifications-${KFMIN}:5 + >=kde-frameworks/ktextwidgets-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=kde-frameworks/threadweaver-${KFMIN}:5 " RDEPEND="${DEPEND} app-portage/gentoolkit kde-apps/kompare:5 - kde-plasma/kde-cli-tools:5[kdesu] " pkg_postinst() { diff --git a/app-portage/kuroo/metadata.xml b/app-portage/kuroo/metadata.xml index 1b8e9bfbde95..b8b4575089f1 100644 --- a/app-portage/kuroo/metadata.xml +++ b/app-portage/kuroo/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> <email>tools-portage@gentoo.org</email> diff --git a/app-portage/layman/Manifest b/app-portage/layman/Manifest deleted file mode 100644 index 0d796db12b72..000000000000 --- a/app-portage/layman/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST layman-2.4.3.tar.gz 135311 BLAKE2B b83fd543468be904a10d6fbda11f8d603a6936ecef3029c9d1c82fe4c938d2cd299874a3e114ac3524485ce8a33c5ec21885adddc218f5e331519318c0b1ad5a SHA512 2f3d1180647b358d5ca929fd28c6c5f4664f1f6f24e3114a4dc886d23279ffcdde7ca292c64aab84f1710ddf7029c26483de07c2271ca527b8618888b0ea2b54 diff --git a/app-portage/layman/layman-2.4.3.ebuild b/app-portage/layman/layman-2.4.3.ebuild deleted file mode 100644 index f79f7e08567d..000000000000 --- a/app-portage/layman/layman-2.4.3.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) -PYTHON_REQ_USE="xml(+),sqlite?" -DISTUTILS_USE_SETUPTOOLS=no - -inherit distutils-r1 linux-info prefix - -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="git://anongit.gentoo.org/proj/layman.git" - inherit git-r3 -else - SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -fi - -DESCRIPTION="Tool to manage Gentoo overlays" -HOMEPAGE="https://wiki.gentoo.org/wiki/Layman" - -LICENSE="GPL-2" -SLOT="0" -IUSE="cvs darcs +git gpg g-sorcery mercurial sqlite squashfs subversion sync-plugin-portage test" -RESTRICT="!test? ( test )" - -DEPEND="test? ( dev-vcs/subversion ) - " - -RDEPEND=" - cvs? ( dev-vcs/cvs ) - darcs? ( dev-vcs/darcs ) - git? ( dev-vcs/git ) - mercurial? ( dev-vcs/mercurial ) - g-sorcery? ( app-portage/g-sorcery ) - subversion? ( >=dev-vcs/subversion-1.5.4[http(+)] ) - gpg? ( >=dev-python/pyGPG-0.2 ) - sync-plugin-portage? ( >=sys-apps/portage-2.2.16[${PYTHON_USEDEP}] ) - !sync-plugin-portage? ( sys-apps/portage[${PYTHON_USEDEP}] ) - >=dev-python/ssl-fetch-0.4[${PYTHON_USEDEP}] - " - -layman_check_kernel_config() { - local CONFIG_CHECK - use squashfs && CONFIG_CHECK+=" ~BLK_DEV_LOOP ~SQUASHFS" - [[ -n ${CONFIG_CHECK} ]] && check_extra_config -} - -pkg_pretend() { - layman_check_kernel_config -} - -pkg_setup() { - layman_check_kernel_config -} - -python_prepare_all() { - python_setup - esetup.py setup_plugins - distutils-r1_python_prepare_all - eprefixify etc/layman.cfg layman/config.py -} - -python_test() { - suite=layman/tests/external.py - PYTHONPATH="." "${PYTHON}" ${suite} || die "test suite '${suite}' failed" - unset suite -} - -python_install_all() { - distutils-r1_python_install_all - - insinto /etc/layman - doins etc/layman.cfg - - doman doc/layman.8 - docinto html - dodoc doc/layman.8.html - - keepdir /var/lib/layman - keepdir /etc/layman/overlays -} - -pkg_postinst() { - # now run layman's update utility - einfo "Running layman-updater..." - "${EROOT}"/usr/bin/layman-updater - einfo -} diff --git a/app-portage/layman/layman-9999.ebuild b/app-portage/layman/layman-9999.ebuild deleted file mode 100644 index d5fe413aa8ea..000000000000 --- a/app-portage/layman/layman-9999.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) -PYTHON_REQ_USE="xml(+),sqlite?" -DISTUTILS_USE_SETUPTOOLS=no - -inherit distutils-r1 linux-info prefix - -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="git://anongit.gentoo.org/proj/layman.git" - inherit git-r3 -else - SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -fi - -DESCRIPTION="Tool to manage Gentoo overlays" -HOMEPAGE="https://wiki.gentoo.org/wiki/Layman" - -LICENSE="GPL-2" -SLOT="0" -IUSE="cvs darcs +git gpg g-sorcery mercurial sqlite squashfs subversion sync-plugin-portage test" -RESTRICT="!test? ( test )" - -DEPEND="test? ( dev-vcs/subversion ) - " - -RDEPEND=" - cvs? ( dev-vcs/cvs ) - darcs? ( dev-vcs/darcs ) - git? ( dev-vcs/git ) - mercurial? ( dev-vcs/mercurial ) - g-sorcery? ( app-portage/g-sorcery ) - subversion? ( >=dev-vcs/subversion-1.5.4[http(+)] ) - gpg? ( >=dev-python/pyGPG-0.2 ) - sync-plugin-portage? ( >=sys-apps/portage-2.2.16[${PYTHON_USEDEP}] ) - !sync-plugin-portage? ( sys-apps/portage[${PYTHON_USEDEP}] ) - >=dev-python/ssl-fetch-0.4[${PYTHON_USEDEP}] - " - -layman_check_kernel_config() { - local CONFIG_CHECK - use squashfs && CONFIG_CHECK+=" ~BLK_DEV_LOOP ~SQUASHFS" - [[ -n ${CONFIG_CHECK} ]] && check_extra_config -} - -pkg_pretend() { - layman_check_kernel_config -} - -pkg_setup() { - layman_check_kernel_config -} - -python_prepare_all() { - python_setup - esetup.py setup_plugins - distutils-r1_python_prepare_all - eprefixify etc/layman.cfg layman/config.py -} - -python_test() { - suite=layman/tests/external.py - PYTHONPATH="." "${PYTHON}" ${suite} || die "test suite '${suite}' failed" - unset suite -} - -python_compile_all() { - default_python_compile_all - # Generate man page. only required for 9999 - if [[ ${PV} == *9999 ]] ; then - # override MAKEOPTS to prevent build failure - emake -j1 -C doc - fi -} - -python_install_all() { - distutils-r1_python_install_all - - insinto /etc/layman - doins etc/layman.cfg - - doman doc/layman.8 - docinto html - dodoc doc/layman.8.html - - keepdir /var/lib/layman - keepdir /etc/layman/overlays -} - -pkg_postinst() { - # now run layman's update utility - einfo "Running layman-updater..." - "${EROOT}"/usr/bin/layman-updater - einfo -} diff --git a/app-portage/layman/metadata.xml b/app-portage/layman/metadata.xml deleted file mode 100644 index d291a854bfcb..000000000000 --- a/app-portage/layman/metadata.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>layman@gentoo.org</email> - <name>Gentoo Layman team</name> - </maintainer> - <use> - <flag name="cvs">Support <pkg>dev-vcs/cvs</pkg> based overlays</flag> - <flag name="darcs">Support <pkg>dev-vcs/darcs</pkg> based overlays</flag> - <flag name="g-sorcery">Support <pkg>app-portage/g-sorcery</pkg> based overlays</flag> - <flag name="git">Support <pkg>dev-vcs/git</pkg> based overlays</flag> - <flag name="gpg">Support <pkg>app-crypt/gnupg</pkg> signed overlays lists and manifests</flag> - <flag name="mercurial">Support <pkg>dev-vcs/mercurial</pkg> based overlays</flag> - <flag name="squashfs">Support mounting squashfs image overlays locally read-only</flag> - <flag name="subversion">Support <pkg>dev-vcs/subversion</pkg> based overlays</flag> - <flag name="sync-plugin-portage">Install the <pkg>sys-apps/portage</pkg> sync module</flag> - </use> - <upstream> - <remote-id type="sourceforge">layman</remote-id> - </upstream> -</pkgmetadata> diff --git a/app-portage/metadata.xml b/app-portage/metadata.xml index 30f4d64e6d4e..eb9c29ff685c 100644 --- a/app-portage/metadata.xml +++ b/app-portage/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE catmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <catmetadata> <longdescription lang="en"> The app-portage category contains software which works with portage or diff --git a/app-portage/metagen/Manifest b/app-portage/metagen/Manifest index c08b2074a5a2..215aa06d8cfa 100644 --- a/app-portage/metagen/Manifest +++ b/app-portage/metagen/Manifest @@ -1 +1,2 @@ -DIST metagen-0.7.2.tar.gz 8391 BLAKE2B 3ec53ff7fa12ea816c88bcbd4e45a3cc66527e6a507f01bc8934abc6bb6ae142e6c6620f82af7c6775b9001d6549832d6fab42c1b44c966f72a40ec0a0f66b2a SHA512 8a78d47ce8228df73a36d4c0f346d75250fbf8568ca6c8cc9ff9313b61c43ba514cf6dc13b36ea90f1ea5b194337748224ff81449d56527fbfc6b7a91e408054 +DIST metagen-0.7.3.tar.gz 9607 BLAKE2B 3c5b9debf10b0a6dda9bdf0e45e157c80019d0496d93f5af18e7be1b502c320fdbf7bd28f382e9021580d3aaa373566d7b342f3fa57f736fcb3676bafdd4d6e2 SHA512 d7293125685ad3be35dd9213b5d52c9219b6a5bcee4ab15fb2426bdccdb95b4df5567c2178bdefc0e75987080cd51026b5b089a4d4cf6402f455429d55d3a9e8 +DIST metagen-0.7.4.tar.gz 9291 BLAKE2B a1ad7267202f8bc477002a4c9deeb0cd26c8f2163f4fb3a0bf74e39b46448f3ba29dcec1201f41a0e98af8780b219102f3733b957a4e87293cc5e04486e39755 SHA512 e3d37cbe32fabbc980185d9948f6a38dfca756f727d86c26f7f5bd92e768bc034bffa14995844347bb3e19fe2d8757dcb45a3cab5b9e58d97c9c562b75a90d26 diff --git a/app-portage/metagen/metadata.xml b/app-portage/metagen/metadata.xml index 6d2298876faa..32307ccfc35f 100644 --- a/app-portage/metagen/metadata.xml +++ b/app-portage/metagen/metadata.xml @@ -1,8 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> <email>sping@gentoo.org</email> <name>Sebastian Pipping</name> </maintainer> + <upstream> + <remote-id type="pypi">metagen</remote-id> + </upstream> </pkgmetadata> diff --git a/app-portage/metagen/metagen-0.7.2.ebuild b/app-portage/metagen/metagen-0.7.3-r2.ebuild index a970ed88aeaa..930c202fcc26 100644 --- a/app-portage/metagen/metagen-0.7.2.ebuild +++ b/app-portage/metagen/metagen-0.7.3-r2.ebuild @@ -1,19 +1,18 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" -PYTHON_COMPAT=( python3_{7..9} ) -DISTUTILS_USE_SETUPTOOLS=rdepend +EAPI="8" +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="metadata.xml generator for ebuilds" HOMEPAGE="https://cgit.gentoo.org/proj/metagen.git" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm64 ~hppa ppc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm64 ~hppa ppc ~riscv x86 ~amd64-linux ~x86-linux" IUSE="" DEPEND="dev-python/lxml[${PYTHON_USEDEP}] @@ -23,6 +22,12 @@ RDEPEND="${DEPEND}" python_install_all() { distutils-r1_python_install_all doman docs/metagen.1 + + # Bug 814545 and 832069 + if [[ ${PF} != ${P} ]]; then # to be robust across bumps + mv "${ED}"/usr/share/doc/${P}/* "${ED}"/usr/share/doc/${PF}/ || die + rmdir "${ED}"/usr/share/doc/${P}/ || die + fi } python_test() { diff --git a/app-portage/metagen/metagen-0.7.3-r3.ebuild b/app-portage/metagen/metagen-0.7.3-r3.ebuild new file mode 100644 index 000000000000..d4b7f124125a --- /dev/null +++ b/app-portage/metagen/metagen-0.7.3-r3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="metadata.xml generator for ebuilds" +HOMEPAGE="https://cgit.gentoo.org/proj/metagen.git" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux" + +IUSE="" +DEPEND="dev-python/lxml[${PYTHON_USEDEP}] + sys-apps/portage[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" + +python_install_all() { + distutils-r1_python_install_all + doman docs/metagen.1 + + # Bug 814545 and 832069 + if [[ ${PF} != ${P} ]]; then # to be robust across bumps + mv "${ED}"/usr/share/doc/${P}/* "${ED}"/usr/share/doc/${PF}/ || die + rmdir "${ED}"/usr/share/doc/${P}/ || die + fi +} + +python_test() { + "${PYTHON}" -c "from metagen import metagenerator; metagenerator.do_tests()" || die +} diff --git a/app-portage/metagen/metagen-0.7.4.ebuild b/app-portage/metagen/metagen-0.7.4.ebuild new file mode 100644 index 000000000000..c2197d9b87d8 --- /dev/null +++ b/app-portage/metagen/metagen-0.7.4.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="metadata.xml generator for ebuilds" +HOMEPAGE="https://cgit.gentoo.org/proj/metagen.git" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux" + +DEPEND="dev-python/lxml[${PYTHON_USEDEP}] + sys-apps/portage[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" + +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + doman docs/metagen.1 + + # Bug 814545 and 832069 + if [[ ${PF} != ${P} ]]; then # to be robust across bumps + mv "${ED}"/usr/share/doc/${P}/* "${ED}"/usr/share/doc/${PF}/ || die + rmdir "${ED}"/usr/share/doc/${P}/ || die + fi +} diff --git a/app-portage/metagen/metagen-9999.ebuild b/app-portage/metagen/metagen-9999.ebuild index d0a3f9c8dbba..af57fda6c7ea 100644 --- a/app-portage/metagen/metagen-9999.ebuild +++ b/app-portage/metagen/metagen-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" -PYTHON_COMPAT=( python3_{7..9} ) -DISTUTILS_USE_SETUPTOOLS=rdepend +EAPI="8" +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..12} ) inherit distutils-r1 git-r3 @@ -23,14 +23,10 @@ RDEPEND="${DEPEND}" python_install_all() { distutils-r1_python_install_all doman docs/metagen.1 -} - -src_install() { - distutils-r1_src_install # Address expected path warning for /usr/share/doc/metagen-<not-9999> - mv "${D}"/usr/share/doc/metagen-{*.*.*/*,${PV}/} || die - rmdir "${D}"/usr/share/doc/metagen-*.*.*/ || die + mv "${ED}"/usr/share/doc/metagen-{*.*.*/*,${PV}/} || die + rmdir "${ED}"/usr/share/doc/metagen-*.*.*/ || die } python_test() { diff --git a/app-portage/mgorny-dev-scripts/Manifest b/app-portage/mgorny-dev-scripts/Manifest index 0928c111cbfb..77c63799cb5d 100644 --- a/app-portage/mgorny-dev-scripts/Manifest +++ b/app-portage/mgorny-dev-scripts/Manifest @@ -1,3 +1 @@ -DIST mgorny-dev-scripts-6.tar.gz 7270 BLAKE2B 30945ccc04111c91dcf22d180b0f653606910a0f13d3d2c2acdb037a51bc6490917d8dab91580c27caf492487dca7ec575c5d59181ce622dd67dada49e653462 SHA512 b46d6919cea7233131e90c423392bfdc8a560800adc05e164ef88351d84d51a73dfd982fcaf12bd9519219bc08b84b6a1aa3dc078bb30d35d57847ad1b22efa9 -DIST mgorny-dev-scripts-7.tar.gz 7262 BLAKE2B adae301b7a3707aed052e11227f792e247b8e55f56dbe5b07ecfd7c37b1bc401f7f7110c2e38703d8c0f77926374193fd21dd803a60c3300990b85974e084ac8 SHA512 24b7b03bfa5ebac91a19470a49c5df6b4ff808876d8fa3e95adc243542f9b215f4c5b4cf3a3df48bae4386be570948d2976b6d50e1144469690a73bd5c119a6c -DIST mgorny-dev-scripts-8.tar.gz 7264 BLAKE2B 70825cbfc00c2d15bcb5533bdfa6c3ac4eb6555b6e0ce6408cd74b2f8e81c04c72360fa02b6c11c31d18fb27f9f30c54103ecd3613b9e53a6d77a902fa8c27a6 SHA512 e2905485348d4ed85e620e8242bd0cf0a14a0604299a8a47ab9b27d888b87429bf55cceb68f55dea5ebd5ffd8fbfaceca72eac181fd28afa473bc50d07a52a32 +DIST mgorny-dev-scripts-50.tar.gz 19371 BLAKE2B f0992f6f9aac483e00ae1c47bf8a37bd30616c914db79b68675537af806397ddb643e3fd0ac5af051c2fab4f70f38228b3676c9e907d6b44987865f0cf214ec5 SHA512 77e939fa3601e322c947b612f4144d7f3b18262fe6b1169aa33eb6da44f13eb9eacdc60cd064035095b475b5ace86baf74eae1529898024764b0e1652dc4d0a6 diff --git a/app-portage/mgorny-dev-scripts/metadata.xml b/app-portage/mgorny-dev-scripts/metadata.xml index 0319eec4c8be..f6bc84ddbbb6 100644 --- a/app-portage/mgorny-dev-scripts/metadata.xml +++ b/app-portage/mgorny-dev-scripts/metadata.xml @@ -1,8 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!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/> + <upstream> + <remote-id type="github">projg2/mgorny-dev-scripts</remote-id> + </upstream> </pkgmetadata> diff --git a/app-portage/mgorny-dev-scripts/mgorny-dev-scripts-7.ebuild b/app-portage/mgorny-dev-scripts/mgorny-dev-scripts-50.ebuild index 5e039f280997..5dbebceb9a95 100644 --- a/app-portage/mgorny-dev-scripts/mgorny-dev-scripts-7.ebuild +++ b/app-portage/mgorny-dev-scripts/mgorny-dev-scripts-50.ebuild @@ -1,25 +1,29 @@ -# Copyright 2019-2021 Gentoo Authors +# Copyright 2019-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 DESCRIPTION="Handy scripts for ebuild development and more" -HOMEPAGE="https://github.com/mgorny/mgorny-dev-scripts" -SRC_URI="https://github.com/mgorny/mgorny-dev-scripts/archive/v${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE="https://github.com/projg2/mgorny-dev-scripts/" +SRC_URI=" + https://github.com/projg2/mgorny-dev-scripts/archive/v${PV}.tar.gz + -> ${P}.tar.gz +" -LICENSE="BSD-2" +LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos" RDEPEND=" app-portage/gentoolkit + >=app-portage/gpyutils-0.12 dev-perl/URI dev-util/pkgcheck dev-vcs/git net-misc/wget sys-apps/portage x11-misc/xdg-utils - !dev-util/pkgdiff" +" src_install() { dodoc README.rst diff --git a/app-portage/mgorny-dev-scripts/mgorny-dev-scripts-6.ebuild b/app-portage/mgorny-dev-scripts/mgorny-dev-scripts-6.ebuild deleted file mode 100644 index c68711103c5d..000000000000 --- a/app-portage/mgorny-dev-scripts/mgorny-dev-scripts-6.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 2019-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Handy scripts for ebuild development and more" -HOMEPAGE="https://github.com/mgorny/mgorny-dev-scripts" -SRC_URI="https://github.com/mgorny/mgorny-dev-scripts/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - app-portage/gentoolkit - dev-perl/URI - dev-util/pkgcheck - dev-vcs/git - net-misc/wget - sys-apps/portage - x11-misc/xdg-utils - !dev-util/pkgdiff" - -src_install() { - dodoc README.rst - rm -f COPYING README.rst || die - dobin * -} diff --git a/app-portage/mgorny-dev-scripts/mgorny-dev-scripts-8.ebuild b/app-portage/mgorny-dev-scripts/mgorny-dev-scripts-8.ebuild deleted file mode 100644 index 5e039f280997..000000000000 --- a/app-portage/mgorny-dev-scripts/mgorny-dev-scripts-8.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 2019-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Handy scripts for ebuild development and more" -HOMEPAGE="https://github.com/mgorny/mgorny-dev-scripts" -SRC_URI="https://github.com/mgorny/mgorny-dev-scripts/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - app-portage/gentoolkit - dev-perl/URI - dev-util/pkgcheck - dev-vcs/git - net-misc/wget - sys-apps/portage - x11-misc/xdg-utils - !dev-util/pkgdiff" - -src_install() { - dodoc README.rst - rm -f COPYING README.rst || die - dobin * -} diff --git a/app-portage/mirrorselect/Manifest b/app-portage/mirrorselect/Manifest index 3cfe5b8dc8b4..e6d2792c9f75 100644 --- a/app-portage/mirrorselect/Manifest +++ b/app-portage/mirrorselect/Manifest @@ -1,2 +1,2 @@ -DIST mirrorselect-2.2.6.tar.gz 16727 BLAKE2B 8875bf61e26ac474338d81a602297fa4fdf3fab3dbd478b02129dbe71f2d09445efa9b82792e3e654725c5e87a4ca00d37a3d924f8bd6f2decdf74148d1069c8 SHA512 ff2b88bf568f79182275e2c85cafbeee7cbeb0226225a7c3289f0a1d7a8b5eae9d41c69b099bb7e0cc9b0300b23afea43c3ac1baa13f37c696159bb1b3ac05f8 +DIST mirrorselect-2.4.0.tar.gz 17315 BLAKE2B 8d1fe0008147d2b15d5edf8ae14cd2782771e848bbd38dff84f6ddbc4120f8727aeb23d0006db6b9ccbfe0918a7aeb1fe6227fa61c2aa82e20da3e773ce9ab4a SHA512 d3fbb7499e4a072b24b21fbd83d503f2c2ba8d2704582b6a529f3167c07453a656f3d22cd3cb5ddba35393cf5cd946788099777ecf37af60bd0648b7e1886ae2 DIST mirrorselect-test 102403 BLAKE2B 8f23cebf111912ea6fcdea5f4a50a84751a4dd0c62956555a5c0b4fbe15d2329424a65b18c3608440bc0fedd4b2d25fc74cfe91e6e434eb90b7090b36e17b65f SHA512 f43d92e9bf7e77c8f04449a786cb659bdfc07257892caca842ab4a63eb9c5351fa48130c2e163857f3233a595cea7b83f5ea9fa879b782e15b73beb62f0e5e27 diff --git a/app-portage/mirrorselect/metadata.xml b/app-portage/mirrorselect/metadata.xml index 6028cea8fe03..772b85fd929d 100644 --- a/app-portage/mirrorselect/metadata.xml +++ b/app-portage/mirrorselect/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> <email>tools-portage@gentoo.org</email> @@ -11,4 +11,8 @@ provide a nicer front-end for mirror selection (both rsync + distfiles) to a user. </longdescription> + <upstream> + <remote-id type="gentoo">proj/mirrorselect</remote-id> + <remote-id type="github">gentoo/mirrorselect</remote-id> + </upstream> </pkgmetadata> diff --git a/app-portage/mirrorselect/mirrorselect-2.2.6-r2.ebuild b/app-portage/mirrorselect/mirrorselect-2.2.6-r2.ebuild deleted file mode 100644 index ce5df4926cc3..000000000000 --- a/app-portage/mirrorselect/mirrorselect-2.2.6-r2.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{7,8,9} ) -PYTHON_REQ_USE="xml" -DISTUTILS_USE_SETUPTOOLS=no - -inherit distutils-r1 prefix - -DESCRIPTION="Tool to help select distfiles mirrors for Gentoo" -HOMEPAGE="https://wiki.gentoo.org/wiki/Mirrorselect" -SRC_URI="https://dev.gentoo.org/~zmedico/dist/${P}.tar.gz - https://dev.gentoo.org/~dolsen/releases/mirrorselect/mirrorselect-test -" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="ipv6" - -RDEPEND=" - dev-util/dialog - >=net-analyzer/netselect-0.4[ipv6(+)?] - >=dev-python/ssl-fetch-0.3[${PYTHON_USEDEP}] -" - -python_prepare_all() { - python_setup - eprefixify setup.py mirrorselect/main.py - echo Now setting version... VERSION="${PVR}" "${PYTHON}" setup.py set_version - VERSION="${PVR}" "${PYTHON}" setup.py set_version || die "setup.py set_version failed" - if use ipv6; then - # The netselect --ipv4 and --ipv6 options are supported only - # with >=net-analyzer/netselect-0.4[ipv6(+)] (bug 688214). - sed -e '/^NETSELECT_SUPPORTS_IPV4_IPV6 =/s|False|True|' \ - -i mirrorselect/selectors.py || die - fi - - # Apply e69ec2d046626fa2079d460aab469d04256182cd for bug 698470. - sed -e 's|key = lex.get_token()|\0\n\t\t\tif key is None:\n\t\t\t\tbreak|' -i mirrorselect/configs.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - esetup.py test || die "tests failed under ${EPYTHON}" -} diff --git a/app-portage/mirrorselect/mirrorselect-2.4.0.ebuild b/app-portage/mirrorselect/mirrorselect-2.4.0.ebuild new file mode 100644 index 000000000000..615af84dc925 --- /dev/null +++ b/app-portage/mirrorselect/mirrorselect-2.4.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="xml(+)" + +inherit edo distutils-r1 prefix + +DESCRIPTION="Tool to help select distfiles mirrors for Gentoo" +HOMEPAGE="https://wiki.gentoo.org/wiki/Mirrorselect" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/mirrorselect.git" + inherit git-r3 + + SSL_FETCH_VER=9999 +else + SRC_URI=" + https://gitweb.gentoo.org/proj/mirrorselect.git/snapshot/${P}.tar.gz + https://dev.gentoo.org/~dolsen/releases/mirrorselect/${P}.tar.gz + https://dev.gentoo.org/~dolsen/releases/mirrorselect/mirrorselect-test + " + + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" + + SSL_FETCH_VER=0.3 +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="ipv6" + +BDEPEND="${DISTUTILS_DEPS}" +RDEPEND=" + dev-util/dialog + >=net-analyzer/netselect-0.4[ipv6(+)?] + >=dev-python/ssl-fetch-${SSL_FETCH_VER}[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest + +python_prepare_all() { + python_setup + + local -x VERSION="${PVR}" + sed -e 's:os.path.join(os.sep, EPREFIX.lstrip(os.sep), "usr/share/man/man8"):"share/man/man8":' \ + -i setup.py || die + eprefixify setup.py mirrorselect/main.py + edo "${PYTHON}" setup.py set_version + + distutils-r1_python_prepare_all +} diff --git a/app-portage/mirrorselect/mirrorselect-9999.ebuild b/app-portage/mirrorselect/mirrorselect-9999.ebuild index d78005b03452..e645e60c639b 100644 --- a/app-portage/mirrorselect/mirrorselect-9999.ebuild +++ b/app-portage/mirrorselect/mirrorselect-9999.ebuild @@ -1,47 +1,55 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" +EAPI="8" -PYTHON_COMPAT=( python3_{7,8,9} ) -PYTHON_REQ_USE="xml" -DISTUTILS_USE_SETUPTOOLS=no +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="xml(+)" -inherit distutils-r1 git-r3 prefix - -EGIT_REPO_URI="git://anongit.gentoo.org/proj/mirrorselect.git" +inherit edo distutils-r1 prefix DESCRIPTION="Tool to help select distfiles mirrors for Gentoo" HOMEPAGE="https://wiki.gentoo.org/wiki/Mirrorselect" -SRC_URI="" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/mirrorselect.git" + inherit git-r3 + + SSL_FETCH_VER=9999 +else + SRC_URI=" + https://gitweb.gentoo.org/proj/mirrorselect.git/snapshot/${P}.tar.gz + https://dev.gentoo.org/~dolsen/releases/mirrorselect/${P}.tar.gz + https://dev.gentoo.org/~dolsen/releases/mirrorselect/mirrorselect-test + " + + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + + SSL_FETCH_VER=0.3 +fi LICENSE="GPL-2" SLOT="0" -KEYWORDS="" -IUSE="" +IUSE="ipv6" +BDEPEND="${DISTUTILS_DEPS}" RDEPEND=" dev-util/dialog - >=net-analyzer/netselect-0.4[ipv6(+)] - ~dev-python/ssl-fetch-9999[${PYTHON_USEDEP}] + >=net-analyzer/netselect-0.4[ipv6(+)?] + >=dev-python/ssl-fetch-${SSL_FETCH_VER}[${PYTHON_USEDEP}] " +distutils_enable_tests unittest + python_prepare_all() { python_setup - eprefixify setup.py mirrorselect/main.py - echo Now setting version... VERSION="9999-${EGIT_VERSION}" "${PYTHON}" setup.py set_version - VERSION="9999-${EGIT_VERSION}" "${PYTHON}" setup.py set_version || die "setup.py set_version failed" - distutils-r1_python_prepare_all -} - -python_test() { - esetup.py test || die "tests failed under ${EPYTHON}" -} -pkg_postinst() { - distutils-r1_pkg_postinst + local -x VERSION="${PVR}" + sed -e 's:os.path.join(os.sep, EPREFIX.lstrip(os.sep), "usr/share/man/man8"):"share/man/man8":' \ + -i setup.py || die + eprefixify setup.py mirrorselect/main.py + edo "${PYTHON}" setup.py set_version - einfo "This is a development version." - einfo "Please report any bugs you encounter to:" - einfo "https://bugs.gentoo.org/" + distutils-r1_python_prepare_all } diff --git a/app-portage/nattka/Manifest b/app-portage/nattka/Manifest index 75f863961d76..6848c0583359 100644 --- a/app-portage/nattka/Manifest +++ b/app-portage/nattka/Manifest @@ -1,3 +1 @@ -DIST nattka-0.2.13.tar.gz 93917 BLAKE2B 48e5245234d0ef0fd47353bac0d971d6187f59d94c0fb58f4cce160ee28f847a8fb32f8399af3148daaac299b32b590899de716dee1ee9cf107b1efe2451189f SHA512 0d3428cb3b5dee3fcdc29b9d22b5c05d626d26060fcd5518f789493fc68e51762edf9162a9b5b19c6c08fb9cb9c0e350faa41d96c53bd924b50475176140ccdb -DIST nattka-0.2.14.tar.gz 93925 BLAKE2B 2fa31e8b4ea8aa74d2af52e5a410288715495997c328c5415a65200a077a385eacb3050e593c778194f2e519fd28d2273679d822e0be55b815e19ff38882dfe3 SHA512 28e24576606813d56c8e37cdd203960a67394893b819d846595a03fd222f6ed2fd319bc5d650f229bf7a8979d3823f28de82a87e3bb76fdaf49e9e02dbf62ac5 -DIST nattka-0.2.18.tar.gz 94668 BLAKE2B 02e656eb079b76d0eea87093e9c58b57d29b53954d9301da42eef301373c742a06f80432831cfe27b6765f83420bf37d726933e8424ed842cd80b8fae6242c04 SHA512 fb4abbedbf50dab754721585ea6c50a0e220deb83e005a4e34215f9a66536ff131aa0bb4f2e25854c853f4aab4cdce7137e909d79f609f3e4b2a9964be5bfc57 +DIST nattka-0.4.2.gh.tar.gz 101891 BLAKE2B 33f1b3746d79a5945ab764cd6cbbc33773c3935c1e18627e2be7d1b740cf7dac95b0884989cf2a7189237b505ea38bb84e57d72ba7a97a29789e6ec372224d80 SHA512 6c1281aeb11d2a576f6474203df7a8dceb8451d243812da972c03ad282e2fb46272ee8f797f5f9f002b9953bf9cb2f8843754ee871adf56b11468f75f7108a4d diff --git a/app-portage/nattka/metadata.xml b/app-portage/nattka/metadata.xml index 57c85f2ab0cc..5ab1f4379e97 100644 --- a/app-portage/nattka/metadata.xml +++ b/app-portage/nattka/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> <email>mgorny@gentoo.org</email> @@ -11,4 +11,8 @@ Process packages in depgraph order whenever possible. </flag> </use> + <upstream> + <remote-id type="github">projg2/nattka</remote-id> + <remote-id type="pypi">nattka</remote-id> + </upstream> </pkgmetadata> diff --git a/app-portage/nattka/nattka-0.2.13.ebuild b/app-portage/nattka/nattka-0.2.13.ebuild deleted file mode 100644 index 5e140d0ba09c..000000000000 --- a/app-portage/nattka/nattka-0.2.13.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 2020-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -inherit distutils-r1 - -DESCRIPTION="A New Arch Tester Toolkit -- open-source stable-bot replacement" -HOMEPAGE="https://github.com/mgorny/nattka/" -SRC_URI="https://github.com/mgorny/nattka/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" -IUSE="depgraph-order" - -RDEPEND=" - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-util/pkgcheck[${PYTHON_USEDEP}] - dev-vcs/git - sys-apps/pkgcore[${PYTHON_USEDEP}] - depgraph-order? ( - dev-python/networkx[${PYTHON_USEDEP}] - )" -BDEPEND=" - test? ( - dev-python/vcrpy[${PYTHON_USEDEP}] - )" - -distutils_enable_sphinx doc --no-autodoc -distutils_enable_tests pytest diff --git a/app-portage/nattka/nattka-0.2.18.ebuild b/app-portage/nattka/nattka-0.2.18.ebuild deleted file mode 100644 index 75261fa77b65..000000000000 --- a/app-portage/nattka/nattka-0.2.18.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 2020-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -inherit distutils-r1 - -DESCRIPTION="A New Arch Tester Toolkit -- open-source stable-bot replacement" -HOMEPAGE="https://github.com/mgorny/nattka/" -SRC_URI="https://github.com/mgorny/nattka/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" -IUSE="depgraph-order" - -RDEPEND=" - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-util/pkgcheck[${PYTHON_USEDEP}] - dev-vcs/git - sys-apps/pkgcore[${PYTHON_USEDEP}] - depgraph-order? ( - dev-python/networkx[${PYTHON_USEDEP}] - )" -BDEPEND=" - test? ( - dev-python/vcrpy[${PYTHON_USEDEP}] - )" - -distutils_enable_sphinx doc --no-autodoc -distutils_enable_tests pytest diff --git a/app-portage/nattka/nattka-0.2.14.ebuild b/app-portage/nattka/nattka-0.4.2.ebuild index 75261fa77b65..e7018f442073 100644 --- a/app-portage/nattka/nattka-0.2.14.ebuild +++ b/app-portage/nattka/nattka-0.4.2.ebuild @@ -1,18 +1,26 @@ -# Copyright 2020-2021 Gentoo Authors +# Copyright 2020-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + inherit distutils-r1 DESCRIPTION="A New Arch Tester Toolkit -- open-source stable-bot replacement" -HOMEPAGE="https://github.com/mgorny/nattka/" -SRC_URI="https://github.com/mgorny/nattka/archive/v${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE=" + https://github.com/projg2/nattka/ + https://pypi.org/project/nattka/ +" +SRC_URI=" + https://github.com/projg2/nattka/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" -LICENSE="BSD-2" +LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="depgraph-order" RDEPEND=" @@ -23,11 +31,15 @@ RDEPEND=" sys-apps/pkgcore[${PYTHON_USEDEP}] depgraph-order? ( dev-python/networkx[${PYTHON_USEDEP}] - )" + ) +" BDEPEND=" + >=dev-python/flit-core-3.7.1[${PYTHON_USEDEP}] test? ( dev-python/vcrpy[${PYTHON_USEDEP}] - )" + ) +" distutils_enable_sphinx doc --no-autodoc +EPYTEST_XDIST=1 distutils_enable_tests pytest diff --git a/app-portage/nattka/nattka-9999.ebuild b/app-portage/nattka/nattka-9999.ebuild deleted file mode 100644 index 62f83dc85154..000000000000 --- a/app-portage/nattka/nattka-9999.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2020-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..10} ) -inherit distutils-r1 git-r3 - -DESCRIPTION="A New Arch Tester Toolkit -- open-source stable-bot replacement" -HOMEPAGE="https://github.com/mgorny/nattka/" -EGIT_REPO_URI="https://github.com/mgorny/nattka.git" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="" -IUSE="depgraph-order" - -RDEPEND=" - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-util/pkgcheck[${PYTHON_USEDEP}] - dev-vcs/git - sys-apps/pkgcore[${PYTHON_USEDEP}] - depgraph-order? ( - dev-python/networkx[${PYTHON_USEDEP}] - )" -BDEPEND=" - test? ( - dev-python/networkx[${PYTHON_USEDEP}] - dev-python/vcrpy[${PYTHON_USEDEP}] - )" - -distutils_enable_sphinx doc --no-autodoc -distutils_enable_tests pytest diff --git a/app-portage/no-distcc-env/metadata.xml b/app-portage/no-distcc-env/metadata.xml index b58e8386fcb2..1c6906f8795a 100644 --- a/app-portage/no-distcc-env/metadata.xml +++ b/app-portage/no-distcc-env/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> <email>mattst88@gentoo.org</email> diff --git a/app-portage/no-distcc-env/no-distcc-env-9999.ebuild b/app-portage/no-distcc-env/no-distcc-env-9999.ebuild index 40d847edebb2..dbbeea27910c 100644 --- a/app-portage/no-distcc-env/no-distcc-env-9999.ebuild +++ b/app-portage/no-distcc-env/no-distcc-env-9999.ebuild @@ -1,33 +1,23 @@ -# Copyright 2019-2021 Gentoo Authors +# Copyright 2019-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git" -if [[ ${PV} = 9999* ]]; then +if [[ ${PV} == 9999* ]]; then GIT_ECLASS="git-r3" +else + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" fi inherit ${GIT_ECLASS} DESCRIPTION="package.env files to disable distcc on a per-package basis" HOMEPAGE="https://gitweb.gentoo.org/proj/no-distcc-env.git/" -if [[ ${PV} = 9999* ]]; then - SRC_URI="" -else - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" - SRC_URI="https://github.com/anholt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -fi LICENSE="public-domain" SLOT="0" -IUSE="" - -src_unpack() { - default - [[ ${PV} = 9999* ]] && git-r3_src_unpack -} src_install() { insinto /etc/portage diff --git a/app-portage/overlint/metadata.xml b/app-portage/overlint/metadata.xml index 6d2298876faa..6a22e9e318bb 100644 --- a/app-portage/overlint/metadata.xml +++ b/app-portage/overlint/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> <email>sping@gentoo.org</email> diff --git a/app-portage/overlint/overlint-0.5.3-r2.ebuild b/app-portage/overlint/overlint-0.5.3-r4.ebuild index 44ba82cb4d10..2a19d77838d6 100644 --- a/app-portage/overlint/overlint-0.5.3-r2.ebuild +++ b/app-portage/overlint/overlint-0.5.3-r4.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{7..9} ) -DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 @@ -14,7 +14,7 @@ SRC_URI="https://www.hartwork.org/public/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm ~arm64 x86 ~amd64-linux ~x86-linux" IUSE="" RDEPEND="sys-apps/portage[${PYTHON_USEDEP}]" diff --git a/app-portage/overlint/overlint-0.5.3-r5.ebuild b/app-portage/overlint/overlint-0.5.3-r5.ebuild new file mode 100644 index 000000000000..17fd77bb2283 --- /dev/null +++ b/app-portage/overlint/overlint-0.5.3-r5.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..12} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +DESCRIPTION="Simple tool for static analysis of overlays" +HOMEPAGE="https://cgit.gentoo.org/proj/overlint.git" +SRC_URI="https://www.hartwork.org/public/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND="sys-apps/portage[${PYTHON_USEDEP}]" diff --git a/app-portage/pfl/Manifest b/app-portage/pfl/Manifest index 0e1adeb7edf0..6968f5eba7d6 100644 --- a/app-portage/pfl/Manifest +++ b/app-portage/pfl/Manifest @@ -1 +1,2 @@ -DIST pfl-3.1.tar.gz 5521 BLAKE2B fdc6e82c5d61d694a188c479b0566aafc507bcc2bbd1f176cd2771586b13de86a43a5d2e156beb4c9b5d10cd718046a05fce099894430c8f3d04c0922078e988 SHA512 b2bf79445a5b15caf339106f376d64accf5aad2c60038ba88180d64ce49e23dc3015efa2fcbeec886ba591cada053dfdc96873bda71b092be4622608062b6dcc +DIST pfl-3.4.tar.gz 18651 BLAKE2B 09793883a1ed6f70da2f01fb81cfafa407ed43584a826f2cd8fde6d75b544ed803a220fc517e649774100da32e64d01fad8ff0dcbaff9068f57cdf7bd4414169 SHA512 c21b43f234a778d74e05cd45b7ccb48b131d6998e632d044a4bccc2f772099d02d1c5e7ab75fc6f9deb14e2f1ed1f31bac51e917e628065b4a36d73b8d77336f +DIST pfl-3.5.2.tar.gz 21248 BLAKE2B 28f4f05bc533f4b27cdbef7f2706ed99f885983e4f9e4f2580e07b772bef471eeca197a41d03059e28c2053869de4cb5295a9923dcba6f598bbf6e6be5e57185 SHA512 5f38b627cd5928396fe8202dd822756ed63b6dd80d98d1ee3da9998eb750070e9a921d652bbc7ed852e4944005f9d6c61c14c67be01c591f5c82ca50f869465e diff --git a/app-portage/pfl/metadata.xml b/app-portage/pfl/metadata.xml index 52368274be7e..7369356d2377 100644 --- a/app-portage/pfl/metadata.xml +++ b/app-portage/pfl/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> <email>billie@gentoo.org</email> @@ -9,8 +9,9 @@ <upstream> <maintainer> <email>bugs@portagefilelist.de</email> - <name>Daniel Buschke</name> + <name>Johannes Keßler</name> </maintainer> + <remote-id type="github">portagefilelist/client</remote-id> </upstream> <use> <flag name="network-cron">Adds a cron job which does a weekly submit of the package database</flag> diff --git a/app-portage/pfl/pfl-3.1-r1.ebuild b/app-portage/pfl/pfl-3.4.ebuild index e59b6444a068..2020142b2ed2 100644 --- a/app-portage/pfl/pfl-3.1-r1.ebuild +++ b/app-portage/pfl/pfl-3.4.ebuild @@ -1,28 +1,26 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{7,8,9} ) -PYTHON_REQ_USE="xml" +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="xml(+)" inherit distutils-r1 systemd DESCRIPTION="Searchable online file/package database for Gentoo" -HOMEPAGE="http://www.portagefilelist.de https://github.com/portagefilelist/client" +HOMEPAGE="https://www.portagefilelist.de https://github.com/portagefilelist/client" SRC_URI="https://github.com/portagefilelist/client/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="+network-cron" -DEPEND="" RDEPEND=" - ${DEPEND} dev-python/requests[${PYTHON_USEDEP}] - net-misc/curl + dev-python/termcolor[${PYTHON_USEDEP}] sys-apps/portage[${PYTHON_USEDEP}] network-cron? ( sys-apps/util-linux[caps] ) " diff --git a/app-portage/pfl/pfl-3.5.2.ebuild b/app-portage/pfl/pfl-3.5.2.ebuild new file mode 100644 index 000000000000..2020142b2ed2 --- /dev/null +++ b/app-portage/pfl/pfl-3.5.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 systemd + +DESCRIPTION="Searchable online file/package database for Gentoo" +HOMEPAGE="https://www.portagefilelist.de https://github.com/portagefilelist/client" +SRC_URI="https://github.com/portagefilelist/client/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="+network-cron" + +RDEPEND=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/termcolor[${PYTHON_USEDEP}] + sys-apps/portage[${PYTHON_USEDEP}] + network-cron? ( sys-apps/util-linux[caps] ) +" + +S="${WORKDIR}/client-${PV}" + +python_install_all() { + if use network-cron ; then + exeinto /etc/cron.weekly + doexe cron/pfl + fi + + systemd_dounit systemd/pfl.{service,timer} + + keepdir /var/lib/${PN} + + distutils-r1_python_install_all +} + +pkg_postinst() { + if [[ ! -e "${EROOT}/var/lib/${PN}/pfl.info" ]]; then + touch "${EROOT}/var/lib/${PN}/pfl.info" || die + fi + chown -R portage:portage "${EROOT}/var/lib/${PN}" || die + chmod 775 "${EROOT}/var/lib/${PN}" || die +} diff --git a/app-portage/pgo/metadata.xml b/app-portage/pgo/metadata.xml index 0db2688a2266..67fae6acd520 100644 --- a/app-portage/pgo/metadata.xml +++ b/app-portage/pgo/metadata.xml @@ -1,14 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>arzano@gentoo.org</email> - <name>Max Magorsch</name> - </maintainer> - <maintainer type="person" proxied="proxy"> - <email>zlogene@gentoo.org</email> - <name>Mikle Kolyada</name> - </maintainer> + <!-- maintainer-needed --> <longdescription> pgo is a small command line interface for packages.gentoo.org. It is using the graphql api of packages.gentoo.org to display information @@ -18,4 +11,7 @@ a list of outdated packages, or bugs related to the packages they are maintaining. </longdescription> + <upstream> + <remote-id type="github">arzano/pgo</remote-id> + </upstream> </pkgmetadata> diff --git a/app-portage/pkg-testing-tools/Manifest b/app-portage/pkg-testing-tools/Manifest index 936e7ff08c1e..be1e12c99c39 100644 --- a/app-portage/pkg-testing-tools/Manifest +++ b/app-portage/pkg-testing-tools/Manifest @@ -1 +1,3 @@ -DIST pkg-testing-tools-0.1.0.tar.gz 6131 BLAKE2B 6d8dddb81e57159df9f2e1897718433d29f330286afb868a1111db4e0bb7a53823df57a5d7084a24fd5807787f169fff137f5c6c0bdcddeec2c59090d9b90775 SHA512 05165d3790b4d38c939226d1149c0c44cd62fe222a199bce8f1e108d12475710f8482f82e2e2e45223ba24fd1b50451dea8b3761c8f474a59e660b9a67bf8ab4 +DIST pkg-testing-tools-0.1.2.gh.tar.gz 6180 BLAKE2B 7674573d165e8e04ef4555301bb15e6f3e7b6834096e4b9dcadf74bfc40dabcff5b694a323d6e1c62fa20d965be4f9f8c0b9459c5dacbd01f914669594aa15b4 SHA512 8d5933be8cd596089d4f8f5609d597330a1619b12f08049985b48519ecf10c3fd40971ee76b3bee793c082b8b96832aa2f5a2f6db8e1ca127a374986540e5ffc +DIST pkg-testing-tools-0.2.2.gh.tar.gz 10896 BLAKE2B 8b48ef2c2a6d1700869b77e84fe6af74d5a748eb56881ff3c2ce9921f942e51745bd48d6e091a3b86704b610713ba5563198c2e9b31693cae6d25972fbcdbb20 SHA512 a9d0745a828e539ff948205fdbfc34150c380d23692498aa3e0fcec0bf9f46c2a01a57f1d5cac4b44a5c1f7c3ca3c1c346d8058a6ea54c390e51bf44cd5fb612 +DIST pkg-testing-tools-0.2.4.gh.tar.gz 12361 BLAKE2B e60b322627f92ebccc33907d395763604e5531805c0ef3625c4b4511d2aa1a71dbaa71d6eb0bb2028738fcd13535fed4ffd4bdef189c528fddfbaac1d4e1044a SHA512 6dc28922940e281bbcd4fc065cb573dfb66cf0223d5aa11c514c24992512f6bf6e33200e8acb2a07ce87d648dd51844e43865b2e4bb64ed9ae9c6500259623c2 diff --git a/app-portage/pkg-testing-tools/metadata.xml b/app-portage/pkg-testing-tools/metadata.xml index 4a891574f8ce..0d65d13ee8f9 100644 --- a/app-portage/pkg-testing-tools/metadata.xml +++ b/app-portage/pkg-testing-tools/metadata.xml @@ -1,11 +1,15 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>slashbeast@gentoo.org</email> - <name>Piotr Karbowski</name> + <maintainer type="person" proxied="yes"> + <email>alexander@neuwirth-informatik.de</email> + <name>Alexander Puck Neuwirth</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> </maintainer> <upstream> - <remote-id type="github">slashbeast/pkg-testing-tools</remote-id> + <remote-id type="github">APN-Pucky/pkg-testing-tools</remote-id> </upstream> </pkgmetadata> diff --git a/app-portage/pkg-testing-tools/pkg-testing-tools-0.1.0.ebuild b/app-portage/pkg-testing-tools/pkg-testing-tools-0.1.2.ebuild index a6616c032088..1edd199dcdfd 100644 --- a/app-portage/pkg-testing-tools/pkg-testing-tools-0.1.0.ebuild +++ b/app-portage/pkg-testing-tools/pkg-testing-tools-0.1.2.ebuild @@ -1,18 +1,20 @@ -# 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 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) -PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="Packages testing tools for Gentoo" HOMEPAGE="https://github.com/slashbeast/pkg-testing-tools" -SRC_URI="https://github.com/slashbeast/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/slashbeast/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" RDEPEND=" sys-apps/portage[${PYTHON_USEDEP}] diff --git a/app-portage/pkg-testing-tools/pkg-testing-tools-0.2.2.ebuild b/app-portage/pkg-testing-tools/pkg-testing-tools-0.2.2.ebuild new file mode 100644 index 000000000000..c8cd079994a1 --- /dev/null +++ b/app-portage/pkg-testing-tools/pkg-testing-tools-0.2.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Packages testing tools for Gentoo" +HOMEPAGE="https://github.com/APN-Pucky/pkg-testing-tools" + +REPO=APN-Pucky +LICENSE="BSD" +SLOT="0" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/${REPO}/${PN}" +else + KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + SRC_URI="https://github.com/APN-Pucky/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" +fi + +IUSE="test" +RESTRICT="!test? ( test )" +RDEPEND=" + sys-apps/portage[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/app-portage/pkg-testing-tools/pkg-testing-tools-0.2.4.ebuild b/app-portage/pkg-testing-tools/pkg-testing-tools-0.2.4.ebuild new file mode 100644 index 000000000000..c8cd079994a1 --- /dev/null +++ b/app-portage/pkg-testing-tools/pkg-testing-tools-0.2.4.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Packages testing tools for Gentoo" +HOMEPAGE="https://github.com/APN-Pucky/pkg-testing-tools" + +REPO=APN-Pucky +LICENSE="BSD" +SLOT="0" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/${REPO}/${PN}" +else + KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + SRC_URI="https://github.com/APN-Pucky/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" +fi + +IUSE="test" +RESTRICT="!test? ( test )" +RDEPEND=" + sys-apps/portage[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/app-portage/pkg-testing-tools/pkg-testing-tools-9999.ebuild b/app-portage/pkg-testing-tools/pkg-testing-tools-9999.ebuild new file mode 100644 index 000000000000..c8cd079994a1 --- /dev/null +++ b/app-portage/pkg-testing-tools/pkg-testing-tools-9999.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Packages testing tools for Gentoo" +HOMEPAGE="https://github.com/APN-Pucky/pkg-testing-tools" + +REPO=APN-Pucky +LICENSE="BSD" +SLOT="0" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/${REPO}/${PN}" +else + KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + SRC_URI="https://github.com/APN-Pucky/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" +fi + +IUSE="test" +RESTRICT="!test? ( test )" +RDEPEND=" + sys-apps/portage[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/app-portage/portage-utils/Manifest b/app-portage/portage-utils/Manifest index af51126607d7..bbb5571ae09c 100644 --- a/app-portage/portage-utils/Manifest +++ b/app-portage/portage-utils/Manifest @@ -1,3 +1,4 @@ -DIST portage-utils-0.90.1.tar.xz 1779252 BLAKE2B 27c94694cab84970c0c92e835b9039d9420fbfa20f9f2e03f4f53d118df4dc243cddce33994095a3e41bd1027a42c9c29cda65cb7cf4f45279a028b21555f4f8 SHA512 67290a69ad6ac40da3ce0f41d2630096690e69bb97a1428af921ccc582dcfbf903bbf98259f68afdbe9e96aef81672ea3352a9266a649e75f99acec7fa00cd8a -DIST portage-utils-0.90.tar.xz 1776636 BLAKE2B bbacc05aa97c77705ae4fbdb5efde5f1d49a99ac8ed259e026c9a997f43a86551b3a10a397e0c5f1da161d2c0d88afe88e22870705ca39d911c4a98ad13f4928 SHA512 2077061dd7dfd444d4ad38faf5a87aa44392d7747f71d7283b5e2775ce3d714773cd642ea085aea3dd34a715f2c446d42fd64ba42fa99e716e8d843aae3d9682 -DIST portage-utils-0.92.tar.xz 1819676 BLAKE2B 01798e3984745140bca1bcc1eda5c2aea7c517bee2656acfe1bd810fc8088ddcb474f2c64fee6832c5e1699e2ec8ad5a9c6d5afba8a2e2b6f1861d49fbf7fcb7 SHA512 7d36263c9c242c8e82786fa12e171a3f396f65520acb8caa91516862615bd71241699ab6c2232122f7009875aa0a10b06b614a842d45afc86e599b39711e12b3 +DIST portage-utils-0.95.tar.xz 1806140 BLAKE2B 5a468a7b4006073203ba634a5d70398e254ef5db7e9b71fbcf20bce68942f74acce1d42b5d315931f93e8698c8dd2f38f328fcc6fdaa86addba7dbcc21fce5fa SHA512 2d1f4b986a377249043259d8ada1a35a7dd55179f0ef5c2c18a4180c8f1f7064133ab2677426098e61b1355fa26cb0f8aa3c6ea06d46af4c4ba2df4eb53489a4 +DIST portage-utils-0.96.1.tar.xz 1807156 BLAKE2B 6bf334c0083e5e8b0d6206ff43d4df0e32a9576ddedbe055cb6ef903b5f11d0878512ace7f93ea37207181321ca160a8f721b3095b2bcbfcdbb353ba3f5d4873 SHA512 769e734e0738aa52408fd6c151706085148818a19b2ad1051684e2d54fe9f486f2e3a25e8fb408c83325cfb428644c6c0aa3b6d1bac0d2189680c70d9657bcbf +DIST portage-utils-0.96.tar.xz 1806032 BLAKE2B 93ef9658a4b0bae7fb0527462bd9d0d19f396262818380d8ec2022c9fda596265c50adc262bdf296a4dd8c6b891b064316281d21444c8b903db20ca2463879e3 SHA512 cc32f53532c082544cabe505d8b90b947b6ab48742678aa98cbe9ba291625e8449ed0ecd90e01dc00b06c209b34001ad57a060918658e53d3babdc5c76ea7b02 +DIST portage-utils-0.97.tar.xz 1861616 BLAKE2B bdb4c6c1260a00304fb2c659629e0ddd4ca0378b1a060ea8b1f02ecb6060b4101c6e8984a6befd8b831a2b415fcdc5a51b6dac2fb203b36585f4a7d389ea0913 SHA512 f0f9ecf87df6e08b7f7dbdfe758c1a585a6836478d3adbcecdc2e33c9cfd78a5a10ae3090f0aa5ad0fa8a1eff88bf9e512d861b46bc77e5a536b46a3b36cd466 diff --git a/app-portage/portage-utils/metadata.xml b/app-portage/portage-utils/metadata.xml index 6d218bbea7e4..110ffa562e70 100644 --- a/app-portage/portage-utils/metadata.xml +++ b/app-portage/portage-utils/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> <email>grobian@gentoo.org</email> @@ -10,6 +10,7 @@ <flag name="qtegrity">Build qtegrity applet, this adds additional dependencies for OpenSSL</flag> </use> <upstream> - <remote-id type="cpe">cpe:/a:gentoo:portage</remote-id> + <remote-id type="gentoo">proj/portage-utils</remote-id> + <remote-id type="github">gentoo/portage-utils</remote-id> </upstream> </pkgmetadata> diff --git a/app-portage/portage-utils/portage-utils-0.90.1.ebuild b/app-portage/portage-utils/portage-utils-0.90.1.ebuild deleted file mode 100644 index 98fc23048d55..000000000000 --- a/app-portage/portage-utils/portage-utils-0.90.1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -DESCRIPTION="Small and fast Portage helper tools written in C" -HOMEPAGE="https://wiki.gentoo.org/wiki/Portage-utils" - -LICENSE="GPL-2" -SLOT="0" -IUSE="nls static openmp +qmanifest +qtegrity" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 autotools - EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage-utils.git" -else - SRC_URI="https://dev.gentoo.org/~grobian/distfiles/${P}.tar.xz" - KEYWORDS="hppa ppc sparc x86" -fi - -RDEPEND=" - qmanifest? ( - openmp? ( - || ( - >=sys-devel/gcc-4.2:*[openmp] - sys-devel/clang-runtime:*[openmp] - ) - ) - static? ( - app-crypt/libb2:=[static-libs] - dev-libs/openssl:0=[static-libs] - sys-libs/zlib:=[static-libs] - app-crypt/gpgme:=[static-libs] - ) - !static? ( - app-crypt/libb2:= - dev-libs/openssl:0= - sys-libs/zlib:= - app-crypt/gpgme:= - ) - ) - qtegrity? ( - openmp? ( - || ( - >=sys-devel/gcc-4.2:*[openmp] - sys-devel/clang-runtime:*[openmp] - ) - ) - static? ( - dev-libs/openssl:0=[static-libs] - ) - !static? ( - dev-libs/openssl:0= - ) - ) -" -DEPEND="${RDEPEND}" - -src_configure() { - econf \ - --disable-maintainer-mode \ - --with-eprefix="${EPREFIX}" \ - $(use_enable qmanifest) \ - $(use_enable qtegrity) \ - $(use_enable openmp) \ - $(use_enable static) -} diff --git a/app-portage/portage-utils/portage-utils-0.90.ebuild b/app-portage/portage-utils/portage-utils-0.90.ebuild deleted file mode 100644 index b6b9c568ac3a..000000000000 --- a/app-portage/portage-utils/portage-utils-0.90.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -DESCRIPTION="Small and fast Portage helper tools written in C" -HOMEPAGE="https://wiki.gentoo.org/wiki/Portage-utils" - -LICENSE="GPL-2" -SLOT="0" -IUSE="nls static openmp +qmanifest +qtegrity" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 autotools - EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage-utils.git" -else - SRC_URI="https://dev.gentoo.org/~grobian/distfiles/${P}.tar.xz" - 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" -fi - -RDEPEND=" - qmanifest? ( - openmp? ( - || ( - >=sys-devel/gcc-4.2:*[openmp] - sys-devel/clang-runtime:*[openmp] - ) - ) - static? ( - app-crypt/libb2:=[static-libs] - dev-libs/openssl:0=[static-libs] - sys-libs/zlib:=[static-libs] - app-crypt/gpgme:=[static-libs] - ) - !static? ( - app-crypt/libb2:= - dev-libs/openssl:0= - sys-libs/zlib:= - app-crypt/gpgme:= - ) - ) - qtegrity? ( - openmp? ( - || ( - >=sys-devel/gcc-4.2:*[openmp] - sys-devel/clang-runtime:*[openmp] - ) - ) - static? ( - dev-libs/openssl:0=[static-libs] - ) - !static? ( - dev-libs/openssl:0= - ) - ) -" -DEPEND="${RDEPEND}" - -src_configure() { - econf \ - --disable-maintainer-mode \ - --with-eprefix="${EPREFIX}" \ - $(use_enable qmanifest) \ - $(use_enable qtegrity) \ - $(use_enable openmp) \ - $(use_enable static) -} diff --git a/app-portage/portage-utils/portage-utils-0.92.ebuild b/app-portage/portage-utils/portage-utils-0.92.ebuild deleted file mode 100644 index 85c3b587a26c..000000000000 --- a/app-portage/portage-utils/portage-utils-0.92.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -DESCRIPTION="Small and fast Portage helper tools written in C" -HOMEPAGE="https://wiki.gentoo.org/wiki/Portage-utils" - -LICENSE="GPL-2" -SLOT="0" -IUSE="nls static openmp +qmanifest +qtegrity" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 autotools - EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage-utils.git" -else - SRC_URI="https://dev.gentoo.org/~grobian/distfiles/${P}.tar.xz" - 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" -fi - -RDEPEND=" - qmanifest? ( - openmp? ( - || ( - >=sys-devel/gcc-4.2:*[openmp] - sys-devel/clang-runtime:*[openmp] - ) - ) - static? ( - app-crypt/libb2:=[static-libs] - dev-libs/openssl:0=[static-libs] - sys-libs/zlib:=[static-libs] - app-crypt/gpgme:=[static-libs] - ) - !static? ( - app-crypt/libb2:= - dev-libs/openssl:0= - sys-libs/zlib:= - app-crypt/gpgme:= - ) - ) - qtegrity? ( - openmp? ( - || ( - >=sys-devel/gcc-4.2:*[openmp] - sys-devel/clang-runtime:*[openmp] - ) - ) - static? ( - dev-libs/openssl:0=[static-libs] - ) - !static? ( - dev-libs/openssl:0= - ) - ) -" -DEPEND="${RDEPEND}" - -src_configure() { - econf \ - --disable-maintainer-mode \ - --with-eprefix="${EPREFIX}" \ - $(use_enable qmanifest) \ - $(use_enable qtegrity) \ - $(use_enable openmp) \ - $(use_enable static) -} diff --git a/app-portage/portage-utils/portage-utils-0.95-r1.ebuild b/app-portage/portage-utils/portage-utils-0.95-r1.ebuild new file mode 100644 index 000000000000..e9bf09edc335 --- /dev/null +++ b/app-portage/portage-utils/portage-utils-0.95-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Small and fast Portage helper tools written in C" +HOMEPAGE="https://wiki.gentoo.org/wiki/Portage-utils" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 autotools + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage-utils.git" +else + SRC_URI="https://dev.gentoo.org/~grobian/distfiles/${P}.tar.xz" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="openmp +qmanifest +qtegrity static" + +RDEPEND=" + openmp? ( || ( + sys-devel/gcc:*[openmp] + sys-libs/libomp + ) ) + qmanifest? ( + !static? ( + app-crypt/gpgme:= + app-crypt/libb2:= + dev-libs/openssl:= + sys-libs/zlib:= + ) + ) + qtegrity? ( + !static? ( + dev-libs/openssl:= + ) + )" +DEPEND="${RDEPEND} + qmanifest? ( + static? ( + app-crypt/gpgme[static-libs] + app-crypt/libb2[static-libs] + dev-libs/openssl[static-libs] + sys-libs/zlib[static-libs] + ) + ) + qtegrity? ( + static? ( + dev-libs/openssl[static-libs] + ) + )" +BDEPEND="virtual/pkgconfig" + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +src_prepare() { + default + [[ ${PV} == *9999 ]] && eautoreconf +} + +src_configure() { + use static && append-ldflags -static + + econf \ + --disable-maintainer-mode \ + --with-eprefix="${EPREFIX}" \ + $(use_enable qmanifest) \ + $(use_enable qtegrity) \ + $(use_enable openmp) +} diff --git a/app-portage/portage-utils/portage-utils-0.96-r1.ebuild b/app-portage/portage-utils/portage-utils-0.96-r1.ebuild new file mode 100644 index 000000000000..e9bf09edc335 --- /dev/null +++ b/app-portage/portage-utils/portage-utils-0.96-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Small and fast Portage helper tools written in C" +HOMEPAGE="https://wiki.gentoo.org/wiki/Portage-utils" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 autotools + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage-utils.git" +else + SRC_URI="https://dev.gentoo.org/~grobian/distfiles/${P}.tar.xz" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="openmp +qmanifest +qtegrity static" + +RDEPEND=" + openmp? ( || ( + sys-devel/gcc:*[openmp] + sys-libs/libomp + ) ) + qmanifest? ( + !static? ( + app-crypt/gpgme:= + app-crypt/libb2:= + dev-libs/openssl:= + sys-libs/zlib:= + ) + ) + qtegrity? ( + !static? ( + dev-libs/openssl:= + ) + )" +DEPEND="${RDEPEND} + qmanifest? ( + static? ( + app-crypt/gpgme[static-libs] + app-crypt/libb2[static-libs] + dev-libs/openssl[static-libs] + sys-libs/zlib[static-libs] + ) + ) + qtegrity? ( + static? ( + dev-libs/openssl[static-libs] + ) + )" +BDEPEND="virtual/pkgconfig" + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +src_prepare() { + default + [[ ${PV} == *9999 ]] && eautoreconf +} + +src_configure() { + use static && append-ldflags -static + + econf \ + --disable-maintainer-mode \ + --with-eprefix="${EPREFIX}" \ + $(use_enable qmanifest) \ + $(use_enable qtegrity) \ + $(use_enable openmp) +} diff --git a/app-portage/portage-utils/portage-utils-0.96.1.ebuild b/app-portage/portage-utils/portage-utils-0.96.1.ebuild new file mode 100644 index 000000000000..fa1f6dc0e48a --- /dev/null +++ b/app-portage/portage-utils/portage-utils-0.96.1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Small and fast Portage helper tools written in C" +HOMEPAGE="https://wiki.gentoo.org/wiki/Portage-utils" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 autotools + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage-utils.git" +else + SRC_URI="https://dev.gentoo.org/~grobian/distfiles/${P}.tar.xz" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="openmp +qmanifest +qtegrity static" + +RDEPEND=" + openmp? ( || ( + sys-devel/gcc:*[openmp] + sys-libs/libomp + ) ) + qmanifest? ( + !static? ( + app-crypt/gpgme:= + app-crypt/libb2:= + dev-libs/openssl:= + sys-libs/zlib:= + ) + ) + qtegrity? ( + !static? ( + dev-libs/openssl:= + ) + )" +DEPEND="${RDEPEND} + qmanifest? ( + static? ( + app-crypt/gpgme[static-libs] + app-crypt/libb2[static-libs] + dev-libs/openssl[static-libs] + sys-libs/zlib[static-libs] + ) + ) + qtegrity? ( + static? ( + dev-libs/openssl[static-libs] + ) + )" +BDEPEND="virtual/pkgconfig" + +# bug #898362, gnulib check explicitly looks for MIN in some headers +QA_CONFIG_IMPL_DECL_SKIP="MIN" + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +src_prepare() { + default + [[ ${PV} == *9999 ]] && eautoreconf +} + +src_configure() { + use static && append-ldflags -static + + econf \ + --disable-maintainer-mode \ + --with-eprefix="${EPREFIX}" \ + $(use_enable qmanifest) \ + $(use_enable qtegrity) \ + $(use_enable openmp) +} diff --git a/app-portage/portage-utils/portage-utils-0.97.ebuild b/app-portage/portage-utils/portage-utils-0.97.ebuild new file mode 100644 index 000000000000..64f18b80703d --- /dev/null +++ b/app-portage/portage-utils/portage-utils-0.97.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Small and fast Portage helper tools written in C" +HOMEPAGE="https://wiki.gentoo.org/wiki/Portage-utils" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 autotools + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage-utils.git" +else + SRC_URI="https://dev.gentoo.org/~grobian/distfiles/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="openmp +qmanifest static" + +RDEPEND=" + openmp? ( || ( + sys-devel/gcc:*[openmp] + sys-libs/libomp + ) ) + qmanifest? ( + !static? ( + app-crypt/gpgme:= + app-crypt/libb2:= + sys-libs/zlib:= + ) + )" +DEPEND="${RDEPEND} + qmanifest? ( + static? ( + app-crypt/gpgme[static-libs] + app-crypt/libb2[static-libs] + sys-libs/zlib[static-libs] + ) + )" +BDEPEND="virtual/pkgconfig" + +# bug #898362, gnulib explicit checks +QA_CONFIG_IMPL_DECL_SKIP=( + "MIN" + "unreachable" + "alignof" + "static_assert" +) + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +src_prepare() { + default + [[ ${PV} == *9999 ]] && eautoreconf +} + +src_configure() { + use static && append-ldflags -static + + econf \ + --disable-maintainer-mode \ + --with-eprefix="${EPREFIX}" \ + $(use_enable qmanifest) \ + $(use_enable openmp) +} diff --git a/app-portage/portage-utils/portage-utils-9999.ebuild b/app-portage/portage-utils/portage-utils-9999.ebuild index 85c3b587a26c..64f18b80703d 100644 --- a/app-portage/portage-utils/portage-utils-9999.ebuild +++ b/app-portage/portage-utils/portage-utils-9999.ebuild @@ -1,67 +1,70 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=8 + +inherit flag-o-matic toolchain-funcs DESCRIPTION="Small and fast Portage helper tools written in C" HOMEPAGE="https://wiki.gentoo.org/wiki/Portage-utils" -LICENSE="GPL-2" -SLOT="0" -IUSE="nls static openmp +qmanifest +qtegrity" - if [[ ${PV} == *9999 ]]; then inherit git-r3 autotools EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage-utils.git" else SRC_URI="https://dev.gentoo.org/~grobian/distfiles/${P}.tar.xz" - 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" fi +LICENSE="GPL-2" +SLOT="0" +IUSE="openmp +qmanifest static" + RDEPEND=" + openmp? ( || ( + sys-devel/gcc:*[openmp] + sys-libs/libomp + ) ) qmanifest? ( - openmp? ( - || ( - >=sys-devel/gcc-4.2:*[openmp] - sys-devel/clang-runtime:*[openmp] - ) - ) - static? ( - app-crypt/libb2:=[static-libs] - dev-libs/openssl:0=[static-libs] - sys-libs/zlib:=[static-libs] - app-crypt/gpgme:=[static-libs] - ) !static? ( + app-crypt/gpgme:= app-crypt/libb2:= - dev-libs/openssl:0= sys-libs/zlib:= - app-crypt/gpgme:= - ) - ) - qtegrity? ( - openmp? ( - || ( - >=sys-devel/gcc-4.2:*[openmp] - sys-devel/clang-runtime:*[openmp] - ) ) + )" +DEPEND="${RDEPEND} + qmanifest? ( static? ( - dev-libs/openssl:0=[static-libs] + app-crypt/gpgme[static-libs] + app-crypt/libb2[static-libs] + sys-libs/zlib[static-libs] ) - !static? ( - dev-libs/openssl:0= - ) - ) -" -DEPEND="${RDEPEND}" + )" +BDEPEND="virtual/pkgconfig" + +# bug #898362, gnulib explicit checks +QA_CONFIG_IMPL_DECL_SKIP=( + "MIN" + "unreachable" + "alignof" + "static_assert" +) + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +src_prepare() { + default + [[ ${PV} == *9999 ]] && eautoreconf +} src_configure() { + use static && append-ldflags -static + econf \ --disable-maintainer-mode \ --with-eprefix="${EPREFIX}" \ $(use_enable qmanifest) \ - $(use_enable qtegrity) \ - $(use_enable openmp) \ - $(use_enable static) + $(use_enable openmp) } diff --git a/app-portage/porticron/metadata.xml b/app-portage/porticron/metadata.xml index e49009053e19..8d0917744ca6 100644 --- a/app-portage/porticron/metadata.xml +++ b/app-portage/porticron/metadata.xml @@ -1,8 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <!-- maintainer-needed --> <upstream> + <remote-id type="gentoo">proj/porticron</remote-id> <remote-id type="github">gentoo/porticron</remote-id> </upstream> </pkgmetadata> diff --git a/app-portage/porticron/porticron-0.7.1.ebuild b/app-portage/porticron/porticron-0.7.1-r1.ebuild index 68254d6cc552..01786328001d 100644 --- a/app-portage/porticron/porticron-0.7.1.ebuild +++ b/app-portage/porticron/porticron-0.7.1-r1.ebuild @@ -1,9 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" - -inherit vcs-snapshot +EAPI=8 DESCRIPTION="cron script to sync portage and send update mails to root" HOMEPAGE="https://github.com/gentoo/porticron" @@ -12,13 +10,11 @@ SRC_URI="https://github.com/gentoo/porticron/archive/v${PV}.tar.gz -> ${P}.tar.g LICENSE="BSD" SLOT="0" KEYWORDS="amd64 arm arm64 ~hppa ppc ~ppc64 x86" -IUSE="" RDEPEND=" app-portage/gentoolkit net-dns/bind-tools " -DEPEND="" src_install() { dosbin bin/porticron diff --git a/app-portage/portpeek/Manifest b/app-portage/portpeek/Manifest index 5fabb24bab1a..ac2c786744eb 100644 --- a/app-portage/portpeek/Manifest +++ b/app-portage/portpeek/Manifest @@ -1,2 +1 @@ -DIST portpeek-3.2.0.tar.gz 13793 BLAKE2B 224ffff46090ee8c6ddc338623a5a1b4323ad2104514f0be8962b5af9070ab8217d76e3b19fdeac148b13cee77531ddb0261b89e563bb9a999b895b2a2475c69 SHA512 2b0592b92ce122c53c687e1897e1a51319527dca70c16ca38564dde870a05ccd0f4a00de88b53194046c9b2a4fef3a3ccf1a5fb84777de8437f66bb6cc25da94 -DIST portpeek-3.2.1.tar.gz 13538 BLAKE2B efd8566b0fd54cc9f76eb05d330a566999c2e301c2e62e38b12d6fa7063d57cf4803db0e1ca5fe3067a31075294e4c4e5f794acc914f2ed2abfc340c6bbf8278 SHA512 f5888f63c5683e48d601c6560800566586c1558541f928aacb0476cb7534e8e6910517d96c083519747d6074e1ee2739780f050fdffa6e5a1913399e2b2d108a +DIST portpeek-3.2.4.tar.gz 13655 BLAKE2B bc758a6312775458974bf0cd1218150f18b35cf0722b36829443a7df8e8aaf35b40f2d8edeaad8a21f32b9a5f46ad2eabe7a762286ad62f71f41de08553fbd1c SHA512 2a8d85c1862c3d800251aa94a9ffdee18100aa8d39b6e72dcf8d34c21ac1efb7ef100efe4a3bca5b96570604bfa4b5c4f702ab85f343476ba3081f123d65b5e5 diff --git a/app-portage/portpeek/metadata.xml b/app-portage/portpeek/metadata.xml index b462e8dac5a2..196eab465c08 100644 --- a/app-portage/portpeek/metadata.xml +++ b/app-portage/portpeek/metadata.xml @@ -1,8 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> <email>mpagano@gentoo.org</email> </maintainer> <stabilize-allarches/> + <upstream> + <remote-id type="github">mpagano/portpeek</remote-id> + </upstream> </pkgmetadata> diff --git a/app-portage/portpeek/portpeek-3.2.1.ebuild b/app-portage/portpeek/portpeek-3.2.1.ebuild deleted file mode 100644 index 420753cb6a25..000000000000 --- a/app-portage/portpeek/portpeek-3.2.1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" -PYTHON_COMPAT=( python3_{8,9} ) - -inherit python-r1 - -DESCRIPTION="A helper program for maintaining the package.keyword and package.unmask files" -HOMEPAGE="https://www.mpagano.com/blog/?page_id=3" -SRC_URI="https://www.mpagano.com/downloads/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86" -IUSE="" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND="${PYTHON_DEPS}" -RDEPEND="${DEPEND} - >=app-portage/gentoolkit-0.5.1 - || ( - >=sys-apps/portage-3.0.18[${PYTHON_USEDEP}] - )" - -src_install() { - python_foreach_impl python_doscript ${PN} - doman *.[0-9] -} diff --git a/app-portage/portpeek/portpeek-3.2.0.ebuild b/app-portage/portpeek/portpeek-3.2.4.ebuild index 2ee5d4b9bb19..f07d14a04f43 100644 --- a/app-portage/portpeek/portpeek-3.2.0.ebuild +++ b/app-portage/portpeek/portpeek-3.2.4.ebuild @@ -1,27 +1,26 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" -PYTHON_COMPAT=( python3_{8,9} ) +EAPI="8" +PYTHON_COMPAT=( python3_{9,10,11,12} ) inherit python-r1 DESCRIPTION="A helper program for maintaining the package.keyword and package.unmask files" -HOMEPAGE="https://www.mpagano.com/blog/?page_id=3" -SRC_URI="https://www.mpagano.com/downloads/${P}.tar.gz" +HOMEPAGE="https://github.com/mpagano/portpeek" +SRC_URI="https://github.com/mpagano/portpeek/releases/download/v${PV}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 arm arm64 ppc sparc x86" -IUSE="" REQUIRED_USE="${PYTHON_REQUIRED_USE}" DEPEND="${PYTHON_DEPS}" RDEPEND="${DEPEND} - >=app-portage/gentoolkit-0.5.0 + >=app-portage/gentoolkit-0.6.3 || ( - >=sys-apps/portage-3.0.13[${PYTHON_USEDEP}] + >=sys-apps/portage-3.0.54-r1[${PYTHON_USEDEP}] )" src_install() { diff --git a/app-portage/pram/metadata.xml b/app-portage/pram/metadata.xml index 6dde7de270a0..8a8dbe18503f 100644 --- a/app-portage/pram/metadata.xml +++ b/app-portage/pram/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> <email>mgorny@gentoo.org</email> @@ -11,7 +11,7 @@ <email>mgorny@gentoo.org</email> <name>Michał Górny</name> </maintainer> - <bugs-to>https://github.com/mgorny/pram/issues/</bugs-to> - <remote-id type="github">mgorny/pram</remote-id> + <bugs-to>https://github.com/projg2/pram/issues/</bugs-to> + <remote-id type="github">projg2/pram</remote-id> </upstream> </pkgmetadata> diff --git a/app-portage/pram/pram-10.ebuild b/app-portage/pram/pram-10.ebuild index 77770d1261bf..25e440cef3bf 100644 --- a/app-portage/pram/pram-10.ebuild +++ b/app-portage/pram/pram-10.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019-2021 Gentoo Authors +# Copyright 2019-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -6,12 +6,12 @@ EAPI=7 inherit meson DESCRIPTION="Tool to ease merging Pull Requests and git patches" -HOMEPAGE="https://github.com/mgorny/pram" -SRC_URI="https://github.com/mgorny/pram/archive/v${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE="https://github.com/projg2/pram" +SRC_URI="https://github.com/projg2/pram/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD-2" SLOT="0" -KEYWORDS="amd64 ~arm64 ppc64 x86 ~x64-macos" +KEYWORDS="amd64 ~arm64 ppc64 ~riscv x86 ~x64-macos" IUSE="test" RESTRICT="!test? ( test )" diff --git a/app-portage/prefix-toolkit/Manifest b/app-portage/prefix-toolkit/Manifest new file mode 100644 index 000000000000..ebd30aa764bd --- /dev/null +++ b/app-portage/prefix-toolkit/Manifest @@ -0,0 +1 @@ +DIST prefix-toolkit-10.tar.bz2 5715 BLAKE2B fe8b4642fc4f8fa97bd8c9dc4f9e907dd0ca464ddc20e28d2888354f766fce04dd6ebc3bfae23bc776c59986c8167cc94510fb950124917874c5dde4f68cddfe SHA512 58f7fabab8ce5e2c3b2f0725733d02e340efb714ecf3556c27dbe95e7cf9c4b2f4ae658c44749cf2c62111d1135c60c333bbf93ee1c7b79ea11b908cc923c730 diff --git a/app-portage/prefix-toolkit/metadata.xml b/app-portage/prefix-toolkit/metadata.xml index d33cce94b0d4..1847ed2edf88 100644 --- a/app-portage/prefix-toolkit/metadata.xml +++ b/app-portage/prefix-toolkit/metadata.xml @@ -1,8 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer type="project"> - <email>prefix@gentoo.org</email> - <name>Gentoo Prefix</name> -</maintainer> + <maintainer type="project"> + <email>prefix@gentoo.org</email> + <name>Gentoo Prefix</name> + </maintainer> + <upstream> + <remote-id type="gentoo">proj/prefix/prefix-toolkit</remote-id> + </upstream> </pkgmetadata> diff --git a/app-portage/prefix-toolkit/prefix-toolkit-10-r1.ebuild b/app-portage/prefix-toolkit/prefix-toolkit-10-r1.ebuild new file mode 100644 index 000000000000..b626552ad3e6 --- /dev/null +++ b/app-portage/prefix-toolkit/prefix-toolkit-10-r1.ebuild @@ -0,0 +1,169 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Utilities for users of Gentoo Prefix" +HOMEPAGE="https://prefix.gentoo.org/" +SRC_URI="https://gitweb.gentoo.org/proj/prefix/prefix-toolkit.git/snapshot/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" + +[[ ${PV} == 9999 ]] || +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~riscv-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +DEPEND="" +BDEPEND="${DEPEND} + >sys-apps/portage-2.3.62 +" +# In prefix-stack, these dependencies actually are the @system set, +# as we rely on the base prefix anyway for package management, +# which should have a proper @system set. +# Strictly speaking, only baselayout and gcc-config are necessary, but +# it is easier for now to install elt-patches, gentoo-functions and +# gnuconfig as well, instead of fixing all uses that expect them in +# EPREFIX rather than BROOT. +# See also: pkg_preinst +RDEPEND="${DEPEND} + prefix-stack? ( + sys-devel/gcc-config + app-portage/elt-patches + sys-apps/gentoo-functions + sys-devel/gnuconfig + ) +" + +src_unpack() { + default + + if use prefix-stack ; then + local editor pager + for editor in "${EDITOR}" {"${EPREFIX}","${BROOT}"}/bin/nano + do + [[ -x ${editor} ]] || continue + done + for pager in "${PAGER}" {"${EPREFIX}","${BROOT}"}/usr/bin/less + do + [[ -x ${pager} ]] || continue + done + printf '%s\n' "EDITOR=\"${editor}\"" "PAGER=\"${pager}\"" > 000fallback + fi +} + +my_prefixify() { + local ebash eenv + if use prefix-stack ; then + ebash="${BROOT}/bin/bash" + eenv="${BROOT}/usr/bin/env" + else + ebash="${EPREFIX}/bin/bash" + eenv="${EPREFIX}/usr/bin/env" + fi + + # the @=@ prevents repoman from believing we set readonly vars + sed -e "s,@GENTOO_PORTAGE_BPREFIX@,${BROOT},g" \ + -e "s,@GENTOO_PORTAGE_EPREFIX@,${EPREFIX},g" \ + -e "s,@GENTOO_PORTAGE_CHOST@,${CHOST},g" \ + -e "s,@GENTOO_PORTAGE_EBASH@,${ebash},g" \ + -e "s,@GENTOO_PORTAGE_EENV@,${eenv},g" \ + -e "s,@=@,=,g" \ + -i "$@" || die +} + +src_configure() { + # do not eprefixify during unpack, to allow userpatches to apply + my_prefixify * +} + +src_install-prefix-stack-ccwrap() { + # install toolchain wrapper. + local wrapperdir=/usr/${CHOST}/gcc-bin/${CHOST}-${PN}/${PV} + local wrappercfg=${CHOST}-${P} + + exeinto $wrapperdir + doexe prefix-stack-ccwrap + + local cc + for cc in \ + gcc \ + g++ \ + cpp \ + c++ \ + windres \ + ; do + dosym prefix-stack-ccwrap $wrapperdir/${CHOST}-${cc} + dosym ${CHOST}-${cc} $wrapperdir/${cc} + done + + # LDPATH is required to keep gcc-config happy :( + cat > ./${wrappercfg} <<-EOF + GCC_PATH="${EPREFIX}$wrapperdir" + LDPATH="${EPREFIX}$wrapperdir" + EOF + + insinto /etc/env.d/gcc + doins ./${wrappercfg} +} + +src_install() { + if use prefix-stack; then + src_install-prefix-stack-ccwrap + insinto /etc + doins prefix-stack.bash_login + insinto /etc/bash + newins prefix-stack.bashrc bashrc + newenvd prefix-stack.envd.99stack 99stack + doenvd 000fallback + keepdir /usr/share/aclocal + else + dobin prefix-stack-setup + fi + if use prefix; then + exeinto / + doexe startprefix + fi +} + +pkg_preinst() { + use prefix-stack || return 0 + ebegin "Purging @system package set for prefix stack" + # In prefix stack we empty out the @system set defined via make.profile, + # as we may be using some normal profile, but that @system set applies + # to the base prefix only. + # Instead, we only put ourselve into the @system set, and have additional + # @system packages in our RDEPEND. + my_lsprofile() { + ( + cd -P "${1:-.}" || exit 1 + [[ -r ./parent ]] && + for p in $(<parent) + do + my_lsprofile "${p}" || exit 1 + done + pwd -P + ) + } + local systemset="/etc/portage/profile/packages" + dodir "${systemset%/*}" + [[ -s ${EROOT}${systemset} ]] && + grep -v "# maintained by ${PN}" \ + "${EROOT}${systemset}" \ + > "${ED}${systemset}" + local p + for p in $(my_lsprofile "${EPREFIX}"/etc/portage/make.profile) + do + [[ -s ${p}/${systemset##*/} ]] || continue + awk '/^[ \t]*[^-#]/{print "-" $1 " # maintained by '"${PN}-${PVR}"'"}' \ + < "${p}"/packages || die + done | sort -u >> "${ED}${systemset}" + [[ ${PIPESTATUS[@]} == "0 0" ]] || die "failed to collect for ${systemset}" + echo "*${CATEGORY}/${PN} # maintained by ${PN}-${PVR}" >> "${ED}${systemset}" || die + eend $? +} + +pkg_postinst() { + use prefix-stack || return 0 + [[ -x ${EROOT}/usr/bin/gcc-config ]] || return 0 + "${EROOT}"/usr/bin/gcc-config ${CHOST}-${P} +} diff --git a/app-portage/prefix-toolkit/prefix-toolkit-8.ebuild b/app-portage/prefix-toolkit/prefix-toolkit-8.ebuild deleted file mode 100644 index c7c9ab9e7336..000000000000 --- a/app-portage/prefix-toolkit/prefix-toolkit-8.ebuild +++ /dev/null @@ -1,693 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Utilities for users of Gentoo Prefix" -HOMEPAGE="https://prefix.gentoo.org/" -SRC_URI="" - -LICENSE="GPL-3" -SLOT="0" - -[[ ${PV} == 9999 ]] || -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" - -DEPEND=" - !app-portage/prefix-chain-setup - !sys-apps/prefix-chain-utils -" -BDEPEND="${DEPEND} - >sys-apps/portage-2.3.62 -" -# In prefix-stack, these dependencies actually are the @system set, -# as we rely on the base prefix anyway for package management, -# which should have a proper @system set. -# See als: pkg_preinst -RDEPEND="${DEPEND} - prefix-stack? ( - >=sys-apps/baselayout-prefix-2.6 - sys-apps/gentoo-functions - app-portage/elt-patches - sys-devel/gnuconfig - sys-devel/gcc-config - elibc_Winnt? ( - dev-libs/pthreads4w - ) - ) -" - -S="${WORKDIR}" - -my_unpack() { - local infile=$1 - local outfile=${2:-${infile}} - ebegin "extracting ${outfile}" - sed -ne "/^: ${infile} /,/EOIN/{/EOIN/d;p}" "${EBUILD}" \ - > "${outfile}" || die "Failed to unpack ${outfile}" - eend $? -} - -src_unpack() { - if use prefix-stack ; then - my_unpack prefix-stack.bash_login - my_unpack prefix-stack.bashrc - my_unpack prefix-stack.envd.99stack - my_unpack prefix-stack-ccwrap - local editor pager - for editor in "${EDITOR}" {"${EPREFIX}","${BROOT}"}/bin/nano - do - [[ -x ${editor} ]] || continue - done - for pager in "${PAGER}" {"${EPREFIX}","${BROOT}"}/usr/bin/less - do - [[ -x ${pager} ]] || continue - done - printf '%s\n' "EDITOR=\"${editor}\"" "PAGER=\"${pager}\"" > 000fallback - else - my_unpack prefix-stack-setup - fi - my_unpack startprefix -} - -my_prefixify() { - local ebash eenv - if use prefix-stack ; then - ebash="${BROOT}/bin/bash" - eenv="${BROOT}/usr/bin/env" - else - ebash="${EPREFIX}/bin/bash" - eenv="${EPREFIX}/usr/bin/env" - fi - - # the @=@ prevents repoman from believing we set readonly vars - sed -e "s,@GENTOO_PORTAGE_BPREFIX@,${BROOT},g" \ - -e "s,@GENTOO_PORTAGE_EPREFIX@,${EPREFIX},g" \ - -e "s,@GENTOO_PORTAGE_CHOST@,${CHOST},g" \ - -e "s,@GENTOO_PORTAGE_EBASH@,${ebash},g" \ - -e "s,@GENTOO_PORTAGE_EENV@,${eenv},g" \ - -e "s,@=@,=,g" \ - -i "$@" || die -} - -src_configure() { - # do not eprefixify during unpack, to allow userpatches to apply - my_prefixify * -} - -src_install-prefix-stack-ccwrap() { - # install toolchain wrapper. - local wrapperdir=/usr/${CHOST}/gcc-bin/${CHOST}-${PN}/${PV} - local wrappercfg=${CHOST}-${P} - - exeinto $wrapperdir - doexe prefix-stack-ccwrap - - local cc - for cc in \ - gcc \ - g++ \ - cpp \ - c++ \ - windres \ - ; do - dosym prefix-stack-ccwrap $wrapperdir/${CHOST}-${cc} - dosym ${CHOST}-${cc} $wrapperdir/${cc} - done - - # LDPATH is required to keep gcc-config happy :( - cat > ./${wrappercfg} <<-EOF - GCC_PATH="${EPREFIX}$wrapperdir" - LDPATH="${EPREFIX}$wrapperdir" - EOF - - insinto /etc/env.d/gcc - doins ./${wrappercfg} -} - -src_install() { - if use prefix-stack; then - src_install-prefix-stack-ccwrap - insinto /etc - doins prefix-stack.bash_login - insinto /etc/bash - newins prefix-stack.bashrc bashrc - newenvd prefix-stack.envd.99stack 99stack - doenvd 000fallback - keepdir /usr/share/aclocal - else - dobin prefix-stack-setup - fi - exeinto / - doexe startprefix -} - -pkg_preinst() { - use prefix-stack || return 0 - ebegin "Purging @system package set for prefix stack" - # In prefix stack we empty out the @system set defined via make.profile, - # as we may be using some normal profile, but that @system set applies - # to the base prefix only. - # Instead, we only put ourselve into the @system set, and have additional - # @system packages in our RDEPEND. - my_lsprofile() { - ( - cd -P "${1:-.}" || exit 1 - [[ -r ./parent ]] && - for p in $(<parent) - do - my_lsprofile "${p}" || exit 1 - done - pwd -P - ) - } - local systemset="/etc/portage/profile/packages" - dodir "${systemset%/*}" - [[ -s ${EROOT}${systemset} ]] && - grep -v "# maintained by ${PN}" \ - "${EROOT}${systemset}" \ - > "${ED}${systemset}" - local p - for p in $(my_lsprofile "${EPREFIX}"/etc/portage/make.profile) - do - [[ -s ${p}/${systemset##*/} ]] || continue - awk '/^[ \t]*[^-#]/{print "-" $1 " # maintained by '"${PN}-${PVR}"'"}' \ - < "${p}"/packages || die - done | sort -u >> "${ED}${systemset}" - [[ ${PIPESTATUS[@]} == "0 0" ]] || die "failed to collect for ${systemset}" - echo "*${CATEGORY}/${PN} # maintained by ${PN}-${PVR}" >> "${ED}${systemset}" || die - eend $? -} - -pkg_postinst() { - use prefix-stack || return 0 - [[ -x ${EROOT}/usr/bin/gcc-config ]] || return 0 - "${EROOT}"/usr/bin/gcc-config ${CHOST}-${P} -} - -return 0 - -: startprefix <<'EOIN' -#!@GENTOO_PORTAGE_EBASH@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Fabian Groffen <grobian@gentoo.org> -- 2007-03-10 -# Enters the prefix environment by starting a login shell from the -# prefix. The SHELL environment variable is elevated in order to make -# applications that start login shells to work, such as `screen`. - -# if you come from a substantially polluted environment (another -# Prefix), a cleanup as follows resolves most oddities I've ever seen: -# env -i HOME=$HOME TERM=$TERM USER=$USER $SHELL -l -# hence this script starts the Prefix shell like this - -if [[ ${SHELL#@GENTOO_PORTAGE_EPREFIX@} != ${SHELL} ]] -then - echo "You appear to be in prefix already (SHELL=${SHELL})" > /dev/stderr - exit -1 -elif [[ ${SHELL#@GENTOO_PORTAGE_BPREFIX@} != ${SHELL} ]] && - [[ ${EPREFIX-unset} == '@GENTOO_PORTAGE_EPREFIX@' ]] -then - echo "You appear to be in stacked prefix already (EPREFIX=${EPREFIX})" > /dev/stderr - exit -1 -fi - -# What is our prefix? -EPREFIX@=@'@GENTOO_PORTAGE_EPREFIX@' -BPREFIX@=@'@GENTOO_PORTAGE_BPREFIX@' - -# not all systems have the same location for shells, however what it -# boils down to, is that we need to know what the shell is, and then we -# can find it in the bin dir of our prefix -for SHELL in \ - "${EPREFIX}/bin/${SHELL##*/}" \ - "${BPREFIX}/bin/${SHELL##*/}" \ - ${SHELL##*/} -do - [[ ${SHELL} == */* && -x ${SHELL} ]] && break -done - -# check if the shell exists -if [[ ${SHELL} != */* ]] -then - echo "Failed to find the Prefix shell, this is probably" > /dev/stderr - echo "because you didn't emerge the shell ${SHELL}" > /dev/stderr - exit 1 -fi - -# set the prefix shell in the environment -export SHELL - -# give a small notice -echo "Entering Gentoo Prefix ${EPREFIX}" -# start the login shell, clean the entire environment but what's needed -RETAIN="HOME=$HOME TERM=$TERM USER=$USER SHELL=$SHELL" -# PROFILEREAD is necessary on SUSE not to wipe the env on shell start -[[ -n ${PROFILEREAD} ]] && RETAIN+=" PROFILEREAD=$PROFILEREAD" -# ssh-agent is handy to keep, of if set, inherit it -[[ -n ${SSH_AUTH_SOCK} ]] && RETAIN+=" SSH_AUTH_SOCK=$SSH_AUTH_SOCK" -# if we're on some X terminal, makes sense to inherit that too -[[ -n ${DISPLAY} ]] && RETAIN+=" DISPLAY=$DISPLAY" -if [[ -d /proc/registry ]]; then # we're on Cygwin - # crucial to Windows but cannot be restored, see - # https://cygwin.com/ml/cygwin/2019-08/msg00072.html - [[ -n ${SYSTEMDRIVE} ]] && RETAIN+=" SYSTEMDRIVE=$SYSTEMDRIVE" - # COMSPEC is to native Windows what SHELL is to *nix - [[ -n ${COMSPEC} ]] && RETAIN+=" COMSPEC=$COMSPEC" - # some Windows programs (e.g. devenv.exe) need TMP or TEMP - [[ -n ${TEMP} ]] && RETAIN+=" TEMP=$TEMP" -fi -# do it! -if [[ ${SHELL#${EPREFIX}} != ${SHELL} ]] ; then - '@GENTOO_PORTAGE_EENV@' -i $RETAIN $SHELL -l -elif [[ ' bash ' == *" ${SHELL##*/} "* ]] ; then - # shell coming from different prefix would load it's own - # etc/profile upon -l, so we have to override - '@GENTOO_PORTAGE_EENV@' -i ${RETAIN} "${SHELL}" --rcfile "${EPREFIX}"/etc/prefix-stack.bash_login -i -else - echo "Only bash is supported with stacked Prefix (you have ${SHELL##*/}), sorry!" > /dev/stderr - exit 1 -fi -# and leave a message when we exit... the shell might return non-zero -# without having real problems, so don't send alarming messages about -# that -echo "Leaving Gentoo Prefix with exit status $?" -EOIN - -: prefix-stack.bashrc <<'EOIN' -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 -# -# In stacked Prefix there is no bash installed, yet -# etc/bash/bashrc from base Prefix still is useful. -# - -if [[ $- != *i* ]] ; then - # Shell is non-interactive, bashrc does not apply - return -fi - -if [[ -r @GENTOO_PORTAGE_BPREFIX@/etc/bash/bashrc ]] ; then - source '@GENTOO_PORTAGE_BPREFIX@/etc/bash/bashrc' - # only if base Prefix does have an etc/bash/bashrc, we also - # run bashrc snippets provided by packages in stacked Prefix - for sh in '@GENTOO_PORTAGE_EPREFIX@'/etc/bash/bashrc.d/* ; do - [[ -r ${sh} ]] && source "${sh}" - done - unset sh -else - # etc/profile does expect etc/bash/bashrc to set PS1 - PS1='\u@\h \w \$ ' -fi -EOIN - -: prefix-stack.bash_login <<'EOIN' -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 -# -# In stacked Prefix there is no bash installed, so there is -# no bash able to load this Prefix' profile as login shell. -# Instead, you can specify this one as bash rcfile to mimic -# a bash login shell using this stacked Prefix profile. -# - -if [[ -s '@GENTOO_PORTAGE_EPREFIX@/etc/profile' ]] ; then - . '@GENTOO_PORTAGE_EPREFIX@/etc/profile' -fi -if [[ -s ~/.bash_profile ]] ; then - . ~/.bash_profile -elif [[ -s ~/.bash_login ]] ; then - . ~/.bash_login -elif [[ -s ~/.profile ]] ; then - . ~/.profile -fi -EOIN - -: prefix-stack.envd.99stack <<'EOIN' -PKG_CONFIG_PATH@=@"@GENTOO_PORTAGE_EPREFIX@/usr/lib/pkgconfig:@GENTOO_PORTAGE_EPREFIX@/usr/share/pkgconfig" -AT_SYS_M4DIR@=@"@GENTOO_PORTAGE_EPREFIX@/usr/share/aclocal" -PORTAGE_CONFIGROOT@=@"@GENTOO_PORTAGE_EPREFIX@" -EPREFIX@=@"@GENTOO_PORTAGE_EPREFIX@" -EOIN - -: prefix-stack-setup <<'EOIN' -#!@GENTOO_PORTAGE_EPREFIX@/bin/bash -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -PARENT_EPREFIX="@GENTOO_PORTAGE_EPREFIX@" -PARENT_CHOST="@GENTOO_PORTAGE_CHOST@" -CHILD_EPREFIX= -CHILD_PROFILE= -CHILD_CHOST= - -# -# get ourselfs the functions.sh script for ebegin/eend/etc. -# -for f in \ - /lib/gentoo/functions.sh \ - /etc/init.d/functions.sh \ - /sbin/functions.sh \ -; do - if [[ -r ${PARENT_EPREFIX}${f} ]] ; then - . "${PARENT_EPREFIX}${f}" - f=found - break - fi -done - -if [[ ${f} != found ]] ; then - echo "Cannot find Gentoo functions, aborting." >&2 - exit 1 -fi - -for arg in "$@"; do - case "${arg}" in - --eprefix=*) CHILD_EPREFIX="${arg#--eprefix=}" ;; - --profile=*) CHILD_PROFILE="${arg#--profile=}" ;; - --chost=*) CHILD_CHOST="${arg#--chost=}" ;; - - --help) - einfo "$0 usage:" - einfo " --eprefix=[PATH] Path to new EPREFIX to create stacked to the prefix" - einfo " where this script is installed (${PARENT_EPREFIX})" - einfo " --profile=[PATH] The absolute path to the profile to use. This path" - einfo " must point to a directory within ${PARENT_EPREFIX}" - einfo " --chost=[CHOST] The CHOST to use for the new EPREFIX, required if" - einfo " the profile does not set CHOST, or to override." - exit 0 - ;; - esac -done - -# -# sanity check of given values -# - -test -n "${CHILD_EPREFIX}" || { eerror "no eprefix argument given"; exit 1; } -test -d "${CHILD_EPREFIX}" && { eerror "${CHILD_EPREFIX} already exists"; exit 1; } -test -n "${CHILD_PROFILE}" || { eerror "no profile argument given"; exit 1; } -test -d "${CHILD_PROFILE}" || { eerror "${CHILD_PROFILE} does not exist"; exit 1; } - -if [[ -z ${CHILD_CHOST} ]] -then - my_lsprofile() { - ( - cd -P "${1:-.}" || exit 1 - [[ -r ./parent ]] && - for p in $(<parent) - do - my_lsprofile "${p}" || exit 1 - done - pwd -P - ) - } - - for profile in $(my_lsprofile "${CHILD_PROFILE}") missing - do - if [[ ${profile} == missing ]] - then - eerror "profile does not set CHOST, need --chost argument" - exit 1 - fi - [[ -s "${profile}/make.defaults" ]] || continue - grep -q '^[ ]*CHOST@=@' "${profile}/make.defaults" && break - done -fi - -einfo "creating stacked prefix ${CHILD_EPREFIX}" - -# -# functions needed below. -# -eend_exit() { - eend $1 - [[ $1 != 0 ]] && exit 1 -} - -# -# create the directories required to bootstrap the least. -# -ebegin "creating directory structure" -( - set -e - mkdir -p "${CHILD_EPREFIX}"/var/tmp/portage - mkdir -p "${CHILD_EPREFIX}"/etc/portage/profile/use.mask - mkdir -p "${CHILD_EPREFIX}"/etc/portage/profile/use.force - mkdir -p "${CHILD_EPREFIX}"/etc/portage/env - mkdir -p "${CHILD_EPREFIX}"/etc/portage/package.env - ln -s "${PARENT_EPREFIX}"/etc/portage/repos.conf "${CHILD_EPREFIX}"/etc/portage/repos.conf -) -eend_exit $? - -# -# create a make.conf and set PORTDIR and PORTAGE_TMPDIR -# -ebegin "creating make.conf" -( - set -e - echo "#" - echo "# These are sane default compiler flags, feel free to adopt them as you like." - echo "# Extending the flags is done to respect flags probably set by some profile." - echo "#" - echo "CFLAGS=\"\${CFLAGS} -O2 -pipe\"" - echo "CXXFLAGS=\"${CXXFLAGS} -O2 -pipe\"" - echo "MAKEOPTS=\"$(portageq envvar MAKEOPTS)\"" - niceness=$(portageq envvar PORTAGE_NICENESS || true) - [[ -n ${niceness} ]] && - echo "PORTAGE_NICENESS=\"${niceness}\"" - echo - echo "# Mirrors from parent prefix." - echo "GENTOO_MIRRORS=\"$(portageq envvar GENTOO_MIRRORS || true)\"" - echo - echo "# Below comes the prefix-stack setup. Only change things" - echo "# if you know exactly what you are doing!" - echo "EPREFIX=\"${CHILD_EPREFIX}\"" - echo "PORTAGE_OVERRIDE_EPREFIX=\"${PARENT_EPREFIX}\"" - echo "BROOT=\"${PARENT_EPREFIX}\"" - echo "PORTAGE_TMPDIR=\"\${EPREFIX}/var/tmp\"" - # Since EAPI 7 there is BDEPEND, which is DEPEND in EAPI up to 6. - # We do not want to pull DEPEND from EAPI <= 6, but RDEPEND only. - echo "EMERGE_DEFAULT_OPTS=\"--root-deps=rdeps\"" - if [[ -n ${CHILD_CHOST} ]] ; then - echo "CHOST=\"${CHILD_CHOST}\"" - fi -) > "${CHILD_EPREFIX}"/etc/portage/make.conf -eend_exit $? - -ebegin "creating use.mask/prefix-stack" -printf -- '-%s\n' prefix{,-guest,-stack} > "${CHILD_EPREFIX}"/etc/portage/profile/use.mask/prefix-stack -eend_exit $? - -ebegin "creating use.force/prefix-stack" -printf -- '%s\n' prefix{,-guest,-stack} > "${CHILD_EPREFIX}"/etc/portage/profile/use.force/prefix-stack -eend_exit $? - -ebegin "creating env/host-cc.conf" -cat > "${CHILD_EPREFIX}"/etc/portage/env/host-cc.conf <<-EOM - CC=${PARENT_CHOST}-gcc - CXX=${PARENT_CHOST}-g++ - # Inherited compiler flags from parent prefix, - # as the child prefix may have a different compiler. - CFLAGS="$(portageq envvar CFLAGS)" - CXXFLAGS="$(portageq envvar CXXFLAGS)" - EOM -eend_exit $? - -ebegin "creating package.env/prefix-stack" -cat > "${CHILD_EPREFIX}"/etc/portage/package.env/prefix-stack <<-'EOM' - # merge with the parent's chost. this forces the use of the parent - # compiler, which generally would be illegal - this is an exception. - # This is required for example on winnt, because the wrapper has to - # be able to use/resolve symlinks, etc. native winnt binaries miss - # that ability, but cygwin binaries don't. - sys-devel/gcc-config host-cc.conf - sys-apps/gentoo-functions host-cc.conf - EOM -eend_exit $? - -# -# create the make.profile symlinks. -# -ebegin "creating make.profile" -( - ln -s "${CHILD_PROFILE}" "${CHILD_EPREFIX}/etc/portage/make.profile" -) -eend_exit $? - -# -# adjust permissions of generated files. -# -ebegin "adjusting permissions" -( - set -e - chmod 644 "${CHILD_EPREFIX}"/etc/portage/make.conf - chmod 644 "${CHILD_EPREFIX}"/etc/portage/env/host-cc.conf - chmod 644 "${CHILD_EPREFIX}"/etc/portage/package.env/prefix-stack -) -eend_exit $? - -# -# now merge some basics. -# -ebegin "installing required basic packages" -( - set -e - export PORTAGE_CONFIGROOT@=@"${CHILD_EPREFIX}" - export EPREFIX@=@"${CHILD_EPREFIX}" - export PORTAGE_OVERRIDE_EPREFIX@=@"${PARENT_EPREFIX}" - - # let baselayout create the directories - USE@=@"${USE} build" \ - emerge --verbose --nodeps --oneshot \ - '>=baselayout-prefix-2.6' - - # In prefix-stack, app-portage/prefix-toolkit does - # install/update an etc/portage/profile/packages file, - # removing all @system packages from current make.profile, - # and adding itself to @system set instead. - emerge --verbose --nodeps --oneshot \ - app-portage/prefix-toolkit - - # In prefix-stack, prefix-toolkit does have an RDEPEND on them, - # to hold them in the @system set. - emerge --verbose --nodeps --oneshot \ - sys-apps/gentoo-functions \ - app-portage/elt-patches \ - sys-devel/gnuconfig \ - sys-devel/gcc-config - - # get eventual dependencies, add to world - emerge --verbose --update --deep \ - app-portage/prefix-toolkit - - # select the stack wrapper profile from gcc-config - env -i PORTAGE_CONFIGROOT="${CHILD_EPREFIX}" \ - "$(type -P bash)" "${CHILD_EPREFIX}"/usr/bin/gcc-config 1 -) -eend_exit $? - -# -# wow, all ok :) -# -ewarn -ewarn "all done. don't forget to tune ${CHILD_EPREFIX}/etc/portage/make.conf." -ewarn "to enter the new prefix, run \"${CHILD_EPREFIX}/startprefix\"." -ewarn -EOIN - -: prefix-stack-ccwrap <<'EOIN' -#!@GENTOO_PORTAGE_BPREFIX@/bin/bash - -if [ -r /cygdrive/. ]; then - winpath2unix() { cygpath -u "$1"; } - unixpath2win() { cygpath -w "$1"; } -fi - -myself=${0##*/} # basename $0 -link_dirs=() -linkopts=() -opts=() -chost="@GENTOO_PORTAGE_CHOST@" -prefix="@GENTOO_PORTAGE_EPREFIX@" -absprefix=${prefix} -if [[ ${chost} == *"-winnt"* ]]; then - # we may get called from windows binary, like pkgdata in dev-libs/icu - # in this case, PATH elements get the "/dev/fs/C/WINDOWS/SUA" prefix - absprefix=$(winpath2unix "$(unixpath2win "${absprefix}")") -fi -[[ ${myself} == *windres* ]] && mode=compile || mode=link -orig_args=("$@") - -for opt in "$@" -do - if [[ ${chost} == *"-winnt"* ]]; then - # We depend on dev-libs/pthreads4w, no? - case ${opt} in - -pthread | -lpthread) - case " ${linkopts[*]} " in - *" -lpthread "*) ;; - *) linkopts=( "${linkopts[@]}" "-lpthread" ) ;; - esac - continue - ;; - esac - fi - case "$opt" in - -L) - link_dirs=("${link_dirs[@]}" "-L$1") - shift - ;; - -L*) - link_dirs=("${link_dirs[@]}" "${opt}") - ;; - *) - case "${opt}" in - -v) - # -v done right: only use mode version if -v is the _only_ - # argument on the command line. - [[ ${#orig_args[@]} -gt 1 ]] || mode=version - ;; - --version) mode=version ;; - -c|-E|-S) mode=compile ;; - -print-search-dirs) mode=dirs ;; - esac - opts=("${opts[@]}" "${opt}") - ;; - esac -done - -# remove any path to current prefix, need base prefix only -new_path= -save_ifs=$IFS -IFS=':' -for p in $PATH -do - IFS=$save_ifs - [[ ${p#${absprefix}} != "${p}" ]] && continue - if [[ -z "${new_path}" ]]; then - new_path="${p}" - else - new_path="${new_path}:${p}" - fi -done -IFS=$save_ifs - -PATH=${new_path} - -pfx_comp=("-I${prefix}/include" "-I${prefix}/usr/include") -pfx_link=("-L${prefix}/usr/lib" "-L${prefix}/lib") -# binutils-config's ldwrapper understands '-R' for aix and hpux too. -pfx_link_r=("-Wl,-R,${prefix}/lib" "-Wl,-R,${prefix}/usr/lib") -case "${chost}" in -*-winnt*) - # parity (winnt) understands -rpath only ... - pfx_link_r=("-Wl,-rpath,${prefix}/lib" "-Wl,-rpath,${prefix}/usr/lib") - ;; -*-linux*) - # With gcc, -isystem would avoid warning messages in installed headers, - # but that breaks with AIX host headers. - pfx_comp=("-isystem" "${prefix}/include" "-isystem" "${prefix}/usr/include") - ;; -esac - -# ensure we run the right chost program in base prefix -[[ ${myself} == *-*-*-* ]] || myself=${chost}-${myself#${chost}-} - -case "$mode" in -link) exec "${myself}" "${link_dirs[@]}" "${pfx_link[@]}" "${opts[@]}" "${pfx_comp[@]}" "${pfx_link_r[@]}" "${linkopts[@]}" ;; -compile) exec "${myself}" "${link_dirs[@]}" "${opts[@]}" "${pfx_comp[@]}" ;; -version) exec "${myself}" "${orig_args[@]}" ;; -dirs) - "${myself}" "${orig_args[@]}" | while read line; do - if [[ "${line}" == "libraries: ="* ]]; then - echo "libraries: =${prefix}/usr/lib:${prefix}/lib:${line#"libraries: ="}" - else - echo "${line}" - fi - done - ;; -*) echo "cannot infer ${myself}'s mode from comamnd line arguments"; exit 1 ;; -esac -EOIN diff --git a/app-portage/prefix-toolkit/prefix-toolkit-9.ebuild b/app-portage/prefix-toolkit/prefix-toolkit-9.ebuild deleted file mode 100644 index 46aec0c1fb3e..000000000000 --- a/app-portage/prefix-toolkit/prefix-toolkit-9.ebuild +++ /dev/null @@ -1,702 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Utilities for users of Gentoo Prefix" -HOMEPAGE="https://prefix.gentoo.org/" -SRC_URI="" - -LICENSE="GPL-3" -SLOT="0" - -[[ ${PV} == 9999 ]] || -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" - -DEPEND=" - !app-portage/prefix-chain-setup - !sys-apps/prefix-chain-utils -" -BDEPEND="${DEPEND} - >sys-apps/portage-2.3.62 -" -# In prefix-stack, these dependencies actually are the @system set, -# as we rely on the base prefix anyway for package management, -# which should have a proper @system set. -# Strictly speaking, only baselayout and gcc-config are necessary -# (and pthreads4w for Winnt), but it is easier for now to install -# elt-patches, gentoo-functions and gnuconfig as well, instead of -# fixing all uses that expect them in EPREFIX rather than BROOT. -# See als: pkg_preinst -RDEPEND="${DEPEND} - prefix-stack? ( - >=sys-apps/baselayout-prefix-2.6 - sys-devel/gcc-config - elibc_Winnt? ( - dev-libs/pthreads4w - ) - app-portage/elt-patches - sys-apps/gentoo-functions - sys-devel/gnuconfig - ) -" - -S="${WORKDIR}" - -my_unpack() { - local infile=$1 - local outfile=${2:-${infile}} - ebegin "extracting ${outfile}" - sed -ne "/^: ${infile} /,/EOIN/{/EOIN/d;p}" "${EBUILD}" \ - > "${outfile}" || die "Failed to unpack ${outfile}" - eend $? -} - -src_unpack() { - if use prefix-stack ; then - my_unpack prefix-stack.bash_login - my_unpack prefix-stack.bashrc - my_unpack prefix-stack.envd.99stack - my_unpack prefix-stack-ccwrap - local editor pager - for editor in "${EDITOR}" {"${EPREFIX}","${BROOT}"}/bin/nano - do - [[ -x ${editor} ]] || continue - done - for pager in "${PAGER}" {"${EPREFIX}","${BROOT}"}/usr/bin/less - do - [[ -x ${pager} ]] || continue - done - printf '%s\n' "EDITOR=\"${editor}\"" "PAGER=\"${pager}\"" > 000fallback - else - my_unpack prefix-stack-setup - fi - if use prefix; then - # does not make sense on vanilla Gentoo - my_unpack startprefix - fi -} - -my_prefixify() { - local ebash eenv - if use prefix-stack ; then - ebash="${BROOT}/bin/bash" - eenv="${BROOT}/usr/bin/env" - else - ebash="${EPREFIX}/bin/bash" - eenv="${EPREFIX}/usr/bin/env" - fi - - # the @=@ prevents repoman from believing we set readonly vars - sed -e "s,@GENTOO_PORTAGE_BPREFIX@,${BROOT},g" \ - -e "s,@GENTOO_PORTAGE_EPREFIX@,${EPREFIX},g" \ - -e "s,@GENTOO_PORTAGE_CHOST@,${CHOST},g" \ - -e "s,@GENTOO_PORTAGE_EBASH@,${ebash},g" \ - -e "s,@GENTOO_PORTAGE_EENV@,${eenv},g" \ - -e "s,@=@,=,g" \ - -i "$@" || die -} - -src_configure() { - # do not eprefixify during unpack, to allow userpatches to apply - my_prefixify * -} - -src_install-prefix-stack-ccwrap() { - # install toolchain wrapper. - local wrapperdir=/usr/${CHOST}/gcc-bin/${CHOST}-${PN}/${PV} - local wrappercfg=${CHOST}-${P} - - exeinto $wrapperdir - doexe prefix-stack-ccwrap - - local cc - for cc in \ - gcc \ - g++ \ - cpp \ - c++ \ - windres \ - ; do - dosym prefix-stack-ccwrap $wrapperdir/${CHOST}-${cc} - dosym ${CHOST}-${cc} $wrapperdir/${cc} - done - - # LDPATH is required to keep gcc-config happy :( - cat > ./${wrappercfg} <<-EOF - GCC_PATH="${EPREFIX}$wrapperdir" - LDPATH="${EPREFIX}$wrapperdir" - EOF - - insinto /etc/env.d/gcc - doins ./${wrappercfg} -} - -src_install() { - if use prefix-stack; then - src_install-prefix-stack-ccwrap - insinto /etc - doins prefix-stack.bash_login - insinto /etc/bash - newins prefix-stack.bashrc bashrc - newenvd prefix-stack.envd.99stack 99stack - doenvd 000fallback - keepdir /usr/share/aclocal - else - dobin prefix-stack-setup - fi - if use prefix; then - exeinto / - doexe startprefix - fi -} - -pkg_preinst() { - use prefix-stack || return 0 - ebegin "Purging @system package set for prefix stack" - # In prefix stack we empty out the @system set defined via make.profile, - # as we may be using some normal profile, but that @system set applies - # to the base prefix only. - # Instead, we only put ourselve into the @system set, and have additional - # @system packages in our RDEPEND. - my_lsprofile() { - ( - cd -P "${1:-.}" || exit 1 - [[ -r ./parent ]] && - for p in $(<parent) - do - my_lsprofile "${p}" || exit 1 - done - pwd -P - ) - } - local systemset="/etc/portage/profile/packages" - dodir "${systemset%/*}" - [[ -s ${EROOT}${systemset} ]] && - grep -v "# maintained by ${PN}" \ - "${EROOT}${systemset}" \ - > "${ED}${systemset}" - local p - for p in $(my_lsprofile "${EPREFIX}"/etc/portage/make.profile) - do - [[ -s ${p}/${systemset##*/} ]] || continue - awk '/^[ \t]*[^-#]/{print "-" $1 " # maintained by '"${PN}-${PVR}"'"}' \ - < "${p}"/packages || die - done | sort -u >> "${ED}${systemset}" - [[ ${PIPESTATUS[@]} == "0 0" ]] || die "failed to collect for ${systemset}" - echo "*${CATEGORY}/${PN} # maintained by ${PN}-${PVR}" >> "${ED}${systemset}" || die - eend $? -} - -pkg_postinst() { - use prefix-stack || return 0 - [[ -x ${EROOT}/usr/bin/gcc-config ]] || return 0 - "${EROOT}"/usr/bin/gcc-config ${CHOST}-${P} -} - -return 0 - -: startprefix <<'EOIN' -#!@GENTOO_PORTAGE_EBASH@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Fabian Groffen <grobian@gentoo.org> -- 2007-03-10 -# Enters the prefix environment by starting a login shell from the -# prefix. The SHELL environment variable is elevated in order to make -# applications that start login shells to work, such as `screen`. - -# if you come from a substantially polluted environment (another -# Prefix), a cleanup as follows resolves most oddities I've ever seen: -# env -i HOME=$HOME TERM=$TERM USER=$USER $SHELL -l -# hence this script starts the Prefix shell like this - -if [[ ${SHELL#@GENTOO_PORTAGE_EPREFIX@} != ${SHELL} ]] -then - echo "You appear to be in prefix already (SHELL=${SHELL})" > /dev/stderr - exit -1 -elif [[ ${SHELL#@GENTOO_PORTAGE_BPREFIX@} != ${SHELL} ]] && - [[ ${EPREFIX-unset} == '@GENTOO_PORTAGE_EPREFIX@' ]] -then - echo "You appear to be in stacked prefix already (EPREFIX=${EPREFIX})" > /dev/stderr - exit -1 -fi - -# What is our prefix? -EPREFIX@=@'@GENTOO_PORTAGE_EPREFIX@' -BPREFIX@=@'@GENTOO_PORTAGE_BPREFIX@' - -# not all systems have the same location for shells, however what it -# boils down to, is that we need to know what the shell is, and then we -# can find it in the bin dir of our prefix -for SHELL in \ - "${EPREFIX}/bin/${SHELL##*/}" \ - "${BPREFIX}/bin/${SHELL##*/}" \ - ${SHELL##*/} -do - [[ ${SHELL} == */* && -x ${SHELL} ]] && break -done - -# check if the shell exists -if [[ ${SHELL} != */* ]] -then - echo "Failed to find the Prefix shell, this is probably" > /dev/stderr - echo "because you didn't emerge the shell ${SHELL}" > /dev/stderr - exit 1 -fi - -# set the prefix shell in the environment -export SHELL - -# give a small notice -echo "Entering Gentoo Prefix ${EPREFIX}" -# start the login shell, clean the entire environment but what's needed -RETAIN="HOME=$HOME TERM=$TERM USER=$USER SHELL=$SHELL" -# PROFILEREAD is necessary on SUSE not to wipe the env on shell start -[[ -n ${PROFILEREAD} ]] && RETAIN+=" PROFILEREAD=$PROFILEREAD" -# ssh-agent is handy to keep, of if set, inherit it -[[ -n ${SSH_AUTH_SOCK} ]] && RETAIN+=" SSH_AUTH_SOCK=$SSH_AUTH_SOCK" -# if we're on some X terminal, makes sense to inherit that too -[[ -n ${DISPLAY} ]] && RETAIN+=" DISPLAY=$DISPLAY" -if [[ -d /proc/registry ]]; then # we're on Cygwin - # crucial to Windows but cannot be restored, see - # https://cygwin.com/ml/cygwin/2019-08/msg00072.html - [[ -n ${SYSTEMDRIVE} ]] && RETAIN+=" SYSTEMDRIVE=$SYSTEMDRIVE" - # COMSPEC is to native Windows what SHELL is to *nix - [[ -n ${COMSPEC} ]] && RETAIN+=" COMSPEC=$COMSPEC" - # some Windows programs (e.g. devenv.exe) need TMP or TEMP - [[ -n ${TEMP} ]] && RETAIN+=" TEMP=$TEMP" -fi -# do it! -if [[ ${SHELL#${EPREFIX}} != ${SHELL} ]] ; then - '@GENTOO_PORTAGE_EENV@' -i $RETAIN $SHELL -l -elif [[ ' bash ' == *" ${SHELL##*/} "* ]] ; then - # shell coming from different prefix would load it's own - # etc/profile upon -l, so we have to override - '@GENTOO_PORTAGE_EENV@' -i ${RETAIN} "${SHELL}" --rcfile "${EPREFIX}"/etc/prefix-stack.bash_login -i -else - echo "Only bash is supported with stacked Prefix (you have ${SHELL##*/}), sorry!" > /dev/stderr - exit 1 -fi -# and leave a message when we exit... the shell might return non-zero -# without having real problems, so don't send alarming messages about -# that -echo "Leaving Gentoo Prefix with exit status $?" -EOIN - -: prefix-stack.bashrc <<'EOIN' -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 -# -# In stacked Prefix there is no bash installed, yet -# etc/bash/bashrc from base Prefix still is useful. -# - -if [[ $- != *i* ]] ; then - # Shell is non-interactive, bashrc does not apply - return -fi - -if [[ -r @GENTOO_PORTAGE_BPREFIX@/etc/bash/bashrc ]] ; then - source '@GENTOO_PORTAGE_BPREFIX@/etc/bash/bashrc' - # only if base Prefix does have an etc/bash/bashrc, we also - # run bashrc snippets provided by packages in stacked Prefix - for sh in '@GENTOO_PORTAGE_EPREFIX@'/etc/bash/bashrc.d/* ; do - [[ -r ${sh} ]] && source "${sh}" - done - unset sh -else - # etc/profile does expect etc/bash/bashrc to set PS1 - PS1='\u@\h \w \$ ' -fi -EOIN - -: prefix-stack.bash_login <<'EOIN' -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 -# -# In stacked Prefix there is no bash installed, so there is -# no bash able to load this Prefix' profile as login shell. -# Instead, you can specify this one as bash rcfile to mimic -# a bash login shell using this stacked Prefix profile. -# - -if [[ -s '@GENTOO_PORTAGE_EPREFIX@/etc/profile' ]] ; then - . '@GENTOO_PORTAGE_EPREFIX@/etc/profile' -fi -if [[ -s ~/.bash_profile ]] ; then - . ~/.bash_profile -elif [[ -s ~/.bash_login ]] ; then - . ~/.bash_login -elif [[ -s ~/.profile ]] ; then - . ~/.profile -fi -EOIN - -: prefix-stack.envd.99stack <<'EOIN' -PKG_CONFIG_PATH@=@"@GENTOO_PORTAGE_EPREFIX@/usr/lib/pkgconfig:@GENTOO_PORTAGE_EPREFIX@/usr/share/pkgconfig" -AT_SYS_M4DIR@=@"@GENTOO_PORTAGE_EPREFIX@/usr/share/aclocal" -PORTAGE_CONFIGROOT@=@"@GENTOO_PORTAGE_EPREFIX@" -EPREFIX@=@"@GENTOO_PORTAGE_EPREFIX@" -EOIN - -: prefix-stack-setup <<'EOIN' -#!@GENTOO_PORTAGE_EPREFIX@/bin/bash -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -PARENT_EPREFIX="@GENTOO_PORTAGE_EPREFIX@" -PARENT_CHOST="@GENTOO_PORTAGE_CHOST@" -CHILD_EPREFIX= -CHILD_PROFILE= -CHILD_CHOST= - -# -# get ourselfs the functions.sh script for ebegin/eend/etc. -# -for f in \ - /lib/gentoo/functions.sh \ - /etc/init.d/functions.sh \ - /sbin/functions.sh \ -; do - if [[ -r ${PARENT_EPREFIX}${f} ]] ; then - . "${PARENT_EPREFIX}${f}" - f=found - break - fi -done - -if [[ ${f} != found ]] ; then - echo "Cannot find Gentoo functions, aborting." >&2 - exit 1 -fi - -for arg in "$@"; do - case "${arg}" in - --eprefix=*) CHILD_EPREFIX="${arg#--eprefix=}" ;; - --profile=*) CHILD_PROFILE="${arg#--profile=}" ;; - --chost=*) CHILD_CHOST="${arg#--chost=}" ;; - - --help) - einfo "$0 usage:" - einfo " --eprefix=[PATH] Path to new EPREFIX to create stacked to the prefix" - einfo " where this script is installed (${PARENT_EPREFIX})" - einfo " --profile=[PATH] The absolute path to the profile to use. This path" - einfo " must point to a directory within ${PARENT_EPREFIX}" - einfo " --chost=[CHOST] The CHOST to use for the new EPREFIX, required if" - einfo " the profile does not set CHOST, or to override." - exit 0 - ;; - esac -done - -# -# sanity check of given values -# - -test -n "${CHILD_EPREFIX}" || { eerror "no eprefix argument given"; exit 1; } -test -d "${CHILD_EPREFIX}" && { eerror "${CHILD_EPREFIX} already exists"; exit 1; } -test -n "${CHILD_PROFILE}" || { eerror "no profile argument given"; exit 1; } -test -d "${CHILD_PROFILE}" || { eerror "${CHILD_PROFILE} does not exist"; exit 1; } - -if [[ -z ${CHILD_CHOST} ]] -then - my_lsprofile() { - ( - cd -P "${1:-.}" || exit 1 - [[ -r ./parent ]] && - for p in $(<parent) - do - my_lsprofile "${p}" || exit 1 - done - pwd -P - ) - } - - for profile in $(my_lsprofile "${CHILD_PROFILE}") missing - do - if [[ ${profile} == missing ]] - then - eerror "profile does not set CHOST, need --chost argument" - exit 1 - fi - [[ -s "${profile}/make.defaults" ]] || continue - grep -q '^[ ]*CHOST@=@' "${profile}/make.defaults" && break - done -fi - -einfo "creating stacked prefix ${CHILD_EPREFIX}" - -# -# functions needed below. -# -eend_exit() { - eend $1 - [[ $1 != 0 ]] && exit 1 -} - -# -# create the directories required to bootstrap the least. -# -ebegin "creating directory structure" -( - set -e - mkdir -p "${CHILD_EPREFIX}"/var/tmp/portage - mkdir -p "${CHILD_EPREFIX}"/etc/portage/profile/use.mask - mkdir -p "${CHILD_EPREFIX}"/etc/portage/profile/use.force - mkdir -p "${CHILD_EPREFIX}"/etc/portage/env - mkdir -p "${CHILD_EPREFIX}"/etc/portage/package.env - ln -s "${PARENT_EPREFIX}"/etc/portage/repos.conf "${CHILD_EPREFIX}"/etc/portage/repos.conf -) -eend_exit $? - -# -# create a make.conf and set PORTDIR and PORTAGE_TMPDIR -# -ebegin "creating make.conf" -( - set -e - echo "#" - echo "# These are sane default compiler flags, feel free to adopt them as you like." - echo "# Extending the flags is done to respect flags probably set by some profile." - echo "#" - echo "CFLAGS=\"\${CFLAGS} -O2 -pipe\"" - echo "CXXFLAGS=\"${CXXFLAGS} -O2 -pipe\"" - echo "MAKEOPTS=\"$(portageq envvar MAKEOPTS)\"" - niceness=$(portageq envvar PORTAGE_NICENESS || true) - [[ -n ${niceness} ]] && - echo "PORTAGE_NICENESS=\"${niceness}\"" - echo - echo "# Mirrors from parent prefix." - echo "GENTOO_MIRRORS=\"$(portageq envvar GENTOO_MIRRORS || true)\"" - echo - echo "# Below comes the prefix-stack setup. Only change things" - echo "# if you know exactly what you are doing!" - echo "EPREFIX=\"${CHILD_EPREFIX}\"" - echo "PORTAGE_OVERRIDE_EPREFIX=\"${PARENT_EPREFIX}\"" - echo "BROOT=\"${PARENT_EPREFIX}\"" - echo "PORTAGE_TMPDIR=\"\${EPREFIX}/var/tmp\"" - # Since EAPI 7 there is BDEPEND, which is DEPEND in EAPI up to 6. - # We do not want to pull DEPEND from EAPI <= 6, but RDEPEND only. - echo "EMERGE_DEFAULT_OPTS=\"--root-deps=rdeps\"" - if [[ -n ${CHILD_CHOST} ]] ; then - echo "CHOST=\"${CHILD_CHOST}\"" - fi -) > "${CHILD_EPREFIX}"/etc/portage/make.conf -eend_exit $? - -ebegin "creating use.mask/prefix-stack" -printf -- '-%s\n' prefix{,-guest,-stack} > "${CHILD_EPREFIX}"/etc/portage/profile/use.mask/prefix-stack -eend_exit $? - -ebegin "creating use.force/prefix-stack" -printf -- '%s\n' prefix{,-guest,-stack} > "${CHILD_EPREFIX}"/etc/portage/profile/use.force/prefix-stack -eend_exit $? - -ebegin "creating env/host-cc.conf" -cat > "${CHILD_EPREFIX}"/etc/portage/env/host-cc.conf <<-EOM - CC=${PARENT_CHOST}-gcc - CXX=${PARENT_CHOST}-g++ - # Inherited compiler flags from parent prefix, - # as the child prefix may have a different compiler. - CFLAGS="$(portageq envvar CFLAGS)" - CXXFLAGS="$(portageq envvar CXXFLAGS)" - EOM -eend_exit $? - -ebegin "creating package.env/prefix-stack" -cat > "${CHILD_EPREFIX}"/etc/portage/package.env/prefix-stack <<-'EOM' - # merge with the parent's chost. this forces the use of the parent - # compiler, which generally would be illegal - this is an exception. - # This is required for example on winnt, because the wrapper has to - # be able to use/resolve symlinks, etc. native winnt binaries miss - # that ability, but cygwin binaries don't. - sys-devel/gcc-config host-cc.conf - sys-apps/gentoo-functions host-cc.conf - EOM -eend_exit $? - -# -# create the make.profile symlinks. -# -ebegin "creating make.profile" -( - ln -s "${CHILD_PROFILE}" "${CHILD_EPREFIX}/etc/portage/make.profile" -) -eend_exit $? - -# -# adjust permissions of generated files. -# -ebegin "adjusting permissions" -( - set -e - chmod 644 "${CHILD_EPREFIX}"/etc/portage/make.conf - chmod 644 "${CHILD_EPREFIX}"/etc/portage/env/host-cc.conf - chmod 644 "${CHILD_EPREFIX}"/etc/portage/package.env/prefix-stack -) -eend_exit $? - -# -# now merge some basics. -# -ebegin "installing required basic packages" -( - set -e - export PORTAGE_CONFIGROOT@=@"${CHILD_EPREFIX}" - export EPREFIX@=@"${CHILD_EPREFIX}" - export PORTAGE_OVERRIDE_EPREFIX@=@"${PARENT_EPREFIX}" - - # let baselayout create the directories - USE@=@"${USE} build" \ - emerge --verbose --nodeps --oneshot \ - '>=baselayout-prefix-2.6' - - # In prefix-stack, app-portage/prefix-toolkit does - # install/update an etc/portage/profile/packages file, - # removing all @system packages from current make.profile, - # and adding itself to @system set instead. - emerge --verbose --nodeps --oneshot \ - app-portage/prefix-toolkit - - # In prefix-stack, prefix-toolkit does have an RDEPEND on them, - # to hold them in the @system set. - emerge --verbose --nodeps --oneshot \ - sys-apps/gentoo-functions \ - app-portage/elt-patches \ - sys-devel/gnuconfig \ - sys-devel/gcc-config - - # get eventual dependencies, add to world - emerge --verbose --update --deep \ - app-portage/prefix-toolkit - - # select the stack wrapper profile from gcc-config - env -i PORTAGE_CONFIGROOT="${CHILD_EPREFIX}" \ - "$(type -P bash)" "${CHILD_EPREFIX}"/usr/bin/gcc-config 1 -) -eend_exit $? - -# -# wow, all ok :) -# -ewarn -ewarn "all done. don't forget to tune ${CHILD_EPREFIX}/etc/portage/make.conf." -ewarn "to enter the new prefix, run \"${CHILD_EPREFIX}/startprefix\"." -ewarn -EOIN - -: prefix-stack-ccwrap <<'EOIN' -#!@GENTOO_PORTAGE_BPREFIX@/bin/bash - -if [ -r /cygdrive/. ]; then - winpath2unix() { cygpath -u "$1"; } - unixpath2win() { cygpath -w "$1"; } -fi - -myself=${0##*/} # basename $0 -link_dirs=() -linkopts=() -opts=() -chost="@GENTOO_PORTAGE_CHOST@" -prefix="@GENTOO_PORTAGE_EPREFIX@" -absprefix=${prefix} -if [[ ${chost} == *"-winnt"* ]]; then - # we may get called from windows binary, like pkgdata in dev-libs/icu - # in this case, PATH elements get the "/dev/fs/C/WINDOWS/SUA" prefix - absprefix=$(winpath2unix "$(unixpath2win "${absprefix}")") -fi -[[ ${myself} == *windres* ]] && mode=compile || mode=link -orig_args=("$@") - -for opt in "$@" -do - if [[ ${chost} == *"-winnt"* ]]; then - # We depend on dev-libs/pthreads4w, no? - case ${opt} in - -pthread | -lpthread) - case " ${linkopts[*]} " in - *" -lpthread "*) ;; - *) linkopts=( "${linkopts[@]}" "-lpthread" ) ;; - esac - continue - ;; - esac - fi - case "$opt" in - -L) - link_dirs=("${link_dirs[@]}" "-L$1") - shift - ;; - -L*) - link_dirs=("${link_dirs[@]}" "${opt}") - ;; - *) - case "${opt}" in - -v) - # -v done right: only use mode version if -v is the _only_ - # argument on the command line. - [[ ${#orig_args[@]} -gt 1 ]] || mode=version - ;; - --version) mode=version ;; - -c|-E|-S) mode=compile ;; - -print-search-dirs) mode=dirs ;; - esac - opts=("${opts[@]}" "${opt}") - ;; - esac -done - -# remove any path to current prefix, need base prefix only -new_path= -save_ifs=$IFS -IFS=':' -for p in $PATH -do - IFS=$save_ifs - [[ ${p#${absprefix}} != "${p}" ]] && continue - if [[ -z "${new_path}" ]]; then - new_path="${p}" - else - new_path="${new_path}:${p}" - fi -done -IFS=$save_ifs - -PATH=${new_path} - -pfx_comp=("-I${prefix}/include" "-I${prefix}/usr/include") -pfx_link=("-L${prefix}/usr/lib" "-L${prefix}/lib") -# binutils-config's ldwrapper understands '-R' for aix and hpux too. -pfx_link_r=("-Wl,-R,${prefix}/lib" "-Wl,-R,${prefix}/usr/lib") -case "${chost}" in -*-winnt*) - # parity (winnt) understands -rpath only ... - pfx_link_r=("-Wl,-rpath,${prefix}/lib" "-Wl,-rpath,${prefix}/usr/lib") - ;; -*-linux*) - # With gcc, -isystem would avoid warning messages in installed headers, - # but that breaks with AIX host headers. - pfx_comp=("-isystem" "${prefix}/include" "-isystem" "${prefix}/usr/include") - ;; -esac - -# ensure we run the right chost program in base prefix -[[ ${myself} == *-*-*-* ]] || myself=${chost}-${myself#${chost}-} - -case "$mode" in -link) exec "${myself}" "${link_dirs[@]}" "${pfx_link[@]}" "${opts[@]}" "${pfx_comp[@]}" "${pfx_link_r[@]}" "${linkopts[@]}" ;; -compile) exec "${myself}" "${link_dirs[@]}" "${opts[@]}" "${pfx_comp[@]}" ;; -version) exec "${myself}" "${orig_args[@]}" ;; -dirs) - "${myself}" "${orig_args[@]}" | while read line; do - if [[ "${line}" == "libraries: ="* ]]; then - echo "libraries: =${prefix}/usr/lib:${prefix}/lib:${line#"libraries: ="}" - else - echo "${line}" - fi - done - ;; -*) echo "cannot infer ${myself}'s mode from comamnd line arguments"; exit 1 ;; -esac -EOIN diff --git a/app-portage/pycargoebuild/Manifest b/app-portage/pycargoebuild/Manifest new file mode 100644 index 000000000000..b9e5f8c1b87c --- /dev/null +++ b/app-portage/pycargoebuild/Manifest @@ -0,0 +1 @@ +DIST pycargoebuild-0.13.2.gh.tar.gz 48261 BLAKE2B 28704c9163ef09b9d90b896293b845747fd7a337d21980bfcca951b5cd7f7fb610fbc3bd9b3f7bf8adf8d0ea6aed0f3acae3381cb757c26821de25a1649d06ba SHA512 db180dd033c8860c1704076a4e404d5b11cd320e8fae2273a9546aef843694c7d2aef2ad54221afcca360b39f1b80061004e5338e6a43ddba566b8475a032701 diff --git a/app-portage/pycargoebuild/metadata.xml b/app-portage/pycargoebuild/metadata.xml new file mode 100644 index 000000000000..a6aede800339 --- /dev/null +++ b/app-portage/pycargoebuild/metadata.xml @@ -0,0 +1,12 @@ +<?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> + <upstream> + <remote-id type="github">projg2/pycargoebuild</remote-id> + <remote-id type="pypi">pycargoebuild</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-portage/pycargoebuild/pycargoebuild-0.13.2.ebuild b/app-portage/pycargoebuild/pycargoebuild-0.13.2.ebuild new file mode 100644 index 000000000000..1321ae9a37c8 --- /dev/null +++ b/app-portage/pycargoebuild/pycargoebuild-0.13.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A generator for Rust/Cargo ebuilds written in Python" +HOMEPAGE=" + https://github.com/projg2/pycargoebuild/ + https://pypi.org/project/pycargoebuild/ +" +SRC_URI=" + https://github.com/projg2/pycargoebuild/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 ~arm64 ~loong ~ppc64" + +RDEPEND=" + dev-python/license-expression[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.9 3.10) +" + +distutils_enable_tests pytest diff --git a/app-portage/recover-broken-vdb/Manifest b/app-portage/recover-broken-vdb/Manifest new file mode 100644 index 000000000000..fc0fa9f1efd2 --- /dev/null +++ b/app-portage/recover-broken-vdb/Manifest @@ -0,0 +1 @@ +DIST recover-broken-vdb-1.0.0.tar.gz 15723 BLAKE2B a2c39f64f1db3c0cb1e285deb37654575f35fbdd419b5eaabef52293299e70d98cf7804654f596655fb68beff88699cb9f87628ea29ffd1a29cf2893589f9508 SHA512 4a6428b65c33be4128936423c6770f6af9574fe6caef90837a7d9a1d62d4a595c798b29021f81df4dcd39db4e086abb18f256345f2a8f1e0e7c6687863dea092 diff --git a/app-portage/recover-broken-vdb/metadata.xml b/app-portage/recover-broken-vdb/metadata.xml new file mode 100644 index 000000000000..47dae2470f47 --- /dev/null +++ b/app-portage/recover-broken-vdb/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>sam@gentoo.org</email> + <name>Sam James</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <maintainer status="active"> + <email>sam@gentoo.org</email> + <name>Sam James</name> + </maintainer> + <bugs-to>https://github.com/thesamesam/recover-broken-vdb/issues/</bugs-to> + <remote-id type="github">thesamesam/recover-broken-vdb</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-portage/recover-broken-vdb/recover-broken-vdb-1.0.0-r2.ebuild b/app-portage/recover-broken-vdb/recover-broken-vdb-1.0.0-r2.ebuild new file mode 100644 index 000000000000..d5864f223a3c --- /dev/null +++ b/app-portage/recover-broken-vdb/recover-broken-vdb-1.0.0-r2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="Check Portage's VDB for internal inconsistency on ELF metadata" +HOMEPAGE="https://github.com/thesamesam/recover-broken-vdb" +if [[ ${PV} == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/thesamesam/recover-broken-vdb.git" +else + SRC_URI="https://github.com/thesamesam/recover-broken-vdb/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +fi + +LICENSE="GPL-2" +SLOT="0" + +# Require latest version of pax-utils to avoid users breaking their systems again +# The tool itself works fine with older versions +RDEPEND=" + >=app-misc/pax-utils-1.3.5 + sys-apps/file + $(python_gen_cond_dep 'sys-apps/portage[${PYTHON_USEDEP}]') +" diff --git a/app-portage/recover-broken-vdb/recover-broken-vdb-9999.ebuild b/app-portage/recover-broken-vdb/recover-broken-vdb-9999.ebuild new file mode 100644 index 000000000000..36e77ecea0b2 --- /dev/null +++ b/app-portage/recover-broken-vdb/recover-broken-vdb-9999.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="Check Portage's VDB for internal inconsistency on ELF metadata" +HOMEPAGE="https://github.com/thesamesam/recover-broken-vdb" +if [[ ${PV} == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/thesamesam/recover-broken-vdb.git" +else + SRC_URI="https://github.com/thesamesam/recover-broken-vdb/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" + +# Require latest version of pax-utils to avoid users breaking their systems again +# The tool itself works fine with older versions +RDEPEND=" + >=app-misc/pax-utils-1.3.5 + sys-apps/file + $(python_gen_cond_dep 'sys-apps/portage[${PYTHON_USEDEP}]') +" diff --git a/app-portage/repo-commit/metadata.xml b/app-portage/repo-commit/metadata.xml index be59b3938e3e..832e2201b10d 100644 --- a/app-portage/repo-commit/metadata.xml +++ b/app-portage/repo-commit/metadata.xml @@ -1,12 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <!--maintainer-needed--> <upstream> - <maintainer status="active"> - <email>binki@gentoo.org</email> - <name>Nathan Phillip Brink</name> - </maintainer> <bugs-to>https://bitbucket.org/gentoo/repo-commit/issues/</bugs-to> <remote-id type="bitbucket">gentoo/repo-commit</remote-id> </upstream> diff --git a/app-portage/repoman/Manifest b/app-portage/repoman/Manifest deleted file mode 100644 index 44fdc3987539..000000000000 --- a/app-portage/repoman/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -DIST repoman-2.3.23.tar.bz2 87108 BLAKE2B c1190433bd8aedf59e1ddf192dd14cca13e3bdae7367decd6bf64a79021f54a63f21ec49d5737b90c46be3894f4d3ff11bf5bd2868c9ebf65e44b4eb3bb4eee0 SHA512 9d01fadc5820501a9bfb9c1b6d9634ecbc14aacdc448bb440d1e37d47f7e4bcdea8269f8ba90e3783d84f31121870a9d7b165f58b78f0d0f0f4e822a25687d1b -DIST repoman-3.0.2.tar.bz2 88258 BLAKE2B 32c4d6750fd225cf9fc071be0ffbb38563ffdaf50f1f1ac7247ce3733bd781cd699052101df8b6565fd3d32ec6d9a54efb611b815a722b7954d8100ce01de146 SHA512 fd5b4549a0b108ed1ad37fc0766fc73db127bba8b023a74566ee0167e2a9c56c8597b83ead16522aaf84f158a9a5d0d59e4b5bcc908e6024724c087c837e1fa2 -DIST repoman-3.0.3-unit-test-bug-779055.patch 4153 BLAKE2B 80dd075ca2930f5b14be72eb46d92f83804a87f0ad43b1970cba5b086b5925a0ff9e9b00abcac23f50175ca59a272d7f5b73a051e79ed170511654a0237e0d7b SHA512 badeb6435495a716d0e7a00790bf12fe68031c7207b8fc53a50538adc1dd6a57aa628d8469b924519501b27c39088f316fe018c1ffa3a8d099a34d9dc1bd1d71 -DIST repoman-3.0.3-unit-test-bug-779967.patch 1205 BLAKE2B f8ff8f98031dcf93ff2812c2e5416d6f731adb948dd8c62304443dc401ab0c7e21a25d59a951fe3ae35e417cb8e0badb2863d97e6d9ff6cacba4ee17054f2dce SHA512 b82ec000d73e93949aa7150005556cff9c4ef7ee11a06b5456af375ea7cf81985f91b0a152d40767a1cd768f30cb1d155d01adfe0e15ed49c9f50ab03c33b808 -DIST repoman-3.0.3-version-bug-779508.patch 1887 BLAKE2B bc3a49266fe64d55ec95537196cb4fd3881bfdfd2a6bd30bc0e55ced674d4a12688264a3802f3f72ac291c108ab1d81c45fd0571dc0f2a6b0af8a05177d873b4 SHA512 75c41144e18833e7e46aeb9d57ea4ca29019701d5522be827ea28db2238baa6cf0b220461aba01bcfa7b42d979e2b284613d76a099f8a34eedd62d619df82dd9 -DIST repoman-3.0.3.tar.bz2 90373 BLAKE2B a4ea542c452d44b1f4aef235d67390b0a0f139f32da33ab9ad8992797965724f4ef8123a49b681e9205b6e3fe279dd248b65b0119659b7a0038fe9884bec0797 SHA512 09855a8a0098482c1ce0a7f50d2481528e713fb6796a4004475c841de59f9df8d264f2e9342fdaee87c71d275137234b7e3adc3454f7f33dcf75e32a0ae3f0e9 diff --git a/app-portage/repoman/metadata.xml b/app-portage/repoman/metadata.xml deleted file mode 100644 index c15cfac45369..000000000000 --- a/app-portage/repoman/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <upstream> - <bugs-to>mailto:dev-portage@gentoo.org</bugs-to> - <changelog>https://gitweb.gentoo.org/proj/portage.git/plain/RELEASE-NOTES</changelog> - <doc>https://wiki.gentoo.org/wiki/Handbook:AMD64/Working/Portage</doc> - </upstream> - <maintainer type="project"> - <email>dev-portage@gentoo.org</email> - </maintainer> -</pkgmetadata> diff --git a/app-portage/repoman/repoman-2.3.23.ebuild b/app-portage/repoman/repoman-2.3.23.ebuild deleted file mode 100644 index b3feb3e073da..000000000000 --- a/app-portage/repoman/repoman-2.3.23.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{7,8} ) -PYTHON_REQ_USE='bzip2(+)' - -inherit distutils-r1 - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage.git" - S="${WORKDIR}/${P}/repoman" -else - SRC_URI="https://dev.gentoo.org/~zmedico/portage/archives/${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" -fi - -DESCRIPTION="Repoman is a Quality Assurance tool for Gentoo ebuilds" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage" - -LICENSE="GPL-2" -SLOT="0" -IUSE="" - -RDEPEND=" - >=sys-apps/portage-2.3.80[${PYTHON_USEDEP}] - >=dev-python/lxml-3.6.0[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND}" - -python_test() { - esetup.py test -} - -python_install() { - # Install sbin scripts to bindir for python-exec linking - # they will be relocated in pkg_preinst() - distutils-r1_python_install \ - --system-prefix="${EPREFIX}/usr" \ - --bindir="$(python_get_scriptdir)" \ - --docdir="${EPREFIX}/usr/share/doc/${PF}" \ - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \ - --sbindir="$(python_get_scriptdir)" \ - --sysconfdir="${EPREFIX}/etc" \ - "${@}" -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]]; then - elog "" - elog "This release of repoman is from the new portage/repoman split" - elog "release code base." - elog "This new repoman code base is still being developed. So its API's" - elog "are not to be considered stable and are subject to change." - elog "The code released has been tested and considered ready for use." - elog "This however does not guarantee it to be completely bug free." - elog "Please report any bugs you may encounter." - elog "" - fi -} diff --git a/app-portage/repoman/repoman-3.0.2.ebuild b/app-portage/repoman/repoman-3.0.2.ebuild deleted file mode 100644 index 51b9c15a580a..000000000000 --- a/app-portage/repoman/repoman-3.0.2.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{7..9} pypy3 ) -PYTHON_REQ_USE='bzip2(+)' - -inherit distutils-r1 - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage.git" - S="${WORKDIR}/${P}/repoman" -else - SRC_URI="https://dev.gentoo.org/~zmedico/portage/archives/${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" -fi - -DESCRIPTION="Repoman is a Quality Assurance tool for Gentoo ebuilds" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage" - -LICENSE="GPL-2" -SLOT="0" -IUSE="" - -RDEPEND=" - >=sys-apps/portage-3.0.4[${PYTHON_USEDEP}] - >=dev-python/lxml-3.6.0[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND}" - -python_test() { - esetup.py test -} - -python_install() { - # Install sbin scripts to bindir for python-exec linking - # they will be relocated in pkg_preinst() - distutils-r1_python_install \ - --system-prefix="${EPREFIX}/usr" \ - --bindir="$(python_get_scriptdir)" \ - --docdir="${EPREFIX}/usr/share/doc/${PF}" \ - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \ - --sbindir="$(python_get_scriptdir)" \ - --sysconfdir="${EPREFIX}/etc" \ - "${@}" -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]]; then - elog "" - elog "This release of repoman is from the new portage/repoman split" - elog "release code base." - elog "This new repoman code base is still being developed. So its API's" - elog "are not to be considered stable and are subject to change." - elog "The code released has been tested and considered ready for use." - elog "This however does not guarantee it to be completely bug free." - elog "Please report any bugs you may encounter." - elog "" - fi -} diff --git a/app-portage/repoman/repoman-3.0.3-r1.ebuild b/app-portage/repoman/repoman-3.0.3-r1.ebuild deleted file mode 100644 index 3d9ec6752cfe..000000000000 --- a/app-portage/repoman/repoman-3.0.3-r1.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{8..10} pypy3 ) -PYTHON_REQ_USE='bzip2(+)' - -inherit distutils-r1 - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage.git" - S="${WORKDIR}/${P}/repoman" -else - SRC_URI="https://dev.gentoo.org/~zmedico/portage/archives/${P}.tar.bz2 - https://github.com/gentoo/portage/compare/285d3ae987a079f32b909c6e6eddde9bc45a4a25...b09b4071151d8e3a81f3576843d00f88eb407799.patch -> ${P}-unit-test-bug-779055.patch - https://github.com/gentoo/portage/commit/e29177fcd2950199afa4f83673c0771afb261123.patch -> ${P}-version-bug-779508.patch - https://github.com/gentoo/portage/commit/2eb3ca092a528e0722e0ca32f616836ed8039936.patch -> ${P}-unit-test-bug-779967.patch" - 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" -fi - -DESCRIPTION="Repoman is a Quality Assurance tool for Gentoo ebuilds" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage" - -LICENSE="GPL-2" -SLOT="0" -IUSE="" - -RDEPEND=" - >=sys-apps/portage-3.0.18[${PYTHON_USEDEP}] - >=dev-python/lxml-3.6.0[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND}" - -python_prepare_all() { - local patches=( - "${DISTDIR}/${P}-unit-test-bug-779055.patch" - "${DISTDIR}/${P}-version-bug-779508.patch" - "${DISTDIR}/${P}-unit-test-bug-779967.patch" - ) - eapply -p2 "${patches[@]}" - - distutils-r1_python_prepare_all -} - -python_test() { - unset REPOMAN_DEFAULT_OPTS - esetup.py test -} - -python_install() { - # Install sbin scripts to bindir for python-exec linking - # they will be relocated in pkg_preinst() - distutils-r1_python_install \ - --system-prefix="${EPREFIX}/usr" \ - --bindir="$(python_get_scriptdir)" \ - --docdir="${EPREFIX}/usr/share/doc/${PF}" \ - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \ - --sbindir="$(python_get_scriptdir)" \ - --sysconfdir="${EPREFIX}/etc" \ - "${@}" -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]]; then - elog "" - elog "This release of repoman is from the new portage/repoman split" - elog "release code base." - elog "This new repoman code base is still being developed. So its API's" - elog "are not to be considered stable and are subject to change." - elog "The code released has been tested and considered ready for use." - elog "This however does not guarantee it to be completely bug free." - elog "Please report any bugs you may encounter." - elog "" - fi -} diff --git a/app-portage/repoman/repoman-9999.ebuild b/app-portage/repoman/repoman-9999.ebuild deleted file mode 100644 index 0ba9ff39dfda..000000000000 --- a/app-portage/repoman/repoman-9999.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=bdepend -PYTHON_COMPAT=( python3_{8..10} pypy3 ) -PYTHON_REQ_USE='bzip2(+)' - -inherit distutils-r1 - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage.git" - S="${WORKDIR}/${P}/repoman" -else - SRC_URI="https://dev.gentoo.org/~zmedico/portage/archives/${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" -fi - -DESCRIPTION="Repoman is a Quality Assurance tool for Gentoo ebuilds" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage" - -LICENSE="GPL-2" -SLOT="0" -IUSE="" - -RDEPEND=" - >=sys-apps/portage-3.0.18[${PYTHON_USEDEP}] - >=dev-python/lxml-3.6.0[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND}" - -python_test() { - unset REPOMAN_DEFAULT_OPTS - esetup.py test -} - -python_install() { - # Install sbin scripts to bindir for python-exec linking - # they will be relocated in pkg_preinst() - distutils-r1_python_install \ - --system-prefix="${EPREFIX}/usr" \ - --bindir="$(python_get_scriptdir)" \ - --docdir="${EPREFIX}/usr/share/doc/${PF}" \ - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \ - --sbindir="$(python_get_scriptdir)" \ - --sysconfdir="${EPREFIX}/etc" \ - "${@}" -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]]; then - elog "" - elog "This release of repoman is from the new portage/repoman split" - elog "release code base." - elog "This new repoman code base is still being developed. So its API's" - elog "are not to be considered stable and are subject to change." - elog "The code released has been tested and considered ready for use." - elog "This however does not guarantee it to be completely bug free." - elog "Please report any bugs you may encounter." - elog "" - fi -} diff --git a/app-portage/smart-live-rebuild/Manifest b/app-portage/smart-live-rebuild/Manifest index 95ffd8481afc..8221adc9258e 100644 --- a/app-portage/smart-live-rebuild/Manifest +++ b/app-portage/smart-live-rebuild/Manifest @@ -1 +1 @@ -DIST smart-live-rebuild-1.3.7.tar.gz 17283 BLAKE2B 9de30e07b7c950c7e0e3d7f20a364ef65028fe425a017cf46de73a4aaa2c82f13359bc8e2d3269ed50b201b95c41af16c6f233576c1176f8c9b6394227bc8e14 SHA512 47111fa0e4ef9630a60b262566166822ac3245338c9cabc9e5959922e6f60cac70087025321fc9946ef7527b02ce7eb25d74e22d045f9e875c82d6f7877feb4b +DIST smart-live-rebuild-1.4.1.tar.gz 17759 BLAKE2B c45825fffc3e30e3fdb02d16c8998bafe492462bdbff9fd5d4c67ca297ecb4da6828a9c0b6c98262f92a518482b0dc99d3022a769e22bdeaf4270ee34b1a5d5a SHA512 401222564b9920a5c8b08c0bad393f18ffbb2d3eabea6aa1a0c04bc728ffd362ec7fccb8884023ff183398085c0017d2f59d86b293ed91cc3a2bcb185aef239e diff --git a/app-portage/smart-live-rebuild/metadata.xml b/app-portage/smart-live-rebuild/metadata.xml index 429b2705c964..122403d5a743 100644 --- a/app-portage/smart-live-rebuild/metadata.xml +++ b/app-portage/smart-live-rebuild/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> <email>mgorny@gentoo.org</email> @@ -17,7 +17,7 @@ <email>mgorny@gentoo.org</email> <name>Michał Górny</name> </maintainer> - <bugs-to>https://github.com/mgorny/smart-live-rebuild/issues/</bugs-to> - <remote-id type="github">mgorny/smart-live-rebuild</remote-id> + <bugs-to>https://github.com/projg2/smart-live-rebuild/issues/</bugs-to> + <remote-id type="github">projg2/smart-live-rebuild</remote-id> </upstream> </pkgmetadata> diff --git a/app-portage/smart-live-rebuild/smart-live-rebuild-1.3.7.ebuild b/app-portage/smart-live-rebuild/smart-live-rebuild-1.4.1.ebuild index 8dfa9ae35508..e130126cc995 100644 --- a/app-portage/smart-live-rebuild/smart-live-rebuild-1.3.7.ebuild +++ b/app-portage/smart-live-rebuild/smart-live-rebuild-1.4.1.ebuild @@ -1,30 +1,24 @@ -# 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 -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} pypy3 ) inherit distutils-r1 DESCRIPTION="Check live packages for updates and emerge them as necessary" -HOMEPAGE="https://github.com/mgorny/smart-live-rebuild/" -SRC_URI="https://github.com/mgorny/smart-live-rebuild/archive/v${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE="https://github.com/projg2/smart-live-rebuild/" +SRC_URI="https://github.com/projg2/smart-live-rebuild/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD-2" SLOT="0" -KEYWORDS="amd64 arm arm64 ~mips ~sparc x86 ~x64-macos" -IUSE="" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ~ppc ppc64 ~riscv sparc x86 ~x64-macos" RDEPEND=">=app-portage/gentoopm-0.2.1[${PYTHON_USEDEP}]" -# Tests need to be fixed -RESTRICT=test - -python_test() { - esetup.py test -} +distutils_enable_tests pytest python_install_all() { distutils-r1_python_install_all diff --git a/app-portage/smart-live-rebuild/smart-live-rebuild-9999.ebuild b/app-portage/smart-live-rebuild/smart-live-rebuild-9999.ebuild index 22d242d6b73c..0e0354f2f3ba 100644 --- a/app-portage/smart-live-rebuild/smart-live-rebuild-9999.ebuild +++ b/app-portage/smart-live-rebuild/smart-live-rebuild-9999.ebuild @@ -1,28 +1,23 @@ -# 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 -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} pypy3 ) -EGIT_REPO_URI="https://github.com/mgorny/${PN}.git" inherit distutils-r1 git-r3 DESCRIPTION="Check live packages for updates and emerge them as necessary" -HOMEPAGE="https://github.com/mgorny/smart-live-rebuild/" -SRC_URI="" +HOMEPAGE="https://github.com/projg2/smart-live-rebuild/" +EGIT_REPO_URI="https://github.com/projg2/${PN}.git" LICENSE="BSD-2" SLOT="0" -KEYWORDS="" -IUSE="" RDEPEND=">=app-portage/gentoopm-0.2.1[${PYTHON_USEDEP}]" -python_test() { - esetup.py test -} +distutils_enable_tests pytest python_install_all() { distutils-r1_python_install_all diff --git a/app-portage/tatt/Manifest b/app-portage/tatt/Manifest index a1301b00ad2f..536e70545fd4 100644 --- a/app-portage/tatt/Manifest +++ b/app-portage/tatt/Manifest @@ -1 +1,2 @@ -DIST tatt-0.8.tar.gz 22215 BLAKE2B 6c21acb9378045679c4a03badcb7c60638c4007ba19857d7519f68d4d658cd1418e952cf15a64679c6a9b28090856a588e60e9db1abb360d0625a633491deb3d SHA512 31be6573e3d7c9a690e57d64adcbf87983d5dd226afd162c7bfa425847a84705beda530cd5b648ac85cf8cd3907d46ae638bb0ca0d903d8d1968d0ac30703703 +DIST tatt-0.10.tar.gz 22675 BLAKE2B 4272cd0bf65a2181ba70d12fe8ca593403d7217aebf2f4dffd2f69397e686c79bc93ec70c756f1e94c548ed2acd8af7470c022611c16b5f3571af860aeca4b9c SHA512 1993f597e92b0b1f004e492aa164d7de6cf6776285850e5245f3328de0396c54cfc58943c767afe1fd1c49a771a1f33c65b6bed3c7d164223767567c05e12af1 +DIST tatt-0.11.tar.gz 22690 BLAKE2B becafd764b570acf5e96975662edefa472a02c2a671830419a4784337c3d898caa97f04a0cc7b30c916f9cf80b49655b4028f5322d82b602176f236997751aa1 SHA512 a4b34458d07187b830b84547cf4ba99171cbd6fde97498a458eff58921a65077c23a89fe5e6292b0d7042149ccba90b6d85cf02c57f5c4ece6d3e89943e16442 diff --git a/app-portage/tatt/metadata.xml b/app-portage/tatt/metadata.xml index b164b66527bd..7b621bdaaa5b 100644 --- a/app-portage/tatt/metadata.xml +++ b/app-portage/tatt/metadata.xml @@ -1,17 +1,16 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>kensington@gentoo.org</email> - </maintainer> + <!--maintainer-needed--> <use> <flag name="templates">Install template scripts to be used with tatt</flag> </use> <longdescription lang="en"> -Tatt arch testing tool can be use to automatically generate scripts for various boring tasks during arch work. -It aims at developers. If you are a normal user you will not need tatt. -</longdescription> + Tatt arch testing tool can be use to automatically generate scripts for various boring tasks during arch work. + It aims at developers. If you are a normal user you will not need tatt. + </longdescription> <upstream> + <remote-id type="gentoo">proj/tatt</remote-id> <remote-id type="github">gentoo/tatt</remote-id> </upstream> <stabilize-allarches/> diff --git a/app-portage/tatt/tatt-0.8.ebuild b/app-portage/tatt/tatt-0.10.ebuild index 0e71cc61b02e..afe63b4f2133 100644 --- a/app-portage/tatt/tatt-0.8.ebuild +++ b/app-portage/tatt/tatt-0.10.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{8,9} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 @@ -13,7 +13,7 @@ SRC_URI="https://github.com/gentoo/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="+templates" RDEPEND=" diff --git a/app-portage/tatt/tatt-0.11-r1.ebuild b/app-portage/tatt/tatt-0.11-r1.ebuild new file mode 100644 index 000000000000..e781f8042b06 --- /dev/null +++ b/app-portage/tatt/tatt-0.11-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Arch testing tool" +HOMEPAGE="https://github.com/gentoo/tatt" +SRC_URI="https://github.com/gentoo/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="+templates" + +RDEPEND=" + app-portage/eix + app-portage/gentoolkit[${PYTHON_USEDEP}] + app-portage/nattka[${PYTHON_USEDEP}] + dev-python/configobj[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + www-client/pybugz +" + +python_install_all() { + distutils-r1_python_install_all + if use templates; then + insinto "/usr/share/${PN}" + doins -r templates + fi + doman tatt.1 + doman tatt.5 +} diff --git a/app-portage/tatt/tatt-0.11.ebuild b/app-portage/tatt/tatt-0.11.ebuild new file mode 100644 index 000000000000..afe63b4f2133 --- /dev/null +++ b/app-portage/tatt/tatt-0.11.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="Arch testing tool" +HOMEPAGE="https://github.com/gentoo/tatt" +SRC_URI="https://github.com/gentoo/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="+templates" + +RDEPEND=" + app-portage/eix + app-portage/gentoolkit[${PYTHON_USEDEP}] + app-portage/nattka[${PYTHON_USEDEP}] + dev-python/configobj[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + www-client/pybugz +" + +python_install_all() { + distutils-r1_python_install_all + if use templates; then + insinto "/usr/share/${PN}" + doins -r templates + fi + doman tatt.1 + doman tatt.5 +} diff --git a/app-portage/tatt/tatt-9999.ebuild b/app-portage/tatt/tatt-9999.ebuild index 057777352672..805c349c5dd0 100644 --- a/app-portage/tatt/tatt-9999.ebuild +++ b/app-portage/tatt/tatt-9999.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 - -PYTHON_COMPAT=( python3_{8,9} ) +EAPI=8 +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 git-r3 DESCRIPTION="Arch testing tool" diff --git a/app-portage/ufed/metadata.xml b/app-portage/ufed/metadata.xml index 585b0dc75dda..fcf1cd64f680 100644 --- a/app-portage/ufed/metadata.xml +++ b/app-portage/ufed/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <!-- maintainer-needed --> </pkgmetadata> diff --git a/app-portage/ufed/ufed-0.96.ebuild b/app-portage/ufed/ufed-0.96.ebuild index 64a6a2cd5e43..5d53c39463df 100644 --- a/app-portage/ufed/ufed-0.96.ebuild +++ b/app-portage/ufed/ufed-0.96.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 if [[ ${PV} == *9999 ]]; then inherit git-r3 @@ -11,7 +11,7 @@ else KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" fi -inherit autotools out-of-source +inherit autotools flag-o-matic out-of-source DESCRIPTION="Gentoo Linux USE flags editor" HOMEPAGE="https://wiki.gentoo.org/wiki/Ufed" @@ -35,3 +35,11 @@ src_prepare() { eautoreconf } + +my_src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/854864 + filter-lto + + default +} diff --git a/app-portage/ufed/ufed-9999.ebuild b/app-portage/ufed/ufed-9999.ebuild index ecf6d270bd5a..08ff84575c6c 100644 --- a/app-portage/ufed/ufed-9999.ebuild +++ b/app-portage/ufed/ufed-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 if [[ ${PV} == *9999 ]]; then inherit git-r3 @@ -11,7 +11,7 @@ else KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" fi -inherit autotools out-of-source +inherit autotools flag-o-matic out-of-source DESCRIPTION="Gentoo Linux USE flags editor" HOMEPAGE="https://wiki.gentoo.org/wiki/Ufed" @@ -23,8 +23,8 @@ IUSE="" RDEPEND=" dev-lang/perl sys-libs/ncurses:0=" -DEPEND="${RDEPEND} - virtual/pkgconfig" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" src_prepare() { default @@ -35,3 +35,11 @@ src_prepare() { eautoreconf } + +my_src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/854864 + filter-lto + + default +} diff --git a/app-portage/unsymlink-lib/metadata.xml b/app-portage/unsymlink-lib/metadata.xml index 975c323b5133..3cccb08d1631 100644 --- a/app-portage/unsymlink-lib/metadata.xml +++ b/app-portage/unsymlink-lib/metadata.xml @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!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> <upstream> - <bugs-to>https://github.com/mgorny/unsymlink-lib/issues/</bugs-to> - <remote-id type="github">mgorny/unsymlink-lib</remote-id> + <bugs-to>https://github.com/projg2/unsymlink-lib/issues/</bugs-to> + <remote-id type="github">projg2/unsymlink-lib</remote-id> </upstream> </pkgmetadata> diff --git a/app-portage/unsymlink-lib/unsymlink-lib-20.ebuild b/app-portage/unsymlink-lib/unsymlink-lib-20.ebuild index 3cca8af5cca1..dcb3f06409c2 100644 --- a/app-portage/unsymlink-lib/unsymlink-lib-20.ebuild +++ b/app-portage/unsymlink-lib/unsymlink-lib-20.ebuild @@ -1,14 +1,14 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit python-single-r1 DESCRIPTION="Convert your system to SYMLINK_LIB=no" -HOMEPAGE="https://github.com/mgorny/unsymlink-lib" -SRC_URI="https://github.com/mgorny/unsymlink-lib/archive/v${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE="https://github.com/projg2/unsymlink-lib" +SRC_URI="https://github.com/projg2/unsymlink-lib/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD-2" SLOT="0" |