summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bauman <bman@gentoo.org>2020-07-28 14:45:29 -0400
committerAaron Bauman <bman@gentoo.org>2020-07-28 14:45:29 -0400
commit3831172264494f42d621e760593f4d066900d922 (patch)
tree3a31692fd34affb4b8b80d14ac9029f7162213eb /www-apps
parentupdates/2Q2018: drop slotmove for netmail/getmail (diff)
downloadgentoo-3831172264494f42d621e760593f4d066900d922.tar.gz
gentoo-3831172264494f42d621e760593f4d066900d922.tar.bz2
gentoo-3831172264494f42d621e760593f4d066900d922.zip
*/*: Drop more Py2 last-rited pkgs
Bug: https://bugs.gentoo.org/715966 Closes: https://bugs.gentoo.org/714628 Closes: https://bugs.gentoo.org/606680 Closes: https://bugs.gentoo.org/686238 Closes: https://bugs.gentoo.org/710214 Closes: https://bugs.gentoo.org/710028 Closes: https://bugs.gentoo.org/710032 Closes: https://bugs.gentoo.org/656934 Closes: https://bugs.gentoo.org/592718 Closes: https://bugs.gentoo.org/446122 Closes: https://bugs.gentoo.org/547210 Closes: https://bugs.gentoo.org/359785 Closes: https://bugs.gentoo.org/571396 Closes: https://bugs.gentoo.org/600754 Closes: https://bugs.gentoo.org/677830 Closes: https://bugs.gentoo.org/710716 Closes: https://bugs.gentoo.org/651940 Closes: https://bugs.gentoo.org/695132 Closes: https://bugs.gentoo.org/708978 Closes: https://bugs.gentoo.org/710058 Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/viewvc/Manifest1
-rw-r--r--www-apps/viewvc/metadata.xml13
-rw-r--r--www-apps/viewvc/viewvc-1.1.26-r1.ebuild115
3 files changed, 0 insertions, 129 deletions
diff --git a/www-apps/viewvc/Manifest b/www-apps/viewvc/Manifest
deleted file mode 100644
index 2e9009cd2e59..000000000000
--- a/www-apps/viewvc/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST viewvc-1.1.26.tar.gz 616103 BLAKE2B e622dbf247641ddcdd68d54a8e10168d4b7506c2cb53f6d2e30b9bac36207520cde57d81875e1e0106287da9b4bf312abc2c69b15d206e557cf93a2b26cae446 SHA512 af70d4344fe92f942debb407b6fad909e250ba2656499f5229e1c2f018dfbd783d0cebd28c49a429bd7b155bb6db02cead602384f91b99b7ced6aa365e32bb8e
diff --git a/www-apps/viewvc/metadata.xml b/www-apps/viewvc/metadata.xml
deleted file mode 100644
index e3f695364293..000000000000
--- a/www-apps/viewvc/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>web-apps@gentoo.org</email>
- <name>Gentoo Webapps</name>
- </maintainer>
- <use>
- <flag name="cvsgraph">Add <pkg>dev-vcs/cvsgraph</pkg> support to show graphical views of revisions and branches</flag>
- <flag name="mod_wsgi">Add <pkg>www-apache/mod_wsgi</pkg> support</flag>
- <flag name="pygments">Add <pkg>dev-python/pygments</pkg> support for syntax highlighting</flag>
- </use>
-</pkgmetadata>
diff --git a/www-apps/viewvc/viewvc-1.1.26-r1.ebuild b/www-apps/viewvc/viewvc-1.1.26-r1.ebuild
deleted file mode 100644
index fa7bfd6b69c2..000000000000
--- a/www-apps/viewvc/viewvc-1.1.26-r1.ebuild
+++ /dev/null
@@ -1,115 +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 eutils python-single-r1 webapp
-
-WEBAPP_MANUAL_SLOT="yes"
-
-DESCRIPTION="ViewVC, a web interface to CVS and Subversion"
-HOMEPAGE="http://viewvc.org/"
-SRC_URI="http://viewvc.org/downloads/${P}.tar.gz"
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE="cvs cvsgraph mod_wsgi mysql pygments +subversion"
-
-DEPEND=""
-RDEPEND="${PYTHON_DEPS}
- cvs? ( dev-vcs/rcs )
-
- mod_wsgi? ( www-apache/mod_wsgi[${PYTHON_SINGLE_USEDEP}] )
- !mod_wsgi? ( virtual/httpd-cgi )
-
- cvsgraph? ( >=dev-vcs/cvsgraph-1.5.0 )
-
- $(python_gen_cond_dep '
- subversion? ( >=dev-vcs/subversion-1.3.1[python,${PYTHON_MULTI_USEDEP}] )
-
- mysql? ( >=dev-python/mysql-python-0.9.0[${PYTHON_MULTI_USEDEP}] )
- pygments? (
- dev-python/pygments[${PYTHON_MULTI_USEDEP}]
- app-misc/mime-types
- )
- ')
-"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
- || ( cvs subversion )"
-
-pkg_setup() {
- python-single-r1_pkg_setup
- webapp_pkg_setup
-}
-
-src_prepare() {
- eapply_user
-
- find bin/ -type f -print0 | xargs -0 sed -i \
- -e "s|\(^LIBRARY_DIR\)\(.*\$\)|\1 = \"$(python_get_sitedir)/${PN}\"|g" \
- -e "s|\(^CONF_PATHNAME\)\(.*\$\)|\1 = \"../conf/viewvc.conf\"|g" || die
-
- sed -i -e "s|\(self\.options\.template_dir\)\(.*\$\)|\1 = \"${MY_APPDIR}/templates\"|" \
- lib/config.py || die
-
- sed -i -e "s|^template_dir.*|#&|" conf/viewvc.conf.dist || die
- sed -i -e "s|^#mime_types_files =.*|mime_types_files = /etc/mime.types|" conf/viewvc.conf.dist || die
- mv conf/viewvc.conf{.dist,} || die
- mv conf/cvsgraph.conf{.dist,} || die
-
- python_fix_shebang .
-}
-
-src_install() {
- webapp_src_preinst
-
- newbin bin/standalone.py viewvc-standalone-server
-
- dodoc CHANGES COMMITTERS INSTALL README
-
- python_moduleinto viewvc
- python_domodule lib/.
-
- insinto "${MY_APPDIR}"
- doins -r templates/
- doins -r templates-contrib/
-
- if use mysql; then
- exeinto "${MY_HOSTROOTDIR}/bin"
- doexe bin/{*dbadmin,make-database,loginfo-handler}
- fi
-
- insinto "${MY_HOSTROOTDIR}/conf"
- doins conf/{viewvc,cvsgraph}.conf
-
- exeinto "${MY_CGIBINDIR}"
- doexe bin/cgi/viewvc.cgi
- if use mysql; then
- doexe bin/cgi/query.cgi
- fi
-
- exeinto "${MY_CGIBINDIR}"
- if use mod_wsgi; then
- doexe bin/wsgi/viewvc.wsgi
- if use mysql; then
- doexe bin/wsgi/query.wsgi
- fi
- else
- doexe bin/wsgi/viewvc.fcgi
- if use mysql; then
- doexe bin/wsgi/query.fcgi
- fi
- fi
-
- webapp_configfile "${MY_HOSTROOTDIR}/conf/"{viewvc,cvsgraph}.conf
-
- webapp_src_install
-}
-
-pkg_postinst() {
- webapp_pkg_postinst
- elog "Now read INSTALL in /usr/share/doc/${PF} to configure ${PN}"
-}