diff options
author | 2012-08-10 17:15:50 +0200 | |
---|---|---|
committer | 2012-08-10 17:15:50 +0200 | |
commit | acb6be3fc50c10a4fca6634e8076d31e39ab496d (patch) | |
tree | c328fb57e36b4f341718de02968015b67c8a2d6c /roverlay-9999.ebuild | |
parent | pkglist websync: expand ~ in paths (diff) | |
download | R_overlay-acb6be3fc50c10a4fca6634e8076d31e39ab496d.tar.gz R_overlay-acb6be3fc50c10a4fca6634e8076d31e39ab496d.tar.bz2 R_overlay-acb6be3fc50c10a4fca6634e8076d31e39ab496d.zip |
ebuild: use /etc, add USE=bzip2
Diffstat (limited to 'roverlay-9999.ebuild')
-rw-r--r-- | roverlay-9999.ebuild | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/roverlay-9999.ebuild b/roverlay-9999.ebuild index e142d63..357665b 100644 --- a/roverlay-9999.ebuild +++ b/roverlay-9999.ebuild @@ -3,8 +3,8 @@ # $Header: $ EAPI="4" -# python3_1 is probably supported, too (<2.7 is not) -PYTHON_COMPAT="python2_7 python3_2" +# python < 2.7 is not supported +PYTHON_COMPAT="python2_7 python3_1 python3_2" inherit base python-distutils-ng git-2 @@ -16,7 +16,7 @@ SRC_URI="" LICENSE="GPL" SLOT="0" -IUSE="" +IUSE="bzip2" KEYWORDS="" @@ -25,20 +25,26 @@ RDEPEND="${DEPEND:-} dev-python/argparse " +_CONFDIR=/etc/${PN} + python_prepare_all() { + if use bzip2; then + einfo "USE=bzip2: Compressing dependency rule files" + bzip2 simple-deprules.d/* || die "Cannot compress dependency rules!" + fi + sed -f misc/sed_expression_roverlay_installed roverlay.py -i || \ + die "sed expression, roverlay.py" base_src_prepare } python_install_all() { - insinto "/usr/share/${PN}" - doins config/description_fields.conf config/R-overlay.conf repo.list - if [[ -e "R-overlay.conf.install" ]]; then - newins R-overlay.conf.install R-overlay.conf.quickstart - else - newins R-overlay.conf R-overlay.conf.quickstart - fi + newbin roverlay.py roverlay - doman man/?*.?* + insinto "${_CONFDIR}" + doins config/description_fields.conf repo.list + doins -r simple-deprules.d/ + newins R-overlay.conf.install R-overlay.conf - newbin roverlay.py roverlay + doman doc/man/*.* + dohtml doc/html/* } |