summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Strzygowski <lucass@gentoo.org>2007-03-19 22:27:32 +0000
committerLukasz Strzygowski <lucass@gentoo.org>2007-03-19 22:27:32 +0000
commitf52938e52ee680d078523c10f273bcff60b5acde (patch)
treec13f6f2835403f40cfce726ff5c931f17a42156f /dev-python/formencode
parentList myself as maintainer (diff)
downloadgentoo-2-f52938e52ee680d078523c10f273bcff60b5acde.tar.gz
gentoo-2-f52938e52ee680d078523c10f273bcff60b5acde.tar.bz2
gentoo-2-f52938e52ee680d078523c10f273bcff60b5acde.zip
Added NEED_PYTHON. Added missing rdep on setuptools. Fixed setup.py to skip use_setuptools and extras_require. Fixed to install docs/*.txt. Dropped old versions.
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-python/formencode')
-rw-r--r--dev-python/formencode/ChangeLog13
-rw-r--r--dev-python/formencode/files/digest-formencode-0.2.23
-rw-r--r--dev-python/formencode/files/digest-formencode-0.33
-rw-r--r--dev-python/formencode/files/digest-formencode-0.43
-rw-r--r--dev-python/formencode/files/digest-formencode-0.63
-rw-r--r--dev-python/formencode/files/formencode-0.2.2-setup-gentoo.patch15
-rw-r--r--dev-python/formencode/files/formencode-0.3-setup-gentoo.patch15
-rw-r--r--dev-python/formencode/files/formencode-0.4-setup-gentoo.patch15
-rw-r--r--dev-python/formencode/files/formencode-0.6-setup-gentoo.patch15
-rw-r--r--dev-python/formencode/formencode-0.2.2.ebuild32
-rw-r--r--dev-python/formencode/formencode-0.3.ebuild36
-rw-r--r--dev-python/formencode/formencode-0.4.ebuild36
-rw-r--r--dev-python/formencode/formencode-0.6.ebuild40
-rw-r--r--dev-python/formencode/formencode-0.7.ebuild17
14 files changed, 27 insertions, 219 deletions
diff --git a/dev-python/formencode/ChangeLog b/dev-python/formencode/ChangeLog
index e381eb69e99e..8798d47fb53e 100644
--- a/dev-python/formencode/ChangeLog
+++ b/dev-python/formencode/ChangeLog
@@ -1,6 +1,17 @@
# ChangeLog for dev-python/formencode
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/formencode/ChangeLog,v 1.9 2007/03/19 04:53:47 pythonhead Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/formencode/ChangeLog,v 1.10 2007/03/19 22:27:32 lucass Exp $
+
+ 19 Mar 2007; Lukasz Strzygowski <lucass@gentoo.org>
+ -files/formencode-0.2.2-setup-gentoo.patch,
+ -files/formencode-0.3-setup-gentoo.patch,
+ -files/formencode-0.4-setup-gentoo.patch,
+ -files/formencode-0.6-setup-gentoo.patch, -formencode-0.2.2.ebuild,
+ -formencode-0.3.ebuild, -formencode-0.4.ebuild, -formencode-0.6.ebuild,
+ formencode-0.7.ebuild:
+ Added NEED_PYTHON. Added missing rdep on setuptools. Fixed setup.py to skip
+ use_setuptools and extras_require. Fixed to install docs/*.txt. Dropped old
+ versions.
*formencode-0.7 (19 Mar 2007)
diff --git a/dev-python/formencode/files/digest-formencode-0.2.2 b/dev-python/formencode/files/digest-formencode-0.2.2
deleted file mode 100644
index 4955f9784320..000000000000
--- a/dev-python/formencode/files/digest-formencode-0.2.2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 56bb04a6ce9a3dcb187b3db6091ec5d9 FormEncode-0.2.2.tar.gz 84126
-RMD160 31d1e69cc74c6ee1a01decaffff639dade4bb712 FormEncode-0.2.2.tar.gz 84126
-SHA256 063a533ab20782eb914630cf7c30be7518e0aafce9af1042695fb684c9652c9c FormEncode-0.2.2.tar.gz 84126
diff --git a/dev-python/formencode/files/digest-formencode-0.3 b/dev-python/formencode/files/digest-formencode-0.3
deleted file mode 100644
index 029c507343ea..000000000000
--- a/dev-python/formencode/files/digest-formencode-0.3
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 57afa5aad26bf3acb8b00e4babfe8297 FormEncode-0.3.tar.gz 94346
-RMD160 e637edfe7a06a13b222066e5b53af01289d25bba FormEncode-0.3.tar.gz 94346
-SHA256 81742a9a9f9e4d19b48320b600674a462997b0d9f9ea4f4f42f5f945fc62e455 FormEncode-0.3.tar.gz 94346
diff --git a/dev-python/formencode/files/digest-formencode-0.4 b/dev-python/formencode/files/digest-formencode-0.4
deleted file mode 100644
index 9ab3582a66e6..000000000000
--- a/dev-python/formencode/files/digest-formencode-0.4
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 797852a19505f7d919db96dd994d0484 FormEncode-0.4.tar.gz 103978
-RMD160 834bc437f2a32498b50ece9a902141fde4744f8e FormEncode-0.4.tar.gz 103978
-SHA256 2c0de0243ce1853bf62ed9b2da122472b6682a117843af0cce4b4cf9588194ff FormEncode-0.4.tar.gz 103978
diff --git a/dev-python/formencode/files/digest-formencode-0.6 b/dev-python/formencode/files/digest-formencode-0.6
deleted file mode 100644
index f0732e5838e1..000000000000
--- a/dev-python/formencode/files/digest-formencode-0.6
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 8504d515a8e25f1bba6842224b7494ae FormEncode-0.6.tar.gz 108841
-RMD160 e282d9a0e9ca873c1bb06736fb5d3d9e769dd6a4 FormEncode-0.6.tar.gz 108841
-SHA256 6d27e15466fb5e8a2760ea47f6c6b8d8ba4190d4016fac6973adb20641f1b0ce FormEncode-0.6.tar.gz 108841
diff --git a/dev-python/formencode/files/formencode-0.2.2-setup-gentoo.patch b/dev-python/formencode/files/formencode-0.2.2-setup-gentoo.patch
deleted file mode 100644
index 20e5d087854f..000000000000
--- a/dev-python/formencode/files/formencode-0.2.2-setup-gentoo.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- setup.py.org 2005-10-17 13:00:43.570677240 -0700
-+++ setup.py 2005-10-17 13:02:11.089372376 -0700
-@@ -1,6 +1,9 @@
--from ez_setup import use_setuptools
--use_setuptools()
--from setuptools import setup
-+try:
-+ from ez_setup import use_setuptools
-+ use_setuptools()
-+ from setuptools import setup
-+except:
-+ from distutils.core import setup
-
- setup(name="FormEncode",
- version="0.2.2",
diff --git a/dev-python/formencode/files/formencode-0.3-setup-gentoo.patch b/dev-python/formencode/files/formencode-0.3-setup-gentoo.patch
deleted file mode 100644
index 20e5d087854f..000000000000
--- a/dev-python/formencode/files/formencode-0.3-setup-gentoo.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- setup.py.org 2005-10-17 13:00:43.570677240 -0700
-+++ setup.py 2005-10-17 13:02:11.089372376 -0700
-@@ -1,6 +1,9 @@
--from ez_setup import use_setuptools
--use_setuptools()
--from setuptools import setup
-+try:
-+ from ez_setup import use_setuptools
-+ use_setuptools()
-+ from setuptools import setup
-+except:
-+ from distutils.core import setup
-
- setup(name="FormEncode",
- version="0.2.2",
diff --git a/dev-python/formencode/files/formencode-0.4-setup-gentoo.patch b/dev-python/formencode/files/formencode-0.4-setup-gentoo.patch
deleted file mode 100644
index 20e5d087854f..000000000000
--- a/dev-python/formencode/files/formencode-0.4-setup-gentoo.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- setup.py.org 2005-10-17 13:00:43.570677240 -0700
-+++ setup.py 2005-10-17 13:02:11.089372376 -0700
-@@ -1,6 +1,9 @@
--from ez_setup import use_setuptools
--use_setuptools()
--from setuptools import setup
-+try:
-+ from ez_setup import use_setuptools
-+ use_setuptools()
-+ from setuptools import setup
-+except:
-+ from distutils.core import setup
-
- setup(name="FormEncode",
- version="0.2.2",
diff --git a/dev-python/formencode/files/formencode-0.6-setup-gentoo.patch b/dev-python/formencode/files/formencode-0.6-setup-gentoo.patch
deleted file mode 100644
index 20e5d087854f..000000000000
--- a/dev-python/formencode/files/formencode-0.6-setup-gentoo.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- setup.py.org 2005-10-17 13:00:43.570677240 -0700
-+++ setup.py 2005-10-17 13:02:11.089372376 -0700
-@@ -1,6 +1,9 @@
--from ez_setup import use_setuptools
--use_setuptools()
--from setuptools import setup
-+try:
-+ from ez_setup import use_setuptools
-+ use_setuptools()
-+ from setuptools import setup
-+except:
-+ from distutils.core import setup
-
- setup(name="FormEncode",
- version="0.2.2",
diff --git a/dev-python/formencode/formencode-0.2.2.ebuild b/dev-python/formencode/formencode-0.2.2.ebuild
deleted file mode 100644
index 1b7bf84bc609..000000000000
--- a/dev-python/formencode/formencode-0.2.2.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/formencode/formencode-0.2.2.ebuild,v 1.2 2005/10/24 17:10:19 dertobi123 Exp $
-
-inherit distutils eutils
-
-MY_PN="FormEncode"
-DESCRIPTION="formencode is a validation and form generation package"
-HOMEPAGE="http://formencode.org/"
-SRC_URI="http://cheeseshop.python.org/packages/source/F/${MY_PN}/${MY_PN}-${PV}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc"
-
-DEPEND=">=dev-lang/python-2.3"
-
-S=${WORKDIR}/${MY_PN}-${PV}
-
-src_unpack() {
- unpack ${A} || die "Failed to unpack ${A}"
- cd ${S} || die "Failed to cd to ${S}"
- #We don't want to use setuptools until eggs.eclass is solid
- rm -rf ez_setup
- epatch ${FILESDIR}/${P}-setup-gentoo.patch
-}
-
-src_install() {
- distutils_src_install
- use doc && dodoc docs/*
-}
-
diff --git a/dev-python/formencode/formencode-0.3.ebuild b/dev-python/formencode/formencode-0.3.ebuild
deleted file mode 100644
index bc50fd97ecfb..000000000000
--- a/dev-python/formencode/formencode-0.3.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/formencode/formencode-0.3.ebuild,v 1.2 2005/11/13 03:17:38 pythonhead Exp $
-
-inherit distutils eutils
-
-MY_PN="FormEncode"
-DESCRIPTION="formencode is a validation and form generation package"
-HOMEPAGE="http://formencode.org/"
-SRC_URI="http://cheeseshop.python.org/packages/source/F/${MY_PN}/${MY_PN}-${PV}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc"
-
-DEPEND=">=dev-lang/python-2.3"
-
-S=${WORKDIR}/${MY_PN}-${PV}
-
-src_unpack() {
- unpack ${A} || die "Failed to unpack ${A}"
- cd ${S} || die "Failed to cd to ${S}"
- #We don't want to use setuptools until eggs.eclass is solid
- rm -rf ez_setup
- epatch ${FILESDIR}/${P}-setup-gentoo.patch
-}
-
-src_install() {
- distutils_src_install
- if use doc; then
- dodoc docs/*
- dodir /usr/share/doc/${PF}/examples
- cp -R examples/* ${D}/usr/share/doc/${PF}/examples
- fi
-}
-
diff --git a/dev-python/formencode/formencode-0.4.ebuild b/dev-python/formencode/formencode-0.4.ebuild
deleted file mode 100644
index 13a5be76796e..000000000000
--- a/dev-python/formencode/formencode-0.4.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/formencode/formencode-0.4.ebuild,v 1.3 2006/05/08 00:41:51 weeve Exp $
-
-inherit distutils eutils
-
-MY_PN="FormEncode"
-DESCRIPTION="formencode is a validation and form generation package"
-HOMEPAGE="http://formencode.org/"
-SRC_URI="http://cheeseshop.python.org/packages/source/F/${MY_PN}/${MY_PN}-${PV}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
-IUSE="doc"
-
-DEPEND=">=dev-lang/python-2.3"
-
-S=${WORKDIR}/${MY_PN}-${PV}
-
-src_unpack() {
- unpack ${A} || die "Failed to unpack ${A}"
- cd ${S} || die "Failed to cd to ${S}"
- #We don't want to use setuptools until eggs.eclass is solid
- rm -rf ez_setup
- epatch ${FILESDIR}/${P}-setup-gentoo.patch
-}
-
-src_install() {
- distutils_src_install
- if use doc; then
- dodoc docs/*
- dodir /usr/share/doc/${PF}/examples
- cp -R examples/* ${D}/usr/share/doc/${PF}/examples
- fi
-}
-
diff --git a/dev-python/formencode/formencode-0.6.ebuild b/dev-python/formencode/formencode-0.6.ebuild
deleted file mode 100644
index de2bdb0622b9..000000000000
--- a/dev-python/formencode/formencode-0.6.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/formencode/formencode-0.6.ebuild,v 1.2 2006/11/27 23:35:40 kloeri Exp $
-
-# TODO: Add pudge support via "doc" flag
-# currently broken with 0.6 release
-
-inherit distutils
-
-MY_PN="FormEncode"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="HTML form validation, generation, and conversion package"
-HOMEPAGE="http://formencode.org"
-SRC_URI="http://cheeseshop.python.org/packages/source/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
-
-LICENSE="PSF-2.4"
-SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
-IUSE=""
-
-RDEPEND=">=dev-lang/python-2.3"
-
-PYTHON_MODNAME=$MY_PN
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- unpack ${A} || die "Failed to unpack ${A}"
- cd ${S} || die "Failed to cd to ${S}"
- #We don't want to use setuptools until eggs.eclass is solid
- rm -rf ez_setup
- epatch ${FILESDIR}/${P}-setup-gentoo.patch
-}
-
-src_install() {
- distutils_src_install
-
- insinto /usr/share/doc/${PF}
- doins -r examples
-}
diff --git a/dev-python/formencode/formencode-0.7.ebuild b/dev-python/formencode/formencode-0.7.ebuild
index f7a3b34ecaed..a413c39cd508 100644
--- a/dev-python/formencode/formencode-0.7.ebuild
+++ b/dev-python/formencode/formencode-0.7.ebuild
@@ -1,10 +1,12 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/formencode/formencode-0.7.ebuild,v 1.1 2007/03/19 04:53:47 pythonhead Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/formencode/formencode-0.7.ebuild,v 1.2 2007/03/19 22:27:32 lucass Exp $
# TODO: Add pudge support via "doc" flag
# currently broken with 0.6 and 0.7 releases
+NEED_PYTHON=2.3
+
inherit distutils
MY_PN="FormEncode"
@@ -19,15 +21,26 @@ SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
IUSE=""
-RDEPEND=">=dev-lang/python-2.3"
+RDEPEND="dev-python/setuptools"
PYTHON_MODNAME=$MY_PN
S="${WORKDIR}/${MY_P}"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i \
+ -e '/use_setuptools/d' \
+ -e '/extras_require/d' \
+ setup.py || die "sed failed"
+}
src_install() {
distutils_src_install
+ dodoc docs/*.txt
+
insinto /usr/share/doc/${PF}
doins -r examples
}