diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2003-10-11 06:12:59 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2003-10-11 06:12:59 +0000 |
commit | f4dd30a03818fb041fba8ca10ddbd6c616f63a46 (patch) | |
tree | 810b3ab1fdc28d5ff900d5644e7d9e87a6b517cb /dev-python/validation | |
parent | initial commit, bug #27495, submission by duchier@ps.uni-sb.de (diff) | |
download | historical-f4dd30a03818fb041fba8ca10ddbd6c616f63a46.tar.gz historical-f4dd30a03818fb041fba8ca10ddbd6c616f63a46.tar.bz2 historical-f4dd30a03818fb041fba8ca10ddbd6c616f63a46.zip |
initial commit, bug #27495, submission by duchier@ps.uni-sb.de
Diffstat (limited to 'dev-python/validation')
-rw-r--r-- | dev-python/validation/Manifest | 4 | ||||
-rw-r--r-- | dev-python/validation/files/digest-validation-1.0 | 1 | ||||
-rw-r--r-- | dev-python/validation/metadata.xml | 5 | ||||
-rw-r--r-- | dev-python/validation/validation-1.0.ebuild | 41 |
4 files changed, 50 insertions, 1 deletions
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 +} |