inital ebuild thanks to request from Michael R. Lawrence in bug #158474
authorDaniel Black <dragonheart@gentoo.org>
Sat, 14 Apr 2007 01:27:56 +0000 (01:27 +0000)
committerDaniel Black <dragonheart@gentoo.org>
Sat, 14 Apr 2007 01:27:56 +0000 (01:27 +0000)
Package-Manager: portage-2.1.2.2

dev-python/python-lzo/ChangeLog [new file with mode: 0644]
dev-python/python-lzo/Manifest [new file with mode: 0644]
dev-python/python-lzo/files/digest-python-lzo-1.08 [new file with mode: 0644]
dev-python/python-lzo/files/lzo2compat.patch [new file with mode: 0644]
dev-python/python-lzo/metadata.xml [new file with mode: 0644]
dev-python/python-lzo/python-lzo-1.08.ebuild [new file with mode: 0644]

diff --git a/dev-python/python-lzo/ChangeLog b/dev-python/python-lzo/ChangeLog
new file mode 100644 (file)
index 0000000..f55a387
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/python-lzo
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-lzo/ChangeLog,v 1.1 2007/04/14 01:27:56 dragonheart Exp $
+
+*python-lzo-1.08 (14 Apr 2007)
+
+  14 Apr 2007; Daniel Black <dragonheart@gentoo.org>
+  +files/lzo2compat.patch, +metadata.xml, +python-lzo-1.08.ebuild:
+  inital ebuild thanks to request from Michael R. Lawrence in bug #158474
+
diff --git a/dev-python/python-lzo/Manifest b/dev-python/python-lzo/Manifest
new file mode 100644 (file)
index 0000000..806c131
--- /dev/null
@@ -0,0 +1,20 @@
+AUX lzo2compat.patch 515 RMD160 56b03bac724ae35b0bc58d0a765005313697dd32 SHA1 d99def228986c75d73285fca99b3110417122887 SHA256 f5192642ec695a40d5e87ee640c0bdddf802a06d95bf7dccc86721505904d9d5
+MD5 fbe150c79b9bfdcd4769162840a2e182 files/lzo2compat.patch 515
+RMD160 56b03bac724ae35b0bc58d0a765005313697dd32 files/lzo2compat.patch 515
+SHA256 f5192642ec695a40d5e87ee640c0bdddf802a06d95bf7dccc86721505904d9d5 files/lzo2compat.patch 515
+DIST python-lzo-1.08.tar.gz 13046 RMD160 61ebb764149c8b4bcfcffcc404794475568faa51 SHA1 e51f6a6ee14a7a9c4a6874df60b7c2ad9af03961 SHA256 2865afe7b995844bf80af94441d1ccf908b0e3aba3eacf5ba602f23e748476c4
+EBUILD python-lzo-1.08.ebuild 730 RMD160 d56eae2ca2265a837ffb846848207ade1dba60b2 SHA1 828c6cc36ceae397f6df318b569ef9d4de26b67a SHA256 f779c8bca24f30f3e86aacc999757a0702821c505c4a6cf9454e4a4b76e93ba0
+MD5 2b6cbf5b03aad76d7449b0e75aa77450 python-lzo-1.08.ebuild 730
+RMD160 d56eae2ca2265a837ffb846848207ade1dba60b2 python-lzo-1.08.ebuild 730
+SHA256 f779c8bca24f30f3e86aacc999757a0702821c505c4a6cf9454e4a4b76e93ba0 python-lzo-1.08.ebuild 730
+MISC ChangeLog 447 RMD160 6f58dd5559d90cdc8fbcd7e185adf5dcf8d6d221 SHA1 ae79334028da16571e48c3303cb66f3ff83c53d0 SHA256 09b68c3f207030ec142ef95b5befdd9edc1c0da086571455a52ab539cc982120
+MD5 c57a9b4d27914fc4b1d366b0cf86c325 ChangeLog 447
+RMD160 6f58dd5559d90cdc8fbcd7e185adf5dcf8d6d221 ChangeLog 447
+SHA256 09b68c3f207030ec142ef95b5befdd9edc1c0da086571455a52ab539cc982120 ChangeLog 447
+MISC metadata.xml 257 RMD160 5cbd170da0c8fb4ee546a40cca3129c9e9838225 SHA1 0023bfab0ec7e50e47130cc73e8fdb6f06fecae8 SHA256 74304a15c2682e280ee860e4e95ba1d13026414041bb1ff3296c3c39469a1ea4
+MD5 bb7dd722121541829da334a77e22d390 metadata.xml 257
+RMD160 5cbd170da0c8fb4ee546a40cca3129c9e9838225 metadata.xml 257
+SHA256 74304a15c2682e280ee860e4e95ba1d13026414041bb1ff3296c3c39469a1ea4 metadata.xml 257
+MD5 dc4bdd2225dd91c66e938a5c97ec0f65 files/digest-python-lzo-1.08 244
+RMD160 7abd76e60731ad36aad91dff236a286b65083f38 files/digest-python-lzo-1.08 244
+SHA256 eb3d0e728a3c5467fe8579951aa147f97654310c3c669d9682b95719effb15c0 files/digest-python-lzo-1.08 244
diff --git a/dev-python/python-lzo/files/digest-python-lzo-1.08 b/dev-python/python-lzo/files/digest-python-lzo-1.08
new file mode 100644 (file)
index 0000000..da94b11
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 292a3b6cdaca606b917e7f6bf026fdad python-lzo-1.08.tar.gz 13046
+RMD160 61ebb764149c8b4bcfcffcc404794475568faa51 python-lzo-1.08.tar.gz 13046
+SHA256 2865afe7b995844bf80af94441d1ccf908b0e3aba3eacf5ba602f23e748476c4 python-lzo-1.08.tar.gz 13046
diff --git a/dev-python/python-lzo/files/lzo2compat.patch b/dev-python/python-lzo/files/lzo2compat.patch
new file mode 100644 (file)
index 0000000..d48b75a
--- /dev/null
@@ -0,0 +1,13 @@
+--- /tmp/setup.py.orig 2007-04-14 11:10:48.000000000 +1000
++++ python-lzo-1.08/setup.py   2007-04-14 11:17:13.000000000 +1000
+@@ -24,8 +24,8 @@
+     include_dirs.append(os.path.join(CURL_DIR, "include"))
+     extra_objects.append(os.path.join(CURL_DIR, "lzo.lib"))
+ else:
+-    libraries = ["lzo"]
+-    ##include_dirs.append("/usr/local/include")
++    libraries = ["lzo2"]
++    include_dirs.append("/usr/include/lzo")
+     ##library_dirs.append("/usr/local/lib")
+     ##runtime_library_dirs.append("/usr/local/lib")
diff --git a/dev-python/python-lzo/metadata.xml b/dev-python/python-lzo/metadata.xml
new file mode 100644 (file)
index 0000000..db44acd
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd>noherd</herd>
+       <maintainer>
+               <email>dragonheart@gentoo.org</email>
+               <name>Daniel Black</name>
+       </maintainer>
+</pkgmetadata>
diff --git a/dev-python/python-lzo/python-lzo-1.08.ebuild b/dev-python/python-lzo/python-lzo-1.08.ebuild
new file mode 100644 (file)
index 0000000..4d090d3
--- /dev/null
@@ -0,0 +1,28 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-lzo/python-lzo-1.08.ebuild,v 1.1 2007/04/14 01:27:56 dragonheart Exp $
+
+inherit eutils distutils
+
+DESCRIPTION="Python interface to lzo"
+SRC_URI="http://www.oberhumer.com/opensource/lzo/download/LZO-v1/${P}.tar.gz"
+HOMEPAGE="http://www.oberhumer.com/opensource/lzo/"
+RDEPEND="virtual/python
+               dev-libs/lzo"
+DEPEND="${RDEPEND}"
+IUSE=""
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-2"
+
+src_unpack() {
+       unpack ${A}
+       if has_version ">=dev-libs/lzo-2"; then
+               epatch "${FILESDIR}"/lzo2compat.patch
+       fi
+}
+
+src_install() {
+       mydoc="NEWS PKG-INFO README"
+       distutils_src_install
+}