diff options
author | Marien Zwart <marienz@gentoo.org> | 2006-09-30 22:12:52 +0000 |
---|---|---|
committer | Marien Zwart <marienz@gentoo.org> | 2006-09-30 22:12:52 +0000 |
commit | 789167a4d6bcfd79d9cc1d15d51c11c83b3f20b5 (patch) | |
tree | 2dd8fb1476be72c1f8a95eb3ce2161361dc3a6cc /sys-apps/pkgcore | |
parent | Stable on alpha as per security bug #145510 (diff) | |
download | historical-789167a4d6bcfd79d9cc1d15d51c11c83b3f20b5.tar.gz historical-789167a4d6bcfd79d9cc1d15d51c11c83b3f20b5.tar.bz2 historical-789167a4d6bcfd79d9cc1d15d51c11c83b3f20b5.zip |
New package.
Package-Manager: portage-2.1.2_pre1-r4
Diffstat (limited to 'sys-apps/pkgcore')
-rw-r--r-- | sys-apps/pkgcore/ChangeLog | 10 | ||||
-rw-r--r-- | sys-apps/pkgcore/Manifest | 26 | ||||
-rw-r--r-- | sys-apps/pkgcore/files/digest-pkgcore-0.1 | 3 | ||||
-rw-r--r-- | sys-apps/pkgcore/metadata.xml | 8 | ||||
-rw-r--r-- | sys-apps/pkgcore/pkgcore-0.1.ebuild | 67 |
5 files changed, 114 insertions, 0 deletions
diff --git a/sys-apps/pkgcore/ChangeLog b/sys-apps/pkgcore/ChangeLog new file mode 100644 index 000000000000..b25ec7af37c9 --- /dev/null +++ b/sys-apps/pkgcore/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sys-apps/pkgcore +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v 1.1 2006/09/30 22:12:52 marienz Exp $ + +*pkgcore-0.1 (30 Sep 2006) + + 30 Sep 2006; Marien Zwart <marienz@gentoo.org> +metadata.xml, + +pkgcore-0.1.ebuild: + New package. + diff --git a/sys-apps/pkgcore/Manifest b/sys-apps/pkgcore/Manifest new file mode 100644 index 000000000000..d2d675758aa7 --- /dev/null +++ b/sys-apps/pkgcore/Manifest @@ -0,0 +1,26 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST pkgcore-0.1.tar.bz2 386019 RMD160 49907cac4b83a0d00afaf41773e457886c1e054f SHA1 7852e3d90c8b0eaa2a9f4f069cdcbd0d3b3022eb SHA256 66f88ae7d181d182a02f1a99db222bd82d583c2de06a9ad6d5e6bc4701a3ec30 +EBUILD pkgcore-0.1.ebuild 1820 RMD160 9760f51d92326a43d6afca5b3873c0d5b48729c5 SHA1 ebf6268fb842f37709aad301135470854cf3929d SHA256 7d1e10fc11e046d72ab6af935e18707c36f4e3b3d211004518e14a2eb86b272d +MD5 dc461f052464daad2b7dc7bc141ef1f2 pkgcore-0.1.ebuild 1820 +RMD160 9760f51d92326a43d6afca5b3873c0d5b48729c5 pkgcore-0.1.ebuild 1820 +SHA256 7d1e10fc11e046d72ab6af935e18707c36f4e3b3d211004518e14a2eb86b272d pkgcore-0.1.ebuild 1820 +MISC ChangeLog 337 RMD160 39be26f58529d2da0efbaef13f6414779be196ec SHA1 84e818550e7bfb49895a000f35d37241b50514cb SHA256 ad38ef7f3c901c59fdd2e42ca6a74522095570f7fa79248c0c7e201bc32c9281 +MD5 48abab9b3d749a1a8ce845e7b67cbf64 ChangeLog 337 +RMD160 39be26f58529d2da0efbaef13f6414779be196ec ChangeLog 337 +SHA256 ad38ef7f3c901c59fdd2e42ca6a74522095570f7fa79248c0c7e201bc32c9281 ChangeLog 337 +MISC metadata.xml 222 RMD160 01bd2c9180f544353de73063bede0dd6b8ca6152 SHA1 95963907e0f22bc3795213303a68a2155b1ba78a SHA256 6e5dda05386711c829057f65bfd0e3ae693232628949c1612163ce9915963a63 +MD5 5dff6cc33967055cfde969cbcb7b6d5d metadata.xml 222 +RMD160 01bd2c9180f544353de73063bede0dd6b8ca6152 metadata.xml 222 +SHA256 6e5dda05386711c829057f65bfd0e3ae693232628949c1612163ce9915963a63 metadata.xml 222 +MD5 ab58c21cebc059bcab47c4889619d390 files/digest-pkgcore-0.1 238 +RMD160 1930995286171cd66d6acb8e71dbb93faf1fdc11 files/digest-pkgcore-0.1 238 +SHA256 4c9dd628eebfbd9e0ae3da7f993ab3a8c52bcc6be8c060c66cb76287db20479c files/digest-pkgcore-0.1 238 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.5 (GNU/Linux) + +iD8DBQFFHuvrUElL7eJpfEQRAokFAJ9SYKAinGAcde0xoO6Ev60+edwVNACgjfmy +uY9igzM+v+llZzPq6X0k7Kg= +=mnDR +-----END PGP SIGNATURE----- diff --git a/sys-apps/pkgcore/files/digest-pkgcore-0.1 b/sys-apps/pkgcore/files/digest-pkgcore-0.1 new file mode 100644 index 000000000000..9740cb113e3e --- /dev/null +++ b/sys-apps/pkgcore/files/digest-pkgcore-0.1 @@ -0,0 +1,3 @@ +MD5 c0b918f3ce670aa4ec28d29c339146a1 pkgcore-0.1.tar.bz2 386019 +RMD160 49907cac4b83a0d00afaf41773e457886c1e054f pkgcore-0.1.tar.bz2 386019 +SHA256 66f88ae7d181d182a02f1a99db222bd82d583c2de06a9ad6d5e6bc4701a3ec30 pkgcore-0.1.tar.bz2 386019 diff --git a/sys-apps/pkgcore/metadata.xml b/sys-apps/pkgcore/metadata.xml new file mode 100644 index 000000000000..204216dfd8c4 --- /dev/null +++ b/sys-apps/pkgcore/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>python</herd> +<maintainer> + <email>marienz@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/sys-apps/pkgcore/pkgcore-0.1.ebuild b/sys-apps/pkgcore/pkgcore-0.1.ebuild new file mode 100644 index 000000000000..7eca9c1a6a97 --- /dev/null +++ b/sys-apps/pkgcore/pkgcore-0.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/pkgcore-0.1.ebuild,v 1.1 2006/09/30 22:12:52 marienz Exp $ + +inherit distutils + +DESCRIPTION="pkgcore package manager" +HOMEPAGE="http://dev.gentooexperimental.org/pkgcore-trac/" +SRC_URI="http://dev.gentooexperimental.org/~${PN}/releases/${PN}/${PF}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc" + +DEPEND=">=dev-lang/python-2.4" +RDEPEND=">=dev-lang/python-2.4 + || ( >=dev-lang/python-2.5 dev-python/pycrypto ) + >=app-shells/bash-3.0 + doc? ( >=dev-python/docutils-0.4 )" + + +src_compile() { + distutils_src_compile + + if use doc; then + ./build_docs.py || die "doc building failed" + fi +} + +src_install() { + distutils_src_install + + # This wrapper is not useful when called directly. + rm "${D}/usr/bin/pwrapper" + + if use doc; then + dohtml -r doc dev-notes + fi + + dodoc doc/*.rst + docinto dev-notes + dodoc dev-notes/*.rst + +} + +pkg_postinst() { + einfo "Registering plugins..." + register_plugin.py -s fs_ops copyfile 1 pkgcore.fs.ops.default_copyfile + register_plugin.py -s fs_ops ensure_perms 1 \ + pkgcore.fs.ops.default_ensure_perms + register_plugin.py -s fs_ops mkdir 1 pkgcore.fs.ops.default_mkdir + register_plugin.py -s fs_ops merge_contents 1 \ + pkgcore.fs.ops.merge_contents + register_plugin.py -s fs_ops unmerge_contents 1 \ + pkgcore.fs.ops.unmerge_contents + register_plugin.py -s format ebuild_built 0.0 \ + pkgcore.ebuild.ebuild_built.generate_new_factory + register_plugin.py -s format ebuild_src 0.0 \ + pkgcore.ebuild.ebuild_src.generate_new_factory +} + +src_test() { + "${python}" setup.py build_ext --force --inplace || \ + die "failed building extensions in src dir for testing" + "${python}" ./sandbox/test.py || die "tested returned non zero" +} |