summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2010-09-12 19:44:30 +0000
committerTheo Chatzimichos <tampakrap@gentoo.org>2010-09-12 19:44:30 +0000
commit3c57f4a59b4955986aff591d995749d7f0202548 (patch)
tree32c46cc88482319f95cd19ee5fd4c3ba40beca36 /www-apps
parentAdd fix from upstream for building on sparc #336939 by Raúl Porcel. (diff)
downloadhistorical-3c57f4a59b4955986aff591d995749d7f0202548.tar.gz
historical-3c57f4a59b4955986aff591d995749d7f0202548.tar.bz2
historical-3c57f4a59b4955986aff591d995749d7f0202548.zip
Initial commit, special thanks to Arfrever, djc and darkside for their help
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/venus/ChangeLog11
-rw-r--r--www-apps/venus/Manifest5
-rw-r--r--www-apps/venus/files/postinstall-en.txt10
-rw-r--r--www-apps/venus/metadata.xml12
-rw-r--r--www-apps/venus/venus-20100911.ebuild79
5 files changed, 117 insertions, 0 deletions
diff --git a/www-apps/venus/ChangeLog b/www-apps/venus/ChangeLog
new file mode 100644
index 000000000000..dad66e14a7dc
--- /dev/null
+++ b/www-apps/venus/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for www-apps/venus
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/venus/ChangeLog,v 1.1 2010/09/12 19:44:30 tampakrap Exp $
+
+*venus-20100911 (12 Sep 2010)
+
+ 12 Sep 2010; Theo Chatzimichos <tampakrap@gentoo.org>
+ +venus-20100911.ebuild, +files/postinstall-en.txt, +metadata.xml:
+ Initial commit, special thanks to Arfrever, djc and darkside for their
+ help
+
diff --git a/www-apps/venus/Manifest b/www-apps/venus/Manifest
new file mode 100644
index 000000000000..6aa11ce62f67
--- /dev/null
+++ b/www-apps/venus/Manifest
@@ -0,0 +1,5 @@
+AUX postinstall-en.txt 192 RMD160 4e558117231a62e86be21d930b15670ea2104256 SHA1 463d6a0fef83d4414ad3aaeaf6955f4aa9ee9444 SHA256 f95f32190fbae2a42332277007c7b4e70da89b3cb861a1cc798b11787776adfe
+DIST venus-20100911.tar.bz2 349639 RMD160 b5c695b821b46b639680dfe4b8026009f4640ba7 SHA1 6f24091ce48d89cbc9b1d172807c600ee3462839 SHA256 72e19495518ade6641a3c50346374b4868b232d58a32fa18be387ae4a151dc03
+EBUILD venus-20100911.ebuild 1658 RMD160 dae1ebdd52c1a6c3d486a2a6810a07b6e8a69f3a SHA1 4d54260cc88db47e8d3fe51850e1d17e20b2ce93 SHA256 3039043d7697bcfe83356d54f10a22ede86d448c542c5ad5255d176ecee3c424
+MISC ChangeLog 440 RMD160 75e400076f420adc123853ded843e61ec70bd5c5 SHA1 ba3df8d0184d6ae618c7322d47332e47a4324e69 SHA256 dc3765cf955eadfd6d14039f073e8f22467209f028ea8edca74d7f10f02a6519
+MISC metadata.xml 412 RMD160 603ceb8d0c78c1913b683ce59ec63a1c1947040c SHA1 06d8324068106b2146656502a571a71f3a99e31b SHA256 3a3f4045444952cbc6dedfdc94a072f6e13861e3fded6d2cff99e5038b3cee63
diff --git a/www-apps/venus/files/postinstall-en.txt b/www-apps/venus/files/postinstall-en.txt
new file mode 100644
index 000000000000..37427c4a8d5a
--- /dev/null
+++ b/www-apps/venus/files/postinstall-en.txt
@@ -0,0 +1,10 @@
+INSTALLATION
+
+Installation instructions can be found at:
+
+http://intertwingly.net/code/venus/docs/
+/usr/share/doc/\${PF}/html
+
+Example configuration files can be found at:
+
+${VHOST_ROOT}/conf
diff --git a/www-apps/venus/metadata.xml b/www-apps/venus/metadata.xml
new file mode 100644
index 000000000000..516f8feb67c6
--- /dev/null
+++ b/www-apps/venus/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>planet</herd>
+ <herd>web-apps</herd>
+ <use>
+ <flag name="django">Support for django template style to config files</flag>
+ <flag name="genshi">Support for genshi style to config files</flag>
+ <flag name="redland">Enable support for Redland RDF</flag>
+ </use>
+</pkgmetadata>
+
diff --git a/www-apps/venus/venus-20100911.ebuild b/www-apps/venus/venus-20100911.ebuild
new file mode 100644
index 000000000000..9dba578d2a99
--- /dev/null
+++ b/www-apps/venus/venus-20100911.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/venus/venus-20100911.ebuild,v 1.1 2010/09/12 19:44:30 tampakrap Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2:2.4"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit webapp python
+
+WEBAPP_MANUAL_SLOT="yes"
+
+DESCRIPTION="A feed aggregator application"
+HOMEPAGE="http://intertwingly.net/code/venus/"
+SRC_URI="http://dev.gentoo.org/~tampakrap/${P}.tar.bz2"
+
+LICENSE="PSF-2.2"
+KEYWORDS="~amd64 ~x86"
+IUSE="django genshi redland test"
+SLOT="0"
+
+DEPEND="
+ test? ( =dev-lang/python-2*[berkdb] )
+ "
+RDEPEND="django? ( dev-python/django )
+ genshi? ( dev-python/genshi )
+ redland? ( dev-python/rdflib[redland] )
+ dev-python/chardet
+ dev-python/httplib2
+ dev-python/utidylib
+"
+RESTRICT_PYTHON_ABIS="3.*"
+
+S="${WORKDIR}"/${PN}
+
+src_prepare() {
+ python_convert_shebangs -r 2 .
+}
+
+src_test() {
+ testing() {
+ PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" runtests.py
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc AUTHORS README TODO
+ dohtml -r docs/*
+
+ installation() {
+ insinto "$(python_get_sitedir)/${PN}"
+ doins -r *py {filters,planet}
+ }
+ python_execute_function installation
+
+ insinto "${MY_APPDIR}"
+ doins -r themes
+
+ insinto "${MY_HOSTROOTDIR}/conf"
+ doins -r examples
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+
+ webapp_src_install
+}
+
+pkg_postinst() {
+ python_mod_optimize venus
+ webapp_pkg_postinst
+ elog "Installation instructions can be found at /usr/share/doc/${PF}/html/
+ or http://intertwingly.net/code/venus/docs/index.html"
+}
+
+pkg_postrm() {
+ python_mod_cleanup venus
+}