summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2010-04-17 22:57:30 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2010-04-17 22:57:30 +0000
commitf4c2e8e6ad92a4e91f7812454c55acd0c195d008 (patch)
tree29b6906f552b55cb8ccc1c8bafd4a297fffc7b2c /dev-libs/protobuf
parentx86 stable, bug #315483 (diff)
downloadgentoo-2-f4c2e8e6ad92a4e91f7812454c55acd0c195d008.tar.gz
gentoo-2-f4c2e8e6ad92a4e91f7812454c55acd0c195d008.tar.bz2
gentoo-2-f4c2e8e6ad92a4e91f7812454c55acd0c195d008.zip
Remove old versions.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/protobuf')
-rw-r--r--dev-libs/protobuf/ChangeLog11
-rw-r--r--dev-libs/protobuf/files/protobuf-2.0.3-decoder_test_64bit_fix.patch17
-rw-r--r--dev-libs/protobuf/files/protobuf-2.1.0-fix-emacs-byte-compile.patch15
-rw-r--r--dev-libs/protobuf/files/protobuf-2.2.0-decoder_test_64bit_fix.patch17
-rw-r--r--dev-libs/protobuf/files/protobuf-2.2.0-fix-emacs-byte-compile.patch15
-rw-r--r--dev-libs/protobuf/protobuf-2.1.0.ebuild96
-rw-r--r--dev-libs/protobuf/protobuf-2.2.0a.ebuild96
7 files changed, 10 insertions, 257 deletions
diff --git a/dev-libs/protobuf/ChangeLog b/dev-libs/protobuf/ChangeLog
index 766faa3b05f5..f9c0c4198b43 100644
--- a/dev-libs/protobuf/ChangeLog
+++ b/dev-libs/protobuf/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-libs/protobuf
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/protobuf/ChangeLog,v 1.14 2010/04/02 19:22:47 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/protobuf/ChangeLog,v 1.15 2010/04/17 22:57:30 nelchael Exp $
+
+ 17 Apr 2010; Krzysztof Pawlik <nelchael@gentoo.org>
+ -files/protobuf-2.0.3-decoder_test_64bit_fix.patch,
+ -protobuf-2.1.0.ebuild,
+ -files/protobuf-2.1.0-fix-emacs-byte-compile.patch,
+ -files/protobuf-2.2.0-decoder_test_64bit_fix.patch,
+ -files/protobuf-2.2.0-fix-emacs-byte-compile.patch,
+ -protobuf-2.2.0a.ebuild:
+ Remove old versions.
02 Apr 2010; Fabian Groffen <grobian@gentoo.org> protobuf-2.3.0.ebuild:
Marked ~x64-macos, bug #312589
diff --git a/dev-libs/protobuf/files/protobuf-2.0.3-decoder_test_64bit_fix.patch b/dev-libs/protobuf/files/protobuf-2.0.3-decoder_test_64bit_fix.patch
deleted file mode 100644
index 5a88a119e538..000000000000
--- a/dev-libs/protobuf/files/protobuf-2.0.3-decoder_test_64bit_fix.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -Naurp protobuf-2.0.3-orig/python/google/protobuf/internal/decoder_test.py protobuf-2.0.3/python/google/protobuf/internal/decoder_test.py
---- protobuf-2.0.3-orig/python/google/protobuf/internal/decoder_test.py 2008-12-05 19:07:15.000000000 +0100
-+++ protobuf-2.0.3/python/google/protobuf/internal/decoder_test.py 2008-12-06 22:11:48.000000000 +0100
-@@ -106,6 +106,13 @@ class DecoderTest(unittest.TestCase):
- self.mox.ReplayAll()
- result = decoder_method(d)
- self.assertEqual(expected_result, result)
-+ # HACK: Convert all ints to longs so that different behavior
-+ # between 32-bit and 64-bit systems does not impact the result
-+ # of the test.
-+ if isinstance(result, int):
-+ result = long(result)
-+ if isinstance(expected_result, int):
-+ expected_result = long(expected_result)
- self.assert_(isinstance(result, type(expected_result)))
- self.mox.VerifyAll()
- self.mox.ResetAll()
diff --git a/dev-libs/protobuf/files/protobuf-2.1.0-fix-emacs-byte-compile.patch b/dev-libs/protobuf/files/protobuf-2.1.0-fix-emacs-byte-compile.patch
deleted file mode 100644
index 8a2381a47083..000000000000
--- a/dev-libs/protobuf/files/protobuf-2.1.0-fix-emacs-byte-compile.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-http://bugs.gentoo.org/271007
-Fix error with byte-compilation in Emacs.
-
---- protobuf-2.1.0-orig/editors/protobuf-mode.el 2009-05-13 22:36:40.000000000 +0200
-+++ protobuf-2.1.0/editors/protobuf-mode.el 2009-05-24 13:37:04.000000000 +0200
-@@ -71,7 +71,8 @@
-
- ;; This mode does not inherit properties from other modes. So, we do not use
- ;; the usual `c-add-language' function.
--(put 'protobuf-mode 'c-mode-prefix "protobuf-")
-+(eval-and-compile
-+ (put 'protobuf-mode 'c-mode-prefix "protobuf-"))
-
- ;; The following code uses of the `c-lang-defconst' macro define syntactic
- ;; features of protocol buffer language. Refer to the documentation in the
diff --git a/dev-libs/protobuf/files/protobuf-2.2.0-decoder_test_64bit_fix.patch b/dev-libs/protobuf/files/protobuf-2.2.0-decoder_test_64bit_fix.patch
deleted file mode 100644
index 5a88a119e538..000000000000
--- a/dev-libs/protobuf/files/protobuf-2.2.0-decoder_test_64bit_fix.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -Naurp protobuf-2.0.3-orig/python/google/protobuf/internal/decoder_test.py protobuf-2.0.3/python/google/protobuf/internal/decoder_test.py
---- protobuf-2.0.3-orig/python/google/protobuf/internal/decoder_test.py 2008-12-05 19:07:15.000000000 +0100
-+++ protobuf-2.0.3/python/google/protobuf/internal/decoder_test.py 2008-12-06 22:11:48.000000000 +0100
-@@ -106,6 +106,13 @@ class DecoderTest(unittest.TestCase):
- self.mox.ReplayAll()
- result = decoder_method(d)
- self.assertEqual(expected_result, result)
-+ # HACK: Convert all ints to longs so that different behavior
-+ # between 32-bit and 64-bit systems does not impact the result
-+ # of the test.
-+ if isinstance(result, int):
-+ result = long(result)
-+ if isinstance(expected_result, int):
-+ expected_result = long(expected_result)
- self.assert_(isinstance(result, type(expected_result)))
- self.mox.VerifyAll()
- self.mox.ResetAll()
diff --git a/dev-libs/protobuf/files/protobuf-2.2.0-fix-emacs-byte-compile.patch b/dev-libs/protobuf/files/protobuf-2.2.0-fix-emacs-byte-compile.patch
deleted file mode 100644
index 8a2381a47083..000000000000
--- a/dev-libs/protobuf/files/protobuf-2.2.0-fix-emacs-byte-compile.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-http://bugs.gentoo.org/271007
-Fix error with byte-compilation in Emacs.
-
---- protobuf-2.1.0-orig/editors/protobuf-mode.el 2009-05-13 22:36:40.000000000 +0200
-+++ protobuf-2.1.0/editors/protobuf-mode.el 2009-05-24 13:37:04.000000000 +0200
-@@ -71,7 +71,8 @@
-
- ;; This mode does not inherit properties from other modes. So, we do not use
- ;; the usual `c-add-language' function.
--(put 'protobuf-mode 'c-mode-prefix "protobuf-")
-+(eval-and-compile
-+ (put 'protobuf-mode 'c-mode-prefix "protobuf-"))
-
- ;; The following code uses of the `c-lang-defconst' macro define syntactic
- ;; features of protocol buffer language. Refer to the documentation in the
diff --git a/dev-libs/protobuf/protobuf-2.1.0.ebuild b/dev-libs/protobuf/protobuf-2.1.0.ebuild
deleted file mode 100644
index a821620fbb5f..000000000000
--- a/dev-libs/protobuf/protobuf-2.1.0.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/protobuf/protobuf-2.1.0.ebuild,v 1.3 2009/05/24 22:32:50 nelchael Exp $
-
-EAPI="2"
-
-JAVA_PKG_IUSE="source"
-
-inherit eutils distutils python java-pkg-opt-2 elisp-common
-
-DESCRIPTION="Google's Protocol Buffers -- an efficient method of encoding structured data"
-HOMEPAGE="http://code.google.com/p/protobuf/"
-SRC_URI="http://protobuf.googlecode.com/files/${PF}.tar.bz2"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="emacs examples java python vim-syntax"
-
-DEPEND="${DEPEND} java? ( >=virtual/jdk-1.5 )
- python? ( dev-python/setuptools )
- emacs? ( virtual/emacs )"
-RDEPEND="${RDEPEND} java? ( >=virtual/jre-1.5 )
- emacs? ( virtual/emacs )"
-
-src_prepare() {
- epatch "${FILESDIR}/${PN}-2.0.3-decoder_test_64bit_fix.patch"
- epatch "${FILESDIR}/${PN}-2.1.0-fix-emacs-byte-compile.patch"
-}
-
-src_compile() {
- emake || die
-
- if use python; then
- cd python; distutils_src_compile; cd ..
- fi
-
- if use java; then
- src/protoc --java_out=java/src/main/java --proto_path=src src/google/protobuf/descriptor.proto
- mkdir java/build
- pushd java/src/main/java
- ejavac -d ../../../build $(find . -name '*.java') || die "java compilation failed"
- popd
- jar cf "${PN}.jar" -C java/build . || die "jar failed"
- fi
-
- if use emacs; then
- elisp-compile "${S}/editors/protobuf-mode.el" || die "elisp-compile failed!"
- fi
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- dodoc CHANGES.txt CONTRIBUTORS.txt README.txt
-
- if use python; then
- cd python; distutils_src_install; cd ..
- fi
-
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins editors/proto.vim
- fi
-
- if use emacs; then
- elisp-install ${PN} editors/protobuf-mode.el* || die "elisp-install failed!"
- elisp-site-file-install "${FILESDIR}/70${PN}-gentoo.el"
- fi
-
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins -r examples/* || die "doins examples failed"
- fi
-
- if use java; then
- java-pkg_dojar ${PN}.jar
- use source && java-pkg_dosrc java/src/main/java/*
- fi
-}
-
-src_test() {
- emake check
-
- if use python; then
- cd python; ${python} setup.py test || die "python test failed"
- cd ..
- fi
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/dev-libs/protobuf/protobuf-2.2.0a.ebuild b/dev-libs/protobuf/protobuf-2.2.0a.ebuild
deleted file mode 100644
index 960c97235085..000000000000
--- a/dev-libs/protobuf/protobuf-2.2.0a.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/protobuf/protobuf-2.2.0a.ebuild,v 1.2 2009/11/28 10:41:39 nelchael Exp $
-
-EAPI="2"
-
-JAVA_PKG_IUSE="source"
-
-inherit eutils distutils python java-pkg-opt-2 elisp-common
-
-DESCRIPTION="Google's Protocol Buffers -- an efficient method of encoding structured data"
-HOMEPAGE="http://code.google.com/p/protobuf/"
-SRC_URI="http://protobuf.googlecode.com/files/${PF}.tar.bz2"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="emacs examples java python vim-syntax"
-
-DEPEND="${DEPEND} java? ( >=virtual/jdk-1.5 )
- python? ( dev-python/setuptools )
- emacs? ( virtual/emacs )"
-RDEPEND="${RDEPEND} java? ( >=virtual/jre-1.5 )
- emacs? ( virtual/emacs )"
-
-src_prepare() {
- epatch "${FILESDIR}/${PN}-2.2.0-decoder_test_64bit_fix.patch"
- epatch "${FILESDIR}/${PN}-2.2.0-fix-emacs-byte-compile.patch"
-}
-
-src_compile() {
- emake || die
-
- if use python; then
- cd python; distutils_src_compile; cd ..
- fi
-
- if use java; then
- src/protoc --java_out=java/src/main/java --proto_path=src src/google/protobuf/descriptor.proto
- mkdir java/build
- pushd java/src/main/java
- ejavac -d ../../../build $(find . -name '*.java') || die "java compilation failed"
- popd
- jar cf "${PN}.jar" -C java/build . || die "jar failed"
- fi
-
- if use emacs; then
- elisp-compile "${S}/editors/protobuf-mode.el" || die "elisp-compile failed!"
- fi
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- dodoc CHANGES.txt CONTRIBUTORS.txt README.txt
-
- if use python; then
- cd python; distutils_src_install; cd ..
- fi
-
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins editors/proto.vim
- fi
-
- if use emacs; then
- elisp-install ${PN} editors/protobuf-mode.el* || die "elisp-install failed!"
- elisp-site-file-install "${FILESDIR}/70${PN}-gentoo.el"
- fi
-
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins -r examples/* || die "doins examples failed"
- fi
-
- if use java; then
- java-pkg_dojar ${PN}.jar
- use source && java-pkg_dosrc java/src/main/java/*
- fi
-}
-
-src_test() {
- emake check
-
- if use python; then
- cd python; ${python} setup.py test || die "python test failed"
- cd ..
- fi
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}