updates

merged:

  xor: 57afeb0056ff2f923a770a99f50f802cc63fd573
  cinnamon: 7a5b421c22e62e1cc50caab698a27179e4dc1722
  mate-desktop: 2aeb4ac8be72880779a99b1a6999059aa9e04ffb
  fusion809: 03bae140453e8ef51cf989ab00d4ed0a6919273f
  steam: 9994d8f965b965da3d71598e4357f3cf95e451eb
  go-overlay: 435b13dcc2cdc2dc5b5fee57005d8deb2caa114c
  stefantalpalaru: 0b864b9ea1ce3a64455e1aa55905541c5609dfa3
  ports: a5f9836bebec13c09f921988efa57a3a87c85af9
  gentoo-libressl: eea877be8b5f120e5ca67b3d0bf34acd908ae960
  gentoo-staging: 8e985309ce4ff439a7739d59d5337e2b022f4efe
  calculatelinux: ccee80db65bd500c2c658972182e528da142916a
  kit-fixups: 2ca5f45db140a696a9c05c8cbc1128182f4799df
parent 1abec0d4

Too many changes to show.

To preserve performance only 3000 of 3000+ files are displayed.
27-Aug-2019:
This is OK for now, there are unmerged commits from upstream.
DIST ego-2.7.2.0.tar.gz 162696 BLAKE2B 621148114f82643abd09a938d17d8051d047ff1120dc31435e9ea2f4db98c8697c3dbc2f2dde1769b87d3e64fc206a1a003bf4cb027de3d55cccb2fe9c7b08ea SHA512 20050a62f707733241bf4f8b4404ca106649482aa048c02d6ba9abd1116c60e6fec25506601dd33dd1bdff30b3e5ac9aa525d8e9d5a2006e6d54f5cde6f8d8ab
DIST ego-2.7.4-r2.tar.gz 162252 BLAKE2B 087fb4f970ec36978edb86b53bd0de59fa959f4c2da289bf932a3eec4371208da03d194e15f5bc4e763788a97a3610ceebd3b3b390817f1d4e6eabdd4608facb SHA512 2506013b7b7bd82b81fbabf6eaf08b6e6c9ca6af109e886c0667b05379c9fc2f184919ca15ec389f992e43851dfddc2e6c799ebc0f056093b2875dc5b024da6f
DIST ego-2.7.4.4.tar.gz 164362 BLAKE2B 9e097da9278a610755576e3555a1fe02158e6539c75e48b48b625c57981bfb3e4a60b801649e66d7bd0f566c0204baacce3961de408743b4607020e6d95bed03 SHA512 4e80cb3de0349374beda29dd92babac5c8367baf0eb0408b56562f44cd918c31e21d3ab413796976b1ea12bfa37cb5d1b3c9c15b1bc62e19f9012370bc332fb6
DIST ego-2.7.4.6.tar.gz 163875 BLAKE2B 96daf738e9dcdca480572bc4e23609455050894fa803f306ca795388dac01ae96706bd8d5fac589842e5a61858f95f230610412f1d339766b8e7942d1a675bc0 SHA512 ea18e982bca7c48bd52f09800b08d03ff47aa4291e8053d4464f06836a40c46befc50d836295c754f1ae690216ff137f96a60081d834320e592bc13ea5a7b0ff
\ No newline at end of file
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{4..7} )
inherit python-single-r1
DESCRIPTION="Funtoo's configuration tool: ego, epro, edoc, boot-update"
HOMEPAGE="http://www.funtoo.org/Package:Ego"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="*"
IUSE="zsh-completion"
GITHUB_REPO="$PN"
GITHUB_USER="liguros"
GITHUB_TAG="${PV}"
SRC_URI="https://gitlab.com/${GITHUB_USER}/${GITHUB_REPO}/-/archive/${GITHUB_TAG}/${P}.tar.gz -> ${PN}-${GITHUB_TAG}.tar.gz"
DEPEND=""
RDEPEND="$PYTHON_DEPS
!sys-boot/boot-update"
PDEPEND=">=dev-python/appi-0.2[${PYTHON_USEDEP}]
dev-python/mwparserfromhell[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]"
src_unpack() {
unpack ${A}
#mv "${WORKDIR}/${GITHUB_USER}-${PN}"-??????? "${S}" || die
}
src_install() {
exeinto /usr/share/ego/modules
doexe $S/modules/*.ego
rm $D/usr/share/ego/modules/upgrade*
insinto /usr/share/ego/modules-info
doins $S/modules-info/*
rm $D/usr/share/ego/modules-info/upgrade*
insinto /usr/share/ego/python
doins -r $S/python/*
rm -rf $D/usr/share/ego/python/test
dobin $S/ego
dosym ego /usr/bin/epro
dosym ego /usr/bin/edoc
dosym /usr/bin/ego /sbin/boot-update
doman doc/*.[1-8]
dodoc doc/*.rst
insinto /etc
doins $S/etc/*.conf*
if use zsh-completion; then
insinto /usr/share/zsh/site-functions
doins contrib/completion/zsh/_ego
fi
}
pkg_postinst() {
if [ -e $ROOT/usr/share/portage/config/repos.conf ]; then
rm -f $ROOT/usr/share/portage/config/repos.conf
fi
[ -h $ROOT/usr/sbin/epro ] && rm $ROOT/usr/sbin/epro
if [ "$ROOT" = "/" ]; then
/usr/bin/ego sync --config-only
fi
}
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{4..7} )
inherit python-single-r1
DESCRIPTION="Funtoo's configuration tool: ego, epro, edoc, boot-update"
HOMEPAGE="http://www.funtoo.org/Package:Ego"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="*"
IUSE="zsh-completion"
GITHUB_REPO="$PN"
GITHUB_USER="liguros"
GITHUB_TAG="${PVR}"
MY_MOD="${PVR#*-}"
SRC_URI="https://www.gitlab.com/${GITHUB_USER}/${GITHUB_REPO}/-/archive/${GITHUB_TAG}/${P}.tar.gz -> ${PN}-${PVR}.tar.gz"
DEPEND=""
RDEPEND="$PYTHON_DEPS
!sys-boot/boot-update"
PDEPEND=">=dev-python/appi-0.2[${PYTHON_USEDEP}]
dev-python/mwparserfromhell[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]"
src_unpack() {
unpack ${A}
#mv "${WORKDIR}/${PN}-${PVR}" "${S}" || die
mv "${WORKDIR}/${PN}-${PVR}"-???????????????????????????????????????? "${S}" || die
}
src_install() {
exeinto /usr/share/ego/modules
doexe $S/modules/*.ego
rm $D/usr/share/ego/modules/upgrade*
insinto /usr/share/ego/modules-info
doins $S/modules-info/*
rm $D/usr/share/ego/modules-info/upgrade*
insinto /usr/share/ego/python
doins -r $S/python/*
rm -rf $D/usr/share/ego/python/test
dobin $S/ego
dosym ego /usr/bin/epro
dosym ego /usr/bin/edoc
dosym /usr/bin/ego /sbin/boot-update
doman doc/*.[1-8]
dodoc doc/*.rst
insinto /etc
doins $S/etc/*.conf*
if use zsh-completion; then
insinto /usr/share/zsh/site-functions
doins contrib/completion/zsh/_ego
fi
}
pkg_postinst() {
if [ -e $ROOT/usr/share/portage/config/repos.conf ]; then
rm -f $ROOT/usr/share/portage/config/repos.conf
fi
[ -h $ROOT/usr/sbin/epro ] && rm $ROOT/usr/sbin/epro
if [ "$ROOT" = "/" ]; then
/usr/bin/ego sync --config-only
fi
}
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{5,6,7,8,9} )
inherit python-r1
DESCRIPTION="Funtoo's configuration tool: ego, epro, edoc, boot-update"
HOMEPAGE="https://www.funtoo.org/Package:Ego"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86"
IUSE="zsh-completion"
GITHUB_REPO="$PN"
GITHUB_USER="liguros"
GITHUB_TAG="${PVR}"
MY_MOD="${PVR#*-}"
SRC_URI="https://www.gitlab.com/${GITHUB_USER}/${GITHUB_REPO}/-/archive/${GITHUB_TAG}/${P}.tar.gz -> ${PN}-${PVR}.tar.gz"
DEPEND=""
RDEPEND="$PYTHON_DEPS
!sys-boot/boot-update"
PDEPEND=">=dev-python/appi-0.2[${PYTHON_USEDEP}]
dev-python/mwparserfromhell[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]"
#src_unpack() {
# unpack ${A}
# mv "${WORKDIR}/${PN}-${PVR}" "${S}" || die
# mv "${WORKDIR}/${PN}-${PVR}"-???????????????????????????????????????? "${S}" || die
#}
src_install() {
exeinto /usr/share/ego/modules
doexe $S/modules/*.ego
rm $D/usr/share/ego/modules/upgrade*
insinto /usr/share/ego/modules-info
doins $S/modules-info/*
rm $D/usr/share/ego/modules-info/upgrade*
insinto /usr/share/ego/python
doins -r $S/python/*
rm -rf $D/usr/share/ego/python/test
dobin $S/ego
dosym ego /usr/bin/epro
dosym ego /usr/bin/edoc
dosym /usr/bin/ego /sbin/boot-update
doman doc/*.[1-8]
dodoc doc/*.rst
insinto /etc
doins $S/etc/*.conf*
if use zsh-completion; then
insinto /usr/share/zsh/site-functions
doins contrib/completion/zsh/_ego
fi
}
pkg_postinst() {
if [ -e $ROOT/usr/share/portage/config/repos.conf ]; then
rm -f $ROOT/usr/share/portage/config/repos.conf
fi
[ -h $ROOT/usr/sbin/epro ] && rm $ROOT/usr/sbin/epro
if [ "$ROOT" = "/" ]; then
/usr/bin/ego sync --config-only
fi
}
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{5,6,7,8,9} )
inherit python-r1
DESCRIPTION="Funtoo's configuration tool: ego, epro, edoc, boot-update"
HOMEPAGE="https://www.funtoo.org/Package:Ego"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86"
IUSE="zsh-completion"
GITHUB_REPO="$PN"
GITHUB_USER="liguros"
GITHUB_TAG="${PVR}"
MY_MOD="${PVR#*-}"
SRC_URI="https://www.gitlab.com/${GITHUB_USER}/${GITHUB_REPO}/-/archive/${GITHUB_TAG}/${P}.tar.gz -> ${PN}-${PVR}.tar.gz"
DEPEND=""
RDEPEND="$PYTHON_DEPS
!sys-boot/boot-update"
PDEPEND=">=dev-python/appi-0.2[${PYTHON_USEDEP}]
dev-python/mwparserfromhell[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]"
#src_unpack() {
# unpack ${A}
# mv "${WORKDIR}/${PN}-${PVR}" "${S}" || die
# mv "${WORKDIR}/${PN}-${PVR}"-???????????????????????????????????????? "${S}" || die
#}
src_install() {
exeinto /usr/share/ego/modules
doexe $S/modules/*.ego
rm $D/usr/share/ego/modules/upgrade*
insinto /usr/share/ego/modules-info
doins $S/modules-info/*
rm $D/usr/share/ego/modules-info/upgrade*
insinto /usr/share/ego/python
doins -r $S/python/*
rm -rf $D/usr/share/ego/python/test
dobin $S/ego
dosym ego /usr/bin/epro
dosym ego /usr/bin/edoc
dosym /usr/bin/ego /sbin/boot-update
doman doc/*.[1-8]
dodoc doc/*.rst
insinto /etc
doins $S/etc/*.conf*
if use zsh-completion; then
insinto /usr/share/zsh/site-functions
doins contrib/completion/zsh/_ego
fi
}
pkg_postinst() {
if [ -e $ROOT/usr/share/portage/config/repos.conf ]; then
rm -f $ROOT/usr/share/portage/config/repos.conf
fi
[ -h $ROOT/usr/sbin/epro ] && rm $ROOT/usr/sbin/epro
if [ "$ROOT" = "/" ]; then
/usr/bin/ego sync --config-only
fi
}
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{4..7} )
PYTHON_COMPAT=( python3_{5,6,7,8,9} )
inherit python-single-r1
inherit python-r1
GITHUB_REPO="$PN"
GITHUB_USER="funtoo"
GITHUB_USER="liguros"
if [ "$PV" = 9999 ]; then
inherit git-r3
SRC_URI=""
EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
EGIT_REPO_URI="https://gitlab.com/${GITHUB_USER}/${GITHUB_REPO}.git"
KEYWORDS=""
else
SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}/archive/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://www.gitlab.com/${GITHUB_USER}/${GITHUB_REPO}/-/archive/${GITHUB_TAG}/${P}.tar.gz -> ${PN}-${PVR}.tar.gz"
KEYWORDS="*"
fi
DESCRIPTION="Funtoo's configuration tool: ego, epro, edoc."
HOMEPAGE="http://www.funtoo.org/Package:Ego"
DESCRIPTION="Liguros's configuration tool: ego, epro, edoc."
HOMEPAGE="https://gitlab.com/liguros/ego"
LICENSE="GPL-2"
SLOT="0"
......@@ -45,7 +45,7 @@ src_install() {
dosym ego /usr/bin/edoc
doman doc/*.[1-8]
insinto /etc
doins $FILESDIR/ego.conf
doins $S/etc/*.conf*
if use zsh-completion; then
insinto /usr/share/zsh/site-functions
doins contrib/completion/zsh/_ego
......
diff -Nuar ego-2.3.3/modules/profile.ego ego-2.3.3-fixed/modules/profile.ego
--- ego-2.3.3/modules/profile.ego 2017-11-29 22:56:35.000000000 +0000
+++ ego-2.3.3-fixed/modules/profile.ego 2017-12-08 07:56:04.792278257 +0000
@@ -48,7 +48,7 @@
list_parser.set_defaults(handler=self.handle_list_action)
update_parser = subparsers.add_parser('update', help="Update your profiles (/etc/portage/make.profile/parent)")
- update_parser.set_defaults(handler=self.handle_update_action)
+ update_parser.set_defaults(handler=self.handle_write)
single_profile_parsers = [
subparsers.add_parser('arch', help="Change your arch profile"),
@@ -115,7 +115,7 @@
Output.log(" %s%26s%s (from %s %s)" % (Color.CYAN, inherited_spec.name, Color.END, parent_name, parent_type))
Output.log("")
- def handle_update_action(self, **options):
+ def handle_write(self, **options):
try:
with open(self.tree.master_parent_file, "w") as outfile:
self.tree.write(self.config, outfile)
@@ -245,7 +245,7 @@
not_added = adds - available_mix_in_shortnames
for shortname in adds & available_mix_in_shortnames:
- self.tree.append_mixin("gentoo:" + self.catalog.find_path(ProfileType.MIX_IN, shortname))
+ self.tree.append_mixin("core-kit:" + self.catalog.find_path(ProfileType.MIX_IN, shortname))
self.writeout = True
# Do all output here -- our shortList() will reflect the mix-in changes made above. Then put informational messages
@@ -264,14 +264,12 @@
def handle(self, **options):
portdir = os.path.join(self.config.kit_root, "core-kit")
- upgrade_to_core_kit = False
-
self.catalog, self.tree = getProfileCatalogAndTree(portdir)
# If the profile needs to be written out for any reason, to either update it or fix it, writeout will be set to
# true.
- self.writeout = upgrade_to_core_kit
+ self.writeout = self.tree.modified
handler = options.pop('handler', self.handle_show_action)
handler(**options)
@@ -286,9 +284,7 @@
Output.warning("No %s defined. Please set." % str(profile_type))
if self.writeout:
- if upgrade_to_core_kit:
- Output.warning("Upgrading gentoo repository references to core-kit.")
- self.handle_update_action()
+ self.handle_write()
def __call__(self, *args):
# Little trick to force end of arguments when using mix-ins command to
diff -Nuar ego-2.3.3/modules/sync.ego ego-2.3.3-fixed/modules/sync.ego
--- ego-2.3.3/modules/sync.ego 2017-11-29 22:56:35.000000000 +0000
+++ ego-2.3.3-fixed/modules/sync.ego 2017-12-08 07:56:40.345723363 +0000
@@ -89,7 +89,7 @@
if os.path.islink(self.config.repos_conf_path):
try:
os.unlink(self.config.repos_conf_path)
- Output.echo(Color.darkcyan("Upgrading %s symlink to directory..." % self.config.repos_conf_path))
+ Output.echo(Color.darkcyan("Upgrading %s symlink to directory...\n" % self.config.repos_conf_path))
except PermissionError:
Output.warning("Unable to convert %s to directory; please do so manually." %
self.config.repos_conf_path)
diff -Nuar ego-2.3.3/python/ego/profile.py ego-2.3.3-fixed/python/ego/profile.py
--- ego-2.3.3/python/ego/profile.py 2017-11-29 22:56:35.000000000 +0000
+++ ego-2.3.3-fixed/python/ego/profile.py 2017-12-08 07:56:04.793278297 +0000
@@ -212,6 +212,12 @@
self.tree = tree
self.cwd = cwd
self.spec_str = spec_str
+
+ if self.spec_str.startswith("gentoo:"):
+ self.spec_str = "core-kit:" + self.spec_str[7:]
+ self.modified = True
+ else:
+ self.modified = False
self._resolved_path = None
self._profile_type = None
@@ -323,6 +329,13 @@
def master_parent_file(self):
return os.path.join(self.root_parent_dir, "parent")
+ @property
+ def modified(self):
+ for specifier, odict in self.profile_hier.items():
+ if specifier.modified:
+ return True
+ return False
+
def write(self, config, outfile):
python_kit_branch = config.get_configured_kit("python-kit")
# This is the ego.conf file
[kits]
# You can set your default kits here. Unset kits will use the Funtoo default prime/master
# branch by default.
# python-kit = 3.6-prime
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>funtoo</herd>
<maintainer>
<email>drobbins@funtoo.org</email>
<name>Daniel Robbins</name>
......@@ -16,4 +15,5 @@
<use>
<flag name="zsh-completion">Enable ZSH completion</flag>
</use>
<origin>kit-fixups</origin>
</pkgmetadata>
DIST eselect-1.4.12.tar.xz 177520 BLAKE2B 0938fe9bd8785fe711edc1af63a9c318a4a5fe9141c61d7f1c4da0352242322f1e18e4f68f7e219a1aa2beae5b25ddac58d7c47d4272408fd8fe5207324ef7c7 SHA512 2ea182364dfb2333112e9eebe691e1963e95a4c9ab40945eb2e5bc8c81da76105c1ae6aa3d153b78dea6c1e0cadb9b0237f7556b8ceb9d48e0fba67a642d6081
DIST eselect-1.4.14.tar.xz 177492 BLAKE2B 236ddb09231283a153c20be779d012979a25d42a7043c75af866e777731761406d92896bfef399c3bc63e529af4e36cf538801302dc4bb719f065d6bab8ad9e4 SHA512 b17fb63039577f20515056fae1b0f7e86fa2d96f38a5eec22e637cee0b25f4d68087ef8a5bd4043893db5be66ea201bc8ae6437bb049d208b81e76a57612d658
DIST eselect-1.4.15.tar.xz 178996 BLAKE2B 4354d975c8af2e1de0f0c6efe2badc92584e947f9b73c05aac144caf8f9d74c850d366c7c225112322a504262b5f285f6e2e8d32223f1b2d4bac87db740a148c SHA512 ceb55fecc2bf70e816679af9b20653b29aa9ce24ca2d4cd0c6e02ab214689459bc2ccd5b3968ac49249b8fb6613c6055e7e76598b86c6a114a9abf847c4a2b58
DIST eselect-1.4.16.tar.xz 178660 BLAKE2B dae97ee324cb67983c5395b5dc54c4b84d2da43f6a0c5c8ab81ff402ab211e9d1f1d3fe5c174b130ac1e11d3dd19e3812056274145415ee029e649cda880cd95 SHA512 264fb6122f5f7c9e73bb2250a94c3c0377e5263e2e5ae653ed58e08ebf6ed1b4aa165ae5c1d70b0156081c4db5672d1ec9d379782919d5b40a2f3e862378ce62
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit bash-completion-r1
DESCRIPTION="Gentoo's multi-purpose configuration and management tool"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Eselect"
SRC_URI="https://dev.gentoo.org/~ulm/eselect/${P}.tar.xz"
LICENSE="GPL-2+ || ( GPL-2+ CC-BY-SA-3.0 )"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc emacs vim-syntax"
RDEPEND="sys-apps/sed
|| (
sys-apps/coreutils
sys-freebsd/freebsd-bin
app-misc/realpath
)"
DEPEND="${RDEPEND}
doc? ( dev-python/docutils )"
RDEPEND="${RDEPEND}
sys-apps/file
sys-libs/ncurses:0"
PDEPEND="emacs? ( app-emacs/eselect-mode )
vim-syntax? ( app-vim/eselect-syntax )"
src_compile() {
emake
use doc && emake html
}
src_install() {
emake DESTDIR="${D}" install
newbashcomp misc/${PN}.bashcomp ${PN}
dodoc AUTHORS ChangeLog NEWS README TODO doc/*.txt
if use doc; then
docinto html
dodoc *.html doc/*.html doc/*.css
fi
# needed by news module
keepdir /var/lib/gentoo/news
if ! use prefix; then
fowners root:portage /var/lib/gentoo/news
fperms g+w /var/lib/gentoo/news
fi
}
pkg_postinst() {
# fowners in src_install doesn't work for the portage group:
# merging changes the group back to root
if ! use prefix; then
chgrp portage "${EROOT}/var/lib/gentoo/news" \
&& chmod g+w "${EROOT}/var/lib/gentoo/news"
fi
}
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit bash-completion-r1
DESCRIPTION="Gentoo's multi-purpose configuration and management tool"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Eselect"
SRC_URI="https://dev.gentoo.org/~ulm/eselect/${P}.tar.xz"
LICENSE="GPL-2+ || ( GPL-2+ CC-BY-SA-3.0 )"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~riscv s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc emacs vim-syntax"
RDEPEND="sys-apps/sed
|| (
sys-apps/coreutils
sys-freebsd/freebsd-bin
app-misc/realpath
)"
DEPEND="${RDEPEND}
doc? ( dev-python/docutils )"
RDEPEND="${RDEPEND}
sys-apps/file
sys-libs/ncurses:0"
PDEPEND="emacs? ( app-emacs/eselect-mode )
vim-syntax? ( app-vim/eselect-syntax )"
src_compile() {
emake
use doc && emake html
}
src_install() {
emake DESTDIR="${D}" install
newbashcomp misc/${PN}.bashcomp ${PN}
dodoc AUTHORS ChangeLog NEWS README TODO doc/*.txt
if use doc; then
docinto html
dodoc *.html doc/*.html doc/*.css
fi
# needed by news module
keepdir /var/lib/gentoo/news
if ! use prefix; then
fowners root:portage /var/lib/gentoo/news
fperms g+w /var/lib/gentoo/news
fi
}
pkg_postinst() {
# fowners in src_install doesn't work for the portage group:
# merging changes the group back to root
if ! use prefix; then
chgrp portage "${EROOT}/var/lib/gentoo/news" \
&& chmod g+w "${EROOT}/var/lib/gentoo/news"
fi
}
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
......@@ -11,13 +11,12 @@ SRC_URI="https://dev.gentoo.org/~ulm/eselect/${P}.tar.xz"
LICENSE="GPL-2+ || ( GPL-2+ CC-BY-SA-3.0 )"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~riscv s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc emacs vim-syntax"