summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlie Shepherd <masterdriverz@gentoo.org>2006-12-19 18:38:43 +0000
committerCharlie Shepherd <masterdriverz@gentoo.org>2006-12-19 18:38:43 +0000
commit3d66ffb8198da492f4ab45dd1a63a194d8d13f86 (patch)
tree6922f12968012bfca1b2e1cf1a77464469bbdb1d
parentkde-misc/metamonitor: Trailing blank line (diff)
downloadsunrise-3d66ffb8198da492f4ab45dd1a63a194d8d13f86.tar.gz
sunrise-3d66ffb8198da492f4ab45dd1a63a194d8d13f86.tar.bz2
sunrise-3d66ffb8198da492f4ab45dd1a63a194d8d13f86.zip
net-zope/relations: Fix up, use versionator and || die
svn path=/sunrise/; revision=2354
-rw-r--r--net-zope/relations/Manifest8
-rw-r--r--net-zope/relations/relations-0.6b.ebuild22
2 files changed, 16 insertions, 14 deletions
diff --git a/net-zope/relations/Manifest b/net-zope/relations/Manifest
index 5470420a7..86633820e 100644
--- a/net-zope/relations/Manifest
+++ b/net-zope/relations/Manifest
@@ -1,8 +1,8 @@
DIST relations-0-6b-tar.gz 58940 RMD160 30eb58b3de5aab85b6483d5d1136e2510fc904f5 SHA1 61ef5446424a33a9c1363fa0daf11ef28a1e4425 SHA256 1530977e717e2fe83a7cfcfcc461e4e2b4b982cca4afe88b01261bf819399a44
-EBUILD relations-0.6b.ebuild 701 RMD160 fcdd330db7ddb4d5a370d894cccddd58950ec1fa SHA1 3529888d2d44eab209eb627d784b933d01c6c231 SHA256 1e25ef5abb644173c87f223cb9d67324373ec50204350e3304d408dffc228506
-MD5 ab1cdc27a70127e2bfe0def11399d8d8 relations-0.6b.ebuild 701
-RMD160 fcdd330db7ddb4d5a370d894cccddd58950ec1fa relations-0.6b.ebuild 701
-SHA256 1e25ef5abb644173c87f223cb9d67324373ec50204350e3304d408dffc228506 relations-0.6b.ebuild 701
+EBUILD relations-0.6b.ebuild 908 RMD160 fd079299b9399b44a7963e02ac449fac14f4b6bd SHA1 d4150e2fdc63375f0b3fee2575f77f5ebde42ebb SHA256 488a70e2d86e6222607edf492436900ac9a58a100b37bb5e72f986e16c3b5d92
+MD5 331f4cd2270c7a100b915c90cd31e5d4 relations-0.6b.ebuild 908
+RMD160 fd079299b9399b44a7963e02ac449fac14f4b6bd relations-0.6b.ebuild 908
+SHA256 488a70e2d86e6222607edf492436900ac9a58a100b37bb5e72f986e16c3b5d92 relations-0.6b.ebuild 908
MISC ChangeLog 265 RMD160 f00c1ff4af5f3fb658c0d13b0e5f44020f39f6a4 SHA1 0bcc13ddec89474ae6dc62c899e153c6a359aa44 SHA256 2fb2921b16a0504d5271542880eff63f5fa30b1fab1cfd4ae486a3b07eb85e39
MD5 d6eaf6902042d4058694364780741bbf ChangeLog 265
RMD160 f00c1ff4af5f3fb658c0d13b0e5f44020f39f6a4 ChangeLog 265
diff --git a/net-zope/relations/relations-0.6b.ebuild b/net-zope/relations/relations-0.6b.ebuild
index 9acf5371a..3664c71e8 100644
--- a/net-zope/relations/relations-0.6b.ebuild
+++ b/net-zope/relations/relations-0.6b.ebuild
@@ -1,14 +1,15 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+# $Header: $
-inherit zproduct
+inherit versionator zproduct
-PKG="relations-0-6b-tar.gz"
+MY_PV="$(replace_version_separator 1 '-' )"
+MY_P="${PN}-${MY_PV}"
-DESCRIPTION="Relations allows for component-wise control of validation, creation
-and lifetime of Archetypes references."
+DESCRIPTION="Relations allows for component-wise control of validation, creation and lifetime of Archetypes references."
HOMEPAGE="http://plone.org/products/relations/"
-SRC_URI="http://plone.org/products/relations/releases/${PV}/${PKG}"
+SRC_URI="http://plone.org/products/relations/releases/${PV}/${MY_P}-tar.gz"
LICENSE="GPL-2"
SLOT="0"
@@ -18,12 +19,13 @@ RDEPEND="net-zope/archetypes"
ZPROD_LIST="Relations"
+S="${WORKDIR}/${MY_P}"
+
src_unpack() {
# this has to be done manually since $A is incorrect, and readonly
# unpack function does not work either
- tar xzf ${DISTDIR}/${PKG} -C ${WORKDIR}
-}
-
-src_install() {
- zproduct_src_install all
+ #
+ # reviewed (grudgingly) by masterdriverz pending a mail I sent to upstream
+ # requesting they fix their tarball names
+ tar xzf "${DISTDIR}/${MY_P}-tar.gz" -C "${WORKDIR}" || die 'unpack failed'
}