You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/eclass
root 80940a28ec
Sync with portage [Wed Feb 22 21:34:36 MSK 2017].
8 years ago
..
ELT-patches Sync with portage [Wed Feb 22 13:14:33 MSK 2017]. 8 years ago
tests Sync with portage [Fri Feb 10 08:40:47 MSK 2017]. 8 years ago
alternatives.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
ant-tasks.eclass Sync with portage [Tue Oct 6 09:23:20 MSK 2015]. 9 years ago
apache-2.eclass Sync with portage [Thu Dec 29 08:38:38 MSK 2016]. 8 years ago
apache-module.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
aspell-dict.eclass Sync with portage [Fri Dec 2 09:42:24 MSK 2016]. 8 years ago
autotools-multilib.eclass Sync with portage [Sun Nov 15 12:02:19 MSK 2015]. 9 years ago
autotools-utils.eclass Sync with portage [Sun Nov 15 12:02:19 MSK 2015]. 9 years ago
autotools.eclass Sync with portage [Sat Oct 17 22:12:47 MSK 2015]. 9 years ago
base.eclass Sync with portage [Sun Nov 15 12:02:19 MSK 2015]. 9 years ago
bash-completion-r1.eclass Sync with portage [Mon Nov 30 08:40:19 MSK 2015]. 9 years ago
bitcoincore.eclass Sync with portage [Tue Jan 24 17:00:44 MSK 2017]. 8 years ago
bsdmk.eclass Sync with portage [Wed Oct 12 08:55:01 MSK 2016]. 8 years ago
bzr.eclass Sync with portage [Sat Jan 21 21:36:16 MSK 2017]. 8 years ago
cannadic.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
cargo.eclass Sync with portage [Mon Feb 13 11:20:00 MSK 2017]. 8 years ago
cdrom.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
check-reqs.eclass Sync with portage [Sun Jan 3 01:46:27 MSK 2016]. 9 years ago
chromium-2.eclass Sync with portage [Wed Sep 7 11:42:20 MSK 2016]. 8 years ago
chromium.eclass Sync with portage [Tue Aug 16 08:50:44 MSK 2016]. 8 years ago
cmake-multilib.eclass Sync with portage [Wed Feb 24 08:54:36 MSK 2016]. 9 years ago
cmake-utils.eclass Sync with portage [Tue Feb 7 12:44:31 MSK 2017]. 8 years ago
common-lisp-3.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
common-lisp-common.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
common-lisp.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
confutils.eclass Sync with portage [Wed Feb 22 13:14:33 MSK 2017]. 8 years ago
cron.eclass Sync with portage [Fri Sep 25 22:18:01 MSK 2015]. 9 years ago
cuda.eclass Sync with portage [Tue Jan 3 18:37:47 MSK 2017]. 8 years ago
cvs.eclass Sync with portage [Wed Nov 11 09:15:41 MSK 2015]. 9 years ago
darcs.eclass Sync with portage [Sun Oct 25 20:28:54 MSK 2015]. 9 years ago
db-use.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
db.eclass Sync with portage [Wed Nov 11 09:15:41 MSK 2015]. 9 years ago
depend.apache.eclass Sync with portage [Wed Dec 21 16:54:06 MSK 2016]. 8 years ago
distutils-r1.eclass Sync with portage [Sat Feb 18 10:49:03 MSK 2017]. 8 years ago
distutils.eclass Sync with portage [Sat Feb 18 23:45:25 MSK 2017]. 8 years ago
dotnet.eclass Sync with portage [Fri Aug 14 09:38:54 MSK 2015]. 9 years ago
elisp-common.eclass Sync with portage [Sun Jan 24 15:05:52 MSK 2016]. 9 years ago
elisp.eclass Sync with portage [Sun Jan 24 15:05:52 MSK 2016]. 9 years ago
emboss-r2.eclass Sync with portage [Tue Feb 21 09:06:33 MSK 2017]. 8 years ago
enlightenment.eclass Sync with portage [Sun Jun 12 14:35:36 MSK 2016]. 9 years ago
eutils.eclass Sync with portage [Wed Feb 22 13:14:33 MSK 2017]. 8 years ago
fcaps.eclass Sync with portage [Wed Feb 22 13:14:33 MSK 2017]. 8 years ago
fdo-mime.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
findlib.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
fixheadtails.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
flag-o-matic.eclass Sync with portage [Tue Feb 21 09:06:33 MSK 2017]. 8 years ago
font-ebdftopcf.eclass Sync with portage [Fri May 6 09:09:23 MSK 2016]. 9 years ago
font.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
fortran-2.eclass Sync with portage [Thu Feb 18 09:40:54 MSK 2016]. 9 years ago
fox.eclass Sync with portage [Wed Feb 8 09:21:42 MSK 2017]. 8 years ago
freebsd.eclass Sync with portage [Thu Dec 15 17:01:17 MSK 2016]. 8 years ago
freedict.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
games-mods.eclass Sync with portage [Tue Apr 26 11:00:01 MSK 2016]. 9 years ago
games.eclass Sync with portage [Sun Feb 14 21:40:58 MSK 2016]. 9 years ago
ghc-package.eclass Sync with portage [Wed Sep 14 12:49:44 MSK 2016]. 8 years ago
git-2.eclass Sync with portage [Sun Aug 7 09:39:27 MSK 2016]. 8 years ago
git-r3.eclass Sync with portage [Thu Jan 26 09:18:47 MSK 2017]. 8 years ago
gkrellm-plugin.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
gnat.eclass Sync with portage [Wed Feb 22 21:34:36 MSK 2017]. 8 years ago
gnatbuild-r1.eclass Sync with portage [Wed Feb 22 21:34:36 MSK 2017]. 8 years ago
gnatbuild.eclass Sync with portage [Wed Feb 22 21:34:36 MSK 2017]. 8 years ago
gnome-games.eclass Sync with portage [Fri Aug 14 09:38:54 MSK 2015]. 9 years ago
gnome-python-common-r1.eclass Sync with portage [Fri Jan 1 21:56:10 MSK 2016]. 9 years ago
gnome.org.eclass Sync with portage [Fri Sep 25 22:18:01 MSK 2015]. 9 years ago
gnome2-utils.eclass Sync with portage [Sun Apr 3 17:40:38 MSK 2016]. 9 years ago
gnome2.eclass Sync with portage [Tue Jan 17 08:52:49 MSK 2017]. 8 years ago
gnuconfig.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
gnustep-2.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
gnustep-base.eclass Sync with portage [Wed Feb 17 17:58:18 MSK 2016]. 9 years ago
go-mono.eclass Sync with portage [Tue May 31 08:58:31 MSK 2016]. 9 years ago
golang-base.eclass Sync with portage [Tue Feb 21 09:06:33 MSK 2017]. 8 years ago
golang-build.eclass Sync with portage [Wed Feb 10 08:37:52 MSK 2016]. 9 years ago
golang-vcs-snapshot.eclass Sync with portage [Wed Feb 10 08:37:52 MSK 2016]. 9 years ago
golang-vcs.eclass Sync with portage [Wed Feb 10 08:37:52 MSK 2016]. 9 years ago
gpe.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
gst-plugins-bad.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
gst-plugins-base.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
gst-plugins-good.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
gst-plugins-ugly.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
gst-plugins10.eclass Sync with portage [Thu Apr 21 22:42:37 MSK 2016]. 9 years ago
gstreamer.eclass Sync with portage [Mon Sep 26 13:10:11 MSK 2016]. 8 years ago
gtk-sharp-module.eclass Sync with portage [Fri Sep 18 16:06:28 MSK 2015]. 9 years ago
haskell-cabal.eclass Sync with portage [Fri Dec 23 09:02:58 MSK 2016]. 8 years ago
intel-sdp.eclass Sync with portage [Fri Apr 22 11:37:15 MSK 2016]. 9 years ago
java-ant-2.eclass Sync with portage [Fri Sep 9 08:49:51 MSK 2016]. 8 years ago
java-osgi.eclass Sync with portage [Tue Oct 20 12:04:48 MSK 2015]. 9 years ago
java-pkg-2.eclass Sync with portage [Tue Oct 18 01:09:47 MSK 2016]. 8 years ago
java-pkg-opt-2.eclass Sync with portage [Tue Oct 6 09:23:20 MSK 2015]. 9 years ago
java-pkg-simple.eclass Sync with portage [Tue Oct 18 01:09:47 MSK 2016]. 8 years ago
java-utils-2.eclass Sync with portage [Fri Feb 10 08:40:47 MSK 2017]. 8 years ago
java-virtuals-2.eclass Sync with portage [Tue Apr 19 14:52:58 MSK 2016]. 9 years ago
java-vm-2.eclass Sync with portage [Tue Jan 24 17:00:44 MSK 2017]. 8 years ago
kde4-base.eclass Sync with portage [Sat Dec 24 17:54:01 MSK 2016]. 8 years ago
kde4-functions.eclass Sync with portage [Thu Nov 3 18:38:43 MSK 2016]. 8 years ago
kde4-meta.eclass Sync with portage [Sun Dec 11 19:51:31 MSK 2016]. 8 years ago
kde5-functions.eclass Sync with portage [Sun Feb 12 08:13:09 MSK 2017]. 8 years ago
kde5-meta-pkg.eclass Sync with portage [Fri Aug 5 22:50:04 MSK 2016]. 8 years ago
kde5.eclass Sync with portage [Tue Jan 17 08:52:49 MSK 2017]. 8 years ago
kernel-2.eclass Sync with portage [Wed Jan 25 08:30:58 MSK 2017]. 8 years ago
kodi-addon.eclass Sync with portage [Tue Jan 10 01:03:28 MSK 2017]. 8 years ago
l10n.eclass Sync with portage [Mon May 16 23:01:08 MSK 2016]. 9 years ago
latex-package.eclass Sync with portage [Tue Aug 2 13:41:54 MSK 2016]. 8 years ago
leechcraft.eclass Sync with portage [Wed Nov 18 17:54:55 MSK 2015]. 9 years ago
libtool.eclass Sync with portage [Wed Feb 22 13:14:33 MSK 2017]. 8 years ago
linux-info.eclass Sync with portage [Fri Dec 16 11:26:19 MSK 2016]. 8 years ago
linux-mod.eclass Sync with portage [Thu Dec 22 15:11:36 MSK 2016]. 8 years ago
llvm.eclass Sync with portage [Wed Feb 15 18:50:55 MSK 2017]. 8 years ago
makeedit.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
mate-desktop.org.eclass Sync with portage [Fri Aug 12 09:05:36 MSK 2016]. 8 years ago
mate.eclass Sync with portage [Mon Aug 15 00:50:52 MSK 2016]. 8 years ago
mercurial.eclass Sync with portage [Tue Nov 15 16:20:59 MSK 2016]. 8 years ago
mono-env.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
mono.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
mount-boot.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
mozconfig-v6.45.eclass Sync with portage [Thu Feb 16 16:06:57 MSK 2017]. 8 years ago
mozconfig-v6.49.eclass Sync with portage [Mon Feb 6 12:32:48 MSK 2017]. 8 years ago
mozconfig-v6.51.eclass Sync with portage [Sun Feb 5 12:08:59 MSK 2017]. 8 years ago
mozcoreconf-2.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
mozcoreconf-v3.eclass Sync with portage [Fri Mar 25 17:05:27 MSK 2016]. 9 years ago
mozcoreconf-v4.eclass Sync with portage [Sun Oct 16 22:47:56 MSK 2016]. 8 years ago
mozextension.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
mozlinguas-v2.eclass Sync with portage [Thu Nov 24 08:59:02 MSK 2016]. 8 years ago
mozlinguas.eclass Sync with portage [Thu Mar 10 08:37:49 MSK 2016]. 9 years ago
multibuild.eclass Sync with portage [Sun Dec 20 21:52:30 MSK 2015]. 9 years ago
multilib-build.eclass Sync with portage [Sun Dec 13 13:09:39 MSK 2015]. 9 years ago
multilib-minimal.eclass Sync with portage [Wed Feb 22 13:14:33 MSK 2017]. 8 years ago
multilib.eclass Sync with portage [Mon Sep 5 00:52:06 MSK 2016]. 8 years ago
multiprocessing.eclass Sync with portage [Fri Feb 10 08:40:47 MSK 2017]. 8 years ago
myspell-r2.eclass Sync with portage [Fri Jun 24 01:20:14 MSK 2016]. 9 years ago
myspell.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
mysql-cmake.eclass Sync with portage [Sun Jun 12 14:35:36 MSK 2016]. 9 years ago
mysql-multilib-r1.eclass Sync with portage [Wed Feb 22 21:34:36 MSK 2017]. 8 years ago
mysql-multilib.eclass Sync with portage [Wed Feb 22 21:34:36 MSK 2017]. 8 years ago
mysql-v2.eclass Sync with portage [Wed Feb 22 21:34:36 MSK 2017]. 8 years ago
mysql_fx.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
netsurf.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
nsplugins.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
nvidia-driver.eclass Sync with portage [Thu Feb 11 09:36:40 MSK 2016]. 9 years ago
oasis.eclass Sync with portage [Tue Feb 21 09:06:33 MSK 2017]. 8 years ago
obs-download.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
obs-service.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
office-ext-r1.eclass Sync with portage [Wed Aug 3 09:16:45 MSK 2016]. 8 years ago
openib.eclass Sync with portage [Thu Jun 30 09:06:57 MSK 2016]. 8 years ago
pam.eclass Sync with portage [Tue Oct 6 09:23:20 MSK 2015]. 9 years ago
pax-utils.eclass Sync with portage [Mon Aug 29 00:01:22 MSK 2016]. 8 years ago
perl-app.eclass Sync with portage [Fri Dec 4 19:20:14 MSK 2015]. 9 years ago
perl-functions.eclass Sync with portage [Tue Apr 12 11:58:53 MSK 2016]. 9 years ago
perl-module.eclass Sync with portage [Sun Nov 6 01:57:26 MSK 2016]. 8 years ago
php-ext-pecl-r2.eclass Sync with portage [Sun Aug 30 19:41:09 MSK 2015]. 9 years ago
php-ext-pecl-r3.eclass Sync with portage [Sun Jul 10 00:10:12 MSK 2016]. 8 years ago
php-ext-source-r2.eclass Sync with portage [Sun Jan 31 01:35:00 MSK 2016]. 9 years ago
php-ext-source-r3.eclass Sync with portage [Sun Oct 30 11:07:02 MSK 2016]. 8 years ago
php-lib-r1.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
php-pear-lib-r1.eclass Sync with portage [Fri Dec 11 09:04:52 MSK 2015]. 9 years ago
php-pear-r1.eclass Sync with portage [Thu Feb 4 13:14:49 MSK 2016]. 9 years ago
portability.eclass Sync with portage [Tue Mar 1 17:02:53 MSK 2016]. 9 years ago
prefix.eclass Sync with portage [Fri Aug 19 01:02:29 MSK 2016]. 8 years ago
python-any-r1.eclass Sync with portage [Mon Jun 13 12:31:41 MSK 2016]. 9 years ago
python-r1.eclass Sync with portage [Sat Feb 18 10:49:03 MSK 2017]. 8 years ago
python-single-r1.eclass Sync with portage [Tue Feb 21 09:06:33 MSK 2017]. 8 years ago
python-utils-r1.eclass Sync with portage [Fri Feb 17 21:43:11 MSK 2017]. 8 years ago
python.eclass Sync with portage [Wed Feb 22 13:14:33 MSK 2017]. 8 years ago
qmail.eclass Sync with portage [Fri Sep 25 22:18:01 MSK 2015]. 9 years ago
qmake-utils.eclass Sync with portage [Mon Dec 28 08:55:40 MSK 2015]. 9 years ago
qt4-build-multilib.eclass Sync with portage [Tue Jan 31 08:49:13 MSK 2017]. 8 years ago
qt4-r2.eclass Sync with portage [Mon Dec 28 08:55:40 MSK 2015]. 9 years ago
qt5-build.eclass Sync with portage [Thu Dec 15 00:48:15 MSK 2016]. 8 years ago
readme.gentoo-r1.eclass Sync with portage [Sat Jan 23 00:59:42 MSK 2016]. 9 years ago
readme.gentoo.eclass Sync with portage [Mon Jan 25 16:13:37 MSK 2016]. 9 years ago
rebar.eclass Sync with portage [Mon May 30 00:10:20 MSK 2016]. 9 years ago
ros-catkin.eclass Sync with portage [Fri Feb 10 08:40:47 MSK 2017]. 8 years ago
rpm.eclass Sync with portage [Mon Feb 8 09:08:34 MSK 2016]. 9 years ago
ruby-fakegem.eclass Sync with portage [Thu Dec 29 23:42:11 MSK 2016]. 8 years ago
ruby-ng-gnome2.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
ruby-ng.eclass Sync with portage [Tue Dec 27 08:53:32 MSK 2016]. 8 years ago
ruby-single.eclass Sync with portage [Fri May 6 14:02:30 MSK 2016]. 9 years ago
ruby-utils.eclass Sync with portage [Tue Dec 27 08:53:32 MSK 2016]. 8 years ago
s6.eclass Sync with portage [Wed Feb 10 08:37:52 MSK 2016]. 9 years ago
savedconfig.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
scons-utils.eclass Sync with portage [Sun Dec 18 20:17:09 MSK 2016]. 8 years ago
scsh.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
selinux-policy-2.eclass Sync with portage [Mon Dec 12 00:53:06 MSK 2016]. 8 years ago
sgml-catalog.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
ssl-cert.eclass Sync with portage [Sun Apr 24 09:04:31 MSK 2016]. 9 years ago
stardict.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
subversion.eclass Sync with portage [Wed Feb 22 13:14:33 MSK 2017]. 8 years ago
sword-module.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
systemd.eclass Sync with portage [Mon Oct 10 09:01:47 MSK 2016]. 8 years ago
texlive-common.eclass Sync with portage [Mon Sep 21 13:11:38 MSK 2015]. 9 years ago
texlive-module.eclass Sync with portage [Mon Sep 21 13:11:38 MSK 2015]. 9 years ago
tmpfiles.eclass Sync with portage [Sat Dec 24 17:54:01 MSK 2016]. 8 years ago
toolchain-binutils.eclass Sync with portage [Tue Nov 15 16:20:59 MSK 2016]. 8 years ago
toolchain-funcs.eclass Sync with portage [Sat Oct 22 23:21:54 MSK 2016]. 8 years ago
toolchain.eclass Sync with portage [Sun Feb 5 00:13:01 MSK 2017]. 8 years ago
twisted-r1.eclass Sync with portage [Sun Feb 12 08:13:09 MSK 2017]. 8 years ago
udev.eclass Sync with portage [Sat Jan 21 21:36:16 MSK 2017]. 8 years ago
unpacker.eclass Sync with portage [Mon Mar 21 13:09:44 MSK 2016]. 9 years ago
user.eclass Sync with portage [Wed Feb 22 13:14:33 MSK 2017]. 8 years ago
vala.eclass Sync with portage [Sat Nov 12 14:46:57 MSK 2016]. 8 years ago
vcs-snapshot.eclass Sync with portage [Wed Jul 27 09:24:07 MSK 2016]. 8 years ago
vdr-plugin-2.eclass Sync with portage [Sun Jun 5 20:29:24 MSK 2016]. 9 years ago
versionator.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
vim-doc.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
vim-plugin.eclass Sync with portage [Sat Jul 30 19:01:11 MSK 2016]. 8 years ago
vim-spell.eclass Sync with portage [Sun May 8 20:27:58 MSK 2016]. 9 years ago
virtualx.eclass Sync with portage [Wed Jan 13 16:24:54 MSK 2016]. 9 years ago
vmware-bundle.eclass Sync with portage [Sat Mar 19 14:00:45 MSK 2016]. 9 years ago
waf-utils.eclass Sync with portage [Mon Feb 29 08:50:33 MSK 2016]. 9 years ago
webapp.eclass Sync with portage [Fri Sep 25 22:18:01 MSK 2015]. 9 years ago
wxwidgets.eclass Sync with portage [Thu Apr 14 09:14:42 MSK 2016]. 9 years ago
x-modular.eclass Sync with portage [Thu Nov 24 08:59:02 MSK 2016]. 8 years ago
xdg-utils.eclass Sync with portage [Wed Nov 25 11:36:56 MSK 2015]. 9 years ago
xdg.eclass Sync with portage [Thu Nov 26 22:58:51 MSK 2015]. 9 years ago
xemacs-elisp-common.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
xemacs-elisp.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
xemacs-packages.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
xfconf.eclass Sync with portage [Mon Aug 10 23:59:37 MSK 2015]. 9 years ago
xorg-2.eclass Sync with portage [Wed Feb 1 12:44:53 MSK 2017]. 8 years ago

