From 2ed967d2ca704c8ea943b1748530f6b83b9f3836 Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Sat, 7 Apr 2018 19:27:12 +0200 Subject: dev-util/pyrep: Version bump --- dev-util/pyrep/Manifest | 2 +- dev-util/pyrep/pyrep-1.4-r1.ebuild | 30 ------------------------------ dev-util/pyrep/pyrep-1.5.ebuild | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 33 insertions(+), 31 deletions(-) delete mode 100644 dev-util/pyrep/pyrep-1.4-r1.ebuild create mode 100644 dev-util/pyrep/pyrep-1.5.ebuild (limited to 'dev-util') diff --git a/dev-util/pyrep/Manifest b/dev-util/pyrep/Manifest index aec1c109..7d50a6f0 100644 --- a/dev-util/pyrep/Manifest +++ b/dev-util/pyrep/Manifest @@ -1 +1 @@ -DIST pyrep-1.4.tar.gz 8622 SHA512 9038b6368930628488f5e47a08262c9a51aec20172e8528d199d113653e445d37a69d4f07c00087cc8359e04fcf864ea72c749d9552b580d8f38ff62d8ec55f7 +DIST pyrep-1.5.tar.gz 9555 SHA512 3a2affa147da9e833432e2441dc1a1a3ea47e618695d6541ea6a4f04cb60b0708314814de191aea4e77a07b17f714454a7611f5f0989528e0ebabddd93a1cca0 diff --git a/dev-util/pyrep/pyrep-1.4-r1.ebuild b/dev-util/pyrep/pyrep-1.4-r1.ebuild deleted file mode 100644 index d5aec00d..00000000 --- a/dev-util/pyrep/pyrep-1.4-r1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2017 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/or replace regular expressions within many files interactively" -HOMEPAGE="https://github.com/vaeth/pyrep/" -SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="${PYTHON_DEPS}" - -src_prepare() { - use prefix || sed -i \ - -e '1s"^#!/usr/bin/env python$"#!'"${EPREFIX}/usr/bin/python"'"' \ - -- "${PN}" || die - eapply_user -} - -src_install() { - dobin "${PN}" - dodoc AUTHORS README -} diff --git a/dev-util/pyrep/pyrep-1.5.ebuild b/dev-util/pyrep/pyrep-1.5.ebuild new file mode 100644 index 00000000..f2ade1ab --- /dev/null +++ b/dev-util/pyrep/pyrep-1.5.ebuild @@ -0,0 +1,32 @@ +# Copyright 2012-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/or replace regular expressions within many files interactively" +HOMEPAGE="https://github.com/vaeth/pyrep/" +SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="${PYTHON_DEPS}" + +src_prepare() { + use prefix || sed -i \ + -e '1s"^#!/usr/bin/env python$"#!'"${EPREFIX}/usr/bin/python"'"' \ + -- bin/* || die + default +} + +src_install() { + dobin bin/* + dodoc AUTHORS README.md + insinto /usr/share/zsh/site-functions + doins zsh/_* +} -- cgit v1.2.3-18-g5258