1 |
maksbotan 11/05/31 19:49:07 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: uwsgi-0.9.7.2.ebuild |
5 |
Removed: uwsgi-0.9.5.ebuild |
6 |
Log: |
7 |
Bump www-servers/uwsgi to 0.9.7.2, #340058 |
8 |
|
9 |
(Portage version: 2.1.9.46/cvs/Linux i686) |
10 |
|
11 |
Revision Changes Path |
12 |
1.3 www-servers/uwsgi/metadata.xml |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/uwsgi/metadata.xml?rev=1.3&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/uwsgi/metadata.xml?rev=1.3&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/uwsgi/metadata.xml?r1=1.2&r2=1.3 |
17 |
|
18 |
Index: metadata.xml |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/www-servers/uwsgi/metadata.xml,v |
21 |
retrieving revision 1.2 |
22 |
retrieving revision 1.3 |
23 |
diff -u -r1.2 -r1.3 |
24 |
--- metadata.xml 19 Apr 2011 07:34:42 -0000 1.2 |
25 |
+++ metadata.xml 31 May 2011 19:49:07 -0000 1.3 |
26 |
@@ -1,8 +1,11 @@ |
27 |
<?xml version="1.0" encoding="UTF-8"?> |
28 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
29 |
<pkgmetadata> |
30 |
- <herd>no-herd</herd> |
31 |
+ <herd>python</herd> |
32 |
<maintainer> |
33 |
- <email>maintainer-needed@g.o</email> |
34 |
+ <email>maksbotan@g.o</email> |
35 |
+ </maintainer> |
36 |
+ <maintainer> |
37 |
+ <email>sterkrig@××××.se</email> |
38 |
</maintainer> |
39 |
</pkgmetadata> |
40 |
|
41 |
|
42 |
|
43 |
1.6 www-servers/uwsgi/ChangeLog |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/uwsgi/ChangeLog?rev=1.6&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/uwsgi/ChangeLog?rev=1.6&content-type=text/plain |
47 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/uwsgi/ChangeLog?r1=1.5&r2=1.6 |
48 |
|
49 |
Index: ChangeLog |
50 |
=================================================================== |
51 |
RCS file: /var/cvsroot/gentoo-x86/www-servers/uwsgi/ChangeLog,v |
52 |
retrieving revision 1.5 |
53 |
retrieving revision 1.6 |
54 |
diff -u -r1.5 -r1.6 |
55 |
--- ChangeLog 19 Apr 2011 07:34:42 -0000 1.5 |
56 |
+++ ChangeLog 31 May 2011 19:49:07 -0000 1.6 |
57 |
@@ -1,6 +1,17 @@ |
58 |
# ChangeLog for www-servers/uwsgi |
59 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
60 |
-# $Header: /var/cvsroot/gentoo-x86/www-servers/uwsgi/ChangeLog,v 1.5 2011/04/19 07:34:42 hollow Exp $ |
61 |
+# $Header: /var/cvsroot/gentoo-x86/www-servers/uwsgi/ChangeLog,v 1.6 2011/05/31 19:49:07 maksbotan Exp $ |
62 |
+ |
63 |
+*uwsgi-0.9.7.2 (31 May 2011) |
64 |
+ |
65 |
+ 31 May 2011; Maxim Koltsov (maksbotan) <maksbotan@g.o> |
66 |
+ -uwsgi-0.9.5.ebuild, +uwsgi-0.9.7.2.ebuild, +files/uwsgi.confd, |
67 |
+ +files/uwsgi.initd, metadata.xml: |
68 |
+ Bumping to 0.9.7.2 (bug #340058). Added init scripts from that bug. |
69 |
+ Removed |
70 |
+ uwsgi-0.9.5 as obsolete. Drop usage of gcc patch in 0.9.7.2 as issue is |
71 |
+ fixed |
72 |
+ upstream. |
73 |
|
74 |
19 Apr 2011; Benedikt Böhm <hollow@g.o> metadata.xml: |
75 |
remove myself from metadata |
76 |
|
77 |
|
78 |
|
79 |
1.1 www-servers/uwsgi/uwsgi-0.9.7.2.ebuild |
80 |
|
81 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/uwsgi/uwsgi-0.9.7.2.ebuild?rev=1.1&view=markup |
82 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/uwsgi/uwsgi-0.9.7.2.ebuild?rev=1.1&content-type=text/plain |
83 |
|
84 |
Index: uwsgi-0.9.7.2.ebuild |
85 |
=================================================================== |
86 |
# Copyright 1999-2011 Gentoo Foundation |
87 |
# Distributed under the terms of the GNU General Public License v2 |
88 |
# $Header: /var/cvsroot/gentoo-x86/www-servers/uwsgi/uwsgi-0.9.7.2.ebuild,v 1.1 2011/05/31 19:49:07 maksbotan Exp $ |
89 |
|
90 |
EAPI="3" |
91 |
PYTHON_DEPEND="*" |
92 |
SUPPORT_PYTHON_ABIS="1" |
93 |
|
94 |
inherit eutils python toolchain-funcs apache-module |
95 |
|
96 |
DESCRIPTION="uWSGI server for Python web applications" |
97 |
HOMEPAGE="http://projects.unbit.it/uwsgi/" |
98 |
SRC_URI="http://projects.unbit.it/downloads/${P}.tar.gz" |
99 |
|
100 |
LICENSE="GPL-2" |
101 |
SLOT="0" |
102 |
KEYWORDS="~amd64 ~x86" |
103 |
IUSE="" |
104 |
|
105 |
RDEPEND="dev-libs/libxml2" |
106 |
DEPEND="${RDEPEND}" |
107 |
|
108 |
APXS2_S="${S}/apache2" |
109 |
APACHE2_MOD_CONF="42_mod_${PN}" |
110 |
want_apache2_2 |
111 |
|
112 |
src_prepare() { |
113 |
python_copy_sources |
114 |
} |
115 |
|
116 |
src_compile() { |
117 |
python_src_compile CC="$(tc-getCC)" |
118 |
|
119 |
if use apache2 ; then |
120 |
for m in Ruwsgi uwsgi ; do |
121 |
APXS2_ARGS="-c mod_${m}.c" |
122 |
apache-module_src_compile |
123 |
done |
124 |
fi |
125 |
} |
126 |
|
127 |
src_install() { |
128 |
installation() { |
129 |
newbin uwsgi uwsgi-${PYTHON_ABI} |
130 |
} |
131 |
python_execute_function -s installation |
132 |
|
133 |
python_generate_wrapper_scripts "${ED}usr/bin/uwsgi" |
134 |
|
135 |
if use apache2; then |
136 |
for m in Ruwsgi uwsgi ; do |
137 |
APACHE2_MOD_FILE="${APXS2_S}/.libs/mod_${m}.so" |
138 |
apache-module_src_install |
139 |
done |
140 |
fi |
141 |
|
142 |
newinitd "${FILESDIR}"/uwsgi.initd uwsgi |
143 |
newconfd "${FILESDIR}"/uwsgi.confd uwsgi |
144 |
mkdir "${ED}"/var/run/uwsgi |
145 |
} |
146 |
|
147 |
pkg_postinst() { |
148 |
if use apache2 ; then |
149 |
elog "Two Apache modules have been installed: mod_uwsgi and mod_Ruwsgi." |
150 |
elog "You can enable them with -DUWSGI or -DRUWSGI in /etc/conf.d/apache2." |
151 |
elog "Both have the same configuration interface and define the same symbols." |
152 |
elog "Therefore you can enable only one of them at a time." |
153 |
elog "mod_uwsgi is commercially supported by Unbit and stable but a bit hacky." |
154 |
elog "mod_Ruwsgi is newer and more Apache-API friendly but not commercially supported." |
155 |
fi |
156 |
} |