1 |
jlec 15/02/28 12:59:28 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: django-1.7.5.ebuild |
5 |
Log: |
6 |
Version Bump; fix bashcompletions, #526272 |
7 |
|
8 |
(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.4 dev-python/django/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/metadata.xml?rev=1.4&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/metadata.xml?rev=1.4&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/metadata.xml?r1=1.3&r2=1.4 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/django/metadata.xml,v |
20 |
retrieving revision 1.3 |
21 |
retrieving revision 1.4 |
22 |
diff -u -r1.3 -r1.4 |
23 |
--- metadata.xml 25 Dec 2007 14:50:09 -0000 1.3 |
24 |
+++ metadata.xml 28 Feb 2015 12:59:28 -0000 1.4 |
25 |
@@ -1,5 +1,5 @@ |
26 |
<?xml version="1.0" encoding="UTF-8"?> |
27 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
28 |
<pkgmetadata> |
29 |
- <herd>python</herd> |
30 |
+ <herd>python</herd> |
31 |
</pkgmetadata> |
32 |
|
33 |
|
34 |
|
35 |
1.151 dev-python/django/ChangeLog |
36 |
|
37 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/ChangeLog?rev=1.151&view=markup |
38 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/ChangeLog?rev=1.151&content-type=text/plain |
39 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/ChangeLog?r1=1.150&r2=1.151 |
40 |
|
41 |
Index: ChangeLog |
42 |
=================================================================== |
43 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v |
44 |
retrieving revision 1.150 |
45 |
retrieving revision 1.151 |
46 |
diff -u -r1.150 -r1.151 |
47 |
--- ChangeLog 6 Feb 2015 03:41:28 -0000 1.150 |
48 |
+++ ChangeLog 28 Feb 2015 12:59:28 -0000 1.151 |
49 |
@@ -1,6 +1,12 @@ |
50 |
# ChangeLog for dev-python/django |
51 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
52 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.150 2015/02/06 03:41:28 patrick Exp $ |
53 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.151 2015/02/28 12:59:28 jlec Exp $ |
54 |
+ |
55 |
+*django-1.7.5 (28 Feb 2015) |
56 |
+ |
57 |
+ 28 Feb 2015; Justin Lecher <jlec@g.o> +django-1.7.5.ebuild, |
58 |
+ +files/django-1.7.5-bashcomp.patch, metadata.xml: |
59 |
+ Version Bump; fix bashcompletions, #526272 |
60 |
|
61 |
*django-1.7.4 (06 Feb 2015) |
62 |
|
63 |
|
64 |
|
65 |
|
66 |
1.1 dev-python/django/django-1.7.5.ebuild |
67 |
|
68 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/django-1.7.5.ebuild?rev=1.1&view=markup |
69 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/django-1.7.5.ebuild?rev=1.1&content-type=text/plain |
70 |
|
71 |
Index: django-1.7.5.ebuild |
72 |
=================================================================== |
73 |
# Copyright 1999-2015 Gentoo Foundation |
74 |
# Distributed under the terms of the GNU General Public License v2 |
75 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-1.7.5.ebuild,v 1.1 2015/02/28 12:59:28 jlec Exp $ |
76 |
|
77 |
EAPI=5 |
78 |
|
79 |
PYTHON_COMPAT=( python2_7 python3_{3,4} pypy ) |
80 |
PYTHON_REQ_USE='sqlite?' |
81 |
WEBAPP_NO_AUTO_INSTALL="yes" |
82 |
|
83 |
inherit bash-completion-r1 distutils-r1 eutils versionator webapp |
84 |
|
85 |
MY_P="Django-${PV}" |
86 |
|
87 |
DESCRIPTION="High-level Python web framework" |
88 |
HOMEPAGE="http://www.djangoproject.com/ http://pypi.python.org/pypi/Django" |
89 |
SRC_URI="https://www.djangoproject.com/m/releases/$(get_version_component_range 1-2)/${MY_P}.tar.gz" |
90 |
|
91 |
LICENSE="BSD" |
92 |
SLOT="0" |
93 |
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
94 |
IUSE="doc sqlite test" |
95 |
|
96 |
RDEPEND=" |
97 |
dev-python/setuptools[${PYTHON_USEDEP}] |
98 |
virtual/python-imaging[${PYTHON_USEDEP}] |
99 |
" |
100 |
DEPEND="${RDEPEND} |
101 |
doc? ( >=dev-python/sphinx-1.0.7[${PYTHON_USEDEP}] ) |
102 |
test? ( ${PYTHON_DEPS//sqlite?/sqlite} )" |
103 |
|
104 |
S="${WORKDIR}/${MY_P}" |
105 |
|
106 |
WEBAPP_MANUAL_SLOT="yes" |
107 |
|
108 |
PATCHES=( |
109 |
"${FILESDIR}"/${P}-bashcomp.patch |
110 |
) |
111 |
|
112 |
pkg_setup() { |
113 |
webapp_pkg_setup |
114 |
} |
115 |
|
116 |
python_prepare_all() { |
117 |
# Prevent d'loading in the doc build |
118 |
sed -e '/^ "sphinx.ext.intersphinx",/d' -i docs/conf.py || die |
119 |
|
120 |
distutils-r1_python_prepare_all |
121 |
} |
122 |
|
123 |
python_compile_all() { |
124 |
if use doc; then |
125 |
emake -C docs html |
126 |
fi |
127 |
} |
128 |
|
129 |
python_test() { |
130 |
# Tests have non-standard assumptions about PYTHONPATH, |
131 |
# and don't work with ${BUILD_DIR}/lib. |
132 |
PYTHONPATH=. "${PYTHON}" tests/runtests.py --settings=test_sqlite -v1 \ |
133 |
|| die "Tests fail with ${EPYTHON}" |
134 |
} |
135 |
|
136 |
src_install() { |
137 |
distutils-r1_src_install |
138 |
webapp_src_install |
139 |
|
140 |
elog "Additional Backend support can be enabled via" |
141 |
optfeature "MySQL backend support in python 2.7 only" dev-python/mysql-python |
142 |
optfeature "MySQL backend support in python 2.7 - 3.4" dev-python/mysql-connector-python |
143 |
optfeature "PostgreSQL backend support" dev-python/psycopg:2 |
144 |
echo "" |
145 |
} |
146 |
|
147 |
python_install_all() { |
148 |
newbashcomp extras/django_bash_completion ${PN}-admin |
149 |
bashcomp_alias ${PN}-admin django-admin.py |
150 |
|
151 |
if use doc; then |
152 |
rm -fr docs/_build/html/_sources |
153 |
local HTML_DOCS=( docs/_build/html/. ) |
154 |
fi |
155 |
|
156 |
insinto "${MY_HTDOCSDIR#${EPREFIX}}" |
157 |
doins -r django/contrib/admin/static/admin/. |
158 |
distutils-r1_python_install_all |
159 |
} |
160 |
|
161 |
pkg_postinst() { |
162 |
elog "A copy of the admin media is available to webapp-config for installation in a" |
163 |
elog "webroot, as well as the traditional location in python's site-packages dir" |
164 |
elog "for easy development." |
165 |
webapp_pkg_postinst |
166 |
} |