From fa5ded6d130c632cf601594066d33a11297ec384 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 7 Feb 2020 21:27:53 +0100 Subject: www-apps/venus: Switch to PYTHON_MULTI_USEDEP API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- www-apps/venus/venus-20100911-r1.ebuild | 75 ------------------------------ www-apps/venus/venus-20100911-r2.ebuild | 79 -------------------------------- www-apps/venus/venus-20100911-r3.ebuild | 77 +++++++++++++++++++++++++++++++ www-apps/venus/venus-20100911-r4.ebuild | 81 +++++++++++++++++++++++++++++++++ 4 files changed, 158 insertions(+), 154 deletions(-) delete mode 100644 www-apps/venus/venus-20100911-r1.ebuild delete mode 100644 www-apps/venus/venus-20100911-r2.ebuild create mode 100644 www-apps/venus/venus-20100911-r3.ebuild create mode 100644 www-apps/venus/venus-20100911-r4.ebuild (limited to 'www-apps/venus') diff --git a/www-apps/venus/venus-20100911-r1.ebuild b/www-apps/venus/venus-20100911-r1.ebuild deleted file mode 100644 index 44d5059cd316..000000000000 --- a/www-apps/venus/venus-20100911-r1.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -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" -RESTRICT="!test? ( 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" -} diff --git a/www-apps/venus/venus-20100911-r2.ebuild b/www-apps/venus/venus-20100911-r2.ebuild deleted file mode 100644 index dd264089df00..000000000000 --- a/www-apps/venus/venus-20100911-r2.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -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" -RESTRICT="!test? ( 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 -} - -PATCHES=( - "${FILESDIR}"/venus-bsddb3.patch - "${FILESDIR}"/venus-xml-utf8.patch -) - -src_prepare() { - default_src_prepare - 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" -} diff --git a/www-apps/venus/venus-20100911-r3.ebuild b/www-apps/venus/venus-20100911-r3.ebuild new file mode 100644 index 000000000000..228801836103 --- /dev/null +++ b/www-apps/venus/venus-20100911-r3.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +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" +RESTRICT="!test? ( test )" +SLOT="0" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/bsddb3[${PYTHON_MULTI_USEDEP}] + dev-python/chardet[${PYTHON_MULTI_USEDEP}] + dev-python/httplib2[${PYTHON_MULTI_USEDEP}] + dev-python/utidylib[${PYTHON_MULTI_USEDEP}] + django? ( dev-python/django[${PYTHON_MULTI_USEDEP}] ) + genshi? ( dev-python/genshi[${PYTHON_MULTI_USEDEP}] ) + redland? ( dev-python/rdflib[redland,${PYTHON_MULTI_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" +} diff --git a/www-apps/venus/venus-20100911-r4.ebuild b/www-apps/venus/venus-20100911-r4.ebuild new file mode 100644 index 000000000000..cd6f9036e379 --- /dev/null +++ b/www-apps/venus/venus-20100911-r4.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +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" +RESTRICT="!test? ( test )" +SLOT="0" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/bsddb3[${PYTHON_MULTI_USEDEP}] + dev-python/chardet[${PYTHON_MULTI_USEDEP}] + dev-python/httplib2[${PYTHON_MULTI_USEDEP}] + dev-python/utidylib[${PYTHON_MULTI_USEDEP}] + django? ( dev-python/django[${PYTHON_MULTI_USEDEP}] ) + genshi? ( dev-python/genshi[${PYTHON_MULTI_USEDEP}] ) + redland? ( dev-python/rdflib[redland,${PYTHON_MULTI_USEDEP}] ) + ') + ${PYTHON_DEPS}" +DEPEND="${RDEPEND}" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +S="${WORKDIR}"/${PN} + +pkg_setup() { + python-single-r1_pkg_setup + webapp_pkg_setup +} + +PATCHES=( + "${FILESDIR}"/venus-bsddb3.patch + "${FILESDIR}"/venus-xml-utf8.patch +) + +src_prepare() { + default_src_prepare + 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" +} -- cgit v1.2.3-65-gdbad