From d3966d4e39047269d40c0a0a6131a8f81bd3c26d Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Mon, 23 Apr 2018 21:14:55 +0200 Subject: dev-util/replacer: Version bump --- dev-util/replacer/Manifest | 2 +- dev-util/replacer/replacer-3.0.ebuild | 56 ----------------------------------- dev-util/replacer/replacer-3.1.ebuild | 56 +++++++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+), 57 deletions(-) delete mode 100644 dev-util/replacer/replacer-3.0.ebuild create mode 100644 dev-util/replacer/replacer-3.1.ebuild (limited to 'dev-util') diff --git a/dev-util/replacer/Manifest b/dev-util/replacer/Manifest index 40e0488d..ac5cba12 100644 --- a/dev-util/replacer/Manifest +++ b/dev-util/replacer/Manifest @@ -1 +1 @@ -DIST replacer-3.0.tar.gz 16306 SHA512 4c52d02219dd6e7339ddb5a3cf6da850a0cfc74112fe670194778809d170a8911e4c7466345f8a1f0e11b36a40754f0bc76f2bb4d86a96b1ab74730cc1653929 +DIST replacer-3.1.tar.gz 16368 SHA512 0bb08593e7ad0bf9e5d6c3f732794add4b4d50f7fd5a1f77fcbeea2f2f2fe486b32ed9bed3e068dab1b1dd01a5924947d11330ac2a1b9dfd3c9287fbf28dd33f diff --git a/dev-util/replacer/replacer-3.0.ebuild b/dev-util/replacer/replacer-3.0.ebuild deleted file mode 100644 index a35d15aa..00000000 --- a/dev-util/replacer/replacer-3.0.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -RESTRICT="mirror" -PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6}} ) -inherit python-any-r1 - -DESCRIPTION="Search and replace python regular expressions within many files interactively" -HOMEPAGE="https://github.com/vaeth/replacer/" -SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="nls" -PLOCALES="de" -for i in ${PLOCALES}; do - IUSE+=" l10n_${i}" -done - -RDEPEND="${PYTHON_DEPS} - nls? ( virtual/libintl )" -DEPEND="nls? ( sys-devel/gettext )" - -src_prepare() { - local r - use prefix || sed -i \ - -e '1s"^#!/usr/bin/env python$"#!'"${EPREFIX}/usr/bin/python"'"' \ - bin/* || die - if use nls; then - localepath=${EPREFIX}/usr/share/locale - r="'${localepath}'" - else - r='None' - fi - sed -i \ - -e 's"^\(localedir[[:space:]]*=[[:space:]]*\).*"\1'"${r}\"" \ - bin/${PN} || die - default -} - -src_install() { - local i - if use nls; then - export LINGUAS= - for i in ${PLOCALES}; do - use l10n_${i} && LINGUAS+=${LINGUAS:+ }${i} - done - po/install-mo "${D}${localepath}" - fi - dobin bin/* - dodoc README.md - insinto /usr/share/zsh/site-functions - doins zsh/_* -} diff --git a/dev-util/replacer/replacer-3.1.ebuild b/dev-util/replacer/replacer-3.1.ebuild new file mode 100644 index 00000000..a35d15aa --- /dev/null +++ b/dev-util/replacer/replacer-3.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +RESTRICT="mirror" +PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6}} ) +inherit python-any-r1 + +DESCRIPTION="Search and replace python regular expressions within many files interactively" +HOMEPAGE="https://github.com/vaeth/replacer/" +SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls" +PLOCALES="de" +for i in ${PLOCALES}; do + IUSE+=" l10n_${i}" +done + +RDEPEND="${PYTHON_DEPS} + nls? ( virtual/libintl )" +DEPEND="nls? ( sys-devel/gettext )" + +src_prepare() { + local r + use prefix || sed -i \ + -e '1s"^#!/usr/bin/env python$"#!'"${EPREFIX}/usr/bin/python"'"' \ + bin/* || die + if use nls; then + localepath=${EPREFIX}/usr/share/locale + r="'${localepath}'" + else + r='None' + fi + sed -i \ + -e 's"^\(localedir[[:space:]]*=[[:space:]]*\).*"\1'"${r}\"" \ + bin/${PN} || die + default +} + +src_install() { + local i + if use nls; then + export LINGUAS= + for i in ${PLOCALES}; do + use l10n_${i} && LINGUAS+=${LINGUAS:+ }${i} + done + po/install-mo "${D}${localepath}" + fi + dobin bin/* + dodoc README.md + insinto /usr/share/zsh/site-functions + doins zsh/_* +} -- cgit v1.2.3-65-gdbad