summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/pyblosxom')
-rw-r--r--www-apps/pyblosxom/ChangeLog12
-rw-r--r--www-apps/pyblosxom/Manifest50
-rw-r--r--www-apps/pyblosxom/files/digest-pyblosxom-1.2.13
-rw-r--r--www-apps/pyblosxom/files/digest-pyblosxom-1.3.23
-rw-r--r--www-apps/pyblosxom/files/digest-pyblosxom-1.4.23
-rw-r--r--www-apps/pyblosxom/files/gentoo-webapp.patch22
-rw-r--r--www-apps/pyblosxom/files/pyblosxom-1.3.2-gentoo.patch19
-rw-r--r--www-apps/pyblosxom/files/pyblosxom-1.4.2-gentoo.patch13
-rw-r--r--www-apps/pyblosxom/pyblosxom-1.2.1.ebuild45
-rw-r--r--www-apps/pyblosxom/pyblosxom-1.3.2.ebuild46
-rw-r--r--www-apps/pyblosxom/pyblosxom-1.4.2.ebuild50
11 files changed, 96 insertions, 170 deletions
diff --git a/www-apps/pyblosxom/ChangeLog b/www-apps/pyblosxom/ChangeLog
index a2cf5789f3d9..f878d7fdc8a0 100644
--- a/www-apps/pyblosxom/ChangeLog
+++ b/www-apps/pyblosxom/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for www-apps/pyblosxom
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/pyblosxom/ChangeLog,v 1.8 2007/05/16 07:30:08 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/pyblosxom/ChangeLog,v 1.9 2007/12/18 10:27:55 wrobel Exp $
+
+*pyblosxom-1.4.2 (18 Dec 2007)
+
+ 18 Dec 2007; Gunnar Wrobel <wrobel@gentoo.org>
+ -files/pyblosxom-1.3.2-gentoo.patch, +files/pyblosxom-1.4.2-gentoo.patch,
+ -files/gentoo-webapp.patch, -pyblosxom-1.2.1.ebuild,
+ -pyblosxom-1.3.2.ebuild, +pyblosxom-1.4.2.ebuild:
+ Added pyblosxom 1.4.2 and removed all older versions. The older versions had
+ trouble with SLOTting since this package installs a python library and
+ cannot be slotted as the other web applications.
16 May 2007; Christian Faulhammer <opfer@gentoo.org>
pyblosxom-1.3.2.ebuild:
diff --git a/www-apps/pyblosxom/Manifest b/www-apps/pyblosxom/Manifest
index 1fa986e738b4..f5663c568973 100644
--- a/www-apps/pyblosxom/Manifest
+++ b/www-apps/pyblosxom/Manifest
@@ -5,10 +5,6 @@ AUX config-hook.sh 468 RMD160 e4316efe98bb8fd88267f28a6f5b1d2a9368c2ba SHA1 25d5
MD5 0835a464fdaa7a605c63376bb18a2b24 files/config-hook.sh 468
RMD160 e4316efe98bb8fd88267f28a6f5b1d2a9368c2ba files/config-hook.sh 468
SHA256 28c4f5a9b09ffa50ee0664ea688440d86d20a1d981b9007147ced84d1bf97f9e files/config-hook.sh 468
-AUX gentoo-webapp.patch 1096 RMD160 34e7a786b29e55d79040897e521c58f0552e9a66 SHA1 be1f58ea2103ad74e2e0473d0cb9c7f4102f8ee4 SHA256 8e3593885a7553ca4d886e8f6139c25abb94ea26a02508c1a3bf9c2db221ad42
-MD5 549472aeb8561d15d9795008c05e2b81 files/gentoo-webapp.patch 1096
-RMD160 34e7a786b29e55d79040897e521c58f0552e9a66 files/gentoo-webapp.patch 1096
-SHA256 8e3593885a7553ca4d886e8f6139c25abb94ea26a02508c1a3bf9c2db221ad42 files/gentoo-webapp.patch 1096
AUX postinstall-en.txt 326 RMD160 258a65eb5e22506371c2b51b3b94b4f363e5f004 SHA1 c82aa64c039670cd672678a399e1872a6e2a3b69 SHA256 9c2a12527f8d2729f77f9eaccb4d297fa988c36e20cefa6de2002909a89851ae
MD5 1b151b39edadce257e08dac6407dd8fd files/postinstall-en.txt 326
RMD160 258a65eb5e22506371c2b51b3b94b4f363e5f004 files/postinstall-en.txt 326
@@ -17,38 +13,30 @@ AUX postupgrade-en.txt 369 RMD160 a95a01806a15d564ab4f3f59a0a1a3f58bcfaf51 SHA1
MD5 7168b4bc35336459cdffac5873f261f1 files/postupgrade-en.txt 369
RMD160 a95a01806a15d564ab4f3f59a0a1a3f58bcfaf51 files/postupgrade-en.txt 369
SHA256 21aad9ddeef695622cbee4a1892c3026f23ad4a25028e2f90e5d169047ed44df files/postupgrade-en.txt 369
-AUX pyblosxom-1.3.2-gentoo.patch 874 RMD160 38bc15be46ceaf4c3c1b005fda23382fb06e7db1 SHA1 57d293629d2e7b42ff2de9e78d8819dffa259233 SHA256 f447a9e4c534ed05530ff9f6f8b3321e2b075b1d6dd309cd3430d6e554204165
-MD5 cabe34d17af3f4b5f5c29fec650599cf files/pyblosxom-1.3.2-gentoo.patch 874
-RMD160 38bc15be46ceaf4c3c1b005fda23382fb06e7db1 files/pyblosxom-1.3.2-gentoo.patch 874
-SHA256 f447a9e4c534ed05530ff9f6f8b3321e2b075b1d6dd309cd3430d6e554204165 files/pyblosxom-1.3.2-gentoo.patch 874
-DIST pyblosxom-1.2.1.tar.gz 46580 RMD160 2f4df57f4594180e9d46475f1060bfa34e2c0db8 SHA1 df9019e1a40e6a711b3c40a77c8de86ca56847dc SHA256 7a8cd85945286df0c80bdf95dc2b8ed7e74ff50b02b08ffdd511546bb9b3e8a6
-DIST pyblosxom-1.3.2.tar.gz 94701 RMD160 d85f1be077ae03c3bffc4c80d0eb1ae349305559 SHA1 73f4f88d3f367a8e113d8c3801c850b0b0b00fe3 SHA256 338cb25d8312dbaf0553385d21bb0f8fc22c180d1ae4e42b556a376eb7dec417
-EBUILD pyblosxom-1.2.1.ebuild 1016 RMD160 6dabaa3b4645387b30c3c79d9aefe0c65b38df01 SHA1 95d145b9dd532216c4fc8c66175350d16f90093f SHA256 e6d5a5c8076dca854b493d3ff0f2795e59f611b130c930b9717ed2517ce983c8
-MD5 4dfb3fab8b4317c8f67a2f0cf9c54880 pyblosxom-1.2.1.ebuild 1016
-RMD160 6dabaa3b4645387b30c3c79d9aefe0c65b38df01 pyblosxom-1.2.1.ebuild 1016
-SHA256 e6d5a5c8076dca854b493d3ff0f2795e59f611b130c930b9717ed2517ce983c8 pyblosxom-1.2.1.ebuild 1016
-EBUILD pyblosxom-1.3.2.ebuild 1104 RMD160 382b00b3c5ab2af18776a4d843330cbff899b7df SHA1 cd6900a42034ceb596ee75d1bc1d126460d52e9c SHA256 01f8ceee72641ddbd76cf68052a0c1b3b594e7d9afab022af2dcc836de50ca22
-MD5 1b0ad8ab30221666e4afebd5138d342e pyblosxom-1.3.2.ebuild 1104
-RMD160 382b00b3c5ab2af18776a4d843330cbff899b7df pyblosxom-1.3.2.ebuild 1104
-SHA256 01f8ceee72641ddbd76cf68052a0c1b3b594e7d9afab022af2dcc836de50ca22 pyblosxom-1.3.2.ebuild 1104
-MISC ChangeLog 1439 RMD160 6569e5adae614f216d5111312073ec72c53d5fa0 SHA1 d62f4fa505ecb29859bc35089cd875ad714e2fc4 SHA256 cb3c8126c1c53e903e823fd8ddef5568b035c1938231b49be3facbfc025246f9
-MD5 8770b23d08a277f4fbd6305b22cb7d36 ChangeLog 1439
-RMD160 6569e5adae614f216d5111312073ec72c53d5fa0 ChangeLog 1439
-SHA256 cb3c8126c1c53e903e823fd8ddef5568b035c1938231b49be3facbfc025246f9 ChangeLog 1439
+AUX pyblosxom-1.4.2-gentoo.patch 571 RMD160 369f77c8c4c6549afe77325b6c922faa1e393387 SHA1 612e1ca4762f87f3363e92c40cf3e5f91b9da60b SHA256 79574de1e9d7008d4b8ab909c5889ee1b21b19f2eaef484827572ab83c485328
+MD5 af7b2c2ff70e3772643da679a0076034 files/pyblosxom-1.4.2-gentoo.patch 571
+RMD160 369f77c8c4c6549afe77325b6c922faa1e393387 files/pyblosxom-1.4.2-gentoo.patch 571
+SHA256 79574de1e9d7008d4b8ab909c5889ee1b21b19f2eaef484827572ab83c485328 files/pyblosxom-1.4.2-gentoo.patch 571
+DIST pyblosxom-1.4.2.tar.gz 107892 RMD160 cdb6767c18dba0b802c0319770a68817a6e59d48 SHA1 6c7fe4763e40c431045023cbe2d4798db206cc72 SHA256 64bfbe91dbdfb1facac9eca85e682b1f603b9bde3894aeff689ce4f51c817843
+EBUILD pyblosxom-1.4.2.ebuild 1194 RMD160 ba64f2e92a0c4a7982996f72839f25c7329a96f4 SHA1 5fd28d92364fd611ac2490075de45ade5dd7195a SHA256 6634d2007ce9ee73702fbd05df690e6566171b98fbf9fbbb504ba455cd53b462
+MD5 2120aceb7694ee6ba5170208b460b370 pyblosxom-1.4.2.ebuild 1194
+RMD160 ba64f2e92a0c4a7982996f72839f25c7329a96f4 pyblosxom-1.4.2.ebuild 1194
+SHA256 6634d2007ce9ee73702fbd05df690e6566171b98fbf9fbbb504ba455cd53b462 pyblosxom-1.4.2.ebuild 1194
+MISC ChangeLog 1908 RMD160 370f59db332e170c1b4b7d75d3ee4c8163db0755 SHA1 faa70652b873f2ce0310c77a761e880c3cc56b51 SHA256 8a0dcd9f4f679da6429d4d04c142cc268a0aeba35429b40f289015e04efb363b
+MD5 a77479c4a6ca338061a356ce6e2a85b2 ChangeLog 1908
+RMD160 370f59db332e170c1b4b7d75d3ee4c8163db0755 ChangeLog 1908
+SHA256 8a0dcd9f4f679da6429d4d04c142cc268a0aeba35429b40f289015e04efb363b ChangeLog 1908
MISC metadata.xml 300 RMD160 bf586296c9109dde24954321b649d4209515a655 SHA1 4d51a604920a4063599ce594e66c89bade642e2b SHA256 ede26e0fd846cfff8f6fbe5207a5f62606d3fdd8b7dd36fbc7eca81f5059c9e9
MD5 2475b9abb75a74d9fa92ea07cfaf7d41 metadata.xml 300
RMD160 bf586296c9109dde24954321b649d4209515a655 metadata.xml 300
SHA256 ede26e0fd846cfff8f6fbe5207a5f62606d3fdd8b7dd36fbc7eca81f5059c9e9 metadata.xml 300
-MD5 2e7061696944ebbe889dc2c1190a77ff files/digest-pyblosxom-1.2.1 244
-RMD160 4ef57da31d412f7c3729bbf16b3a2a15bf0f9898 files/digest-pyblosxom-1.2.1 244
-SHA256 331f380e1a44602dfe07f7ae567e46a6dda8d9a98f1af45af8c2d2fb181de446 files/digest-pyblosxom-1.2.1 244
-MD5 4b76040ba253a43bf9b3402d6529407b files/digest-pyblosxom-1.3.2 244
-RMD160 926692147e60d1368900d217ea14c7e79842c0db files/digest-pyblosxom-1.3.2 244
-SHA256 a74171095ee5cce853229b03f26995c31542b38740251eebd8cebbaab5e80c1e files/digest-pyblosxom-1.3.2 244
+MD5 b4bde4eebe4f9dedf4e86dd3a59d058d files/digest-pyblosxom-1.4.2 247
+RMD160 8e41ffc828ecb524c18337d8b94101b4f3ba09a8 files/digest-pyblosxom-1.4.2 247
+SHA256 1db427727f4ad5a1307aa2d1997dd4d4cb9e340911fb00a72fb9b5b8f922a2d8 files/digest-pyblosxom-1.4.2 247
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
-iD8DBQFGSrMHNQqtfCuFneMRAnbCAJwLBtkk99Dbz893cuv1ZvuC3PvyIgCfRoJt
-ek5I393boQ4A770dDS/q9tQ=
-=8wlJ
+iD8DBQFHZ6CxEEcxCpcDQ74RAh+9AJ0bM6qHO79ku7RdUWebJUnSRH9+vwCfVhlT
+I2FNNPaAWKL6/JzvDHiZdzc=
+=X1um
-----END PGP SIGNATURE-----
diff --git a/www-apps/pyblosxom/files/digest-pyblosxom-1.2.1 b/www-apps/pyblosxom/files/digest-pyblosxom-1.2.1
deleted file mode 100644
index dd5e0213f818..000000000000
--- a/www-apps/pyblosxom/files/digest-pyblosxom-1.2.1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 c59e2cb44a9e72ba5e46e265ed23f0ad pyblosxom-1.2.1.tar.gz 46580
-RMD160 2f4df57f4594180e9d46475f1060bfa34e2c0db8 pyblosxom-1.2.1.tar.gz 46580
-SHA256 7a8cd85945286df0c80bdf95dc2b8ed7e74ff50b02b08ffdd511546bb9b3e8a6 pyblosxom-1.2.1.tar.gz 46580
diff --git a/www-apps/pyblosxom/files/digest-pyblosxom-1.3.2 b/www-apps/pyblosxom/files/digest-pyblosxom-1.3.2
deleted file mode 100644
index 538f103c6ebf..000000000000
--- a/www-apps/pyblosxom/files/digest-pyblosxom-1.3.2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 b5304e6d70f043b2bf8366a09b28863d pyblosxom-1.3.2.tar.gz 94701
-RMD160 d85f1be077ae03c3bffc4c80d0eb1ae349305559 pyblosxom-1.3.2.tar.gz 94701
-SHA256 338cb25d8312dbaf0553385d21bb0f8fc22c180d1ae4e42b556a376eb7dec417 pyblosxom-1.3.2.tar.gz 94701
diff --git a/www-apps/pyblosxom/files/digest-pyblosxom-1.4.2 b/www-apps/pyblosxom/files/digest-pyblosxom-1.4.2
new file mode 100644
index 000000000000..e0bd0b382097
--- /dev/null
+++ b/www-apps/pyblosxom/files/digest-pyblosxom-1.4.2
@@ -0,0 +1,3 @@
+MD5 7e595aa92512002a8eac3bf8112a9c18 pyblosxom-1.4.2.tar.gz 107892
+RMD160 cdb6767c18dba0b802c0319770a68817a6e59d48 pyblosxom-1.4.2.tar.gz 107892
+SHA256 64bfbe91dbdfb1facac9eca85e682b1f603b9bde3894aeff689ce4f51c817843 pyblosxom-1.4.2.tar.gz 107892
diff --git a/www-apps/pyblosxom/files/gentoo-webapp.patch b/www-apps/pyblosxom/files/gentoo-webapp.patch
deleted file mode 100644
index 6630fb56848b..000000000000
--- a/www-apps/pyblosxom/files/gentoo-webapp.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -Naur pyblosxom-1.2.1.orig/setup.py pyblosxom-1.2.1/setup.py
---- pyblosxom-1.2.1.orig/setup.py 2005-07-31 13:06:25.000000000 +0200
-+++ pyblosxom-1.2.1/setup.py 2005-07-31 13:06:46.000000000 +0200
-@@ -64,12 +64,13 @@
-
- # we want to move the web script files as well, so we sneak them
- # in here.
-+# These are handled by the webapp class in Gentoo
-+# os.path.normpath("web/pyblosxom.cgi"),
-+# os.path.normpath("web/config.py")
- pydf.append( [os.path.join('share', PVER, 'web'),
-- [os.path.normpath("web/pyblosxom.cgi"),
-- os.path.normpath("web/pyblosxom.tac"),
-+ [os.path.normpath("web/pyblosxom.tac"),
- os.path.normpath("web/pyblosxom_wsgi.cgi"),
-- os.path.normpath("web/wsgi_app.py"),
-- os.path.normpath("web/config.py")]])
-+ os.path.normpath("web/wsgi_app.py")]])
-
- else:
- # we don't know what platform they have, so we print out
-diff -Naur pyblosxom-1.2.1.orig/web/config.py pyblosxom-1.2.1/web/config.py
diff --git a/www-apps/pyblosxom/files/pyblosxom-1.3.2-gentoo.patch b/www-apps/pyblosxom/files/pyblosxom-1.3.2-gentoo.patch
deleted file mode 100644
index 2fa248ec9a83..000000000000
--- a/www-apps/pyblosxom/files/pyblosxom-1.3.2-gentoo.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- ../pyblosxom-1.3.orig/setup.py 2006-02-02 20:49:21.000000000 +0100
-+++ setup.py 2006-02-02 20:52:50.000000000 +0100
-@@ -72,11 +72,12 @@
-
- # we want to move the web script files as well, so we sneak them
- # in here.
-+# These are handled by the webapp class in Gentoo
-+# os.path.normpath("web/pyblosxom.cgi"),
-+# os.path.normpath("web/config.py")
- pydf.append( [os.path.join('share', PVER, 'web'),
-- [os.path.normpath("web/pyblosxom.cgi"),
-- os.path.normpath("web/pyblosxom.tac"),
-- os.path.normpath("web/wsgi_app.py"),
-- os.path.normpath("web/config.py")]])
-+ [os.path.normpath("web/pyblosxom.tac"),
-+ os.path.normpath("web/wsgi_app.py")]])
-
- else:
- # we don't know what platform they have, so we print out
diff --git a/www-apps/pyblosxom/files/pyblosxom-1.4.2-gentoo.patch b/www-apps/pyblosxom/files/pyblosxom-1.4.2-gentoo.patch
new file mode 100644
index 000000000000..cc7d59f8a021
--- /dev/null
+++ b/www-apps/pyblosxom/files/pyblosxom-1.4.2-gentoo.patch
@@ -0,0 +1,13 @@
+--- setup.py.orig 2007-12-18 11:13:36.439046250 +0100
++++ setup.py 2007-12-18 11:14:05.216844750 +0100
+@@ -73,9 +73,7 @@
+ # we want to move the web script files as well, so we sneak them
+ # in here.
+ pydf.append( [os.path.join('share', PVER, 'web'),
+- [os.path.normpath("web/pyblosxom.cgi"),
+- os.path.normpath("web/pyblosxom.tac"),
+- os.path.normpath("web/config.py")]])
++ [os.path.normpath("web/pyblosxom.tac")]])
+
+ else:
+ # we don't know what platform they have, so we print out
diff --git a/www-apps/pyblosxom/pyblosxom-1.2.1.ebuild b/www-apps/pyblosxom/pyblosxom-1.2.1.ebuild
deleted file mode 100644
index 21fc252a70af..000000000000
--- a/www-apps/pyblosxom/pyblosxom-1.2.1.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/pyblosxom/pyblosxom-1.2.1.ebuild,v 1.1 2006/01/10 21:50:24 wrobel Exp $
-
-inherit eutils distutils webapp
-
-DESCRIPTION="PyBlosxom is a lightweight weblog system."
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-HOMEPAGE="http://pyblosxom.sourceforge.net/"
-
-LICENSE="MIT"
-KEYWORDS="~x86"
-
-IUSE=""
-
-DEPEND="virtual/python"
-
-src_unpack() {
-
- unpack ${A} && cd "${S}"
-
- epatch ${FILESDIR}/gentoo-webapp.patch
-
-}
-
-src_install() {
- webapp_src_preinst
-
- distutils_src_install
- dodoc README
-
- keepdir /usr/share/${P}/plugins
- keepdir ${MY_HTDOCSDIR}/data
- keepdir ${MY_HTDOCSDIR}/log
-
- mkdir -p ${D}${MY_CGIBINDIR}/pyblosxom
- cp web/{config.py,pyblosxom.cgi} ${D}${MY_CGIBINDIR}/pyblosxom/
-
- webapp_configfile ${MY_CGIBINDIR}/pyblosxom/config.py
-
- webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
- webapp_hook_script ${FILESDIR}/config-hook.sh
-
- webapp_src_install
-}
diff --git a/www-apps/pyblosxom/pyblosxom-1.3.2.ebuild b/www-apps/pyblosxom/pyblosxom-1.3.2.ebuild
deleted file mode 100644
index 2e960fdcd88b..000000000000
--- a/www-apps/pyblosxom/pyblosxom-1.3.2.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/pyblosxom/pyblosxom-1.3.2.ebuild,v 1.2 2007/05/16 07:30:08 opfer Exp $
-
-inherit eutils distutils webapp
-
-DESCRIPTION="PyBlosxom is a lightweight weblog system."
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-HOMEPAGE="http://pyblosxom.sourceforge.net/"
-
-LICENSE="MIT"
-KEYWORDS="~amd64 ~x86"
-
-IUSE=""
-
-DEPEND="virtual/python"
-
-src_unpack() {
-
- unpack ${A} && cd "${S}"
-
- epatch ${FILESDIR}/${P}-gentoo.patch || die "Patching failed!"
-
-}
-
-src_install() {
- webapp_src_preinst
-
- distutils_src_install
- dodoc README
-
- keepdir /usr/share/${P}/plugins
- keepdir ${MY_HTDOCSDIR}/data
- keepdir ${MY_HTDOCSDIR}/log
-
- mkdir -p ${D}${MY_CGIBINDIR}/pyblosxom
- cp web/{config.py,pyblosxom.cgi} ${D}${MY_CGIBINDIR}/pyblosxom/
-
- webapp_configfile ${MY_CGIBINDIR}/pyblosxom/config.py
-
- webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
- webapp_postupgrade_txt en ${FILESDIR}/postupgrade-en.txt
- webapp_hook_script ${FILESDIR}/config-hook.sh
-
- webapp_src_install
-}
diff --git a/www-apps/pyblosxom/pyblosxom-1.4.2.ebuild b/www-apps/pyblosxom/pyblosxom-1.4.2.ebuild
new file mode 100644
index 000000000000..3addb21a47de
--- /dev/null
+++ b/www-apps/pyblosxom/pyblosxom-1.4.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/pyblosxom/pyblosxom-1.4.2.ebuild,v 1.1 2007/12/18 10:27:55 wrobel Exp $
+
+inherit eutils distutils webapp
+
+DESCRIPTION="PyBlosxom is a lightweight weblog system."
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="http://pyblosxom.sourceforge.net/"
+
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86"
+
+# This installs python library files.
+SLOT=0
+WEBAPP_MANUAL_SLOT=yes
+
+IUSE=""
+
+DEPEND="virtual/python"
+
+src_unpack() {
+
+ unpack "${A}" && cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-gentoo.patch || die "Patching failed!"
+
+}
+
+src_install() {
+ webapp_src_preinst
+
+ distutils_src_install
+ dodoc README
+
+ keepdir /usr/share/${P}/plugins
+ keepdir "${MY_HTDOCSDIR}"/data
+ keepdir "${MY_HTDOCSDIR}"/log
+
+ mkdir -p "${D}${MY_CGIBINDIR}"/pyblosxom
+ cp web/{config.py,pyblosxom.cgi} "${D}${MY_CGIBINDIR}"/pyblosxom/
+
+ webapp_configfile "${MY_CGIBINDIR}"/pyblosxom/config.py
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt
+ webapp_hook_script "${FILESDIR}"/config-hook.sh
+
+ webapp_src_install
+}