diff options
Diffstat (limited to 'sys-apps/pkgcore')
-rw-r--r-- | sys-apps/pkgcore/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/pkgcore/files/digest-pkgcore-0.2.1 | 3 | ||||
-rw-r--r-- | sys-apps/pkgcore/pkgcore-0.2.1.ebuild | 62 |
3 files changed, 71 insertions, 1 deletions
diff --git a/sys-apps/pkgcore/ChangeLog b/sys-apps/pkgcore/ChangeLog index ed631a1e2e2d..c36005c01003 100644 --- a/sys-apps/pkgcore/ChangeLog +++ b/sys-apps/pkgcore/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/pkgcore # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v 1.13 2007/01/22 11:03:41 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v 1.14 2007/01/24 19:07:13 jokey Exp $ + +*pkgcore-0.2.1 (24 Jan 2007) + + 24 Jan 2007; Markus Ullmann <jokey@gentoo.org> +pkgcore-0.2.1.ebuild: + Version bump *pkgcore-0.2-r1 (22 Jan 2007) diff --git a/sys-apps/pkgcore/files/digest-pkgcore-0.2.1 b/sys-apps/pkgcore/files/digest-pkgcore-0.2.1 new file mode 100644 index 000000000000..5c36fb6359c5 --- /dev/null +++ b/sys-apps/pkgcore/files/digest-pkgcore-0.2.1 @@ -0,0 +1,3 @@ +MD5 234d86b38c07803cf3912919e0ca93a8 pkgcore-0.2.1.tar.bz2 496898 +RMD160 4f6fcd3a78a205f64aaa26ce1c7aec8d934ebd93 pkgcore-0.2.1.tar.bz2 496898 +SHA256 c15ae8b672f435bf3c2dfca5aae5708c610880a1f40dc342ccf52dcaf6e25d38 pkgcore-0.2.1.tar.bz2 496898 diff --git a/sys-apps/pkgcore/pkgcore-0.2.1.ebuild b/sys-apps/pkgcore/pkgcore-0.2.1.ebuild new file mode 100644 index 000000000000..d66973ff68ee --- /dev/null +++ b/sys-apps/pkgcore/pkgcore-0.2.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/pkgcore-0.2.1.ebuild,v 1.1 2007/01/24 19:07:13 jokey Exp $ + +inherit distutils toolchain-funcs + +DESCRIPTION="pkgcore package manager" +HOMEPAGE="http://www.pkgcore.org" +SRC_URI="http://www.pkgcore.org/releases/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc64 ~sparc ~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_unpack() { + unpack ${A} + cd ${S} + use hppa && epatch "${FILESDIR}/${PN}-0.2-hppa-disable-filter-env.patch" +} + +src_compile() { + # The CC export is used by the filter-env build + CC=$(tc-getCC) 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() { + distutils_pkg_postinst + echo "updating pkgcore plugin cache" + pplugincache +} + +src_test() { + "${python}" setup.py build_ext --inplace || \ + die "failed building extensions in src dir for testing" + "${python}" setup.py test || die "tested returned non zero" +} |