summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/pkgcore')
-rw-r--r--sys-apps/pkgcore/ChangeLog8
-rw-r--r--sys-apps/pkgcore/files/digest-pkgcore-0.2.13-r13
-rw-r--r--sys-apps/pkgcore/files/pkgcore-0.2.13-tweak_intercepts.patch17
-rw-r--r--sys-apps/pkgcore/pkgcore-0.2.13-r1.ebuild70
4 files changed, 97 insertions, 1 deletions
diff --git a/sys-apps/pkgcore/ChangeLog b/sys-apps/pkgcore/ChangeLog
index 12883936ae4a..d4c52355ba86 100644
--- a/sys-apps/pkgcore/ChangeLog
+++ b/sys-apps/pkgcore/ChangeLog
@@ -1,6 +1,12 @@
# 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.26 2007/03/30 18:33:52 marienz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v 1.27 2007/04/01 15:44:50 masterdriverz Exp $
+
+*pkgcore-0.2.13-r1 (01 Apr 2007)
+
+ 01 Apr 2007; Charlie Shepherd <masterdriverz@gentoo.org>
+ +files/pkgcore-0.2.13-tweak_intercepts.patch, +pkgcore-0.2.13-r1.ebuild:
+ Fix warnings caused by paludis written environment on vdb unmerge
*pkgcore-0.2.13 (30 Mar 2007)
diff --git a/sys-apps/pkgcore/files/digest-pkgcore-0.2.13-r1 b/sys-apps/pkgcore/files/digest-pkgcore-0.2.13-r1
new file mode 100644
index 000000000000..6954718495e1
--- /dev/null
+++ b/sys-apps/pkgcore/files/digest-pkgcore-0.2.13-r1
@@ -0,0 +1,3 @@
+MD5 15100146996accc508c697ab5291f0a9 pkgcore-0.2.13.tar.bz2 563424
+RMD160 a5c7b87af67bd0458950a21905df492256dcb68e pkgcore-0.2.13.tar.bz2 563424
+SHA256 b173588dbcd0f4f9a847d8162f4709daa4f453531315db6d7a7f292bea10f78e pkgcore-0.2.13.tar.bz2 563424
diff --git a/sys-apps/pkgcore/files/pkgcore-0.2.13-tweak_intercepts.patch b/sys-apps/pkgcore/files/pkgcore-0.2.13-tweak_intercepts.patch
new file mode 100644
index 000000000000..f788bb247856
--- /dev/null
+++ b/sys-apps/pkgcore/files/pkgcore-0.2.13-tweak_intercepts.patch
@@ -0,0 +1,17 @@
+=== modified file 'pkgcore/bin/ebuild-env/ebuild.sh'
+--- pkgcore/bin/ebuild-env/ebuild.sh 2007-03-29 16:27:43 +0000
++++ pkgcore/bin/ebuild-env/ebuild.sh 2007-04-01 15:08:43 +0000
+@@ -350,10 +350,10 @@
+ fi
+ };
+ function export() {
+- PKGCORE_ATTRS_EXPORTED="${PKGCORE_ATTRS_EXPORTED} $*"
++ declare -x "$@"
+ };
+ function readonly() {
+- PKGCORE_ATTRS_READONLY="${PKGCORE_ATTRS_READONLY} $*"
++ declare -r "$@"
+ };
+ function shopt() {
+ if [ "$1" == "-s" ]; then
+
diff --git a/sys-apps/pkgcore/pkgcore-0.2.13-r1.ebuild b/sys-apps/pkgcore/pkgcore-0.2.13-r1.ebuild
new file mode 100644
index 000000000000..b336a5bda7cd
--- /dev/null
+++ b/sys-apps/pkgcore/pkgcore-0.2.13-r1.ebuild
@@ -0,0 +1,70 @@
+# 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.13-r1.ebuild,v 1.1 2007/04/01 15:44:50 masterdriverz Exp $
+
+inherit distutils
+
+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 )"
+
+DOCS="AUTHORS NEWS"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ use hppa && epatch "${FILESDIR}/${PN}-0.2-hppa-disable-filter-env.patch"
+ epatch "${FILESDIR}/${P}-tweak_intercepts.patch"
+}
+
+src_compile() {
+ distutils_src_compile
+
+ if use doc; then
+ ./build_docs.py || die "doc building failed"
+ fi
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc; then
+ dohtml -r doc dev-notes
+ doman man/*.1
+ fi
+
+ dodoc doc/*.rst man/*.rst
+ docinto dev-notes
+ dodoc dev-notes/*.rst
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+ echo "updating pkgcore plugin cache"
+ pplugincache
+
+ if [[ -d "${ROOT}etc/pkgcore/plugins" ]]; then
+ elog "You still have an /etc/pkgcore/plugins from pkgcore 0.1."
+ elog "It is unused by pkgcore >= 0.2, so you can remove it now."
+ fi
+
+ elog "If the new layman sync support causes problems you can disable it"
+ elog "with FEATURES=-layman-sync. If you cannot sync a layman overlay"
+ elog "using pkgcore, file a bug in pkgcore.org trac instead of complaining"
+ elog "to the layman or overlay maintainer."
+}
+
+src_test() {
+ "${python}" setup.py test || die "testing returned non zero"
+}