setup for the sunrise overlay

First, the section for the repo as such

We reference a eclass section here so be careful if you only copy this ;)

[/home/jokey/gentoo/sunrise/sunrise]
class=pkgcore.ebuild.repository.SlavedTree
eclass_cache=portdir-eclass-cache
default_mirrors='ftp://ftp.gentoo.mesh-solutions.com/gentoo/distfiles'
location=/home/jokey/gentoo/sunrise/sunrise
parent_repo=portdir

Second, the eclasses to use

Here's the referenced eclass list. We just use the ones from portdir as sunrise doesn't allow own eclasses and we don't need to add that

[portdir-eclass-cache]
class=pkgcore.ebuild.eclass_cache.cache
path=/usr/portage/eclass
portdir=/usr/portage

select only some QA checks to run

first we define it as a suite as they're preffered over paths

[sunrise-suite]
class=pkgcore_checks.base.Suite
target_repo=/home/jokey/gentoo/sunrise/sunrise
src_repo=portdir
checkset=sunrise-blacklist

then we actually define which tests we don't want to run

[sunrise-blacklist]
class=pkgcore_checks.base.Blacklist
patterns=unstable_only stale_unstable imlate

Now we can just run "pcheck" in the dir and everything else is figured as needed

fully featured config for an overlay with pmaint sync support

Note: Sync needs pkgcore >= 0.2 to work

[/usr/portage/local/layman/xeffects]
class=pkgcore.ebuild.repository.SlavedTree
cache=xeffects-cache
eclass_cache=xeffects-eclass-cache
default_mirrors='ftp://ftp.gentoo.mesh-solutions.com/gentoo/distfiles'
location=/usr/portage/local/layman/xeffects
parent_repo=portdir
sync=xeffects-syncer

[xeffects-cache]
class=pkgcore.cache.flat_hash.database
auxdbkeys='DEPEND' 'RDEPEND' 'SLOT' 'SRC_URI' 'RESTRICT' 'HOMEPAGE' 'LICENSE' 'DESCRIPTION' 'KEYWORDS' 'INHERITED' 'IUSE' 'PDEPEND' 'PROVIDE' '_mtime_' '_eclasses_'
label=/usr/portage/local/layman/xeffects
location=/var/cache/edb/dep

[xeffects-eclass-cache]
class=pkgcore.ebuild.eclass_cache.cache
path=/usr/portage/local/layman/xeffects/eclass
portdir=/usr/portage

[xeffects-syncer]
class=pkgcore.sync.svn.svn_syncer
path=/usr/portage/local/layman/xeffects
uri=http+svn://svn.gentoo-xeffects.org:80/xeffects/trunk