diff options
-rw-r--r-- | sys-apps/yum/ChangeLog | 10 | ||||
-rw-r--r-- | sys-apps/yum/Manifest | 16 | ||||
-rw-r--r-- | sys-apps/yum/files/digest-yum-2.6.1 | 3 | ||||
-rw-r--r-- | sys-apps/yum/metadata.xml | 10 | ||||
-rw-r--r-- | sys-apps/yum/yum-2.6.1.ebuild | 72 |
5 files changed, 111 insertions, 0 deletions
diff --git a/sys-apps/yum/ChangeLog b/sys-apps/yum/ChangeLog new file mode 100644 index 000000000000..7de3918e5f6e --- /dev/null +++ b/sys-apps/yum/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sys-apps/yum +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/yum/ChangeLog,v 1.1 2006/06/10 07:51:12 chrb Exp $ + +*yum-2.6.1 (10 Jun 2006) + + 10 Jun 2006; Chris Bainbridge <chrb@gentoo.org> +metadata.xml, + +yum-2.6.1.ebuild: + New package, submitted by Andrew Ross in bug #133848 + diff --git a/sys-apps/yum/Manifest b/sys-apps/yum/Manifest new file mode 100644 index 000000000000..0fb5f961bcbe --- /dev/null +++ b/sys-apps/yum/Manifest @@ -0,0 +1,16 @@ +DIST yum-2.6.1.tar.gz 236353 RMD160 c6f491e94dfae4019e6a934bdbcce79546bf86ba SHA1 ded1e65c368ff327abc867889656f7aabb1ed6c5 SHA256 c1385090977b3fa3a4db7bd7e277af0846ef1aa3d9511147c0de11f3a681874e +EBUILD yum-2.6.1.ebuild 1754 RMD160 1f3be20f5e13e7a9d386d977a848792a14a884b3 SHA1 5c4dd650e9da786c98556856be2fca9453b4fdda SHA256 c6b6571d52d7c92c663484b229d910feac456e1faf1fb4c2ca494c21426ea02a +MD5 7e7910281a1a058e4a99a99c54b200d9 yum-2.6.1.ebuild 1754 +RMD160 1f3be20f5e13e7a9d386d977a848792a14a884b3 yum-2.6.1.ebuild 1754 +SHA256 c6b6571d52d7c92c663484b229d910feac456e1faf1fb4c2ca494c21426ea02a yum-2.6.1.ebuild 1754 +MISC ChangeLog 281 RMD160 9871db7c439284d2521506b9e6380c5aeca4b939 SHA1 8d1a3e8f64234e63484e435dba29bcdf2e3894c4 SHA256 60b4401a6a855f0fa62511dfdf2bc616d6dc1b1aa54f905580a2595c6fc0a7ed +MD5 e44575f747c517e91ad78cfe22d00121 ChangeLog 281 +RMD160 9871db7c439284d2521506b9e6380c5aeca4b939 ChangeLog 281 +SHA256 60b4401a6a855f0fa62511dfdf2bc616d6dc1b1aa54f905580a2595c6fc0a7ed ChangeLog 281 +MISC metadata.xml 355 RMD160 b16a9d74178d8c8e8f6a09406fbe13f079c8e4ae SHA1 a7632323f562ad1dd0c285f6a2b49332d28afa0c SHA256 a35fe63ac919d9dd72e55d8905e65981a43128635742796e7522a4b347f82711 +MD5 6cd9fa191742a0d224dee810395ed78b metadata.xml 355 +RMD160 b16a9d74178d8c8e8f6a09406fbe13f079c8e4ae metadata.xml 355 +SHA256 a35fe63ac919d9dd72e55d8905e65981a43128635742796e7522a4b347f82711 metadata.xml 355 +MD5 645921b380f462b60ab6508f81fdbdb0 files/digest-yum-2.6.1 229 +RMD160 1632a24dd12b458b0581dfac0497984fd00acb99 files/digest-yum-2.6.1 229 +SHA256 e1474e1c1ac68007e74ebe07c7074fad425155c714d5439ec519b61a05831bb3 files/digest-yum-2.6.1 229 diff --git a/sys-apps/yum/files/digest-yum-2.6.1 b/sys-apps/yum/files/digest-yum-2.6.1 new file mode 100644 index 000000000000..79e57e5907e9 --- /dev/null +++ b/sys-apps/yum/files/digest-yum-2.6.1 @@ -0,0 +1,3 @@ +MD5 2dc94410341ef7f4171a7ecdc00be5bf yum-2.6.1.tar.gz 236353 +RMD160 c6f491e94dfae4019e6a934bdbcce79546bf86ba yum-2.6.1.tar.gz 236353 +SHA256 c1385090977b3fa3a4db7bd7e277af0846ef1aa3d9511147c0de11f3a681874e yum-2.6.1.tar.gz 236353 diff --git a/sys-apps/yum/metadata.xml b/sys-apps/yum/metadata.xml new file mode 100644 index 000000000000..1dd721d768a8 --- /dev/null +++ b/sys-apps/yum/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>chrb@gentoo.org</email> + <name>Chris Bainbridge</name> + </maintainer> + <longdescription>Automatic updater and package installer/remover for rpm + systems</longdescription> +</pkgmetadata> diff --git a/sys-apps/yum/yum-2.6.1.ebuild b/sys-apps/yum/yum-2.6.1.ebuild new file mode 100644 index 000000000000..453b70b5617c --- /dev/null +++ b/sys-apps/yum/yum-2.6.1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/yum/yum-2.6.1.ebuild,v 1.1 2006/06/10 07:51:12 chrb Exp $ + +inherit python distutils eutils + +DESCRIPTION="Automatic updater and package installer/remover for rpm systems" +HOMEPAGE="http://linux.duke.edu/projects/yum/" +SRC_URI="${HOMEPAGE}/download/${PV%.[0-9]}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc" + +RDEPEND="dev-python/celementtree + dev-python/urlgrabber + dev-libs/libxml2 + >=app-arch/rpm-4.4.1" + +DEPEND="" + +PYTHON_MODNAME="yum repomd rpmUtils" + +pkg_setup() { + if ! built_with_use dev-libs/libxml2 python + then + eerror "dev-libs/libxml2 wasn't built with the python use flag set!" + eerror "Add python to USE in /etc/make.conf and run" + eerror "'emerge --oneshot dev-libs/libxml2'" + die "need dev-libs/libxml2 built with python support." + fi + if ! built_with_use app-arch/rpm python + then + eerror "app-arch/rpm wasn't built with the python use flag set!" + eerror "Add python to USE in /etc/make.conf and run" + eerror "'emerge --oneshot app-arch/rpm'" + die "need app-arch/rpm built with python support." + fi +} + + +src_compile() { + emake || die "emake failed" +} + +src_install() { + make DESTDIR=${D} install || die "make install failed" + + dodoc README AUTHORS ChangeLog TODO + useq doc && dodoc PLUGINS + + # Makefile explicitly compiles python files + find ${D}/usr/ -name *.py[co] -exec rm {} \; + + # yum's auto-update functionality doesn't make + # sense for a system managed by portage + rm -rf ${D}/etc/cron.{daily,weekly} + rm -rf ${D}/etc/{rc.d,yum} +} + +pkg_postinst() { + python_version + python_mod_optimize ${ROOT}usr/share/${PN}-cli + distutils_pkg_postinst +} + +pkg_postrm() { + python_version + python_mod_cleanup ${ROOT}usr/share/${PN}-cli + distutils_pkg_postrm +} |