readme.gentoo.eclass

# Copyright 1999-2015 Gentoo Foundation

# Distributed under the terms of the GNU General Public License v2
# $Id$

# @ECLASS: readme.gentoo.eclass
# @MAINTAINER:
# Pacho Ramos <pacho@gentoo.org>
# @AUTHOR:
# Author: Pacho Ramos <pacho@gentoo.org>
# @BLURB: An eclass for installing a README.gentoo doc file recording tips
# shown via elog messages.
# @DESCRIPTION:
# An eclass for installing a README.gentoo doc file recording tips
# shown via elog messages. With this eclass, those elog messages will only be
# shown at first package installation and a file for later reviewing will be
# installed under /usr/share/doc/${PF}
#
# This eclass is DEPRECATED. Please use readme.gentoo-r1 instead.

if [[ -z ${_README_GENTOO_ECLASS} ]]; then
_README_GENTOO_ECLASS=1

inherit eutils

case "${EAPI:-0}" in
0|1|2|3)
die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}"
;;
4|5)
# EAPI>=4 is required for REPLACING_VERSIONS preventing us
# from needing to export another pkg_preinst phase to save has_version
# result. Also relies on EAPI >=4 default src_install phase.
EXPORT_FUNCTIONS src_install pkg_postinst
;;
6)
die "Unsupported EAPI=${EAPI} for ${ECLASS}"
die "Please migrate to readme.gentoo-r1.eclass and note that"
die "it stops to export any ebuild phases and, then, you will"
die "need to ensure readme.gentoo_create_doc is called in"
die "src_install and readme.gentoo_print_elog in pkg_postinst"
;;
*)
die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"
;;
esac

