diff options
author | Bertrand Jacquin <bertrand@jacquin.bzh> | 2015-10-25 18:19:37 +0000 |
---|---|---|
committer | Bertrand Jacquin <bertrand@jacquin.bzh> | 2015-10-25 18:50:34 +0000 |
commit | 1bd1a5be6b3b1fab550935cd23166d1ab80d50b4 (patch) | |
tree | 720596551d040bc8d5a73c338f445953c4a4ec83 | |
parent | net-dns/host: Drop as not maintained (diff) | |
download | portage-1bd1a5be6b3b1fab550935cd23166d1ab80d50b4.tar.xz |
www-apps/trac: Drop since all changes are now upstream
-rw-r--r-- | metadata/md5-cache/www-apps/trac-1.0.4 | 14 | ||||
-rw-r--r-- | profiles/use.local.desc | 3 | ||||
-rw-r--r-- | www-apps/trac/ChangeLog | 133 | ||||
-rw-r--r-- | www-apps/trac/Manifest | 8 | ||||
-rw-r--r-- | www-apps/trac/files/postinst-en.txt | 41 | ||||
-rw-r--r-- | www-apps/trac/files/postupgrade-en.txt | 19 | ||||
-rw-r--r-- | www-apps/trac/files/tracd.confd | 13 | ||||
-rwxr-xr-x | www-apps/trac/files/tracd.initd | 27 | ||||
-rw-r--r-- | www-apps/trac/metadata.xml | 14 | ||||
-rw-r--r-- | www-apps/trac/trac-1.0.4.ebuild | 113 |
10 files changed, 0 insertions, 385 deletions
diff --git a/metadata/md5-cache/www-apps/trac-1.0.4 b/metadata/md5-cache/www-apps/trac-1.0.4 deleted file mode 100644 index 6296aa9b..00000000 --- a/metadata/md5-cache/www-apps/trac-1.0.4 +++ /dev/null @@ -1,14 +0,0 @@ -DEFINED_PHASES=compile configure install postinst prepare prerm setup test -DEPEND=dev-python/setuptools[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/genshi[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/pytz[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] i18n? ( >=dev-python/Babel-0.9.5[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) highlight? ( || ( dev-python/pygments[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] app-text/silvercity app-text/pytextile app-text/enscript ) ) restructuredtext? ( dev-python/docutils[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) cgi? ( virtual/httpd-cgi ) fastcgi? ( virtual/httpd-fastcgi ) mysql? ( dev-python/mysql-python[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) postgres? ( dev-python/psycopg:2[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) sqlite? ( >=dev-db/sqlite-3.3.4:3 ) subversion? ( dev-vcs/subversion[python,python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) test? ( dev-python/twill[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/lxml[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/configobj[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[sqlite?] ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=app-admin/webapp-config-1.50.15 -DESCRIPTION=Trac is a minimalistic web-based project management, wiki and bug/issue tracking system -EAPI=5 -HOMEPAGE=http://trac.edgewall.com/ http://pypi.python.org/pypi/Trac -IUSE=cgi fastcgi i18n +highlight +restructuredtext mysql postgres +sqlite subversion test python_targets_python2_7 vhosts -KEYWORDS=~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd -LICENSE=BSD -RDEPEND=dev-python/setuptools[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/genshi[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/pytz[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] i18n? ( >=dev-python/Babel-0.9.5[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) highlight? ( || ( dev-python/pygments[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] app-text/silvercity app-text/pytextile app-text/enscript ) ) restructuredtext? ( dev-python/docutils[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) cgi? ( virtual/httpd-cgi ) fastcgi? ( virtual/httpd-fastcgi ) mysql? ( dev-python/mysql-python[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) postgres? ( dev-python/psycopg:2[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) sqlite? ( >=dev-db/sqlite-3.3.4:3 ) subversion? ( dev-vcs/subversion[python,python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[sqlite?] ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=app-admin/webapp-config-1.50.15 -REQUIRED_USE=|| ( mysql postgres sqlite ) || ( python_targets_python2_7 ) -SLOT=0 -SRC_URI=http://ftp.edgewall.com/pub/trac/Trac-1.0.4.tar.gz -_eclasses_=distutils-r1 46506dd0dd992b3c89b0d00daabfd86c eutils 43da5163ba106e87d22d2e7d6d67537f multibuild ce2c2ede0c914b77f5dfc4e2ff2d0249 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 multiprocessing d769539d9bace6eaca30af23bc2b4dde python-r1 32b376cbb100a3a8083b3a0de023e117 python-utils-r1 9c405693f1f355a718700c5cffffd9e5 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 user 906f3c8eb3a2350a4f1191a89baa3e46 webapp 42c6ef7af496b228f9854b3c81e4b226 -_md5_=8f3dec6ed603ae517e30cfbe6f57859e diff --git a/profiles/use.local.desc b/profiles/use.local.desc index 004055cf..bb1a42e9 100644 --- a/profiles/use.local.desc +++ b/profiles/use.local.desc @@ -74,9 +74,6 @@ virtual/linux-sources:firmware - Install linux kernel firmware www-apps/phabricator:highlight - Enable source code highlighting via dev-python/pygments www-apps/phabricator:mail - Update Differential and Maniphest by replying to messages and create Maniphest tasks via email www-apps/phabricator:mercurial - Support for dev-vcs/mercurial -www-apps/trac:highlight - Enable syntax highlighting -www-apps/trac:i18n - Enable support for i18n with dev-python/Babel -www-apps/trac:restructuredtext - Enable support for reStructuredText for wiki formatting www-client/arcanist:lint - Support for linter www-client/arcanist:mercurial - Support for dev-vcs/mercurial x11-misc/entrance:consolekit - Enables support for authorization via sys-auth/consolekit diff --git a/www-apps/trac/ChangeLog b/www-apps/trac/ChangeLog deleted file mode 100644 index c58a6b5f..00000000 --- a/www-apps/trac/ChangeLog +++ /dev/null @@ -1,133 +0,0 @@ - 15 Aug 2015; Bertrand Jacquin <bertrand@jacquin.bzh> trac-1.0.4.ebuild: - Remove malformed Id headers - -*trac-1.0.4 (08 Feb 2015) - - 08 Feb 2015; Bertrand Jacquin <bertrand@jacquin.bzh> +trac-1.0.4.ebuild, - -trac-1.0.3.ebuild, metadata.xml: - www-apps/trac: Version bump, sync with upstream - -*trac-1.0.3 (03 Feb 2015) - - 03 Feb 2015; Bertrand Jacquin <bertrand@jacquin.bzh> +trac-1.0.3.ebuild, - -files/1.0.1-changeset_11684.diff, -files/1.0.1-changeset_11689.diff, - -files/1.0.1-changeset_11690.diff, -files/1.0.1-changeset_11691.diff, - -files/1.0.1-changeset_11712.diff, -files/1.0.1-changeset_11769.diff, - -files/1.0.1-changeset_11771.diff, -files/1.0.1-changeset_11773.diff, - -files/1.0.1-changeset_11776.diff, -files/1.0.1-changeset_11783.diff, - -files/1.0.1-changeset_11816.diff, -files/1.0.1-changeset_11876.diff, - -files/1.0.1-changeset_11892.diff, -files/1.0.1-changeset_11893.diff, - -files/1.0.1-changeset_12275.diff, -trac-1.0.1-r1.ebuild, - -trac-1.0.1-r2.ebuild: - www-apps/trac: Version bump, sync with upstream, drop make check - -*trac-1.0.1-r2 (15 May 2014) - - 15 May 2014; Bertrand Jacquin <bertrand@jacquin.bzh> - +files/1.0.1-changeset_11684.diff, +files/1.0.1-changeset_11689.diff, - +files/1.0.1-changeset_11690.diff, +files/1.0.1-changeset_11691.diff, - +files/1.0.1-changeset_11712.diff, +files/1.0.1-changeset_11769.diff, - +files/1.0.1-changeset_11771.diff, +files/1.0.1-changeset_11773.diff, - +files/1.0.1-changeset_11776.diff, +files/1.0.1-changeset_11783.diff, - +files/1.0.1-changeset_11816.diff, +files/1.0.1-changeset_11876.diff, - +files/1.0.1-changeset_11892.diff, +files/1.0.1-changeset_11893.diff, - +files/1.0.1-changeset_12275.diff, +trac-1.0.1-r2.ebuild, - -files/trac-1.0.1-changeset_11684.diff, - -files/trac-1.0.1-changeset_11689.diff, - -files/trac-1.0.1-changeset_11690.diff, - -files/trac-1.0.1-changeset_11691.diff, - -files/trac-1.0.1-changeset_11712.diff, - -files/trac-1.0.1-changeset_11769.diff, - -files/trac-1.0.1-changeset_11771.diff, - -files/trac-1.0.1-changeset_11773.diff, - -files/trac-1.0.1-changeset_11776.diff, - -files/trac-1.0.1-changeset_11783.diff, - -files/trac-1.0.1-changeset_11816.diff, - -files/trac-1.0.1-changeset_11876.diff, - -files/trac-1.0.1-changeset_11892.diff, - -files/trac-1.0.1-changeset_11893.diff, - -files/trac-1.0.1-changeset_12275.diff, metadata.xml, trac-1.0.1-r1.ebuild: - www-apps/trac: trac-1.0.1-r1: Stick more better to upstream dependency, Add a - USE flag highlight, Add a USE flag markdown, src_prepare() now called epatch - and then distutils-r1_src_prepare instead of defining python_prepare_all(). So - it's more readable and classic., Use python_doscript in a python_install() to - install every cgi with the correct libexec wrapper and make the cgi usable by - the best python version. I don't use python_install_all so the cgi available - for other python version than only the best one, Drop DISTUTILS_SINGLE_IMPL. - trac-1.0.1-r2: Add a working FEATURES=test, Drop ~ppc64 and ~sparc since - USE=test DEPEND on dev-python/twill that is not keyworded for those arches - - 15 May 2014; Bertrand Jacquin <bertrand@jacquin.bzh> trac-1.0.1-r1.ebuild: - www-apps/trac: Restore trac-1.0.1-changeset_12275.diff - -*trac-1.0.1-r1 (15 May 2014) - - 15 May 2014; Bertrand Jacquin <bertrand@jacquin.bzh> +trac-1.0.1-r1.ebuild, - -trac-1.0.1.ebuild: - www-apps/trac: Sync with upstream - - 15 May 2014; Bertrand Jacquin <bertrand@jacquin.bzh> trac-1.0.1.ebuild: - www-apps/trac: Drop test USE flag and :0 in DEPEND following - https://bugs.gentoo.org/show_bug.cgi?id=482034#c30 - - 27 Apr 2014; Bertrand Jacquin <bertrand@jacquin.bzh> trac-1.0.1.ebuild: - www-apps/trac: Drop python-2.6 support - - 07 Jan 2014; Bertrand Jacquin <bertrand@jacquin.bzh> - +files/trac-1.0.1-changeset_12275.diff, trac-1.0.1.ebuild: - www-apps/trac: Add fix from http://trac.edgewall.org/ticket/11345 for errors - like AttributeError: NullTranslationsBabel instance has no attribute - 'isactive' - - 04 Sep 2013; Bertrand Jacquin <bertrand@jacquin.bzh> - -files/1.0.1-git-identity.patch, trac-1.0.1.ebuild: - www-apps/trac: Remove patch breaking tests included in 1.0.2-dev, need more - tests - - 04 Sep 2013; Bertrand Jacquin <bertrand@jacquin.bzh> - +files/trac-1.0.1-changeset_11684.diff, - +files/trac-1.0.1-changeset_11689.diff, - +files/trac-1.0.1-changeset_11690.diff, - +files/trac-1.0.1-changeset_11691.diff, - +files/trac-1.0.1-changeset_11712.diff, - +files/trac-1.0.1-changeset_11769.diff, - +files/trac-1.0.1-changeset_11771.diff, - +files/trac-1.0.1-changeset_11773.diff, - +files/trac-1.0.1-changeset_11776.diff, - +files/trac-1.0.1-changeset_11783.diff, - +files/trac-1.0.1-changeset_11816.diff, - +files/trac-1.0.1-changeset_11876.diff, - +files/trac-1.0.1-changeset_11892.diff, - +files/trac-1.0.1-changeset_11893.diff, - -files/trac-1.0.1-changeset_11933.diff, trac-1.0.1.ebuild: - www-apps/trac: Make trac.util.tests.datefmt.I18nDateFormatTestCase sucess by - including changesets 11684 11689 11690 11691 11712 11769 11771 11773 11776 - 11783 11816 11876 11892 11893 from - http://svn.edgewall.org/repos/trac/branches/1.0-stable, see - http://trac.edgewall.org/ticket/11290#comment:2 - - 02 Sep 2013; Bertrand Jacquin <bertrand@jacquin.bzh> - +files/trac-1.0.1-changeset_11933.diff, -files/trac-1.0.1-test-suite.diff, - trac-1.0.1.ebuild: - www-apps/trac: Add comment about babel patch, refresh patch - - 02 Sep 2013; Bertrand Jacquin <bertrand@jacquin.bzh> - +files/trac-1.0.1-test-suite.diff, trac-1.0.1.ebuild: - www-apps/trac: Add missing PYTHON_USEDEP on python modules, add patch for - babel test suite - - 21 Aug 2013; Bertrand Jacquin <bertrand@jacquin.bzh> files/tracd.initd: - www-apps/trac: Move /var/run to /run - -*trac-1.0.1 (21 Aug 2013) - - 21 Aug 2013; Bertrand Jacquin <bertrand@jacquin.bzh> - +files/1.0.1-git-identity.patch, +files/postinst-en.txt, - +files/postupgrade-en.txt, +files/tracd.confd, +files/tracd.initd, - +metadata.xml, +trac-1.0.1.ebuild: - www-apps/trac: Bug #482034, Move to EAPI 5, Move to distutils-r1 ( restrict to - python{2_6,2_7} and one single implementation for binary files), SLOT DEPENDs, - Remove python:2.5 from RDEPEND as now mask in tree (#480070), Remove dev- - python/pysqlite from RDEPEND as remove from tree (#408835), Don't install cgi - and fcgi as-is, but use python_doscript to fix shebangs, Add test IUSE and add - needed DEPEND, replace with python_test() for new eclass usage, but still fail diff --git a/www-apps/trac/Manifest b/www-apps/trac/Manifest deleted file mode 100644 index c90d846b..00000000 --- a/www-apps/trac/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -AUX postinst-en.txt 1331 SHA256 1799cf63e70e2ed7c3b1a1148b29ce456dda8e84ef137605549de7f1e2856a95 WHIRLPOOL d082aec44d057e3e0a7ccae6989a09c6c2e259bcc896cdd2bbea650c69c069fb9cbae7abd0db46f6c1cf6888cc36656a6a7271e2dfc962e21c5fa74708740ad8 -AUX postupgrade-en.txt 665 SHA256 aec1179a04056a650a4f7429a927f510cd0e7256f889fdae2575ef471634ba41 WHIRLPOOL 512578b971cee45e0699e7461dd12ee37844bda48e69018d8956f81768e13a31ff30f91421697228410e61fa7159dc1a07e0831d8f4941e6d1bf1855d8d08207 -AUX tracd.confd 359 SHA256 6ae50c887d18f8eeda7d59c4d3fd1b5e07e407711c4e4679fef3583f7be8ed6e WHIRLPOOL 591394e732d39bc13f97004cfb3c18128aa16a55557172d872797b5ca5c69e5f15d1420e697a4e40215b2a893ed684ba6b6388abacd97874fd6f04953b579e1a -AUX tracd.initd 919 SHA256 21a2f301ec584917628a62a0809b9603a5f0b460f902b23b3867174a710bb132 WHIRLPOOL 06fc2a8833786d86821180d010de4b69fbc9eeee0c7bafd4c7ab77599740f84caec1b6bbde79ab6349100da21e246a0cf05dd1a767fafae75d02f2c8c058ebb9 -DIST Trac-1.0.4.tar.gz 3579886 SHA256 a1d564c5b612306856dd26851270b12fbba91bab1bc146b66d4cc248be1a172e WHIRLPOOL 2be04e6a683f88923b2f9b09fdee4b5de24779f399f32763674512f71f4f03e72b74592e0dc49e6693dc1c6c1c4ebdfb680eac72146b9fdb3735db50a5e8c9fb -EBUILD trac-1.0.4.ebuild 2742 SHA256 6d8433915eae9f9b16b2e61c8e15a5459a18bf6907b48af8a617614567f839b9 WHIRLPOOL b56e30a5b1b0db1b683f4e42e82261bc6af49340d02641d208d24335c3df5aee507ee01e219d044231fe8dd94ae5b7de6cde2027daf39afdf8635dd45e92114f -MISC ChangeLog 6441 SHA256 68b346e6bbf3b41493b27289f0713ae23370b636871a524d8501071288112bba WHIRLPOOL f26a5ea5bb8e4e8584034c6fe346efeaa0b9e3b416db86d1eaee38be605312b040a868bb57b5d89f3e725ea066f94c94fa77642bc24cd7233cb84eed57e0a47d -MISC metadata.xml 541 SHA256 7e8abe1f0ab7f7a4d425050c47e27175423e7de5707b61f2f08222b34a33f8cd WHIRLPOOL 06ab90f6a94a4a4f862cdd09bd20c45afe96396d42fb133d0b2a054564c2babc8cf45a61438f836105e066cf8e21a228a5031ebfd0b2902918a04efae419e694 diff --git a/www-apps/trac/files/postinst-en.txt b/www-apps/trac/files/postinst-en.txt deleted file mode 100644 index 2a4012b9..00000000 --- a/www-apps/trac/files/postinst-en.txt +++ /dev/null @@ -1,41 +0,0 @@ -Install Instructions -==================== - -This is brief and generic information about Trac. - -See the releases notes at http://trac.edgewall.org/wiki/TracDev/ReleaseNotes -for the Trac version you have installed to learn about software changes and -possible caveats. - -Web Server ----------- - -Trac installation depends on the web server you are using. - -FastCGI users: see http://trac.edgewall.org/wiki/TracFastCgi - -CGI users: see http://trac.edgewall.org/wiki/TracCgi - -Apache 2 and mod_python users: you have to manually emerge -www-apache/mod_python. See http://trac.edgewall.org/wiki/TracModPython - -You can also use Trac without having to install a web server. See -http://trac.edgewall.org/wiki/TracStandalone to know more. - -Trac relies on the web server for users authentication. Please refer to the -Trac wiki and to your web server documentation to set up authentication. - -Trac environments ------------------ - -To complete the install, create your first Trac environment by running this -command: - - trac-admin /var/lib/trac/<project-name> initenv - -Don't forget to review the configuration file! It is located at -/var/lib/trac/<project-name>/conf/trac.ini. Consult its reference at -http://trac.edgewall.org/wiki/TracIni - -See http://trac.edgewall.org/wiki/TracEnvironment to know more about Trac -environments and how to configure them. diff --git a/www-apps/trac/files/postupgrade-en.txt b/www-apps/trac/files/postupgrade-en.txt deleted file mode 100644 index 1f5c8ea2..00000000 --- a/www-apps/trac/files/postupgrade-en.txt +++ /dev/null @@ -1,19 +0,0 @@ -Upgrade Instructions -==================== - -This is brief and generic information about Trac. - -See the releases notes at http://trac.edgewall.org/wiki/TracDev/ReleaseNotes -for the Trac version you have installed to learn about software changes and -possible caveats. - -If you are upgrading from a previous Trac version, please follow the -instructions here: - - http://trac.edgewall.org/wiki/TracUpgrade - -You will need to run trac-admin commands (upgrade, wiki upgrade...) for each -Trac environment you have. - -You might also want to check for new configuration options by comparing trac.ini -file with trac.ini.sample file in the conf/ directory in each Trac environment. diff --git a/www-apps/trac/files/tracd.confd b/www-apps/trac/files/tracd.confd deleted file mode 100644 index 2cb9d292..00000000 --- a/www-apps/trac/files/tracd.confd +++ /dev/null @@ -1,13 +0,0 @@ -# The commented variables in this file are the defaults that are used -# in the init-script. You don't need to uncomment them except to -# customize them to different values. - -# Port for tracd -#TRACD_PORT="8000" - -# Options for tracd -#TRACD_OPTS="--env-parent-dir /var/lib/trac/" - -# User and group as which to run tracd -#TRACD_USER="tracd" -#TRACD_GROUP="tracd" diff --git a/www-apps/trac/files/tracd.initd b/www-apps/trac/files/tracd.initd deleted file mode 100755 index dc846c59..00000000 --- a/www-apps/trac/files/tracd.initd +++ /dev/null @@ -1,27 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/files/tracd.initd,v 1.6 2011/12/31 20:17:51 idl0r Exp $ - -depend() { - need net -} - -start() { - ebegin "Starting tracd" - # tracd fails to create pidfile if started as non-root user, thus we are asking - # s-s-d to do that. To have correct pid we avoid -d option of tracd and use - # --background option of s-s-d. - start-stop-daemon --start --user ${TRACD_USER:-tracd} --group ${TRACD_GROUP:-tracd} \ - --pidfile /run/tracd.pid --make-pidfile --background \ - --env PYTHON_EGG_CACHE="/var/lib/trac/egg-cache" \ - --exec /usr/bin/tracd -- \ - -p ${TRACD_PORT:-8000} ${TRACD_OPTS:---env-parent-dir /var/lib/trac/} - eend $? -} - -stop() { - ebegin "Stopping tracd" - start-stop-daemon --stop --quiet --pidfile /run/tracd.pid - eend $? -} diff --git a/www-apps/trac/metadata.xml b/www-apps/trac/metadata.xml deleted file mode 100644 index 103f9155..00000000 --- a/www-apps/trac/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>web-apps</herd> - <maintainer> - <email>djc@gentoo.org</email> - <name>Dirkjan Ochtman</name> - </maintainer> - <use> - <flag name="i18n">Enable support for i18n with dev-python/Babel</flag> - <flag name="highlight">Enable syntax highlighting</flag> - <flag name="restructuredtext">Enable support for reStructuredText for wiki formatting</flag> - </use> -</pkgmetadata> diff --git a/www-apps/trac/trac-1.0.4.ebuild b/www-apps/trac/trac-1.0.4.ebuild deleted file mode 100644 index ea48b36d..00000000 --- a/www-apps/trac/trac-1.0.4.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE='sqlite?' - -inherit distutils-r1 eutils user webapp - -MY_PV=${PV/_beta/b} -MY_P=Trac-${MY_PV} - -DESCRIPTION="Trac is a minimalistic web-based project management, wiki and bug/issue tracking system" -HOMEPAGE="http://trac.edgewall.com/ http://pypi.python.org/pypi/Trac" -SRC_URI="http://ftp.edgewall.com/pub/trac/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" -IUSE="cgi fastcgi i18n +highlight +restructuredtext mysql postgres +sqlite subversion test" -REQUIRED_USE="|| ( mysql postgres sqlite )" - -RDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/genshi[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - i18n? ( >=dev-python/Babel-0.9.5[${PYTHON_USEDEP}] ) - highlight? ( - || ( - dev-python/pygments[${PYTHON_USEDEP}] - app-text/silvercity - app-text/pytextile - app-text/enscript - ) - ) - restructuredtext? ( dev-python/docutils[${PYTHON_USEDEP}] ) - cgi? ( virtual/httpd-cgi ) - fastcgi? ( virtual/httpd-fastcgi ) - mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] ) - postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] ) - sqlite? ( >=dev-db/sqlite-3.3.4:3 ) - subversion? ( dev-vcs/subversion[python,${PYTHON_USEDEP}] ) - " -DEPEND="${RDEPEND} - test? ( - dev-python/twill[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/configobj[${PYTHON_USEDEP}] - )" - -S="${WORKDIR}/${MY_P}" - -WEBAPP_MANUAL_SLOT="yes" - -pkg_setup() { - webapp_pkg_setup - - enewgroup tracd - enewuser tracd -1 -1 -1 tracd -} - -python_test() { - echo ".python = ${EPYTHON}" > Makefile.cfg - emake test || die -} - -python_install() { - if use cgi; then - python_scriptinto "${MY_CGIBINDIR}" - python_doscript contrib/cgi-bin/trac.cgi - fi - if use fastcgi; then - python_scriptinto "${MY_CGIBINDIR}" - python_doscript contrib/cgi-bin/trac.fcgi - fi - - distutils-r1_python_install -} - -# the default src_compile just calls setup.py build -# currently, this switches i18n catalog compilation based on presence of Babel -src_install() { - webapp_src_preinst - distutils-r1_src_install - - # project environments might go in here - keepdir /var/lib/trac - - # Use this as the egg-cache for tracd - dodir /var/lib/trac/egg-cache - keepdir /var/lib/trac/egg-cache - fowners tracd:tracd /var/lib/trac/egg-cache - - # documentation - dodoc -r contrib - - # tracd init script - newconfd "${FILESDIR}"/tracd.confd tracd - newinitd "${FILESDIR}"/tracd.initd tracd - - for lang in en; do - webapp_postinst_txt ${lang} "${FILESDIR}"/postinst-${lang}.txt - webapp_postupgrade_txt ${lang} "${FILESDIR}"/postupgrade-${lang}.txt - done - - webapp_src_install -} - -pkg_postinst() { - webapp_pkg_postinst -} |