commit: e07431362952ffc4b458b757ca72375c42b47262 Author: Hans de Graaff <hans <AT> degraaff <DOT> org> AuthorDate: Sat Oct 3 06:35:41 2015 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sat Oct 3 06:35:41 2015 +0000 URL: https://gitweb.gentoo.org/dev/graaff.git/commit/?id=e0743136
Moved to gentoo tree. dev-util/reviewboard/ChangeLog | 13 --- dev-util/reviewboard/Manifest | 1 - .../files/reviewboard-1.7.28-docs.patch | 53 ---------- dev-util/reviewboard/metadata.xml | 12 --- dev-util/reviewboard/reviewboard-1.7.28.ebuild | 116 --------------------- 5 files changed, 195 deletions(-) diff --git a/dev-util/reviewboard/ChangeLog b/dev-util/reviewboard/ChangeLog deleted file mode 100644 index 8846bb6..0000000 --- a/dev-util/reviewboard/ChangeLog +++ /dev/null @@ -1,13 +0,0 @@ -# ChangeLog for dev-util/reviewboard -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - - 16 Sep 2014; Hans de Graaff <gra...@gentoo.org> reviewboard-1.7.28.ebuild: - Fix dateutil dependency to a version that works. - -*reviewboard-1.7.28 (14 Sep 2014) - - 14 Sep 2014; Hans de Graaff <gra...@gentoo.org> +reviewboard-1.7.28.ebuild, - +files/reviewboard-1.7.28-docs.patch, +metadata.xml: - Version bump for latest 1.7.x reviewboard. Currently untested. - diff --git a/dev-util/reviewboard/Manifest b/dev-util/reviewboard/Manifest deleted file mode 100644 index 24ba9ec..0000000 --- a/dev-util/reviewboard/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST ReviewBoard-1.7.28.tar.gz 2957387 SHA256 69a976e69c1e805b23aa78f43fc1954599b7513dff1d1cfd0bafa6112a946931 SHA512 9e97b56b68da6c06f713d98c70dda321ea3fdf6f26986b4272fbb392c1c633f1ce44170bb515e8b685813b69a0ae8ada9f392b5e776793222dd25c3b7d4fa704 WHIRLPOOL 51a731117b9a84b9f8e1cd785511da516bf4d7216f7f08a8ba83d200af94a235d994d53c630b26f430d28f1ce4a7ca8a47d83b87c241bc4b1f5469f7668cc03d diff --git a/dev-util/reviewboard/files/reviewboard-1.7.28-docs.patch b/dev-util/reviewboard/files/reviewboard-1.7.28-docs.patch deleted file mode 100644 index 6ecc9d7..0000000 --- a/dev-util/reviewboard/files/reviewboard-1.7.28-docs.patch +++ /dev/null @@ -1,53 +0,0 @@ -Avoid un-needed downloading od object.infv files, fix conf.py for docs/manual -diff -ur ReviewBoard-1.7.7.1.orig/docs/codebase/conf.py ReviewBoard-1.7.7.1/docs/codebase/conf.py ---- docs/codebase/conf.py 2013-04-22 04:40:29.000000000 +0800 -+++ docs/codebase/conf.py 2013-06-16 15:35:59.639256650 +0800 -@@ -197,7 +197,3 @@ - - # If false, no module index is generated. - #latex_use_modindex = True -- -- --# Example configuration for intersphinx: refer to the Python standard library. --intersphinx_mapping = {'http://docs.python.org/dev': None} -diff -ur ReviewBoard-1.7.7.1.orig/docs/manual/conf.py ReviewBoard-1.7.7.1/docs/manual/conf.py ---- docs/manual/conf.py 2013-04-22 04:40:29.000000000 +0800 -+++ docs/manual/conf.py 2013-06-16 15:36:30.592256658 +0800 -@@ -30,9 +30,14 @@ - - import reviewboard - from reviewboard import settings -+from reviewboard.settings import EXTENSIONS_STATIC_ROOT, ROOT_URLCONF - from django.core.management import setup_environ -+from django import conf -+from settings_local import DATABASES -+conf.EXTENSIONS_STATIC_ROOT=EXTENSIONS_STATIC_ROOT -+conf.settings.DATABASES=DATABASES - setup_environ(settings) -- -+conf.settings.ROOT_URLCONF=ROOT_URLCONF - - # If your extensions are in another directory, add it here. If the directory - # is relative to the documentation root, use os.path.abspath to make it -@@ -223,7 +223,4 @@ - latex_show_pagerefs = True - - --# Example configuration for intersphinx: refer to the Python standard library. --intersphinx_mapping = {'http://docs.python.org/dev': None} -- - todo_include_todos = True -diff -ur -ReviewBoard-1.7.7.1.orig/docs/releasenotes/conf.py -ReviewBoard-1.7.7.1/docs/releasenotes/conf.py ---- docs/releasenotes/conf.py 2013-04-22 04:40:29.000000000 +0800 -+++ docs/releasenotes/conf.py 2013-06-16 15:36:53.119256665 +0800 -@@ -202,7 +202,3 @@ - - # If false, no module index is generated. - #latex_use_modindex = True -- -- --# Example configuration for intersphinx: refer to the Python standard library. --intersphinx_mapping = {'https://www.reviewboard.org/docs/manual/dev': None} - diff --git a/dev-util/reviewboard/metadata.xml b/dev-util/reviewboard/metadata.xml deleted file mode 100644 index 4587983..0000000 --- a/dev-util/reviewboard/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer> - <email>gra...@gentoo.org></email> - </maintainer> - <use> - <flag name='codebase'>Enables a build of the docs/codebase folder</flag> - <flag name='manual'>Enables a build of the docs/manual folder</flag> - <flag name='rnotes'>Enables a doc build of the release notes</flag> - </use> -</pkgmetadata> diff --git a/dev-util/reviewboard/reviewboard-1.7.28.ebuild b/dev-util/reviewboard/reviewboard-1.7.28.ebuild deleted file mode 100644 index 4ef2bef..0000000 --- a/dev-util/reviewboard/reviewboard-1.7.28.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/reviewboard/Attic/reviewboard-1.7.12.ebuild,v 1.5 2014/08/22 10:26:40 idella4 dead $ - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 - -MY_PN="ReviewBoard" -DESCRIPTION="A web-based code review tool that offers developers an easy way to handle code reviews" -HOMEPAGE="http://www.reviewboard.org/" -SRC_URI="http://downloads.reviewboard.org/releases/${MY_PN}/1.7/${MY_PN}-${PV}.tar.gz" -KEYWORDS="~amd64 ~x86" -IUSE="codebase doc manual rnotes test" - -LICENSE="MIT" -SLOT="0" -S=${WORKDIR}/${MY_PN}-${PV} - -RDEPEND=">=dev-python/django-1.4.14[${PYTHON_USEDEP},sqlite] - <dev-python/django-1.5[${PYTHON_USEDEP},sqlite] - >=dev-python/django-evolution-0.6.9[${PYTHON_USEDEP}] - <dev-python/django-evolution-0.7[${PYTHON_USEDEP}] - >=dev-python/django-pipeline-1.2.24[${PYTHON_USEDEP}] - >=dev-python/Djblets-0.7.31[${PYTHON_USEDEP}] - <dev-python/Djblets-0.8[${PYTHON_USEDEP}] - >=dev-python/pygments-1.5[${PYTHON_USEDEP}] - dev-python/docutils[${PYTHON_USEDEP}] - >=dev-python/markdown-2.2.1[${PYTHON_USEDEP}] - >=dev-python/paramiko-1.9.0[${PYTHON_USEDEP}] - >=dev-python/mimeparse-0.1.3[${PYTHON_USEDEP}] - dev-python/python-dateutil:python-2 - dev-python/python-memcached[${PYTHON_USEDEP}] - >=dev-python/pytz-2012h[${PYTHON_USEDEP}] - dev-python/recaptcha-client[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[${PYTHON_USEDEP}] ) - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" - -REQUIRED_USE="doc? ( || ( codebase manual rnotes ) )" -# Tests mostly access the inet and when run mostly fail -RESTRICT=test - -PATCHES=( "${FILESDIR}"/${P}-docs.patch ) - -python_prepare_all() { - # Running uglify is a problem right now, so skip this step. Rather - # have newer versions that compacted javascript. - sed -e "s/'pipeline.compressors.uglifyjs.UglifyJSCompressor'/None/" -i reviewboard/settings.py || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - # See http://code.google.com/p/reviewboard/issues/ #3009 - # until build of manual can find and use ROOT_URLCONF, only possible build path for manual - # requires sacrificing the resources section, all of which call on ROOT_URLCONF - local msg="Generating docs for" - if use doc; then - if use manual; then - rm -rf docs/manual/webapi//2.0/resources/ || die - einfo;einfo "$msg manual" - DJANGO_SETTINGS_MODULE="django.conf" emake -C docs/manual html - fi - if use codebase; then - pushd docs/codebase &> /dev/null - ln -sf ../../contrib/internal/conf/settings_local.py . - popd &> /dev/null - einfo;einfo "$msg codebase" - emake -C docs/codebase html - fi - - if use rnotes; then - einfo;einfo "$msg release notes" - emake -C docs/releasenotes html - fi - fi -} - -python_test() { - pushd ${PN} > /dev/null - ln -sf contrib/internal/conf/settings_local.py . - "${PYTHON}" manage.py test || die -} - -python_install_all() { - if use doc; then - if use manual; then - insinto /usr/share/doc/${PF}/manual - doins -r docs/manual/_build/html/ - fi - if use codebase; then - insinto /usr/share/doc/${PF}/codebase - doins -r docs/codebase/_build/html/ - fi - if use rnotes; then - insinto /usr/share/doc/${PF}/release_notes - doins -r docs/releasenotes/_build/html/ - fi - fi - distutils-r1_python_install_all -} - -pkg_postinst() { - elog "You must install any VCS tool you wish ${PN} to support." - elog "dev-util/cvs, dev-vcs/git, dev-vcs/mercurial or dev-util/subversion." - elog - elog "Enable the mysql, postgres or sqlite USEflag on dev-python/django" - elog "to use the corresponding database backend." - elog - elog "For speed and responsiveness, consider installing net-misc/memcached" - elog "and dev-python/python-memcached" -}