genmenu: freeze genmenu on a working version while I try to fix it for python3

This commit is contained in:
Rick Farina (Zero_Chaos) 2020-08-21 13:11:33 -04:00
parent 2f0c50b523
commit 0870e397aa
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
5 changed files with 60 additions and 5 deletions

View file

@ -0,0 +1 @@
DIST genmenu-0.0_p20200512.tar.gz 374980 BLAKE2B 32bc17beb0773d70eea7511d6e31959d36140435f69b76804ed4603f6bc97cfe31745e22f95aad60836c49d7aab926f5f225ed4d4251b95ed8df85d923145341 SHA512 5fecdf417a993ac44a16f10ab1b99a769b2546bd170320a9dea8761f6b8750863236813d964560e75bf652fb3e4ca99ae7de977e2386348d66ebffbb833d0e8e

View file

@ -0,0 +1,43 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="a tool for generating freedesktop-compliant menus"
HOMEPAGE="https://github.com/pentoo/genmenu"
LICENSE="GPL-2"
SLOT="0"
if [ "${PV}" = "9999" ];then
inherit git-r3
EGIT_REPO_URI="https://github.com/pentoo/genmenu.git"
else
KEYWORDS="amd64 x86"
COMMIT="fd41747930ed56c4d00b09d1490b665d618ff52d"
SRC_URI="https://github.com/pentoo/genmenu/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
fi
#gnome-base/gnome-menus"
DEPEND=">=dev-python/lxml-1.3.6[python_targets_python2_7]"
RDEPEND="${DEPEND}"
src_install() {
insinto /usr/
doins -r "${S}"/src/share
chown -R root:root "${ED}"
dobin src/bin/genmenu.py src/bin/launch
}
pkg_postinst() {
einfo
einfo "The genmenu has been updated."
einfo "You should run the following command to regenerate the main Pentoo menu for a local user:"
einfo "E17: genmenu.py -e"
einfo "Xfce: genmenu.py -x"
einfo "KDE: genmenu.py -k"
einfo
einfo "See -h for more options"
}

View file

@ -3,18 +3,25 @@
EAPI=7
inherit git-r3
DESCRIPTION="a tool for generating freedesktop-compliant menus"
HOMEPAGE="https://github.com/pentoo/genmenu"
EGIT_REPO_URI="https://github.com/pentoo/genmenu.git"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
if [ "${PV}" = "9999" ];then
inherit git-r3
EGIT_REPO_URI="https://github.com/pentoo/genmenu.git"
else
KEYWORDS="amd64 x86"
COMMIT="fd41747930ed56c4d00b09d1490b665d618ff52d"
SRC_URI="https://github.com/pentoo/genmenu/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
fi
#gnome-base/gnome-menus"
DEPEND=">=dev-python/lxml-1.3.6"
DEPEND=">=dev-python/lxml-1.3.6[python_targets_python2_7]"
RDEPEND="${DEPEND}"
src_install() {

View file

@ -1,4 +1,3 @@
app-admin/genmenu **
~app-admin/paxtest-0.9.9
app-admin/calamares

View file

@ -2,3 +2,8 @@
dev-python/setuptools python_targets_python2_7
dev-python/certifi python_targets_python2_7
dev-python/virtualenv python_targets_python2_7
#some jerk never updated genmenu
dev-python/lxml python_targets_python2_7
dev-python/cython python_targets_python2_7