summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2003-10-11 06:12:59 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2003-10-11 06:12:59 +0000
commit31b50b65d2025297ed84769760b9ab24493ed39b (patch)
treec16372de8dd05673de40a23b2b837fa7d5f5fe04 /dev-python
parentinitial commit, bug #27495, submission by duchier@ps.uni-sb.de (diff)
downloadgentoo-2-31b50b65d2025297ed84769760b9ab24493ed39b.tar.gz
gentoo-2-31b50b65d2025297ed84769760b9ab24493ed39b.tar.bz2
gentoo-2-31b50b65d2025297ed84769760b9ab24493ed39b.zip
initial commit, bug #27495, submission by duchier@ps.uni-sb.de
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/validation/ChangeLog10
-rw-r--r--dev-python/validation/Manifest4
-rw-r--r--dev-python/validation/files/digest-validation-1.01
-rw-r--r--dev-python/validation/metadata.xml5
-rw-r--r--dev-python/validation/validation-1.0.ebuild41
5 files changed, 60 insertions, 1 deletions
diff --git a/dev-python/validation/ChangeLog b/dev-python/validation/ChangeLog
new file mode 100644
index 000000000000..e58ef33620a0
--- /dev/null
+++ b/dev-python/validation/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/validation
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/validation/ChangeLog,v 1.1 2003/10/11 06:12:57 robbat2 Exp $
+
+*validation-1.0 (10 Oct 2003)
+
+ 10 Oct 2003; Robin H. Johnson <robbat2@gentoo.org> metadata.xml,
+ validation-1.0.ebuild:
+ initial commit, bug #27495, submission by duchier@ps.uni-sb.de
+
diff --git a/dev-python/validation/Manifest b/dev-python/validation/Manifest
index f850a339df94..1c39c374da66 100644
--- a/dev-python/validation/Manifest
+++ b/dev-python/validation/Manifest
@@ -1,2 +1,4 @@
-MD5 ce494b446fc8e7224b745d4ed86b6c10 validation-1.0.ebuild 646
+MD5 b61ff26d1df283c70a35d6a3259d5807 validation-1.0.ebuild 1197
+MD5 2929fa3b5be21c94a079e9278ccb06d1 ChangeLog 413
+MD5 7890d88c5c6d189fbe6b187a3ebb6532 metadata.xml 161
MD5 12418119718245666bf678e376f890e7 files/digest-validation-1.0 64
diff --git a/dev-python/validation/files/digest-validation-1.0 b/dev-python/validation/files/digest-validation-1.0
new file mode 100644
index 000000000000..d332dbbc036a
--- /dev/null
+++ b/dev-python/validation/files/digest-validation-1.0
@@ -0,0 +1 @@
+MD5 1c7546f1b7cf46384a6181944349777f validation-1.0.tar.gz 3606
diff --git a/dev-python/validation/metadata.xml b/dev-python/validation/metadata.xml
new file mode 100644
index 000000000000..46c8eea1b318
--- /dev/null
+++ b/dev-python/validation/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-zope</herd>
+</pkgmetadata>
diff --git a/dev-python/validation/validation-1.0.ebuild b/dev-python/validation/validation-1.0.ebuild
new file mode 100644
index 000000000000..a493b296e690
--- /dev/null
+++ b/dev-python/validation/validation-1.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/validation/validation-1.0.ebuild,v 1.1 2003/10/11 06:12:57 robbat2 Exp $
+SLOT=0
+IUSE=""
+DESCRIPTION="Generic validators originally defined for Archetypes"
+SRC_URI="mirror://sourceforge/archetypes/${P}.tar.gz"
+S=${WORKDIR}/${P}
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+if [ "${PYTHON_SLOT_VERSION}" = 'VIRTUAL' ] ; then
+ RDEPEND="virtual/python"
+else
+ RDEPEND="dev-lang/python"
+fi
+DEPEND="${RDEPEND}"
+
+src_install() {
+ local python=""
+ if [ "${PYTHON_SLOT_VERSION}" = 'VIRTUAL' ] ; then
+ python='python'
+ einfo "Building with virtual python"
+ else
+ if has_version '=dev-lang/python-2.1*'; then
+ python="${python} python2.1"
+ einfo "Building with Python 2.1"
+ fi
+ if has_version '=dev-lang/python-2.2*'; then
+ python="${python} python2.2"
+ einfo "Building with Python 2.2"
+ fi
+ fi
+
+ for i in ${python}; do
+ $i setup.py clean
+ # ok, so this actually compiles them here, but it was the only way I could find to
+ # compile both versions
+ $i setup.py build install --prefix=${D}/usr || die
+ done;
+ dodoc ChangeLog PKG-INFO README
+}