# @ECLASS-VARIABLE: DISABLE_AUTOFORMATTING
# @DEFAULT_UNSET
# @DESCRIPTION:
# If non-empty, DOC_CONTENTS information will be strictly respected,
# not getting it automatically formatted by fmt. If empty, it will
# rely on fmt for formatting and 'echo -e' options to tweak lines a bit.

# @ECLASS-VARIABLE: FORCE_PRINT_ELOG
# @DEFAULT_UNSET
# @DESCRIPTION:
# If non-empty this variable forces elog messages to be printed.

# @ECLASS-VARIABLE: README_GENTOO_SUFFIX
# @DESCRIPTION:
# If you want to specify a suffix for README.gentoo file please export it.
: ${README_GENTOO_SUFFIX:=""}

# @FUNCTION: readme.gentoo_create_doc
# @DESCRIPTION:
# Create doc file with ${DOC_CONTENTS} variable (preferred) and, if not set,
# look for "${FILESDIR}/README.gentoo" contents. You can use
# ${FILESDIR}/README.gentoo-${SLOT} also.
# Usually called at src_install phase.
readme.gentoo_create_doc() {
debug-print-function ${FUNCNAME} "${@}"

if [[ -n "${DOC_CONTENTS}" ]]; then
eshopts_push
set -f
if [[ -n "${DISABLE_AUTOFORMATTING}" ]]; then
echo "${DOC_CONTENTS}" > "${T}"/README.gentoo
else
echo -e ${DOC_CONTENTS} | fold -s -w 70 \
| sed 's/[[:space:]]*$//' > "${T}"/README.gentoo
fi
eshopts_pop
elif [[ -f "${FILESDIR}/README.gentoo-${SLOT%/*}" ]]; then
cp "${FILESDIR}/README.gentoo-${SLOT%/*}" "${T}"/README.gentoo || die
elif [[ -f "${FILESDIR}/README.gentoo${README_GENTOO_SUFFIX}" ]]; then
cp "${FILESDIR}/README.gentoo${README_GENTOO_SUFFIX}" "${T}"/README.gentoo || die
else
die "You are not specifying README.gentoo contents!"
fi

dodoc "${T}"/README.gentoo
README_GENTOO_DOC_VALUE=$(< "${T}/README.gentoo")
}

