1 |
mgorny 13/08/27 17:11:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: twisted-core-13.0.0-r3.ebuild |
5 |
Removed: twisted-core-13.0.0-r2.ebuild |
6 |
Log: |
7 |
Symlink the real egg-info file instead of creating a dummy one. |
8 |
|
9 |
(Portage version: 2.2.1_p6/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) |
10 |
|
11 |
Revision Changes Path |
12 |
1.8 dev-python/twisted-core/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted-core/ChangeLog?rev=1.8&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted-core/ChangeLog?rev=1.8&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted-core/ChangeLog?r1=1.7&r2=1.8 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/twisted-core/ChangeLog,v |
21 |
retrieving revision 1.7 |
22 |
retrieving revision 1.8 |
23 |
diff -u -r1.7 -r1.8 |
24 |
--- ChangeLog 26 Aug 2013 01:32:52 -0000 1.7 |
25 |
+++ ChangeLog 27 Aug 2013 17:11:45 -0000 1.8 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for dev-python/twisted-core |
28 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-core/ChangeLog,v 1.7 2013/08/26 01:32:52 floppym Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-core/ChangeLog,v 1.8 2013/08/27 17:11:45 mgorny Exp $ |
31 |
+ |
32 |
+*twisted-core-13.0.0-r3 (27 Aug 2013) |
33 |
+ |
34 |
+ 27 Aug 2013; Michał Górny <mgorny@g.o> +twisted-core-13.0.0-r3.ebuild, |
35 |
+ -twisted-core-13.0.0-r2.ebuild: |
36 |
+ Symlink the real egg-info file instead of creating a dummy one. |
37 |
|
38 |
26 Aug 2013; Mike Gilbert <floppym@g.o> twisted-core-13.0.0-r2.ebuild: |
39 |
Make previous change PyPy-compatible. |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-python/twisted-core/twisted-core-13.0.0-r3.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted-core/twisted-core-13.0.0-r3.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted-core/twisted-core-13.0.0-r3.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: twisted-core-13.0.0-r3.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2013 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-core/twisted-core-13.0.0-r3.ebuild,v 1.1 2013/08/27 17:11:45 mgorny Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
56 |
|
57 |
inherit eutils flag-o-matic twisted-r1 |
58 |
|
59 |
DESCRIPTION="An asynchronous networking framework written in Python" |
60 |
|
61 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
62 |
IUSE="crypt gtk serial" |
63 |
|
64 |
DEPEND="net-zope/zope-interface[${PYTHON_USEDEP}] |
65 |
crypt? ( >=dev-python/pyopenssl-0.10[${PYTHON_USEDEP}] ) |
66 |
gtk? ( dev-python/pygtk:2[${PYTHON_USEDEP}] ) |
67 |
serial? ( dev-python/pyserial[${PYTHON_USEDEP}] )" |
68 |
RDEPEND="${DEPEND}" |
69 |
|
70 |
PATCHES=( |
71 |
# Give a load-sensitive test a better chance of succeeding. |
72 |
"${FILESDIR}/${PN}-2.1.0-echo-less.patch" |
73 |
|
74 |
# Skip a test if twisted conch is not available |
75 |
# (see Twisted ticket #5703) |
76 |
"${FILESDIR}/${PN}-12.1.0-remove-tests-conch-dependency.patch" |
77 |
|
78 |
# Respect TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE variable. |
79 |
"${FILESDIR}/${PN}-9.0.0-respect_TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE.patch" |
80 |
) |
81 |
|
82 |
python_prepare_all() { |
83 |
if [[ "${EUID}" -eq 0 ]]; then |
84 |
# Disable tests failing with root permissions. |
85 |
sed \ |
86 |
-e "s/test_newPluginsOnReadOnlyPath/_&/" \ |
87 |
-e "s/test_deployedMode/_&/" \ |
88 |
-i twisted/test/test_plugin.py |
89 |
fi |
90 |
|
91 |
distutils-r1_python_prepare_all |
92 |
} |
93 |
|
94 |
python_compile() { |
95 |
local CFLAGS CXXFLAGS |
96 |
|
97 |
if [[ ${EPYTHON} != python3* ]]; then |
98 |
# Needed to make the sendmsg extension work |
99 |
# (see http://twistedmatrix.com/trac/ticket/5701 ) |
100 |
|
101 |
append-flags -fno-strict-aliasing |
102 |
fi |
103 |
|
104 |
distutils-r1_python_compile |
105 |
} |
106 |
|
107 |
python_test() { |
108 |
# NOTE: on pypy a couple of failures (refcounting, version-checking) is |
109 |
# expected |
110 |
|
111 |
distutils_install_for_testing |
112 |
|
113 |
pushd "${TEST_DIR}"/lib > /dev/null || die |
114 |
|
115 |
# Skip broken tests. |
116 |
sed -e "s/test_buildAllTarballs/_&/" -i twisted/python/test/test_release.py || die "sed failed" |
117 |
|
118 |
# http://twistedmatrix.com/trac/ticket/5375 |
119 |
sed -e "/class ZshIntegrationTestCase/,/^$/d" -i twisted/scripts/test/test_scripts.py || die "sed failed" |
120 |
|
121 |
# tap2rpm is already skipped if rpm is not installed, but fails for me on a Gentoo box with it present. |
122 |
# I currently lack the cycles to track this failure down. |
123 |
rm twisted/scripts/test/test_tap2rpm.py |
124 |
|
125 |
# Prevent it from pulling in plugins from already installed twisted packages. |
126 |
rm -f twisted/plugins/__init__.py |
127 |
|
128 |
# An empty file doesn't work because the tests check for doc strings in all packages. |
129 |
echo "'''plugins stub'''" > twisted/plugins/__init__.py || die |
130 |
|
131 |
if ! "${TEST_DIR}"/scripts/trial twisted; then |
132 |
die "Tests failed with ${EPYTHON}" |
133 |
fi |
134 |
|
135 |
popd > /dev/null || die |
136 |
} |
137 |
|
138 |
python_install() { |
139 |
distutils-r1_python_install |
140 |
|
141 |
cd "${D%/}$(python_get_sitedir)" || die |
142 |
|
143 |
# create 'Twisted' egg wrt bug #299736 |
144 |
local egg=( Twisted_Core*.egg-info ) |
145 |
[[ -f ${egg[0]} ]] || die "Twisted_Core*.egg-info not found" |
146 |
ln -s "${egg[0]}" "${egg[0]/_Core/}" || die |
147 |
|
148 |
# own the dropin.cache so we don't leave orphans |
149 |
touch twisted/plugins/dropin.cache || die |
150 |
} |
151 |
|
152 |
python_install_all() { |
153 |
distutils-r1_python_install_all |
154 |
|
155 |
newconfd "${FILESDIR}/twistd.conf" twistd |
156 |
newinitd "${FILESDIR}/twistd.init" twistd |
157 |
} |