From 105302ee0e5320d7d102e15f12012e2950cdafae Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Sun, 16 Jun 2024 11:16:15 +0200 Subject: app-portage/portage-bashrc-mv: Version bump MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Väth --- app-portage/portage-bashrc-mv/Manifest | 2 +- .../portage-bashrc-mv-22.2.ebuild | 55 ---------------------- .../portage-bashrc-mv-23.0.ebuild | 55 ++++++++++++++++++++++ metadata/pkg_desc_index | 2 +- 4 files changed, 57 insertions(+), 57 deletions(-) delete mode 100644 app-portage/portage-bashrc-mv/portage-bashrc-mv-22.2.ebuild create mode 100644 app-portage/portage-bashrc-mv/portage-bashrc-mv-23.0.ebuild diff --git a/app-portage/portage-bashrc-mv/Manifest b/app-portage/portage-bashrc-mv/Manifest index 515c4c23..bc246b71 100644 --- a/app-portage/portage-bashrc-mv/Manifest +++ b/app-portage/portage-bashrc-mv/Manifest @@ -1 +1 @@ -DIST portage-bashrc-mv-22.2.tar.gz 20515 BLAKE2B c9fe6b7b72df82d907480848a1b4a6c0c3c2544a594b2cfbd8fb1206bde569f18bbc1c1889872bd083d4d7cfaa2a8368eb7540d1b63eeba992505e504584a4f5 SHA512 64f7eb2c4ac40c354cf42174ac5a45c73a470b639e31d7b665276255f1d5de1734a55277e9ba999a0ea80d7a71076a72499393631962b381252156cd99e67556 +DIST portage-bashrc-mv-23.0.tar.gz 20710 BLAKE2B 5c2742164c1f9661fd3a2e90b0928802617d66be378c635f1b2fd55331b7e3afac71a5ebad58bb561bc76aa113e2de207336e2420f143c32f9fc25961ddfa18b SHA512 023274b6a228c08e9c4fcff9acc0acdf5dc5765cbdebdc4002f41c478d57d4d3f864cc2be1ec9b64bf2d5e62ada2cb07e2ed0791888bcb496c65228aaf40be35 diff --git a/app-portage/portage-bashrc-mv/portage-bashrc-mv-22.2.ebuild b/app-portage/portage-bashrc-mv/portage-bashrc-mv-22.2.ebuild deleted file mode 100644 index cce1258c..00000000 --- a/app-portage/portage-bashrc-mv/portage-bashrc-mv-22.2.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2011-2024 Martin V\"ath -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -RESTRICT="mirror" - -DESCRIPTION="Provide support for /etc/portage/bashrc.d and /etc/portage/package.cflags" -HOMEPAGE="https://github.com/vaeth/portage-bashrc-mv/" -SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" -IUSE="+ccache +cflags +remove-la +title" - -# the ccache script would run without dev-util/ccache but would be pointless: -RDEPEND="ccache? ( >=dev-util/ccache-3.2 )" - -# The flags script would run without app-portage/eix, but package.cflags -# parsing would be much slower (and is almost not tested): -RDEPEND=${RDEPEND}" cflags? ( app-portage/eix )" - -# The title script would do nothing without these packages: -RDEPEND=${RDEPEND}" title? ( - >=app-portage/portage-utils-0.80_pre20190605 - app-shells/runtitle -)" - -src_install() { - dodoc AUTHORS NEWS README.md - exeinto "/usr/share/doc/${PF}" - doexe fix-portage-2.2.15 - docompress -x "/usr/share/doc/${PF}/fix-portage-2.2.15" - insinto /etc/portage - doins -r bashrc - insinto /etc/portage/bashrc.d - doins bashrc.d/[a-zA-Z]* - docompress /etc/portage/bashrc.d/README - ! use ccache || doins bashrc.d/*ccache* - ! use cflags || doins bashrc.d/*flag* - doins bashrc.d/*locale*purge* - ! use remove-la || doins bashrc.d/*remove*la* - ! use title || doins bashrc.d/*title* -} - -pkg_postinst() { - case " ${REPLACING_VERSIONS}" in - *' '[0-9].*|*' '1[0-2].*) - ewarn "Remember to run /usr/share/doc/${PF}/fix-portage-2.2.15" - ewarn "as the first command after upgrading to >=portage-2.2.15" - ewarn "See NEWS for details";; - esac - ! test -d /var/cache/gpo || \ - ewarn "Obsolete /var/cache/gpo found. Please remove" -} diff --git a/app-portage/portage-bashrc-mv/portage-bashrc-mv-23.0.ebuild b/app-portage/portage-bashrc-mv/portage-bashrc-mv-23.0.ebuild new file mode 100644 index 00000000..cce1258c --- /dev/null +++ b/app-portage/portage-bashrc-mv/portage-bashrc-mv-23.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 2011-2024 Martin V\"ath +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +RESTRICT="mirror" + +DESCRIPTION="Provide support for /etc/portage/bashrc.d and /etc/portage/package.cflags" +HOMEPAGE="https://github.com/vaeth/portage-bashrc-mv/" +SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +IUSE="+ccache +cflags +remove-la +title" + +# the ccache script would run without dev-util/ccache but would be pointless: +RDEPEND="ccache? ( >=dev-util/ccache-3.2 )" + +# The flags script would run without app-portage/eix, but package.cflags +# parsing would be much slower (and is almost not tested): +RDEPEND=${RDEPEND}" cflags? ( app-portage/eix )" + +# The title script would do nothing without these packages: +RDEPEND=${RDEPEND}" title? ( + >=app-portage/portage-utils-0.80_pre20190605 + app-shells/runtitle +)" + +src_install() { + dodoc AUTHORS NEWS README.md + exeinto "/usr/share/doc/${PF}" + doexe fix-portage-2.2.15 + docompress -x "/usr/share/doc/${PF}/fix-portage-2.2.15" + insinto /etc/portage + doins -r bashrc + insinto /etc/portage/bashrc.d + doins bashrc.d/[a-zA-Z]* + docompress /etc/portage/bashrc.d/README + ! use ccache || doins bashrc.d/*ccache* + ! use cflags || doins bashrc.d/*flag* + doins bashrc.d/*locale*purge* + ! use remove-la || doins bashrc.d/*remove*la* + ! use title || doins bashrc.d/*title* +} + +pkg_postinst() { + case " ${REPLACING_VERSIONS}" in + *' '[0-9].*|*' '1[0-2].*) + ewarn "Remember to run /usr/share/doc/${PF}/fix-portage-2.2.15" + ewarn "as the first command after upgrading to >=portage-2.2.15" + ewarn "See NEWS for details";; + esac + ! test -d /var/cache/gpo || \ + ewarn "Obsolete /var/cache/gpo found. Please remove" +} diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index index 58fb0436..985d5024 100644 --- a/metadata/pkg_desc_index +++ b/metadata/pkg_desc_index @@ -33,7 +33,7 @@ app-portage/eix 0.36.8 99999999: Search and query ebuilds app-portage/etcat 1.0.2 99999999: Updated version of an old Portage information extractor app-portage/find_cruft 5.2: find cruft files not managed by portage app-portage/logclean 18.4.2: Keep only (compressed) logs of installed packages and cleanup emerge.log -app-portage/portage-bashrc-mv 22.2: Provide support for /etc/portage/bashrc.d and /etc/portage/package.cflags +app-portage/portage-bashrc-mv 23.0: Provide support for /etc/portage/bashrc.d and /etc/portage/package.cflags app-portage/portage-postsyncd-mv 8.4: postsync hooks for portage to sync from git app-portage/trickyfetch 10.1: Plugin for FETCHCOMMAND to help organize and cleanup your DISTDIR app-portage/useflags 4.2: Print or save the current USE-flag state and compare with older versions -- cgit v1.2.3-65-gdbad