summaryrefslogtreecommitdiff
path: root/dev-python/empy
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/empy')
-rw-r--r--dev-python/empy/ChangeLog43
-rw-r--r--dev-python/empy/Manifest7
-rw-r--r--dev-python/empy/empy-3.2.ebuild36
-rw-r--r--dev-python/empy/empy-3.3.ebuild45
-rw-r--r--dev-python/empy/empy-3_bin.diff31
-rw-r--r--dev-python/empy/empy-3_link.diff26
-rw-r--r--dev-python/empy/metadata.xml5
7 files changed, 193 insertions, 0 deletions
diff --git a/dev-python/empy/ChangeLog b/dev-python/empy/ChangeLog
new file mode 100644
index 0000000..ad0318c
--- /dev/null
+++ b/dev-python/empy/ChangeLog
@@ -0,0 +1,43 @@
+# ChangeLog for dev-python/empy
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/empy/ChangeLog,v 1.12 2007/06/25 07:40:06 hawking Exp $
+
+ 25 Jun 2007; Ali Polatel <hawking@gentoo.org> empy-3.2.ebuild,
+ empy-3.3.ebuild:
+ removed unneeded empty lines
+
+ 22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
+ Transition to Manifest2.
+
+ 12 Jul 2006; Aron Griffis <agriffis@gentoo.org> empy-3.3.ebuild:
+ Mark 3.3 stable on ia64
+
+ 01 Apr 2006; Aron Griffis <agriffis@gentoo.org> empy-3.3.ebuild:
+ Mark 3.3 ~ia64
+
+ 12 Jul 2005; David Holm <dholm@gentoo.org> empy-3.3.ebuild:
+ Added to ~ppc.
+
+ 24 Apr 2005; Simon Stelling <blubb@gentoo.org> empy-3.3.ebuild:
+ stable on amd64
+
+ 30 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
+ Change encoding to UTF-8 for GLEP 31 compliance
+
+ 08 Sep 2004; <blubb@gentoo.org> empy-3.3.ebuild:
+ added ~amd64 keyword
+
+ 08 Jul 2004; Rob Cakebread <pythonhead@gentoo.org> empy-3.3.ebuild:
+ Marked stable on x86
+
+*empy-3.3 (01 Apr 2004)
+
+ 01 Apr 2004; Bryan Østergaard <kloeri@gentoo.org> empy-3.2.ebuild,
+ empy-3.3.ebuild:
+ Mark 3.2 stable on x86, add new 3.3 version, fix homepage + src_uri.
+
+*empy-3.2 (23 Oct 2003)
+
+ 23 Oct 2003; Rob Cakebread <pythonhead@gentoo.org> empy-3.2.ebuild:
+ Initial commit. Thank you Chris Bainbridge <chrb@dcs.ed.ac.uk> (Bug #28274)
+
diff --git a/dev-python/empy/Manifest b/dev-python/empy/Manifest
new file mode 100644
index 0000000..acc6d4e
--- /dev/null
+++ b/dev-python/empy/Manifest
@@ -0,0 +1,7 @@
+DIST empy-3.2.tar.gz 137037 RMD160 692203e0b54d99ec76df5a87ccc24e0541d68c7c SHA1 4dc381beed9bcdd7a8627d0e3adb57dc2b5f61cd SHA256 5057b6f9dc28ebb4518a11707e5cabbd5ae4624453fb3621e7e98edc8bcc2cff
+DIST empy-3.3.tar.gz 137144 RMD160 0a9ef8d8c25a4784769a0de283108fe0ddca1289 SHA1 dfc82202231143b9aabc81bd735c6f8a559b5109 SHA256 c625436d03cff8adbbade639d14a2df9bc4c4de99ec3a821ad4d6eeb66ade805
+EBUILD empy-3.2.ebuild 1107 RMD160 460485642293e87c3ce35abaab0d87ace5327127 SHA1 28d655e416148263865a810a7bcbb61eaa326320 SHA256 618c4d8fbfdc02c21f9804a24f11c06358ce67c4debfa0522577c5e9b91e36f7
+EBUILD empy-3.3.ebuild 1291 RMD160 78719a2800df093b1a6ae819d021559aff73d1f3 SHA1 26e6c2c58893785c62ae866c960b2557bb0fa0bc SHA256 59857bba9923381955aa4107f1375d3127400c39c89882f5729229f14dd110f6
+MISC ChangeLog 1391 RMD160 6013581d6525a533d4d56b6f100897e9389314fa SHA1 4a6fe6e959389bbcfc97d8b3b7c93feef2439eae SHA256 d9f3b110a6af0d819d6189129f5832aaeaa44fd21c0ea694cbc43b35301622c7
+MISC empy-3_bin.diff 1007 RMD160 31bd9c15fb72c1074c8870c83ca0cae53996dc8d SHA1 6a185fcfb3603ac549b0f36afac6a2a010cf0d01 SHA256 9b6c3ffa12a69640e1cb148800b015294608dcdb7365ae5c37373748074e6844
+MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
diff --git a/dev-python/empy/empy-3.2.ebuild b/dev-python/empy/empy-3.2.ebuild
new file mode 100644
index 0000000..9b398aa
--- /dev/null
+++ b/dev-python/empy/empy-3.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/empy/empy-3.2.ebuild,v 1.4 2007/06/25 07:40:06 hawking Exp $
+
+inherit distutils
+
+DESCRIPTION="A powerful and robust templating system for Python"
+HOMEPAGE="http://www.alcyone.com/software/empy/"
+SRC_URI="http://www.alcyone.com/software/empy/${P}.tar.gz"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+DEPEND="dev-lang/python"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i -e "s:/usr/local/bin/python:/usr/bin/python:g" em.py \
+ || die "Failed to patch em.py"
+}
+
+src_install() {
+ distutils_src_install
+ distutils_python_version
+ dodir /usr/bin
+ fperms 755 /usr/lib/python${PYVER}/site-packages/em.py
+ dosym /usr/lib/python${PYVER}/site-packages/em.py /usr/bin/em.py
+ dodir /usr/share/doc/${PF}/examples
+ insinto /usr/share/doc/${PF}/examples
+ doins sample.em sample.bench
+ #3.2 has the html in this funny place. Fix in later version:
+ dohtml doc/home/max/projects/empy/doc/em/*
+ dohtml doc/home/max/projects/empy/doc/em.html
+ dohtml doc/index.html
+}
diff --git a/dev-python/empy/empy-3.3.ebuild b/dev-python/empy/empy-3.3.ebuild
new file mode 100644
index 0000000..e5f8a42
--- /dev/null
+++ b/dev-python/empy/empy-3.3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/empy/empy-3.3.ebuild,v 1.9 2007/06/25 07:40:06 hawking Exp $
+
+inherit distutils
+
+DESCRIPTION="A powerful and robust templating system for Python"
+HOMEPAGE="http://www.alcyone.com/software/empy/"
+SRC_URI="http://www.alcyone.com/software/empy/${P}.tar.gz"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 ia64 ~ppc x86"
+IUSE=""
+DEPEND="dev-lang/python"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i -e "s:/usr/local/bin/python:/usr/bin/python:g" em.py \
+ || die "Failed to patch em.py"
+}
+
+src_install() {
+ distutils_src_install
+ distutils_python_version
+ dodir /usr/bin
+ fperms 755 /usr/$(get_libdir)/python${PYVER}/site-packages/em.py
+ dosym /usr/$(get_libdir)/python${PYVER}/site-packages/em.py /usr/bin/em.py
+ dodir /usr/share/doc/${PF}/examples
+ insinto /usr/share/doc/${PF}/examples
+ doins sample.em sample.bench
+ #3.3 has the html in this funny place. Fix in later version:
+ dohtml doc/home/max/projects/empy/doc/em/*
+ dohtml doc/home/max/projects/empy/doc/em.html
+ dohtml doc/index.html
+}
+
+pkg_postinst() {
+ python_version
+ python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/em.py
+}
+
+pkg_postrm() {
+ python_mod_cleanup
+}
diff --git a/dev-python/empy/empy-3_bin.diff b/dev-python/empy/empy-3_bin.diff
new file mode 100644
index 0000000..37fab44
--- /dev/null
+++ b/dev-python/empy/empy-3_bin.diff
@@ -0,0 +1,31 @@
+--- /usr/portage/dev-python/empy/empy-3.3.ebuild 2007-06-25 10:06:03.000000000 +0200
++++ empy-3.3.ebuild 2008-07-21 22:44:54.000000000 +0200
+@@ -2,7 +2,7 @@
+ # Distributed under the terms of the GNU General Public License v2
+ # $Header: /var/cvsroot/gentoo-x86/dev-python/empy/empy-3.3.ebuild,v 1.9 2007/06/25 07:40:06 hawking Exp $
+
+-inherit distutils
++inherit python
+
+ DESCRIPTION="A powerful and robust templating system for Python"
+ HOMEPAGE="http://www.alcyone.com/software/empy/"
+@@ -21,11 +21,8 @@
+ }
+
+ src_install() {
+- distutils_src_install
+- distutils_python_version
+- dodir /usr/bin
+- fperms 755 /usr/lib/python${PYVER}/site-packages/em.py
+- dosym /usr/lib/python${PYVER}/site-packages/em.py /usr/bin/em.py
++ cd ${S}
++ dobin em.py
+ dodir /usr/share/doc/${PF}/examples
+ insinto /usr/share/doc/${PF}/examples
+ doins sample.em sample.bench
+@@ -33,4 +30,5 @@
+ dohtml doc/home/max/projects/empy/doc/em/*
+ dohtml doc/home/max/projects/empy/doc/em.html
+ dohtml doc/index.html
++ dodoc README
+ }
diff --git a/dev-python/empy/empy-3_link.diff b/dev-python/empy/empy-3_link.diff
new file mode 100644
index 0000000..ec266d4
--- /dev/null
+++ b/dev-python/empy/empy-3_link.diff
@@ -0,0 +1,26 @@
+--- /usr/portage/dev-python/empy/empy-3.3.ebuild 2007-06-25 10:06:03.000000000 +0200
++++ empy-3.3.ebuild 2008-07-21 22:48:35.000000000 +0200
+@@ -24,8 +24,8 @@
+ distutils_src_install
+ distutils_python_version
+ dodir /usr/bin
+- fperms 755 /usr/lib/python${PYVER}/site-packages/em.py
+- dosym /usr/lib/python${PYVER}/site-packages/em.py /usr/bin/em.py
++ fperms 755 /usr/$(get_libdir)/python${PYVER}/site-packages/em.py
++ dosym /usr/$(get_libdir)/python${PYVER}/site-packages/em.py /usr/bin/em.py
+ dodir /usr/share/doc/${PF}/examples
+ insinto /usr/share/doc/${PF}/examples
+ doins sample.em sample.bench
+@@ -34,3 +34,12 @@
+ dohtml doc/home/max/projects/empy/doc/em.html
+ dohtml doc/index.html
+ }
++
++pkg_postinst() {
++ python_version
++ python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/em.py
++}
++
++pkg_postrm() {
++ python_mod_cleanup
++}
diff --git a/dev-python/empy/metadata.xml b/dev-python/empy/metadata.xml
new file mode 100644
index 0000000..de483c5
--- /dev/null
+++ b/dev-python/empy/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>python</herd>
+</pkgmetadata>