public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/anarchy:master commit in: sys-devel/patch/
@ 2012-08-01  1:42 Jory Pratt
  0 siblings, 0 replies; 2+ messages in thread
From: Jory Pratt @ 2012-08-01  1:42 UTC (permalink / raw
  To: gentoo-commits

commit:     70a3f06c6c66e62cebbd1145d252b9b8ef407d93
Author:     Jory A. Pratt <anarchy <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  1 01:40:45 2012 +0000
Commit:     Jory Pratt <anarchy <AT> gentoo <DOT> org>
CommitDate: Wed Aug  1 01:40:45 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/anarchy.git;a=commit;h=70a3f06c

Provide a patch snapshot for modern day use

---
 sys-devel/patch/Manifest               |    2 +
 sys-devel/patch/patch-2.6.1.169.ebuild |   35 ++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/sys-devel/patch/Manifest b/sys-devel/patch/Manifest
new file mode 100644
index 0000000..bcf1fa4
--- /dev/null
+++ b/sys-devel/patch/Manifest
@@ -0,0 +1,2 @@
+DIST patch-2.6.1.169-7096.tar.gz 989655 SHA256 c37d57581e2f7dd0d7641966cee7f6fb089ffdaf55a3e5f3dd55648c2355f04d SHA512 e58d934ff22b3f9c2186cdcd856f551dc402aef471f7fb57d11eca345380bf52e5d20ee066ba87816378772323869620746949c9ca42d3cfd8a342abf5bb1ca0 WHIRLPOOL dff72d7222626da3d814f63f34db840e0381047e8895d44a6cc15095c2e378ca761f1bfa64af9aba0cc2ab407311a6b528bb0141a6e77ccc47f5366ca41b43d5
+EBUILD patch-2.6.1.169.ebuild 792 SHA256 6c2d76ad29aa46a86b319b7ec2b17c222bb4c489ac72da314c7c8e69eb7e7181 SHA512 431646d8fdec429e889377dfb7741dc7f9b65133d19c1b55c58bb25a99850a6f255b441423cd1ed04be496abeb8f6cf2829eb9ffbe52bd1e3b49110b3ac49800 WHIRLPOOL 7ba3649bf7c86b2538214d31a7dbc67f8940c42ed2aa6566c4794a187311f4d0a4f97d074221bb7c2764d659253dd77119e5936029615ee6de9148de9314b0d9

diff --git a/sys-devel/patch/patch-2.6.1.169.ebuild b/sys-devel/patch/patch-2.6.1.169.ebuild
new file mode 100644
index 0000000..4d7cfb2
--- /dev/null
+++ b/sys-devel/patch/patch-2.6.1.169.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit flag-o-matic
+
+DESCRIPTION="Utility to apply diffs to files"
+HOMEPAGE="http://www.gnu.org/software/patch/patch.html"
+SRC_URI="mirror://gnu-alpha/patch/${P}-7096.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+IUSE="static test"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+	test? ( sys-apps/ed )"
+
+S="${WORKDIR}/${P}-7096"
+
+src_compile() {
+	use static && append-ldflags -static
+
+	local myconf=""
+	[[ ${USERLAND} != "GNU" ]] && myconf="--program-prefix=g"
+	econf ${myconf}
+
+	emake || die
+}
+
+src_install() {
+	emake DESTDIR="${D}" install || die
+	dodoc AUTHORS ChangeLog NEWS README
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] dev/anarchy:master commit in: sys-devel/patch/
@ 2012-08-02  1:41 Jory Pratt
  0 siblings, 0 replies; 2+ messages in thread
From: Jory Pratt @ 2012-08-02  1:41 UTC (permalink / raw
  To: gentoo-commits

commit:     ab0bdb847ee0d6841d847b2dc4b3bba5ac7e2d59
Author:     Jory A. Pratt <anarchy <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  2 01:40:39 2012 +0000
Commit:     Jory Pratt <anarchy <AT> gentoo <DOT> org>
CommitDate: Thu Aug  2 01:40:39 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/anarchy.git;a=commit;h=ab0bdb84

Use proper naming threw versionator.eclass

---
 sys-devel/patch/Manifest                           |    2 +-
 ....6.1.169.ebuild => patch-2.6.1.169.7096.ebuild} |    8 +++++---
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/sys-devel/patch/Manifest b/sys-devel/patch/Manifest
index bcf1fa4..4b8459d 100644
--- a/sys-devel/patch/Manifest
+++ b/sys-devel/patch/Manifest
@@ -1,2 +1,2 @@
 DIST patch-2.6.1.169-7096.tar.gz 989655 SHA256 c37d57581e2f7dd0d7641966cee7f6fb089ffdaf55a3e5f3dd55648c2355f04d SHA512 e58d934ff22b3f9c2186cdcd856f551dc402aef471f7fb57d11eca345380bf52e5d20ee066ba87816378772323869620746949c9ca42d3cfd8a342abf5bb1ca0 WHIRLPOOL dff72d7222626da3d814f63f34db840e0381047e8895d44a6cc15095c2e378ca761f1bfa64af9aba0cc2ab407311a6b528bb0141a6e77ccc47f5366ca41b43d5
-EBUILD patch-2.6.1.169.ebuild 792 SHA256 6c2d76ad29aa46a86b319b7ec2b17c222bb4c489ac72da314c7c8e69eb7e7181 SHA512 431646d8fdec429e889377dfb7741dc7f9b65133d19c1b55c58bb25a99850a6f255b441423cd1ed04be496abeb8f6cf2829eb9ffbe52bd1e3b49110b3ac49800 WHIRLPOOL 7ba3649bf7c86b2538214d31a7dbc67f8940c42ed2aa6566c4794a187311f4d0a4f97d074221bb7c2764d659253dd77119e5936029615ee6de9148de9314b0d9
+EBUILD patch-2.6.1.169.7096.ebuild 859 SHA256 3ddd8ef8c56c232b216258303c604866dcf0883719aa997cf18fbfb6f2fab1ed SHA512 f501c4cfb9a88936637447a4da7320bd99792fefbc330449c0d43950094a1389852250f084e6d044e123fb5b1b27de1e38485f33d4b32fc973882896550dbbc8 WHIRLPOOL e35cf4583ff1887d9737a7709b16fe5436fff12a80a3a8bf3ecfecbf9760cfb5be1bab4dfe75e36c024e10eaff006cfc7d9296c8f038c9ab7360d184663e3b7a

diff --git a/sys-devel/patch/patch-2.6.1.169.ebuild b/sys-devel/patch/patch-2.6.1.169.7096.ebuild
similarity index 80%
rename from sys-devel/patch/patch-2.6.1.169.ebuild
rename to sys-devel/patch/patch-2.6.1.169.7096.ebuild
index 4d7cfb2..efa3e63 100644
--- a/sys-devel/patch/patch-2.6.1.169.ebuild
+++ b/sys-devel/patch/patch-2.6.1.169.7096.ebuild
@@ -2,11 +2,13 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-inherit flag-o-matic
+inherit flag-o-matic versionator
+
+MY_PV="$(replace_version_separator 4 '-' )"
 
 DESCRIPTION="Utility to apply diffs to files"
 HOMEPAGE="http://www.gnu.org/software/patch/patch.html"
-SRC_URI="mirror://gnu-alpha/patch/${P}-7096.tar.gz"
+SRC_URI="mirror://gnu-alpha/patch/${PN}-${MY_PV}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -17,7 +19,7 @@ RDEPEND=""
 DEPEND="${RDEPEND}
 	test? ( sys-apps/ed )"
 
-S="${WORKDIR}/${P}-7096"
+S="${WORKDIR}/${PN}-${MY_PV}"
 
 src_compile() {
 	use static && append-ldflags -static


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-08-02  1:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-01  1:42 [gentoo-commits] dev/anarchy:master commit in: sys-devel/patch/ Jory Pratt
  -- strict thread matches above, loose matches on Subject: below --
2012-08-02  1:41 Jory Pratt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox