From 979f56d6da0ce7c4b14a354436f84c2fa6038fbc Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Sat, 22 Oct 2016 10:33:42 +0200 Subject: app-portage/portage-postsyncd-mv: Version bump --- app-portage/portage-postsyncd-mv/Manifest | 2 +- .../portage-postsyncd-mv-5.1.0.ebuild | 96 ---------------------- .../portage-postsyncd-mv-5.2.0.ebuild | 96 ++++++++++++++++++++++ 3 files changed, 97 insertions(+), 97 deletions(-) delete mode 100644 app-portage/portage-postsyncd-mv/portage-postsyncd-mv-5.1.0.ebuild create mode 100644 app-portage/portage-postsyncd-mv/portage-postsyncd-mv-5.2.0.ebuild (limited to 'app-portage/portage-postsyncd-mv') diff --git a/app-portage/portage-postsyncd-mv/Manifest b/app-portage/portage-postsyncd-mv/Manifest index 426d7584..34796670 100644 --- a/app-portage/portage-postsyncd-mv/Manifest +++ b/app-portage/portage-postsyncd-mv/Manifest @@ -1 +1 @@ -DIST portage-postsyncd-mv-5.1.0.tar.gz 16662 SHA256 08d8501b3b5ed4a30b5b3e5d6d67dba2a6f7e40341bd7657b30d1a41d37670d1 +DIST portage-postsyncd-mv-5.2.0.tar.gz 16949 SHA256 33f6598f831fa5a16a7e6ac052a9185e86e011f5930939be3dbf3ff861db9341 diff --git a/app-portage/portage-postsyncd-mv/portage-postsyncd-mv-5.1.0.ebuild b/app-portage/portage-postsyncd-mv/portage-postsyncd-mv-5.1.0.ebuild deleted file mode 100644 index af756231..00000000 --- a/app-portage/portage-postsyncd-mv/portage-postsyncd-mv-5.1.0.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -RESTRICT="mirror" -inherit eutils - -DESCRIPTION="postsync hooks for portage to sync from git" -HOMEPAGE="https://github.com/vaeth/portage-postsyncd-mv/" -SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -RDEPEND=">=dev-lang/perl-5.6.1" -# || ( >=dev-lang/perl-5.6.1 >=virtual/perl-Getopt-Long-2.24 ) -IUSE="+portage-utils" - -src_prepare() { - use prefix || { - sed -i \ - -e '1s"^#!/usr/bin/env sh$"#!'"${EPREFIX}/bin/sh"'"' \ - -- repo.postsync.d/[0-9]* || die - sed -i \ - -e '1s"^#!/usr/bin/env "#!'"${EPREFIX}/usr/bin/"'"' \ - -- bin/* || die - } - eapply_user -} - -src_install() { - exeinto /usr/bin - doexe bin/* - dodoc README ChangeLog - insinto /etc/portage/repo.postsync.d - doins repo.postsync.d/*.sh repo.postsync.d/README - docompress /etc/portage/repo.postsync.d/README - insinto /usr/share/zsh/site-functions - doins zsh/* - exeinto /etc/portage/repo.postsync.d - doexe repo.postsync.d/[0-9]* - insinto /usr/lib/portage-postsyncd-mv - doins app-portage/portage-utils - ! use portage-utils || \ - dosym "${EPREFIX}"/usr/lib/portage-postsyncd-mv/portage-utils \ - /etc/portage/env/app-portage/portage-utils -} - -pkg_postinst() { - local f g h - f="${EPREFIX}"/etc/portage/repo.postsync.d/q-reinit - if test -x "$f" - then if use portage-utils - then chmod a-x -- "${f}" - else elog "It is recommended to call" - elog " chmod a-x -- \"${f}\"" - elog "to let portage-postsyncd-mv determine the order of execution." - fi - fi - if ! use portage-utils - then h="${EPREFIX}"/etc/portage/env/app-portage - test -h "$h"/portage-utils || { - g=/usr/lib/portage-postsyncd-mv/portage-utils - elog "It is recommended to call" - elog " mkdir -p ${EPREFIX:+-- \"}${h}${EPREFIX:+\"}" - elog " ln -s ${EPREFIX:+-- \"}${g}${EPREFIX:+\"} \\" - elog " ${EPREFIX:+\"}${h}${EPREFIX:+\"}" - elog "to keep $f non-executable" - elog "after a future emerge of app-portage/portage-utils" - } - fi - case " ${REPLACING_VERSIONS}" in - *' '[01].*) - ewarn "The previous versions of $PN had several bugs." - ewarn 'It is recommended to remove from $PORTDIR/metadata the directories' - ewarn ' dtd/ glsa/ news/ xml-schema/' - ewarn 'as well as the directory $PORTDIR/local/timestamps' - ewarn 'to make sure that these directories contain the correct content.' - ewarn 'Moreover:';; - esac - case " ${REPLACING_VERSIONS}" in - *' '[0-3].*) - ewarn "The previous versions of $PN cleaned too aggressively." - ewarn 'It is recommended to refetch all repositories.' - ewarn 'Also remove the files' - ewarn ' $PORTDIR/local/timestamp/git-gc.date' - ewarn ' $REPO/.git/git-gc.date' - ewarn 'where $PORTDIR and $REPO should be replaced by the paths to' - ewarn 'your main repository or to each of your overlays, respectively.' - ewarn 'Also note renaming of some configuration variables.' - ewarn 'See the new ChangeLog file for details';; - esac - optfeature "faster execution" 'app-portage/eix' - optfeature "improved compatibility and security" 'dev-perl/File-Which' - optfeature "improved security" 'dev-perl/String-ShellQuote' -} diff --git a/app-portage/portage-postsyncd-mv/portage-postsyncd-mv-5.2.0.ebuild b/app-portage/portage-postsyncd-mv/portage-postsyncd-mv-5.2.0.ebuild new file mode 100644 index 00000000..af756231 --- /dev/null +++ b/app-portage/portage-postsyncd-mv/portage-postsyncd-mv-5.2.0.ebuild @@ -0,0 +1,96 @@ +# Copyright 2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +RESTRICT="mirror" +inherit eutils + +DESCRIPTION="postsync hooks for portage to sync from git" +HOMEPAGE="https://github.com/vaeth/portage-postsyncd-mv/" +SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RDEPEND=">=dev-lang/perl-5.6.1" +# || ( >=dev-lang/perl-5.6.1 >=virtual/perl-Getopt-Long-2.24 ) +IUSE="+portage-utils" + +src_prepare() { + use prefix || { + sed -i \ + -e '1s"^#!/usr/bin/env sh$"#!'"${EPREFIX}/bin/sh"'"' \ + -- repo.postsync.d/[0-9]* || die + sed -i \ + -e '1s"^#!/usr/bin/env "#!'"${EPREFIX}/usr/bin/"'"' \ + -- bin/* || die + } + eapply_user +} + +src_install() { + exeinto /usr/bin + doexe bin/* + dodoc README ChangeLog + insinto /etc/portage/repo.postsync.d + doins repo.postsync.d/*.sh repo.postsync.d/README + docompress /etc/portage/repo.postsync.d/README + insinto /usr/share/zsh/site-functions + doins zsh/* + exeinto /etc/portage/repo.postsync.d + doexe repo.postsync.d/[0-9]* + insinto /usr/lib/portage-postsyncd-mv + doins app-portage/portage-utils + ! use portage-utils || \ + dosym "${EPREFIX}"/usr/lib/portage-postsyncd-mv/portage-utils \ + /etc/portage/env/app-portage/portage-utils +} + +pkg_postinst() { + local f g h + f="${EPREFIX}"/etc/portage/repo.postsync.d/q-reinit + if test -x "$f" + then if use portage-utils + then chmod a-x -- "${f}" + else elog "It is recommended to call" + elog " chmod a-x -- \"${f}\"" + elog "to let portage-postsyncd-mv determine the order of execution." + fi + fi + if ! use portage-utils + then h="${EPREFIX}"/etc/portage/env/app-portage + test -h "$h"/portage-utils || { + g=/usr/lib/portage-postsyncd-mv/portage-utils + elog "It is recommended to call" + elog " mkdir -p ${EPREFIX:+-- \"}${h}${EPREFIX:+\"}" + elog " ln -s ${EPREFIX:+-- \"}${g}${EPREFIX:+\"} \\" + elog " ${EPREFIX:+\"}${h}${EPREFIX:+\"}" + elog "to keep $f non-executable" + elog "after a future emerge of app-portage/portage-utils" + } + fi + case " ${REPLACING_VERSIONS}" in + *' '[01].*) + ewarn "The previous versions of $PN had several bugs." + ewarn 'It is recommended to remove from $PORTDIR/metadata the directories' + ewarn ' dtd/ glsa/ news/ xml-schema/' + ewarn 'as well as the directory $PORTDIR/local/timestamps' + ewarn 'to make sure that these directories contain the correct content.' + ewarn 'Moreover:';; + esac + case " ${REPLACING_VERSIONS}" in + *' '[0-3].*) + ewarn "The previous versions of $PN cleaned too aggressively." + ewarn 'It is recommended to refetch all repositories.' + ewarn 'Also remove the files' + ewarn ' $PORTDIR/local/timestamp/git-gc.date' + ewarn ' $REPO/.git/git-gc.date' + ewarn 'where $PORTDIR and $REPO should be replaced by the paths to' + ewarn 'your main repository or to each of your overlays, respectively.' + ewarn 'Also note renaming of some configuration variables.' + ewarn 'See the new ChangeLog file for details';; + esac + optfeature "faster execution" 'app-portage/eix' + optfeature "improved compatibility and security" 'dev-perl/File-Which' + optfeature "improved security" 'dev-perl/String-ShellQuote' +} -- cgit v1.2.3-65-gdbad