From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PlE5y-0002ww-RD for garchives@archives.gentoo.org; Fri, 04 Feb 2011 05:20:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88A87E085A; Fri, 4 Feb 2011 05:20:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 42C29E085A for ; Fri, 4 Feb 2011 05:20:27 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7DADB1B4079 for ; Fri, 4 Feb 2011 05:20:26 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id DB86280075 for ; Fri, 4 Feb 2011 05:20:25 +0000 (UTC) To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Content-type: text/plain; charset=UTF-8 Message-ID: Subject: [gentoo-commits] proj/gentoo-guis:master commit in: app-portage/overlord/ X-VCS-Repository: proj/gentoo-guis X-VCS-Files: app-portage/overlord/ChangeLog app-portage/overlord/Manifest app-portage/overlord/metadata.xml app-portage/overlord/overlord-9999.ebuild X-VCS-Directories: app-portage/overlord/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: b639487f79283a96ed387baa1781c62c47bb766c Date: Fri, 4 Feb 2011 05:20:25 +0000 (UTC) From: brian.dolbec@gmail.com Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 9c22b5aa086f42fb88d63f962438c76c commit: b639487f79283a96ed387baa1781c62c47bb766c Author: Brian Dolbec gmail com> AuthorDate: Fri Feb 4 04:06:35 2011 +0000 Commit: Brian Dolbec gmail com> CommitDate: Fri Feb 4 04:06:35 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gentoo-guis.g= it;a=3Dcommit;h=3Db639487f79283a96ed387baa1781c62c47bb766c Initial port of the layman-8888 ebuild to overlord-9999 --- app-portage/overlord/ChangeLog | 9 +++ app-portage/overlord/Manifest | 3 + app-portage/overlord/metadata.xml | 17 +++++ app-portage/overlord/overlord-9999.ebuild | 107 +++++++++++++++++++++++= ++++++ 4 files changed, 136 insertions(+), 0 deletions(-) diff --git a/app-portage/overlord/ChangeLog b/app-portage/overlord/Change= Log new file mode 100644 index 0000000..f27ad69 --- /dev/null +++ b/app-portage/overlord/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for app-portage/layman +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: = Exp $ + +*overlord-9999 (03 Feb 2011) + + 03 Feb 2011; Brian Dolbec +overlord-9999.e= build: + initial copy/edit of the layman-8888.ebuild for the project developm= ent + version. diff --git a/app-portage/overlord/Manifest b/app-portage/overlord/Manifes= t new file mode 100644 index 0000000..593c154 --- /dev/null +++ b/app-portage/overlord/Manifest @@ -0,0 +1,3 @@ +EBUILD overlord-9999.ebuild 2803 RMD160 30e20cd25c3b865878a679c91ba82e5a= 3cdedfa6 SHA1 7580cae30e7586fb9b11a185844a81973198ae0e SHA256 31729e90e0f= dccf3349ac37503faa7bd75cb8058f4034431edc1096f56ad1945 +MISC ChangeLog 419 RMD160 7b368473ce4787df672a3eeb9f910e751a1797f8 SHA1 = 4ede2010df55206b37af0870c3d9ba389655dfe3 SHA256 e294940047b0079f16d9b87a3= d642918748242710e4adf6ab76f21dd708e53fe +MISC metadata.xml 787 RMD160 8eb69e7a49c273da69a9e6e6b514c0ed2f9890e2 SH= A1 24e072a2d591f3b5e3733e85b0a5d5b91c7eef24 SHA256 a555029640c0b859e1d9a5= 93d865b2f4c6126b2a57c6d31883e13fa55fdc7187 diff --git a/app-portage/overlord/metadata.xml b/app-portage/overlord/met= adata.xml new file mode 100644 index 0000000..70da95e --- /dev/null +++ b/app-portage/overlord/metadata.xml @@ -0,0 +1,17 @@ + + + +tools-portage +This is a development version used developm= ent of it's api's + + brian.dolbec@gmail.com + Brian Dolbec (dol-sen) + This is an experimental version used to develop the new a= pi. + + + Support dev-vcs/bzr based overlays + Support dev-vcs/darcs based overlays + Support dev-vcs/git based overlays + Support dev-vcs/mercurial based ov= erlays + + diff --git a/app-portage/overlord/overlord-9999.ebuild b/app-portage/over= lord/overlord-9999.ebuild new file mode 100644 index 0000000..b57aa85 --- /dev/null +++ b/app-portage/overlord/overlord-9999.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: = Exp $ + +EAPI=3D"2" +PYTHON_DEPEND=3D"2:2.5" +SUPPORT_PYTHON_ABIS=3D"1" +EGIT_BRANCH=3D"master" + +inherit eutils distutils git + +DESCRIPTION=3D"An experimental development version of overlord, a python= script for retrieving gentoo overlays." +HOMEPAGE=3D"http://dev.gentooexperimental.org/~dol-sen/" +SRC_URI=3D"" +EGIT_REPO_URI=3D"git://git.overlays.gentoo.org/proj/overlord.git" + +LICENSE=3D"GPL-2" +SLOT=3D"0" +KEYWORDS=3D"" +IUSE=3D"bazaar cvs darcs git mercurial subversion test" + +COMMON_DEPS=3D"dev-lang/python[xml]" +DEPEND=3D"${COMMON_DEPS} + test? ( dev-vcs/subversion ) + app-text/xmlto" +RDEPEND=3D"${COMMON_DEPS} + bazaar? ( dev-vcs/bzr ) + cvs? ( dev-vcs/cvs ) + darcs? ( dev-vcs/darcs ) + git? ( dev-vcs/git ) + mercurial? ( dev-vcs/mercurial ) + subversion? ( + || ( + >=3Ddev-vcs/subversion-1.5.4[webdav-neon] + >=3Ddev-vcs/subversion-1.5.4[webdav-serf] + ) + )" +RESTRICT_PYTHON_ABIS=3D"2.4 3.*" + +pkg_setup() { + if ! has_version dev-vcs/subversion; then + ewarn "You do not have dev-vcs/subversion installed!" + ewarn "While overlord does not exactly depend on this" + ewarn "version control system you should note that" + ewarn "most available overlays are offered via" + ewarn "dev-vcs/subversion. If you do not install it" + ewarn "you will be unable to use these overlays." + ewarn + fi +} + +src_test() { + testing() { + for suite in layman/tests/{dtest,external}.py ; do + PYTHONPATH=3D"." "$(PYTHON)" ${suite} \ + || die "test suite '${suite}' failed" + done + } + python_execute_function testing +} + +src_compile() { + distutils_src_compile + emake -C doc || die "emake -C doc failed" +} + +src_install() { + distutils_src_install + + dodir /etc/overlord + + cp etc/overlord.cfg "${D}"/etc/overlord/ + + doman doc/overlord.8 + dohtml doc/overlord.8.html + + keepdir /var/lib/layman +} + +pkg_postinst() { + distutils_pkg_postinst + + einfo "You are now ready to add overlays into your system." + einfo + einfo " lord -L" + einfo + einfo "will display a list of available overlays." + einfo + elog "Select an overlay and add it using" + elog + elog " lord -a overlay-name" + elog + elog "If this is the very first overlay you add with overlord or layma= n," + 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 overlord" + elog "configuration file (/etc/overlord/overlord.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." + epause 5 +}