# @FUNCTION: readme.gentoo_print_elog
# @DESCRIPTION:
# Print elog messages with "${T}"/README.gentoo contents. They will be
# shown only when package is installed at first time.
# Usually called at pkg_postinst phase.
#
# If you want to show them always, please set FORCE_PRINT_ELOG to a non empty
# value in your ebuild before this function is called.
# This can be useful when, for example, DOC_CONTENTS is modified, then, you can
# rely on specific REPLACING_VERSIONS handling in your ebuild to print messages
# when people update from versions still providing old message.
readme.gentoo_print_elog() {
debug-print-function ${FUNCNAME} "${@}"

eqawarn "${CATEGORY}/${PN} is using the deprecated readme.gentoo.eclass."
eqawarn "Please use readme.gentoo-r1 instead."

if [[ -z "${README_GENTOO_DOC_VALUE}" ]]; then
die "readme.gentoo_print_elog invoked without matching readme.gentoo_create_doc call!"
elif ! [[ -n "${REPLACING_VERSIONS}" ]] || [[ -n "${FORCE_PRINT_ELOG}" ]]; then
echo -e "${README_GENTOO_DOC_VALUE}" | while read -r ELINE; do elog "${ELINE}"; done
elog ""
elog "(Note: Above message is only printed the first time package is"
elog "installed. Please look at ${EPREFIX}/usr/share/doc/${PF}/README.gentoo*"
elog "for future reference)"
fi
}


# @FUNCTION: readme.gentoo_src_install
# @DESCRIPTION:
# Install generated doc file automatically.
readme.gentoo_src_install() {
debug-print-function ${FUNCNAME} "${@}"
default
readme.gentoo_create_doc
}

# @FUNCTION: readme.gentoo_pkg_postinst
# @DESCRIPTION:
# Show elog messages from from just generated doc file.
readme.gentoo_pkg_postinst() {
debug-print-function ${FUNCNAME} "${@}"
readme.gentoo_print_elog
}

fi