summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <hans@degraaff.org>2021-03-01 06:30:45 +0100
committerHans de Graaff <hans@degraaff.org>2021-03-01 06:42:25 +0100
commit3e26a63ca448403bca788cb84883eaf9e0dd3af0 (patch)
treec77bfcf8efce717f09bf5698321acdadf73b71da /dev-util
parentdev-ruby/rubocop-performance: add 1.10.0 (diff)
downloadgraaff-3e26a63ca448403bca788cb84883eaf9e0dd3af0.tar.gz
graaff-3e26a63ca448403bca788cb84883eaf9e0dd3af0.tar.bz2
graaff-3e26a63ca448403bca788cb84883eaf9e0dd3af0.zip
python 2.7 only and hard to package new versions
Signed-off-by: Hans de Graaff <hans@degraaff.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/reviewboard/Manifest2
-rw-r--r--dev-util/reviewboard/metadata.xml13
-rw-r--r--dev-util/reviewboard/reviewboard-3.0.17.ebuild135
-rw-r--r--dev-util/reviewboard/reviewboard-3.0.18.ebuild136
4 files changed, 0 insertions, 286 deletions
diff --git a/dev-util/reviewboard/Manifest b/dev-util/reviewboard/Manifest
deleted file mode 100644
index 2986b837..00000000
--- a/dev-util/reviewboard/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST ReviewBoard-3.0.17.tar.gz 21295772 BLAKE2B 6bfa6f065b3dbdf53cadd7d7dbdab1ebd017503c69d8987626f40222927b02bd2192fca3beb2f976572343e01cc5f56b1e9c94c865d9c07b0679121b5cf8a227 SHA512 55ba77c4e65797033689c94c6efb5715345db405ad89b4266629fb5499a5255ab1f5e58633fbbdf4e8a67b0a94f8a5a3d75316a7ecdc58ff14546ca1c493cf3a
-DIST ReviewBoard-3.0.18.tar.gz 21325752 BLAKE2B 8f8f917e69d9a34322a85ae0fdc2f256047e0527248f1057d814f504a1fdcbb09f3244eed922012aebd52a7631d7358f91ef1ff2f490ed0de8a4f5557bf27e83 SHA512 119c4ebc8196f215df6370c0f00e07c024d010916bb55a1252412b3ffe6aa9cbbb256765e7d708d052df60f7ad73ae09f41d9b67e7651769240c1e62783213fb
diff --git a/dev-util/reviewboard/metadata.xml b/dev-util/reviewboard/metadata.xml
deleted file mode 100644
index 78c20cd7..00000000
--- a/dev-util/reviewboard/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="person">
- <email>graaff@gentoo.org</email>
- <name>Hans de Graaff</name>
- </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-3.0.17.ebuild b/dev-util/reviewboard/reviewboard-3.0.17.ebuild
deleted file mode 100644
index 1d60b9d9..00000000
--- a/dev-util/reviewboard/reviewboard-3.0.17.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="sqlite"
-
-inherit distutils-r1
-
-MY_PN="ReviewBoard"
-DESCRIPTION="A web-based code review tool that offers developers a way to handle code reviews"
-HOMEPAGE="https://www.reviewboard.org/"
-SRC_URI="https://downloads.reviewboard.org/releases/${MY_PN}/3.0/${MY_PN}-${PV}.tar.gz"
-KEYWORDS="~amd64"
-IUSE="codebase doc manual ldap rnotes test"
-
-LICENSE="MIT"
-SLOT="0"
-S=${WORKDIR}/${MY_PN}-${PV}
-
-RDEPEND=">=dev-python/django-1.6.11.1[${PYTHON_USEDEP},sqlite]
- <dev-python/django-1.7[${PYTHON_USEDEP},sqlite]
- =dev-python/django-braces-1.13.0[${PYTHON_USEDEP}]
- >=dev-python/django-cors-headers-1.1.0[${PYTHON_USEDEP}]
- <dev-python/django-cors-headers-1.2[${PYTHON_USEDEP}]
- >=dev-python/django-evolution-0.7.7[${PYTHON_USEDEP}]
- <dev-python/django-evolution-0.8[${PYTHON_USEDEP}]
- =dev-python/django-haystack-2.4*[${PYTHON_USEDEP}]
- dev-python/django-multiselectfield[${PYTHON_USEDEP}]
- =dev-python/django-oauth-toolkit-0.9*[${PYTHON_USEDEP}]
- =dev-python/Djblets-1.0*[${PYTHON_USEDEP}]
- >=dev-python/Djblets-1.0.12[${PYTHON_USEDEP}]
- >=dev-python/cryptography-1.8.1[${PYTHON_USEDEP}]
- >=dev-python/pygments-2.1[${PYTHON_USEDEP}]
- dev-python/docutils[${PYTHON_USEDEP}]
- >=dev-python/markdown-2.6.8[${PYTHON_USEDEP}]
- <dev-python/markdown-2.7[${PYTHON_USEDEP}]
- >=dev-python/mimeparse-0.1.3[${PYTHON_USEDEP}]
- >=dev-python/paramiko-1.12[${PYTHON_USEDEP}]
- >=dev-python/pymdown-extensions-3.4[${PYTHON_USEDEP}]
- =dev-python/pymdown-extensions-3*[${PYTHON_USEDEP}]
- >=dev-python/python-dateutil-1.5[${PYTHON_USEDEP}]
- dev-python/python-memcached[${PYTHON_USEDEP}]
- >=dev-python/pytz-2015.2[${PYTHON_USEDEP}]
- =dev-python/requests-oauthlib-0.8*[${PYTHON_USEDEP}]
- >=dev-python/whoosh-2.6[${PYTHON_USEDEP}]
- ldap? ( >=dev-python/python-ldap-2.4.21[${PYTHON_USEDEP}] )"
-DEPEND="${RDEPEND}"
-BDEPEND="
- net-libs/nodejs
- dev-python/setuptools[${PYTHON_USEDEP}]
- test? ( dev-python/nose[${PYTHON_USEDEP}] )
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
-PDEPEND=" >=dev-python/rbintegrations-1.0.1[${PYTHON_USEDEP}]"
-
-REQUIRED_USE="doc? ( || ( codebase manual rnotes ) )"
-# Tests mostly access the inet and when run mostly fail
-RESTRICT=test
-
-src_unpack() {
- default
-
- cd "${S}"
- npm install less@3.9.0 less-plugin-autoprefix@2.0.0 uglify-js@2.4.10 babel-cli@6.5.1 babel-preset-es2015@6.5.0 babel-plugin-dedent@2.0.0 || die
-}
-
-python_prepare_all() {
- # Running uglify is a problem right now, so skip this step. Rather
- # have newer versions than compacted javascript.
- sed -e "s/'pipeline.compressors.uglifyjs.UglifyJSCompressor'/None/" -i reviewboard/settings.py || die
-
- distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
- # See https://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 "Install dev-python/mysql-python for mysql support."
- elog "Install dev-python/psycopg for postgres support."
- elog
- elog "For speed and responsiveness, consider installing net-misc/memcached"
- elog "and dev-python/python-memcached"
-}
diff --git a/dev-util/reviewboard/reviewboard-3.0.18.ebuild b/dev-util/reviewboard/reviewboard-3.0.18.ebuild
deleted file mode 100644
index 35bd5915..00000000
--- a/dev-util/reviewboard/reviewboard-3.0.18.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="sqlite"
-
-inherit distutils-r1
-
-MY_PN="ReviewBoard"
-DESCRIPTION="A web-based code review tool that offers developers a way to handle code reviews"
-HOMEPAGE="https://www.reviewboard.org/"
-SRC_URI="https://downloads.reviewboard.org/releases/${MY_PN}/3.0/${MY_PN}-${PV}.tar.gz"
-KEYWORDS="~amd64"
-IUSE="codebase doc manual ldap rnotes test"
-
-LICENSE="MIT"
-SLOT="0"
-S=${WORKDIR}/${MY_PN}-${PV}
-
-RDEPEND=">=dev-python/django-1.6.11.1[${PYTHON_USEDEP},sqlite]
- <dev-python/django-1.7[${PYTHON_USEDEP},sqlite]
- =dev-python/django-braces-1.13.0[${PYTHON_USEDEP}]
- >=dev-python/django-cors-headers-1.1.0[${PYTHON_USEDEP}]
- <dev-python/django-cors-headers-1.2[${PYTHON_USEDEP}]
- >=dev-python/django-evolution-0.7.7[${PYTHON_USEDEP}]
- <dev-python/django-evolution-0.8[${PYTHON_USEDEP}]
- =dev-python/django-haystack-2.4*[${PYTHON_USEDEP}]
- dev-python/django-multiselectfield[${PYTHON_USEDEP}]
- =dev-python/django-oauth-toolkit-0.9*[${PYTHON_USEDEP}]
- =dev-python/Djblets-1.0*[${PYTHON_USEDEP}]
- >=dev-python/Djblets-1.0.12[${PYTHON_USEDEP}]
- >=dev-python/cryptography-1.8.1[${PYTHON_USEDEP}]
- >=dev-python/pygments-2.1[${PYTHON_USEDEP}]
- <dev-python/pygments-2.6[${PYTHON_USEDEP}]
- dev-python/docutils[${PYTHON_USEDEP}]
- >=dev-python/markdown-2.6.8[${PYTHON_USEDEP}]
- <dev-python/markdown-2.7[${PYTHON_USEDEP}]
- >=dev-python/mimeparse-0.1.3[${PYTHON_USEDEP}]
- >=dev-python/paramiko-1.12[${PYTHON_USEDEP}]
- >=dev-python/pymdown-extensions-3.4[${PYTHON_USEDEP}]
- =dev-python/pymdown-extensions-3*[${PYTHON_USEDEP}]
- >=dev-python/python-dateutil-1.5[${PYTHON_USEDEP}]
- dev-python/python-memcached[${PYTHON_USEDEP}]
- >=dev-python/pytz-2015.2[${PYTHON_USEDEP}]
- =dev-python/requests-oauthlib-0.8*[${PYTHON_USEDEP}]
- >=dev-python/whoosh-2.6[${PYTHON_USEDEP}]
- ldap? ( >=dev-python/python-ldap-2.4.21[${PYTHON_USEDEP}] )"
-DEPEND="${RDEPEND}"
-BDEPEND="
- net-libs/nodejs
- dev-python/setuptools[${PYTHON_USEDEP}]
- test? ( dev-python/nose[${PYTHON_USEDEP}] )
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
-PDEPEND=" >=dev-python/rbintegrations-1.0.1[${PYTHON_USEDEP}]"
-
-REQUIRED_USE="doc? ( || ( codebase manual rnotes ) )"
-# Tests mostly access the inet and when run mostly fail
-RESTRICT=test
-
-src_unpack() {
- default
-
- cd "${S}"
- npm install less@3.9.0 less-plugin-autoprefix@2.0.0 uglify-js@2.4.10 babel-cli@6.5.1 babel-preset-es2015@6.5.0 babel-plugin-dedent@2.0.0 || die
-}
-
-python_prepare_all() {
- # Running uglify is a problem right now, so skip this step. Rather
- # have newer versions than compacted javascript.
- sed -e "s/'pipeline.compressors.uglifyjs.UglifyJSCompressor'/None/" -i reviewboard/settings.py || die
-
- distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
- # See https://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 "Install dev-python/mysql-python for mysql support."
- elog "Install dev-python/psycopg for postgres support."
- elog
- elog "For speed and responsiveness, consider installing net-misc/memcached"
- elog "and dev-python/python-memcached"
-}