From: | "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/pydns: ChangeLog pydns-2.3.4.ebuild |
Date: | Sat, 02 Jan 2010 20:20:07 |
Message-Id: | E1NRAS8-0003Lb-SW@stork.gentoo.org |
1 | arfrever 10/01/02 20:20:00 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pydns-2.3.4.ebuild |
5 | Log: |
6 | Version bump. Set SUPPORT_PYTHON_ABIS. |
7 | (Portage version: 15155-svn/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.7 dev-python/pydns/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pydns/ChangeLog?rev=1.7&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pydns/ChangeLog?rev=1.7&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pydns/ChangeLog?r1=1.6&r2=1.7 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-python/pydns/ChangeLog,v |
19 | retrieving revision 1.6 |
20 | retrieving revision 1.7 |
21 | diff -u -r1.6 -r1.7 |
22 | --- ChangeLog 15 Feb 2009 11:54:35 -0000 1.6 |
23 | +++ ChangeLog 2 Jan 2010 20:20:00 -0000 1.7 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for dev-python/pydns |
26 | -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/pydns/ChangeLog,v 1.6 2009/02/15 11:54:35 maekke Exp $ |
28 | +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/pydns/ChangeLog,v 1.7 2010/01/02 20:20:00 arfrever Exp $ |
30 | + |
31 | +*pydns-2.3.4 (02 Jan 2010) |
32 | + |
33 | + 02 Jan 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
34 | + +pydns-2.3.4.ebuild: |
35 | + Version bump. Set SUPPORT_PYTHON_ABIS. |
36 | |
37 | 15 Feb 2009; Markus Meier <maekke@g.o> pydns-2.3.3.ebuild: |
38 | amd64/x86 stable, bug #258328 |
39 | |
40 | |
41 | |
42 | 1.1 dev-python/pydns/pydns-2.3.4.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pydns/pydns-2.3.4.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pydns/pydns-2.3.4.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: pydns-2.3.4.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2010 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-python/pydns/pydns-2.3.4.ebuild,v 1.1 2010/01/02 20:20:00 arfrever Exp $ |
52 | |
53 | EAPI="2" |
54 | SUPPORT_PYTHON_ABIS="1" |
55 | |
56 | inherit distutils |
57 | |
58 | DESCRIPTION="Python module for DNS (Domain Name Service)" |
59 | HOMEPAGE="http://pydns.sourceforge.net/ http://pypi.python.org/pypi/pydns" |
60 | SRC_URI="http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz" |
61 | |
62 | LICENSE="CNRI" |
63 | SLOT="0" |
64 | KEYWORDS="~amd64 ~x86" |
65 | IUSE="examples" |
66 | |
67 | DEPEND="virtual/libiconv" |
68 | RDEPEND="" |
69 | RESTRICT_PYTHON_ABIS="3.*" |
70 | |
71 | DOCS="CREDITS.txt" |
72 | PYTHON_MODNAME="DNS" |
73 | |
74 | src_prepare() { |
75 | # Fix encodings (should be utf-8 but is latin1). |
76 | for i in "${PYTHON_MODNAME}"/{Lib,Type}.py; do |
77 | iconv -f ISO-8859-1 -t UTF-8 < "${i}" > "${i}~" && mv -f "${i}~" "${i}" || rm -f "${i}~" |
78 | done |
79 | |
80 | # Don't compile bytecode. |
81 | sed -i -e 's:^\(compile\).*:\1 = 0:g' -e 's:^\(optimize\).*:\1 = 0:g' setup.cfg |
82 | |
83 | # Fix Python shebangs in examples. |
84 | sed -i -e 's:#!/.*\(python\)/*$:#!/usr/bin/\1:g' {tests,tools}/*.py |
85 | } |
86 | |
87 | src_install(){ |
88 | distutils_src_install |
89 | |
90 | if use examples; then |
91 | insinto /usr/share/doc/${PF}/examples |
92 | doins tests/*.py tools/*.py |
93 | fi |
94 | } |