1 |
djc 12/03/02 08:46:53 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: virtualenv-1.7.1.2-r1.ebuild |
5 |
Removed: virtualenv-1.7.1.2.ebuild |
6 |
Log: |
7 |
Clean up virtualenv ebuild, add docs, fix tests. |
8 |
|
9 |
(Portage version: 2.1.10.49/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.72 dev-python/virtualenv/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/virtualenv/ChangeLog?rev=1.72&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/virtualenv/ChangeLog?rev=1.72&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/virtualenv/ChangeLog?r1=1.71&r2=1.72 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/virtualenv/ChangeLog,v |
21 |
retrieving revision 1.71 |
22 |
retrieving revision 1.72 |
23 |
diff -u -r1.71 -r1.72 |
24 |
--- ChangeLog 1 Mar 2012 09:26:36 -0000 1.71 |
25 |
+++ ChangeLog 2 Mar 2012 08:46:53 -0000 1.72 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for dev-python/virtualenv |
28 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/virtualenv/ChangeLog,v 1.71 2012/03/01 09:26:36 djc Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/virtualenv/ChangeLog,v 1.72 2012/03/02 08:46:53 djc Exp $ |
31 |
+ |
32 |
+*virtualenv-1.7.1.2-r1 (02 Mar 2012) |
33 |
+ |
34 |
+ 02 Mar 2012; Dirkjan Ochtman <djc@g.o> -virtualenv-1.7.1.2.ebuild, |
35 |
+ +virtualenv-1.7.1.2-r1.ebuild: |
36 |
+ Clean up ebuild, add docs, fix tests (incorporating code by Arfrever). |
37 |
|
38 |
*virtualenv-1.7.1.2 (01 Mar 2012) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-python/virtualenv/virtualenv-1.7.1.2-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/virtualenv/virtualenv-1.7.1.2-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/virtualenv/virtualenv-1.7.1.2-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: virtualenv-1.7.1.2-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2012 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/virtualenv/virtualenv-1.7.1.2-r1.ebuild,v 1.1 2012/03/02 08:46:53 djc Exp $ |
53 |
|
54 |
EAPI="4" |
55 |
SUPPORT_PYTHON_ABIS="1" |
56 |
DISTUTILS_SRC_TEST="nosetests" |
57 |
|
58 |
inherit distutils |
59 |
|
60 |
DESCRIPTION="Virtual Python Environment builder" |
61 |
HOMEPAGE="http://www.virtualenv.org/ http://pypi.python.org/pypi/virtualenv" |
62 |
SRC_URI="https://github.com/pypa/${PN}/tarball/${PV} -> ${P}-new.tar.gz" |
63 |
|
64 |
LICENSE="MIT" |
65 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" |
66 |
SLOT="0" |
67 |
IUSE="doc" |
68 |
|
69 |
RDEPEND="dev-python/setuptools" |
70 |
DEPEND="${DEPEND} |
71 |
doc? ( dev-python/sphinx ) |
72 |
test? ( dev-python/mock )" |
73 |
|
74 |
DOCS="docs/index.txt docs/news.txt" |
75 |
PYTHON_MODNAME="virtualenv.py virtualenv_support" |
76 |
|
77 |
src_unpack() { |
78 |
unpack ${A} |
79 |
mv pypa-virtualenv-* ${P} |
80 |
} |
81 |
|
82 |
src_prepare() { |
83 |
distutils_src_prepare |
84 |
# Disable broken test |
85 |
sed -e 's/test_version/_&/' -i tests/test_virtualenv.py |
86 |
} |
87 |
|
88 |
src_compile() { |
89 |
distutils_src_compile |
90 |
if use doc; then |
91 |
pushd docs > /dev/null |
92 |
emake html |
93 |
popd > /dev/null |
94 |
fi |
95 |
} |
96 |
|
97 |
src_install() { |
98 |
distutils_src_install |
99 |
if use doc; then |
100 |
pushd docs/_build/html > /dev/null |
101 |
insinto /usr/share/doc/${PF}/html |
102 |
doins -r [a-z]* _static |
103 |
popd > /dev/null |
104 |
fi |
105 |
} |