* [gentoo-commits] proj/anaconda-overlay:master commit in: dev-python/pyblock/, dev-python/pyblock/files/
@ 2011-06-10 23:02 Wiktor W Brodlo
0 siblings, 0 replies; only message in thread
From: Wiktor W Brodlo @ 2011-06-10 23:02 UTC (permalink / raw
To: gentoo-commits
commit: f46aec49fe7e3971a24aff19dfe400b2856d9e25
Author: wiktor w brodlo <wiktor <AT> brodlo <DOT> net>
AuthorDate: Fri Jun 10 14:35:14 2011 +0000
Commit: Wiktor W Brodlo <wiktor <AT> brodlo <DOT> net>
CommitDate: Fri Jun 10 14:35:14 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/anaconda-overlay.git;a=commit;h=f46aec49
dev-python/pyblock version bump + -Werror patch
---
dev-python/pyblock/Manifest | 3 ++-
dev-python/pyblock/files/Werror.patch | 11 +++++++++++
.../{pyblock-0.46.ebuild => pyblock-0.52.ebuild} | 4 +++-
3 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/dev-python/pyblock/Manifest b/dev-python/pyblock/Manifest
index a4fda35..b8052f7 100644
--- a/dev-python/pyblock/Manifest
+++ b/dev-python/pyblock/Manifest
@@ -1 +1,2 @@
-EBUILD pyblock-0.46.ebuild 652 RMD160 c1cf0cd06becbab096291a8423ad9559959d9a4a SHA1 7d6313dd0f92e04de12b922c3f2bc0117e60ffc4 SHA256 405a7f655cd7ce7b449234823b700a4659e955908d0d853032bf07d8dafd7129
+AUX Werror.patch 506 RMD160 38e67092ca2a10e6f5fd9cba1f9703561800b24a SHA1 ff94e3d58c4bc3b575999466bb29f16c85429f1c SHA256 32e48a5fba55c1ca39765bfa231e95036fa8892b2487a8169974c0a4a7f65ea2
+EBUILD pyblock-0.52.ebuild 715 RMD160 92dbb332ae816c66ad58a61db8fab3441a8a7dc1 SHA1 be4e4bec5b945ac53603f5dc8fad5b9220dcbf17 SHA256 8073ef5a88b6c060cf1d751635b49a79b6fca674ce25e16115caa04fa9b5974b
diff --git a/dev-python/pyblock/files/Werror.patch b/dev-python/pyblock/files/Werror.patch
new file mode 100644
index 0000000..f924624
--- /dev/null
+++ b/dev-python/pyblock/files/Werror.patch
@@ -0,0 +1,11 @@
+--- Makefile.orig 2011-06-10 14:18:15.000000000 +0000
++++ Makefile 2011-06-10 14:20:22.315642625 +0000
+@@ -5,7 +5,7 @@
+ DEBUGLIB := "/usr/lib/debug"
+ CC := gcc
+ PYVER := $(shell python -c "import sys; print sys.version[0:3]")
+-CFLAGS := -g -I/usr/include/python$(PYVER) -Wall -Werror -fPIC $(OPTFLAGS) -fno-strict-aliasing
++CFLAGS := -g -I/usr/include/python$(PYVER) -Wall -fPIC $(OPTFLAGS) -fno-strict-aliasing
+ LDFLAGS := -shared
+
+ VERSION := $(shell awk '/Version:/ { print $$2 }' python-pyblock.spec)
diff --git a/dev-python/pyblock/pyblock-0.46.ebuild b/dev-python/pyblock/pyblock-0.52.ebuild
similarity index 80%
rename from dev-python/pyblock/pyblock-0.46.ebuild
rename to dev-python/pyblock/pyblock-0.52.ebuild
index 8906420..2b2a799 100644
--- a/dev-python/pyblock/pyblock-0.46.ebuild
+++ b/dev-python/pyblock/pyblock-0.52.ebuild
@@ -8,7 +8,7 @@ EGIT_REPO_URI="git://git.fedorahosted.org/pyblock.git"
inherit base git
DESCRIPTION="Python interface for working with block devices"
-HOMEPAGE="http://git.fedoraproject.org/git/pyblock.git?p=pyblock.git;a=summary"
+HOMEPAGE="http://git.fedorahosted.org/git/pyblock.git?p=pyblock.git;a=summary"
SRC_URI=""
LICENSE="GPL-2"
@@ -26,5 +26,7 @@ DEPEND="${DEPEND}
src_compile() {
local use_selinux=0
use selinux && use_selinux=1
+ export EPATCH_OPTS="-d${S}"
+ epatch "${FILESDIR}"/Werror.patch
base_src_compile USESELINUX="${use_selinux}"
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-06-10 23:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-10 23:02 [gentoo-commits] proj/anaconda-overlay:master commit in: dev-python/pyblock/, dev-python/pyblock/files/ Wiktor W Brodlo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox