summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Cakebread <pythonhead@gentoo.org>2007-05-18 02:58:43 +0000
committerRob Cakebread <pythonhead@gentoo.org>2007-05-18 02:58:43 +0000
commite02d32a002081dd9c7f4f9fac0ae33b281154a6e (patch)
treefc7a3f149e46e19f3b808cd0fbb170476708eebb /dev-python
parentTesting claims of CVS brokenness. (diff)
downloadgentoo-2-e02d32a002081dd9c7f4f9fac0ae33b281154a6e.tar.gz
gentoo-2-e02d32a002081dd9c7f4f9fac0ae33b281154a6e.tar.bz2
gentoo-2-e02d32a002081dd9c7f4f9fac0ae33b281154a6e.zip
Version bump, removed old version.
(Portage version: 2.1.2.7)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/yolk/ChangeLog9
-rw-r--r--dev-python/yolk/files/digest-yolk-0.0.7-r13
-rw-r--r--dev-python/yolk/files/digest-yolk-0.1.03
-rw-r--r--dev-python/yolk/files/yolk-0.0.7-bad-egg.patch39
-rw-r--r--dev-python/yolk/yolk-0.0.7-r1.ebuild39
-rw-r--r--dev-python/yolk/yolk-0.1.0.ebuild38
6 files changed, 49 insertions, 82 deletions
diff --git a/dev-python/yolk/ChangeLog b/dev-python/yolk/ChangeLog
index c8891f476a4d..9543504ddaa8 100644
--- a/dev-python/yolk/ChangeLog
+++ b/dev-python/yolk/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-python/yolk
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/yolk/ChangeLog,v 1.2 2007/04/23 18:35:43 pythonhead Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/yolk/ChangeLog,v 1.3 2007/05/18 02:58:43 pythonhead Exp $
+
+*yolk-0.1.0 (18 May 2007)
+
+ 18 May 2007; Rob Cakebread <pythonhead@gentoo.org>
+ -files/yolk-0.0.7-bad-egg.patch, -yolk-0.0.7-r1.ebuild,
+ +yolk-0.1.0.ebuild:
+ Version bump, removed old version.
*yolk-0.0.7-r1 (23 Apr 2007)
diff --git a/dev-python/yolk/files/digest-yolk-0.0.7-r1 b/dev-python/yolk/files/digest-yolk-0.0.7-r1
deleted file mode 100644
index b29816d83be0..000000000000
--- a/dev-python/yolk/files/digest-yolk-0.0.7-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 c0622b9727cbfe150f203b345d3f50e8 yolk-0.0.7.tar.gz 29441
-RMD160 dfd2dd2730acbe2801ad34cb747e466edb9425eb yolk-0.0.7.tar.gz 29441
-SHA256 10440e4d37b1c9f52e1437b5a789b629061eb9cbf05a5afb08d673840a190437 yolk-0.0.7.tar.gz 29441
diff --git a/dev-python/yolk/files/digest-yolk-0.1.0 b/dev-python/yolk/files/digest-yolk-0.1.0
new file mode 100644
index 000000000000..80a0522ae692
--- /dev/null
+++ b/dev-python/yolk/files/digest-yolk-0.1.0
@@ -0,0 +1,3 @@
+MD5 f7f8b7641cb39ac390cc6ba269bf122d yolk-0.1.0.tar.gz 73596
+RMD160 a8070211af4384b072e90e6ee42784af9e133d4e yolk-0.1.0.tar.gz 73596
+SHA256 ec04f5cb62cece76ecf1e0215287792d5973fe6852600d2c587a123ac1d10704 yolk-0.1.0.tar.gz 73596
diff --git a/dev-python/yolk/files/yolk-0.0.7-bad-egg.patch b/dev-python/yolk/files/yolk-0.0.7-bad-egg.patch
deleted file mode 100644
index 1f0a87ff022b..000000000000
--- a/dev-python/yolk/files/yolk-0.0.7-bad-egg.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-Index: /trunk/yolk/yolklib.py
-===================================================================
---- /trunk/yolk/yolklib.py (revision 98)
-+++ /trunk/yolk/yolklib.py (revision 116)
-@@ -91,7 +91,13 @@
-
-
--def get_highest_installed(project_name):
-- """Return highest version of installed package"""
-- return pkg_resources.require(project_name)[0].version
-+ def get_highest_installed(self, project_name):
-+ """Return highest version of installed package"""
-+ #http://tools.assembla.com/yolk/ticket/17
-+ #try:
-+ # return pkg_resources.require(project_name)[0].version
-+ #except pkg_resources.DistributionNotFound:
-+ # Do something like:
-+ # return "Error: Possibly corrupt egg."
-+ return self.environment[project_name][0].version
-
-
-Index: /trunk/yolk/cli.py
-===================================================================
---- /trunk/yolk/cli.py (revision 107)
-+++ /trunk/yolk/cli.py (revision 116)
-@@ -31,5 +31,5 @@
- from yolk import __version__
- from yolk.metadata import get_metadata
--from yolk.yolklib import get_highest_installed, get_highest_version, Distributions
-+from yolk.yolklib import get_highest_version, Distributions
- from yolk.pypi import CheeseShop
- from yolk.setuptools_support import get_download_uri
-@@ -69,5 +69,5 @@
- for pkg in get_pkglist():
- for (dist, active) in dists.get_distributions("all", pkg,
-- get_highest_installed(pkg)):
-+ dists.get_highest_installed(pkg)):
- (project_name, versions) = \
- pypi.query_versions_pypi(dist.project_name, True)
diff --git a/dev-python/yolk/yolk-0.0.7-r1.ebuild b/dev-python/yolk/yolk-0.0.7-r1.ebuild
deleted file mode 100644
index ecd5bf7c2d0b..000000000000
--- a/dev-python/yolk/yolk-0.0.7-r1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/yolk/yolk-0.0.7-r1.ebuild,v 1.1 2007/04/23 18:35:43 pythonhead Exp $
-
-inherit distutils eutils
-
-NEED_PYTHON=2.4
-DESCRIPTION="Tool and library for querying PyPI and packages installed by setuptools"
-HOMEPAGE="http://cheeseshop.python.org/pypi/yolk"
-SRC_URI="http://cheeseshop.python.org/packages/source/y/yolk/${P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE="test examples"
-RDEPEND="|| ( >=dev-lang/python-2.5 dev-python/elementtree )
- dev-python/setuptools
- test? ( dev-python/nose )
- dev-python/yolk-portage"
-
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- #Avoid traceback from users botched egg removal.
- epatch ${FILESDIR}/${P}-bad-egg.patch
-}
-
-src_install() {
- distutils_src_install
- if use examples ; then
- dodir /usr/share/doc/${P}/examples
- cp -r examples/* ${D}/usr/share/doc/${P}/examples
- fi
-}
-
-src_test() {
- nosetests || die "nose test failed"
-}
-
diff --git a/dev-python/yolk/yolk-0.1.0.ebuild b/dev-python/yolk/yolk-0.1.0.ebuild
new file mode 100644
index 000000000000..c160543aab4d
--- /dev/null
+++ b/dev-python/yolk/yolk-0.1.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/yolk/yolk-0.1.0.ebuild,v 1.1 2007/05/18 02:58:43 pythonhead Exp $
+
+inherit distutils
+
+NEED_PYTHON=2.4
+DESCRIPTION="Tool and library for querying PyPI and locally installed Python packages"
+HOMEPAGE="http://cheeseshop.python.org/pypi/yolk"
+SRC_URI="http://cheeseshop.python.org/packages/source/y/yolk/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="test examples"
+RDEPEND="|| ( <=dev-lang/python-2.5 dev-python/elementtree )
+ dev-python/setuptools
+ test? ( dev-python/nose
+ || ( <=dev-lang/python-2.5 dev-python/celementtree ) )
+ dev-python/yolk-portage"
+
+
+src_install() {
+ distutils_src_install
+ if use examples ; then
+ docinto examples/plugins
+ dodoc ${S}/examples/plugins/*
+ docinto examples/plugins/yolk_portage
+ dodoc ${S}/examples/plugins/yolk_portage/*
+ docinto examples/plugins/yolk_pkg_manager
+ dodoc ${S}/examples/plugins/yolk_pkg_manager/*
+ prepalldocs
+ fi
+}
+
+src_test() {
+ PYTHONPATH=. "${python}" setup.py nosetests || die "tests failed"
+}
+