From 2a133bd0afd6fc0ba5fffa911a41ec6535d1ff39 Mon Sep 17 00:00:00 2001 From: dol-sen Date: Thu, 11 Aug 2011 00:30:04 -0700 Subject: add updated layman-9999 ebuild with EPREFIX capability to match the code. --- app-portage/layman/ChangeLog | 3 ++ app-portage/layman/Manifest | 3 +- app-portage/layman/layman-9999.ebuild | 98 +++++++++++++++++++++++++++++++++++ 3 files changed, 103 insertions(+), 1 deletion(-) create mode 100644 app-portage/layman/layman-9999.ebuild diff --git a/app-portage/layman/ChangeLog b/app-portage/layman/ChangeLog index 8672a08..ac118dd 100644 --- a/app-portage/layman/ChangeLog +++ b/app-portage/layman/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/app-portage/layman/ChangeLog,v 1.144 2011/08/08 16:28:35 darkside Exp $ + 11 Aug 2011; Brian Dolbec +layman-9999.ebuild: + add updated 9999 ebuild with epreixify. + *layman-2.0.0_rc2 (09 Aug 2011) 09 Aug 2011; Brian Dolbec diff --git a/app-portage/layman/Manifest b/app-portage/layman/Manifest index 1a096c6..8191ffb 100644 --- a/app-portage/layman/Manifest +++ b/app-portage/layman/Manifest @@ -1,4 +1,5 @@ DIST layman-2.0.0_rc2.tar.gz 74170 RMD160 06215f4f4f1dbe88262ac248eedda1aa97bb9329 SHA1 ed753645318f0477d9b07f25f98f00bf091632be SHA256 f0430c6768b30b0a04d56ace43bd663ebc52160540e00f3d76305caffc037fa4 EBUILD layman-2.0.0_rc2.ebuild 2436 RMD160 639ce695eb019e6915a2a50c84c613f45493d53e SHA1 d81510a552790918df93fbfd7c1281dd32b92b14 SHA256 c89a2de61bbd76aa077f9668c9087c9fbb3cb89aec9c23a593a1f49ec5c694ff -MISC ChangeLog 21735 RMD160 6f45f4b4b7c68912b39d657880156a03987fa9e7 SHA1 b86cc6bd5c6ffa174d07ea128a71a342703ff7ae SHA256 42d88b531525f258ac0586a31d7ece4fd95b73d642bd952a64cbf0c6082fa47f +EBUILD layman-9999.ebuild 2431 RMD160 8917350c90a9814d693597fd5b913a879f0d239e SHA1 35795230d1f0fd812640b7d4b6bcd2e1c53a4474 SHA256 2834dcc20577c90526e814a3629fef3a52652946594bc9b7eff5904852c266a6 +MISC ChangeLog 21852 RMD160 e12196c5880e0c6e574ca67fe279d819564c4f6e SHA1 2f863553fde790b0006b3dddf78b4c4cb1930806 SHA256 1323dfba643a7db9cfcbab137a68a4990efbb01a3fa9c97df5ce497b4fdfc333 MISC metadata.xml 912 RMD160 8d63f4e9672a7b15587026626802074a7b0e968b SHA1 00ffdacd3dcbd4e0652517628e9c932f32865a4a SHA256 67a4974996e495ff3f49e3874d9e1d6f4fe251e9e49d92385ef14d4f23550b10 diff --git a/app-portage/layman/layman-9999.ebuild b/app-portage/layman/layman-9999.ebuild new file mode 100644 index 0000000..b3a91dc --- /dev/null +++ b/app-portage/layman/layman-9999.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/layman-9999.ebuild,v 1.20 2011/07/18 14:52:55 idl0r Exp $ + +EAPI="3" +SUPPORT_PYTHON_ABIS="1" +PYTHON_DEPEND="2:2.6" +RESTRICT_PYTHON_ABIS="2.4 2.5 3.*" + +inherit eutils distutils git-2 prefix + +DESCRIPTION="Tool to manage Gentoo overlays" +HOMEPAGE="http://layman.sourceforge.net" +SRC_URI="" +EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/layman.git" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="bazaar cvs darcs git mercurial subversion test" + +COMMON_DEPS="dev-lang/python[xml]" +DEPEND="${COMMON_DEPS} + test? ( dev-vcs/subversion ) + app-text/asciidoc" +RDEPEND="${COMMON_DEPS} + bazaar? ( dev-vcs/bzr ) + cvs? ( dev-vcs/cvs ) + darcs? ( dev-vcs/darcs ) + git? ( dev-vcs/git ) + mercurial? ( dev-vcs/mercurial ) + subversion? ( + || ( + >=dev-vcs/subversion-1.5.4[webdav-neon] + >=dev-vcs/subversion-1.5.4[webdav-serf] + ) + )" +RESTRICT_PYTHON_ABIS="2.4 3.*" + +src_prepare() { + eprefixify etc/layman.cfg layman/config.py +} + +src_test() { + testing() { + for suite in layman/tests/{dtest,external}.py ; do + PYTHONPATH="." "$(PYTHON)" ${suite} \ + || die "test suite '${suite}' failed" + done + } + python_execute_function testing +} + +src_compile() { + distutils_src_compile + # override MAKEOPTS to prevent build failure + emake -j1 -C doc || die "emake -C doc failed" +} + +src_install() { + distutils_src_install + + insinto /etc/layman + doins etc/layman.cfg || die + + doman doc/layman.8 + dohtml doc/layman.8.html + + keepdir /var/lib/layman +} + +pkg_postinst() { + distutils_pkg_postinst + + einfo "You are now ready to add overlays into your system." + einfo + einfo " layman -L" + einfo + einfo "will display a list of available overlays." + einfo + elog "Select an overlay and add it using" + elog + elog " layman -a overlay-name" + elog + elog "If this is the very first overlay you add with layman," + elog "you need to append the following statement to your" + elog "/etc/make.conf file:" + elog + elog " source /var/lib/layman/make.conf" + elog + elog "If you modify the 'storage' parameter in the layman" + elog "configuration file (/etc/layman/layman.cfg) you will" + elog "need to adapt the path given above to the new storage" + elog "directory." + elog + ewarn "Please add the 'source' statement to make.conf only AFTER " + ewarn "you added your first overlay. Otherwise portage will fail." +} -- cgit v1.2.3-65-gdbad