diff options
author | 2017-02-21 21:25:34 +0100 | |
---|---|---|
committer | 2017-02-21 21:32:02 +0100 | |
commit | f2f3dc2be23b20a233d56ec9e0cde96c1dd5a0b5 (patch) | |
tree | 6f96af50d000ebf3b5839be5eb7e9142b48cdd4e /www-apps/venus/venus-20100911-r1.ebuild | |
parent | sys-apps/opentmpfiles: 0.1.1 version bump (diff) | |
download | gentoo-f2f3dc2be23b20a233d56ec9e0cde96c1dd5a0b5.tar.gz gentoo-f2f3dc2be23b20a233d56ec9e0cde96c1dd5a0b5.tar.bz2 gentoo-f2f3dc2be23b20a233d56ec9e0cde96c1dd5a0b5.zip |
www-apps/venus: python-single-r1, EAPI=6, use bsddb3 for berkdb
Diffstat (limited to 'www-apps/venus/venus-20100911-r1.ebuild')
-rw-r--r-- | www-apps/venus/venus-20100911-r1.ebuild | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/www-apps/venus/venus-20100911-r1.ebuild b/www-apps/venus/venus-20100911-r1.ebuild new file mode 100644 index 000000000000..a3841462f35e --- /dev/null +++ b/www-apps/venus/venus-20100911-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit webapp python-single-r1 + +WEBAPP_MANUAL_SLOT="yes" + +DESCRIPTION="A feed aggregator application" +HOMEPAGE="http://intertwingly.net/code/venus/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="PSF-2.2" +KEYWORDS="amd64 x86" +IUSE="django genshi redland test" +SLOT="0" + +RDEPEND=" + dev-python/bsddb3[${PYTHON_USEDEP}] + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/httplib2[${PYTHON_USEDEP}] + dev-python/utidylib[${PYTHON_USEDEP}] + django? ( dev-python/django[${PYTHON_USEDEP}] ) + genshi? ( dev-python/genshi[${PYTHON_USEDEP}] ) + redland? ( dev-python/rdflib[redland,${PYTHON_USEDEP}] ) + ${PYTHON_DEPS}" +DEPEND="${RDEPEND}" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +S="${WORKDIR}"/${PN} + +pkg_setup() { + python-single-r1_pkg_setup + webapp_pkg_setup +} + +src_prepare() { + eapply "${FILESDIR}"/venus-bsddb3.patch + eapply_user + python_fix_shebang . +} + +src_test() { + "${PYTHON}" runtests.py || die +} + +src_install() { + webapp_src_preinst + + dodoc AUTHORS README TODO + dodoc -r docs + + python_moduleinto venus + python_domodule *.py filters planet + + 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() { + webapp_pkg_postinst + elog "Installation instructions can be found at /usr/share/doc/${PF}/html/ + or http://intertwingly.net/code/venus/docs/index.html" +} |