public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/R_overlay:master commit in: /, config/
@ 2013-07-11 16:29 André Erdmann
  2013-07-11 16:44 ` [gentoo-commits] proj/R_overlay:gsoc13/next " André Erdmann
  0 siblings, 1 reply; 2+ messages in thread
From: André Erdmann @ 2013-07-11 16:29 UTC (permalink / raw
  To: gentoo-commits

commit:     7b93751adc82a0fe1d81090cda983d8d1cf88f39
Author:     André Erdmann <dywi <AT> mailerd <DOT> de>
AuthorDate: Thu Jul 11 16:27:34 2013 +0000
Commit:     André Erdmann <dywi <AT> mailerd <DOT> de>
CommitDate: Thu Jul 11 16:28:08 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=7b93751a

update config/R-overlay.conf.install

generated file

Create necessary dirs during src_install() in the ebuild.

---
 config/R-overlay.conf.install | 118 ++++++++++++++++++++++++++++++------------
 roverlay-9999.ebuild          |   4 ++
 2 files changed, 90 insertions(+), 32 deletions(-)

diff --git a/config/R-overlay.conf.install b/config/R-overlay.conf.install
index bdaff19..9f4fb53 100644
--- a/config/R-overlay.conf.install
+++ b/config/R-overlay.conf.install
@@ -1,56 +1,110 @@
 # R-overlay.conf
-# This is the default config file for roverlay installations
+#  This is roverlay's main config file
+#
 
 # --- Required Configuration ---
 
-# DISTFILES has to be set
-# this is the directory where per-repo package directories will be created
-#DISTFILES="~/roverlay/distfiles"
+# this is the directory where per-repo package directories will be
+#  created
+DISTFILES="~/roverlay/distfiles"
 
-# OVERLAY_DIR has to be set
 # this is the directory of the overlay to be created/maintained
-#OVERLAY_DIR="~/roverlay/overlay"
+OVERLAY_DIR="~/roverlay/overlay"
 
-# DISTDIR has to be set
-# this is the directory where hard/symbolic links
-# to all package files will be created
-# (during Manifest file creation)
-#DISTDIR="~/roverlay/distdir"
+# this is the directory where hard/symbolic links to all package files
+#  will be created (during Manifest file creation)
+DISTDIR="~/roverlay/distdir"
 
-# LOG_FILE should be set
-#LOG_FILE="~/roverlay/log/roverlay.log"
+LOG_FILE="~/roverlay/log/roverlay.log"
 
-# ---
+# directory for cache data
+CACHEDIR="~/roverlay/cache"
 
-# Not required but ebuilds won't be functional without the eclass
-OVERLAY_ECLASS = /etc/roverlay/eclass/R-packages.eclass
+# portage directory
+#  used to scan for valid licenses
+PORTDIR="/usr/portage"
+
+
+# --- Logging Configuration (optional) ---
 
-#LOG_LEVEL = WARNING
-#LOG_LEVEL_CONSOLE = INFO
-#LOG_LEVEL_FILE = ERROR
+# global log level, choices are ERROR, CRITICAL, WARNING, INFO, DEBUG,
+#  WARN.
+#LOG_LEVEL="WARNING"
+
+#LOG_LEVEL_CONSOLE="INFO"
+#LOG_LEVEL_FILE="ERROR"
 
 # this enables per-run log files
-#LOG_FILE_ROTATE = yes
+#LOG_FILE_ROTATE="yes"
 
 # number of backup log files to keep
-#LOG_FILE_ROTATE_COUNT = 5
+#LOG_FILE_ROTATE_COUNT="5"
 
-# using the default field definition file
-FIELD_DEFINITION  = /etc/roverlay/description_fields.conf
 
-# using the default repo list
-REPO_CONFIG       = /etc/roverlay/repo.list
+# --- Other Configuration Options ---
 
+# directory containing ebuilds and ebuild patches
+ADDITIONS_DIR="/etc/roverlay/files"
+
+# file for renaming USE_EXPAND flags
+#USE_EXPAND_RENAME="/etc/roverlay/files/use_expand.rename"
+
+# USE_EXPAND flag description file
+#USE_EXPAND_DESC="/etc/roverlay/file/use_expand.desc"
+
+# list of dependency rule files
 # using the default dependency rule files
 # Can be extended by appending other directories/files
-SIMPLE_RULES_FILE = "/etc/roverlay/simple-deprules.d"
-#SIMPLE_RULES_FILE = "/etc/roverlay/simple-deprules.d ~/roverlay/config/deprules.d"
+SIMPLE_RULES_FILE="/etc/roverlay/simple-deprules.d"
+
+# list of package rule files/dirs
+PACKAGE_RULES="/etc/roverlay/package-rules.d"
+
+# script that is run on certain events, e.g. overlay_success
+EVENT_HOOK="/usr/share/roverlay/hooks/mux.sh"
+
+# mask for running hooks
+#  Defaults to "*" (allow all).
+#EVENT_HOOK_RESTRICT="-* overlay_success"
+
+# dictionary file for translating license strings
+LICENSE_MAP="/etc/roverlay/license.map"
+
+# Not required but ebuilds won't be functional without the eclass
+OVERLAY_ECLASS="/usr/share/roverlay/eclass/R-packages.eclass"
+
+# default category for created ebuilds
+#  Defaults to "sci-R".
+#OVERLAY_CATEGORY="sci-R"
+
+# using the default repo list
+REPO_CONFIG="/etc/roverlay/repo.list"
+
+# using the default field definition file
+FIELD_DEFINITION="/etc/roverlay/description_fields.conf"
 
 # using the default distdir strategy
 #  try hard links first, then fall back to symbolic ones
-DISTDIR_STRATEGY  = "hardlink symlink"
+DISTDIR_STRATEGY="hardlink symlink"
+
+# check integrity of distdir files on startup
+#  usually not needed
+#DISTDIR_VERIFY="no"
+
+# distmap compression format (none, bzip2 or gzip)
+#  Defaults to "bzip2".
+#DISTMAP_COMPRESSION="bzip2"
+
+# distmap file
+#  Defaults to "<CACHEDIR>/distmap.db".
+#DISTMAP_FILE=""
+
+# forbid/allow syncing with remotes
+#  Defaults to "no".
+#NOSYNC="yes"
 
-# whether to create per-package subdirectories in DISTDIR
-# ("flat" - false) or not (true)
-# The default value is true.
-#DISTDIR_FLAT = yes
+# Manifest file creation
+#  Available choices are 'next' (internal, fast)
+#  and 'ebuild' (using ebuild(1), slow, but failsafe).
+#  Defaults to "next".
+#MANIFEST_IMPLEMENTATION="ebuild"

diff --git a/roverlay-9999.ebuild b/roverlay-9999.ebuild
index 639fdd3..bcc4cec 100644
--- a/roverlay-9999.ebuild
+++ b/roverlay-9999.ebuild
@@ -55,4 +55,8 @@ python_install_all() {
 		install-data $(usex bzip2 install-config{-compressed,})
 
 	dohtml doc/html/*
+
+	# roverlay expects these directories to exist
+	#  (due to the default config file)
+	keepdir /etc/${PN}/{files,package-rules.d}
 }


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-11 16:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-11 16:29 [gentoo-commits] proj/R_overlay:master commit in: /, config/ André Erdmann
2013-07-11 16:44 ` [gentoo-commits] proj/R_overlay:gsoc13/next " André Erdmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox