From 3bba40048f899a04066c7108d68b2c8d7b4c0df8 Mon Sep 17 00:00:00 2001 From: Mikle Kolyada Date: Thu, 9 Apr 2020 11:08:11 +0300 Subject: [PATCH] www-apps/venus: remove last-rited pkg Closes: https://bugs.gentoo.org/271058 Closes: https://bugs.gentoo.org/706362 Signed-off-by: Mikle Kolyada --- www-apps/venus/Manifest | 1 - www-apps/venus/files/postinstall-en.txt | 10 --- www-apps/venus/files/venus-bsddb3.patch | 39 ----------- www-apps/venus/files/venus-xml-utf8.patch | 80 ---------------------- www-apps/venus/metadata.xml | 13 ---- www-apps/venus/venus-20100911-r3.ebuild | 77 --------------------- www-apps/venus/venus-20100911-r4.ebuild | 81 ----------------------- 7 files changed, 301 deletions(-) delete mode 100644 www-apps/venus/Manifest delete mode 100644 www-apps/venus/files/postinstall-en.txt delete mode 100644 www-apps/venus/files/venus-bsddb3.patch delete mode 100644 www-apps/venus/files/venus-xml-utf8.patch delete mode 100644 www-apps/venus/metadata.xml delete mode 100644 www-apps/venus/venus-20100911-r3.ebuild delete mode 100644 www-apps/venus/venus-20100911-r4.ebuild diff --git a/www-apps/venus/Manifest b/www-apps/venus/Manifest deleted file mode 100644 index 9708804a84db..000000000000 --- a/www-apps/venus/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST venus-20100911.tar.bz2 349639 BLAKE2B 386b6b7381b9dbf9515fdad03179a844dcf884a928d291b8a7b3a1897b4f67bec9418e2fec5373f640b5eab7c028671e28ff92e08461f779869b81c0388fd54b SHA512 516a503e1e43e4bf694f007382603d6415bf508f79feb8db55dba533ca9b8b367f922ede84b2ef4ec74684f81ad17919ba754abfe5e79aac51da732ceb8c2897 diff --git a/www-apps/venus/files/postinstall-en.txt b/www-apps/venus/files/postinstall-en.txt deleted file mode 100644 index 37427c4a8d5a..000000000000 --- a/www-apps/venus/files/postinstall-en.txt +++ /dev/null @@ -1,10 +0,0 @@ -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/files/venus-bsddb3.patch b/www-apps/venus/files/venus-bsddb3.patch deleted file mode 100644 index b57499c23698..000000000000 --- a/www-apps/venus/files/venus-bsddb3.patch +++ /dev/null @@ -1,39 +0,0 @@ -Use bsddb3 instead of deprecated python[berkdb]. Patch by Arfrever. - ---- a/planet/idindex.py -+++ b/planet/idindex.py -@@ -13,8 +13,8 @@ - cache = config.cache_directory() - index=os.path.join(cache,'index') - if not os.path.exists(index): return None -- import dbhash -- return dbhash.open(filename(index, 'id'),'w') -+ import bsddb3 -+ return bsddb3.hashopen(filename(index, 'id'),'w') - except Exception, e: - if e.__class__.__name__ == 'DBError': e = e.args[-1] - from planet import logger as log -@@ -35,8 +35,8 @@ - cache = config.cache_directory() - index=os.path.join(cache,'index') - if not os.path.exists(index): os.makedirs(index) -- import dbhash -- index = dbhash.open(filename(index, 'id'),'c') -+ import bsddb3 -+ index = bsddb3.hashopen(filename(index, 'id'),'c') - - try: - import libxml2 ---- a/tests/test_idindex.py -+++ b/tests/test_idindex.py -@@ -67,8 +67,8 @@ - self.assertEqual(12,len(doc.getElementsByTagName('planet:name'))) - - try: -- module = 'dbhash' -+ import bsddb3 - except ImportError: -- planet.logger.warn("dbhash is not available => can't test id index") -+ planet.logger.warn("bsddb3 is not available => can't test id index") - for method in dir(idIndexTest): - if method.startswith('test_'): delattr(idIndexTest,method) diff --git a/www-apps/venus/files/venus-xml-utf8.patch b/www-apps/venus/files/venus-xml-utf8.patch deleted file mode 100644 index f7c29782ff46..000000000000 --- a/www-apps/venus/files/venus-xml-utf8.patch +++ /dev/null @@ -1,80 +0,0 @@ -diff -Nuar --exclude '*~' venus.orig/themes/common/atom.xml.xslt venus/themes/common/atom.xml.xslt ---- venus.orig/themes/common/atom.xml.xslt 2010-09-11 06:41:53.000000000 -0700 -+++ venus/themes/common/atom.xml.xslt 2017-03-17 17:24:51.668976850 -0700 -@@ -1,3 +1,4 @@ -+ - - -+ - - - -diff -Nuar --exclude '*~' venus.orig/themes/common/foafroll.xml.xslt venus/themes/common/foafroll.xml.xslt ---- venus.orig/themes/common/foafroll.xml.xslt 2010-09-11 06:41:53.000000000 -0700 -+++ venus/themes/common/foafroll.xml.xslt 2017-03-17 17:25:01.477165384 -0700 -@@ -1,3 +1,4 @@ -+ - - -- -+ - - - -diff -Nuar --exclude '*~' venus.orig/themes/common/opml.xml.xslt venus/themes/common/opml.xml.xslt ---- venus.orig/themes/common/opml.xml.xslt 2010-09-11 06:41:53.000000000 -0700 -+++ venus/themes/common/opml.xml.xslt 2017-03-17 17:26:20.930692531 -0700 -@@ -1,9 +1,10 @@ -+ - - -- -+ - - - -diff -Nuar --exclude '*~' venus.orig/themes/common/rss10.xml.tmpl venus/themes/common/rss10.xml.tmpl ---- venus.orig/themes/common/rss10.xml.tmpl 2010-09-11 06:41:53.000000000 -0700 -+++ venus/themes/common/rss10.xml.tmpl 2017-03-17 17:26:18.558646942 -0700 -@@ -1,4 +1,4 @@ -- -+ - -+ - - - -diff -Nuar --exclude '*~' venus.orig/themes/common/validate.html.xslt venus/themes/common/validate.html.xslt ---- venus.orig/themes/common/validate.html.xslt 2010-09-11 06:41:53.000000000 -0700 -+++ venus/themes/common/validate.html.xslt 2017-03-17 17:26:58.275410251 -0700 -@@ -1,8 +1,10 @@ -+ - -+ - - - diff --git a/www-apps/venus/metadata.xml b/www-apps/venus/metadata.xml deleted file mode 100644 index 1f74e9175222..000000000000 --- a/www-apps/venus/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - web-apps@gentoo.org - Gentoo Webapps - - - Support for django template style to config files - Support for genshi style to config files - Enable support for Redland RDF - - diff --git a/www-apps/venus/venus-20100911-r3.ebuild b/www-apps/venus/venus-20100911-r3.ebuild deleted file mode 100644 index 228801836103..000000000000 --- a/www-apps/venus/venus-20100911-r3.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# 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 deleted file mode 100644 index cd6f9036e379..000000000000 --- a/www-apps/venus/venus-20100911-r4.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# 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" -} -- 2.26.2