summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-09-29 23:11:31 +0000
committerTim Harder <radhermit@gentoo.org>2012-09-29 23:11:31 +0000
commitcfde351e50efa86ffe3f963e053bc7a84ec07216 (patch)
treef751003aa52045459986411e41126924b2a81c81 /dev-python/virtualenv
parentVersion bump. (diff)
downloadgentoo-2-cfde351e50efa86ffe3f963e053bc7a84ec07216.tar.gz
gentoo-2-cfde351e50efa86ffe3f963e053bc7a84ec07216.tar.bz2
gentoo-2-cfde351e50efa86ffe3f963e053bc7a84ec07216.zip
Version bump.
(Portage version: 2.2.0_alpha133/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/virtualenv')
-rw-r--r--dev-python/virtualenv/ChangeLog8
-rw-r--r--dev-python/virtualenv/files/virtualenv-1.8.2-no-versioned-script.patch10
-rw-r--r--dev-python/virtualenv/virtualenv-1.8.2.ebuild43
3 files changed, 60 insertions, 1 deletions
diff --git a/dev-python/virtualenv/ChangeLog b/dev-python/virtualenv/ChangeLog
index 3f3022a3a491..b9f15a962173 100644
--- a/dev-python/virtualenv/ChangeLog
+++ b/dev-python/virtualenv/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/virtualenv
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/virtualenv/ChangeLog,v 1.76 2012/05/29 19:57:36 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/virtualenv/ChangeLog,v 1.77 2012/09/29 23:11:31 radhermit Exp $
+
+*virtualenv-1.8.2 (29 Sep 2012)
+
+ 29 Sep 2012; Tim Harder <radhermit@gentoo.org> +virtualenv-1.8.2.ebuild,
+ +files/virtualenv-1.8.2-no-versioned-script.patch:
+ Version bump.
29 May 2012; Brent Baude <ranger@gentoo.org> virtualenv-1.7.1.2-r1.ebuild:
Marking virtualenv-1.7.1.2-r1 ppc for bug 415875
diff --git a/dev-python/virtualenv/files/virtualenv-1.8.2-no-versioned-script.patch b/dev-python/virtualenv/files/virtualenv-1.8.2-no-versioned-script.patch
new file mode 100644
index 000000000000..040e36794ba9
--- /dev/null
+++ b/dev-python/virtualenv/files/virtualenv-1.8.2-no-versioned-script.patch
@@ -0,0 +1,10 @@
+--- pypa-virtualenv-350c45d/setup.py
++++ pypa-virtualenv-350c45d/setup.py
+@@ -9,7 +9,6 @@
+ 'entry_points': {
+ 'console_scripts': [
+ 'virtualenv=virtualenv:main',
+- 'virtualenv-%s.%s=virtualenv:main' % sys.version_info[:2]
+ ],
+ },
+ 'zip_safe': False,
diff --git a/dev-python/virtualenv/virtualenv-1.8.2.ebuild b/dev-python/virtualenv/virtualenv-1.8.2.ebuild
new file mode 100644
index 000000000000..dccfddc0cc0e
--- /dev/null
+++ b/dev-python/virtualenv/virtualenv-1.8.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/virtualenv/virtualenv-1.8.2.ebuild,v 1.1 2012/09/29 23:11:31 radhermit Exp $
+
+EAPI="4"
+SUPPORT_PYTHON_ABIS="1"
+DISTUTILS_SRC_TEST="nosetests"
+
+inherit distutils vcs-snapshot eutils
+
+DESCRIPTION="Virtual Python Environment builder"
+HOMEPAGE="http://www.virtualenv.org/ http://pypi.python.org/pypi/virtualenv"
+SRC_URI="https://github.com/pypa/${PN}/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
+SLOT="0"
+IUSE="doc"
+
+RDEPEND="dev-python/setuptools"
+DEPEND="${RDEPEND}
+ doc? ( dev-python/sphinx )
+ test? ( dev-python/mock )"
+
+DOCS="docs/index.txt docs/news.txt"
+PYTHON_MODNAME="virtualenv.py virtualenv_support"
+
+src_prepare() {
+ distutils_src_prepare
+
+ # let the python eclass handle script versioning
+ epatch "${FILESDIR}"/${P}-no-versioned-script.patch
+}
+
+src_compile() {
+ distutils_src_compile
+ use doc && emake -C docs html
+}
+
+src_install() {
+ distutils_src_install
+ use doc && dohtml -r docs/_build/html/
+}