Sync with portage [Sun Feb 12 17:08:45 MSK 2012].

mhiretskiy
root 12 years ago
parent 1d0839edb5
commit 340e7f70b3

@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/tsm/files/dsmc.init.d,v 1.2 2010/01/27 16:47:11 dertobi123 Exp $
# $Header: /var/cvsroot/gentoo-x86/app-backup/tsm/files/dsmc.init.d,v 1.3 2012/02/12 11:56:50 dilfridge Exp $
depend() {
use net
@ -10,6 +10,10 @@ depend() {
start() {
ebegin "Starting dsmc"
# dsmc supports only these locale settings
export LANG=en_US
export LC_ALL=en_US
start-stop-daemon --start --background --nicelevel 15 \
--make-pidfile --pidfile /var/run/dsmc.pid \
--exec /opt/tivoli/tsm/client/ba/bin/dsmc sched ${DSMC_OPTS}

@ -1,10 +1,10 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/tsm/tsm-6.2.2.0-r1.ebuild,v 1.2 2011/04/20 13:19:05 jlec Exp $
# $Header: /var/cvsroot/gentoo-x86/app-backup/tsm/tsm-6.2.2.0-r1.ebuild,v 1.3 2012/02/12 11:56:50 dilfridge Exp $
EAPI=3
inherit versionator multilib eutils rpm
inherit versionator multilib eutils rpm pax-utils
DESCRIPTION="Tivoli Storage Manager (TSM) Backup/Archive (B/A) Client and API"
HOMEPAGE="http://www.tivoli.com/"
@ -210,3 +210,10 @@ pkg_postinst() {
fi
done
}
pkg_postinst()
{
pax-mark psme /opt/tivoli/tsm/client/ba/bin/dsmc
# most likely some of the other executables (e.g. dsm) need this as well, but I
# cannot test it at the moment. - dilfridge
}

@ -0,0 +1,11 @@
--- Makefile.orig 2008-10-13 11:25:21.000000000 +0200
+++ Makefile 2008-10-13 11:26:08.000000000 +0200
@@ -59,7 +59,7 @@
HTML=/html
BIN=/usr/bin
MAN=/usr/share/man/man1
-DOC=/usr/share/doc/lisaac
+DOC=${DOC:=/usr/share/doc/lisaac}
DESTDIR=
CC=gcc
CFLAGS=-O2

@ -0,0 +1,73 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/lisaac/lisaac-0.13.1-r1.ebuild,v 1.1 2012/02/12 11:54:36 pacho Exp $
EAPI="4"
inherit versionator elisp-common eutils
DESCRIPTION="Lisaac is an object prototype based language"
HOMEPAGE="http://isaacproject.u-strasbg.fr/li.html"
SRC_URI="http://isaacproject.u-strasbg.fr/download/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="vim-syntax emacs examples"
DEPEND="vim-syntax? ( app-editors/vim )
emacs? ( virtual/emacs )"
RDEPEND="${DEPEND}"
SITEFILE=50${PN}-gentoo.el
src_prepare(){
epatch "${FILESDIR}/${P}-makefile.patch"
}
src_compile(){
emake CC="$(tc-getCC)"
if use emacs; then
elisp-compile editor/emacs/lisaac-mode.el \
|| die "compiling emacs component failed."
fi
}
src_install(){
emake DESTDIR="${D}" DOC="/usr/share/doc/${PF}" install
if use vim-syntax; then
insinto /usr/share/vim/vimfiles/syntax/
doins editor/vim/syntax/lisaac.vim
insinto /usr/share/vim/vimfiles/indent/
doins editor/vim/indent/lisaac.vim
fi
if use emacs; then
elisp-install ${PN} editor/emacs/*.{el,elc} \
|| die "installing emacs coponent failed."
elisp-site-file-install "${FILESDIR}"/${SITEFILE} \
|| die "installing emacs site file failed"
fi
if use examples; then
dodir /usr/share/${PN}/
cp -r example "${ED}"/usr/share/${PN}/examples
fi
}
pkg_postinst(){
if use vim-syntax; then
elog "Add the following line to your vimrc if you want"
elog "to enable the lisaac support :"
elog
elog "au BufNewFile,BufRead *.li setf lisaac"
fi
use emacs && elisp-site-regen
}
pkg_postrm(){
use emacs && elisp-site-regen
}

@ -2,8 +2,4 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
<maintainer>
<email>djc@gentoo.org</email>
<name>Dirkjan Ochtman</name>
</maintainer>
</pkgmetadata>

@ -1,3 +1,3 @@
DIST simplejson-2.1.6.tar.gz 52356 RMD160 9e494c400eeae677c4a024c6b1a8b37da912eb5d SHA1 36d07a336390d47d2420fbbe9a4803c1a1fe2eac SHA256 b657d4c83a2ffd9c3bdb511eabd986900182870421dceb6b7b117c5407523927
DIST simplejson-2.2.1.tar.gz 49957 RMD160 c50cf48bf38a734dbd5905c8b4a136c7c2fa56bc SHA1 e48daf374f6131f7875e790a84c218df7a2a710b SHA256 e85c5ae24dd9827113893c1dd2c799528195057388096f0fc45ad4b32b378c26
DIST simplejson-2.3.0.tar.gz 50034 RMD160 0f1a8ccff3d034d434a8458e2f3c296624932a89 SHA1 70db51ccb0861acd34523be22a297026a61f68fc SHA256 dc026631646d32fda40be754484c67918617db37f517547462aa58ae5d159d34
DIST simplejson-2.3.2.tar.gz 50407 RMD160 bfa3d790e5485b2edf33ebebd6952be90b4db868 SHA1 065cc782f0dade510596e565ea7d0e83b0e8b211 SHA256 276c1837be470a21178f9e70b0688189e1a4e2d09ea85cef35078b929b605428

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/simplejson/simplejson-2.1.6.ebuild,v 1.6 2011/12/18 17:29:50 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/simplejson/simplejson-2.3.2.ebuild,v 1.1 2012/02/12 11:54:22 djc Exp $
EAPI="3"
PYTHON_DEPEND="2"
@ -15,10 +15,10 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ppc ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE=""
DEPEND="dev-python/setuptools"
DEPEND=""
RDEPEND=""
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")

@ -1,2 +1,2 @@
DIST hg-git-0.2.6.tar.gz 12710 RMD160 8b58ba8848617c5f21335d462cca309aaf9b4678 SHA1 71ba1d32fc175152e306690c11cb913fe9c39133 SHA256 31b3b01632f090cde2fbc421b2d0e0b04c8e078595c314f5a0d90d8187a70d2d
DIST hg-git-0.3.1.tar.gz 16361 RMD160 6741b02d532470edb8b0031ef5fbceb6c8813d98 SHA1 7747bd379729c2bad1d0d48d88c51b9a9dbacc58 SHA256 c877a407a55d65f634410bb9b567b7565310d3005fb1256484bde156bf30ab0e
DIST hg-git-0.3.2.tar.gz 16546 RMD160 bbde5969a323cfd8894b92bf731363238a0a9475 SHA1 3bafe53d6e1467b5a57f58ac7921c3158e3d1ca4 SHA256 fc5517e4af09478835d97e3c3b37cc95b9783ff5b585ef893f891057f8b52f43

@ -1,30 +0,0 @@
# HG changeset patch
# User Mads Kiilerich <mads@kiilerich.com>
# Date 1302003088 -7200
# Node ID 61865ad887403865743391e682ce116ad817cd55
# Parent f55869b556f0532604404966c612b326e360b7ca
compatibility with new url handling in Mercurial 1.9
diff -r f55869b556f0532604404966c612b326e360b7ca -r 61865ad887403865743391e682ce116ad817cd55 hggit/__init__.py
--- a/hggit/__init__.py Wed Mar 23 21:31:26 2011 -0500
+++ b/hggit/__init__.py Tue Apr 05 13:31:28 2011 +0200
@@ -24,6 +24,7 @@
from mercurial import hg
from mercurial import localrepo
from mercurial import util as hgutil
+from mercurial import url
from mercurial.i18n import _
demandimport.ignore.extend([
@@ -42,7 +43,10 @@
_oldlocal = hg.schemes['file']
def _local(path):
- p = hgutil.drop_scheme('file', path)
+ try:
+ p = hgutil.drop_scheme('file', path)
+ except AttributeError:
+ p = url.url(path).localpath()
if (os.path.exists(os.path.join(p, '.git')) and
not os.path.exists(os.path.join(p, '.hg'))):
return gitrepo

@ -1,33 +0,0 @@
# HG changeset patch
# User Augie Fackler <durin42@gmail.com>
# Date 1305480363 18000
# Node ID bcc79fa3fe09c43a011936f7d8b2c1075e0d94da
# Parent ed28dd69df6169396bfb72d4aa3349aac8a32ed1
url wasn't ever published as url.url, and is now util.url
diff -r ed28dd69df6169396bfb72d4aa3349aac8a32ed1 -r bcc79fa3fe09c43a011936f7d8b2c1075e0d94da hggit/__init__.py
--- a/hggit/__init__.py Sun May 15 12:24:25 2011 -0500
+++ b/hggit/__init__.py Sun May 15 12:26:03 2011 -0500
@@ -42,11 +42,18 @@
# support for `hg clone localgitrepo`
_oldlocal = hg.schemes['file']
+try:
+ urlcls = hgutil.url
+except AttributeError:
+ class urlcls(object):
+ def __init__(self, path):
+ self.p = hgutil.drop_scheme('file', path)
+
+ def localpath(self):
+ return self.p
+
def _local(path):
- try:
- p = hgutil.drop_scheme('file', path)
- except AttributeError:
- p = url.url(path).localpath()
+ p = urlcls(path).localpath()
if (os.path.exists(os.path.join(p, '.git')) and
not os.path.exists(os.path.join(p, '.hg'))):
return gitrepo

@ -1,35 +0,0 @@
# HG changeset patch
# User Augie Fackler <durin42@gmail.com>
# Date 1305480384 18000
# Node ID 5fdff9b8e7420572624dae2941251f11cd9bd6d7
# Parent bcc79fa3fe09c43a011936f7d8b2c1075e0d94da
Cope with new discovery code without crashing.
diff -r bcc79fa3fe09c43a011936f7d8b2c1075e0d94da -r 5fdff9b8e7420572624dae2941251f11cd9bd6d7 hggit/__init__.py
--- a/hggit/__init__.py Sun May 15 12:26:03 2011 -0500
+++ b/hggit/__init__.py Sun May 15 12:26:24 2011 -0500
@@ -125,6 +125,8 @@
kwname = 'heads'
if hg.util.version() >= '1.7':
kwname = 'remoteheads'
+ if getattr(discovery, 'findcommonoutgoing', None):
+ kwname = 'onlyheads'
def findoutgoing(orig, local, remote, *args, **kwargs):
kw = {}
kw.update(kwargs)
@@ -141,8 +143,14 @@
if kwname == 'heads':
r = orig(local, remote, **kw)
return [x[0] for x in r]
+ if kwname == 'onlyheads':
+ del kw['base']
return orig(local, remote, **kw)
- extensions.wrapfunction(discovery, 'findoutgoing', findoutgoing)
+ if getattr(discovery, 'findoutgoing', None):
+ extensions.wrapfunction(discovery, 'findoutgoing', findoutgoing)
+ else:
+ extensions.wrapfunction(discovery, 'findcommonoutgoing',
+ findoutgoing)
except ImportError:
pass

@ -1,43 +0,0 @@
# HG changeset patch
# User Brendan Cully <brendan@kublai.com>
# Date 1308853770 25200
# Node ID 6867b01d1379cb27faca4c4cb06ed2fba38963e8
# Parent b8eeabb61c7b720713565a645aacffa7213128aa
Unbreak outgoing to non-git repos with hg pre-1.9
The wrapped version of findoutgoing unconditionally mangled the
keyword arguments, but doesn't do version fixups unless the
remote is a git repository. This change only mangles the argument
list when the remote is a git repository.
diff -r b8eeabb61c7b720713565a645aacffa7213128aa -r 6867b01d1379cb27faca4c4cb06ed2fba38963e8 hggit/__init__.py
--- a/hggit/__init__.py Fri Jun 17 15:01:31 2011 -0500
+++ b/hggit/__init__.py Thu Jun 23 11:29:30 2011 -0700
@@ -129,13 +129,13 @@
if getattr(discovery, 'findcommonoutgoing', None):
kwname = 'onlyheads'
def findoutgoing(orig, local, remote, *args, **kwargs):
- kw = {}
- kw.update(kwargs)
- for val, k in zip(args, ('base', kwname, 'force')):
- kw[k] = val
if isinstance(remote, gitrepo.gitrepo):
# clean up this cruft when we're 1.7-only, remoteheads and
# the return value change happened between 1.6 and 1.7.
+ kw = {}
+ kw.update(kwargs)
+ for val, k in zip(args, ('base', kwname, 'force')):
+ kw[k] = val
git = GitHandler(local, local.ui)
base, heads = git.get_refs(remote.path)
newkw = {'base': base, kwname: heads}
@@ -146,7 +146,8 @@
return [x[0] for x in r]
if kwname == 'onlyheads':
del kw['base']
- return orig(local, remote, **kw)
+ return orig(local, remote, **kw)
+ return orig(local, remote, *args, **kwargs)
if getattr(discovery, 'findoutgoing', None):
extensions.wrapfunction(discovery, 'findoutgoing', findoutgoing)
else:

@ -1,26 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/hg-git/hg-git-0.2.6.ebuild,v 1.8 2011/08/18 19:28:14 grobian Exp $
EAPI="3"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
inherit distutils
DESCRIPTION="push and pull from a Git server using Mercurial"
HOMEPAGE="http://hg-git.github.com/ http://pypi.python.org/pypi/hg-git"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86 ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND=">=dev-vcs/mercurial-1.1
>=dev-python/dulwich-0.6"
DEPEND="${RDEPEND}
dev-python/setuptools"
PYTHON_MODNAME="hggit"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/hg-git/hg-git-0.2.6-r1.ebuild,v 1.4 2012/01/15 15:21:08 phajdan.jr Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/hg-git/hg-git-0.3.2.ebuild,v 1.1 2012/02/12 12:18:31 djc Exp $
EAPI="3"
PYTHON_DEPEND="2"
@ -15,16 +15,12 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND=">=dev-vcs/mercurial-1.1
>=dev-python/dulwich-0.6"
RDEPEND=">=dev-vcs/mercurial-1.9
>=dev-python/dulwich-0.8"
DEPEND="${RDEPEND}
dev-python/setuptools"
PYTHON_MODNAME="hggit"
src_prepare() {
epatch "${FILESDIR}"/${P}-mercurial-1.9-{1,2,3,4}.patch
}

@ -1,2 +1,3 @@
DIST ffmpegsource-2.16.2.1_pre587.tar.xz 334092 RMD160 36f1ee1ff9b377caa488e3f1f12cfc1a506840b0 SHA1 b1d5360cdc227710d171450f12fc8547b06581b0 SHA256 0664164838fe3642eddfdf4d0b34de6ddc0d61771084aca2943a64a64d036d77
DIST ffms-2.16-src.tar.bz2 391101 RMD160 6aa08b3500f7145e88873006ba2bc083b36b1022 SHA1 0446375a2ec0cddee85de3b7b1c83eb5938ce8f1 SHA256 0a79d3937b901dbf3bff808e97340048a3e9c4841d893d47daab82be1bf3f7c1
DIST ffms-2.17-src.tar.bz2 394862 RMD160 ad272edff9962a9f0838362aa23ce584dfb8ac1c SHA1 3bbd5b5f13dce4374efdd3e2bf048436295e6771 SHA256 991f7a77982823afdcf0beb8961deddaf7dd0aea949249e51fbf51cb3314643d

@ -0,0 +1,37 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/ffmpegsource/ffmpegsource-2.17.ebuild,v 1.1 2012/02/12 12:15:08 maksbotan Exp $
EAPI=4
AUTOTOOLS_AUTORECONF=1
inherit autotools-utils
MY_P="ffms-${PV}-src"
DESCRIPTION="An FFmpeg based source library for easy frame accurate access"
HOMEPAGE="https://code.google.com/p/ffmpegsource/"
SRC_URI="https://ffmpegsource.googlecode.com/files/${MY_P}.tar.bz2"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="static-libs"
RDEPEND="
sys-libs/zlib
>=virtual/ffmpeg-0.9
"
DEPEND="${RDEPEND}
dev-util/pkgconfig
"
S="${WORKDIR}/${MY_P}"
src_configure() {
local myeconfargs=(
--docdir="${EPREFIX}/usr/share/doc/${PF}/html"
)
autotools-utils_src_configure
}

@ -1,10 +1,12 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/ffmpegsource/ffmpegsource-9999.ebuild,v 1.2 2011/12/23 21:01:05 maksbotan Exp $
# $Header: /var/cvsroot/gentoo-x86/media-libs/ffmpegsource/ffmpegsource-9999.ebuild,v 1.3 2012/02/12 12:15:08 maksbotan Exp $
EAPI=4
inherit autotools subversion
AUTOTOOLS_AUTORECONF=1
inherit subversion autotools-utils
DESCRIPTION="An FFmpeg based source library for easy frame accurate access"
HOMEPAGE="https://code.google.com/p/ffmpegsource/"
@ -13,7 +15,7 @@ ESVN_REPO_URI="http://ffmpegsource.googlecode.com/svn/trunk/"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
IUSE="postproc static-libs"
IUSE="static-libs"
RDEPEND="
sys-libs/zlib
@ -23,20 +25,10 @@ DEPEND="${RDEPEND}
dev-util/pkgconfig
"
src_prepare() {
eautoreconf
}
src_configure() {
econf \
--docdir="${EPREFIX}/usr/share/doc/${PF}/html" \
$(use_enable postproc) \
$(use_enable static-libs static) \
--enable-shared
}
src_install() {
default
local myeconfargs=(
--docdir="${EPREFIX}/usr/share/doc/${PF}/html"
)
use static-libs || find "${D}" -name '*.la' -delete
autotools-utils_src_configure
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/aegisub/aegisub-2.1.9.ebuild,v 1.1 2012/02/02 17:57:07 maksbotan Exp $
# $Header: /var/cvsroot/gentoo-x86/media-video/aegisub/aegisub-2.1.9.ebuild,v 1.2 2012/02/12 12:31:16 maksbotan Exp $
EAPI="4"
@ -33,7 +33,7 @@ RDEPEND="
lua? ( >=dev-lang/lua-5.1.1 )
spell? ( >=app-text/hunspell-1.2 )
ffmpeg? ( >=media-libs/ffmpegsource-2.13.1 )
ffmpeg? ( >=media-libs/ffmpegsource-2.17 )
"
DEPEND="${RDEPEND}
dev-util/intltool

@ -0,0 +1,64 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/aegisub/aegisub-2.1.9999.ebuild,v 1.1 2012/02/12 12:31:16 maksbotan Exp $
EAPI="4"
WX_GTK_VER="2.8"
inherit autotools wxwidgets subversion
DESCRIPTION="Advanced SSA/ASS subtitle editor"
HOMEPAGE="http://www.aegisub.net/"
ESVN_REPO_URI="http://svn.aegisub.org/branches/aegisub_2.1.9/aegisub/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="alsa debug +ffmpeg lua nls openal oss portaudio pulseaudio spell"
RDEPEND="
x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,debug?]
virtual/opengl
virtual/glu
>=media-libs/libass-0.9.11[fontconfig]
virtual/libiconv
>=media-libs/fontconfig-2.4.2
media-libs/freetype:2
alsa? ( media-libs/alsa-lib )
portaudio? ( =media-libs/portaudio-19* )
pulseaudio? ( media-sound/pulseaudio )
openal? ( media-libs/openal )
lua? ( >=dev-lang/lua-5.1.1 )
spell? ( >=app-text/hunspell-1.2 )
ffmpeg? ( >=media-libs/ffmpegsource-2.17 )
"
DEPEND="${RDEPEND}
dev-util/intltool
dev-util/pkgconfig
media-gfx/imagemagick
"
src_prepare() {
subversion_wc_info
echo "${ESVN_WC_REVISION}" > svn_revision
sh autogen.sh --skip-configure
eautoreconf
}
src_configure() {
econf \
$(use_with alsa) \
$(use_with oss) \
$(use_with portaudio) \
$(use_with pulseaudio) \
$(use_with openal) \
$(use_with lua) \
$(use_with ffmpeg ffms) \
$(use_with spell hunspell) \
$(use_enable debug) \
$(use_enable nls)
}

@ -7,7 +7,7 @@ http://www.tivoli.com/
as-is Apache-1.1 JDOM gSOAP
Tivoli Storage Manager (TSM) Backup/Archive (B/A) Client and API
~x86 ~amd64
eutils multilib portability rpm toolchain-funcs user versionator
eutils multilib pax-utils portability rpm toolchain-funcs user versionator
hsm linguas_cs linguas_de linguas_es linguas_fr linguas_hu linguas_it linguas_ja linguas_ko linguas_pl linguas_pt linguas_ru linguas_zh linguas_zh_TW

@ -0,0 +1,22 @@
vim-syntax? ( app-editors/vim ) emacs? ( virtual/emacs )
vim-syntax? ( app-editors/vim ) emacs? ( virtual/emacs )
0
http://isaacproject.u-strasbg.fr/download/lisaac-0.13.1.tar.gz
http://isaacproject.u-strasbg.fr/li.html
GPL-3
Lisaac is an object prototype based language
~amd64 ~x86
elisp-common eutils multilib portability toolchain-funcs user versionator
vim-syntax emacs examples
4
compile install postinst postrm prepare

@ -1,12 +1,12 @@
dev-python/setuptools >=app-admin/eselect-python-20091230 =dev-lang/python-2*
>=app-admin/eselect-python-20091230 =dev-lang/python-2*
>=app-admin/eselect-python-20091230 =dev-lang/python-2*
0
mirror://pypi/s/simplejson/simplejson-2.1.6.tar.gz
mirror://pypi/s/simplejson/simplejson-2.3.2.tar.gz
http://undefined.org/python/#simplejson http://pypi.python.org/pypi/simplejson
MIT
Simple, fast, extensible JSON encoder/decoder for Python
amd64 ~arm ppc ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos
~amd64 ~arm ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos
distutils multilib python toolchain-funcs

@ -1,22 +0,0 @@
>=dev-vcs/mercurial-1.1 >=dev-python/dulwich-0.6 dev-python/setuptools >=app-admin/eselect-python-20091230 =dev-lang/python-2*
>=dev-vcs/mercurial-1.1 >=dev-python/dulwich-0.6 >=app-admin/eselect-python-20091230 =dev-lang/python-2*
0
mirror://pypi/h/hg-git/hg-git-0.2.6.tar.gz
http://hg-git.github.com/ http://pypi.python.org/pypi/hg-git
GPL-2
push and pull from a Git server using Mercurial
amd64 ~ppc x86 ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris
distutils multilib python toolchain-funcs
3
compile install postinst postrm prepare

@ -1,12 +1,12 @@
>=dev-vcs/mercurial-1.1 >=dev-python/dulwich-0.6 dev-python/setuptools >=app-admin/eselect-python-20091230 =dev-lang/python-2*
>=dev-vcs/mercurial-1.1 >=dev-python/dulwich-0.6 >=app-admin/eselect-python-20091230 =dev-lang/python-2*
>=dev-vcs/mercurial-1.9 >=dev-python/dulwich-0.8 dev-python/setuptools >=app-admin/eselect-python-20091230 =dev-lang/python-2*
>=dev-vcs/mercurial-1.9 >=dev-python/dulwich-0.8 >=app-admin/eselect-python-20091230 =dev-lang/python-2*
0
mirror://pypi/h/hg-git/hg-git-0.2.6.tar.gz
mirror://pypi/h/hg-git/hg-git-0.3.2.tar.gz
http://hg-git.github.com/ http://pypi.python.org/pypi/hg-git
GPL-2
push and pull from a Git server using Mercurial
amd64 ~ppc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris
~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
distutils eutils multilib portability python toolchain-funcs user

@ -0,0 +1,22 @@
sys-libs/zlib >=virtual/ffmpeg-0.9 dev-util/pkgconfig || ( =sys-devel/automake-1.11* ) >=sys-devel/autoconf-2.61 sys-devel/libtool
sys-libs/zlib >=virtual/ffmpeg-0.9
0
https://ffmpegsource.googlecode.com/files/ffms-2.17-src.tar.bz2
https://code.google.com/p/ffmpegsource/
MIT
An FFmpeg based source library for easy frame accurate access
~amd64 ~x86
autotools autotools-utils eutils libtool multilib portability toolchain-funcs user
static-libs
4
compile configure install prepare test

@ -1,4 +1,4 @@
sys-libs/zlib >=virtual/ffmpeg-0.9 dev-util/pkgconfig || ( =sys-devel/automake-1.11* ) >=sys-devel/autoconf-2.61 sys-devel/libtool dev-vcs/subversion net-misc/rsync
sys-libs/zlib >=virtual/ffmpeg-0.9 dev-util/pkgconfig dev-vcs/subversion net-misc/rsync || ( =sys-devel/automake-1.11* ) >=sys-devel/autoconf-2.61 sys-devel/libtool
sys-libs/zlib >=virtual/ffmpeg-0.9
0
@ -7,14 +7,14 @@ https://code.google.com/p/ffmpegsource/
MIT
An FFmpeg based source library for easy frame accurate access
autotools eutils libtool multilib portability subversion toolchain-funcs user
postproc static-libs
autotools autotools-utils eutils libtool multilib portability subversion toolchain-funcs user
static-libs
4
configure install preinst prepare unpack
compile configure install preinst prepare test unpack

@ -1,7 +1,7 @@
>=net-firewall/iptables-1.4.6 sys-apps/lsb-release >=sys-kernel/linux-headers-2.6.31 sys-apps/util-linux
>=net-firewall/iptables-1.4.6 sys-apps/lsb-release >=sys-kernel/linux-headers-2.6.31
0
http://miniupnp.free.fr/files/miniupnpd-1.6.20111118.tar.gz
http://miniupnp.free.fr/files/miniupnpd-1.6.20120207.tar.gz
http://miniupnp.free.fr/
BSD

@ -12,9 +12,9 @@ base eutils multilib portability python toolchain-funcs user waf-utils
3
4
compile configure install prepare setup unpack
compile configure install postinst postrm prepare setup unpack

@ -0,0 +1,22 @@
>=dev-lang/python-2.4.2 >=sys-libs/talloc-2.0.6[python] dev-util/pkgconfig >=app-admin/eselect-python-20091230 =dev-lang/python-2*
>=dev-lang/python-2.4.2 >=sys-libs/talloc-2.0.6[python] >=app-admin/eselect-python-20091230 =dev-lang/python-2*
0
http://samba.org/ftp/tevent/tevent-0.9.15.tar.gz
http://tevent.samba.org/
GPL-3
Samba tevent library
~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd
base eutils multilib portability python toolchain-funcs user waf-utils
4
compile configure install postinst postrm prepare setup unpack

@ -0,0 +1,22 @@
dev-python/setuptools dev-python/docutils dev-python/genshi dev-python/pygments dev-python/pytz i18n? ( >=dev-python/Babel-0.9.5 ) cgi? ( virtual/httpd-cgi ) fastcgi? ( virtual/httpd-fastcgi ) mysql? ( dev-python/mysql-python ) postgres? ( >=dev-python/psycopg-2 ) sqlite? ( >=dev-db/sqlite-3.3.4 || ( dev-lang/python:2.7[sqlite] dev-lang/python:2.6[sqlite] dev-lang/python:2.5[sqlite] >=dev-python/pysqlite-2.3.2 ) ) subversion? ( dev-vcs/subversion[python] ) >=app-admin/eselect-python-20091230 =dev-lang/python-2* >=app-admin/webapp-config-1.50.15
dev-python/setuptools dev-python/docutils dev-python/genshi dev-python/pygments dev-python/pytz i18n? ( >=dev-python/Babel-0.9.5 ) cgi? ( virtual/httpd-cgi ) fastcgi? ( virtual/httpd-fastcgi ) mysql? ( dev-python/mysql-python ) postgres? ( >=dev-python/psycopg-2 ) sqlite? ( >=dev-db/sqlite-3.3.4 || ( dev-lang/python:2.7[sqlite] dev-lang/python:2.6[sqlite] dev-lang/python:2.5[sqlite] >=dev-python/pysqlite-2.3.2 ) ) subversion? ( dev-vcs/subversion[python] ) >=app-admin/eselect-python-20091230 =dev-lang/python-2* >=app-admin/webapp-config-1.50.15
0
http://ftp.edgewall.com/pub/trac/Trac-0.12.3.tar.gz
http://trac.edgewall.com/
BSD
Trac is a minimalistic web-based project management, wiki and bug/issue tracking system.
~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd
distutils eutils multilib portability python toolchain-funcs user webapp
cgi fastcgi i18n mysql postgres +sqlite subversion vhosts
2
compile install postinst postrm prepare prerm setup test

@ -1 +1 @@
Sun, 12 Feb 2012 11:36:47 +0000
Sun, 12 Feb 2012 12:36:47 +0000

@ -1 +1 @@
Sun, 12 Feb 2012 11:36:47 +0000
Sun, 12 Feb 2012 12:36:47 +0000

@ -1 +1 @@
Sun, 12 Feb 2012 11:36:49 +0000
Sun, 12 Feb 2012 12:36:49 +0000

@ -1 +1 @@
Sun Feb 12 11:36:47 UTC 2012
Sun Feb 12 12:36:47 UTC 2012

@ -1 +1 @@
Sun, 12 Feb 2012 12:00:01 +0000
Sun, 12 Feb 2012 13:00:01 +0000

@ -1 +1 @@
1329046501 Sun Feb 12 11:35:01 2012 UTC
1329050101 Sun Feb 12 12:35:01 2012 UTC

@ -1,2 +1,2 @@
DIST miniupnpd-1.6.20111118.tar.gz 125683 RMD160 18c00f718f7fc3a784e599c049046648c262183f SHA1 091cd4a729257e8085ab930b580453e16d94fb2d SHA256 73495d9a51268b0aea2cd61b6d9abc59f8532baa858bc26419849e01ac1f0c8b
DIST miniupnpd-1.6.20120207.tar.gz 127425 RMD160 e9b29271d64d56147e5c072c2f5f94b24924f63f SHA1 7bc5d40ec51b9396d35be95df652087ee0a67322 SHA256 3bf2cb71d50ae38f62aa4ae79bd02f3d3f85e866b905b3ab396a1b7e242cd908
DIST miniupnpd-1.6.tar.gz 124917 RMD160 11ef50d02983d19e7d6eaa07eea5eb77f76cce04 SHA1 d8469ba820487fcbf5260556ec2974dd9db69f40 SHA256 a26744025038a207d96a2dce96aa76db095886eb68dee87321b9da55cb1c8585

@ -1,36 +0,0 @@
diff -aurp netfilter/iptables_init_and_clean.sh netfilter/iptables_init_and_clean.sh
--- netfilter/iptables_init_and_clean.sh 2011-12-28 14:48:58.207334111 +0000
+++ netfilter/iptables_init_and_clean.sh 2011-12-28 14:50:31.982327230 +0000
@@ -5,7 +5,7 @@
EXTIF=eth0
IPTABLES=/sbin/iptables
-EXTIP="`LC_ALL=C /sbin/ifconfig $EXTIF | grep 'inet addr' | awk '{print $2}' | sed -e 's/.*://'`"
+EXTIP="`LC_ALL=C /sbin/ifconfig $EXTIF | grep 'inet ' | awk '{print $2}' | sed -e 's/.*://'`"
NDIRTY="`LC_ALL=C /sbin/iptables -t nat -L -n | grep 'MINIUPNPD' | awk '{printf $1}'`"
FDIRTY="`LC_ALL=C /sbin/iptables -t filter -L -n | grep 'MINIUPNPD' | awk '{printf $1}'`"
echo "External IP = $EXTIP"
diff -aurp netfilter/iptables_init.sh netfilter/iptables_init.sh
--- netfilter/iptables_init.sh 2011-12-28 14:48:58.207334111 +0000
+++ netfilter/iptables_init.sh 2011-12-28 14:50:41.214329654 +0000
@@ -4,7 +4,7 @@ IPTABLES=/sbin/iptables
#change this parameters :
EXTIF=eth0
-EXTIP="`LC_ALL=C /sbin/ifconfig $EXTIF | grep 'inet addr' | awk '{print $2}' | sed -e 's/.*://'`"
+EXTIP="`LC_ALL=C /sbin/ifconfig $EXTIF | grep 'inet ' | awk '{print $2}' | sed -e 's/.*://'`"
echo "External IP = $EXTIP"
#adding the MINIUPNPD chain for nat
diff -aurp netfilter/iptables_removeall.sh netfilter/iptables_removeall.sh
--- netfilter/iptables_removeall.sh 2011-12-28 14:48:58.207334111 +0000
+++ netfilter/iptables_removeall.sh 2011-12-28 14:50:47.822327499 +0000
@@ -4,7 +4,7 @@ IPTABLES=/sbin/iptables
#change this parameters :
EXTIF=eth0
-EXTIP="`LC_ALL=C /sbin/ifconfig $EXTIF | grep 'inet addr' | awk '{print $2}' | sed -e 's/.*://'`"
+EXTIP="`LC_ALL=C /sbin/ifconfig $EXTIF | grep 'inet ' | awk '{print $2}' | sed -e 's/.*://'`"
#removing the MINIUPNPD chain for nat
$IPTABLES -t nat -F MINIUPNPD

@ -1,11 +1,11 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/miniupnpd-1.7_pre20111118.ebuild,v 1.1 2011/12/28 14:58:45 gurligebis Exp $
# $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/miniupnpd-1.7_pre20120207.ebuild,v 1.1 2012/02/12 11:59:19 gurligebis Exp $
EAPI=2
inherit eutils toolchain-funcs
MY_PV=1.6.20111118
MY_PV=1.6.20120207
S="${WORKDIR}/${PN}-${MY_PV}"
DESCRIPTION="MiniUPnP IGD Daemon"
@ -26,7 +26,6 @@ DEPEND="${RDEPEND}
src_prepare() {
mv Makefile.linux Makefile
epatch "${FILESDIR}/${PN}-nettools_newoutput.patch"
sed -i \
-e "s#^CFLAGS = .*-D#CPPFLAGS += -I/usr/include -D#" \
-e '/^CFLAGS :=/s/CFLAGS/CPPFLAGS/g' \

@ -1,5 +1,5 @@
####################################################################
# $Header: /var/cvsroot/gentoo-x86/profiles/package.mask,v 1.13480 2012/02/12 11:21:09 pacho Exp $
# $Header: /var/cvsroot/gentoo-x86/profiles/package.mask,v 1.13481 2012/02/12 11:38:07 pacho Exp $
#
# When you add an entry to the top of this file, add your name, the date, and
# an explanation of why something is getting masked. Please be extremely
@ -31,6 +31,16 @@
#--- END OF EXAMPLES ---
# Pacho Ramos <pacho@gentoo.org> (12 Feb 2012)
# Unmaintained for a long time, dead upstream and crashes,
# bug #214545. Removal in 30 days.
x11-terms/wterm
# Pacho Ramos <pacho@gentoo.org> (12 Feb 2012)
# Unmaintained for a long time, fails to start, bug #223783.
# Removal in 30 days.
dev-lang/cm3-bin
# Pacho Ramos <pacho@gentoo.org> (12 Feb 2012)
# Completely unmaintained, broken and with different bugs
# opened. Use kernel drivers instead or go ahead to maintain

@ -1,2 +1,3 @@
DIST tevent-0.9.12.tar.gz 436380 RMD160 2e657afb043073d1d179a071df4340c39ae2ccbf SHA1 70681427f9038fbb60e6a845721d8c2681f73127 SHA256 b0f6822bb882b6d6f03f92fd6ed051178b9807ddf4f773fe3fcf2b1a3112ea9e
DIST tevent-0.9.14.tar.gz 434393 RMD160 87211b3f1abea4ff48b05fa196d6fda70085f1c9 SHA1 85aa3a6cc9a8e6a1c9f2e67117398ed6724a0ed5 SHA256 52f085f8177ebbe5b60d2dcc1d72a4630aeb4da792ec37fc4ea56974e2927a75
DIST tevent-0.9.15.tar.gz 484269 RMD160 0692fda5799856dd8f37b0841fa348bdb7bef685 SHA1 48fedbb14a7b95fa023fd2891300dcaabc73a79a SHA256 2b32ad8b26a5fe2666992615858f9ebe38edac9c50fb2348288ab499d1f2c245

@ -0,0 +1,32 @@
--- /dev/null
+++ /tevent.py
@@ -0,0 +1,29 @@
+#!/usr/bin/python
+#
+# Python integration for tevent
+#
+# Copyright (C) Jelmer Vernooij 2011
+#
+# ** NOTE! The following LGPL license applies to the tevent
+# ** library. This does NOT imply that all of Samba is released
+# ** under the LGPL
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 3 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, see <http://www.gnu.org/licenses/>.
+
+from _tevent import (
+ __version__,
+ backend_list,
+ Context,
+ Signal,
+ )

@ -0,0 +1,32 @@
--- /dev/null
+++ b/tevent.py
@@ -0,0 +1,29 @@
+#!/usr/bin/python
+#
+# Python integration for tevent
+#
+# Copyright (C) Jelmer Vernooij 2011
+#
+# ** NOTE! The following LGPL license applies to the tevent
+# ** library. This does NOT imply that all of Samba is released
+# ** under the LGPL
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 3 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, see <http://www.gnu.org/licenses/>.
+
+from _tevent import (
+ __version__,
+ backend_list,
+ Context,
+ Signal,
+ )

@ -0,0 +1,27 @@
--- a/pytevent.c
+++ b/pytevent.c
@@ -761,4 +761,6 @@ void init_tevent(void)
Py_INCREF(&TeventFd_Type);
PyModule_AddObject(m, "Fd", (PyObject *)&TeventFd_Type);
+
+ PyModule_AddObject(m, "__version__", PyString_FromString(PACKAGE_VERSION));
}
--- a/wscript
+++ b/wscript
@@ -92,7 +92,14 @@
'pytevent.c',
deps='tevent',
enabled=True,
- realname='_tevent.so')
+ realname='_tevent.so',
+ cflags='-DPACKAGE_VERSION=\"%s\"' % VERSION)
+ # install out various python scripts for use by make test
+ bld.SAMBA_SCRIPT('tevent_python',
+ pattern='tevent.py',
+ installdir='python')
+
+ bld.INSTALL_WILDCARD('${PYTHONDIR}', 'tevent.py', flat=False)
def test(ctx):

@ -1,8 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-libs/tevent/tevent-0.9.14.ebuild,v 1.2 2011/10/31 16:02:11 vostorga Exp $
# $Header: /var/cvsroot/gentoo-x86/sys-libs/tevent/tevent-0.9.14-r1.ebuild,v 1.1 2012/02/12 12:28:08 maksbotan Exp $
EAPI=3
EAPI=4
PYTHON_DEPEND="2"
inherit waf-utils python
@ -22,9 +22,25 @@ RDEPEND=">=dev-lang/python-2.4.2
DEPEND="${RDEPEND}
dev-util/pkgconfig"
PATCHES=( "${FILESDIR}"/add-py-file-${PV}.patch
"${FILESDIR}"/tevent-version.patch )
WAF_BINARY="${S}/buildtools/bin/waf"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_install() {
waf-utils_src_install
insinto $(python_get_sitedir)
doins tevent.py
}
pkg_postinst() {
python_mod_optimize tevent.py
}
pkg_postrm() {
python_mod_cleanup tevent.py
}

@ -0,0 +1,45 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-libs/tevent/tevent-0.9.15.ebuild,v 1.1 2012/02/12 11:43:28 maksbotan Exp $
EAPI=4
PYTHON_DEPEND="2"
inherit waf-utils python
DESCRIPTION="Samba tevent library"
HOMEPAGE="http://tevent.samba.org/"
SRC_URI="http://samba.org/ftp/tevent/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd"
IUSE=""
RDEPEND=">=dev-lang/python-2.4.2
>=sys-libs/talloc-2.0.6[python]"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
WAF_BINARY="${S}/buildtools/bin/waf"
PATCHES=( "${FILESDIR}"/add-py-file.patch )
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_install() {
waf-utils_src_install
insinto $(python_get_sitedir)
doins tevent.py
}
pkg_postinst() {
python_mod_optimize tevent.py
}
pkg_postrm() {
python_mod_cleanup tevent.py
}

@ -1 +1,2 @@
DIST Trac-0.12.2.tar.gz 2208361 RMD160 317d5792976bc4c048cbac2a831398e976251110 SHA1 95ca75b54abfd5a3d838f300c19ef8dbd125f08d SHA256 c5b41da9a2a1464f9f5a42f8624b3a9cf3cb96f8ffbbdb17bf3cb01b06280ec6
DIST Trac-0.12.3.tar.gz 2239934 RMD160 f7d828952f3e693140711e83dc5b543442b015e8 SHA1 3d272d6802bd2591f2ae024f7beaafa26499816f SHA256 0eefacc5ebb91158ed7351b8f9b2eec7f45ce03b692bdc72a3c8061951174506

@ -0,0 +1,115 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/trac-0.12.3.ebuild,v 1.1 2012/02/12 12:04:03 djc Exp $
EAPI="2"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
inherit distutils eutils webapp
MY_PV=${PV/_beta/b}
MY_P=Trac-${MY_PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Trac is a minimalistic web-based project management, wiki and bug/issue tracking system."
HOMEPAGE="http://trac.edgewall.com/"
LICENSE="BSD"
SRC_URI="http://ftp.edgewall.com/pub/trac/${MY_P}.tar.gz"
IUSE="cgi fastcgi i18n mysql postgres +sqlite subversion"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
# doing so because tools, python packages... overlap
SLOT="0"
WEBAPP_MANUAL_SLOT="yes"
RDEPEND="
dev-python/setuptools
dev-python/docutils
dev-python/genshi
dev-python/pygments
dev-python/pytz
i18n? ( >=dev-python/Babel-0.9.5 )
cgi? ( virtual/httpd-cgi )
fastcgi? ( virtual/httpd-fastcgi )
mysql? ( dev-python/mysql-python )
postgres? ( >=dev-python/psycopg-2 )
sqlite? (
>=dev-db/sqlite-3.3.4
|| ( dev-lang/python:2.7[sqlite] dev-lang/python:2.6[sqlite] dev-lang/python:2.5[sqlite] >=dev-python/pysqlite-2.3.2 )
)
subversion? ( dev-vcs/subversion[python] )
"
DEPEND="${RDEPEND}"
RESTRICT_PYTHON_ABIS="3.*"
pkg_setup() {
python_pkg_setup
webapp_pkg_setup
if ! use mysql && ! use postgres && ! use sqlite; then
eerror "You must select at least one database backend, by enabling"
eerror "at least one of the 'mysql', 'postgres' or 'sqlite' USE flags."
die "no database backend selected"
fi
enewgroup tracd
enewuser tracd -1 -1 -1 tracd
}
src_test() {
testing() {
PYTHONPATH=. "$(PYTHON)" trac/test.py
}
python_execute_function testing
if use i18n; then
make check
fi
}
# 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_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
cp -r contrib "${D}"/usr/share/doc/${P}/
# tracd init script
newconfd "${FILESDIR}"/tracd.confd tracd
newinitd "${FILESDIR}"/tracd.initd tracd
if use cgi; then
cp cgi-bin/trac.cgi "${D}"/${MY_CGIBINDIR} || die
fi
if use fastcgi; then
cp cgi-bin/trac.fcgi "${D}"/${MY_CGIBINDIR} || die
fi
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() {
distutils_pkg_postinst
webapp_pkg_postinst
}
Loading…
Cancel
Save