From: | "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/restrictedpython: metadata.xml restrictedpython-3.5.1.ebuild ChangeLog |
Date: | Sun, 25 Oct 2009 18:15:29 |
Message-Id: | E1N27cl-0007bl-Gw@stork.gentoo.org |
1 | arfrever 09/10/25 18:15:27 |
2 | |
3 | Added: metadata.xml restrictedpython-3.5.1.ebuild |
4 | ChangeLog |
5 | Log: |
6 | Initial addition. |
7 | (Portage version: 14724-svn/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-python/restrictedpython/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/restrictedpython/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/restrictedpython/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <herd>python</herd> |
21 | </pkgmetadata> |
22 | |
23 | |
24 | |
25 | 1.1 dev-python/restrictedpython/restrictedpython-3.5.1.ebuild |
26 | |
27 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/restrictedpython/restrictedpython-3.5.1.ebuild?rev=1.1&view=markup |
28 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/restrictedpython/restrictedpython-3.5.1.ebuild?rev=1.1&content-type=text/plain |
29 | |
30 | Index: restrictedpython-3.5.1.ebuild |
31 | =================================================================== |
32 | # Copyright 1999-2009 Gentoo Foundation |
33 | # Distributed under the terms of the GNU General Public License v2 |
34 | # $Header: /var/cvsroot/gentoo-x86/dev-python/restrictedpython/restrictedpython-3.5.1.ebuild,v 1.1 2009/10/25 18:15:26 arfrever Exp $ |
35 | |
36 | EAPI="2" |
37 | SUPPORT_PYTHON_ABIS="1" |
38 | |
39 | inherit distutils |
40 | |
41 | MY_PN="RestrictedPython" |
42 | MY_P="${MY_PN}-${PV}" |
43 | |
44 | DESCRIPTION="RestrictedPython provides a restricted execution environment for Python, e.g. for running untrusted code." |
45 | HOMEPAGE="http://pypi.python.org/pypi/RestrictedPython" |
46 | SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
47 | |
48 | LICENSE="ZPL" |
49 | SLOT="0" |
50 | KEYWORDS="~amd64" |
51 | IUSE="test" |
52 | |
53 | DEPEND="dev-python/setuptools |
54 | test? ( dev-python/nose )" |
55 | RDEPEND="" |
56 | RESTRICT_PYTHON_ABIS="3.*" |
57 | |
58 | S="${WORKDIR}/${MY_P}" |
59 | |
60 | PYTHON_MODNAME="${MY_PN}" |
61 | DOCS="CHANGES.txt src/RestrictedPython/README.txt" |
62 | |
63 | src_test() { |
64 | testing() { |
65 | nosetests-${PYTHON_ABI} |
66 | } |
67 | python_execute_function testing |
68 | } |
69 | |
70 | src_install() { |
71 | distutils_src_install |
72 | |
73 | # Don't install tests. |
74 | rm -fr "${D}"usr/$(get_libdir)/python*/site-packages/RestrictedPython/tests |
75 | } |
76 | |
77 | |
78 | |
79 | 1.1 dev-python/restrictedpython/ChangeLog |
80 | |
81 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/restrictedpython/ChangeLog?rev=1.1&view=markup |
82 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/restrictedpython/ChangeLog?rev=1.1&content-type=text/plain |
83 | |
84 | Index: ChangeLog |
85 | =================================================================== |
86 | # ChangeLog for dev-python/restrictedpython |
87 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
88 | # $Header: /var/cvsroot/gentoo-x86/dev-python/restrictedpython/ChangeLog,v 1.1 2009/10/25 18:15:26 arfrever Exp $ |
89 | |
90 | *restrictedpython-3.5.1 (25 Oct 2009) |
91 | |
92 | 25 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
93 | +restrictedpython-3.5.1.ebuild, +metadata.xml: |
94 | Initial addition. Ebuild written by me. |