##// END OF EJS Templates
users: added SSH key management for user admin pages
marcink -
r1993:dab53d0e default
parent child Browse files
Show More

The requested changes are too big and content was truncated. Show full diff

@@ -0,0 +1,173 b''
1 # -*- coding: utf-8 -*-
2
3 # Copyright (C) 2010-2017 RhodeCode GmbH
4 #
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU Affero General Public License, version 3
7 # (only), as published by the Free Software Foundation.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU Affero General Public License
15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16 #
17 # This program is dual-licensed. If you wish to learn more about the
18 # RhodeCode Enterprise Edition, including its added features, Support services,
19 # and proprietary license terms, please see https://rhodecode.com/licenses/
20
21 import pytest
22
23 from rhodecode.model.db import User, UserSshKeys
24
25 from rhodecode.tests import TestController, assert_session_flash
26 from rhodecode.tests.fixture import Fixture
27
28 fixture = Fixture()
29
30
31 def route_path(name, params=None, **kwargs):
32 import urllib
33 from rhodecode.apps._base import ADMIN_PREFIX
34
35 base_url = {
36 'edit_user_ssh_keys':
37 ADMIN_PREFIX + '/users/{user_id}/edit/ssh_keys',
38 'edit_user_ssh_keys_generate_keypair':
39 ADMIN_PREFIX + '/users/{user_id}/edit/ssh_keys/generate',
40 'edit_user_ssh_keys_add':
41 ADMIN_PREFIX + '/users/{user_id}/edit/ssh_keys/new',
42 'edit_user_ssh_keys_delete':
43 ADMIN_PREFIX + '/users/{user_id}/edit/ssh_keys/delete',
44
45 }[name].format(**kwargs)
46
47 if params:
48 base_url = '{}?{}'.format(base_url, urllib.urlencode(params))
49 return base_url
50
51
52 class TestAdminUsersSshKeysView(TestController):
53 INVALID_KEY = """\
54 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDk+77sjDzVeB6vevJsuZds1iNU5
55 LANOa5CU5G/9JYIA6RYsWWMO7mbsR82IUckdqOHmxSykfR1D1TdluyIpQLrwgH5kb
56 n8FkVI8zBMCKakxowvN67B0R7b1BT4PPzW2JlOXei/m9W12ZY484VTow6/B+kf2Q8
57 cP8tmCJmKWZma5Em7OTUhvjyQVNz3v7HfeY5Hq0Ci4ECJ59hepFDabJvtAXg9XrI6
58 jvdphZTc30I4fG8+hBHzpeFxUGvSGNtXPUbwaAY8j/oHYrTpMgkj6pUEFsiKfC5zP
59 qPFR5HyKTCHW0nFUJnZsbyFT5hMiF/hZkJc9A0ZbdSvJwCRQ/g3bmdL
60 your_email@example.com
61 """
62 VALID_KEY = 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDk+77sjDzVeB6vev' \
63 'JsuZds1iNU5LANOa5CU5G/9JYIA6RYsWWMO7mbsR82IUckdqOHmxSy' \
64 'kfR1D1TdluyIpQLrwgH5kbn8FkVI8zBMCKakxowvN67B0R7b1BT4PP' \
65 'zW2JlOXei/m9W12ZY484VTow6/B+kf2Q8cP8tmCJmKWZma5Em7OTUh' \
66 'vjyQVNz3v7HfeY5Hq0Ci4ECJ59hepFDabJvtAXg9XrI6jvdphZTc30' \
67 'I4fG8+hBHzpeFxUGvSGNtXPUbwaAY8j/oHYrTpMgkj6pUEFsiKfC5zPq' \
68 'PFR5HyKTCHW0nFUJnZsbyFT5hMiF/hZkJc9A0ZbdSvJwCRQ/g3bmdL ' \
69 'your_email@example.com'
70
71 def test_ssh_keys_default_user(self):
72 self.log_user()
73 user = User.get_default_user()
74 self.app.get(
75 route_path('edit_user_ssh_keys', user_id=user.user_id),
76 status=302)
77
78 def test_add_ssh_key_error(self, user_util):
79 self.log_user()
80 user = user_util.create_user()
81 user_id = user.user_id
82
83 key_data = self.INVALID_KEY
84
85 desc = 'MY SSH KEY'
86 response = self.app.post(
87 route_path('edit_user_ssh_keys_add', user_id=user_id),
88 {'description': desc, 'key_data': key_data,
89 'csrf_token': self.csrf_token})
90 assert_session_flash(response, 'An error occurred during ssh '
91 'key saving: Unable to decode the key')
92
93 def test_ssh_key_duplicate(self, user_util):
94 self.log_user()
95 user = user_util.create_user()
96 user_id = user.user_id
97
98 key_data = self.VALID_KEY
99
100 desc = 'MY SSH KEY'
101 response = self.app.post(
102 route_path('edit_user_ssh_keys_add', user_id=user_id),
103 {'description': desc, 'key_data': key_data,
104 'csrf_token': self.csrf_token})
105 assert_session_flash(response, 'Ssh Key successfully created')
106 response.follow() # flush session flash
107
108 # add the same key AGAIN
109 desc = 'MY SSH KEY'
110 response = self.app.post(
111 route_path('edit_user_ssh_keys_add', user_id=user_id),
112 {'description': desc, 'key_data': key_data,
113 'csrf_token': self.csrf_token})
114 assert_session_flash(response, 'An error occurred during ssh key '
115 'saving: Such key already exists, '
116 'please use a different one')
117
118 def test_add_ssh_key(self, user_util):
119 self.log_user()
120 user = user_util.create_user()
121 user_id = user.user_id
122
123 key_data = self.VALID_KEY
124
125 desc = 'MY SSH KEY'
126 response = self.app.post(
127 route_path('edit_user_ssh_keys_add', user_id=user_id),
128 {'description': desc, 'key_data': key_data,
129 'csrf_token': self.csrf_token})
130 assert_session_flash(response, 'Ssh Key successfully created')
131
132 response = response.follow()
133 response.mustcontain(desc)
134
135 def test_delete_ssh_key(self, user_util):
136 self.log_user()
137 user = user_util.create_user()
138 user_id = user.user_id
139
140 key_data = self.VALID_KEY
141
142 desc = 'MY SSH KEY'
143 response = self.app.post(
144 route_path('edit_user_ssh_keys_add', user_id=user_id),
145 {'description': desc, 'key_data': key_data,
146 'csrf_token': self.csrf_token})
147 assert_session_flash(response, 'Ssh Key successfully created')
148 response = response.follow() # flush the Session flash
149
150 # now delete our key
151 keys = UserSshKeys.query().filter(UserSshKeys.user_id == user_id).all()
152 assert 1 == len(keys)
153
154 response = self.app.post(
155 route_path('edit_user_ssh_keys_delete', user_id=user_id),
156 {'del_ssh_key': keys[0].ssh_key_id,
157 'csrf_token': self.csrf_token})
158
159 assert_session_flash(response, 'Ssh key successfully deleted')
160 keys = UserSshKeys.query().filter(UserSshKeys.user_id == user_id).all()
161 assert 0 == len(keys)
162
163 def test_generate_keypair(self, user_util):
164 self.log_user()
165 user = user_util.create_user()
166 user_id = user.user_id
167
168 response = self.app.get(
169 route_path('edit_user_ssh_keys_generate_keypair', user_id=user_id))
170
171 response.mustcontain('Private key')
172 response.mustcontain('Public key')
173 response.mustcontain('-----BEGIN RSA PRIVATE KEY-----')
1 NO CONTENT: new file 100644
NO CONTENT: new file 100644
The requested commit or file is too big and content was truncated. Show full diff
@@ -0,0 +1,29 b''
1 import logging
2
3 from sqlalchemy import *
4 from rhodecode.model import meta
5 from rhodecode.lib.dbmigrate.versions import _reset_base, notify
6
7 log = logging.getLogger(__name__)
8
9
10 def upgrade(migrate_engine):
11 """
12 Upgrade operations go here.
13 Don't create your own engine; bind migrate_engine to your metadata
14 """
15 _reset_base(migrate_engine)
16 from rhodecode.lib.dbmigrate.schema import db_4_9_0_0 as db
17
18 db.UserSshKeys.__table__.create()
19
20 fixups(db, meta.Session)
21
22
23 def downgrade(migrate_engine):
24 meta = MetaData()
25 meta.bind = migrate_engine
26
27
28 def fixups(models, _SESSION):
29 pass
@@ -0,0 +1,123 b''
1 # -*- coding: utf-8 -*-
2
3 # Copyright (C) 2013-2017 RhodeCode GmbH
4 #
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU Affero General Public License, version 3
7 # (only), as published by the Free Software Foundation.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU Affero General Public License
15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16 #
17 # This program is dual-licensed. If you wish to learn more about the
18 # RhodeCode Enterprise Edition, including its added features, Support services,
19 # and proprietary license terms, please see https://rhodecode.com/licenses/
20
21 import logging
22 import traceback
23
24 import sshpubkeys
25 import sshpubkeys.exceptions
26
27 from rhodecode.model import BaseModel
28 from rhodecode.model.db import UserSshKeys
29 from rhodecode.model.meta import Session
30
31 log = logging.getLogger(__name__)
32
33
34 class SshKeyModel(BaseModel):
35 cls = UserSshKeys
36
37 def parse_key(self, key_data):
38 """
39 print(ssh.bits) # 768
40 print(ssh.hash_md5()) # 56:84:1e:90:08:3b:60:c7:29:70:5f:5e:25:a6:3b:86
41 print(ssh.hash_sha256()) # SHA256:xk3IEJIdIoR9MmSRXTP98rjDdZocmXJje/28ohMQEwM
42 print(ssh.hash_sha512()) # SHA512:1C3lNBhjpDVQe39hnyy+xvlZYU3IPwzqK1rVneGavy6O3/ebjEQSFvmeWoyMTplIanmUK1hmr9nA8Skmj516HA
43 print(ssh.comment) # ojar@ojar-laptop
44 print(ssh.options_raw) # None (string of optional options at the beginning of public key)
45 print(ssh.options) # None (options as a dictionary, parsed and validated)
46
47 :param key_data:
48 :return:
49 """
50 ssh = sshpubkeys.SSHKey(strict_mode=True)
51 try:
52 ssh.parse(key_data)
53 return ssh
54 except sshpubkeys.exceptions.InvalidKeyException as err:
55 log.error("Invalid key: %s", err)
56 raise
57 except NotImplementedError as err:
58 log.error("Invalid key type: %s", err)
59 raise
60 except Exception as err:
61 log.error("Key Parse error: %s", err)
62 raise
63
64 def generate_keypair(self, comment=None):
65 from Crypto.PublicKey import RSA
66
67 key = RSA.generate(2048)
68 private = key.exportKey('PEM')
69
70 pubkey = key.publickey()
71 public = pubkey.exportKey('OpenSSH')
72 if comment:
73 public = public + " " + comment
74 return private, public
75
76 def create(self, user, fingerprint, key_data, description):
77 """
78 """
79 user = self._get_user(user)
80
81 new_ssh_key = UserSshKeys()
82 new_ssh_key.ssh_key_fingerprint = fingerprint
83 new_ssh_key.ssh_key_data = key_data
84 new_ssh_key.user_id = user.user_id
85 new_ssh_key.description = description
86
87 Session().add(new_ssh_key)
88
89 return new_ssh_key
90
91 def delete(self, ssh_key_id, user=None):
92 """
93 Deletes given api_key, if user is set it also filters the object for
94 deletion by given user.
95 """
96 ssh_key = UserSshKeys.query().filter(
97 UserSshKeys.ssh_key_id == ssh_key_id)
98
99 if user:
100 user = self._get_user(user)
101 ssh_key = ssh_key.filter(UserSshKeys.user_id == user.user_id)
102 ssh_key = ssh_key.scalar()
103
104 if ssh_key:
105 try:
106 Session().delete(ssh_key)
107 except Exception:
108 log.error(traceback.format_exc())
109 raise
110
111 def get_ssh_keys(self, user):
112 user = self._get_user(user)
113 user_ssh_keys = UserSshKeys.query()\
114 .filter(UserSshKeys.user_id == user.user_id)
115 user_ssh_keys = user_ssh_keys.order_by(UserSshKeys.ssh_key_id)
116 return user_ssh_keys
117
118 def get_ssh_key_by_fingerprint(self, ssh_key_fingerprint):
119 user_ssh_key = UserSshKeys.query()\
120 .filter(UserSshKeys.ssh_key_fingerprint == ssh_key_fingerprint)\
121 .first()
122
123 return user_ssh_key
@@ -0,0 +1,78 b''
1 <div class="panel panel-default">
2 <div class="panel-heading">
3 <h3 class="panel-title">${_('SSH Keys')}</h3>
4 </div>
5 <div class="panel-body">
6 <div class="sshkeys_wrap">
7 <table class="rctable ssh_keys">
8 <tr>
9 <th>${_('Fingerprint')}</th>
10 <th>${_('Description')}</th>
11 <th>${_('Created')}</th>
12 <th>${_('Action')}</th>
13 </tr>
14 %if c.user_ssh_keys:
15 %for ssh_key in c.user_ssh_keys:
16 <tr class="">
17 <td class="">
18 <code>${ssh_key.ssh_key_fingerprint}</code>
19 </td>
20 <td class="td-wrap">${ssh_key.description}</td>
21 <td class="td-tags">${h.format_date(ssh_key.created_on)}</td>
22
23 <td class="td-action">
24 ${h.secure_form(h.route_path('edit_user_ssh_keys_delete', user_id=c.user.user_id), method='POST', request=request)}
25 ${h.hidden('del_ssh_key', ssh_key.ssh_key_id)}
26 <button class="btn btn-link btn-danger" type="submit"
27 onclick="return confirm('${_('Confirm to remove ssh key %s') % ssh_key.ssh_key_fingerprint}');">
28 ${_('Delete')}
29 </button>
30 ${h.end_form()}
31 </td>
32 </tr>
33 %endfor
34 %else:
35 <tr><td><div class="ip">${_('No additional ssh keys specified')}</div></td></tr>
36 %endif
37 </table>
38 </div>
39
40 <div class="user_ssh_keys">
41 ${h.secure_form(h.route_path('edit_user_ssh_keys_add', user_id=c.user.user_id), method='POST', request=request)}
42 <div class="form form-vertical">
43 <!-- fields -->
44 <div class="fields">
45 <div class="field">
46 <div class="label">
47 <label for="new_email">${_('New ssh key')}:</label>
48 </div>
49 <div class="input">
50 ${h.text('description', class_='medium', placeholder=_('Description'))}
51 <a href="${h.route_path('edit_user_ssh_keys_generate_keypair', user_id=c.user.user_id)}">${_('Generate random RSA key')}</a>
52 </div>
53 </div>
54
55 <div class="field">
56 <div class="textarea text-area editor">
57 ${h.textarea('key_data',c.default_key, size=30, placeholder=_("Public key, begins with 'ssh-rsa', 'ssh-dss', 'ssh-ed25519', 'ecdsa-sha2-nistp256', 'ecdsa-sha2-nistp384', or 'ecdsa-sha2-nistp521'"))}
58 </div>
59 </div>
60
61 <div class="buttons">
62 ${h.submit('save',_('Add'),class_="btn")}
63 ${h.reset('reset',_('Reset'),class_="btn")}
64 </div>
65 </div>
66 </div>
67 ${h.end_form()}
68 </div>
69 </div>
70 </div>
71
72 <script>
73
74 $(document).ready(function(){
75
76
77 });
78 </script>
@@ -0,0 +1,45 b''
1 <div class="panel panel-default">
2 <div class="panel-heading">
3 <h3 class="panel-title">${_('New SSH Key generated')}</h3>
4 </div>
5 <div class="panel-body">
6 <p>
7 ${_('Below is a 2048 bit generated SSH RSA key. You can use it to access RhodeCode via the SSH wrapper.')}
8 </p>
9 <h4>${_('Private key')}</h4>
10 <pre>
11 # Save the content as
12 ~/.ssh/id_rsa_rhodecode_access_priv.key
13 # Change permissions
14 chmod 0600 ~/.ssh/id_rsa_rhodecode_access_priv.key
15 </pre>
16
17 <div>
18 <textarea style="height: 300px">${c.private}</textarea>
19 </div>
20 <br/>
21
22
23 <h4>${_('Public key')}</h4>
24 <pre>
25 # Save the content as
26 ~/.ssh/id_rsa_rhodecode_access_pub.key
27 # Change permissions
28 chmod 0600 ~/.ssh/id_rsa_rhodecode_access_pub.key
29 </pre>
30
31 <input type="text" value="${c.public}" class="large text" size="100"/>
32 <p>
33 <a href="${h.route_path('edit_user_ssh_keys', user_id=c.user.user_id, _query=dict(default_key=c.public))}">${_('Add this generated key')}</a>
34 </p>
35
36 </div>
37 </div>
38
39 <script>
40
41 $(document).ready(function(){
42
43
44 });
45 </script>
@@ -1,2086 +1,2086 b''
1 # Generated by pip2nix 0.4.0
1 # Generated by pip2nix 0.4.0
2 # See https://github.com/johbo/pip2nix
2 # See https://github.com/johbo/pip2nix
3
3
4 {
4 {
5 Babel = super.buildPythonPackage {
5 Babel = super.buildPythonPackage {
6 name = "Babel-1.3";
6 name = "Babel-1.3";
7 buildInputs = with self; [];
7 buildInputs = with self; [];
8 doCheck = false;
8 doCheck = false;
9 propagatedBuildInputs = with self; [pytz];
9 propagatedBuildInputs = with self; [pytz];
10 src = fetchurl {
10 src = fetchurl {
11 url = "https://pypi.python.org/packages/33/27/e3978243a03a76398c384c83f7ca879bc6e8f1511233a621fcada135606e/Babel-1.3.tar.gz";
11 url = "https://pypi.python.org/packages/33/27/e3978243a03a76398c384c83f7ca879bc6e8f1511233a621fcada135606e/Babel-1.3.tar.gz";
12 md5 = "5264ceb02717843cbc9ffce8e6e06bdb";
12 md5 = "5264ceb02717843cbc9ffce8e6e06bdb";
13 };
13 };
14 meta = {
14 meta = {
15 license = [ pkgs.lib.licenses.bsdOriginal ];
15 license = [ pkgs.lib.licenses.bsdOriginal ];
16 };
16 };
17 };
17 };
18 Beaker = super.buildPythonPackage {
18 Beaker = super.buildPythonPackage {
19 name = "Beaker-1.9.0";
19 name = "Beaker-1.9.0";
20 buildInputs = with self; [];
20 buildInputs = with self; [];
21 doCheck = false;
21 doCheck = false;
22 propagatedBuildInputs = with self; [funcsigs];
22 propagatedBuildInputs = with self; [funcsigs];
23 src = fetchurl {
23 src = fetchurl {
24 url = "https://pypi.python.org/packages/93/b2/12de6937b06e9615dbb3cb3a1c9af17f133f435bdef59f4ad42032b6eb49/Beaker-1.9.0.tar.gz";
24 url = "https://pypi.python.org/packages/93/b2/12de6937b06e9615dbb3cb3a1c9af17f133f435bdef59f4ad42032b6eb49/Beaker-1.9.0.tar.gz";
25 md5 = "38b3fcdfa24faf97c6cf66991eb54e9c";
25 md5 = "38b3fcdfa24faf97c6cf66991eb54e9c";
26 };
26 };
27 meta = {
27 meta = {
28 license = [ pkgs.lib.licenses.bsdOriginal ];
28 license = [ pkgs.lib.licenses.bsdOriginal ];
29 };
29 };
30 };
30 };
31 CProfileV = super.buildPythonPackage {
31 CProfileV = super.buildPythonPackage {
32 name = "CProfileV-1.0.7";
32 name = "CProfileV-1.0.7";
33 buildInputs = with self; [];
33 buildInputs = with self; [];
34 doCheck = false;
34 doCheck = false;
35 propagatedBuildInputs = with self; [bottle];
35 propagatedBuildInputs = with self; [bottle];
36 src = fetchurl {
36 src = fetchurl {
37 url = "https://pypi.python.org/packages/df/50/d8c1ada7d537c64b0f76453fa31dedb6af6e27b82fcf0331e5f71a4cf98b/CProfileV-1.0.7.tar.gz";
37 url = "https://pypi.python.org/packages/df/50/d8c1ada7d537c64b0f76453fa31dedb6af6e27b82fcf0331e5f71a4cf98b/CProfileV-1.0.7.tar.gz";
38 md5 = "db4c7640438aa3d8887e194c81c7a019";
38 md5 = "db4c7640438aa3d8887e194c81c7a019";
39 };
39 };
40 meta = {
40 meta = {
41 license = [ pkgs.lib.licenses.mit ];
41 license = [ pkgs.lib.licenses.mit ];
42 };
42 };
43 };
43 };
44 Chameleon = super.buildPythonPackage {
44 Chameleon = super.buildPythonPackage {
45 name = "Chameleon-2.24";
45 name = "Chameleon-2.24";
46 buildInputs = with self; [];
46 buildInputs = with self; [];
47 doCheck = false;
47 doCheck = false;
48 propagatedBuildInputs = with self; [];
48 propagatedBuildInputs = with self; [];
49 src = fetchurl {
49 src = fetchurl {
50 url = "https://pypi.python.org/packages/5a/9e/637379ffa13c5172b5c0e704833ffea6bf51cec7567f93fd6e903d53ed74/Chameleon-2.24.tar.gz";
50 url = "https://pypi.python.org/packages/5a/9e/637379ffa13c5172b5c0e704833ffea6bf51cec7567f93fd6e903d53ed74/Chameleon-2.24.tar.gz";
51 md5 = "1b01f1f6533a8a11d0d2f2366dec5342";
51 md5 = "1b01f1f6533a8a11d0d2f2366dec5342";
52 };
52 };
53 meta = {
53 meta = {
54 license = [ { fullName = "BSD-like (http://repoze.org/license.html)"; } ];
54 license = [ { fullName = "BSD-like (http://repoze.org/license.html)"; } ];
55 };
55 };
56 };
56 };
57 FormEncode = super.buildPythonPackage {
57 FormEncode = super.buildPythonPackage {
58 name = "FormEncode-1.2.4";
58 name = "FormEncode-1.2.4";
59 buildInputs = with self; [];
59 buildInputs = with self; [];
60 doCheck = false;
60 doCheck = false;
61 propagatedBuildInputs = with self; [];
61 propagatedBuildInputs = with self; [];
62 src = fetchurl {
62 src = fetchurl {
63 url = "https://pypi.python.org/packages/8e/59/0174271a6f004512e0201188593e6d319db139d14cb7490e488bbb078015/FormEncode-1.2.4.tar.gz";
63 url = "https://pypi.python.org/packages/8e/59/0174271a6f004512e0201188593e6d319db139d14cb7490e488bbb078015/FormEncode-1.2.4.tar.gz";
64 md5 = "6bc17fb9aed8aea198975e888e2077f4";
64 md5 = "6bc17fb9aed8aea198975e888e2077f4";
65 };
65 };
66 meta = {
66 meta = {
67 license = [ pkgs.lib.licenses.psfl ];
67 license = [ pkgs.lib.licenses.psfl ];
68 };
68 };
69 };
69 };
70 Jinja2 = super.buildPythonPackage {
70 Jinja2 = super.buildPythonPackage {
71 name = "Jinja2-2.7.3";
71 name = "Jinja2-2.7.3";
72 buildInputs = with self; [];
72 buildInputs = with self; [];
73 doCheck = false;
73 doCheck = false;
74 propagatedBuildInputs = with self; [MarkupSafe];
74 propagatedBuildInputs = with self; [MarkupSafe];
75 src = fetchurl {
75 src = fetchurl {
76 url = "https://pypi.python.org/packages/b0/73/eab0bca302d6d6a0b5c402f47ad1760dc9cb2dd14bbc1873ad48db258e4d/Jinja2-2.7.3.tar.gz";
76 url = "https://pypi.python.org/packages/b0/73/eab0bca302d6d6a0b5c402f47ad1760dc9cb2dd14bbc1873ad48db258e4d/Jinja2-2.7.3.tar.gz";
77 md5 = "b9dffd2f3b43d673802fe857c8445b1a";
77 md5 = "b9dffd2f3b43d673802fe857c8445b1a";
78 };
78 };
79 meta = {
79 meta = {
80 license = [ pkgs.lib.licenses.bsdOriginal ];
80 license = [ pkgs.lib.licenses.bsdOriginal ];
81 };
81 };
82 };
82 };
83 Mako = super.buildPythonPackage {
83 Mako = super.buildPythonPackage {
84 name = "Mako-1.0.6";
84 name = "Mako-1.0.6";
85 buildInputs = with self; [];
85 buildInputs = with self; [];
86 doCheck = false;
86 doCheck = false;
87 propagatedBuildInputs = with self; [MarkupSafe];
87 propagatedBuildInputs = with self; [MarkupSafe];
88 src = fetchurl {
88 src = fetchurl {
89 url = "https://pypi.python.org/packages/56/4b/cb75836863a6382199aefb3d3809937e21fa4cb0db15a4f4ba0ecc2e7e8e/Mako-1.0.6.tar.gz";
89 url = "https://pypi.python.org/packages/56/4b/cb75836863a6382199aefb3d3809937e21fa4cb0db15a4f4ba0ecc2e7e8e/Mako-1.0.6.tar.gz";
90 md5 = "a28e22a339080316b2acc352b9ee631c";
90 md5 = "a28e22a339080316b2acc352b9ee631c";
91 };
91 };
92 meta = {
92 meta = {
93 license = [ pkgs.lib.licenses.mit ];
93 license = [ pkgs.lib.licenses.mit ];
94 };
94 };
95 };
95 };
96 Markdown = super.buildPythonPackage {
96 Markdown = super.buildPythonPackage {
97 name = "Markdown-2.6.8";
97 name = "Markdown-2.6.8";
98 buildInputs = with self; [];
98 buildInputs = with self; [];
99 doCheck = false;
99 doCheck = false;
100 propagatedBuildInputs = with self; [];
100 propagatedBuildInputs = with self; [];
101 src = fetchurl {
101 src = fetchurl {
102 url = "https://pypi.python.org/packages/1d/25/3f6d2cb31ec42ca5bd3bfbea99b63892b735d76e26f20dd2dcc34ffe4f0d/Markdown-2.6.8.tar.gz";
102 url = "https://pypi.python.org/packages/1d/25/3f6d2cb31ec42ca5bd3bfbea99b63892b735d76e26f20dd2dcc34ffe4f0d/Markdown-2.6.8.tar.gz";
103 md5 = "d9ef057a5bd185f6f536400a31fc5d45";
103 md5 = "d9ef057a5bd185f6f536400a31fc5d45";
104 };
104 };
105 meta = {
105 meta = {
106 license = [ pkgs.lib.licenses.bsdOriginal ];
106 license = [ pkgs.lib.licenses.bsdOriginal ];
107 };
107 };
108 };
108 };
109 MarkupSafe = super.buildPythonPackage {
109 MarkupSafe = super.buildPythonPackage {
110 name = "MarkupSafe-0.23";
110 name = "MarkupSafe-0.23";
111 buildInputs = with self; [];
111 buildInputs = with self; [];
112 doCheck = false;
112 doCheck = false;
113 propagatedBuildInputs = with self; [];
113 propagatedBuildInputs = with self; [];
114 src = fetchurl {
114 src = fetchurl {
115 url = "https://pypi.python.org/packages/c0/41/bae1254e0396c0cc8cf1751cb7d9afc90a602353695af5952530482c963f/MarkupSafe-0.23.tar.gz";
115 url = "https://pypi.python.org/packages/c0/41/bae1254e0396c0cc8cf1751cb7d9afc90a602353695af5952530482c963f/MarkupSafe-0.23.tar.gz";
116 md5 = "f5ab3deee4c37cd6a922fb81e730da6e";
116 md5 = "f5ab3deee4c37cd6a922fb81e730da6e";
117 };
117 };
118 meta = {
118 meta = {
119 license = [ pkgs.lib.licenses.bsdOriginal ];
119 license = [ pkgs.lib.licenses.bsdOriginal ];
120 };
120 };
121 };
121 };
122 MySQL-python = super.buildPythonPackage {
122 MySQL-python = super.buildPythonPackage {
123 name = "MySQL-python-1.2.5";
123 name = "MySQL-python-1.2.5";
124 buildInputs = with self; [];
124 buildInputs = with self; [];
125 doCheck = false;
125 doCheck = false;
126 propagatedBuildInputs = with self; [];
126 propagatedBuildInputs = with self; [];
127 src = fetchurl {
127 src = fetchurl {
128 url = "https://pypi.python.org/packages/a5/e9/51b544da85a36a68debe7a7091f068d802fc515a3a202652828c73453cad/MySQL-python-1.2.5.zip";
128 url = "https://pypi.python.org/packages/a5/e9/51b544da85a36a68debe7a7091f068d802fc515a3a202652828c73453cad/MySQL-python-1.2.5.zip";
129 md5 = "654f75b302db6ed8dc5a898c625e030c";
129 md5 = "654f75b302db6ed8dc5a898c625e030c";
130 };
130 };
131 meta = {
131 meta = {
132 license = [ pkgs.lib.licenses.gpl1 ];
132 license = [ pkgs.lib.licenses.gpl1 ];
133 };
133 };
134 };
134 };
135 Paste = super.buildPythonPackage {
135 Paste = super.buildPythonPackage {
136 name = "Paste-2.0.3";
136 name = "Paste-2.0.3";
137 buildInputs = with self; [];
137 buildInputs = with self; [];
138 doCheck = false;
138 doCheck = false;
139 propagatedBuildInputs = with self; [six];
139 propagatedBuildInputs = with self; [six];
140 src = fetchurl {
140 src = fetchurl {
141 url = "https://pypi.python.org/packages/30/c3/5c2f7c7a02e4f58d4454353fa1c32c94f79fa4e36d07a67c0ac295ea369e/Paste-2.0.3.tar.gz";
141 url = "https://pypi.python.org/packages/30/c3/5c2f7c7a02e4f58d4454353fa1c32c94f79fa4e36d07a67c0ac295ea369e/Paste-2.0.3.tar.gz";
142 md5 = "1231e14eae62fa7ed76e9130b04bc61e";
142 md5 = "1231e14eae62fa7ed76e9130b04bc61e";
143 };
143 };
144 meta = {
144 meta = {
145 license = [ pkgs.lib.licenses.mit ];
145 license = [ pkgs.lib.licenses.mit ];
146 };
146 };
147 };
147 };
148 PasteDeploy = super.buildPythonPackage {
148 PasteDeploy = super.buildPythonPackage {
149 name = "PasteDeploy-1.5.2";
149 name = "PasteDeploy-1.5.2";
150 buildInputs = with self; [];
150 buildInputs = with self; [];
151 doCheck = false;
151 doCheck = false;
152 propagatedBuildInputs = with self; [];
152 propagatedBuildInputs = with self; [];
153 src = fetchurl {
153 src = fetchurl {
154 url = "https://pypi.python.org/packages/0f/90/8e20cdae206c543ea10793cbf4136eb9a8b3f417e04e40a29d72d9922cbd/PasteDeploy-1.5.2.tar.gz";
154 url = "https://pypi.python.org/packages/0f/90/8e20cdae206c543ea10793cbf4136eb9a8b3f417e04e40a29d72d9922cbd/PasteDeploy-1.5.2.tar.gz";
155 md5 = "352b7205c78c8de4987578d19431af3b";
155 md5 = "352b7205c78c8de4987578d19431af3b";
156 };
156 };
157 meta = {
157 meta = {
158 license = [ pkgs.lib.licenses.mit ];
158 license = [ pkgs.lib.licenses.mit ];
159 };
159 };
160 };
160 };
161 PasteScript = super.buildPythonPackage {
161 PasteScript = super.buildPythonPackage {
162 name = "PasteScript-1.7.5";
162 name = "PasteScript-1.7.5";
163 buildInputs = with self; [];
163 buildInputs = with self; [];
164 doCheck = false;
164 doCheck = false;
165 propagatedBuildInputs = with self; [Paste PasteDeploy];
165 propagatedBuildInputs = with self; [Paste PasteDeploy];
166 src = fetchurl {
166 src = fetchurl {
167 url = "https://pypi.python.org/packages/a5/05/fc60efa7c2f17a1dbaeccb2a903a1e90902d92b9d00eebabe3095829d806/PasteScript-1.7.5.tar.gz";
167 url = "https://pypi.python.org/packages/a5/05/fc60efa7c2f17a1dbaeccb2a903a1e90902d92b9d00eebabe3095829d806/PasteScript-1.7.5.tar.gz";
168 md5 = "4c72d78dcb6bb993f30536842c16af4d";
168 md5 = "4c72d78dcb6bb993f30536842c16af4d";
169 };
169 };
170 meta = {
170 meta = {
171 license = [ pkgs.lib.licenses.mit ];
171 license = [ pkgs.lib.licenses.mit ];
172 };
172 };
173 };
173 };
174 Pygments = super.buildPythonPackage {
174 Pygments = super.buildPythonPackage {
175 name = "Pygments-2.2.0";
175 name = "Pygments-2.2.0";
176 buildInputs = with self; [];
176 buildInputs = with self; [];
177 doCheck = false;
177 doCheck = false;
178 propagatedBuildInputs = with self; [];
178 propagatedBuildInputs = with self; [];
179 src = fetchurl {
179 src = fetchurl {
180 url = "https://pypi.python.org/packages/71/2a/2e4e77803a8bd6408a2903340ac498cb0a2181811af7c9ec92cb70b0308a/Pygments-2.2.0.tar.gz";
180 url = "https://pypi.python.org/packages/71/2a/2e4e77803a8bd6408a2903340ac498cb0a2181811af7c9ec92cb70b0308a/Pygments-2.2.0.tar.gz";
181 md5 = "13037baca42f16917cbd5ad2fab50844";
181 md5 = "13037baca42f16917cbd5ad2fab50844";
182 };
182 };
183 meta = {
183 meta = {
184 license = [ pkgs.lib.licenses.bsdOriginal ];
184 license = [ pkgs.lib.licenses.bsdOriginal ];
185 };
185 };
186 };
186 };
187 Pylons = super.buildPythonPackage {
187 Pylons = super.buildPythonPackage {
188 name = "Pylons-1.0.2.dev20170630";
188 name = "Pylons-1.0.2.dev20170630";
189 buildInputs = with self; [];
189 buildInputs = with self; [];
190 doCheck = false;
190 doCheck = false;
191 propagatedBuildInputs = with self; [Routes WebHelpers Beaker Paste PasteDeploy PasteScript FormEncode simplejson decorator nose Mako WebError WebTest Tempita MarkupSafe WebOb];
191 propagatedBuildInputs = with self; [Routes WebHelpers Beaker Paste PasteDeploy PasteScript FormEncode simplejson decorator nose Mako WebError WebTest Tempita MarkupSafe WebOb];
192 src = fetchurl {
192 src = fetchurl {
193 url = "https://code.rhodecode.com/upstream/pylons/archive/707354ee4261b9c10450404fc9852ccea4fd667d.tar.gz?md5=f26633726fa2cd3a340316ee6a5d218f";
193 url = "https://code.rhodecode.com/upstream/pylons/archive/707354ee4261b9c10450404fc9852ccea4fd667d.tar.gz?md5=f26633726fa2cd3a340316ee6a5d218f";
194 md5 = "f26633726fa2cd3a340316ee6a5d218f";
194 md5 = "f26633726fa2cd3a340316ee6a5d218f";
195 };
195 };
196 meta = {
196 meta = {
197 license = [ pkgs.lib.licenses.bsdOriginal ];
197 license = [ pkgs.lib.licenses.bsdOriginal ];
198 };
198 };
199 };
199 };
200 Routes = super.buildPythonPackage {
200 Routes = super.buildPythonPackage {
201 name = "Routes-1.13";
201 name = "Routes-1.13";
202 buildInputs = with self; [];
202 buildInputs = with self; [];
203 doCheck = false;
203 doCheck = false;
204 propagatedBuildInputs = with self; [repoze.lru];
204 propagatedBuildInputs = with self; [repoze.lru];
205 src = fetchurl {
205 src = fetchurl {
206 url = "https://pypi.python.org/packages/88/d3/259c3b3cde8837eb9441ab5f574a660e8a4acea8f54a078441d4d2acac1c/Routes-1.13.tar.gz";
206 url = "https://pypi.python.org/packages/88/d3/259c3b3cde8837eb9441ab5f574a660e8a4acea8f54a078441d4d2acac1c/Routes-1.13.tar.gz";
207 md5 = "d527b0ab7dd9172b1275a41f97448783";
207 md5 = "d527b0ab7dd9172b1275a41f97448783";
208 };
208 };
209 meta = {
209 meta = {
210 license = [ pkgs.lib.licenses.bsdOriginal ];
210 license = [ pkgs.lib.licenses.bsdOriginal ];
211 };
211 };
212 };
212 };
213 SQLAlchemy = super.buildPythonPackage {
213 SQLAlchemy = super.buildPythonPackage {
214 name = "SQLAlchemy-1.1.11";
214 name = "SQLAlchemy-1.1.11";
215 buildInputs = with self; [];
215 buildInputs = with self; [];
216 doCheck = false;
216 doCheck = false;
217 propagatedBuildInputs = with self; [];
217 propagatedBuildInputs = with self; [];
218 src = fetchurl {
218 src = fetchurl {
219 url = "https://pypi.python.org/packages/59/f1/28f2205c3175e6bf32300c0f30f9d91dbc9eb910debbff3ffecb88d18528/SQLAlchemy-1.1.11.tar.gz";
219 url = "https://pypi.python.org/packages/59/f1/28f2205c3175e6bf32300c0f30f9d91dbc9eb910debbff3ffecb88d18528/SQLAlchemy-1.1.11.tar.gz";
220 md5 = "3de387eddb4012083a4562928c511e43";
220 md5 = "3de387eddb4012083a4562928c511e43";
221 };
221 };
222 meta = {
222 meta = {
223 license = [ pkgs.lib.licenses.mit ];
223 license = [ pkgs.lib.licenses.mit ];
224 };
224 };
225 };
225 };
226 Sphinx = super.buildPythonPackage {
226 Sphinx = super.buildPythonPackage {
227 name = "Sphinx-1.2.2";
227 name = "Sphinx-1.2.2";
228 buildInputs = with self; [];
228 buildInputs = with self; [];
229 doCheck = false;
229 doCheck = false;
230 propagatedBuildInputs = with self; [Pygments docutils Jinja2];
230 propagatedBuildInputs = with self; [Pygments docutils Jinja2];
231 src = fetchurl {
231 src = fetchurl {
232 url = "https://pypi.python.org/packages/0a/50/34017e6efcd372893a416aba14b84a1a149fc7074537b0e9cb6ca7b7abe9/Sphinx-1.2.2.tar.gz";
232 url = "https://pypi.python.org/packages/0a/50/34017e6efcd372893a416aba14b84a1a149fc7074537b0e9cb6ca7b7abe9/Sphinx-1.2.2.tar.gz";
233 md5 = "3dc73ccaa8d0bfb2d62fb671b1f7e8a4";
233 md5 = "3dc73ccaa8d0bfb2d62fb671b1f7e8a4";
234 };
234 };
235 meta = {
235 meta = {
236 license = [ pkgs.lib.licenses.bsdOriginal ];
236 license = [ pkgs.lib.licenses.bsdOriginal ];
237 };
237 };
238 };
238 };
239 Tempita = super.buildPythonPackage {
239 Tempita = super.buildPythonPackage {
240 name = "Tempita-0.5.2";
240 name = "Tempita-0.5.2";
241 buildInputs = with self; [];
241 buildInputs = with self; [];
242 doCheck = false;
242 doCheck = false;
243 propagatedBuildInputs = with self; [];
243 propagatedBuildInputs = with self; [];
244 src = fetchurl {
244 src = fetchurl {
245 url = "https://pypi.python.org/packages/56/c8/8ed6eee83dbddf7b0fc64dd5d4454bc05e6ccaafff47991f73f2894d9ff4/Tempita-0.5.2.tar.gz";
245 url = "https://pypi.python.org/packages/56/c8/8ed6eee83dbddf7b0fc64dd5d4454bc05e6ccaafff47991f73f2894d9ff4/Tempita-0.5.2.tar.gz";
246 md5 = "4c2f17bb9d481821c41b6fbee904cea1";
246 md5 = "4c2f17bb9d481821c41b6fbee904cea1";
247 };
247 };
248 meta = {
248 meta = {
249 license = [ pkgs.lib.licenses.mit ];
249 license = [ pkgs.lib.licenses.mit ];
250 };
250 };
251 };
251 };
252 URLObject = super.buildPythonPackage {
252 URLObject = super.buildPythonPackage {
253 name = "URLObject-2.4.0";
253 name = "URLObject-2.4.0";
254 buildInputs = with self; [];
254 buildInputs = with self; [];
255 doCheck = false;
255 doCheck = false;
256 propagatedBuildInputs = with self; [];
256 propagatedBuildInputs = with self; [];
257 src = fetchurl {
257 src = fetchurl {
258 url = "https://pypi.python.org/packages/cb/b6/e25e58500f9caef85d664bec71ec67c116897bfebf8622c32cb75d1ca199/URLObject-2.4.0.tar.gz";
258 url = "https://pypi.python.org/packages/cb/b6/e25e58500f9caef85d664bec71ec67c116897bfebf8622c32cb75d1ca199/URLObject-2.4.0.tar.gz";
259 md5 = "2ed819738a9f0a3051f31dc9924e3065";
259 md5 = "2ed819738a9f0a3051f31dc9924e3065";
260 };
260 };
261 meta = {
261 meta = {
262 license = [ ];
262 license = [ ];
263 };
263 };
264 };
264 };
265 WebError = super.buildPythonPackage {
265 WebError = super.buildPythonPackage {
266 name = "WebError-0.10.3";
266 name = "WebError-0.10.3";
267 buildInputs = with self; [];
267 buildInputs = with self; [];
268 doCheck = false;
268 doCheck = false;
269 propagatedBuildInputs = with self; [WebOb Tempita Pygments Paste];
269 propagatedBuildInputs = with self; [WebOb Tempita Pygments Paste];
270 src = fetchurl {
270 src = fetchurl {
271 url = "https://pypi.python.org/packages/35/76/e7e5c2ce7e9c7f31b54c1ff295a495886d1279a002557d74dd8957346a79/WebError-0.10.3.tar.gz";
271 url = "https://pypi.python.org/packages/35/76/e7e5c2ce7e9c7f31b54c1ff295a495886d1279a002557d74dd8957346a79/WebError-0.10.3.tar.gz";
272 md5 = "84b9990b0baae6fd440b1e60cdd06f9a";
272 md5 = "84b9990b0baae6fd440b1e60cdd06f9a";
273 };
273 };
274 meta = {
274 meta = {
275 license = [ pkgs.lib.licenses.mit ];
275 license = [ pkgs.lib.licenses.mit ];
276 };
276 };
277 };
277 };
278 WebHelpers = super.buildPythonPackage {
278 WebHelpers = super.buildPythonPackage {
279 name = "WebHelpers-1.3";
279 name = "WebHelpers-1.3";
280 buildInputs = with self; [];
280 buildInputs = with self; [];
281 doCheck = false;
281 doCheck = false;
282 propagatedBuildInputs = with self; [MarkupSafe];
282 propagatedBuildInputs = with self; [MarkupSafe];
283 src = fetchurl {
283 src = fetchurl {
284 url = "https://pypi.python.org/packages/ee/68/4d07672821d514184357f1552f2dad923324f597e722de3b016ca4f7844f/WebHelpers-1.3.tar.gz";
284 url = "https://pypi.python.org/packages/ee/68/4d07672821d514184357f1552f2dad923324f597e722de3b016ca4f7844f/WebHelpers-1.3.tar.gz";
285 md5 = "32749ffadfc40fea51075a7def32588b";
285 md5 = "32749ffadfc40fea51075a7def32588b";
286 };
286 };
287 meta = {
287 meta = {
288 license = [ pkgs.lib.licenses.bsdOriginal ];
288 license = [ pkgs.lib.licenses.bsdOriginal ];
289 };
289 };
290 };
290 };
291 WebHelpers2 = super.buildPythonPackage {
291 WebHelpers2 = super.buildPythonPackage {
292 name = "WebHelpers2-2.0";
292 name = "WebHelpers2-2.0";
293 buildInputs = with self; [];
293 buildInputs = with self; [];
294 doCheck = false;
294 doCheck = false;
295 propagatedBuildInputs = with self; [MarkupSafe six];
295 propagatedBuildInputs = with self; [MarkupSafe six];
296 src = fetchurl {
296 src = fetchurl {
297 url = "https://pypi.python.org/packages/ff/30/56342c6ea522439e3662427c8d7b5e5b390dff4ff2dc92d8afcb8ab68b75/WebHelpers2-2.0.tar.gz";
297 url = "https://pypi.python.org/packages/ff/30/56342c6ea522439e3662427c8d7b5e5b390dff4ff2dc92d8afcb8ab68b75/WebHelpers2-2.0.tar.gz";
298 md5 = "0f6b68d70c12ee0aed48c00b24da13d3";
298 md5 = "0f6b68d70c12ee0aed48c00b24da13d3";
299 };
299 };
300 meta = {
300 meta = {
301 license = [ pkgs.lib.licenses.mit ];
301 license = [ pkgs.lib.licenses.mit ];
302 };
302 };
303 };
303 };
304 WebOb = super.buildPythonPackage {
304 WebOb = super.buildPythonPackage {
305 name = "WebOb-1.7.3";
305 name = "WebOb-1.7.3";
306 buildInputs = with self; [];
306 buildInputs = with self; [];
307 doCheck = false;
307 doCheck = false;
308 propagatedBuildInputs = with self; [];
308 propagatedBuildInputs = with self; [];
309 src = fetchurl {
309 src = fetchurl {
310 url = "https://pypi.python.org/packages/46/87/2f96d8d43b2078fae6e1d33fa86b95c228cebed060f4e3c7576cc44ea83b/WebOb-1.7.3.tar.gz";
310 url = "https://pypi.python.org/packages/46/87/2f96d8d43b2078fae6e1d33fa86b95c228cebed060f4e3c7576cc44ea83b/WebOb-1.7.3.tar.gz";
311 md5 = "350028baffc508e3d23c078118e35316";
311 md5 = "350028baffc508e3d23c078118e35316";
312 };
312 };
313 meta = {
313 meta = {
314 license = [ pkgs.lib.licenses.mit ];
314 license = [ pkgs.lib.licenses.mit ];
315 };
315 };
316 };
316 };
317 WebTest = super.buildPythonPackage {
317 WebTest = super.buildPythonPackage {
318 name = "WebTest-2.0.27";
318 name = "WebTest-2.0.27";
319 buildInputs = with self; [];
319 buildInputs = with self; [];
320 doCheck = false;
320 doCheck = false;
321 propagatedBuildInputs = with self; [six WebOb waitress beautifulsoup4];
321 propagatedBuildInputs = with self; [six WebOb waitress beautifulsoup4];
322 src = fetchurl {
322 src = fetchurl {
323 url = "https://pypi.python.org/packages/80/fa/ca3a759985c72e3a124cbca3e1f8a2e931a07ffd31fd45d8f7bf21cb95cf/WebTest-2.0.27.tar.gz";
323 url = "https://pypi.python.org/packages/80/fa/ca3a759985c72e3a124cbca3e1f8a2e931a07ffd31fd45d8f7bf21cb95cf/WebTest-2.0.27.tar.gz";
324 md5 = "54e6515ac71c51b6fc90179483c749ad";
324 md5 = "54e6515ac71c51b6fc90179483c749ad";
325 };
325 };
326 meta = {
326 meta = {
327 license = [ pkgs.lib.licenses.mit ];
327 license = [ pkgs.lib.licenses.mit ];
328 };
328 };
329 };
329 };
330 Whoosh = super.buildPythonPackage {
330 Whoosh = super.buildPythonPackage {
331 name = "Whoosh-2.7.4";
331 name = "Whoosh-2.7.4";
332 buildInputs = with self; [];
332 buildInputs = with self; [];
333 doCheck = false;
333 doCheck = false;
334 propagatedBuildInputs = with self; [];
334 propagatedBuildInputs = with self; [];
335 src = fetchurl {
335 src = fetchurl {
336 url = "https://pypi.python.org/packages/25/2b/6beed2107b148edc1321da0d489afc4617b9ed317ef7b72d4993cad9b684/Whoosh-2.7.4.tar.gz";
336 url = "https://pypi.python.org/packages/25/2b/6beed2107b148edc1321da0d489afc4617b9ed317ef7b72d4993cad9b684/Whoosh-2.7.4.tar.gz";
337 md5 = "c2710105f20b3e29936bd2357383c325";
337 md5 = "c2710105f20b3e29936bd2357383c325";
338 };
338 };
339 meta = {
339 meta = {
340 license = [ pkgs.lib.licenses.bsdOriginal pkgs.lib.licenses.bsd2 ];
340 license = [ pkgs.lib.licenses.bsdOriginal pkgs.lib.licenses.bsd2 ];
341 };
341 };
342 };
342 };
343 alembic = super.buildPythonPackage {
343 alembic = super.buildPythonPackage {
344 name = "alembic-0.9.2";
344 name = "alembic-0.9.2";
345 buildInputs = with self; [];
345 buildInputs = with self; [];
346 doCheck = false;
346 doCheck = false;
347 propagatedBuildInputs = with self; [SQLAlchemy Mako python-editor python-dateutil];
347 propagatedBuildInputs = with self; [SQLAlchemy Mako python-editor python-dateutil];
348 src = fetchurl {
348 src = fetchurl {
349 url = "https://pypi.python.org/packages/78/48/b5b26e7218b415f40b60b92c53853d242e5456c0f19f6c66101d98ff5f2a/alembic-0.9.2.tar.gz";
349 url = "https://pypi.python.org/packages/78/48/b5b26e7218b415f40b60b92c53853d242e5456c0f19f6c66101d98ff5f2a/alembic-0.9.2.tar.gz";
350 md5 = "40daf8bae50969beea40efaaf0839ff4";
350 md5 = "40daf8bae50969beea40efaaf0839ff4";
351 };
351 };
352 meta = {
352 meta = {
353 license = [ pkgs.lib.licenses.mit ];
353 license = [ pkgs.lib.licenses.mit ];
354 };
354 };
355 };
355 };
356 amqplib = super.buildPythonPackage {
356 amqplib = super.buildPythonPackage {
357 name = "amqplib-1.0.2";
357 name = "amqplib-1.0.2";
358 buildInputs = with self; [];
358 buildInputs = with self; [];
359 doCheck = false;
359 doCheck = false;
360 propagatedBuildInputs = with self; [];
360 propagatedBuildInputs = with self; [];
361 src = fetchurl {
361 src = fetchurl {
362 url = "https://pypi.python.org/packages/75/b7/8c2429bf8d92354a0118614f9a4d15e53bc69ebedce534284111de5a0102/amqplib-1.0.2.tgz";
362 url = "https://pypi.python.org/packages/75/b7/8c2429bf8d92354a0118614f9a4d15e53bc69ebedce534284111de5a0102/amqplib-1.0.2.tgz";
363 md5 = "5c92f17fbedd99b2b4a836d4352d1e2f";
363 md5 = "5c92f17fbedd99b2b4a836d4352d1e2f";
364 };
364 };
365 meta = {
365 meta = {
366 license = [ { fullName = "LGPL"; } { fullName = "GNU Library or Lesser General Public License (LGPL)"; } ];
366 license = [ { fullName = "LGPL"; } { fullName = "GNU Library or Lesser General Public License (LGPL)"; } ];
367 };
367 };
368 };
368 };
369 anyjson = super.buildPythonPackage {
369 anyjson = super.buildPythonPackage {
370 name = "anyjson-0.3.3";
370 name = "anyjson-0.3.3";
371 buildInputs = with self; [];
371 buildInputs = with self; [];
372 doCheck = false;
372 doCheck = false;
373 propagatedBuildInputs = with self; [];
373 propagatedBuildInputs = with self; [];
374 src = fetchurl {
374 src = fetchurl {
375 url = "https://pypi.python.org/packages/c3/4d/d4089e1a3dd25b46bebdb55a992b0797cff657b4477bc32ce28038fdecbc/anyjson-0.3.3.tar.gz";
375 url = "https://pypi.python.org/packages/c3/4d/d4089e1a3dd25b46bebdb55a992b0797cff657b4477bc32ce28038fdecbc/anyjson-0.3.3.tar.gz";
376 md5 = "2ea28d6ec311aeeebaf993cb3008b27c";
376 md5 = "2ea28d6ec311aeeebaf993cb3008b27c";
377 };
377 };
378 meta = {
378 meta = {
379 license = [ pkgs.lib.licenses.bsdOriginal ];
379 license = [ pkgs.lib.licenses.bsdOriginal ];
380 };
380 };
381 };
381 };
382 appenlight-client = super.buildPythonPackage {
382 appenlight-client = super.buildPythonPackage {
383 name = "appenlight-client-0.6.21";
383 name = "appenlight-client-0.6.21";
384 buildInputs = with self; [];
384 buildInputs = with self; [];
385 doCheck = false;
385 doCheck = false;
386 propagatedBuildInputs = with self; [WebOb requests six];
386 propagatedBuildInputs = with self; [WebOb requests six];
387 src = fetchurl {
387 src = fetchurl {
388 url = "https://pypi.python.org/packages/c9/23/91b66cfa0b963662c10b2a06ccaadf3f3a4848a7a2aa16255cb43d5160ec/appenlight_client-0.6.21.tar.gz";
388 url = "https://pypi.python.org/packages/c9/23/91b66cfa0b963662c10b2a06ccaadf3f3a4848a7a2aa16255cb43d5160ec/appenlight_client-0.6.21.tar.gz";
389 md5 = "273999ac854fdaefa8d0fb61965a4ed9";
389 md5 = "273999ac854fdaefa8d0fb61965a4ed9";
390 };
390 };
391 meta = {
391 meta = {
392 license = [ pkgs.lib.licenses.bsdOriginal ];
392 license = [ pkgs.lib.licenses.bsdOriginal ];
393 };
393 };
394 };
394 };
395 authomatic = super.buildPythonPackage {
395 authomatic = super.buildPythonPackage {
396 name = "authomatic-0.1.0.post1";
396 name = "authomatic-0.1.0.post1";
397 buildInputs = with self; [];
397 buildInputs = with self; [];
398 doCheck = false;
398 doCheck = false;
399 propagatedBuildInputs = with self; [];
399 propagatedBuildInputs = with self; [];
400 src = fetchurl {
400 src = fetchurl {
401 url = "https://pypi.python.org/packages/08/1a/8a930461e604c2d5a7a871e1ac59fa82ccf994c32e807230c8d2fb07815a/Authomatic-0.1.0.post1.tar.gz";
401 url = "https://pypi.python.org/packages/08/1a/8a930461e604c2d5a7a871e1ac59fa82ccf994c32e807230c8d2fb07815a/Authomatic-0.1.0.post1.tar.gz";
402 md5 = "be3f3ce08747d776aae6d6cc8dcb49a9";
402 md5 = "be3f3ce08747d776aae6d6cc8dcb49a9";
403 };
403 };
404 meta = {
404 meta = {
405 license = [ pkgs.lib.licenses.mit ];
405 license = [ pkgs.lib.licenses.mit ];
406 };
406 };
407 };
407 };
408 backports.shutil-get-terminal-size = super.buildPythonPackage {
408 backports.shutil-get-terminal-size = super.buildPythonPackage {
409 name = "backports.shutil-get-terminal-size-1.0.0";
409 name = "backports.shutil-get-terminal-size-1.0.0";
410 buildInputs = with self; [];
410 buildInputs = with self; [];
411 doCheck = false;
411 doCheck = false;
412 propagatedBuildInputs = with self; [];
412 propagatedBuildInputs = with self; [];
413 src = fetchurl {
413 src = fetchurl {
414 url = "https://pypi.python.org/packages/ec/9c/368086faa9c016efce5da3e0e13ba392c9db79e3ab740b763fe28620b18b/backports.shutil_get_terminal_size-1.0.0.tar.gz";
414 url = "https://pypi.python.org/packages/ec/9c/368086faa9c016efce5da3e0e13ba392c9db79e3ab740b763fe28620b18b/backports.shutil_get_terminal_size-1.0.0.tar.gz";
415 md5 = "03267762480bd86b50580dc19dff3c66";
415 md5 = "03267762480bd86b50580dc19dff3c66";
416 };
416 };
417 meta = {
417 meta = {
418 license = [ pkgs.lib.licenses.mit ];
418 license = [ pkgs.lib.licenses.mit ];
419 };
419 };
420 };
420 };
421 beautifulsoup4 = super.buildPythonPackage {
421 beautifulsoup4 = super.buildPythonPackage {
422 name = "beautifulsoup4-4.6.0";
422 name = "beautifulsoup4-4.6.0";
423 buildInputs = with self; [];
423 buildInputs = with self; [];
424 doCheck = false;
424 doCheck = false;
425 propagatedBuildInputs = with self; [];
425 propagatedBuildInputs = with self; [];
426 src = fetchurl {
426 src = fetchurl {
427 url = "https://pypi.python.org/packages/fa/8d/1d14391fdaed5abada4e0f63543fef49b8331a34ca60c88bd521bcf7f782/beautifulsoup4-4.6.0.tar.gz";
427 url = "https://pypi.python.org/packages/fa/8d/1d14391fdaed5abada4e0f63543fef49b8331a34ca60c88bd521bcf7f782/beautifulsoup4-4.6.0.tar.gz";
428 md5 = "c17714d0f91a23b708a592cb3c697728";
428 md5 = "c17714d0f91a23b708a592cb3c697728";
429 };
429 };
430 meta = {
430 meta = {
431 license = [ pkgs.lib.licenses.mit ];
431 license = [ pkgs.lib.licenses.mit ];
432 };
432 };
433 };
433 };
434 bleach = super.buildPythonPackage {
434 bleach = super.buildPythonPackage {
435 name = "bleach-1.5.0";
435 name = "bleach-1.5.0";
436 buildInputs = with self; [];
436 buildInputs = with self; [];
437 doCheck = false;
437 doCheck = false;
438 propagatedBuildInputs = with self; [six html5lib];
438 propagatedBuildInputs = with self; [six html5lib];
439 src = fetchurl {
439 src = fetchurl {
440 url = "https://pypi.python.org/packages/99/00/25a8fce4de102bf6e3cc76bc4ea60685b2fee33bde1b34830c70cacc26a7/bleach-1.5.0.tar.gz";
440 url = "https://pypi.python.org/packages/99/00/25a8fce4de102bf6e3cc76bc4ea60685b2fee33bde1b34830c70cacc26a7/bleach-1.5.0.tar.gz";
441 md5 = "b663300efdf421b3b727b19d7be9c7e7";
441 md5 = "b663300efdf421b3b727b19d7be9c7e7";
442 };
442 };
443 meta = {
443 meta = {
444 license = [ pkgs.lib.licenses.asl20 ];
444 license = [ pkgs.lib.licenses.asl20 ];
445 };
445 };
446 };
446 };
447 bottle = super.buildPythonPackage {
447 bottle = super.buildPythonPackage {
448 name = "bottle-0.12.8";
448 name = "bottle-0.12.8";
449 buildInputs = with self; [];
449 buildInputs = with self; [];
450 doCheck = false;
450 doCheck = false;
451 propagatedBuildInputs = with self; [];
451 propagatedBuildInputs = with self; [];
452 src = fetchurl {
452 src = fetchurl {
453 url = "https://pypi.python.org/packages/52/df/e4a408f3a7af396d186d4ecd3b389dd764f0f943b4fa8d257bfe7b49d343/bottle-0.12.8.tar.gz";
453 url = "https://pypi.python.org/packages/52/df/e4a408f3a7af396d186d4ecd3b389dd764f0f943b4fa8d257bfe7b49d343/bottle-0.12.8.tar.gz";
454 md5 = "13132c0a8f607bf860810a6ee9064c5b";
454 md5 = "13132c0a8f607bf860810a6ee9064c5b";
455 };
455 };
456 meta = {
456 meta = {
457 license = [ pkgs.lib.licenses.mit ];
457 license = [ pkgs.lib.licenses.mit ];
458 };
458 };
459 };
459 };
460 bumpversion = super.buildPythonPackage {
460 bumpversion = super.buildPythonPackage {
461 name = "bumpversion-0.5.3";
461 name = "bumpversion-0.5.3";
462 buildInputs = with self; [];
462 buildInputs = with self; [];
463 doCheck = false;
463 doCheck = false;
464 propagatedBuildInputs = with self; [];
464 propagatedBuildInputs = with self; [];
465 src = fetchurl {
465 src = fetchurl {
466 url = "https://pypi.python.org/packages/14/41/8c9da3549f8e00c84f0432c3a8cf8ed6898374714676aab91501d48760db/bumpversion-0.5.3.tar.gz";
466 url = "https://pypi.python.org/packages/14/41/8c9da3549f8e00c84f0432c3a8cf8ed6898374714676aab91501d48760db/bumpversion-0.5.3.tar.gz";
467 md5 = "c66a3492eafcf5ad4b024be9fca29820";
467 md5 = "c66a3492eafcf5ad4b024be9fca29820";
468 };
468 };
469 meta = {
469 meta = {
470 license = [ pkgs.lib.licenses.mit ];
470 license = [ pkgs.lib.licenses.mit ];
471 };
471 };
472 };
472 };
473 celery = super.buildPythonPackage {
473 celery = super.buildPythonPackage {
474 name = "celery-2.2.10";
474 name = "celery-2.2.10";
475 buildInputs = with self; [];
475 buildInputs = with self; [];
476 doCheck = false;
476 doCheck = false;
477 propagatedBuildInputs = with self; [python-dateutil anyjson kombu pyparsing];
477 propagatedBuildInputs = with self; [python-dateutil anyjson kombu pyparsing];
478 src = fetchurl {
478 src = fetchurl {
479 url = "https://pypi.python.org/packages/b1/64/860fd50e45844c83442e7953effcddeff66b2851d90b2d784f7201c111b8/celery-2.2.10.tar.gz";
479 url = "https://pypi.python.org/packages/b1/64/860fd50e45844c83442e7953effcddeff66b2851d90b2d784f7201c111b8/celery-2.2.10.tar.gz";
480 md5 = "898bc87e54f278055b561316ba73e222";
480 md5 = "898bc87e54f278055b561316ba73e222";
481 };
481 };
482 meta = {
482 meta = {
483 license = [ pkgs.lib.licenses.bsdOriginal ];
483 license = [ pkgs.lib.licenses.bsdOriginal ];
484 };
484 };
485 };
485 };
486 channelstream = super.buildPythonPackage {
486 channelstream = super.buildPythonPackage {
487 name = "channelstream-0.5.2";
487 name = "channelstream-0.5.2";
488 buildInputs = with self; [];
488 buildInputs = with self; [];
489 doCheck = false;
489 doCheck = false;
490 propagatedBuildInputs = with self; [gevent ws4py pyramid pyramid-jinja2 itsdangerous requests six];
490 propagatedBuildInputs = with self; [gevent ws4py pyramid pyramid-jinja2 itsdangerous requests six];
491 src = fetchurl {
491 src = fetchurl {
492 url = "https://pypi.python.org/packages/2b/31/29a8e085cf5bf97fa88e7b947adabfc581a18a3463adf77fb6dada34a65f/channelstream-0.5.2.tar.gz";
492 url = "https://pypi.python.org/packages/2b/31/29a8e085cf5bf97fa88e7b947adabfc581a18a3463adf77fb6dada34a65f/channelstream-0.5.2.tar.gz";
493 md5 = "1c5eb2a8a405be6f1073da94da6d81d3";
493 md5 = "1c5eb2a8a405be6f1073da94da6d81d3";
494 };
494 };
495 meta = {
495 meta = {
496 license = [ pkgs.lib.licenses.bsdOriginal ];
496 license = [ pkgs.lib.licenses.bsdOriginal ];
497 };
497 };
498 };
498 };
499 click = super.buildPythonPackage {
499 click = super.buildPythonPackage {
500 name = "click-5.1";
500 name = "click-5.1";
501 buildInputs = with self; [];
501 buildInputs = with self; [];
502 doCheck = false;
502 doCheck = false;
503 propagatedBuildInputs = with self; [];
503 propagatedBuildInputs = with self; [];
504 src = fetchurl {
504 src = fetchurl {
505 url = "https://pypi.python.org/packages/b7/34/a496632c4fb6c1ee76efedf77bb8d28b29363d839953d95095b12defe791/click-5.1.tar.gz";
505 url = "https://pypi.python.org/packages/b7/34/a496632c4fb6c1ee76efedf77bb8d28b29363d839953d95095b12defe791/click-5.1.tar.gz";
506 md5 = "9c5323008cccfe232a8b161fc8196d41";
506 md5 = "9c5323008cccfe232a8b161fc8196d41";
507 };
507 };
508 meta = {
508 meta = {
509 license = [ pkgs.lib.licenses.bsdOriginal ];
509 license = [ pkgs.lib.licenses.bsdOriginal ];
510 };
510 };
511 };
511 };
512 colander = super.buildPythonPackage {
512 colander = super.buildPythonPackage {
513 name = "colander-1.3.3";
513 name = "colander-1.3.3";
514 buildInputs = with self; [];
514 buildInputs = with self; [];
515 doCheck = false;
515 doCheck = false;
516 propagatedBuildInputs = with self; [translationstring iso8601];
516 propagatedBuildInputs = with self; [translationstring iso8601];
517 src = fetchurl {
517 src = fetchurl {
518 url = "https://pypi.python.org/packages/54/a9/9862a561e015b2c7b56404c0b13828a8bdc51e05ab3703bd792cec064487/colander-1.3.3.tar.gz";
518 url = "https://pypi.python.org/packages/54/a9/9862a561e015b2c7b56404c0b13828a8bdc51e05ab3703bd792cec064487/colander-1.3.3.tar.gz";
519 md5 = "f5d783768c51d73695f49bbe95778ab4";
519 md5 = "f5d783768c51d73695f49bbe95778ab4";
520 };
520 };
521 meta = {
521 meta = {
522 license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
522 license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
523 };
523 };
524 };
524 };
525 configobj = super.buildPythonPackage {
525 configobj = super.buildPythonPackage {
526 name = "configobj-5.0.6";
526 name = "configobj-5.0.6";
527 buildInputs = with self; [];
527 buildInputs = with self; [];
528 doCheck = false;
528 doCheck = false;
529 propagatedBuildInputs = with self; [six];
529 propagatedBuildInputs = with self; [six];
530 src = fetchurl {
530 src = fetchurl {
531 url = "https://pypi.python.org/packages/64/61/079eb60459c44929e684fa7d9e2fdca403f67d64dd9dbac27296be2e0fab/configobj-5.0.6.tar.gz";
531 url = "https://pypi.python.org/packages/64/61/079eb60459c44929e684fa7d9e2fdca403f67d64dd9dbac27296be2e0fab/configobj-5.0.6.tar.gz";
532 md5 = "e472a3a1c2a67bb0ec9b5d54c13a47d6";
532 md5 = "e472a3a1c2a67bb0ec9b5d54c13a47d6";
533 };
533 };
534 meta = {
534 meta = {
535 license = [ pkgs.lib.licenses.bsdOriginal ];
535 license = [ pkgs.lib.licenses.bsdOriginal ];
536 };
536 };
537 };
537 };
538 configparser = super.buildPythonPackage {
538 configparser = super.buildPythonPackage {
539 name = "configparser-3.5.0";
539 name = "configparser-3.5.0";
540 buildInputs = with self; [];
540 buildInputs = with self; [];
541 doCheck = false;
541 doCheck = false;
542 propagatedBuildInputs = with self; [];
542 propagatedBuildInputs = with self; [];
543 src = fetchurl {
543 src = fetchurl {
544 url = "https://pypi.python.org/packages/7c/69/c2ce7e91c89dc073eb1aa74c0621c3eefbffe8216b3f9af9d3885265c01c/configparser-3.5.0.tar.gz";
544 url = "https://pypi.python.org/packages/7c/69/c2ce7e91c89dc073eb1aa74c0621c3eefbffe8216b3f9af9d3885265c01c/configparser-3.5.0.tar.gz";
545 md5 = "cfdd915a5b7a6c09917a64a573140538";
545 md5 = "cfdd915a5b7a6c09917a64a573140538";
546 };
546 };
547 meta = {
547 meta = {
548 license = [ pkgs.lib.licenses.mit ];
548 license = [ pkgs.lib.licenses.mit ];
549 };
549 };
550 };
550 };
551 cov-core = super.buildPythonPackage {
551 cov-core = super.buildPythonPackage {
552 name = "cov-core-1.15.0";
552 name = "cov-core-1.15.0";
553 buildInputs = with self; [];
553 buildInputs = with self; [];
554 doCheck = false;
554 doCheck = false;
555 propagatedBuildInputs = with self; [coverage];
555 propagatedBuildInputs = with self; [coverage];
556 src = fetchurl {
556 src = fetchurl {
557 url = "https://pypi.python.org/packages/4b/87/13e75a47b4ba1be06f29f6d807ca99638bedc6b57fa491cd3de891ca2923/cov-core-1.15.0.tar.gz";
557 url = "https://pypi.python.org/packages/4b/87/13e75a47b4ba1be06f29f6d807ca99638bedc6b57fa491cd3de891ca2923/cov-core-1.15.0.tar.gz";
558 md5 = "f519d4cb4c4e52856afb14af52919fe6";
558 md5 = "f519d4cb4c4e52856afb14af52919fe6";
559 };
559 };
560 meta = {
560 meta = {
561 license = [ pkgs.lib.licenses.mit ];
561 license = [ pkgs.lib.licenses.mit ];
562 };
562 };
563 };
563 };
564 coverage = super.buildPythonPackage {
564 coverage = super.buildPythonPackage {
565 name = "coverage-3.7.1";
565 name = "coverage-3.7.1";
566 buildInputs = with self; [];
566 buildInputs = with self; [];
567 doCheck = false;
567 doCheck = false;
568 propagatedBuildInputs = with self; [];
568 propagatedBuildInputs = with self; [];
569 src = fetchurl {
569 src = fetchurl {
570 url = "https://pypi.python.org/packages/09/4f/89b06c7fdc09687bca507dc411c342556ef9c5a3b26756137a4878ff19bf/coverage-3.7.1.tar.gz";
570 url = "https://pypi.python.org/packages/09/4f/89b06c7fdc09687bca507dc411c342556ef9c5a3b26756137a4878ff19bf/coverage-3.7.1.tar.gz";
571 md5 = "c47b36ceb17eaff3ecfab3bcd347d0df";
571 md5 = "c47b36ceb17eaff3ecfab3bcd347d0df";
572 };
572 };
573 meta = {
573 meta = {
574 license = [ pkgs.lib.licenses.bsdOriginal ];
574 license = [ pkgs.lib.licenses.bsdOriginal ];
575 };
575 };
576 };
576 };
577 cssselect = super.buildPythonPackage {
577 cssselect = super.buildPythonPackage {
578 name = "cssselect-1.0.1";
578 name = "cssselect-1.0.1";
579 buildInputs = with self; [];
579 buildInputs = with self; [];
580 doCheck = false;
580 doCheck = false;
581 propagatedBuildInputs = with self; [];
581 propagatedBuildInputs = with self; [];
582 src = fetchurl {
582 src = fetchurl {
583 url = "https://pypi.python.org/packages/77/ff/9c865275cd19290feba56344eba570e719efb7ca5b34d67ed12b22ebbb0d/cssselect-1.0.1.tar.gz";
583 url = "https://pypi.python.org/packages/77/ff/9c865275cd19290feba56344eba570e719efb7ca5b34d67ed12b22ebbb0d/cssselect-1.0.1.tar.gz";
584 md5 = "3fa03bf82a9f0b1223c0f1eb1369e139";
584 md5 = "3fa03bf82a9f0b1223c0f1eb1369e139";
585 };
585 };
586 meta = {
586 meta = {
587 license = [ pkgs.lib.licenses.bsdOriginal ];
587 license = [ pkgs.lib.licenses.bsdOriginal ];
588 };
588 };
589 };
589 };
590 decorator = super.buildPythonPackage {
590 decorator = super.buildPythonPackage {
591 name = "decorator-4.0.11";
591 name = "decorator-4.0.11";
592 buildInputs = with self; [];
592 buildInputs = with self; [];
593 doCheck = false;
593 doCheck = false;
594 propagatedBuildInputs = with self; [];
594 propagatedBuildInputs = with self; [];
595 src = fetchurl {
595 src = fetchurl {
596 url = "https://pypi.python.org/packages/cc/ac/5a16f1fc0506ff72fcc8fd4e858e3a1c231f224ab79bb7c4c9b2094cc570/decorator-4.0.11.tar.gz";
596 url = "https://pypi.python.org/packages/cc/ac/5a16f1fc0506ff72fcc8fd4e858e3a1c231f224ab79bb7c4c9b2094cc570/decorator-4.0.11.tar.gz";
597 md5 = "73644c8f0bd4983d1b6a34b49adec0ae";
597 md5 = "73644c8f0bd4983d1b6a34b49adec0ae";
598 };
598 };
599 meta = {
599 meta = {
600 license = [ pkgs.lib.licenses.bsdOriginal { fullName = "new BSD License"; } ];
600 license = [ pkgs.lib.licenses.bsdOriginal { fullName = "new BSD License"; } ];
601 };
601 };
602 };
602 };
603 deform = super.buildPythonPackage {
603 deform = super.buildPythonPackage {
604 name = "deform-2.0.4";
604 name = "deform-2.0.4";
605 buildInputs = with self; [];
605 buildInputs = with self; [];
606 doCheck = false;
606 doCheck = false;
607 propagatedBuildInputs = with self; [Chameleon colander iso8601 peppercorn translationstring zope.deprecation];
607 propagatedBuildInputs = with self; [Chameleon colander iso8601 peppercorn translationstring zope.deprecation];
608 src = fetchurl {
608 src = fetchurl {
609 url = "https://pypi.python.org/packages/66/3b/eefcb07abcab7a97f6665aa2d0cf1af741d9d6e78a2e4657fd2b89f89880/deform-2.0.4.tar.gz";
609 url = "https://pypi.python.org/packages/66/3b/eefcb07abcab7a97f6665aa2d0cf1af741d9d6e78a2e4657fd2b89f89880/deform-2.0.4.tar.gz";
610 md5 = "34756e42cf50dd4b4430809116c4ec0a";
610 md5 = "34756e42cf50dd4b4430809116c4ec0a";
611 };
611 };
612 meta = {
612 meta = {
613 license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
613 license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
614 };
614 };
615 };
615 };
616 docutils = super.buildPythonPackage {
616 docutils = super.buildPythonPackage {
617 name = "docutils-0.13.1";
617 name = "docutils-0.13.1";
618 buildInputs = with self; [];
618 buildInputs = with self; [];
619 doCheck = false;
619 doCheck = false;
620 propagatedBuildInputs = with self; [];
620 propagatedBuildInputs = with self; [];
621 src = fetchurl {
621 src = fetchurl {
622 url = "https://pypi.python.org/packages/05/25/7b5484aca5d46915493f1fd4ecb63c38c333bd32aa9ad6e19da8d08895ae/docutils-0.13.1.tar.gz";
622 url = "https://pypi.python.org/packages/05/25/7b5484aca5d46915493f1fd4ecb63c38c333bd32aa9ad6e19da8d08895ae/docutils-0.13.1.tar.gz";
623 md5 = "ea4a893c633c788be9b8078b6b305d53";
623 md5 = "ea4a893c633c788be9b8078b6b305d53";
624 };
624 };
625 meta = {
625 meta = {
626 license = [ pkgs.lib.licenses.bsdOriginal pkgs.lib.licenses.publicDomain pkgs.lib.licenses.gpl1 { fullName = "public domain, Python, 2-Clause BSD, GPL 3 (see COPYING.txt)"; } pkgs.lib.licenses.psfl ];
626 license = [ pkgs.lib.licenses.bsdOriginal pkgs.lib.licenses.publicDomain pkgs.lib.licenses.gpl1 { fullName = "public domain, Python, 2-Clause BSD, GPL 3 (see COPYING.txt)"; } pkgs.lib.licenses.psfl ];
627 };
627 };
628 };
628 };
629 dogpile.cache = super.buildPythonPackage {
629 dogpile.cache = super.buildPythonPackage {
630 name = "dogpile.cache-0.6.4";
630 name = "dogpile.cache-0.6.4";
631 buildInputs = with self; [];
631 buildInputs = with self; [];
632 doCheck = false;
632 doCheck = false;
633 propagatedBuildInputs = with self; [];
633 propagatedBuildInputs = with self; [];
634 src = fetchurl {
634 src = fetchurl {
635 url = "https://pypi.python.org/packages/b6/3d/35c05ca01c070bb70d9d422f2c4858ecb021b05b21af438fec5ccd7b945c/dogpile.cache-0.6.4.tar.gz";
635 url = "https://pypi.python.org/packages/b6/3d/35c05ca01c070bb70d9d422f2c4858ecb021b05b21af438fec5ccd7b945c/dogpile.cache-0.6.4.tar.gz";
636 md5 = "66e0a6cae6c08cb1ea25f89d0eadfeb0";
636 md5 = "66e0a6cae6c08cb1ea25f89d0eadfeb0";
637 };
637 };
638 meta = {
638 meta = {
639 license = [ pkgs.lib.licenses.bsdOriginal ];
639 license = [ pkgs.lib.licenses.bsdOriginal ];
640 };
640 };
641 };
641 };
642 dogpile.core = super.buildPythonPackage {
642 dogpile.core = super.buildPythonPackage {
643 name = "dogpile.core-0.4.1";
643 name = "dogpile.core-0.4.1";
644 buildInputs = with self; [];
644 buildInputs = with self; [];
645 doCheck = false;
645 doCheck = false;
646 propagatedBuildInputs = with self; [];
646 propagatedBuildInputs = with self; [];
647 src = fetchurl {
647 src = fetchurl {
648 url = "https://pypi.python.org/packages/0e/77/e72abc04c22aedf874301861e5c1e761231c288b5de369c18be8f4b5c9bb/dogpile.core-0.4.1.tar.gz";
648 url = "https://pypi.python.org/packages/0e/77/e72abc04c22aedf874301861e5c1e761231c288b5de369c18be8f4b5c9bb/dogpile.core-0.4.1.tar.gz";
649 md5 = "01cb19f52bba3e95c9b560f39341f045";
649 md5 = "01cb19f52bba3e95c9b560f39341f045";
650 };
650 };
651 meta = {
651 meta = {
652 license = [ pkgs.lib.licenses.bsdOriginal ];
652 license = [ pkgs.lib.licenses.bsdOriginal ];
653 };
653 };
654 };
654 };
655 ecdsa = super.buildPythonPackage {
655 ecdsa = super.buildPythonPackage {
656 name = "ecdsa-0.11";
656 name = "ecdsa-0.13";
657 buildInputs = with self; [];
657 buildInputs = with self; [];
658 doCheck = false;
658 doCheck = false;
659 propagatedBuildInputs = with self; [];
659 propagatedBuildInputs = with self; [];
660 src = fetchurl {
660 src = fetchurl {
661 url = "https://pypi.python.org/packages/6c/3f/92fe5dcdcaa7bd117be21e5520c9a54375112b66ec000d209e9e9519fad1/ecdsa-0.11.tar.gz";
661 url = "https://pypi.python.org/packages/f9/e5/99ebb176e47f150ac115ffeda5fedb6a3dbb3c00c74a59fd84ddf12f5857/ecdsa-0.13.tar.gz";
662 md5 = "8ef586fe4dbb156697d756900cb41d7c";
662 md5 = "1f60eda9cb5c46722856db41a3ae6670";
663 };
663 };
664 meta = {
664 meta = {
665 license = [ pkgs.lib.licenses.mit ];
665 license = [ pkgs.lib.licenses.mit ];
666 };
666 };
667 };
667 };
668 elasticsearch = super.buildPythonPackage {
668 elasticsearch = super.buildPythonPackage {
669 name = "elasticsearch-2.3.0";
669 name = "elasticsearch-2.3.0";
670 buildInputs = with self; [];
670 buildInputs = with self; [];
671 doCheck = false;
671 doCheck = false;
672 propagatedBuildInputs = with self; [urllib3];
672 propagatedBuildInputs = with self; [urllib3];
673 src = fetchurl {
673 src = fetchurl {
674 url = "https://pypi.python.org/packages/10/35/5fd52c5f0b0ee405ed4b5195e8bce44c5e041787680dc7b94b8071cac600/elasticsearch-2.3.0.tar.gz";
674 url = "https://pypi.python.org/packages/10/35/5fd52c5f0b0ee405ed4b5195e8bce44c5e041787680dc7b94b8071cac600/elasticsearch-2.3.0.tar.gz";
675 md5 = "2550f3b51629cf1ef9636608af92c340";
675 md5 = "2550f3b51629cf1ef9636608af92c340";
676 };
676 };
677 meta = {
677 meta = {
678 license = [ pkgs.lib.licenses.asl20 ];
678 license = [ pkgs.lib.licenses.asl20 ];
679 };
679 };
680 };
680 };
681 elasticsearch-dsl = super.buildPythonPackage {
681 elasticsearch-dsl = super.buildPythonPackage {
682 name = "elasticsearch-dsl-2.2.0";
682 name = "elasticsearch-dsl-2.2.0";
683 buildInputs = with self; [];
683 buildInputs = with self; [];
684 doCheck = false;
684 doCheck = false;
685 propagatedBuildInputs = with self; [six python-dateutil elasticsearch];
685 propagatedBuildInputs = with self; [six python-dateutil elasticsearch];
686 src = fetchurl {
686 src = fetchurl {
687 url = "https://pypi.python.org/packages/66/2f/52a086968788e58461641570f45c3207a52d46ebbe9b77dc22b6a8ffda66/elasticsearch-dsl-2.2.0.tar.gz";
687 url = "https://pypi.python.org/packages/66/2f/52a086968788e58461641570f45c3207a52d46ebbe9b77dc22b6a8ffda66/elasticsearch-dsl-2.2.0.tar.gz";
688 md5 = "fa6bd3c87ea3caa8f0f051bc37c53221";
688 md5 = "fa6bd3c87ea3caa8f0f051bc37c53221";
689 };
689 };
690 meta = {
690 meta = {
691 license = [ pkgs.lib.licenses.asl20 ];
691 license = [ pkgs.lib.licenses.asl20 ];
692 };
692 };
693 };
693 };
694 entrypoints = super.buildPythonPackage {
694 entrypoints = super.buildPythonPackage {
695 name = "entrypoints-0.2.2";
695 name = "entrypoints-0.2.2";
696 buildInputs = with self; [];
696 buildInputs = with self; [];
697 doCheck = false;
697 doCheck = false;
698 propagatedBuildInputs = with self; [configparser];
698 propagatedBuildInputs = with self; [configparser];
699 src = fetchurl {
699 src = fetchurl {
700 url = "https://code.rhodecode.com/upstream/entrypoints/archive/96e6d645684e1af3d7df5b5272f3fe85a546b233.tar.gz?md5=7db37771aea9ac9fefe093e5d6987313";
700 url = "https://code.rhodecode.com/upstream/entrypoints/archive/96e6d645684e1af3d7df5b5272f3fe85a546b233.tar.gz?md5=7db37771aea9ac9fefe093e5d6987313";
701 md5 = "7db37771aea9ac9fefe093e5d6987313";
701 md5 = "7db37771aea9ac9fefe093e5d6987313";
702 };
702 };
703 meta = {
703 meta = {
704 license = [ pkgs.lib.licenses.mit ];
704 license = [ pkgs.lib.licenses.mit ];
705 };
705 };
706 };
706 };
707 enum34 = super.buildPythonPackage {
707 enum34 = super.buildPythonPackage {
708 name = "enum34-1.1.6";
708 name = "enum34-1.1.6";
709 buildInputs = with self; [];
709 buildInputs = with self; [];
710 doCheck = false;
710 doCheck = false;
711 propagatedBuildInputs = with self; [];
711 propagatedBuildInputs = with self; [];
712 src = fetchurl {
712 src = fetchurl {
713 url = "https://pypi.python.org/packages/bf/3e/31d502c25302814a7c2f1d3959d2a3b3f78e509002ba91aea64993936876/enum34-1.1.6.tar.gz";
713 url = "https://pypi.python.org/packages/bf/3e/31d502c25302814a7c2f1d3959d2a3b3f78e509002ba91aea64993936876/enum34-1.1.6.tar.gz";
714 md5 = "5f13a0841a61f7fc295c514490d120d0";
714 md5 = "5f13a0841a61f7fc295c514490d120d0";
715 };
715 };
716 meta = {
716 meta = {
717 license = [ pkgs.lib.licenses.bsdOriginal ];
717 license = [ pkgs.lib.licenses.bsdOriginal ];
718 };
718 };
719 };
719 };
720 funcsigs = super.buildPythonPackage {
720 funcsigs = super.buildPythonPackage {
721 name = "funcsigs-1.0.2";
721 name = "funcsigs-1.0.2";
722 buildInputs = with self; [];
722 buildInputs = with self; [];
723 doCheck = false;
723 doCheck = false;
724 propagatedBuildInputs = with self; [];
724 propagatedBuildInputs = with self; [];
725 src = fetchurl {
725 src = fetchurl {
726 url = "https://pypi.python.org/packages/94/4a/db842e7a0545de1cdb0439bb80e6e42dfe82aaeaadd4072f2263a4fbed23/funcsigs-1.0.2.tar.gz";
726 url = "https://pypi.python.org/packages/94/4a/db842e7a0545de1cdb0439bb80e6e42dfe82aaeaadd4072f2263a4fbed23/funcsigs-1.0.2.tar.gz";
727 md5 = "7e583285b1fb8a76305d6d68f4ccc14e";
727 md5 = "7e583285b1fb8a76305d6d68f4ccc14e";
728 };
728 };
729 meta = {
729 meta = {
730 license = [ { fullName = "ASL"; } pkgs.lib.licenses.asl20 ];
730 license = [ { fullName = "ASL"; } pkgs.lib.licenses.asl20 ];
731 };
731 };
732 };
732 };
733 functools32 = super.buildPythonPackage {
733 functools32 = super.buildPythonPackage {
734 name = "functools32-3.2.3.post2";
734 name = "functools32-3.2.3.post2";
735 buildInputs = with self; [];
735 buildInputs = with self; [];
736 doCheck = false;
736 doCheck = false;
737 propagatedBuildInputs = with self; [];
737 propagatedBuildInputs = with self; [];
738 src = fetchurl {
738 src = fetchurl {
739 url = "https://pypi.python.org/packages/5e/1a/0aa2c8195a204a9f51284018562dea77e25511f02fe924fac202fc012172/functools32-3.2.3-2.zip";
739 url = "https://pypi.python.org/packages/5e/1a/0aa2c8195a204a9f51284018562dea77e25511f02fe924fac202fc012172/functools32-3.2.3-2.zip";
740 md5 = "d55232eb132ec779e6893c902a0bc5ad";
740 md5 = "d55232eb132ec779e6893c902a0bc5ad";
741 };
741 };
742 meta = {
742 meta = {
743 license = [ pkgs.lib.licenses.psfl ];
743 license = [ pkgs.lib.licenses.psfl ];
744 };
744 };
745 };
745 };
746 future = super.buildPythonPackage {
746 future = super.buildPythonPackage {
747 name = "future-0.14.3";
747 name = "future-0.14.3";
748 buildInputs = with self; [];
748 buildInputs = with self; [];
749 doCheck = false;
749 doCheck = false;
750 propagatedBuildInputs = with self; [];
750 propagatedBuildInputs = with self; [];
751 src = fetchurl {
751 src = fetchurl {
752 url = "https://pypi.python.org/packages/83/80/8ef3a11a15f8eaafafa0937b20c1b3f73527e69ab6b3fa1cf94a5a96aabb/future-0.14.3.tar.gz";
752 url = "https://pypi.python.org/packages/83/80/8ef3a11a15f8eaafafa0937b20c1b3f73527e69ab6b3fa1cf94a5a96aabb/future-0.14.3.tar.gz";
753 md5 = "e94079b0bd1fc054929e8769fc0f6083";
753 md5 = "e94079b0bd1fc054929e8769fc0f6083";
754 };
754 };
755 meta = {
755 meta = {
756 license = [ { fullName = "OSI Approved"; } pkgs.lib.licenses.mit ];
756 license = [ { fullName = "OSI Approved"; } pkgs.lib.licenses.mit ];
757 };
757 };
758 };
758 };
759 futures = super.buildPythonPackage {
759 futures = super.buildPythonPackage {
760 name = "futures-3.0.2";
760 name = "futures-3.0.2";
761 buildInputs = with self; [];
761 buildInputs = with self; [];
762 doCheck = false;
762 doCheck = false;
763 propagatedBuildInputs = with self; [];
763 propagatedBuildInputs = with self; [];
764 src = fetchurl {
764 src = fetchurl {
765 url = "https://pypi.python.org/packages/f8/e7/fc0fcbeb9193ba2d4de00b065e7fd5aecd0679e93ce95a07322b2b1434f4/futures-3.0.2.tar.gz";
765 url = "https://pypi.python.org/packages/f8/e7/fc0fcbeb9193ba2d4de00b065e7fd5aecd0679e93ce95a07322b2b1434f4/futures-3.0.2.tar.gz";
766 md5 = "42aaf1e4de48d6e871d77dc1f9d96d5a";
766 md5 = "42aaf1e4de48d6e871d77dc1f9d96d5a";
767 };
767 };
768 meta = {
768 meta = {
769 license = [ pkgs.lib.licenses.bsdOriginal ];
769 license = [ pkgs.lib.licenses.bsdOriginal ];
770 };
770 };
771 };
771 };
772 gevent = super.buildPythonPackage {
772 gevent = super.buildPythonPackage {
773 name = "gevent-1.2.2";
773 name = "gevent-1.2.2";
774 buildInputs = with self; [];
774 buildInputs = with self; [];
775 doCheck = false;
775 doCheck = false;
776 propagatedBuildInputs = with self; [greenlet];
776 propagatedBuildInputs = with self; [greenlet];
777 src = fetchurl {
777 src = fetchurl {
778 url = "https://pypi.python.org/packages/1b/92/b111f76e54d2be11375b47b213b56687214f258fd9dae703546d30b837be/gevent-1.2.2.tar.gz";
778 url = "https://pypi.python.org/packages/1b/92/b111f76e54d2be11375b47b213b56687214f258fd9dae703546d30b837be/gevent-1.2.2.tar.gz";
779 md5 = "7f0baf355384fe5ff2ecf66853422554";
779 md5 = "7f0baf355384fe5ff2ecf66853422554";
780 };
780 };
781 meta = {
781 meta = {
782 license = [ pkgs.lib.licenses.mit ];
782 license = [ pkgs.lib.licenses.mit ];
783 };
783 };
784 };
784 };
785 gnureadline = super.buildPythonPackage {
785 gnureadline = super.buildPythonPackage {
786 name = "gnureadline-6.3.3";
786 name = "gnureadline-6.3.3";
787 buildInputs = with self; [];
787 buildInputs = with self; [];
788 doCheck = false;
788 doCheck = false;
789 propagatedBuildInputs = with self; [];
789 propagatedBuildInputs = with self; [];
790 src = fetchurl {
790 src = fetchurl {
791 url = "https://pypi.python.org/packages/3a/ee/2c3f568b0a74974791ac590ec742ef6133e2fbd287a074ba72a53fa5e97c/gnureadline-6.3.3.tar.gz";
791 url = "https://pypi.python.org/packages/3a/ee/2c3f568b0a74974791ac590ec742ef6133e2fbd287a074ba72a53fa5e97c/gnureadline-6.3.3.tar.gz";
792 md5 = "c4af83c9a3fbeac8f2da9b5a7c60e51c";
792 md5 = "c4af83c9a3fbeac8f2da9b5a7c60e51c";
793 };
793 };
794 meta = {
794 meta = {
795 license = [ pkgs.lib.licenses.gpl1 ];
795 license = [ pkgs.lib.licenses.gpl1 ];
796 };
796 };
797 };
797 };
798 gprof2dot = super.buildPythonPackage {
798 gprof2dot = super.buildPythonPackage {
799 name = "gprof2dot-2016.10.13";
799 name = "gprof2dot-2016.10.13";
800 buildInputs = with self; [];
800 buildInputs = with self; [];
801 doCheck = false;
801 doCheck = false;
802 propagatedBuildInputs = with self; [];
802 propagatedBuildInputs = with self; [];
803 src = fetchurl {
803 src = fetchurl {
804 url = "https://pypi.python.org/packages/a0/e0/73c71baed306f0402a00a94ffc7b2be94ad1296dfcb8b46912655b93154c/gprof2dot-2016.10.13.tar.gz";
804 url = "https://pypi.python.org/packages/a0/e0/73c71baed306f0402a00a94ffc7b2be94ad1296dfcb8b46912655b93154c/gprof2dot-2016.10.13.tar.gz";
805 md5 = "0125401f15fd2afe1df686a76c64a4fd";
805 md5 = "0125401f15fd2afe1df686a76c64a4fd";
806 };
806 };
807 meta = {
807 meta = {
808 license = [ { fullName = "LGPL"; } ];
808 license = [ { fullName = "LGPL"; } ];
809 };
809 };
810 };
810 };
811 graphviz = super.buildPythonPackage {
811 graphviz = super.buildPythonPackage {
812 name = "graphviz-0.8";
812 name = "graphviz-0.8";
813 buildInputs = with self; [];
813 buildInputs = with self; [];
814 doCheck = false;
814 doCheck = false;
815 propagatedBuildInputs = with self; [];
815 propagatedBuildInputs = with self; [];
816 src = fetchurl {
816 src = fetchurl {
817 url = "https://pypi.python.org/packages/da/84/0e997520323d6b01124eb01c68d5c101814d0aab53083cd62bd75a90f70b/graphviz-0.8.zip";
817 url = "https://pypi.python.org/packages/da/84/0e997520323d6b01124eb01c68d5c101814d0aab53083cd62bd75a90f70b/graphviz-0.8.zip";
818 md5 = "9486a885360a5ee54a81eb2950470c71";
818 md5 = "9486a885360a5ee54a81eb2950470c71";
819 };
819 };
820 meta = {
820 meta = {
821 license = [ pkgs.lib.licenses.mit ];
821 license = [ pkgs.lib.licenses.mit ];
822 };
822 };
823 };
823 };
824 greenlet = super.buildPythonPackage {
824 greenlet = super.buildPythonPackage {
825 name = "greenlet-0.4.12";
825 name = "greenlet-0.4.12";
826 buildInputs = with self; [];
826 buildInputs = with self; [];
827 doCheck = false;
827 doCheck = false;
828 propagatedBuildInputs = with self; [];
828 propagatedBuildInputs = with self; [];
829 src = fetchurl {
829 src = fetchurl {
830 url = "https://pypi.python.org/packages/be/76/82af375d98724054b7e273b5d9369346937324f9bcc20980b45b068ef0b0/greenlet-0.4.12.tar.gz";
830 url = "https://pypi.python.org/packages/be/76/82af375d98724054b7e273b5d9369346937324f9bcc20980b45b068ef0b0/greenlet-0.4.12.tar.gz";
831 md5 = "e8637647d58a26c4a1f51ca393e53c00";
831 md5 = "e8637647d58a26c4a1f51ca393e53c00";
832 };
832 };
833 meta = {
833 meta = {
834 license = [ pkgs.lib.licenses.mit ];
834 license = [ pkgs.lib.licenses.mit ];
835 };
835 };
836 };
836 };
837 gunicorn = super.buildPythonPackage {
837 gunicorn = super.buildPythonPackage {
838 name = "gunicorn-19.7.1";
838 name = "gunicorn-19.7.1";
839 buildInputs = with self; [];
839 buildInputs = with self; [];
840 doCheck = false;
840 doCheck = false;
841 propagatedBuildInputs = with self; [];
841 propagatedBuildInputs = with self; [];
842 src = fetchurl {
842 src = fetchurl {
843 url = "https://pypi.python.org/packages/30/3a/10bb213cede0cc4d13ac2263316c872a64bf4c819000c8ccd801f1d5f822/gunicorn-19.7.1.tar.gz";
843 url = "https://pypi.python.org/packages/30/3a/10bb213cede0cc4d13ac2263316c872a64bf4c819000c8ccd801f1d5f822/gunicorn-19.7.1.tar.gz";
844 md5 = "174d3c3cd670a5be0404d84c484e590c";
844 md5 = "174d3c3cd670a5be0404d84c484e590c";
845 };
845 };
846 meta = {
846 meta = {
847 license = [ pkgs.lib.licenses.mit ];
847 license = [ pkgs.lib.licenses.mit ];
848 };
848 };
849 };
849 };
850 html5lib = super.buildPythonPackage {
850 html5lib = super.buildPythonPackage {
851 name = "html5lib-0.9999999";
851 name = "html5lib-0.9999999";
852 buildInputs = with self; [];
852 buildInputs = with self; [];
853 doCheck = false;
853 doCheck = false;
854 propagatedBuildInputs = with self; [six];
854 propagatedBuildInputs = with self; [six];
855 src = fetchurl {
855 src = fetchurl {
856 url = "https://pypi.python.org/packages/ae/ae/bcb60402c60932b32dfaf19bb53870b29eda2cd17551ba5639219fb5ebf9/html5lib-0.9999999.tar.gz";
856 url = "https://pypi.python.org/packages/ae/ae/bcb60402c60932b32dfaf19bb53870b29eda2cd17551ba5639219fb5ebf9/html5lib-0.9999999.tar.gz";
857 md5 = "ef43cb05e9e799f25d65d1135838a96f";
857 md5 = "ef43cb05e9e799f25d65d1135838a96f";
858 };
858 };
859 meta = {
859 meta = {
860 license = [ pkgs.lib.licenses.mit ];
860 license = [ pkgs.lib.licenses.mit ];
861 };
861 };
862 };
862 };
863 hupper = super.buildPythonPackage {
863 hupper = super.buildPythonPackage {
864 name = "hupper-1.0";
864 name = "hupper-1.0";
865 buildInputs = with self; [];
865 buildInputs = with self; [];
866 doCheck = false;
866 doCheck = false;
867 propagatedBuildInputs = with self; [];
867 propagatedBuildInputs = with self; [];
868 src = fetchurl {
868 src = fetchurl {
869 url = "https://pypi.python.org/packages/2e/07/df892c564dc09bb3cf6f6deb976c26adf9117db75ba218cb4353dbc9d826/hupper-1.0.tar.gz";
869 url = "https://pypi.python.org/packages/2e/07/df892c564dc09bb3cf6f6deb976c26adf9117db75ba218cb4353dbc9d826/hupper-1.0.tar.gz";
870 md5 = "26e77da7d5ac5858f59af050d1a6eb5a";
870 md5 = "26e77da7d5ac5858f59af050d1a6eb5a";
871 };
871 };
872 meta = {
872 meta = {
873 license = [ pkgs.lib.licenses.mit ];
873 license = [ pkgs.lib.licenses.mit ];
874 };
874 };
875 };
875 };
876 infrae.cache = super.buildPythonPackage {
876 infrae.cache = super.buildPythonPackage {
877 name = "infrae.cache-1.0.1";
877 name = "infrae.cache-1.0.1";
878 buildInputs = with self; [];
878 buildInputs = with self; [];
879 doCheck = false;
879 doCheck = false;
880 propagatedBuildInputs = with self; [Beaker repoze.lru];
880 propagatedBuildInputs = with self; [Beaker repoze.lru];
881 src = fetchurl {
881 src = fetchurl {
882 url = "https://pypi.python.org/packages/bb/f0/e7d5e984cf6592fd2807dc7bc44a93f9d18e04e6a61f87fdfb2622422d74/infrae.cache-1.0.1.tar.gz";
882 url = "https://pypi.python.org/packages/bb/f0/e7d5e984cf6592fd2807dc7bc44a93f9d18e04e6a61f87fdfb2622422d74/infrae.cache-1.0.1.tar.gz";
883 md5 = "b09076a766747e6ed2a755cc62088e32";
883 md5 = "b09076a766747e6ed2a755cc62088e32";
884 };
884 };
885 meta = {
885 meta = {
886 license = [ pkgs.lib.licenses.zpt21 ];
886 license = [ pkgs.lib.licenses.zpt21 ];
887 };
887 };
888 };
888 };
889 invoke = super.buildPythonPackage {
889 invoke = super.buildPythonPackage {
890 name = "invoke-0.13.0";
890 name = "invoke-0.13.0";
891 buildInputs = with self; [];
891 buildInputs = with self; [];
892 doCheck = false;
892 doCheck = false;
893 propagatedBuildInputs = with self; [];
893 propagatedBuildInputs = with self; [];
894 src = fetchurl {
894 src = fetchurl {
895 url = "https://pypi.python.org/packages/47/bf/d07ef52fa1ac645468858bbac7cb95b246a972a045e821493d17d89c81be/invoke-0.13.0.tar.gz";
895 url = "https://pypi.python.org/packages/47/bf/d07ef52fa1ac645468858bbac7cb95b246a972a045e821493d17d89c81be/invoke-0.13.0.tar.gz";
896 md5 = "c0d1ed4bfb34eaab551662d8cfee6540";
896 md5 = "c0d1ed4bfb34eaab551662d8cfee6540";
897 };
897 };
898 meta = {
898 meta = {
899 license = [ pkgs.lib.licenses.bsdOriginal ];
899 license = [ pkgs.lib.licenses.bsdOriginal ];
900 };
900 };
901 };
901 };
902 ipaddress = super.buildPythonPackage {
902 ipaddress = super.buildPythonPackage {
903 name = "ipaddress-1.0.18";
903 name = "ipaddress-1.0.18";
904 buildInputs = with self; [];
904 buildInputs = with self; [];
905 doCheck = false;
905 doCheck = false;
906 propagatedBuildInputs = with self; [];
906 propagatedBuildInputs = with self; [];
907 src = fetchurl {
907 src = fetchurl {
908 url = "https://pypi.python.org/packages/4e/13/774faf38b445d0b3a844b65747175b2e0500164b7c28d78e34987a5bfe06/ipaddress-1.0.18.tar.gz";
908 url = "https://pypi.python.org/packages/4e/13/774faf38b445d0b3a844b65747175b2e0500164b7c28d78e34987a5bfe06/ipaddress-1.0.18.tar.gz";
909 md5 = "310c2dfd64eb6f0df44aa8c59f2334a7";
909 md5 = "310c2dfd64eb6f0df44aa8c59f2334a7";
910 };
910 };
911 meta = {
911 meta = {
912 license = [ pkgs.lib.licenses.psfl ];
912 license = [ pkgs.lib.licenses.psfl ];
913 };
913 };
914 };
914 };
915 ipdb = super.buildPythonPackage {
915 ipdb = super.buildPythonPackage {
916 name = "ipdb-0.10.3";
916 name = "ipdb-0.10.3";
917 buildInputs = with self; [];
917 buildInputs = with self; [];
918 doCheck = false;
918 doCheck = false;
919 propagatedBuildInputs = with self; [setuptools ipython];
919 propagatedBuildInputs = with self; [setuptools ipython];
920 src = fetchurl {
920 src = fetchurl {
921 url = "https://pypi.python.org/packages/ad/cc/0e7298e1fbf2efd52667c9354a12aa69fb6f796ce230cca03525051718ef/ipdb-0.10.3.tar.gz";
921 url = "https://pypi.python.org/packages/ad/cc/0e7298e1fbf2efd52667c9354a12aa69fb6f796ce230cca03525051718ef/ipdb-0.10.3.tar.gz";
922 md5 = "def1f6ac075d54bdee07e6501263d4fa";
922 md5 = "def1f6ac075d54bdee07e6501263d4fa";
923 };
923 };
924 meta = {
924 meta = {
925 license = [ pkgs.lib.licenses.bsdOriginal ];
925 license = [ pkgs.lib.licenses.bsdOriginal ];
926 };
926 };
927 };
927 };
928 ipython = super.buildPythonPackage {
928 ipython = super.buildPythonPackage {
929 name = "ipython-5.1.0";
929 name = "ipython-5.1.0";
930 buildInputs = with self; [];
930 buildInputs = with self; [];
931 doCheck = false;
931 doCheck = false;
932 propagatedBuildInputs = with self; [setuptools decorator pickleshare simplegeneric traitlets prompt-toolkit Pygments pexpect backports.shutil-get-terminal-size pathlib2 pexpect];
932 propagatedBuildInputs = with self; [setuptools decorator pickleshare simplegeneric traitlets prompt-toolkit Pygments pexpect backports.shutil-get-terminal-size pathlib2 pexpect];
933 src = fetchurl {
933 src = fetchurl {
934 url = "https://pypi.python.org/packages/89/63/a9292f7cd9d0090a0f995e1167f3f17d5889dcbc9a175261719c513b9848/ipython-5.1.0.tar.gz";
934 url = "https://pypi.python.org/packages/89/63/a9292f7cd9d0090a0f995e1167f3f17d5889dcbc9a175261719c513b9848/ipython-5.1.0.tar.gz";
935 md5 = "47c8122420f65b58784cb4b9b4af35e3";
935 md5 = "47c8122420f65b58784cb4b9b4af35e3";
936 };
936 };
937 meta = {
937 meta = {
938 license = [ pkgs.lib.licenses.bsdOriginal ];
938 license = [ pkgs.lib.licenses.bsdOriginal ];
939 };
939 };
940 };
940 };
941 ipython-genutils = super.buildPythonPackage {
941 ipython-genutils = super.buildPythonPackage {
942 name = "ipython-genutils-0.2.0";
942 name = "ipython-genutils-0.2.0";
943 buildInputs = with self; [];
943 buildInputs = with self; [];
944 doCheck = false;
944 doCheck = false;
945 propagatedBuildInputs = with self; [];
945 propagatedBuildInputs = with self; [];
946 src = fetchurl {
946 src = fetchurl {
947 url = "https://pypi.python.org/packages/e8/69/fbeffffc05236398ebfcfb512b6d2511c622871dca1746361006da310399/ipython_genutils-0.2.0.tar.gz";
947 url = "https://pypi.python.org/packages/e8/69/fbeffffc05236398ebfcfb512b6d2511c622871dca1746361006da310399/ipython_genutils-0.2.0.tar.gz";
948 md5 = "5a4f9781f78466da0ea1a648f3e1f79f";
948 md5 = "5a4f9781f78466da0ea1a648f3e1f79f";
949 };
949 };
950 meta = {
950 meta = {
951 license = [ pkgs.lib.licenses.bsdOriginal ];
951 license = [ pkgs.lib.licenses.bsdOriginal ];
952 };
952 };
953 };
953 };
954 iso8601 = super.buildPythonPackage {
954 iso8601 = super.buildPythonPackage {
955 name = "iso8601-0.1.11";
955 name = "iso8601-0.1.11";
956 buildInputs = with self; [];
956 buildInputs = with self; [];
957 doCheck = false;
957 doCheck = false;
958 propagatedBuildInputs = with self; [];
958 propagatedBuildInputs = with self; [];
959 src = fetchurl {
959 src = fetchurl {
960 url = "https://pypi.python.org/packages/c0/75/c9209ee4d1b5975eb8c2cba4428bde6b61bd55664a98290dd015cdb18e98/iso8601-0.1.11.tar.gz";
960 url = "https://pypi.python.org/packages/c0/75/c9209ee4d1b5975eb8c2cba4428bde6b61bd55664a98290dd015cdb18e98/iso8601-0.1.11.tar.gz";
961 md5 = "b06d11cd14a64096f907086044f0fe38";
961 md5 = "b06d11cd14a64096f907086044f0fe38";
962 };
962 };
963 meta = {
963 meta = {
964 license = [ pkgs.lib.licenses.mit ];
964 license = [ pkgs.lib.licenses.mit ];
965 };
965 };
966 };
966 };
967 itsdangerous = super.buildPythonPackage {
967 itsdangerous = super.buildPythonPackage {
968 name = "itsdangerous-0.24";
968 name = "itsdangerous-0.24";
969 buildInputs = with self; [];
969 buildInputs = with self; [];
970 doCheck = false;
970 doCheck = false;
971 propagatedBuildInputs = with self; [];
971 propagatedBuildInputs = with self; [];
972 src = fetchurl {
972 src = fetchurl {
973 url = "https://pypi.python.org/packages/dc/b4/a60bcdba945c00f6d608d8975131ab3f25b22f2bcfe1dab221165194b2d4/itsdangerous-0.24.tar.gz";
973 url = "https://pypi.python.org/packages/dc/b4/a60bcdba945c00f6d608d8975131ab3f25b22f2bcfe1dab221165194b2d4/itsdangerous-0.24.tar.gz";
974 md5 = "a3d55aa79369aef5345c036a8a26307f";
974 md5 = "a3d55aa79369aef5345c036a8a26307f";
975 };
975 };
976 meta = {
976 meta = {
977 license = [ pkgs.lib.licenses.bsdOriginal ];
977 license = [ pkgs.lib.licenses.bsdOriginal ];
978 };
978 };
979 };
979 };
980 jsonschema = super.buildPythonPackage {
980 jsonschema = super.buildPythonPackage {
981 name = "jsonschema-2.6.0";
981 name = "jsonschema-2.6.0";
982 buildInputs = with self; [];
982 buildInputs = with self; [];
983 doCheck = false;
983 doCheck = false;
984 propagatedBuildInputs = with self; [functools32];
984 propagatedBuildInputs = with self; [functools32];
985 src = fetchurl {
985 src = fetchurl {
986 url = "https://pypi.python.org/packages/58/b9/171dbb07e18c6346090a37f03c7e74410a1a56123f847efed59af260a298/jsonschema-2.6.0.tar.gz";
986 url = "https://pypi.python.org/packages/58/b9/171dbb07e18c6346090a37f03c7e74410a1a56123f847efed59af260a298/jsonschema-2.6.0.tar.gz";
987 md5 = "50c6b69a373a8b55ff1e0ec6e78f13f4";
987 md5 = "50c6b69a373a8b55ff1e0ec6e78f13f4";
988 };
988 };
989 meta = {
989 meta = {
990 license = [ pkgs.lib.licenses.mit ];
990 license = [ pkgs.lib.licenses.mit ];
991 };
991 };
992 };
992 };
993 jupyter-client = super.buildPythonPackage {
993 jupyter-client = super.buildPythonPackage {
994 name = "jupyter-client-5.0.0";
994 name = "jupyter-client-5.0.0";
995 buildInputs = with self; [];
995 buildInputs = with self; [];
996 doCheck = false;
996 doCheck = false;
997 propagatedBuildInputs = with self; [traitlets jupyter-core pyzmq python-dateutil];
997 propagatedBuildInputs = with self; [traitlets jupyter-core pyzmq python-dateutil];
998 src = fetchurl {
998 src = fetchurl {
999 url = "https://pypi.python.org/packages/e5/6f/65412ed462202b90134b7e761b0b7e7f949e07a549c1755475333727b3d0/jupyter_client-5.0.0.tar.gz";
999 url = "https://pypi.python.org/packages/e5/6f/65412ed462202b90134b7e761b0b7e7f949e07a549c1755475333727b3d0/jupyter_client-5.0.0.tar.gz";
1000 md5 = "1acd331b5c9fb4d79dae9939e79f2426";
1000 md5 = "1acd331b5c9fb4d79dae9939e79f2426";
1001 };
1001 };
1002 meta = {
1002 meta = {
1003 license = [ pkgs.lib.licenses.bsdOriginal ];
1003 license = [ pkgs.lib.licenses.bsdOriginal ];
1004 };
1004 };
1005 };
1005 };
1006 jupyter-core = super.buildPythonPackage {
1006 jupyter-core = super.buildPythonPackage {
1007 name = "jupyter-core-4.3.0";
1007 name = "jupyter-core-4.3.0";
1008 buildInputs = with self; [];
1008 buildInputs = with self; [];
1009 doCheck = false;
1009 doCheck = false;
1010 propagatedBuildInputs = with self; [traitlets];
1010 propagatedBuildInputs = with self; [traitlets];
1011 src = fetchurl {
1011 src = fetchurl {
1012 url = "https://pypi.python.org/packages/2f/39/5138f975100ce14d150938df48a83cd852a3fd8e24b1244f4113848e69e2/jupyter_core-4.3.0.tar.gz";
1012 url = "https://pypi.python.org/packages/2f/39/5138f975100ce14d150938df48a83cd852a3fd8e24b1244f4113848e69e2/jupyter_core-4.3.0.tar.gz";
1013 md5 = "18819511a809afdeed9a995a9c27bcfb";
1013 md5 = "18819511a809afdeed9a995a9c27bcfb";
1014 };
1014 };
1015 meta = {
1015 meta = {
1016 license = [ pkgs.lib.licenses.bsdOriginal ];
1016 license = [ pkgs.lib.licenses.bsdOriginal ];
1017 };
1017 };
1018 };
1018 };
1019 kombu = super.buildPythonPackage {
1019 kombu = super.buildPythonPackage {
1020 name = "kombu-1.5.1";
1020 name = "kombu-1.5.1";
1021 buildInputs = with self; [];
1021 buildInputs = with self; [];
1022 doCheck = false;
1022 doCheck = false;
1023 propagatedBuildInputs = with self; [anyjson amqplib];
1023 propagatedBuildInputs = with self; [anyjson amqplib];
1024 src = fetchurl {
1024 src = fetchurl {
1025 url = "https://pypi.python.org/packages/19/53/74bf2a624644b45f0850a638752514fc10a8e1cbd738f10804951a6df3f5/kombu-1.5.1.tar.gz";
1025 url = "https://pypi.python.org/packages/19/53/74bf2a624644b45f0850a638752514fc10a8e1cbd738f10804951a6df3f5/kombu-1.5.1.tar.gz";
1026 md5 = "50662f3c7e9395b3d0721fb75d100b63";
1026 md5 = "50662f3c7e9395b3d0721fb75d100b63";
1027 };
1027 };
1028 meta = {
1028 meta = {
1029 license = [ pkgs.lib.licenses.bsdOriginal ];
1029 license = [ pkgs.lib.licenses.bsdOriginal ];
1030 };
1030 };
1031 };
1031 };
1032 lxml = super.buildPythonPackage {
1032 lxml = super.buildPythonPackage {
1033 name = "lxml-3.7.3";
1033 name = "lxml-3.7.3";
1034 buildInputs = with self; [];
1034 buildInputs = with self; [];
1035 doCheck = false;
1035 doCheck = false;
1036 propagatedBuildInputs = with self; [];
1036 propagatedBuildInputs = with self; [];
1037 src = fetchurl {
1037 src = fetchurl {
1038 url = "https://pypi.python.org/packages/39/e8/a8e0b1fa65dd021d48fe21464f71783655f39a41f218293c1c590d54eb82/lxml-3.7.3.tar.gz";
1038 url = "https://pypi.python.org/packages/39/e8/a8e0b1fa65dd021d48fe21464f71783655f39a41f218293c1c590d54eb82/lxml-3.7.3.tar.gz";
1039 md5 = "075692ce442e69bbd604d44e21c02753";
1039 md5 = "075692ce442e69bbd604d44e21c02753";
1040 };
1040 };
1041 meta = {
1041 meta = {
1042 license = [ pkgs.lib.licenses.bsdOriginal ];
1042 license = [ pkgs.lib.licenses.bsdOriginal ];
1043 };
1043 };
1044 };
1044 };
1045 meld3 = super.buildPythonPackage {
1045 meld3 = super.buildPythonPackage {
1046 name = "meld3-1.0.2";
1046 name = "meld3-1.0.2";
1047 buildInputs = with self; [];
1047 buildInputs = with self; [];
1048 doCheck = false;
1048 doCheck = false;
1049 propagatedBuildInputs = with self; [];
1049 propagatedBuildInputs = with self; [];
1050 src = fetchurl {
1050 src = fetchurl {
1051 url = "https://pypi.python.org/packages/45/a0/317c6422b26c12fe0161e936fc35f36552069ba8e6f7ecbd99bbffe32a5f/meld3-1.0.2.tar.gz";
1051 url = "https://pypi.python.org/packages/45/a0/317c6422b26c12fe0161e936fc35f36552069ba8e6f7ecbd99bbffe32a5f/meld3-1.0.2.tar.gz";
1052 md5 = "3ccc78cd79cffd63a751ad7684c02c91";
1052 md5 = "3ccc78cd79cffd63a751ad7684c02c91";
1053 };
1053 };
1054 meta = {
1054 meta = {
1055 license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
1055 license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
1056 };
1056 };
1057 };
1057 };
1058 mistune = super.buildPythonPackage {
1058 mistune = super.buildPythonPackage {
1059 name = "mistune-0.7.4";
1059 name = "mistune-0.7.4";
1060 buildInputs = with self; [];
1060 buildInputs = with self; [];
1061 doCheck = false;
1061 doCheck = false;
1062 propagatedBuildInputs = with self; [];
1062 propagatedBuildInputs = with self; [];
1063 src = fetchurl {
1063 src = fetchurl {
1064 url = "https://pypi.python.org/packages/25/a4/12a584c0c59c9fed529f8b3c47ca8217c0cf8bcc5e1089d3256410cfbdbc/mistune-0.7.4.tar.gz";
1064 url = "https://pypi.python.org/packages/25/a4/12a584c0c59c9fed529f8b3c47ca8217c0cf8bcc5e1089d3256410cfbdbc/mistune-0.7.4.tar.gz";
1065 md5 = "92d01cb717e9e74429e9bde9d29ac43b";
1065 md5 = "92d01cb717e9e74429e9bde9d29ac43b";
1066 };
1066 };
1067 meta = {
1067 meta = {
1068 license = [ pkgs.lib.licenses.bsdOriginal ];
1068 license = [ pkgs.lib.licenses.bsdOriginal ];
1069 };
1069 };
1070 };
1070 };
1071 mock = super.buildPythonPackage {
1071 mock = super.buildPythonPackage {
1072 name = "mock-1.0.1";
1072 name = "mock-1.0.1";
1073 buildInputs = with self; [];
1073 buildInputs = with self; [];
1074 doCheck = false;
1074 doCheck = false;
1075 propagatedBuildInputs = with self; [];
1075 propagatedBuildInputs = with self; [];
1076 src = fetchurl {
1076 src = fetchurl {
1077 url = "https://pypi.python.org/packages/15/45/30273ee91feb60dabb8fbb2da7868520525f02cf910279b3047182feed80/mock-1.0.1.zip";
1077 url = "https://pypi.python.org/packages/15/45/30273ee91feb60dabb8fbb2da7868520525f02cf910279b3047182feed80/mock-1.0.1.zip";
1078 md5 = "869f08d003c289a97c1a6610faf5e913";
1078 md5 = "869f08d003c289a97c1a6610faf5e913";
1079 };
1079 };
1080 meta = {
1080 meta = {
1081 license = [ pkgs.lib.licenses.bsdOriginal ];
1081 license = [ pkgs.lib.licenses.bsdOriginal ];
1082 };
1082 };
1083 };
1083 };
1084 msgpack-python = super.buildPythonPackage {
1084 msgpack-python = super.buildPythonPackage {
1085 name = "msgpack-python-0.4.8";
1085 name = "msgpack-python-0.4.8";
1086 buildInputs = with self; [];
1086 buildInputs = with self; [];
1087 doCheck = false;
1087 doCheck = false;
1088 propagatedBuildInputs = with self; [];
1088 propagatedBuildInputs = with self; [];
1089 src = fetchurl {
1089 src = fetchurl {
1090 url = "https://pypi.python.org/packages/21/27/8a1d82041c7a2a51fcc73675875a5f9ea06c2663e02fcfeb708be1d081a0/msgpack-python-0.4.8.tar.gz";
1090 url = "https://pypi.python.org/packages/21/27/8a1d82041c7a2a51fcc73675875a5f9ea06c2663e02fcfeb708be1d081a0/msgpack-python-0.4.8.tar.gz";
1091 md5 = "dcd854fb41ee7584ebbf35e049e6be98";
1091 md5 = "dcd854fb41ee7584ebbf35e049e6be98";
1092 };
1092 };
1093 meta = {
1093 meta = {
1094 license = [ pkgs.lib.licenses.asl20 ];
1094 license = [ pkgs.lib.licenses.asl20 ];
1095 };
1095 };
1096 };
1096 };
1097 nbconvert = super.buildPythonPackage {
1097 nbconvert = super.buildPythonPackage {
1098 name = "nbconvert-5.1.1";
1098 name = "nbconvert-5.1.1";
1099 buildInputs = with self; [];
1099 buildInputs = with self; [];
1100 doCheck = false;
1100 doCheck = false;
1101 propagatedBuildInputs = with self; [mistune Jinja2 Pygments traitlets jupyter-core nbformat entrypoints bleach pandocfilters testpath];
1101 propagatedBuildInputs = with self; [mistune Jinja2 Pygments traitlets jupyter-core nbformat entrypoints bleach pandocfilters testpath];
1102 src = fetchurl {
1102 src = fetchurl {
1103 url = "https://pypi.python.org/packages/95/58/df1c91f1658ee5df19097f915a1e71c91fc824a708d82d2b2e35f8b80e9a/nbconvert-5.1.1.tar.gz";
1103 url = "https://pypi.python.org/packages/95/58/df1c91f1658ee5df19097f915a1e71c91fc824a708d82d2b2e35f8b80e9a/nbconvert-5.1.1.tar.gz";
1104 md5 = "d0263fb03a44db2f94eea09a608ed813";
1104 md5 = "d0263fb03a44db2f94eea09a608ed813";
1105 };
1105 };
1106 meta = {
1106 meta = {
1107 license = [ pkgs.lib.licenses.bsdOriginal ];
1107 license = [ pkgs.lib.licenses.bsdOriginal ];
1108 };
1108 };
1109 };
1109 };
1110 nbformat = super.buildPythonPackage {
1110 nbformat = super.buildPythonPackage {
1111 name = "nbformat-4.3.0";
1111 name = "nbformat-4.3.0";
1112 buildInputs = with self; [];
1112 buildInputs = with self; [];
1113 doCheck = false;
1113 doCheck = false;
1114 propagatedBuildInputs = with self; [ipython-genutils traitlets jsonschema jupyter-core];
1114 propagatedBuildInputs = with self; [ipython-genutils traitlets jsonschema jupyter-core];
1115 src = fetchurl {
1115 src = fetchurl {
1116 url = "https://pypi.python.org/packages/f9/c5/89df4abf906f766727f976e170caa85b4f1c1d1feb1f45d716016e68e19f/nbformat-4.3.0.tar.gz";
1116 url = "https://pypi.python.org/packages/f9/c5/89df4abf906f766727f976e170caa85b4f1c1d1feb1f45d716016e68e19f/nbformat-4.3.0.tar.gz";
1117 md5 = "9a00d20425914cd5ba5f97769d9963ca";
1117 md5 = "9a00d20425914cd5ba5f97769d9963ca";
1118 };
1118 };
1119 meta = {
1119 meta = {
1120 license = [ pkgs.lib.licenses.bsdOriginal ];
1120 license = [ pkgs.lib.licenses.bsdOriginal ];
1121 };
1121 };
1122 };
1122 };
1123 nose = super.buildPythonPackage {
1123 nose = super.buildPythonPackage {
1124 name = "nose-1.3.6";
1124 name = "nose-1.3.6";
1125 buildInputs = with self; [];
1125 buildInputs = with self; [];
1126 doCheck = false;
1126 doCheck = false;
1127 propagatedBuildInputs = with self; [];
1127 propagatedBuildInputs = with self; [];
1128 src = fetchurl {
1128 src = fetchurl {
1129 url = "https://pypi.python.org/packages/70/c7/469e68148d17a0d3db5ed49150242fd70a74a8147b8f3f8b87776e028d99/nose-1.3.6.tar.gz";
1129 url = "https://pypi.python.org/packages/70/c7/469e68148d17a0d3db5ed49150242fd70a74a8147b8f3f8b87776e028d99/nose-1.3.6.tar.gz";
1130 md5 = "0ca546d81ca8309080fc80cb389e7a16";
1130 md5 = "0ca546d81ca8309080fc80cb389e7a16";
1131 };
1131 };
1132 meta = {
1132 meta = {
1133 license = [ { fullName = "GNU Library or Lesser General Public License (LGPL)"; } { fullName = "GNU LGPL"; } ];
1133 license = [ { fullName = "GNU Library or Lesser General Public License (LGPL)"; } { fullName = "GNU LGPL"; } ];
1134 };
1134 };
1135 };
1135 };
1136 objgraph = super.buildPythonPackage {
1136 objgraph = super.buildPythonPackage {
1137 name = "objgraph-3.1.0";
1137 name = "objgraph-3.1.0";
1138 buildInputs = with self; [];
1138 buildInputs = with self; [];
1139 doCheck = false;
1139 doCheck = false;
1140 propagatedBuildInputs = with self; [graphviz];
1140 propagatedBuildInputs = with self; [graphviz];
1141 src = fetchurl {
1141 src = fetchurl {
1142 url = "https://pypi.python.org/packages/f4/b3/082e54e62094cb2ec84f8d5a49e0142cef99016491cecba83309cff920ae/objgraph-3.1.0.tar.gz";
1142 url = "https://pypi.python.org/packages/f4/b3/082e54e62094cb2ec84f8d5a49e0142cef99016491cecba83309cff920ae/objgraph-3.1.0.tar.gz";
1143 md5 = "eddbd96039796bfbd13eee403701e64a";
1143 md5 = "eddbd96039796bfbd13eee403701e64a";
1144 };
1144 };
1145 meta = {
1145 meta = {
1146 license = [ pkgs.lib.licenses.mit ];
1146 license = [ pkgs.lib.licenses.mit ];
1147 };
1147 };
1148 };
1148 };
1149 packaging = super.buildPythonPackage {
1149 packaging = super.buildPythonPackage {
1150 name = "packaging-15.2";
1150 name = "packaging-15.2";
1151 buildInputs = with self; [];
1151 buildInputs = with self; [];
1152 doCheck = false;
1152 doCheck = false;
1153 propagatedBuildInputs = with self; [];
1153 propagatedBuildInputs = with self; [];
1154 src = fetchurl {
1154 src = fetchurl {
1155 url = "https://pypi.python.org/packages/24/c4/185da1304f07047dc9e0c46c31db75c0351bd73458ac3efad7da3dbcfbe1/packaging-15.2.tar.gz";
1155 url = "https://pypi.python.org/packages/24/c4/185da1304f07047dc9e0c46c31db75c0351bd73458ac3efad7da3dbcfbe1/packaging-15.2.tar.gz";
1156 md5 = "c16093476f6ced42128bf610e5db3784";
1156 md5 = "c16093476f6ced42128bf610e5db3784";
1157 };
1157 };
1158 meta = {
1158 meta = {
1159 license = [ pkgs.lib.licenses.asl20 ];
1159 license = [ pkgs.lib.licenses.asl20 ];
1160 };
1160 };
1161 };
1161 };
1162 pandocfilters = super.buildPythonPackage {
1162 pandocfilters = super.buildPythonPackage {
1163 name = "pandocfilters-1.4.1";
1163 name = "pandocfilters-1.4.1";
1164 buildInputs = with self; [];
1164 buildInputs = with self; [];
1165 doCheck = false;
1165 doCheck = false;
1166 propagatedBuildInputs = with self; [];
1166 propagatedBuildInputs = with self; [];
1167 src = fetchurl {
1167 src = fetchurl {
1168 url = "https://pypi.python.org/packages/e3/1f/21d1b7e8ca571e80b796c758d361fdf5554335ff138158654684bc5401d8/pandocfilters-1.4.1.tar.gz";
1168 url = "https://pypi.python.org/packages/e3/1f/21d1b7e8ca571e80b796c758d361fdf5554335ff138158654684bc5401d8/pandocfilters-1.4.1.tar.gz";
1169 md5 = "7680d9f9ec07397dd17f380ee3818b9d";
1169 md5 = "7680d9f9ec07397dd17f380ee3818b9d";
1170 };
1170 };
1171 meta = {
1171 meta = {
1172 license = [ pkgs.lib.licenses.bsdOriginal ];
1172 license = [ pkgs.lib.licenses.bsdOriginal ];
1173 };
1173 };
1174 };
1174 };
1175 paramiko = super.buildPythonPackage {
1176 name = "paramiko-1.15.1";
1177 buildInputs = with self; [];
1178 doCheck = false;
1179 propagatedBuildInputs = with self; [pycrypto ecdsa];
1180 src = fetchurl {
1181 url = "https://pypi.python.org/packages/04/2b/a22d2a560c1951abbbf95a0628e245945565f70dc082d9e784666887222c/paramiko-1.15.1.tar.gz";
1182 md5 = "48c274c3f9b1282932567b21f6acf3b5";
1183 };
1184 meta = {
1185 license = [ { fullName = "LGPL"; } { fullName = "GNU Library or Lesser General Public License (LGPL)"; } ];
1186 };
1187 };
1188 pathlib2 = super.buildPythonPackage {
1175 pathlib2 = super.buildPythonPackage {
1189 name = "pathlib2-2.3.0";
1176 name = "pathlib2-2.3.0";
1190 buildInputs = with self; [];
1177 buildInputs = with self; [];
1191 doCheck = false;
1178 doCheck = false;
1192 propagatedBuildInputs = with self; [six scandir];
1179 propagatedBuildInputs = with self; [six scandir];
1193 src = fetchurl {
1180 src = fetchurl {
1194 url = "https://pypi.python.org/packages/a1/14/df0deb867c2733f7d857523c10942b3d6612a1b222502fdffa9439943dfb/pathlib2-2.3.0.tar.gz";
1181 url = "https://pypi.python.org/packages/a1/14/df0deb867c2733f7d857523c10942b3d6612a1b222502fdffa9439943dfb/pathlib2-2.3.0.tar.gz";
1195 md5 = "89c90409d11fd5947966b6a30a47d18c";
1182 md5 = "89c90409d11fd5947966b6a30a47d18c";
1196 };
1183 };
1197 meta = {
1184 meta = {
1198 license = [ pkgs.lib.licenses.mit ];
1185 license = [ pkgs.lib.licenses.mit ];
1199 };
1186 };
1200 };
1187 };
1201 peppercorn = super.buildPythonPackage {
1188 peppercorn = super.buildPythonPackage {
1202 name = "peppercorn-0.5";
1189 name = "peppercorn-0.5";
1203 buildInputs = with self; [];
1190 buildInputs = with self; [];
1204 doCheck = false;
1191 doCheck = false;
1205 propagatedBuildInputs = with self; [];
1192 propagatedBuildInputs = with self; [];
1206 src = fetchurl {
1193 src = fetchurl {
1207 url = "https://pypi.python.org/packages/45/ec/a62ec317d1324a01567c5221b420742f094f05ee48097e5157d32be3755c/peppercorn-0.5.tar.gz";
1194 url = "https://pypi.python.org/packages/45/ec/a62ec317d1324a01567c5221b420742f094f05ee48097e5157d32be3755c/peppercorn-0.5.tar.gz";
1208 md5 = "f08efbca5790019ab45d76b7244abd40";
1195 md5 = "f08efbca5790019ab45d76b7244abd40";
1209 };
1196 };
1210 meta = {
1197 meta = {
1211 license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
1198 license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
1212 };
1199 };
1213 };
1200 };
1214 pexpect = super.buildPythonPackage {
1201 pexpect = super.buildPythonPackage {
1215 name = "pexpect-4.2.1";
1202 name = "pexpect-4.2.1";
1216 buildInputs = with self; [];
1203 buildInputs = with self; [];
1217 doCheck = false;
1204 doCheck = false;
1218 propagatedBuildInputs = with self; [ptyprocess];
1205 propagatedBuildInputs = with self; [ptyprocess];
1219 src = fetchurl {
1206 src = fetchurl {
1220 url = "https://pypi.python.org/packages/e8/13/d0b0599099d6cd23663043a2a0bb7c61e58c6ba359b2656e6fb000ef5b98/pexpect-4.2.1.tar.gz";
1207 url = "https://pypi.python.org/packages/e8/13/d0b0599099d6cd23663043a2a0bb7c61e58c6ba359b2656e6fb000ef5b98/pexpect-4.2.1.tar.gz";
1221 md5 = "3694410001a99dff83f0b500a1ca1c95";
1208 md5 = "3694410001a99dff83f0b500a1ca1c95";
1222 };
1209 };
1223 meta = {
1210 meta = {
1224 license = [ pkgs.lib.licenses.isc { fullName = "ISC License (ISCL)"; } ];
1211 license = [ pkgs.lib.licenses.isc { fullName = "ISC License (ISCL)"; } ];
1225 };
1212 };
1226 };
1213 };
1227 pickleshare = super.buildPythonPackage {
1214 pickleshare = super.buildPythonPackage {
1228 name = "pickleshare-0.7.4";
1215 name = "pickleshare-0.7.4";
1229 buildInputs = with self; [];
1216 buildInputs = with self; [];
1230 doCheck = false;
1217 doCheck = false;
1231 propagatedBuildInputs = with self; [pathlib2];
1218 propagatedBuildInputs = with self; [pathlib2];
1232 src = fetchurl {
1219 src = fetchurl {
1233 url = "https://pypi.python.org/packages/69/fe/dd137d84daa0fd13a709e448138e310d9ea93070620c9db5454e234af525/pickleshare-0.7.4.tar.gz";
1220 url = "https://pypi.python.org/packages/69/fe/dd137d84daa0fd13a709e448138e310d9ea93070620c9db5454e234af525/pickleshare-0.7.4.tar.gz";
1234 md5 = "6a9e5dd8dfc023031f6b7b3f824cab12";
1221 md5 = "6a9e5dd8dfc023031f6b7b3f824cab12";
1235 };
1222 };
1236 meta = {
1223 meta = {
1237 license = [ pkgs.lib.licenses.mit ];
1224 license = [ pkgs.lib.licenses.mit ];
1238 };
1225 };
1239 };
1226 };
1240 plaster = super.buildPythonPackage {
1227 plaster = super.buildPythonPackage {
1241 name = "plaster-0.5";
1228 name = "plaster-0.5";
1242 buildInputs = with self; [];
1229 buildInputs = with self; [];
1243 doCheck = false;
1230 doCheck = false;
1244 propagatedBuildInputs = with self; [setuptools];
1231 propagatedBuildInputs = with self; [setuptools];
1245 src = fetchurl {
1232 src = fetchurl {
1246 url = "https://pypi.python.org/packages/99/b3/d7ca1fe31d2b56dba68a238721fda6820770f9c2a3de17a582d4b5b2edcc/plaster-0.5.tar.gz";
1233 url = "https://pypi.python.org/packages/99/b3/d7ca1fe31d2b56dba68a238721fda6820770f9c2a3de17a582d4b5b2edcc/plaster-0.5.tar.gz";
1247 md5 = "c59345a67a860cfcaa1bd6a81451399d";
1234 md5 = "c59345a67a860cfcaa1bd6a81451399d";
1248 };
1235 };
1249 meta = {
1236 meta = {
1250 license = [ pkgs.lib.licenses.mit ];
1237 license = [ pkgs.lib.licenses.mit ];
1251 };
1238 };
1252 };
1239 };
1253 plaster-pastedeploy = super.buildPythonPackage {
1240 plaster-pastedeploy = super.buildPythonPackage {
1254 name = "plaster-pastedeploy-0.4.1";
1241 name = "plaster-pastedeploy-0.4.1";
1255 buildInputs = with self; [];
1242 buildInputs = with self; [];
1256 doCheck = false;
1243 doCheck = false;
1257 propagatedBuildInputs = with self; [PasteDeploy plaster];
1244 propagatedBuildInputs = with self; [PasteDeploy plaster];
1258 src = fetchurl {
1245 src = fetchurl {
1259 url = "https://pypi.python.org/packages/9d/6e/f8be01ed41c94e6c54ac97cf2eb142a702aae0c8cce31c846f785e525b40/plaster_pastedeploy-0.4.1.tar.gz";
1246 url = "https://pypi.python.org/packages/9d/6e/f8be01ed41c94e6c54ac97cf2eb142a702aae0c8cce31c846f785e525b40/plaster_pastedeploy-0.4.1.tar.gz";
1260 md5 = "f48d5344b922e56c4978eebf1cd2e0d3";
1247 md5 = "f48d5344b922e56c4978eebf1cd2e0d3";
1261 };
1248 };
1262 meta = {
1249 meta = {
1263 license = [ pkgs.lib.licenses.mit ];
1250 license = [ pkgs.lib.licenses.mit ];
1264 };
1251 };
1265 };
1252 };
1266 prompt-toolkit = super.buildPythonPackage {
1253 prompt-toolkit = super.buildPythonPackage {
1267 name = "prompt-toolkit-1.0.14";
1254 name = "prompt-toolkit-1.0.14";
1268 buildInputs = with self; [];
1255 buildInputs = with self; [];
1269 doCheck = false;
1256 doCheck = false;
1270 propagatedBuildInputs = with self; [six wcwidth];
1257 propagatedBuildInputs = with self; [six wcwidth];
1271 src = fetchurl {
1258 src = fetchurl {
1272 url = "https://pypi.python.org/packages/55/56/8c39509b614bda53e638b7500f12577d663ac1b868aef53426fc6a26c3f5/prompt_toolkit-1.0.14.tar.gz";
1259 url = "https://pypi.python.org/packages/55/56/8c39509b614bda53e638b7500f12577d663ac1b868aef53426fc6a26c3f5/prompt_toolkit-1.0.14.tar.gz";
1273 md5 = "f24061ae133ed32c6b764e92bd48c496";
1260 md5 = "f24061ae133ed32c6b764e92bd48c496";
1274 };
1261 };
1275 meta = {
1262 meta = {
1276 license = [ pkgs.lib.licenses.bsdOriginal ];
1263 license = [ pkgs.lib.licenses.bsdOriginal ];
1277 };
1264 };
1278 };
1265 };
1279 psutil = super.buildPythonPackage {
1266 psutil = super.buildPythonPackage {
1280 name = "psutil-4.3.1";
1267 name = "psutil-4.3.1";
1281 buildInputs = with self; [];
1268 buildInputs = with self; [];
1282 doCheck = false;
1269 doCheck = false;
1283 propagatedBuildInputs = with self; [];
1270 propagatedBuildInputs = with self; [];
1284 src = fetchurl {
1271 src = fetchurl {
1285 url = "https://pypi.python.org/packages/78/cc/f267a1371f229bf16db6a4e604428c3b032b823b83155bd33cef45e49a53/psutil-4.3.1.tar.gz";
1272 url = "https://pypi.python.org/packages/78/cc/f267a1371f229bf16db6a4e604428c3b032b823b83155bd33cef45e49a53/psutil-4.3.1.tar.gz";
1286 md5 = "199a366dba829c88bddaf5b41d19ddc0";
1273 md5 = "199a366dba829c88bddaf5b41d19ddc0";
1287 };
1274 };
1288 meta = {
1275 meta = {
1289 license = [ pkgs.lib.licenses.bsdOriginal ];
1276 license = [ pkgs.lib.licenses.bsdOriginal ];
1290 };
1277 };
1291 };
1278 };
1292 psycopg2 = super.buildPythonPackage {
1279 psycopg2 = super.buildPythonPackage {
1293 name = "psycopg2-2.7.1";
1280 name = "psycopg2-2.7.1";
1294 buildInputs = with self; [];
1281 buildInputs = with self; [];
1295 doCheck = false;
1282 doCheck = false;
1296 propagatedBuildInputs = with self; [];
1283 propagatedBuildInputs = with self; [];
1297 src = fetchurl {
1284 src = fetchurl {
1298 url = "https://pypi.python.org/packages/f8/e9/5793369ce8a41bf5467623ded8d59a434dfef9c136351aca4e70c2657ba0/psycopg2-2.7.1.tar.gz";
1285 url = "https://pypi.python.org/packages/f8/e9/5793369ce8a41bf5467623ded8d59a434dfef9c136351aca4e70c2657ba0/psycopg2-2.7.1.tar.gz";
1299 md5 = "67848ac33af88336046802f6ef7081f3";
1286 md5 = "67848ac33af88336046802f6ef7081f3";
1300 };
1287 };
1301 meta = {
1288 meta = {
1302 license = [ pkgs.lib.licenses.zpt21 { fullName = "GNU Library or Lesser General Public License (LGPL)"; } { fullName = "LGPL with exceptions or ZPL"; } ];
1289 license = [ pkgs.lib.licenses.zpt21 { fullName = "GNU Library or Lesser General Public License (LGPL)"; } { fullName = "LGPL with exceptions or ZPL"; } ];
1303 };
1290 };
1304 };
1291 };
1305 ptyprocess = super.buildPythonPackage {
1292 ptyprocess = super.buildPythonPackage {
1306 name = "ptyprocess-0.5.2";
1293 name = "ptyprocess-0.5.2";
1307 buildInputs = with self; [];
1294 buildInputs = with self; [];
1308 doCheck = false;
1295 doCheck = false;
1309 propagatedBuildInputs = with self; [];
1296 propagatedBuildInputs = with self; [];
1310 src = fetchurl {
1297 src = fetchurl {
1311 url = "https://pypi.python.org/packages/51/83/5d07dc35534640b06f9d9f1a1d2bc2513fb9cc7595a1b0e28ae5477056ce/ptyprocess-0.5.2.tar.gz";
1298 url = "https://pypi.python.org/packages/51/83/5d07dc35534640b06f9d9f1a1d2bc2513fb9cc7595a1b0e28ae5477056ce/ptyprocess-0.5.2.tar.gz";
1312 md5 = "d3b8febae1b8c53b054bd818d0bb8665";
1299 md5 = "d3b8febae1b8c53b054bd818d0bb8665";
1313 };
1300 };
1314 meta = {
1301 meta = {
1315 license = [ ];
1302 license = [ ];
1316 };
1303 };
1317 };
1304 };
1318 py = super.buildPythonPackage {
1305 py = super.buildPythonPackage {
1319 name = "py-1.4.34";
1306 name = "py-1.4.34";
1320 buildInputs = with self; [];
1307 buildInputs = with self; [];
1321 doCheck = false;
1308 doCheck = false;
1322 propagatedBuildInputs = with self; [];
1309 propagatedBuildInputs = with self; [];
1323 src = fetchurl {
1310 src = fetchurl {
1324 url = "https://pypi.python.org/packages/68/35/58572278f1c097b403879c1e9369069633d1cbad5239b9057944bb764782/py-1.4.34.tar.gz";
1311 url = "https://pypi.python.org/packages/68/35/58572278f1c097b403879c1e9369069633d1cbad5239b9057944bb764782/py-1.4.34.tar.gz";
1325 md5 = "d9c3d8f734b0819ff48e355d77bf1730";
1312 md5 = "d9c3d8f734b0819ff48e355d77bf1730";
1326 };
1313 };
1327 meta = {
1314 meta = {
1328 license = [ pkgs.lib.licenses.mit ];
1315 license = [ pkgs.lib.licenses.mit ];
1329 };
1316 };
1330 };
1317 };
1331 py-bcrypt = super.buildPythonPackage {
1318 py-bcrypt = super.buildPythonPackage {
1332 name = "py-bcrypt-0.4";
1319 name = "py-bcrypt-0.4";
1333 buildInputs = with self; [];
1320 buildInputs = with self; [];
1334 doCheck = false;
1321 doCheck = false;
1335 propagatedBuildInputs = with self; [];
1322 propagatedBuildInputs = with self; [];
1336 src = fetchurl {
1323 src = fetchurl {
1337 url = "https://pypi.python.org/packages/68/b1/1c3068c5c4d2e35c48b38dcc865301ebfdf45f54507086ac65ced1fd3b3d/py-bcrypt-0.4.tar.gz";
1324 url = "https://pypi.python.org/packages/68/b1/1c3068c5c4d2e35c48b38dcc865301ebfdf45f54507086ac65ced1fd3b3d/py-bcrypt-0.4.tar.gz";
1338 md5 = "dd8b367d6b716a2ea2e72392525f4e36";
1325 md5 = "dd8b367d6b716a2ea2e72392525f4e36";
1339 };
1326 };
1340 meta = {
1327 meta = {
1341 license = [ pkgs.lib.licenses.bsdOriginal ];
1328 license = [ pkgs.lib.licenses.bsdOriginal ];
1342 };
1329 };
1343 };
1330 };
1344 py-gfm = super.buildPythonPackage {
1331 py-gfm = super.buildPythonPackage {
1345 name = "py-gfm-0.1.3";
1332 name = "py-gfm-0.1.3";
1346 buildInputs = with self; [];
1333 buildInputs = with self; [];
1347 doCheck = false;
1334 doCheck = false;
1348 propagatedBuildInputs = with self; [setuptools Markdown];
1335 propagatedBuildInputs = with self; [setuptools Markdown];
1349 src = fetchurl {
1336 src = fetchurl {
1350 url = "https://code.rhodecode.com/upstream/py-gfm/archive/0d66a19bc16e3d49de273c0f797d4e4781e8c0f2.tar.gz?md5=0d0d5385bfb629eea636a80b9c2bfd16";
1337 url = "https://code.rhodecode.com/upstream/py-gfm/archive/0d66a19bc16e3d49de273c0f797d4e4781e8c0f2.tar.gz?md5=0d0d5385bfb629eea636a80b9c2bfd16";
1351 md5 = "0d0d5385bfb629eea636a80b9c2bfd16";
1338 md5 = "0d0d5385bfb629eea636a80b9c2bfd16";
1352 };
1339 };
1353 meta = {
1340 meta = {
1354 license = [ pkgs.lib.licenses.bsdOriginal ];
1341 license = [ pkgs.lib.licenses.bsdOriginal ];
1355 };
1342 };
1356 };
1343 };
1357 pycrypto = super.buildPythonPackage {
1344 pycrypto = super.buildPythonPackage {
1358 name = "pycrypto-2.6.1";
1345 name = "pycrypto-2.6.1";
1359 buildInputs = with self; [];
1346 buildInputs = with self; [];
1360 doCheck = false;
1347 doCheck = false;
1361 propagatedBuildInputs = with self; [];
1348 propagatedBuildInputs = with self; [];
1362 src = fetchurl {
1349 src = fetchurl {
1363 url = "https://pypi.python.org/packages/60/db/645aa9af249f059cc3a368b118de33889219e0362141e75d4eaf6f80f163/pycrypto-2.6.1.tar.gz";
1350 url = "https://pypi.python.org/packages/60/db/645aa9af249f059cc3a368b118de33889219e0362141e75d4eaf6f80f163/pycrypto-2.6.1.tar.gz";
1364 md5 = "55a61a054aa66812daf5161a0d5d7eda";
1351 md5 = "55a61a054aa66812daf5161a0d5d7eda";
1365 };
1352 };
1366 meta = {
1353 meta = {
1367 license = [ pkgs.lib.licenses.publicDomain ];
1354 license = [ pkgs.lib.licenses.publicDomain ];
1368 };
1355 };
1369 };
1356 };
1370 pycurl = super.buildPythonPackage {
1357 pycurl = super.buildPythonPackage {
1371 name = "pycurl-7.19.5";
1358 name = "pycurl-7.19.5";
1372 buildInputs = with self; [];
1359 buildInputs = with self; [];
1373 doCheck = false;
1360 doCheck = false;
1374 propagatedBuildInputs = with self; [];
1361 propagatedBuildInputs = with self; [];
1375 src = fetchurl {
1362 src = fetchurl {
1376 url = "https://pypi.python.org/packages/6c/48/13bad289ef6f4869b1d8fc11ae54de8cfb3cc4a2eb9f7419c506f763be46/pycurl-7.19.5.tar.gz";
1363 url = "https://pypi.python.org/packages/6c/48/13bad289ef6f4869b1d8fc11ae54de8cfb3cc4a2eb9f7419c506f763be46/pycurl-7.19.5.tar.gz";
1377 md5 = "47b4eac84118e2606658122104e62072";
1364 md5 = "47b4eac84118e2606658122104e62072";
1378 };
1365 };
1379 meta = {
1366 meta = {
1380 license = [ pkgs.lib.licenses.mit { fullName = "LGPL/MIT"; } { fullName = "GNU Library or Lesser General Public License (LGPL)"; } ];
1367 license = [ pkgs.lib.licenses.mit { fullName = "LGPL/MIT"; } { fullName = "GNU Library or Lesser General Public License (LGPL)"; } ];
1381 };
1368 };
1382 };
1369 };
1383 pyflakes = super.buildPythonPackage {
1370 pyflakes = super.buildPythonPackage {
1384 name = "pyflakes-0.8.1";
1371 name = "pyflakes-0.8.1";
1385 buildInputs = with self; [];
1372 buildInputs = with self; [];
1386 doCheck = false;
1373 doCheck = false;
1387 propagatedBuildInputs = with self; [];
1374 propagatedBuildInputs = with self; [];
1388 src = fetchurl {
1375 src = fetchurl {
1389 url = "https://pypi.python.org/packages/75/22/a90ec0252f4f87f3ffb6336504de71fe16a49d69c4538dae2f12b9360a38/pyflakes-0.8.1.tar.gz";
1376 url = "https://pypi.python.org/packages/75/22/a90ec0252f4f87f3ffb6336504de71fe16a49d69c4538dae2f12b9360a38/pyflakes-0.8.1.tar.gz";
1390 md5 = "905fe91ad14b912807e8fdc2ac2e2c23";
1377 md5 = "905fe91ad14b912807e8fdc2ac2e2c23";
1391 };
1378 };
1392 meta = {
1379 meta = {
1393 license = [ pkgs.lib.licenses.mit ];
1380 license = [ pkgs.lib.licenses.mit ];
1394 };
1381 };
1395 };
1382 };
1396 pygments-markdown-lexer = super.buildPythonPackage {
1383 pygments-markdown-lexer = super.buildPythonPackage {
1397 name = "pygments-markdown-lexer-0.1.0.dev39";
1384 name = "pygments-markdown-lexer-0.1.0.dev39";
1398 buildInputs = with self; [];
1385 buildInputs = with self; [];
1399 doCheck = false;
1386 doCheck = false;
1400 propagatedBuildInputs = with self; [Pygments];
1387 propagatedBuildInputs = with self; [Pygments];
1401 src = fetchurl {
1388 src = fetchurl {
1402 url = "https://pypi.python.org/packages/c3/12/674cdee66635d638cedb2c5d9c85ce507b7b2f91bdba29e482f1b1160ff6/pygments-markdown-lexer-0.1.0.dev39.zip";
1389 url = "https://pypi.python.org/packages/c3/12/674cdee66635d638cedb2c5d9c85ce507b7b2f91bdba29e482f1b1160ff6/pygments-markdown-lexer-0.1.0.dev39.zip";
1403 md5 = "6360fe0f6d1f896e35b7a0142ce6459c";
1390 md5 = "6360fe0f6d1f896e35b7a0142ce6459c";
1404 };
1391 };
1405 meta = {
1392 meta = {
1406 license = [ pkgs.lib.licenses.asl20 ];
1393 license = [ pkgs.lib.licenses.asl20 ];
1407 };
1394 };
1408 };
1395 };
1409 pyparsing = super.buildPythonPackage {
1396 pyparsing = super.buildPythonPackage {
1410 name = "pyparsing-1.5.7";
1397 name = "pyparsing-1.5.7";
1411 buildInputs = with self; [];
1398 buildInputs = with self; [];
1412 doCheck = false;
1399 doCheck = false;
1413 propagatedBuildInputs = with self; [];
1400 propagatedBuildInputs = with self; [];
1414 src = fetchurl {
1401 src = fetchurl {
1415 url = "https://pypi.python.org/packages/2e/26/e8fb5b4256a5f5036be7ce115ef8db8d06bc537becfbdc46c6af008314ee/pyparsing-1.5.7.zip";
1402 url = "https://pypi.python.org/packages/2e/26/e8fb5b4256a5f5036be7ce115ef8db8d06bc537becfbdc46c6af008314ee/pyparsing-1.5.7.zip";
1416 md5 = "b86854857a368d6ccb4d5b6e76d0637f";
1403 md5 = "b86854857a368d6ccb4d5b6e76d0637f";
1417 };
1404 };
1418 meta = {
1405 meta = {
1419 license = [ pkgs.lib.licenses.mit ];
1406 license = [ pkgs.lib.licenses.mit ];
1420 };
1407 };
1421 };
1408 };
1422 pyramid = super.buildPythonPackage {
1409 pyramid = super.buildPythonPackage {
1423 name = "pyramid-1.9";
1410 name = "pyramid-1.9";
1424 buildInputs = with self; [];
1411 buildInputs = with self; [];
1425 doCheck = false;
1412 doCheck = false;
1426 propagatedBuildInputs = with self; [setuptools WebOb repoze.lru zope.interface zope.deprecation venusian translationstring PasteDeploy plaster plaster-pastedeploy hupper];
1413 propagatedBuildInputs = with self; [setuptools WebOb repoze.lru zope.interface zope.deprecation venusian translationstring PasteDeploy plaster plaster-pastedeploy hupper];
1427 src = fetchurl {
1414 src = fetchurl {
1428 url = "https://pypi.python.org/packages/b0/73/715321e129334f3e41430bede877620175a63ed075fd5d1fd2c25b7cb121/pyramid-1.9.tar.gz";
1415 url = "https://pypi.python.org/packages/b0/73/715321e129334f3e41430bede877620175a63ed075fd5d1fd2c25b7cb121/pyramid-1.9.tar.gz";
1429 md5 = "aa6c7c568f83151af51eb053ac633bc4";
1416 md5 = "aa6c7c568f83151af51eb053ac633bc4";
1430 };
1417 };
1431 meta = {
1418 meta = {
1432 license = [ { fullName = "Repoze Public License"; } { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
1419 license = [ { fullName = "Repoze Public License"; } { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
1433 };
1420 };
1434 };
1421 };
1435 pyramid-beaker = super.buildPythonPackage {
1422 pyramid-beaker = super.buildPythonPackage {
1436 name = "pyramid-beaker-0.8";
1423 name = "pyramid-beaker-0.8";
1437 buildInputs = with self; [];
1424 buildInputs = with self; [];
1438 doCheck = false;
1425 doCheck = false;
1439 propagatedBuildInputs = with self; [pyramid Beaker];
1426 propagatedBuildInputs = with self; [pyramid Beaker];
1440 src = fetchurl {
1427 src = fetchurl {
1441 url = "https://pypi.python.org/packages/d9/6e/b85426e00fd3d57f4545f74e1c3828552d8700f13ededeef9233f7bca8be/pyramid_beaker-0.8.tar.gz";
1428 url = "https://pypi.python.org/packages/d9/6e/b85426e00fd3d57f4545f74e1c3828552d8700f13ededeef9233f7bca8be/pyramid_beaker-0.8.tar.gz";
1442 md5 = "22f14be31b06549f80890e2c63a93834";
1429 md5 = "22f14be31b06549f80890e2c63a93834";
1443 };
1430 };
1444 meta = {
1431 meta = {
1445 license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
1432 license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
1446 };
1433 };
1447 };
1434 };
1448 pyramid-debugtoolbar = super.buildPythonPackage {
1435 pyramid-debugtoolbar = super.buildPythonPackage {
1449 name = "pyramid-debugtoolbar-4.2.1";
1436 name = "pyramid-debugtoolbar-4.2.1";
1450 buildInputs = with self; [];
1437 buildInputs = with self; [];
1451 doCheck = false;
1438 doCheck = false;
1452 propagatedBuildInputs = with self; [pyramid pyramid-mako repoze.lru Pygments ipaddress];
1439 propagatedBuildInputs = with self; [pyramid pyramid-mako repoze.lru Pygments ipaddress];
1453 src = fetchurl {
1440 src = fetchurl {
1454 url = "https://pypi.python.org/packages/db/26/94620b7752936e2cd74838263ff366db9b454f7394bfb62d1eb2f84b29c1/pyramid_debugtoolbar-4.2.1.tar.gz";
1441 url = "https://pypi.python.org/packages/db/26/94620b7752936e2cd74838263ff366db9b454f7394bfb62d1eb2f84b29c1/pyramid_debugtoolbar-4.2.1.tar.gz";
1455 md5 = "3dfaced2fab1644ff5284017be9d92b9";
1442 md5 = "3dfaced2fab1644ff5284017be9d92b9";
1456 };
1443 };
1457 meta = {
1444 meta = {
1458 license = [ { fullName = "Repoze Public License"; } pkgs.lib.licenses.bsdOriginal ];
1445 license = [ { fullName = "Repoze Public License"; } pkgs.lib.licenses.bsdOriginal ];
1459 };
1446 };
1460 };
1447 };
1461 pyramid-jinja2 = super.buildPythonPackage {
1448 pyramid-jinja2 = super.buildPythonPackage {
1462 name = "pyramid-jinja2-2.5";
1449 name = "pyramid-jinja2-2.5";
1463 buildInputs = with self; [];
1450 buildInputs = with self; [];
1464 doCheck = false;
1451 doCheck = false;
1465 propagatedBuildInputs = with self; [pyramid zope.deprecation Jinja2 MarkupSafe];
1452 propagatedBuildInputs = with self; [pyramid zope.deprecation Jinja2 MarkupSafe];
1466 src = fetchurl {
1453 src = fetchurl {
1467 url = "https://pypi.python.org/packages/a1/80/595e26ffab7deba7208676b6936b7e5a721875710f982e59899013cae1ed/pyramid_jinja2-2.5.tar.gz";
1454 url = "https://pypi.python.org/packages/a1/80/595e26ffab7deba7208676b6936b7e5a721875710f982e59899013cae1ed/pyramid_jinja2-2.5.tar.gz";
1468 md5 = "07cb6547204ac5e6f0b22a954ccee928";
1455 md5 = "07cb6547204ac5e6f0b22a954ccee928";
1469 };
1456 };
1470 meta = {
1457 meta = {
1471 license = [ { fullName = "Repoze Public License"; } { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
1458 license = [ { fullName = "Repoze Public License"; } { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
1472 };
1459 };
1473 };
1460 };
1474 pyramid-mako = super.buildPythonPackage {
1461 pyramid-mako = super.buildPythonPackage {
1475 name = "pyramid-mako-1.0.2";
1462 name = "pyramid-mako-1.0.2";
1476 buildInputs = with self; [];
1463 buildInputs = with self; [];
1477 doCheck = false;
1464 doCheck = false;
1478 propagatedBuildInputs = with self; [pyramid Mako];
1465 propagatedBuildInputs = with self; [pyramid Mako];
1479 src = fetchurl {
1466 src = fetchurl {
1480 url = "https://pypi.python.org/packages/f1/92/7e69bcf09676d286a71cb3bbb887b16595b96f9ba7adbdc239ffdd4b1eb9/pyramid_mako-1.0.2.tar.gz";
1467 url = "https://pypi.python.org/packages/f1/92/7e69bcf09676d286a71cb3bbb887b16595b96f9ba7adbdc239ffdd4b1eb9/pyramid_mako-1.0.2.tar.gz";
1481 md5 = "ee25343a97eb76bd90abdc2a774eb48a";
1468 md5 = "ee25343a97eb76bd90abdc2a774eb48a";
1482 };
1469 };
1483 meta = {
1470 meta = {
1484 license = [ { fullName = "Repoze Public License"; } { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
1471 license = [ { fullName = "Repoze Public License"; } { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
1485 };
1472 };
1486 };
1473 };
1487 pysqlite = super.buildPythonPackage {
1474 pysqlite = super.buildPythonPackage {
1488 name = "pysqlite-2.8.3";
1475 name = "pysqlite-2.8.3";
1489 buildInputs = with self; [];
1476 buildInputs = with self; [];
1490 doCheck = false;
1477 doCheck = false;
1491 propagatedBuildInputs = with self; [];
1478 propagatedBuildInputs = with self; [];
1492 src = fetchurl {
1479 src = fetchurl {
1493 url = "https://pypi.python.org/packages/42/02/981b6703e3c83c5b25a829c6e77aad059f9481b0bbacb47e6e8ca12bd731/pysqlite-2.8.3.tar.gz";
1480 url = "https://pypi.python.org/packages/42/02/981b6703e3c83c5b25a829c6e77aad059f9481b0bbacb47e6e8ca12bd731/pysqlite-2.8.3.tar.gz";
1494 md5 = "033f17b8644577715aee55e8832ac9fc";
1481 md5 = "033f17b8644577715aee55e8832ac9fc";
1495 };
1482 };
1496 meta = {
1483 meta = {
1497 license = [ { fullName = "zlib/libpng License"; } { fullName = "zlib/libpng license"; } ];
1484 license = [ { fullName = "zlib/libpng License"; } { fullName = "zlib/libpng license"; } ];
1498 };
1485 };
1499 };
1486 };
1500 pytest = super.buildPythonPackage {
1487 pytest = super.buildPythonPackage {
1501 name = "pytest-3.1.2";
1488 name = "pytest-3.1.2";
1502 buildInputs = with self; [];
1489 buildInputs = with self; [];
1503 doCheck = false;
1490 doCheck = false;
1504 propagatedBuildInputs = with self; [py setuptools];
1491 propagatedBuildInputs = with self; [py setuptools];
1505 src = fetchurl {
1492 src = fetchurl {
1506 url = "https://pypi.python.org/packages/72/2b/2d3155e01f45a5a04427857352ee88220ee39550b2bc078f9db3190aea46/pytest-3.1.2.tar.gz";
1493 url = "https://pypi.python.org/packages/72/2b/2d3155e01f45a5a04427857352ee88220ee39550b2bc078f9db3190aea46/pytest-3.1.2.tar.gz";
1507 md5 = "c4d179f89043cc925e1c169d03128e02";
1494 md5 = "c4d179f89043cc925e1c169d03128e02";
1508 };
1495 };
1509 meta = {
1496 meta = {
1510 license = [ pkgs.lib.licenses.mit ];
1497 license = [ pkgs.lib.licenses.mit ];
1511 };
1498 };
1512 };
1499 };
1513 pytest-catchlog = super.buildPythonPackage {
1500 pytest-catchlog = super.buildPythonPackage {
1514 name = "pytest-catchlog-1.2.2";
1501 name = "pytest-catchlog-1.2.2";
1515 buildInputs = with self; [];
1502 buildInputs = with self; [];
1516 doCheck = false;
1503 doCheck = false;
1517 propagatedBuildInputs = with self; [py pytest];
1504 propagatedBuildInputs = with self; [py pytest];
1518 src = fetchurl {
1505 src = fetchurl {
1519 url = "https://pypi.python.org/packages/f2/2b/2faccdb1a978fab9dd0bf31cca9f6847fbe9184a0bdcc3011ac41dd44191/pytest-catchlog-1.2.2.zip";
1506 url = "https://pypi.python.org/packages/f2/2b/2faccdb1a978fab9dd0bf31cca9f6847fbe9184a0bdcc3011ac41dd44191/pytest-catchlog-1.2.2.zip";
1520 md5 = "09d890c54c7456c818102b7ff8c182c8";
1507 md5 = "09d890c54c7456c818102b7ff8c182c8";
1521 };
1508 };
1522 meta = {
1509 meta = {
1523 license = [ pkgs.lib.licenses.mit ];
1510 license = [ pkgs.lib.licenses.mit ];
1524 };
1511 };
1525 };
1512 };
1526 pytest-cov = super.buildPythonPackage {
1513 pytest-cov = super.buildPythonPackage {
1527 name = "pytest-cov-2.5.1";
1514 name = "pytest-cov-2.5.1";
1528 buildInputs = with self; [];
1515 buildInputs = with self; [];
1529 doCheck = false;
1516 doCheck = false;
1530 propagatedBuildInputs = with self; [pytest coverage];
1517 propagatedBuildInputs = with self; [pytest coverage];
1531 src = fetchurl {
1518 src = fetchurl {
1532 url = "https://pypi.python.org/packages/24/b4/7290d65b2f3633db51393bdf8ae66309b37620bc3ec116c5e357e3e37238/pytest-cov-2.5.1.tar.gz";
1519 url = "https://pypi.python.org/packages/24/b4/7290d65b2f3633db51393bdf8ae66309b37620bc3ec116c5e357e3e37238/pytest-cov-2.5.1.tar.gz";
1533 md5 = "5acf38d4909e19819eb5c1754fbfc0ac";
1520 md5 = "5acf38d4909e19819eb5c1754fbfc0ac";
1534 };
1521 };
1535 meta = {
1522 meta = {
1536 license = [ pkgs.lib.licenses.bsdOriginal pkgs.lib.licenses.mit ];
1523 license = [ pkgs.lib.licenses.bsdOriginal pkgs.lib.licenses.mit ];
1537 };
1524 };
1538 };
1525 };
1539 pytest-profiling = super.buildPythonPackage {
1526 pytest-profiling = super.buildPythonPackage {
1540 name = "pytest-profiling-1.2.6";
1527 name = "pytest-profiling-1.2.6";
1541 buildInputs = with self; [];
1528 buildInputs = with self; [];
1542 doCheck = false;
1529 doCheck = false;
1543 propagatedBuildInputs = with self; [six pytest gprof2dot];
1530 propagatedBuildInputs = with self; [six pytest gprof2dot];
1544 src = fetchurl {
1531 src = fetchurl {
1545 url = "https://pypi.python.org/packages/f9/0d/df67fb9ce16c2cef201693da956321b1bccfbf9a4ead39748b9f9d1d74cb/pytest-profiling-1.2.6.tar.gz";
1532 url = "https://pypi.python.org/packages/f9/0d/df67fb9ce16c2cef201693da956321b1bccfbf9a4ead39748b9f9d1d74cb/pytest-profiling-1.2.6.tar.gz";
1546 md5 = "50eb4c66c3762a2f1a49669bedc0b894";
1533 md5 = "50eb4c66c3762a2f1a49669bedc0b894";
1547 };
1534 };
1548 meta = {
1535 meta = {
1549 license = [ pkgs.lib.licenses.mit ];
1536 license = [ pkgs.lib.licenses.mit ];
1550 };
1537 };
1551 };
1538 };
1552 pytest-runner = super.buildPythonPackage {
1539 pytest-runner = super.buildPythonPackage {
1553 name = "pytest-runner-2.11.1";
1540 name = "pytest-runner-2.11.1";
1554 buildInputs = with self; [];
1541 buildInputs = with self; [];
1555 doCheck = false;
1542 doCheck = false;
1556 propagatedBuildInputs = with self; [];
1543 propagatedBuildInputs = with self; [];
1557 src = fetchurl {
1544 src = fetchurl {
1558 url = "https://pypi.python.org/packages/9e/4d/08889e5e27a9f5d6096b9ad257f4dea1faabb03c5ded8f665ead448f5d8a/pytest-runner-2.11.1.tar.gz";
1545 url = "https://pypi.python.org/packages/9e/4d/08889e5e27a9f5d6096b9ad257f4dea1faabb03c5ded8f665ead448f5d8a/pytest-runner-2.11.1.tar.gz";
1559 md5 = "bdb73eb18eca2727944a2dcf963c5a81";
1546 md5 = "bdb73eb18eca2727944a2dcf963c5a81";
1560 };
1547 };
1561 meta = {
1548 meta = {
1562 license = [ pkgs.lib.licenses.mit ];
1549 license = [ pkgs.lib.licenses.mit ];
1563 };
1550 };
1564 };
1551 };
1565 pytest-sugar = super.buildPythonPackage {
1552 pytest-sugar = super.buildPythonPackage {
1566 name = "pytest-sugar-0.8.0";
1553 name = "pytest-sugar-0.8.0";
1567 buildInputs = with self; [];
1554 buildInputs = with self; [];
1568 doCheck = false;
1555 doCheck = false;
1569 propagatedBuildInputs = with self; [pytest termcolor];
1556 propagatedBuildInputs = with self; [pytest termcolor];
1570 src = fetchurl {
1557 src = fetchurl {
1571 url = "https://pypi.python.org/packages/a5/b0/b2773dee078f17773a5bf2dfad49b0be57b6354bbd84bbefe4313e509d87/pytest-sugar-0.8.0.tar.gz";
1558 url = "https://pypi.python.org/packages/a5/b0/b2773dee078f17773a5bf2dfad49b0be57b6354bbd84bbefe4313e509d87/pytest-sugar-0.8.0.tar.gz";
1572 md5 = "8cafbdad648068e0e44b8fc5f9faae42";
1559 md5 = "8cafbdad648068e0e44b8fc5f9faae42";
1573 };
1560 };
1574 meta = {
1561 meta = {
1575 license = [ pkgs.lib.licenses.bsdOriginal ];
1562 license = [ pkgs.lib.licenses.bsdOriginal ];
1576 };
1563 };
1577 };
1564 };
1578 pytest-timeout = super.buildPythonPackage {
1565 pytest-timeout = super.buildPythonPackage {
1579 name = "pytest-timeout-1.2.0";
1566 name = "pytest-timeout-1.2.0";
1580 buildInputs = with self; [];
1567 buildInputs = with self; [];
1581 doCheck = false;
1568 doCheck = false;
1582 propagatedBuildInputs = with self; [pytest];
1569 propagatedBuildInputs = with self; [pytest];
1583 src = fetchurl {
1570 src = fetchurl {
1584 url = "https://pypi.python.org/packages/cc/b7/b2a61365ea6b6d2e8881360ae7ed8dad0327ad2df89f2f0be4a02304deb2/pytest-timeout-1.2.0.tar.gz";
1571 url = "https://pypi.python.org/packages/cc/b7/b2a61365ea6b6d2e8881360ae7ed8dad0327ad2df89f2f0be4a02304deb2/pytest-timeout-1.2.0.tar.gz";
1585 md5 = "83607d91aa163562c7ee835da57d061d";
1572 md5 = "83607d91aa163562c7ee835da57d061d";
1586 };
1573 };
1587 meta = {
1574 meta = {
1588 license = [ pkgs.lib.licenses.mit { fullName = "DFSG approved"; } ];
1575 license = [ pkgs.lib.licenses.mit { fullName = "DFSG approved"; } ];
1589 };
1576 };
1590 };
1577 };
1591 python-dateutil = super.buildPythonPackage {
1578 python-dateutil = super.buildPythonPackage {
1592 name = "python-dateutil-2.1";
1579 name = "python-dateutil-2.1";
1593 buildInputs = with self; [];
1580 buildInputs = with self; [];
1594 doCheck = false;
1581 doCheck = false;
1595 propagatedBuildInputs = with self; [six];
1582 propagatedBuildInputs = with self; [six];
1596 src = fetchurl {
1583 src = fetchurl {
1597 url = "https://pypi.python.org/packages/65/52/9c18dac21f174ad31b65e22d24297864a954e6fe65876eba3f5773d2da43/python-dateutil-2.1.tar.gz";
1584 url = "https://pypi.python.org/packages/65/52/9c18dac21f174ad31b65e22d24297864a954e6fe65876eba3f5773d2da43/python-dateutil-2.1.tar.gz";
1598 md5 = "1534bb15cf311f07afaa3aacba1c028b";
1585 md5 = "1534bb15cf311f07afaa3aacba1c028b";
1599 };
1586 };
1600 meta = {
1587 meta = {
1601 license = [ { fullName = "Simplified BSD"; } ];
1588 license = [ { fullName = "Simplified BSD"; } ];
1602 };
1589 };
1603 };
1590 };
1604 python-editor = super.buildPythonPackage {
1591 python-editor = super.buildPythonPackage {
1605 name = "python-editor-1.0.3";
1592 name = "python-editor-1.0.3";
1606 buildInputs = with self; [];
1593 buildInputs = with self; [];
1607 doCheck = false;
1594 doCheck = false;
1608 propagatedBuildInputs = with self; [];
1595 propagatedBuildInputs = with self; [];
1609 src = fetchurl {
1596 src = fetchurl {
1610 url = "https://pypi.python.org/packages/65/1e/adf6e000ea5dc909aa420352d6ba37f16434c8a3c2fa030445411a1ed545/python-editor-1.0.3.tar.gz";
1597 url = "https://pypi.python.org/packages/65/1e/adf6e000ea5dc909aa420352d6ba37f16434c8a3c2fa030445411a1ed545/python-editor-1.0.3.tar.gz";
1611 md5 = "0aca5f2ef176ce68e98a5b7e31372835";
1598 md5 = "0aca5f2ef176ce68e98a5b7e31372835";
1612 };
1599 };
1613 meta = {
1600 meta = {
1614 license = [ pkgs.lib.licenses.asl20 { fullName = "Apache"; } ];
1601 license = [ pkgs.lib.licenses.asl20 { fullName = "Apache"; } ];
1615 };
1602 };
1616 };
1603 };
1617 python-ldap = super.buildPythonPackage {
1604 python-ldap = super.buildPythonPackage {
1618 name = "python-ldap-2.4.40";
1605 name = "python-ldap-2.4.40";
1619 buildInputs = with self; [];
1606 buildInputs = with self; [];
1620 doCheck = false;
1607 doCheck = false;
1621 propagatedBuildInputs = with self; [setuptools];
1608 propagatedBuildInputs = with self; [setuptools];
1622 src = fetchurl {
1609 src = fetchurl {
1623 url = "https://pypi.python.org/packages/4a/d8/7d70a7469058a3987d224061a81d778951ac2b48220bdcc511e4b1b37176/python-ldap-2.4.40.tar.gz";
1610 url = "https://pypi.python.org/packages/4a/d8/7d70a7469058a3987d224061a81d778951ac2b48220bdcc511e4b1b37176/python-ldap-2.4.40.tar.gz";
1624 md5 = "aea0233f7d39b0c7549fcd310deeb0e5";
1611 md5 = "aea0233f7d39b0c7549fcd310deeb0e5";
1625 };
1612 };
1626 meta = {
1613 meta = {
1627 license = [ pkgs.lib.licenses.psfl ];
1614 license = [ pkgs.lib.licenses.psfl ];
1628 };
1615 };
1629 };
1616 };
1630 python-memcached = super.buildPythonPackage {
1617 python-memcached = super.buildPythonPackage {
1631 name = "python-memcached-1.58";
1618 name = "python-memcached-1.58";
1632 buildInputs = with self; [];
1619 buildInputs = with self; [];
1633 doCheck = false;
1620 doCheck = false;
1634 propagatedBuildInputs = with self; [six];
1621 propagatedBuildInputs = with self; [six];
1635 src = fetchurl {
1622 src = fetchurl {
1636 url = "https://pypi.python.org/packages/f7/62/14b2448cfb04427366f24104c9da97cf8ea380d7258a3233f066a951a8d8/python-memcached-1.58.tar.gz";
1623 url = "https://pypi.python.org/packages/f7/62/14b2448cfb04427366f24104c9da97cf8ea380d7258a3233f066a951a8d8/python-memcached-1.58.tar.gz";
1637 md5 = "23b258105013d14d899828d334e6b044";
1624 md5 = "23b258105013d14d899828d334e6b044";
1638 };
1625 };
1639 meta = {
1626 meta = {
1640 license = [ pkgs.lib.licenses.psfl ];
1627 license = [ pkgs.lib.licenses.psfl ];
1641 };
1628 };
1642 };
1629 };
1643 python-pam = super.buildPythonPackage {
1630 python-pam = super.buildPythonPackage {
1644 name = "python-pam-1.8.2";
1631 name = "python-pam-1.8.2";
1645 buildInputs = with self; [];
1632 buildInputs = with self; [];
1646 doCheck = false;
1633 doCheck = false;
1647 propagatedBuildInputs = with self; [];
1634 propagatedBuildInputs = with self; [];
1648 src = fetchurl {
1635 src = fetchurl {
1649 url = "https://pypi.python.org/packages/de/8c/f8f5d38b4f26893af267ea0b39023d4951705ab0413a39e0cf7cf4900505/python-pam-1.8.2.tar.gz";
1636 url = "https://pypi.python.org/packages/de/8c/f8f5d38b4f26893af267ea0b39023d4951705ab0413a39e0cf7cf4900505/python-pam-1.8.2.tar.gz";
1650 md5 = "db71b6b999246fb05d78ecfbe166629d";
1637 md5 = "db71b6b999246fb05d78ecfbe166629d";
1651 };
1638 };
1652 meta = {
1639 meta = {
1653 license = [ { fullName = "License :: OSI Approved :: MIT License"; } pkgs.lib.licenses.mit ];
1640 license = [ { fullName = "License :: OSI Approved :: MIT License"; } pkgs.lib.licenses.mit ];
1654 };
1641 };
1655 };
1642 };
1656 pytz = super.buildPythonPackage {
1643 pytz = super.buildPythonPackage {
1657 name = "pytz-2015.4";
1644 name = "pytz-2015.4";
1658 buildInputs = with self; [];
1645 buildInputs = with self; [];
1659 doCheck = false;
1646 doCheck = false;
1660 propagatedBuildInputs = with self; [];
1647 propagatedBuildInputs = with self; [];
1661 src = fetchurl {
1648 src = fetchurl {
1662 url = "https://pypi.python.org/packages/7e/1a/f43b5c92df7b156822030fed151327ea096bcf417e45acc23bd1df43472f/pytz-2015.4.zip";
1649 url = "https://pypi.python.org/packages/7e/1a/f43b5c92df7b156822030fed151327ea096bcf417e45acc23bd1df43472f/pytz-2015.4.zip";
1663 md5 = "233f2a2b370d03f9b5911700cc9ebf3c";
1650 md5 = "233f2a2b370d03f9b5911700cc9ebf3c";
1664 };
1651 };
1665 meta = {
1652 meta = {
1666 license = [ pkgs.lib.licenses.mit ];
1653 license = [ pkgs.lib.licenses.mit ];
1667 };
1654 };
1668 };
1655 };
1669 pyzmq = super.buildPythonPackage {
1656 pyzmq = super.buildPythonPackage {
1670 name = "pyzmq-14.6.0";
1657 name = "pyzmq-14.6.0";
1671 buildInputs = with self; [];
1658 buildInputs = with self; [];
1672 doCheck = false;
1659 doCheck = false;
1673 propagatedBuildInputs = with self; [];
1660 propagatedBuildInputs = with self; [];
1674 src = fetchurl {
1661 src = fetchurl {
1675 url = "https://pypi.python.org/packages/8a/3b/5463d5a9d712cd8bbdac335daece0d69f6a6792da4e3dd89956c0db4e4e6/pyzmq-14.6.0.tar.gz";
1662 url = "https://pypi.python.org/packages/8a/3b/5463d5a9d712cd8bbdac335daece0d69f6a6792da4e3dd89956c0db4e4e6/pyzmq-14.6.0.tar.gz";
1676 md5 = "395b5de95a931afa5b14c9349a5b8024";
1663 md5 = "395b5de95a931afa5b14c9349a5b8024";
1677 };
1664 };
1678 meta = {
1665 meta = {
1679 license = [ pkgs.lib.licenses.bsdOriginal { fullName = "LGPL+BSD"; } { fullName = "GNU Library or Lesser General Public License (LGPL)"; } ];
1666 license = [ pkgs.lib.licenses.bsdOriginal { fullName = "LGPL+BSD"; } { fullName = "GNU Library or Lesser General Public License (LGPL)"; } ];
1680 };
1667 };
1681 };
1668 };
1682 recaptcha-client = super.buildPythonPackage {
1669 recaptcha-client = super.buildPythonPackage {
1683 name = "recaptcha-client-1.0.6";
1670 name = "recaptcha-client-1.0.6";
1684 buildInputs = with self; [];
1671 buildInputs = with self; [];
1685 doCheck = false;
1672 doCheck = false;
1686 propagatedBuildInputs = with self; [];
1673 propagatedBuildInputs = with self; [];
1687 src = fetchurl {
1674 src = fetchurl {
1688 url = "https://pypi.python.org/packages/0a/ea/5f2fbbfd894bdac1c68ef8d92019066cfcf9fbff5fe3d728d2b5c25c8db4/recaptcha-client-1.0.6.tar.gz";
1675 url = "https://pypi.python.org/packages/0a/ea/5f2fbbfd894bdac1c68ef8d92019066cfcf9fbff5fe3d728d2b5c25c8db4/recaptcha-client-1.0.6.tar.gz";
1689 md5 = "74228180f7e1fb76c4d7089160b0d919";
1676 md5 = "74228180f7e1fb76c4d7089160b0d919";
1690 };
1677 };
1691 meta = {
1678 meta = {
1692 license = [ { fullName = "MIT/X11"; } ];
1679 license = [ { fullName = "MIT/X11"; } ];
1693 };
1680 };
1694 };
1681 };
1695 repoze.lru = super.buildPythonPackage {
1682 repoze.lru = super.buildPythonPackage {
1696 name = "repoze.lru-0.6";
1683 name = "repoze.lru-0.6";
1697 buildInputs = with self; [];
1684 buildInputs = with self; [];
1698 doCheck = false;
1685 doCheck = false;
1699 propagatedBuildInputs = with self; [];
1686 propagatedBuildInputs = with self; [];
1700 src = fetchurl {
1687 src = fetchurl {
1701 url = "https://pypi.python.org/packages/6e/1e/aa15cc90217e086dc8769872c8778b409812ff036bf021b15795638939e4/repoze.lru-0.6.tar.gz";
1688 url = "https://pypi.python.org/packages/6e/1e/aa15cc90217e086dc8769872c8778b409812ff036bf021b15795638939e4/repoze.lru-0.6.tar.gz";
1702 md5 = "2c3b64b17a8e18b405f55d46173e14dd";
1689 md5 = "2c3b64b17a8e18b405f55d46173e14dd";
1703 };
1690 };
1704 meta = {
1691 meta = {
1705 license = [ { fullName = "Repoze Public License"; } { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
1692 license = [ { fullName = "Repoze Public License"; } { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
1706 };
1693 };
1707 };
1694 };
1708 requests = super.buildPythonPackage {
1695 requests = super.buildPythonPackage {
1709 name = "requests-2.9.1";
1696 name = "requests-2.9.1";
1710 buildInputs = with self; [];
1697 buildInputs = with self; [];
1711 doCheck = false;
1698 doCheck = false;
1712 propagatedBuildInputs = with self; [];
1699 propagatedBuildInputs = with self; [];
1713 src = fetchurl {
1700 src = fetchurl {
1714 url = "https://pypi.python.org/packages/f9/6d/07c44fb1ebe04d069459a189e7dab9e4abfe9432adcd4477367c25332748/requests-2.9.1.tar.gz";
1701 url = "https://pypi.python.org/packages/f9/6d/07c44fb1ebe04d069459a189e7dab9e4abfe9432adcd4477367c25332748/requests-2.9.1.tar.gz";
1715 md5 = "0b7f480d19012ec52bab78292efd976d";
1702 md5 = "0b7f480d19012ec52bab78292efd976d";
1716 };
1703 };
1717 meta = {
1704 meta = {
1718 license = [ pkgs.lib.licenses.asl20 ];
1705 license = [ pkgs.lib.licenses.asl20 ];
1719 };
1706 };
1720 };
1707 };
1721 rhodecode-enterprise-ce = super.buildPythonPackage {
1708 rhodecode-enterprise-ce = super.buildPythonPackage {
1722 name = "rhodecode-enterprise-ce-4.9.0";
1709 name = "rhodecode-enterprise-ce-4.9.0";
1723 buildInputs = with self; [pytest py pytest-cov pytest-sugar pytest-runner pytest-catchlog pytest-profiling gprof2dot pytest-timeout mock WebTest cov-core coverage configobj];
1710 buildInputs = with self; [pytest py pytest-cov pytest-sugar pytest-runner pytest-catchlog pytest-profiling gprof2dot pytest-timeout mock WebTest cov-core coverage configobj];
1724 doCheck = true;
1711 doCheck = true;
1725 propagatedBuildInputs = with self; [Babel Beaker FormEncode Mako Markdown MarkupSafe MySQL-python Paste PasteDeploy PasteScript Pygments pygments-markdown-lexer Pylons Routes SQLAlchemy Tempita URLObject WebError WebHelpers WebHelpers2 WebOb WebTest Whoosh alembic amqplib anyjson appenlight-client authomatic cssselect celery channelstream colander decorator deform docutils gevent gunicorn infrae.cache ipython iso8601 kombu lxml msgpack-python nbconvert packaging psycopg2 py-gfm pycrypto pycurl pyparsing pyramid pyramid-debugtoolbar pyramid-mako pyramid-beaker pysqlite python-dateutil python-ldap python-memcached python-pam recaptcha-client repoze.lru requests simplejson subprocess32 waitress zope.cachedescriptors dogpile.cache dogpile.core psutil py-bcrypt];
1712 propagatedBuildInputs = with self; [Babel Beaker FormEncode Mako Markdown MarkupSafe MySQL-python Paste PasteDeploy PasteScript Pygments pygments-markdown-lexer Pylons Routes SQLAlchemy Tempita URLObject WebError WebHelpers WebHelpers2 WebOb WebTest Whoosh alembic amqplib anyjson appenlight-client authomatic cssselect celery channelstream colander decorator deform docutils gevent gunicorn infrae.cache ipython iso8601 kombu lxml msgpack-python nbconvert packaging psycopg2 py-gfm pycrypto pycurl pyparsing pyramid pyramid-debugtoolbar pyramid-mako pyramid-beaker pysqlite python-dateutil python-ldap python-memcached python-pam recaptcha-client repoze.lru requests simplejson sshpubkeys subprocess32 waitress zope.cachedescriptors dogpile.cache dogpile.core psutil py-bcrypt];
1726 src = ./.;
1713 src = ./.;
1727 meta = {
1714 meta = {
1728 license = [ { fullName = "Affero GNU General Public License v3 or later (AGPLv3+)"; } { fullName = "AGPLv3, and Commercial License"; } ];
1715 license = [ { fullName = "Affero GNU General Public License v3 or later (AGPLv3+)"; } { fullName = "AGPLv3, and Commercial License"; } ];
1729 };
1716 };
1730 };
1717 };
1731 rhodecode-tools = super.buildPythonPackage {
1718 rhodecode-tools = super.buildPythonPackage {
1732 name = "rhodecode-tools-0.12.0";
1719 name = "rhodecode-tools-0.12.0";
1733 buildInputs = with self; [];
1720 buildInputs = with self; [];
1734 doCheck = false;
1721 doCheck = false;
1735 propagatedBuildInputs = with self; [click future six Mako MarkupSafe requests elasticsearch elasticsearch-dsl urllib3 Whoosh];
1722 propagatedBuildInputs = with self; [click future six Mako MarkupSafe requests elasticsearch elasticsearch-dsl urllib3 Whoosh];
1736 src = fetchurl {
1723 src = fetchurl {
1737 url = "https://code.rhodecode.com/rhodecode-tools-ce/archive/v0.12.0.tar.gz?md5=9ca040356fa7e38d3f64529a4cffdca4";
1724 url = "https://code.rhodecode.com/rhodecode-tools-ce/archive/v0.12.0.tar.gz?md5=9ca040356fa7e38d3f64529a4cffdca4";
1738 md5 = "9ca040356fa7e38d3f64529a4cffdca4";
1725 md5 = "9ca040356fa7e38d3f64529a4cffdca4";
1739 };
1726 };
1740 meta = {
1727 meta = {
1741 license = [ { fullName = "AGPLv3 and Proprietary"; } ];
1728 license = [ { fullName = "AGPLv3 and Proprietary"; } ];
1742 };
1729 };
1743 };
1730 };
1744 scandir = super.buildPythonPackage {
1731 scandir = super.buildPythonPackage {
1745 name = "scandir-1.5";
1732 name = "scandir-1.5";
1746 buildInputs = with self; [];
1733 buildInputs = with self; [];
1747 doCheck = false;
1734 doCheck = false;
1748 propagatedBuildInputs = with self; [];
1735 propagatedBuildInputs = with self; [];
1749 src = fetchurl {
1736 src = fetchurl {
1750 url = "https://pypi.python.org/packages/bd/f4/3143e0289faf0883228017dbc6387a66d0b468df646645e29e1eb89ea10e/scandir-1.5.tar.gz";
1737 url = "https://pypi.python.org/packages/bd/f4/3143e0289faf0883228017dbc6387a66d0b468df646645e29e1eb89ea10e/scandir-1.5.tar.gz";
1751 md5 = "a2713043de681bba6b084be42e7a8a44";
1738 md5 = "a2713043de681bba6b084be42e7a8a44";
1752 };
1739 };
1753 meta = {
1740 meta = {
1754 license = [ pkgs.lib.licenses.bsdOriginal { fullName = "New BSD License"; } ];
1741 license = [ pkgs.lib.licenses.bsdOriginal { fullName = "New BSD License"; } ];
1755 };
1742 };
1756 };
1743 };
1757 setproctitle = super.buildPythonPackage {
1744 setproctitle = super.buildPythonPackage {
1758 name = "setproctitle-1.1.8";
1745 name = "setproctitle-1.1.8";
1759 buildInputs = with self; [];
1746 buildInputs = with self; [];
1760 doCheck = false;
1747 doCheck = false;
1761 propagatedBuildInputs = with self; [];
1748 propagatedBuildInputs = with self; [];
1762 src = fetchurl {
1749 src = fetchurl {
1763 url = "https://pypi.python.org/packages/33/c3/ad367a4f4f1ca90468863ae727ac62f6edb558fc09a003d344a02cfc6ea6/setproctitle-1.1.8.tar.gz";
1750 url = "https://pypi.python.org/packages/33/c3/ad367a4f4f1ca90468863ae727ac62f6edb558fc09a003d344a02cfc6ea6/setproctitle-1.1.8.tar.gz";
1764 md5 = "728f4c8c6031bbe56083a48594027edd";
1751 md5 = "728f4c8c6031bbe56083a48594027edd";
1765 };
1752 };
1766 meta = {
1753 meta = {
1767 license = [ pkgs.lib.licenses.bsdOriginal ];
1754 license = [ pkgs.lib.licenses.bsdOriginal ];
1768 };
1755 };
1769 };
1756 };
1770 setuptools = super.buildPythonPackage {
1757 setuptools = super.buildPythonPackage {
1771 name = "setuptools-30.1.0";
1758 name = "setuptools-30.1.0";
1772 buildInputs = with self; [];
1759 buildInputs = with self; [];
1773 doCheck = false;
1760 doCheck = false;
1774 propagatedBuildInputs = with self; [];
1761 propagatedBuildInputs = with self; [];
1775 src = fetchurl {
1762 src = fetchurl {
1776 url = "https://pypi.python.org/packages/1e/43/002c8616db9a3e7be23c2556e39b90a32bb40ba0dc652de1999d5334d372/setuptools-30.1.0.tar.gz";
1763 url = "https://pypi.python.org/packages/1e/43/002c8616db9a3e7be23c2556e39b90a32bb40ba0dc652de1999d5334d372/setuptools-30.1.0.tar.gz";
1777 md5 = "cac497f42e5096ac8df29e38d3f81c3e";
1764 md5 = "cac497f42e5096ac8df29e38d3f81c3e";
1778 };
1765 };
1779 meta = {
1766 meta = {
1780 license = [ pkgs.lib.licenses.mit ];
1767 license = [ pkgs.lib.licenses.mit ];
1781 };
1768 };
1782 };
1769 };
1783 setuptools-scm = super.buildPythonPackage {
1770 setuptools-scm = super.buildPythonPackage {
1784 name = "setuptools-scm-1.15.0";
1771 name = "setuptools-scm-1.15.0";
1785 buildInputs = with self; [];
1772 buildInputs = with self; [];
1786 doCheck = false;
1773 doCheck = false;
1787 propagatedBuildInputs = with self; [];
1774 propagatedBuildInputs = with self; [];
1788 src = fetchurl {
1775 src = fetchurl {
1789 url = "https://pypi.python.org/packages/80/b7/31b6ae5fcb188e37f7e31abe75f9be90490a5456a72860fa6e643f8a3cbc/setuptools_scm-1.15.0.tar.gz";
1776 url = "https://pypi.python.org/packages/80/b7/31b6ae5fcb188e37f7e31abe75f9be90490a5456a72860fa6e643f8a3cbc/setuptools_scm-1.15.0.tar.gz";
1790 md5 = "b6916c78ed6253d6602444fad4279c5b";
1777 md5 = "b6916c78ed6253d6602444fad4279c5b";
1791 };
1778 };
1792 meta = {
1779 meta = {
1793 license = [ pkgs.lib.licenses.mit ];
1780 license = [ pkgs.lib.licenses.mit ];
1794 };
1781 };
1795 };
1782 };
1796 simplegeneric = super.buildPythonPackage {
1783 simplegeneric = super.buildPythonPackage {
1797 name = "simplegeneric-0.8.1";
1784 name = "simplegeneric-0.8.1";
1798 buildInputs = with self; [];
1785 buildInputs = with self; [];
1799 doCheck = false;
1786 doCheck = false;
1800 propagatedBuildInputs = with self; [];
1787 propagatedBuildInputs = with self; [];
1801 src = fetchurl {
1788 src = fetchurl {
1802 url = "https://pypi.python.org/packages/3d/57/4d9c9e3ae9a255cd4e1106bb57e24056d3d0709fc01b2e3e345898e49d5b/simplegeneric-0.8.1.zip";
1789 url = "https://pypi.python.org/packages/3d/57/4d9c9e3ae9a255cd4e1106bb57e24056d3d0709fc01b2e3e345898e49d5b/simplegeneric-0.8.1.zip";
1803 md5 = "f9c1fab00fd981be588fc32759f474e3";
1790 md5 = "f9c1fab00fd981be588fc32759f474e3";
1804 };
1791 };
1805 meta = {
1792 meta = {
1806 license = [ pkgs.lib.licenses.zpt21 ];
1793 license = [ pkgs.lib.licenses.zpt21 ];
1807 };
1794 };
1808 };
1795 };
1809 simplejson = super.buildPythonPackage {
1796 simplejson = super.buildPythonPackage {
1810 name = "simplejson-3.11.1";
1797 name = "simplejson-3.11.1";
1811 buildInputs = with self; [];
1798 buildInputs = with self; [];
1812 doCheck = false;
1799 doCheck = false;
1813 propagatedBuildInputs = with self; [];
1800 propagatedBuildInputs = with self; [];
1814 src = fetchurl {
1801 src = fetchurl {
1815 url = "https://pypi.python.org/packages/08/48/c97b668d6da7d7bebe7ea1817a6f76394b0ec959cb04214ca833c34359df/simplejson-3.11.1.tar.gz";
1802 url = "https://pypi.python.org/packages/08/48/c97b668d6da7d7bebe7ea1817a6f76394b0ec959cb04214ca833c34359df/simplejson-3.11.1.tar.gz";
1816 md5 = "6e2f1bd5fb0a926facf5d89d217a7183";
1803 md5 = "6e2f1bd5fb0a926facf5d89d217a7183";
1817 };
1804 };
1818 meta = {
1805 meta = {
1819 license = [ { fullName = "Academic Free License (AFL)"; } pkgs.lib.licenses.mit ];
1806 license = [ { fullName = "Academic Free License (AFL)"; } pkgs.lib.licenses.mit ];
1820 };
1807 };
1821 };
1808 };
1822 six = super.buildPythonPackage {
1809 six = super.buildPythonPackage {
1823 name = "six-1.9.0";
1810 name = "six-1.9.0";
1824 buildInputs = with self; [];
1811 buildInputs = with self; [];
1825 doCheck = false;
1812 doCheck = false;
1826 propagatedBuildInputs = with self; [];
1813 propagatedBuildInputs = with self; [];
1827 src = fetchurl {
1814 src = fetchurl {
1828 url = "https://pypi.python.org/packages/16/64/1dc5e5976b17466fd7d712e59cbe9fb1e18bec153109e5ba3ed6c9102f1a/six-1.9.0.tar.gz";
1815 url = "https://pypi.python.org/packages/16/64/1dc5e5976b17466fd7d712e59cbe9fb1e18bec153109e5ba3ed6c9102f1a/six-1.9.0.tar.gz";
1829 md5 = "476881ef4012262dfc8adc645ee786c4";
1816 md5 = "476881ef4012262dfc8adc645ee786c4";
1830 };
1817 };
1831 meta = {
1818 meta = {
1832 license = [ pkgs.lib.licenses.mit ];
1819 license = [ pkgs.lib.licenses.mit ];
1833 };
1820 };
1834 };
1821 };
1822 sshpubkeys = super.buildPythonPackage {
1823 name = "sshpubkeys-2.2.0";
1824 buildInputs = with self; [];
1825 doCheck = false;
1826 propagatedBuildInputs = with self; [pycrypto ecdsa];
1827 src = fetchurl {
1828 url = "https://pypi.python.org/packages/27/da/337fabeb3dca6b62039a93ceaa636f25065e0ae92b575b1235342076cf0a/sshpubkeys-2.2.0.tar.gz";
1829 md5 = "458e45f6b92b1afa84f0ffe1f1c90935";
1830 };
1831 meta = {
1832 license = [ pkgs.lib.licenses.bsdOriginal ];
1833 };
1834 };
1835 subprocess32 = super.buildPythonPackage {
1835 subprocess32 = super.buildPythonPackage {
1836 name = "subprocess32-3.2.7";
1836 name = "subprocess32-3.2.7";
1837 buildInputs = with self; [];
1837 buildInputs = with self; [];
1838 doCheck = false;
1838 doCheck = false;
1839 propagatedBuildInputs = with self; [];
1839 propagatedBuildInputs = with self; [];
1840 src = fetchurl {
1840 src = fetchurl {
1841 url = "https://pypi.python.org/packages/b8/2f/49e53b0d0e94611a2dc624a1ad24d41b6d94d0f1b0a078443407ea2214c2/subprocess32-3.2.7.tar.gz";
1841 url = "https://pypi.python.org/packages/b8/2f/49e53b0d0e94611a2dc624a1ad24d41b6d94d0f1b0a078443407ea2214c2/subprocess32-3.2.7.tar.gz";
1842 md5 = "824c801e479d3e916879aae3e9c15e16";
1842 md5 = "824c801e479d3e916879aae3e9c15e16";
1843 };
1843 };
1844 meta = {
1844 meta = {
1845 license = [ pkgs.lib.licenses.psfl ];
1845 license = [ pkgs.lib.licenses.psfl ];
1846 };
1846 };
1847 };
1847 };
1848 supervisor = super.buildPythonPackage {
1848 supervisor = super.buildPythonPackage {
1849 name = "supervisor-3.3.2";
1849 name = "supervisor-3.3.2";
1850 buildInputs = with self; [];
1850 buildInputs = with self; [];
1851 doCheck = false;
1851 doCheck = false;
1852 propagatedBuildInputs = with self; [meld3];
1852 propagatedBuildInputs = with self; [meld3];
1853 src = fetchurl {
1853 src = fetchurl {
1854 url = "https://pypi.python.org/packages/7b/17/88adf8cb25f80e2bc0d18e094fcd7ab300632ea00b601cbbbb84c2419eae/supervisor-3.3.2.tar.gz";
1854 url = "https://pypi.python.org/packages/7b/17/88adf8cb25f80e2bc0d18e094fcd7ab300632ea00b601cbbbb84c2419eae/supervisor-3.3.2.tar.gz";
1855 md5 = "04766d62864da13d6a12f7429e75314f";
1855 md5 = "04766d62864da13d6a12f7429e75314f";
1856 };
1856 };
1857 meta = {
1857 meta = {
1858 license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
1858 license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
1859 };
1859 };
1860 };
1860 };
1861 termcolor = super.buildPythonPackage {
1861 termcolor = super.buildPythonPackage {
1862 name = "termcolor-1.1.0";
1862 name = "termcolor-1.1.0";
1863 buildInputs = with self; [];
1863 buildInputs = with self; [];
1864 doCheck = false;
1864 doCheck = false;
1865 propagatedBuildInputs = with self; [];
1865 propagatedBuildInputs = with self; [];
1866 src = fetchurl {
1866 src = fetchurl {
1867 url = "https://pypi.python.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz";
1867 url = "https://pypi.python.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz";
1868 md5 = "043e89644f8909d462fbbfa511c768df";
1868 md5 = "043e89644f8909d462fbbfa511c768df";
1869 };
1869 };
1870 meta = {
1870 meta = {
1871 license = [ pkgs.lib.licenses.mit ];
1871 license = [ pkgs.lib.licenses.mit ];
1872 };
1872 };
1873 };
1873 };
1874 testpath = super.buildPythonPackage {
1874 testpath = super.buildPythonPackage {
1875 name = "testpath-0.3.1";
1875 name = "testpath-0.3.1";
1876 buildInputs = with self; [];
1876 buildInputs = with self; [];
1877 doCheck = false;
1877 doCheck = false;
1878 propagatedBuildInputs = with self; [];
1878 propagatedBuildInputs = with self; [];
1879 src = fetchurl {
1879 src = fetchurl {
1880 url = "https://pypi.python.org/packages/f4/8b/b71e9ee10e5f751e9d959bc750ab122ba04187f5aa52aabdc4e63b0e31a7/testpath-0.3.1.tar.gz";
1880 url = "https://pypi.python.org/packages/f4/8b/b71e9ee10e5f751e9d959bc750ab122ba04187f5aa52aabdc4e63b0e31a7/testpath-0.3.1.tar.gz";
1881 md5 = "2cd5ed5522fda781bb497c9d80ae2fc9";
1881 md5 = "2cd5ed5522fda781bb497c9d80ae2fc9";
1882 };
1882 };
1883 meta = {
1883 meta = {
1884 license = [ pkgs.lib.licenses.mit ];
1884 license = [ pkgs.lib.licenses.mit ];
1885 };
1885 };
1886 };
1886 };
1887 traitlets = super.buildPythonPackage {
1887 traitlets = super.buildPythonPackage {
1888 name = "traitlets-4.3.2";
1888 name = "traitlets-4.3.2";
1889 buildInputs = with self; [];
1889 buildInputs = with self; [];
1890 doCheck = false;
1890 doCheck = false;
1891 propagatedBuildInputs = with self; [ipython-genutils six decorator enum34];
1891 propagatedBuildInputs = with self; [ipython-genutils six decorator enum34];
1892 src = fetchurl {
1892 src = fetchurl {
1893 url = "https://pypi.python.org/packages/a5/98/7f5ef2fe9e9e071813aaf9cb91d1a732e0a68b6c44a32b38cb8e14c3f069/traitlets-4.3.2.tar.gz";
1893 url = "https://pypi.python.org/packages/a5/98/7f5ef2fe9e9e071813aaf9cb91d1a732e0a68b6c44a32b38cb8e14c3f069/traitlets-4.3.2.tar.gz";
1894 md5 = "3068663f2f38fd939a9eb3a500ccc154";
1894 md5 = "3068663f2f38fd939a9eb3a500ccc154";
1895 };
1895 };
1896 meta = {
1896 meta = {
1897 license = [ pkgs.lib.licenses.bsdOriginal ];
1897 license = [ pkgs.lib.licenses.bsdOriginal ];
1898 };
1898 };
1899 };
1899 };
1900 transifex-client = super.buildPythonPackage {
1900 transifex-client = super.buildPythonPackage {
1901 name = "transifex-client-0.10";
1901 name = "transifex-client-0.10";
1902 buildInputs = with self; [];
1902 buildInputs = with self; [];
1903 doCheck = false;
1903 doCheck = false;
1904 propagatedBuildInputs = with self; [];
1904 propagatedBuildInputs = with self; [];
1905 src = fetchurl {
1905 src = fetchurl {
1906 url = "https://pypi.python.org/packages/f3/4e/7b925192aee656fb3e04fa6381c8b3dc40198047c3b4a356f6cfd642c809/transifex-client-0.10.tar.gz";
1906 url = "https://pypi.python.org/packages/f3/4e/7b925192aee656fb3e04fa6381c8b3dc40198047c3b4a356f6cfd642c809/transifex-client-0.10.tar.gz";
1907 md5 = "5549538d84b8eede6b254cd81ae024fa";
1907 md5 = "5549538d84b8eede6b254cd81ae024fa";
1908 };
1908 };
1909 meta = {
1909 meta = {
1910 license = [ pkgs.lib.licenses.gpl2 ];
1910 license = [ pkgs.lib.licenses.gpl2 ];
1911 };
1911 };
1912 };
1912 };
1913 translationstring = super.buildPythonPackage {
1913 translationstring = super.buildPythonPackage {
1914 name = "translationstring-1.3";
1914 name = "translationstring-1.3";
1915 buildInputs = with self; [];
1915 buildInputs = with self; [];
1916 doCheck = false;
1916 doCheck = false;
1917 propagatedBuildInputs = with self; [];
1917 propagatedBuildInputs = with self; [];
1918 src = fetchurl {
1918 src = fetchurl {
1919 url = "https://pypi.python.org/packages/5e/eb/bee578cc150b44c653b63f5ebe258b5d0d812ddac12497e5f80fcad5d0b4/translationstring-1.3.tar.gz";
1919 url = "https://pypi.python.org/packages/5e/eb/bee578cc150b44c653b63f5ebe258b5d0d812ddac12497e5f80fcad5d0b4/translationstring-1.3.tar.gz";
1920 md5 = "a4b62e0f3c189c783a1685b3027f7c90";
1920 md5 = "a4b62e0f3c189c783a1685b3027f7c90";
1921 };
1921 };
1922 meta = {
1922 meta = {
1923 license = [ { fullName = "BSD-like (http://repoze.org/license.html)"; } ];
1923 license = [ { fullName = "BSD-like (http://repoze.org/license.html)"; } ];
1924 };
1924 };
1925 };
1925 };
1926 trollius = super.buildPythonPackage {
1926 trollius = super.buildPythonPackage {
1927 name = "trollius-1.0.4";
1927 name = "trollius-1.0.4";
1928 buildInputs = with self; [];
1928 buildInputs = with self; [];
1929 doCheck = false;
1929 doCheck = false;
1930 propagatedBuildInputs = with self; [futures];
1930 propagatedBuildInputs = with self; [futures];
1931 src = fetchurl {
1931 src = fetchurl {
1932 url = "https://pypi.python.org/packages/aa/e6/4141db437f55e6ee7a3fb69663239e3fde7841a811b4bef293145ad6c836/trollius-1.0.4.tar.gz";
1932 url = "https://pypi.python.org/packages/aa/e6/4141db437f55e6ee7a3fb69663239e3fde7841a811b4bef293145ad6c836/trollius-1.0.4.tar.gz";
1933 md5 = "3631a464d49d0cbfd30ab2918ef2b783";
1933 md5 = "3631a464d49d0cbfd30ab2918ef2b783";
1934 };
1934 };
1935 meta = {
1935 meta = {
1936 license = [ pkgs.lib.licenses.asl20 ];
1936 license = [ pkgs.lib.licenses.asl20 ];
1937 };
1937 };
1938 };
1938 };
1939 uWSGI = super.buildPythonPackage {
1939 uWSGI = super.buildPythonPackage {
1940 name = "uWSGI-2.0.15";
1940 name = "uWSGI-2.0.15";
1941 buildInputs = with self; [];
1941 buildInputs = with self; [];
1942 doCheck = false;
1942 doCheck = false;
1943 propagatedBuildInputs = with self; [];
1943 propagatedBuildInputs = with self; [];
1944 src = fetchurl {
1944 src = fetchurl {
1945 url = "https://pypi.python.org/packages/bb/0a/45e5aa80dc135889594bb371c082d20fb7ee7303b174874c996888cc8511/uwsgi-2.0.15.tar.gz";
1945 url = "https://pypi.python.org/packages/bb/0a/45e5aa80dc135889594bb371c082d20fb7ee7303b174874c996888cc8511/uwsgi-2.0.15.tar.gz";
1946 md5 = "fc50bd9e83b7602fa474b032167010a7";
1946 md5 = "fc50bd9e83b7602fa474b032167010a7";
1947 };
1947 };
1948 meta = {
1948 meta = {
1949 license = [ pkgs.lib.licenses.gpl2 ];
1949 license = [ pkgs.lib.licenses.gpl2 ];
1950 };
1950 };
1951 };
1951 };
1952 urllib3 = super.buildPythonPackage {
1952 urllib3 = super.buildPythonPackage {
1953 name = "urllib3-1.16";
1953 name = "urllib3-1.16";
1954 buildInputs = with self; [];
1954 buildInputs = with self; [];
1955 doCheck = false;
1955 doCheck = false;
1956 propagatedBuildInputs = with self; [];
1956 propagatedBuildInputs = with self; [];
1957 src = fetchurl {
1957 src = fetchurl {
1958 url = "https://pypi.python.org/packages/3b/f0/e763169124e3f5db0926bc3dbfcd580a105f9ca44cf5d8e6c7a803c9f6b5/urllib3-1.16.tar.gz";
1958 url = "https://pypi.python.org/packages/3b/f0/e763169124e3f5db0926bc3dbfcd580a105f9ca44cf5d8e6c7a803c9f6b5/urllib3-1.16.tar.gz";
1959 md5 = "fcaab1c5385c57deeb7053d3d7d81d59";
1959 md5 = "fcaab1c5385c57deeb7053d3d7d81d59";
1960 };
1960 };
1961 meta = {
1961 meta = {
1962 license = [ pkgs.lib.licenses.mit ];
1962 license = [ pkgs.lib.licenses.mit ];
1963 };
1963 };
1964 };
1964 };
1965 venusian = super.buildPythonPackage {
1965 venusian = super.buildPythonPackage {
1966 name = "venusian-1.1.0";
1966 name = "venusian-1.1.0";
1967 buildInputs = with self; [];
1967 buildInputs = with self; [];
1968 doCheck = false;
1968 doCheck = false;
1969 propagatedBuildInputs = with self; [];
1969 propagatedBuildInputs = with self; [];
1970 src = fetchurl {
1970 src = fetchurl {
1971 url = "https://pypi.python.org/packages/38/24/b4b470ab9e0a2e2e9b9030c7735828c8934b4c6b45befd1bb713ec2aeb2d/venusian-1.1.0.tar.gz";
1971 url = "https://pypi.python.org/packages/38/24/b4b470ab9e0a2e2e9b9030c7735828c8934b4c6b45befd1bb713ec2aeb2d/venusian-1.1.0.tar.gz";
1972 md5 = "56bc5e6756e4bda37bcdb94f74a72b8f";
1972 md5 = "56bc5e6756e4bda37bcdb94f74a72b8f";
1973 };
1973 };
1974 meta = {
1974 meta = {
1975 license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
1975 license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
1976 };
1976 };
1977 };
1977 };
1978 waitress = super.buildPythonPackage {
1978 waitress = super.buildPythonPackage {
1979 name = "waitress-1.0.2";
1979 name = "waitress-1.0.2";
1980 buildInputs = with self; [];
1980 buildInputs = with self; [];
1981 doCheck = false;
1981 doCheck = false;
1982 propagatedBuildInputs = with self; [];
1982 propagatedBuildInputs = with self; [];
1983 src = fetchurl {
1983 src = fetchurl {
1984 url = "https://pypi.python.org/packages/cd/f4/400d00863afa1e03618e31fd7e2092479a71b8c9718b00eb1eeb603746c6/waitress-1.0.2.tar.gz";
1984 url = "https://pypi.python.org/packages/cd/f4/400d00863afa1e03618e31fd7e2092479a71b8c9718b00eb1eeb603746c6/waitress-1.0.2.tar.gz";
1985 md5 = "b968f39e95d609f6194c6e50425d4bb7";
1985 md5 = "b968f39e95d609f6194c6e50425d4bb7";
1986 };
1986 };
1987 meta = {
1987 meta = {
1988 license = [ pkgs.lib.licenses.zpt21 ];
1988 license = [ pkgs.lib.licenses.zpt21 ];
1989 };
1989 };
1990 };
1990 };
1991 wcwidth = super.buildPythonPackage {
1991 wcwidth = super.buildPythonPackage {
1992 name = "wcwidth-0.1.7";
1992 name = "wcwidth-0.1.7";
1993 buildInputs = with self; [];
1993 buildInputs = with self; [];
1994 doCheck = false;
1994 doCheck = false;
1995 propagatedBuildInputs = with self; [];
1995 propagatedBuildInputs = with self; [];
1996 src = fetchurl {
1996 src = fetchurl {
1997 url = "https://pypi.python.org/packages/55/11/e4a2bb08bb450fdbd42cc709dd40de4ed2c472cf0ccb9e64af22279c5495/wcwidth-0.1.7.tar.gz";
1997 url = "https://pypi.python.org/packages/55/11/e4a2bb08bb450fdbd42cc709dd40de4ed2c472cf0ccb9e64af22279c5495/wcwidth-0.1.7.tar.gz";
1998 md5 = "b3b6a0a08f0c8a34d1de8cf44150a4ad";
1998 md5 = "b3b6a0a08f0c8a34d1de8cf44150a4ad";
1999 };
1999 };
2000 meta = {
2000 meta = {
2001 license = [ pkgs.lib.licenses.mit ];
2001 license = [ pkgs.lib.licenses.mit ];
2002 };
2002 };
2003 };
2003 };
2004 ws4py = super.buildPythonPackage {
2004 ws4py = super.buildPythonPackage {
2005 name = "ws4py-0.3.5";
2005 name = "ws4py-0.3.5";
2006 buildInputs = with self; [];
2006 buildInputs = with self; [];
2007 doCheck = false;
2007 doCheck = false;
2008 propagatedBuildInputs = with self; [];
2008 propagatedBuildInputs = with self; [];
2009 src = fetchurl {
2009 src = fetchurl {
2010 url = "https://pypi.python.org/packages/b6/4f/34af703be86939629479e74d6e650e39f3bd73b3b09212c34e5125764cbc/ws4py-0.3.5.zip";
2010 url = "https://pypi.python.org/packages/b6/4f/34af703be86939629479e74d6e650e39f3bd73b3b09212c34e5125764cbc/ws4py-0.3.5.zip";
2011 md5 = "a261b75c20b980e55ce7451a3576a867";
2011 md5 = "a261b75c20b980e55ce7451a3576a867";
2012 };
2012 };
2013 meta = {
2013 meta = {
2014 license = [ pkgs.lib.licenses.bsdOriginal ];
2014 license = [ pkgs.lib.licenses.bsdOriginal ];
2015 };
2015 };
2016 };
2016 };
2017 wsgiref = super.buildPythonPackage {
2017 wsgiref = super.buildPythonPackage {
2018 name = "wsgiref-0.1.2";
2018 name = "wsgiref-0.1.2";
2019 buildInputs = with self; [];
2019 buildInputs = with self; [];
2020 doCheck = false;
2020 doCheck = false;
2021 propagatedBuildInputs = with self; [];
2021 propagatedBuildInputs = with self; [];
2022 src = fetchurl {
2022 src = fetchurl {
2023 url = "https://pypi.python.org/packages/41/9e/309259ce8dff8c596e8c26df86dbc4e848b9249fd36797fd60be456f03fc/wsgiref-0.1.2.zip";
2023 url = "https://pypi.python.org/packages/41/9e/309259ce8dff8c596e8c26df86dbc4e848b9249fd36797fd60be456f03fc/wsgiref-0.1.2.zip";
2024 md5 = "29b146e6ebd0f9fb119fe321f7bcf6cb";
2024 md5 = "29b146e6ebd0f9fb119fe321f7bcf6cb";
2025 };
2025 };
2026 meta = {
2026 meta = {
2027 license = [ { fullName = "PSF or ZPL"; } ];
2027 license = [ { fullName = "PSF or ZPL"; } ];
2028 };
2028 };
2029 };
2029 };
2030 zope.cachedescriptors = super.buildPythonPackage {
2030 zope.cachedescriptors = super.buildPythonPackage {
2031 name = "zope.cachedescriptors-4.0.0";
2031 name = "zope.cachedescriptors-4.0.0";
2032 buildInputs = with self; [];
2032 buildInputs = with self; [];
2033 doCheck = false;
2033 doCheck = false;
2034 propagatedBuildInputs = with self; [setuptools];
2034 propagatedBuildInputs = with self; [setuptools];
2035 src = fetchurl {
2035 src = fetchurl {
2036 url = "https://pypi.python.org/packages/40/33/694b6644c37f28553f4b9f20b3c3a20fb709a22574dff20b5bdffb09ecd5/zope.cachedescriptors-4.0.0.tar.gz";
2036 url = "https://pypi.python.org/packages/40/33/694b6644c37f28553f4b9f20b3c3a20fb709a22574dff20b5bdffb09ecd5/zope.cachedescriptors-4.0.0.tar.gz";
2037 md5 = "8d308de8c936792c8e758058fcb7d0f0";
2037 md5 = "8d308de8c936792c8e758058fcb7d0f0";
2038 };
2038 };
2039 meta = {
2039 meta = {
2040 license = [ pkgs.lib.licenses.zpt21 ];
2040 license = [ pkgs.lib.licenses.zpt21 ];
2041 };
2041 };
2042 };
2042 };
2043 zope.deprecation = super.buildPythonPackage {
2043 zope.deprecation = super.buildPythonPackage {
2044 name = "zope.deprecation-4.1.2";
2044 name = "zope.deprecation-4.1.2";
2045 buildInputs = with self; [];
2045 buildInputs = with self; [];
2046 doCheck = false;
2046 doCheck = false;
2047 propagatedBuildInputs = with self; [setuptools];
2047 propagatedBuildInputs = with self; [setuptools];
2048 src = fetchurl {
2048 src = fetchurl {
2049 url = "https://pypi.python.org/packages/c1/d3/3919492d5e57d8dd01b36f30b34fc8404a30577392b1eb817c303499ad20/zope.deprecation-4.1.2.tar.gz";
2049 url = "https://pypi.python.org/packages/c1/d3/3919492d5e57d8dd01b36f30b34fc8404a30577392b1eb817c303499ad20/zope.deprecation-4.1.2.tar.gz";
2050 md5 = "e9a663ded58f4f9f7881beb56cae2782";
2050 md5 = "e9a663ded58f4f9f7881beb56cae2782";
2051 };
2051 };
2052 meta = {
2052 meta = {
2053 license = [ pkgs.lib.licenses.zpt21 ];
2053 license = [ pkgs.lib.licenses.zpt21 ];
2054 };
2054 };
2055 };
2055 };
2056 zope.event = super.buildPythonPackage {
2056 zope.event = super.buildPythonPackage {
2057 name = "zope.event-4.0.3";
2057 name = "zope.event-4.0.3";
2058 buildInputs = with self; [];
2058 buildInputs = with self; [];
2059 doCheck = false;
2059 doCheck = false;
2060 propagatedBuildInputs = with self; [setuptools];
2060 propagatedBuildInputs = with self; [setuptools];
2061 src = fetchurl {
2061 src = fetchurl {
2062 url = "https://pypi.python.org/packages/c1/29/91ba884d7d6d96691df592e9e9c2bfa57a47040ec1ff47eff18c85137152/zope.event-4.0.3.tar.gz";
2062 url = "https://pypi.python.org/packages/c1/29/91ba884d7d6d96691df592e9e9c2bfa57a47040ec1ff47eff18c85137152/zope.event-4.0.3.tar.gz";
2063 md5 = "9a3780916332b18b8b85f522bcc3e249";
2063 md5 = "9a3780916332b18b8b85f522bcc3e249";
2064 };
2064 };
2065 meta = {
2065 meta = {
2066 license = [ pkgs.lib.licenses.zpt21 ];
2066 license = [ pkgs.lib.licenses.zpt21 ];
2067 };
2067 };
2068 };
2068 };
2069 zope.interface = super.buildPythonPackage {
2069 zope.interface = super.buildPythonPackage {
2070 name = "zope.interface-4.1.3";
2070 name = "zope.interface-4.1.3";
2071 buildInputs = with self; [];
2071 buildInputs = with self; [];
2072 doCheck = false;
2072 doCheck = false;
2073 propagatedBuildInputs = with self; [setuptools];
2073 propagatedBuildInputs = with self; [setuptools];
2074 src = fetchurl {
2074 src = fetchurl {
2075 url = "https://pypi.python.org/packages/9d/81/2509ca3c6f59080123c1a8a97125eb48414022618cec0e64eb1313727bfe/zope.interface-4.1.3.tar.gz";
2075 url = "https://pypi.python.org/packages/9d/81/2509ca3c6f59080123c1a8a97125eb48414022618cec0e64eb1313727bfe/zope.interface-4.1.3.tar.gz";
2076 md5 = "9ae3d24c0c7415deb249dd1a132f0f79";
2076 md5 = "9ae3d24c0c7415deb249dd1a132f0f79";
2077 };
2077 };
2078 meta = {
2078 meta = {
2079 license = [ pkgs.lib.licenses.zpt21 ];
2079 license = [ pkgs.lib.licenses.zpt21 ];
2080 };
2080 };
2081 };
2081 };
2082
2082
2083 ### Test requirements
2083 ### Test requirements
2084
2084
2085
2085
2086 }
2086 }
@@ -1,135 +1,135 b''
1 ## core
1 ## core
2 setuptools==30.1.0
2 setuptools==30.1.0
3 setuptools-scm==1.15.0
3 setuptools-scm==1.15.0
4
4
5 amqplib==1.0.2
5 amqplib==1.0.2
6 anyjson==0.3.3
6 anyjson==0.3.3
7 authomatic==0.1.0.post1
7 authomatic==0.1.0.post1
8 Babel==1.3
8 Babel==1.3
9 Beaker==1.9.0
9 Beaker==1.9.0
10 celery==2.2.10
10 celery==2.2.10
11 Chameleon==2.24
11 Chameleon==2.24
12 channelstream==0.5.2
12 channelstream==0.5.2
13 click==5.1
13 click==5.1
14 colander==1.3.3
14 colander==1.3.3
15 configobj==5.0.6
15 configobj==5.0.6
16 cssselect==1.0.1
16 cssselect==1.0.1
17 decorator==4.0.11
17 decorator==4.0.11
18 deform==2.0.4
18 deform==2.0.4
19 docutils==0.13.1
19 docutils==0.13.1
20 dogpile.cache==0.6.4
20 dogpile.cache==0.6.4
21 dogpile.core==0.4.1
21 dogpile.core==0.4.1
22 ecdsa==0.11
22 ecdsa==0.13
23 FormEncode==1.2.4
23 FormEncode==1.2.4
24 future==0.14.3
24 future==0.14.3
25 futures==3.0.2
25 futures==3.0.2
26 gnureadline==6.3.3
26 gnureadline==6.3.3
27 infrae.cache==1.0.1
27 infrae.cache==1.0.1
28 iso8601==0.1.11
28 iso8601==0.1.11
29 itsdangerous==0.24
29 itsdangerous==0.24
30 Jinja2==2.7.3
30 Jinja2==2.7.3
31 kombu==1.5.1
31 kombu==1.5.1
32 lxml==3.7.3
32 lxml==3.7.3
33 Mako==1.0.6
33 Mako==1.0.6
34 Markdown==2.6.8
34 Markdown==2.6.8
35 MarkupSafe==0.23
35 MarkupSafe==0.23
36 meld3==1.0.2
36 meld3==1.0.2
37 msgpack-python==0.4.8
37 msgpack-python==0.4.8
38 MySQL-python==1.2.5
38 MySQL-python==1.2.5
39 nose==1.3.6
39 nose==1.3.6
40 objgraph==3.1.0
40 objgraph==3.1.0
41 packaging==15.2
41 packaging==15.2
42 paramiko==1.15.1
43 Paste==2.0.3
42 Paste==2.0.3
44 PasteDeploy==1.5.2
43 PasteDeploy==1.5.2
45 PasteScript==1.7.5
44 PasteScript==1.7.5
46 pathlib2==2.3.0
45 pathlib2==2.3.0
47 psutil==4.3.1
46 psutil==4.3.1
48 psycopg2==2.7.1
47 psycopg2==2.7.1
49 py-bcrypt==0.4
48 py-bcrypt==0.4
50 pycrypto==2.6.1
49 pycrypto==2.6.1
51 pycurl==7.19.5
50 pycurl==7.19.5
52 pyflakes==0.8.1
51 pyflakes==0.8.1
53 pygments-markdown-lexer==0.1.0.dev39
52 pygments-markdown-lexer==0.1.0.dev39
54 Pygments==2.2.0
53 Pygments==2.2.0
55 pyparsing==1.5.7
54 pyparsing==1.5.7
56 pyramid-beaker==0.8
55 pyramid-beaker==0.8
57 pyramid-debugtoolbar==4.2.1
56 pyramid-debugtoolbar==4.2.1
58 pyramid-jinja2==2.5
57 pyramid-jinja2==2.5
59 pyramid-mako==1.0.2
58 pyramid-mako==1.0.2
60 pyramid==1.9.0
59 pyramid==1.9.0
61 pysqlite==2.8.3
60 pysqlite==2.8.3
62 python-dateutil==2.1
61 python-dateutil==2.1
63 python-ldap==2.4.40
62 python-ldap==2.4.40
64 python-memcached==1.58
63 python-memcached==1.58
65 python-pam==1.8.2
64 python-pam==1.8.2
66 pytz==2015.4
65 pytz==2015.4
67 pyzmq==14.6.0
66 pyzmq==14.6.0
68 recaptcha-client==1.0.6
67 recaptcha-client==1.0.6
69 repoze.lru==0.6
68 repoze.lru==0.6
70 requests==2.9.1
69 requests==2.9.1
71 Routes==1.13
70 Routes==1.13
72 setproctitle==1.1.8
71 setproctitle==1.1.8
73 simplejson==3.11.1
72 simplejson==3.11.1
74 six==1.9.0
73 six==1.9.0
75 Sphinx==1.2.2
74 Sphinx==1.2.2
76 SQLAlchemy==1.1.11
75 SQLAlchemy==1.1.11
76 sshpubkeys==2.2.0
77 subprocess32==3.2.7
77 subprocess32==3.2.7
78 supervisor==3.3.2
78 supervisor==3.3.2
79 Tempita==0.5.2
79 Tempita==0.5.2
80 translationstring==1.3
80 translationstring==1.3
81 trollius==1.0.4
81 trollius==1.0.4
82 urllib3==1.16
82 urllib3==1.16
83 URLObject==2.4.0
83 URLObject==2.4.0
84 venusian==1.1.0
84 venusian==1.1.0
85 WebError==0.10.3
85 WebError==0.10.3
86 WebHelpers2==2.0
86 WebHelpers2==2.0
87 WebHelpers==1.3
87 WebHelpers==1.3
88 WebOb==1.7.3
88 WebOb==1.7.3
89 Whoosh==2.7.4
89 Whoosh==2.7.4
90 wsgiref==0.1.2
90 wsgiref==0.1.2
91 zope.cachedescriptors==4.0.0
91 zope.cachedescriptors==4.0.0
92 zope.deprecation==4.1.2
92 zope.deprecation==4.1.2
93 zope.event==4.0.3
93 zope.event==4.0.3
94 zope.interface==4.1.3
94 zope.interface==4.1.3
95
95
96 ## customized/patched libs
96 ## customized/patched libs
97 # our patched version of Pylons==1.0.2
97 # our patched version of Pylons==1.0.2
98 https://code.rhodecode.com/upstream/pylons/archive/707354ee4261b9c10450404fc9852ccea4fd667d.tar.gz?md5=f26633726fa2cd3a340316ee6a5d218f#egg=Pylons==1.0.2.rhodecode-patch-1
98 https://code.rhodecode.com/upstream/pylons/archive/707354ee4261b9c10450404fc9852ccea4fd667d.tar.gz?md5=f26633726fa2cd3a340316ee6a5d218f#egg=Pylons==1.0.2.rhodecode-patch-1
99 # not released py-gfm==0.1.3
99 # not released py-gfm==0.1.3
100 https://code.rhodecode.com/upstream/py-gfm/archive/0d66a19bc16e3d49de273c0f797d4e4781e8c0f2.tar.gz?md5=0d0d5385bfb629eea636a80b9c2bfd16#egg=py-gfm==0.1.3.rhodecode-upstream1
100 https://code.rhodecode.com/upstream/py-gfm/archive/0d66a19bc16e3d49de273c0f797d4e4781e8c0f2.tar.gz?md5=0d0d5385bfb629eea636a80b9c2bfd16#egg=py-gfm==0.1.3.rhodecode-upstream1
101
101
102 # IPYTHON RENDERING
102 # IPYTHON RENDERING
103 # entrypoints backport, pypi version doesn't support egg installs
103 # entrypoints backport, pypi version doesn't support egg installs
104 https://code.rhodecode.com/upstream/entrypoints/archive/96e6d645684e1af3d7df5b5272f3fe85a546b233.tar.gz?md5=7db37771aea9ac9fefe093e5d6987313#egg=entrypoints==0.2.2.rhodecode-upstream1
104 https://code.rhodecode.com/upstream/entrypoints/archive/96e6d645684e1af3d7df5b5272f3fe85a546b233.tar.gz?md5=7db37771aea9ac9fefe093e5d6987313#egg=entrypoints==0.2.2.rhodecode-upstream1
105 nbconvert==5.1.1
105 nbconvert==5.1.1
106 nbformat==4.3.0
106 nbformat==4.3.0
107 jupyter_client==5.0.0
107 jupyter_client==5.0.0
108
108
109 ## cli tools
109 ## cli tools
110 alembic==0.9.2
110 alembic==0.9.2
111 invoke==0.13.0
111 invoke==0.13.0
112 bumpversion==0.5.3
112 bumpversion==0.5.3
113 transifex-client==0.10
113 transifex-client==0.10
114
114
115 ## http servers
115 ## http servers
116 gevent==1.2.2
116 gevent==1.2.2
117 greenlet==0.4.12
117 greenlet==0.4.12
118 gunicorn==19.7.1
118 gunicorn==19.7.1
119 waitress==1.0.2
119 waitress==1.0.2
120 uWSGI==2.0.15
120 uWSGI==2.0.15
121
121
122 ## debug
122 ## debug
123 ipdb==0.10.3
123 ipdb==0.10.3
124 ipython==5.1.0
124 ipython==5.1.0
125 CProfileV==1.0.7
125 CProfileV==1.0.7
126 bottle==0.12.8
126 bottle==0.12.8
127
127
128 ## rhodecode-tools, special case
128 ## rhodecode-tools, special case
129 https://code.rhodecode.com/rhodecode-tools-ce/archive/v0.12.0.tar.gz?md5=9ca040356fa7e38d3f64529a4cffdca4#egg=rhodecode-tools==0.12.0
129 https://code.rhodecode.com/rhodecode-tools-ce/archive/v0.12.0.tar.gz?md5=9ca040356fa7e38d3f64529a4cffdca4#egg=rhodecode-tools==0.12.0
130
130
131 ## appenlight
131 ## appenlight
132 appenlight-client==0.6.21
132 appenlight-client==0.6.21
133
133
134 ## test related requirements
134 ## test related requirements
135 -r requirements_test.txt
135 -r requirements_test.txt
@@ -1,63 +1,63 b''
1 # -*- coding: utf-8 -*-
1 # -*- coding: utf-8 -*-
2
2
3 # Copyright (C) 2010-2017 RhodeCode GmbH
3 # Copyright (C) 2010-2017 RhodeCode GmbH
4 #
4 #
5 # This program is free software: you can redistribute it and/or modify
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU Affero General Public License, version 3
6 # it under the terms of the GNU Affero General Public License, version 3
7 # (only), as published by the Free Software Foundation.
7 # (only), as published by the Free Software Foundation.
8 #
8 #
9 # This program is distributed in the hope that it will be useful,
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
12 # GNU General Public License for more details.
13 #
13 #
14 # You should have received a copy of the GNU Affero General Public License
14 # You should have received a copy of the GNU Affero General Public License
15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16 #
16 #
17 # This program is dual-licensed. If you wish to learn more about the
17 # This program is dual-licensed. If you wish to learn more about the
18 # RhodeCode Enterprise Edition, including its added features, Support services,
18 # RhodeCode Enterprise Edition, including its added features, Support services,
19 # and proprietary license terms, please see https://rhodecode.com/licenses/
19 # and proprietary license terms, please see https://rhodecode.com/licenses/
20
20
21 """
21 """
22
22
23 RhodeCode, a web based repository management software
23 RhodeCode, a web based repository management software
24 versioning implementation: http://www.python.org/dev/peps/pep-0386/
24 versioning implementation: http://www.python.org/dev/peps/pep-0386/
25 """
25 """
26
26
27 import os
27 import os
28 import sys
28 import sys
29 import platform
29 import platform
30
30
31 VERSION = tuple(open(os.path.join(
31 VERSION = tuple(open(os.path.join(
32 os.path.dirname(__file__), 'VERSION')).read().split('.'))
32 os.path.dirname(__file__), 'VERSION')).read().split('.'))
33
33
34 BACKENDS = {
34 BACKENDS = {
35 'hg': 'Mercurial repository',
35 'hg': 'Mercurial repository',
36 'git': 'Git repository',
36 'git': 'Git repository',
37 'svn': 'Subversion repository',
37 'svn': 'Subversion repository',
38 }
38 }
39
39
40 CELERY_ENABLED = False
40 CELERY_ENABLED = False
41 CELERY_EAGER = False
41 CELERY_EAGER = False
42
42
43 # link to config for pylons
43 # link to config for pylons
44 CONFIG = {}
44 CONFIG = {}
45
45
46 # Populated with the settings dictionary from application init in
46 # Populated with the settings dictionary from application init in
47 # rhodecode.conf.environment.load_pyramid_environment
47 # rhodecode.conf.environment.load_pyramid_environment
48 PYRAMID_SETTINGS = {}
48 PYRAMID_SETTINGS = {}
49
49
50 # Linked module for extensions
50 # Linked module for extensions
51 EXTENSIONS = {}
51 EXTENSIONS = {}
52
52
53 __version__ = ('.'.join((str(each) for each in VERSION[:3])))
53 __version__ = ('.'.join((str(each) for each in VERSION[:3])))
54 __dbversion__ = 79 # defines current db version for migrations
54 __dbversion__ = 80 # defines current db version for migrations
55 __platform__ = platform.system()
55 __platform__ = platform.system()
56 __license__ = 'AGPLv3, and Commercial License'
56 __license__ = 'AGPLv3, and Commercial License'
57 __author__ = 'RhodeCode GmbH'
57 __author__ = 'RhodeCode GmbH'
58 __url__ = 'https://code.rhodecode.com'
58 __url__ = 'https://code.rhodecode.com'
59
59
60 is_windows = __platform__ in ['Windows']
60 is_windows = __platform__ in ['Windows']
61 is_unix = not is_windows
61 is_unix = not is_windows
62 is_test = False
62 is_test = False
63 disable_error_handler = False
63 disable_error_handler = False
@@ -1,192 +1,206 b''
1 # -*- coding: utf-8 -*-
1 # -*- coding: utf-8 -*-
2
2
3 # Copyright (C) 2016-2017 RhodeCode GmbH
3 # Copyright (C) 2016-2017 RhodeCode GmbH
4 #
4 #
5 # This program is free software: you can redistribute it and/or modify
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU Affero General Public License, version 3
6 # it under the terms of the GNU Affero General Public License, version 3
7 # (only), as published by the Free Software Foundation.
7 # (only), as published by the Free Software Foundation.
8 #
8 #
9 # This program is distributed in the hope that it will be useful,
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
12 # GNU General Public License for more details.
13 #
13 #
14 # You should have received a copy of the GNU Affero General Public License
14 # You should have received a copy of the GNU Affero General Public License
15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16 #
16 #
17 # This program is dual-licensed. If you wish to learn more about the
17 # This program is dual-licensed. If you wish to learn more about the
18 # RhodeCode Enterprise Edition, including its added features, Support services,
18 # RhodeCode Enterprise Edition, including its added features, Support services,
19 # and proprietary license terms, please see https://rhodecode.com/licenses/
19 # and proprietary license terms, please see https://rhodecode.com/licenses/
20
20
21
21
22 from rhodecode.apps.admin.navigation import NavigationRegistry
22 from rhodecode.apps.admin.navigation import NavigationRegistry
23 from rhodecode.config.routing import ADMIN_PREFIX
23 from rhodecode.config.routing import ADMIN_PREFIX
24 from rhodecode.lib.utils2 import str2bool
24 from rhodecode.lib.utils2 import str2bool
25
25
26
26
27 def admin_routes(config):
27 def admin_routes(config):
28 """
28 """
29 Admin prefixed routes
29 Admin prefixed routes
30 """
30 """
31
31
32 config.add_route(
32 config.add_route(
33 name='admin_audit_logs',
33 name='admin_audit_logs',
34 pattern='/audit_logs')
34 pattern='/audit_logs')
35
35
36 config.add_route(
36 config.add_route(
37 name='pull_requests_global_0', # backward compat
37 name='pull_requests_global_0', # backward compat
38 pattern='/pull_requests/{pull_request_id:\d+}')
38 pattern='/pull_requests/{pull_request_id:\d+}')
39 config.add_route(
39 config.add_route(
40 name='pull_requests_global_1', # backward compat
40 name='pull_requests_global_1', # backward compat
41 pattern='/pull-requests/{pull_request_id:\d+}')
41 pattern='/pull-requests/{pull_request_id:\d+}')
42 config.add_route(
42 config.add_route(
43 name='pull_requests_global',
43 name='pull_requests_global',
44 pattern='/pull-request/{pull_request_id:\d+}')
44 pattern='/pull-request/{pull_request_id:\d+}')
45
45
46 config.add_route(
46 config.add_route(
47 name='admin_settings_open_source',
47 name='admin_settings_open_source',
48 pattern='/settings/open_source')
48 pattern='/settings/open_source')
49 config.add_route(
49 config.add_route(
50 name='admin_settings_vcs_svn_generate_cfg',
50 name='admin_settings_vcs_svn_generate_cfg',
51 pattern='/settings/vcs/svn_generate_cfg')
51 pattern='/settings/vcs/svn_generate_cfg')
52
52
53 config.add_route(
53 config.add_route(
54 name='admin_settings_system',
54 name='admin_settings_system',
55 pattern='/settings/system')
55 pattern='/settings/system')
56 config.add_route(
56 config.add_route(
57 name='admin_settings_system_update',
57 name='admin_settings_system_update',
58 pattern='/settings/system/updates')
58 pattern='/settings/system/updates')
59
59
60 config.add_route(
60 config.add_route(
61 name='admin_settings_sessions',
61 name='admin_settings_sessions',
62 pattern='/settings/sessions')
62 pattern='/settings/sessions')
63 config.add_route(
63 config.add_route(
64 name='admin_settings_sessions_cleanup',
64 name='admin_settings_sessions_cleanup',
65 pattern='/settings/sessions/cleanup')
65 pattern='/settings/sessions/cleanup')
66
66
67 config.add_route(
67 config.add_route(
68 name='admin_settings_process_management',
68 name='admin_settings_process_management',
69 pattern='/settings/process_management')
69 pattern='/settings/process_management')
70 config.add_route(
70 config.add_route(
71 name='admin_settings_process_management_signal',
71 name='admin_settings_process_management_signal',
72 pattern='/settings/process_management/signal')
72 pattern='/settings/process_management/signal')
73
73
74 # global permissions
74 # global permissions
75
75
76 config.add_route(
76 config.add_route(
77 name='admin_permissions_application',
77 name='admin_permissions_application',
78 pattern='/permissions/application')
78 pattern='/permissions/application')
79 config.add_route(
79 config.add_route(
80 name='admin_permissions_application_update',
80 name='admin_permissions_application_update',
81 pattern='/permissions/application/update')
81 pattern='/permissions/application/update')
82
82
83 config.add_route(
83 config.add_route(
84 name='admin_permissions_global',
84 name='admin_permissions_global',
85 pattern='/permissions/global')
85 pattern='/permissions/global')
86 config.add_route(
86 config.add_route(
87 name='admin_permissions_global_update',
87 name='admin_permissions_global_update',
88 pattern='/permissions/global/update')
88 pattern='/permissions/global/update')
89
89
90 config.add_route(
90 config.add_route(
91 name='admin_permissions_object',
91 name='admin_permissions_object',
92 pattern='/permissions/object')
92 pattern='/permissions/object')
93 config.add_route(
93 config.add_route(
94 name='admin_permissions_object_update',
94 name='admin_permissions_object_update',
95 pattern='/permissions/object/update')
95 pattern='/permissions/object/update')
96
96
97 config.add_route(
97 config.add_route(
98 name='admin_permissions_ips',
98 name='admin_permissions_ips',
99 pattern='/permissions/ips')
99 pattern='/permissions/ips')
100
100
101 config.add_route(
101 config.add_route(
102 name='admin_permissions_overview',
102 name='admin_permissions_overview',
103 pattern='/permissions/overview')
103 pattern='/permissions/overview')
104
104
105 config.add_route(
105 config.add_route(
106 name='admin_permissions_auth_token_access',
106 name='admin_permissions_auth_token_access',
107 pattern='/permissions/auth_token_access')
107 pattern='/permissions/auth_token_access')
108
108
109 # users admin
109 # users admin
110 config.add_route(
110 config.add_route(
111 name='users',
111 name='users',
112 pattern='/users')
112 pattern='/users')
113
113
114 config.add_route(
114 config.add_route(
115 name='users_data',
115 name='users_data',
116 pattern='/users_data')
116 pattern='/users_data')
117
117
118 # user auth tokens
118 # user auth tokens
119 config.add_route(
119 config.add_route(
120 name='edit_user_auth_tokens',
120 name='edit_user_auth_tokens',
121 pattern='/users/{user_id:\d+}/edit/auth_tokens')
121 pattern='/users/{user_id:\d+}/edit/auth_tokens')
122 config.add_route(
122 config.add_route(
123 name='edit_user_auth_tokens_add',
123 name='edit_user_auth_tokens_add',
124 pattern='/users/{user_id:\d+}/edit/auth_tokens/new')
124 pattern='/users/{user_id:\d+}/edit/auth_tokens/new')
125 config.add_route(
125 config.add_route(
126 name='edit_user_auth_tokens_delete',
126 name='edit_user_auth_tokens_delete',
127 pattern='/users/{user_id:\d+}/edit/auth_tokens/delete')
127 pattern='/users/{user_id:\d+}/edit/auth_tokens/delete')
128
128
129 # user ssh keys
130 config.add_route(
131 name='edit_user_ssh_keys',
132 pattern='/users/{user_id:\d+}/edit/ssh_keys')
133 config.add_route(
134 name='edit_user_ssh_keys_generate_keypair',
135 pattern='/users/{user_id:\d+}/edit/ssh_keys/generate')
136 config.add_route(
137 name='edit_user_ssh_keys_add',
138 pattern='/users/{user_id:\d+}/edit/ssh_keys/new')
139 config.add_route(
140 name='edit_user_ssh_keys_delete',
141 pattern='/users/{user_id:\d+}/edit/ssh_keys/delete')
142
129 # user emails
143 # user emails
130 config.add_route(
144 config.add_route(
131 name='edit_user_emails',
145 name='edit_user_emails',
132 pattern='/users/{user_id:\d+}/edit/emails')
146 pattern='/users/{user_id:\d+}/edit/emails')
133 config.add_route(
147 config.add_route(
134 name='edit_user_emails_add',
148 name='edit_user_emails_add',
135 pattern='/users/{user_id:\d+}/edit/emails/new')
149 pattern='/users/{user_id:\d+}/edit/emails/new')
136 config.add_route(
150 config.add_route(
137 name='edit_user_emails_delete',
151 name='edit_user_emails_delete',
138 pattern='/users/{user_id:\d+}/edit/emails/delete')
152 pattern='/users/{user_id:\d+}/edit/emails/delete')
139
153
140 # user IPs
154 # user IPs
141 config.add_route(
155 config.add_route(
142 name='edit_user_ips',
156 name='edit_user_ips',
143 pattern='/users/{user_id:\d+}/edit/ips')
157 pattern='/users/{user_id:\d+}/edit/ips')
144 config.add_route(
158 config.add_route(
145 name='edit_user_ips_add',
159 name='edit_user_ips_add',
146 pattern='/users/{user_id:\d+}/edit/ips/new')
160 pattern='/users/{user_id:\d+}/edit/ips/new')
147 config.add_route(
161 config.add_route(
148 name='edit_user_ips_delete',
162 name='edit_user_ips_delete',
149 pattern='/users/{user_id:\d+}/edit/ips/delete')
163 pattern='/users/{user_id:\d+}/edit/ips/delete')
150
164
151 # user groups management
165 # user groups management
152 config.add_route(
166 config.add_route(
153 name='edit_user_groups_management',
167 name='edit_user_groups_management',
154 pattern='/users/{user_id:\d+}/edit/groups_management')
168 pattern='/users/{user_id:\d+}/edit/groups_management')
155
169
156 config.add_route(
170 config.add_route(
157 name='edit_user_groups_management_updates',
171 name='edit_user_groups_management_updates',
158 pattern='/users/{user_id:\d+}/edit/edit_user_groups_management/updates')
172 pattern='/users/{user_id:\d+}/edit/edit_user_groups_management/updates')
159
173
160 # user audit logs
174 # user audit logs
161 config.add_route(
175 config.add_route(
162 name='edit_user_audit_logs',
176 name='edit_user_audit_logs',
163 pattern='/users/{user_id:\d+}/edit/audit')
177 pattern='/users/{user_id:\d+}/edit/audit')
164
178
165 # user groups admin
179 # user groups admin
166 config.add_route(
180 config.add_route(
167 name='user_groups',
181 name='user_groups',
168 pattern='/user_groups')
182 pattern='/user_groups')
169
183
170 config.add_route(
184 config.add_route(
171 name='user_groups_data',
185 name='user_groups_data',
172 pattern='/user_groups_data')
186 pattern='/user_groups_data')
173
187
174 config.add_route(
188 config.add_route(
175 name='user_group_members_data',
189 name='user_group_members_data',
176 pattern='/user_groups/{user_group_id:\d+}/members')
190 pattern='/user_groups/{user_group_id:\d+}/members')
177
191
178
192
179 def includeme(config):
193 def includeme(config):
180 settings = config.get_settings()
194 settings = config.get_settings()
181
195
182 # Create admin navigation registry and add it to the pyramid registry.
196 # Create admin navigation registry and add it to the pyramid registry.
183 labs_active = str2bool(settings.get('labs_settings_active', False))
197 labs_active = str2bool(settings.get('labs_settings_active', False))
184 navigation_registry = NavigationRegistry(labs_active=labs_active)
198 navigation_registry = NavigationRegistry(labs_active=labs_active)
185 config.registry.registerUtility(navigation_registry)
199 config.registry.registerUtility(navigation_registry)
186
200
187 # main admin routes
201 # main admin routes
188 config.add_route(name='admin_home', pattern=ADMIN_PREFIX)
202 config.add_route(name='admin_home', pattern=ADMIN_PREFIX)
189 config.include(admin_routes, route_prefix=ADMIN_PREFIX)
203 config.include(admin_routes, route_prefix=ADMIN_PREFIX)
190
204
191 # Scan module for configuration decorators.
205 # Scan module for configuration decorators.
192 config.scan('.views', ignore='.tests')
206 config.scan('.views', ignore='.tests')
@@ -1,510 +1,630 b''
1 # -*- coding: utf-8 -*-
1 # -*- coding: utf-8 -*-
2
2
3 # Copyright (C) 2016-2017 RhodeCode GmbH
3 # Copyright (C) 2016-2017 RhodeCode GmbH
4 #
4 #
5 # This program is free software: you can redistribute it and/or modify
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU Affero General Public License, version 3
6 # it under the terms of the GNU Affero General Public License, version 3
7 # (only), as published by the Free Software Foundation.
7 # (only), as published by the Free Software Foundation.
8 #
8 #
9 # This program is distributed in the hope that it will be useful,
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
12 # GNU General Public License for more details.
13 #
13 #
14 # You should have received a copy of the GNU Affero General Public License
14 # You should have received a copy of the GNU Affero General Public License
15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16 #
16 #
17 # This program is dual-licensed. If you wish to learn more about the
17 # This program is dual-licensed. If you wish to learn more about the
18 # RhodeCode Enterprise Edition, including its added features, Support services,
18 # RhodeCode Enterprise Edition, including its added features, Support services,
19 # and proprietary license terms, please see https://rhodecode.com/licenses/
19 # and proprietary license terms, please see https://rhodecode.com/licenses/
20
20
21 import logging
21 import logging
22 import datetime
22 import datetime
23 import formencode
23 import formencode
24
24
25 from pyramid.httpexceptions import HTTPFound
25 from pyramid.httpexceptions import HTTPFound
26 from pyramid.view import view_config
26 from pyramid.view import view_config
27 from sqlalchemy.sql.functions import coalesce
27 from sqlalchemy.sql.functions import coalesce
28 from sqlalchemy.exc import IntegrityError
28
29
29 from rhodecode.apps._base import BaseAppView, DataGridAppView
30 from rhodecode.apps._base import BaseAppView, DataGridAppView
30
31
31 from rhodecode.lib import audit_logger
32 from rhodecode.lib import audit_logger
32 from rhodecode.lib.ext_json import json
33 from rhodecode.lib.ext_json import json
33 from rhodecode.lib.auth import (
34 from rhodecode.lib.auth import (
34 LoginRequired, HasPermissionAllDecorator, CSRFRequired)
35 LoginRequired, HasPermissionAllDecorator, CSRFRequired)
35 from rhodecode.lib import helpers as h
36 from rhodecode.lib import helpers as h
36 from rhodecode.lib.utils2 import safe_int, safe_unicode
37 from rhodecode.lib.utils2 import safe_int, safe_unicode
37 from rhodecode.model.auth_token import AuthTokenModel
38 from rhodecode.model.auth_token import AuthTokenModel
39 from rhodecode.model.ssh_key import SshKeyModel
38 from rhodecode.model.user import UserModel
40 from rhodecode.model.user import UserModel
39 from rhodecode.model.user_group import UserGroupModel
41 from rhodecode.model.user_group import UserGroupModel
40 from rhodecode.model.db import User, or_, UserIpMap, UserEmailMap, UserApiKeys
42 from rhodecode.model.db import (
43 or_, User, UserIpMap, UserEmailMap, UserApiKeys, UserSshKeys)
41 from rhodecode.model.meta import Session
44 from rhodecode.model.meta import Session
42
45
43 log = logging.getLogger(__name__)
46 log = logging.getLogger(__name__)
44
47
45
48
46 class AdminUsersView(BaseAppView, DataGridAppView):
49 class AdminUsersView(BaseAppView, DataGridAppView):
47 ALLOW_SCOPED_TOKENS = False
50 ALLOW_SCOPED_TOKENS = False
48 """
51 """
49 This view has alternative version inside EE, if modified please take a look
52 This view has alternative version inside EE, if modified please take a look
50 in there as well.
53 in there as well.
51 """
54 """
52
55
53 def load_default_context(self):
56 def load_default_context(self):
54 c = self._get_local_tmpl_context()
57 c = self._get_local_tmpl_context()
55 c.allow_scoped_tokens = self.ALLOW_SCOPED_TOKENS
58 c.allow_scoped_tokens = self.ALLOW_SCOPED_TOKENS
56 self._register_global_c(c)
59 self._register_global_c(c)
57 return c
60 return c
58
61
59 def _redirect_for_default_user(self, username):
62 def _redirect_for_default_user(self, username):
60 _ = self.request.translate
63 _ = self.request.translate
61 if username == User.DEFAULT_USER:
64 if username == User.DEFAULT_USER:
62 h.flash(_("You can't edit this user"), category='warning')
65 h.flash(_("You can't edit this user"), category='warning')
63 # TODO(marcink): redirect to 'users' admin panel once this
66 # TODO(marcink): redirect to 'users' admin panel once this
64 # is a pyramid view
67 # is a pyramid view
65 raise HTTPFound('/')
68 raise HTTPFound('/')
66
69
67 @HasPermissionAllDecorator('hg.admin')
70 @HasPermissionAllDecorator('hg.admin')
68 @view_config(
71 @view_config(
69 route_name='users', request_method='GET',
72 route_name='users', request_method='GET',
70 renderer='rhodecode:templates/admin/users/users.mako')
73 renderer='rhodecode:templates/admin/users/users.mako')
71 def users_list(self):
74 def users_list(self):
72 c = self.load_default_context()
75 c = self.load_default_context()
73 return self._get_template_context(c)
76 return self._get_template_context(c)
74
77
75 @HasPermissionAllDecorator('hg.admin')
78 @HasPermissionAllDecorator('hg.admin')
76 @view_config(
79 @view_config(
77 # renderer defined below
80 # renderer defined below
78 route_name='users_data', request_method='GET',
81 route_name='users_data', request_method='GET',
79 renderer='json_ext', xhr=True)
82 renderer='json_ext', xhr=True)
80 def users_list_data(self):
83 def users_list_data(self):
81 column_map = {
84 column_map = {
82 'first_name': 'name',
85 'first_name': 'name',
83 'last_name': 'lastname',
86 'last_name': 'lastname',
84 }
87 }
85 draw, start, limit = self._extract_chunk(self.request)
88 draw, start, limit = self._extract_chunk(self.request)
86 search_q, order_by, order_dir = self._extract_ordering(
89 search_q, order_by, order_dir = self._extract_ordering(
87 self.request, column_map=column_map)
90 self.request, column_map=column_map)
88
91
89 _render = self.request.get_partial_renderer(
92 _render = self.request.get_partial_renderer(
90 'data_table/_dt_elements.mako')
93 'data_table/_dt_elements.mako')
91
94
92 def user_actions(user_id, username):
95 def user_actions(user_id, username):
93 return _render("user_actions", user_id, username)
96 return _render("user_actions", user_id, username)
94
97
95 users_data_total_count = User.query()\
98 users_data_total_count = User.query()\
96 .filter(User.username != User.DEFAULT_USER) \
99 .filter(User.username != User.DEFAULT_USER) \
97 .count()
100 .count()
98
101
99 # json generate
102 # json generate
100 base_q = User.query().filter(User.username != User.DEFAULT_USER)
103 base_q = User.query().filter(User.username != User.DEFAULT_USER)
101
104
102 if search_q:
105 if search_q:
103 like_expression = u'%{}%'.format(safe_unicode(search_q))
106 like_expression = u'%{}%'.format(safe_unicode(search_q))
104 base_q = base_q.filter(or_(
107 base_q = base_q.filter(or_(
105 User.username.ilike(like_expression),
108 User.username.ilike(like_expression),
106 User._email.ilike(like_expression),
109 User._email.ilike(like_expression),
107 User.name.ilike(like_expression),
110 User.name.ilike(like_expression),
108 User.lastname.ilike(like_expression),
111 User.lastname.ilike(like_expression),
109 ))
112 ))
110
113
111 users_data_total_filtered_count = base_q.count()
114 users_data_total_filtered_count = base_q.count()
112
115
113 sort_col = getattr(User, order_by, None)
116 sort_col = getattr(User, order_by, None)
114 if sort_col:
117 if sort_col:
115 if order_dir == 'asc':
118 if order_dir == 'asc':
116 # handle null values properly to order by NULL last
119 # handle null values properly to order by NULL last
117 if order_by in ['last_activity']:
120 if order_by in ['last_activity']:
118 sort_col = coalesce(sort_col, datetime.date.max)
121 sort_col = coalesce(sort_col, datetime.date.max)
119 sort_col = sort_col.asc()
122 sort_col = sort_col.asc()
120 else:
123 else:
121 # handle null values properly to order by NULL last
124 # handle null values properly to order by NULL last
122 if order_by in ['last_activity']:
125 if order_by in ['last_activity']:
123 sort_col = coalesce(sort_col, datetime.date.min)
126 sort_col = coalesce(sort_col, datetime.date.min)
124 sort_col = sort_col.desc()
127 sort_col = sort_col.desc()
125
128
126 base_q = base_q.order_by(sort_col)
129 base_q = base_q.order_by(sort_col)
127 base_q = base_q.offset(start).limit(limit)
130 base_q = base_q.offset(start).limit(limit)
128
131
129 users_list = base_q.all()
132 users_list = base_q.all()
130
133
131 users_data = []
134 users_data = []
132 for user in users_list:
135 for user in users_list:
133 users_data.append({
136 users_data.append({
134 "username": h.gravatar_with_user(self.request, user.username),
137 "username": h.gravatar_with_user(self.request, user.username),
135 "email": user.email,
138 "email": user.email,
136 "first_name": user.first_name,
139 "first_name": user.first_name,
137 "last_name": user.last_name,
140 "last_name": user.last_name,
138 "last_login": h.format_date(user.last_login),
141 "last_login": h.format_date(user.last_login),
139 "last_activity": h.format_date(user.last_activity),
142 "last_activity": h.format_date(user.last_activity),
140 "active": h.bool2icon(user.active),
143 "active": h.bool2icon(user.active),
141 "active_raw": user.active,
144 "active_raw": user.active,
142 "admin": h.bool2icon(user.admin),
145 "admin": h.bool2icon(user.admin),
143 "extern_type": user.extern_type,
146 "extern_type": user.extern_type,
144 "extern_name": user.extern_name,
147 "extern_name": user.extern_name,
145 "action": user_actions(user.user_id, user.username),
148 "action": user_actions(user.user_id, user.username),
146 })
149 })
147
150
148 data = ({
151 data = ({
149 'draw': draw,
152 'draw': draw,
150 'data': users_data,
153 'data': users_data,
151 'recordsTotal': users_data_total_count,
154 'recordsTotal': users_data_total_count,
152 'recordsFiltered': users_data_total_filtered_count,
155 'recordsFiltered': users_data_total_filtered_count,
153 })
156 })
154
157
155 return data
158 return data
156
159
157 @LoginRequired()
160 @LoginRequired()
158 @HasPermissionAllDecorator('hg.admin')
161 @HasPermissionAllDecorator('hg.admin')
159 @view_config(
162 @view_config(
160 route_name='edit_user_auth_tokens', request_method='GET',
163 route_name='edit_user_auth_tokens', request_method='GET',
161 renderer='rhodecode:templates/admin/users/user_edit.mako')
164 renderer='rhodecode:templates/admin/users/user_edit.mako')
162 def auth_tokens(self):
165 def auth_tokens(self):
163 _ = self.request.translate
166 _ = self.request.translate
164 c = self.load_default_context()
167 c = self.load_default_context()
165
168
166 user_id = self.request.matchdict.get('user_id')
169 user_id = self.request.matchdict.get('user_id')
167 c.user = User.get_or_404(user_id)
170 c.user = User.get_or_404(user_id)
168 self._redirect_for_default_user(c.user.username)
171 self._redirect_for_default_user(c.user.username)
169
172
170 c.active = 'auth_tokens'
173 c.active = 'auth_tokens'
171
174
172 c.lifetime_values = [
175 c.lifetime_values = [
173 (str(-1), _('forever')),
176 (str(-1), _('forever')),
174 (str(5), _('5 minutes')),
177 (str(5), _('5 minutes')),
175 (str(60), _('1 hour')),
178 (str(60), _('1 hour')),
176 (str(60 * 24), _('1 day')),
179 (str(60 * 24), _('1 day')),
177 (str(60 * 24 * 30), _('1 month')),
180 (str(60 * 24 * 30), _('1 month')),
178 ]
181 ]
179 c.lifetime_options = [(c.lifetime_values, _("Lifetime"))]
182 c.lifetime_options = [(c.lifetime_values, _("Lifetime"))]
180 c.role_values = [
183 c.role_values = [
181 (x, AuthTokenModel.cls._get_role_name(x))
184 (x, AuthTokenModel.cls._get_role_name(x))
182 for x in AuthTokenModel.cls.ROLES]
185 for x in AuthTokenModel.cls.ROLES]
183 c.role_options = [(c.role_values, _("Role"))]
186 c.role_options = [(c.role_values, _("Role"))]
184 c.user_auth_tokens = AuthTokenModel().get_auth_tokens(
187 c.user_auth_tokens = AuthTokenModel().get_auth_tokens(
185 c.user.user_id, show_expired=True)
188 c.user.user_id, show_expired=True)
186 return self._get_template_context(c)
189 return self._get_template_context(c)
187
190
188 def maybe_attach_token_scope(self, token):
191 def maybe_attach_token_scope(self, token):
189 # implemented in EE edition
192 # implemented in EE edition
190 pass
193 pass
191
194
192 @LoginRequired()
195 @LoginRequired()
193 @HasPermissionAllDecorator('hg.admin')
196 @HasPermissionAllDecorator('hg.admin')
194 @CSRFRequired()
197 @CSRFRequired()
195 @view_config(
198 @view_config(
196 route_name='edit_user_auth_tokens_add', request_method='POST')
199 route_name='edit_user_auth_tokens_add', request_method='POST')
197 def auth_tokens_add(self):
200 def auth_tokens_add(self):
198 _ = self.request.translate
201 _ = self.request.translate
199 c = self.load_default_context()
202 c = self.load_default_context()
200
203
201 user_id = self.request.matchdict.get('user_id')
204 user_id = self.request.matchdict.get('user_id')
202 c.user = User.get_or_404(user_id)
205 c.user = User.get_or_404(user_id)
203
206
204 self._redirect_for_default_user(c.user.username)
207 self._redirect_for_default_user(c.user.username)
205
208
206 user_data = c.user.get_api_data()
209 user_data = c.user.get_api_data()
207 lifetime = safe_int(self.request.POST.get('lifetime'), -1)
210 lifetime = safe_int(self.request.POST.get('lifetime'), -1)
208 description = self.request.POST.get('description')
211 description = self.request.POST.get('description')
209 role = self.request.POST.get('role')
212 role = self.request.POST.get('role')
210
213
211 token = AuthTokenModel().create(
214 token = AuthTokenModel().create(
212 c.user.user_id, description, lifetime, role)
215 c.user.user_id, description, lifetime, role)
213 token_data = token.get_api_data()
216 token_data = token.get_api_data()
214
217
215 self.maybe_attach_token_scope(token)
218 self.maybe_attach_token_scope(token)
216 audit_logger.store_web(
219 audit_logger.store_web(
217 'user.edit.token.add', action_data={
220 'user.edit.token.add', action_data={
218 'data': {'token': token_data, 'user': user_data}},
221 'data': {'token': token_data, 'user': user_data}},
219 user=self._rhodecode_user, )
222 user=self._rhodecode_user, )
220 Session().commit()
223 Session().commit()
221
224
222 h.flash(_("Auth token successfully created"), category='success')
225 h.flash(_("Auth token successfully created"), category='success')
223 return HTTPFound(h.route_path('edit_user_auth_tokens', user_id=user_id))
226 return HTTPFound(h.route_path('edit_user_auth_tokens', user_id=user_id))
224
227
225 @LoginRequired()
228 @LoginRequired()
226 @HasPermissionAllDecorator('hg.admin')
229 @HasPermissionAllDecorator('hg.admin')
227 @CSRFRequired()
230 @CSRFRequired()
228 @view_config(
231 @view_config(
229 route_name='edit_user_auth_tokens_delete', request_method='POST')
232 route_name='edit_user_auth_tokens_delete', request_method='POST')
230 def auth_tokens_delete(self):
233 def auth_tokens_delete(self):
231 _ = self.request.translate
234 _ = self.request.translate
232 c = self.load_default_context()
235 c = self.load_default_context()
233
236
234 user_id = self.request.matchdict.get('user_id')
237 user_id = self.request.matchdict.get('user_id')
235 c.user = User.get_or_404(user_id)
238 c.user = User.get_or_404(user_id)
236 self._redirect_for_default_user(c.user.username)
239 self._redirect_for_default_user(c.user.username)
237 user_data = c.user.get_api_data()
240 user_data = c.user.get_api_data()
238
241
239 del_auth_token = self.request.POST.get('del_auth_token')
242 del_auth_token = self.request.POST.get('del_auth_token')
240
243
241 if del_auth_token:
244 if del_auth_token:
242 token = UserApiKeys.get_or_404(del_auth_token)
245 token = UserApiKeys.get_or_404(del_auth_token)
243 token_data = token.get_api_data()
246 token_data = token.get_api_data()
244
247
245 AuthTokenModel().delete(del_auth_token, c.user.user_id)
248 AuthTokenModel().delete(del_auth_token, c.user.user_id)
246 audit_logger.store_web(
249 audit_logger.store_web(
247 'user.edit.token.delete', action_data={
250 'user.edit.token.delete', action_data={
248 'data': {'token': token_data, 'user': user_data}},
251 'data': {'token': token_data, 'user': user_data}},
249 user=self._rhodecode_user,)
252 user=self._rhodecode_user,)
250 Session().commit()
253 Session().commit()
251 h.flash(_("Auth token successfully deleted"), category='success')
254 h.flash(_("Auth token successfully deleted"), category='success')
252
255
253 return HTTPFound(h.route_path('edit_user_auth_tokens', user_id=user_id))
256 return HTTPFound(h.route_path('edit_user_auth_tokens', user_id=user_id))
254
257
255 @LoginRequired()
258 @LoginRequired()
256 @HasPermissionAllDecorator('hg.admin')
259 @HasPermissionAllDecorator('hg.admin')
257 @view_config(
260 @view_config(
261 route_name='edit_user_ssh_keys', request_method='GET',
262 renderer='rhodecode:templates/admin/users/user_edit.mako')
263 def ssh_keys(self):
264 _ = self.request.translate
265 c = self.load_default_context()
266
267 user_id = self.request.matchdict.get('user_id')
268 c.user = User.get_or_404(user_id)
269 self._redirect_for_default_user(c.user.username)
270
271 c.active = 'ssh_keys'
272 c.default_key = self.request.GET.get('default_key')
273 c.user_ssh_keys = SshKeyModel().get_ssh_keys(c.user.user_id)
274 return self._get_template_context(c)
275
276 @LoginRequired()
277 @HasPermissionAllDecorator('hg.admin')
278 @view_config(
279 route_name='edit_user_ssh_keys_generate_keypair', request_method='GET',
280 renderer='rhodecode:templates/admin/users/user_edit.mako')
281 def ssh_keys_generate_keypair(self):
282 _ = self.request.translate
283 c = self.load_default_context()
284
285 user_id = self.request.matchdict.get('user_id')
286 c.user = User.get_or_404(user_id)
287 self._redirect_for_default_user(c.user.username)
288
289 c.active = 'ssh_keys_generate'
290 comment = 'RhodeCode-SSH {}'.format(c.user.email or '')
291 c.private, c.public = SshKeyModel().generate_keypair(comment=comment)
292
293 return self._get_template_context(c)
294
295 @LoginRequired()
296 @HasPermissionAllDecorator('hg.admin')
297 @CSRFRequired()
298 @view_config(
299 route_name='edit_user_ssh_keys_add', request_method='POST')
300 def ssh_keys_add(self):
301 _ = self.request.translate
302 c = self.load_default_context()
303
304 user_id = self.request.matchdict.get('user_id')
305 c.user = User.get_or_404(user_id)
306
307 self._redirect_for_default_user(c.user.username)
308
309 user_data = c.user.get_api_data()
310 key_data = self.request.POST.get('key_data')
311 description = self.request.POST.get('description')
312
313 try:
314 if not key_data:
315 raise ValueError('Please add a valid public key')
316
317 key = SshKeyModel().parse_key(key_data.strip())
318 fingerprint = key.hash_md5()
319
320 ssh_key = SshKeyModel().create(
321 c.user.user_id, fingerprint, key_data, description)
322 ssh_key_data = ssh_key.get_api_data()
323
324 audit_logger.store_web(
325 'user.edit.ssh_key.add', action_data={
326 'data': {'ssh_key': ssh_key_data, 'user': user_data}},
327 user=self._rhodecode_user, )
328 Session().commit()
329
330 h.flash(_("Ssh Key successfully created"), category='success')
331
332 except IntegrityError:
333 log.exception("Exception during ssh key saving")
334 h.flash(_('An error occurred during ssh key saving: {}').format(
335 'Such key already exists, please use a different one'),
336 category='error')
337 except Exception as e:
338 log.exception("Exception during ssh key saving")
339 h.flash(_('An error occurred during ssh key saving: {}').format(e),
340 category='error')
341
342 return HTTPFound(
343 h.route_path('edit_user_ssh_keys', user_id=user_id))
344
345 @LoginRequired()
346 @HasPermissionAllDecorator('hg.admin')
347 @CSRFRequired()
348 @view_config(
349 route_name='edit_user_ssh_keys_delete', request_method='POST')
350 def ssh_keys_delete(self):
351 _ = self.request.translate
352 c = self.load_default_context()
353
354 user_id = self.request.matchdict.get('user_id')
355 c.user = User.get_or_404(user_id)
356 self._redirect_for_default_user(c.user.username)
357 user_data = c.user.get_api_data()
358
359 del_ssh_key = self.request.POST.get('del_ssh_key')
360
361 if del_ssh_key:
362 ssh_key = UserSshKeys.get_or_404(del_ssh_key)
363 ssh_key_data = ssh_key.get_api_data()
364
365 SshKeyModel().delete(del_ssh_key, c.user.user_id)
366 audit_logger.store_web(
367 'user.edit.ssh_key.delete', action_data={
368 'data': {'ssh_key': ssh_key_data, 'user': user_data}},
369 user=self._rhodecode_user,)
370 Session().commit()
371 h.flash(_("Ssh key successfully deleted"), category='success')
372
373 return HTTPFound(h.route_path('edit_user_ssh_keys', user_id=user_id))
374
375 @LoginRequired()
376 @HasPermissionAllDecorator('hg.admin')
377 @view_config(
258 route_name='edit_user_emails', request_method='GET',
378 route_name='edit_user_emails', request_method='GET',
259 renderer='rhodecode:templates/admin/users/user_edit.mako')
379 renderer='rhodecode:templates/admin/users/user_edit.mako')
260 def emails(self):
380 def emails(self):
261 _ = self.request.translate
381 _ = self.request.translate
262 c = self.load_default_context()
382 c = self.load_default_context()
263
383
264 user_id = self.request.matchdict.get('user_id')
384 user_id = self.request.matchdict.get('user_id')
265 c.user = User.get_or_404(user_id)
385 c.user = User.get_or_404(user_id)
266 self._redirect_for_default_user(c.user.username)
386 self._redirect_for_default_user(c.user.username)
267
387
268 c.active = 'emails'
388 c.active = 'emails'
269 c.user_email_map = UserEmailMap.query() \
389 c.user_email_map = UserEmailMap.query() \
270 .filter(UserEmailMap.user == c.user).all()
390 .filter(UserEmailMap.user == c.user).all()
271
391
272 return self._get_template_context(c)
392 return self._get_template_context(c)
273
393
274 @LoginRequired()
394 @LoginRequired()
275 @HasPermissionAllDecorator('hg.admin')
395 @HasPermissionAllDecorator('hg.admin')
276 @CSRFRequired()
396 @CSRFRequired()
277 @view_config(
397 @view_config(
278 route_name='edit_user_emails_add', request_method='POST')
398 route_name='edit_user_emails_add', request_method='POST')
279 def emails_add(self):
399 def emails_add(self):
280 _ = self.request.translate
400 _ = self.request.translate
281 c = self.load_default_context()
401 c = self.load_default_context()
282
402
283 user_id = self.request.matchdict.get('user_id')
403 user_id = self.request.matchdict.get('user_id')
284 c.user = User.get_or_404(user_id)
404 c.user = User.get_or_404(user_id)
285 self._redirect_for_default_user(c.user.username)
405 self._redirect_for_default_user(c.user.username)
286
406
287 email = self.request.POST.get('new_email')
407 email = self.request.POST.get('new_email')
288 user_data = c.user.get_api_data()
408 user_data = c.user.get_api_data()
289 try:
409 try:
290 UserModel().add_extra_email(c.user.user_id, email)
410 UserModel().add_extra_email(c.user.user_id, email)
291 audit_logger.store_web(
411 audit_logger.store_web(
292 'user.edit.email.add', action_data={'email': email, 'user': user_data},
412 'user.edit.email.add', action_data={'email': email, 'user': user_data},
293 user=self._rhodecode_user)
413 user=self._rhodecode_user)
294 Session().commit()
414 Session().commit()
295 h.flash(_("Added new email address `%s` for user account") % email,
415 h.flash(_("Added new email address `%s` for user account") % email,
296 category='success')
416 category='success')
297 except formencode.Invalid as error:
417 except formencode.Invalid as error:
298 h.flash(h.escape(error.error_dict['email']), category='error')
418 h.flash(h.escape(error.error_dict['email']), category='error')
299 except Exception:
419 except Exception:
300 log.exception("Exception during email saving")
420 log.exception("Exception during email saving")
301 h.flash(_('An error occurred during email saving'),
421 h.flash(_('An error occurred during email saving'),
302 category='error')
422 category='error')
303 raise HTTPFound(h.route_path('edit_user_emails', user_id=user_id))
423 raise HTTPFound(h.route_path('edit_user_emails', user_id=user_id))
304
424
305 @LoginRequired()
425 @LoginRequired()
306 @HasPermissionAllDecorator('hg.admin')
426 @HasPermissionAllDecorator('hg.admin')
307 @CSRFRequired()
427 @CSRFRequired()
308 @view_config(
428 @view_config(
309 route_name='edit_user_emails_delete', request_method='POST')
429 route_name='edit_user_emails_delete', request_method='POST')
310 def emails_delete(self):
430 def emails_delete(self):
311 _ = self.request.translate
431 _ = self.request.translate
312 c = self.load_default_context()
432 c = self.load_default_context()
313
433
314 user_id = self.request.matchdict.get('user_id')
434 user_id = self.request.matchdict.get('user_id')
315 c.user = User.get_or_404(user_id)
435 c.user = User.get_or_404(user_id)
316 self._redirect_for_default_user(c.user.username)
436 self._redirect_for_default_user(c.user.username)
317
437
318 email_id = self.request.POST.get('del_email_id')
438 email_id = self.request.POST.get('del_email_id')
319 user_model = UserModel()
439 user_model = UserModel()
320
440
321 email = UserEmailMap.query().get(email_id).email
441 email = UserEmailMap.query().get(email_id).email
322 user_data = c.user.get_api_data()
442 user_data = c.user.get_api_data()
323 user_model.delete_extra_email(c.user.user_id, email_id)
443 user_model.delete_extra_email(c.user.user_id, email_id)
324 audit_logger.store_web(
444 audit_logger.store_web(
325 'user.edit.email.delete', action_data={'email': email, 'user': user_data},
445 'user.edit.email.delete', action_data={'email': email, 'user': user_data},
326 user=self._rhodecode_user)
446 user=self._rhodecode_user)
327 Session().commit()
447 Session().commit()
328 h.flash(_("Removed email address from user account"),
448 h.flash(_("Removed email address from user account"),
329 category='success')
449 category='success')
330 raise HTTPFound(h.route_path('edit_user_emails', user_id=user_id))
450 raise HTTPFound(h.route_path('edit_user_emails', user_id=user_id))
331
451
332 @LoginRequired()
452 @LoginRequired()
333 @HasPermissionAllDecorator('hg.admin')
453 @HasPermissionAllDecorator('hg.admin')
334 @view_config(
454 @view_config(
335 route_name='edit_user_ips', request_method='GET',
455 route_name='edit_user_ips', request_method='GET',
336 renderer='rhodecode:templates/admin/users/user_edit.mako')
456 renderer='rhodecode:templates/admin/users/user_edit.mako')
337 def ips(self):
457 def ips(self):
338 _ = self.request.translate
458 _ = self.request.translate
339 c = self.load_default_context()
459 c = self.load_default_context()
340
460
341 user_id = self.request.matchdict.get('user_id')
461 user_id = self.request.matchdict.get('user_id')
342 c.user = User.get_or_404(user_id)
462 c.user = User.get_or_404(user_id)
343 self._redirect_for_default_user(c.user.username)
463 self._redirect_for_default_user(c.user.username)
344
464
345 c.active = 'ips'
465 c.active = 'ips'
346 c.user_ip_map = UserIpMap.query() \
466 c.user_ip_map = UserIpMap.query() \
347 .filter(UserIpMap.user == c.user).all()
467 .filter(UserIpMap.user == c.user).all()
348
468
349 c.inherit_default_ips = c.user.inherit_default_permissions
469 c.inherit_default_ips = c.user.inherit_default_permissions
350 c.default_user_ip_map = UserIpMap.query() \
470 c.default_user_ip_map = UserIpMap.query() \
351 .filter(UserIpMap.user == User.get_default_user()).all()
471 .filter(UserIpMap.user == User.get_default_user()).all()
352
472
353 return self._get_template_context(c)
473 return self._get_template_context(c)
354
474
355 @LoginRequired()
475 @LoginRequired()
356 @HasPermissionAllDecorator('hg.admin')
476 @HasPermissionAllDecorator('hg.admin')
357 @CSRFRequired()
477 @CSRFRequired()
358 @view_config(
478 @view_config(
359 route_name='edit_user_ips_add', request_method='POST')
479 route_name='edit_user_ips_add', request_method='POST')
360 def ips_add(self):
480 def ips_add(self):
361 _ = self.request.translate
481 _ = self.request.translate
362 c = self.load_default_context()
482 c = self.load_default_context()
363
483
364 user_id = self.request.matchdict.get('user_id')
484 user_id = self.request.matchdict.get('user_id')
365 c.user = User.get_or_404(user_id)
485 c.user = User.get_or_404(user_id)
366 # NOTE(marcink): this view is allowed for default users, as we can
486 # NOTE(marcink): this view is allowed for default users, as we can
367 # edit their IP white list
487 # edit their IP white list
368
488
369 user_model = UserModel()
489 user_model = UserModel()
370 desc = self.request.POST.get('description')
490 desc = self.request.POST.get('description')
371 try:
491 try:
372 ip_list = user_model.parse_ip_range(
492 ip_list = user_model.parse_ip_range(
373 self.request.POST.get('new_ip'))
493 self.request.POST.get('new_ip'))
374 except Exception as e:
494 except Exception as e:
375 ip_list = []
495 ip_list = []
376 log.exception("Exception during ip saving")
496 log.exception("Exception during ip saving")
377 h.flash(_('An error occurred during ip saving:%s' % (e,)),
497 h.flash(_('An error occurred during ip saving:%s' % (e,)),
378 category='error')
498 category='error')
379 added = []
499 added = []
380 user_data = c.user.get_api_data()
500 user_data = c.user.get_api_data()
381 for ip in ip_list:
501 for ip in ip_list:
382 try:
502 try:
383 user_model.add_extra_ip(c.user.user_id, ip, desc)
503 user_model.add_extra_ip(c.user.user_id, ip, desc)
384 audit_logger.store_web(
504 audit_logger.store_web(
385 'user.edit.ip.add', action_data={'ip': ip, 'user': user_data},
505 'user.edit.ip.add', action_data={'ip': ip, 'user': user_data},
386 user=self._rhodecode_user)
506 user=self._rhodecode_user)
387 Session().commit()
507 Session().commit()
388 added.append(ip)
508 added.append(ip)
389 except formencode.Invalid as error:
509 except formencode.Invalid as error:
390 msg = error.error_dict['ip']
510 msg = error.error_dict['ip']
391 h.flash(msg, category='error')
511 h.flash(msg, category='error')
392 except Exception:
512 except Exception:
393 log.exception("Exception during ip saving")
513 log.exception("Exception during ip saving")
394 h.flash(_('An error occurred during ip saving'),
514 h.flash(_('An error occurred during ip saving'),
395 category='error')
515 category='error')
396 if added:
516 if added:
397 h.flash(
517 h.flash(
398 _("Added ips %s to user whitelist") % (', '.join(ip_list), ),
518 _("Added ips %s to user whitelist") % (', '.join(ip_list), ),
399 category='success')
519 category='success')
400 if 'default_user' in self.request.POST:
520 if 'default_user' in self.request.POST:
401 # case for editing global IP list we do it for 'DEFAULT' user
521 # case for editing global IP list we do it for 'DEFAULT' user
402 raise HTTPFound(h.route_path('admin_permissions_ips'))
522 raise HTTPFound(h.route_path('admin_permissions_ips'))
403 raise HTTPFound(h.route_path('edit_user_ips', user_id=user_id))
523 raise HTTPFound(h.route_path('edit_user_ips', user_id=user_id))
404
524
405 @LoginRequired()
525 @LoginRequired()
406 @HasPermissionAllDecorator('hg.admin')
526 @HasPermissionAllDecorator('hg.admin')
407 @CSRFRequired()
527 @CSRFRequired()
408 @view_config(
528 @view_config(
409 route_name='edit_user_ips_delete', request_method='POST')
529 route_name='edit_user_ips_delete', request_method='POST')
410 def ips_delete(self):
530 def ips_delete(self):
411 _ = self.request.translate
531 _ = self.request.translate
412 c = self.load_default_context()
532 c = self.load_default_context()
413
533
414 user_id = self.request.matchdict.get('user_id')
534 user_id = self.request.matchdict.get('user_id')
415 c.user = User.get_or_404(user_id)
535 c.user = User.get_or_404(user_id)
416 # NOTE(marcink): this view is allowed for default users, as we can
536 # NOTE(marcink): this view is allowed for default users, as we can
417 # edit their IP white list
537 # edit their IP white list
418
538
419 ip_id = self.request.POST.get('del_ip_id')
539 ip_id = self.request.POST.get('del_ip_id')
420 user_model = UserModel()
540 user_model = UserModel()
421 user_data = c.user.get_api_data()
541 user_data = c.user.get_api_data()
422 ip = UserIpMap.query().get(ip_id).ip_addr
542 ip = UserIpMap.query().get(ip_id).ip_addr
423 user_model.delete_extra_ip(c.user.user_id, ip_id)
543 user_model.delete_extra_ip(c.user.user_id, ip_id)
424 audit_logger.store_web(
544 audit_logger.store_web(
425 'user.edit.ip.delete', action_data={'ip': ip, 'user': user_data},
545 'user.edit.ip.delete', action_data={'ip': ip, 'user': user_data},
426 user=self._rhodecode_user)
546 user=self._rhodecode_user)
427 Session().commit()
547 Session().commit()
428 h.flash(_("Removed ip address from user whitelist"), category='success')
548 h.flash(_("Removed ip address from user whitelist"), category='success')
429
549
430 if 'default_user' in self.request.POST:
550 if 'default_user' in self.request.POST:
431 # case for editing global IP list we do it for 'DEFAULT' user
551 # case for editing global IP list we do it for 'DEFAULT' user
432 raise HTTPFound(h.route_path('admin_permissions_ips'))
552 raise HTTPFound(h.route_path('admin_permissions_ips'))
433 raise HTTPFound(h.route_path('edit_user_ips', user_id=user_id))
553 raise HTTPFound(h.route_path('edit_user_ips', user_id=user_id))
434
554
435 @LoginRequired()
555 @LoginRequired()
436 @HasPermissionAllDecorator('hg.admin')
556 @HasPermissionAllDecorator('hg.admin')
437 @view_config(
557 @view_config(
438 route_name='edit_user_groups_management', request_method='GET',
558 route_name='edit_user_groups_management', request_method='GET',
439 renderer='rhodecode:templates/admin/users/user_edit.mako')
559 renderer='rhodecode:templates/admin/users/user_edit.mako')
440 def groups_management(self):
560 def groups_management(self):
441 c = self.load_default_context()
561 c = self.load_default_context()
442
562
443 user_id = self.request.matchdict.get('user_id')
563 user_id = self.request.matchdict.get('user_id')
444 c.user = User.get_or_404(user_id)
564 c.user = User.get_or_404(user_id)
445 c.data = c.user.group_member
565 c.data = c.user.group_member
446 self._redirect_for_default_user(c.user.username)
566 self._redirect_for_default_user(c.user.username)
447 groups = [UserGroupModel.get_user_groups_as_dict(group.users_group)
567 groups = [UserGroupModel.get_user_groups_as_dict(group.users_group)
448 for group in c.user.group_member]
568 for group in c.user.group_member]
449 c.groups = json.dumps(groups)
569 c.groups = json.dumps(groups)
450 c.active = 'groups'
570 c.active = 'groups'
451
571
452 return self._get_template_context(c)
572 return self._get_template_context(c)
453
573
454 @LoginRequired()
574 @LoginRequired()
455 @HasPermissionAllDecorator('hg.admin')
575 @HasPermissionAllDecorator('hg.admin')
456 @CSRFRequired()
576 @CSRFRequired()
457 @view_config(
577 @view_config(
458 route_name='edit_user_groups_management_updates', request_method='POST')
578 route_name='edit_user_groups_management_updates', request_method='POST')
459 def groups_management_updates(self):
579 def groups_management_updates(self):
460 _ = self.request.translate
580 _ = self.request.translate
461 c = self.load_default_context()
581 c = self.load_default_context()
462
582
463 user_id = self.request.matchdict.get('user_id')
583 user_id = self.request.matchdict.get('user_id')
464 c.user = User.get_or_404(user_id)
584 c.user = User.get_or_404(user_id)
465 self._redirect_for_default_user(c.user.username)
585 self._redirect_for_default_user(c.user.username)
466
586
467 users_groups = set(self.request.POST.getall('users_group_id'))
587 users_groups = set(self.request.POST.getall('users_group_id'))
468 users_groups_model = []
588 users_groups_model = []
469
589
470 for ugid in users_groups:
590 for ugid in users_groups:
471 users_groups_model.append(UserGroupModel().get_group(safe_int(ugid)))
591 users_groups_model.append(UserGroupModel().get_group(safe_int(ugid)))
472 user_group_model = UserGroupModel()
592 user_group_model = UserGroupModel()
473 user_group_model.change_groups(c.user, users_groups_model)
593 user_group_model.change_groups(c.user, users_groups_model)
474
594
475 Session().commit()
595 Session().commit()
476 c.active = 'user_groups_management'
596 c.active = 'user_groups_management'
477 h.flash(_("Groups successfully changed"), category='success')
597 h.flash(_("Groups successfully changed"), category='success')
478
598
479 return HTTPFound(h.route_path(
599 return HTTPFound(h.route_path(
480 'edit_user_groups_management', user_id=user_id))
600 'edit_user_groups_management', user_id=user_id))
481
601
482 @LoginRequired()
602 @LoginRequired()
483 @HasPermissionAllDecorator('hg.admin')
603 @HasPermissionAllDecorator('hg.admin')
484 @view_config(
604 @view_config(
485 route_name='edit_user_audit_logs', request_method='GET',
605 route_name='edit_user_audit_logs', request_method='GET',
486 renderer='rhodecode:templates/admin/users/user_edit.mako')
606 renderer='rhodecode:templates/admin/users/user_edit.mako')
487 def user_audit_logs(self):
607 def user_audit_logs(self):
488 _ = self.request.translate
608 _ = self.request.translate
489 c = self.load_default_context()
609 c = self.load_default_context()
490
610
491 user_id = self.request.matchdict.get('user_id')
611 user_id = self.request.matchdict.get('user_id')
492 c.user = User.get_or_404(user_id)
612 c.user = User.get_or_404(user_id)
493 self._redirect_for_default_user(c.user.username)
613 self._redirect_for_default_user(c.user.username)
494 c.active = 'audit'
614 c.active = 'audit'
495
615
496 p = safe_int(self.request.GET.get('page', 1), 1)
616 p = safe_int(self.request.GET.get('page', 1), 1)
497
617
498 filter_term = self.request.GET.get('filter')
618 filter_term = self.request.GET.get('filter')
499 user_log = UserModel().get_user_log(c.user, filter_term)
619 user_log = UserModel().get_user_log(c.user, filter_term)
500
620
501 def url_generator(**kw):
621 def url_generator(**kw):
502 if filter_term:
622 if filter_term:
503 kw['filter'] = filter_term
623 kw['filter'] = filter_term
504 return self.request.current_route_path(_query=kw)
624 return self.request.current_route_path(_query=kw)
505
625
506 c.audit_logs = h.Page(
626 c.audit_logs = h.Page(
507 user_log, page=p, items_per_page=10, url=url_generator)
627 user_log, page=p, items_per_page=10, url=url_generator)
508 c.filter_term = filter_term
628 c.filter_term = filter_term
509 return self._get_template_context(c)
629 return self._get_template_context(c)
510
630
@@ -1,255 +1,257 b''
1 # -*- coding: utf-8 -*-
1 # -*- coding: utf-8 -*-
2
2
3 # Copyright (C) 2017-2017 RhodeCode GmbH
3 # Copyright (C) 2017-2017 RhodeCode GmbH
4 #
4 #
5 # This program is free software: you can redistribute it and/or modify
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU Affero General Public License, version 3
6 # it under the terms of the GNU Affero General Public License, version 3
7 # (only), as published by the Free Software Foundation.
7 # (only), as published by the Free Software Foundation.
8 #
8 #
9 # This program is distributed in the hope that it will be useful,
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
12 # GNU General Public License for more details.
13 #
13 #
14 # You should have received a copy of the GNU Affero General Public License
14 # You should have received a copy of the GNU Affero General Public License
15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16 #
16 #
17 # This program is dual-licensed. If you wish to learn more about the
17 # This program is dual-licensed. If you wish to learn more about the
18 # RhodeCode Enterprise Edition, including its added features, Support services,
18 # RhodeCode Enterprise Edition, including its added features, Support services,
19 # and proprietary license terms, please see https://rhodecode.com/licenses/
19 # and proprietary license terms, please see https://rhodecode.com/licenses/
20
20
21 import logging
21 import logging
22 import datetime
22 import datetime
23
23
24 from rhodecode.model import meta
24 from rhodecode.model import meta
25 from rhodecode.model.db import User, UserLog, Repository
25 from rhodecode.model.db import User, UserLog, Repository
26
26
27
27
28 log = logging.getLogger(__name__)
28 log = logging.getLogger(__name__)
29
29
30 # action as key, and expected action_data as value
30 # action as key, and expected action_data as value
31 ACTIONS_V1 = {
31 ACTIONS_V1 = {
32 'user.login.success': {'user_agent': ''},
32 'user.login.success': {'user_agent': ''},
33 'user.login.failure': {'user_agent': ''},
33 'user.login.failure': {'user_agent': ''},
34 'user.logout': {'user_agent': ''},
34 'user.logout': {'user_agent': ''},
35 'user.password.reset_request': {},
35 'user.password.reset_request': {},
36 'user.push': {'user_agent': '', 'commit_ids': []},
36 'user.push': {'user_agent': '', 'commit_ids': []},
37 'user.pull': {'user_agent': ''},
37 'user.pull': {'user_agent': ''},
38
38
39 'user.create': {'data': {}},
39 'user.create': {'data': {}},
40 'user.delete': {'old_data': {}},
40 'user.delete': {'old_data': {}},
41 'user.edit': {'old_data': {}},
41 'user.edit': {'old_data': {}},
42 'user.edit.permissions': {},
42 'user.edit.permissions': {},
43 'user.edit.ip.add': {'ip': {}, 'user': {}},
43 'user.edit.ip.add': {'ip': {}, 'user': {}},
44 'user.edit.ip.delete': {'ip': {}, 'user': {}},
44 'user.edit.ip.delete': {'ip': {}, 'user': {}},
45 'user.edit.token.add': {'token': {}, 'user': {}},
45 'user.edit.token.add': {'token': {}, 'user': {}},
46 'user.edit.token.delete': {'token': {}, 'user': {}},
46 'user.edit.token.delete': {'token': {}, 'user': {}},
47 'user.edit.email.add': {'email': ''},
47 'user.edit.email.add': {'email': ''},
48 'user.edit.email.delete': {'email': ''},
48 'user.edit.email.delete': {'email': ''},
49 'user.edit.ssh_key.add': {'token': {}, 'user': {}},
50 'user.edit.ssh_key.delete': {'token': {}, 'user': {}},
49 'user.edit.password_reset.enabled': {},
51 'user.edit.password_reset.enabled': {},
50 'user.edit.password_reset.disabled': {},
52 'user.edit.password_reset.disabled': {},
51
53
52 'user_group.create': {'data': {}},
54 'user_group.create': {'data': {}},
53 'user_group.delete': {'old_data': {}},
55 'user_group.delete': {'old_data': {}},
54 'user_group.edit': {'old_data': {}},
56 'user_group.edit': {'old_data': {}},
55 'user_group.edit.permissions': {},
57 'user_group.edit.permissions': {},
56 'user_group.edit.member.add': {'user': {}},
58 'user_group.edit.member.add': {'user': {}},
57 'user_group.edit.member.delete': {'user': {}},
59 'user_group.edit.member.delete': {'user': {}},
58
60
59 'repo.create': {'data': {}},
61 'repo.create': {'data': {}},
60 'repo.fork': {'data': {}},
62 'repo.fork': {'data': {}},
61 'repo.edit': {'old_data': {}},
63 'repo.edit': {'old_data': {}},
62 'repo.edit.permissions': {},
64 'repo.edit.permissions': {},
63 'repo.delete': {'old_data': {}},
65 'repo.delete': {'old_data': {}},
64 'repo.commit.strip': {'commit_id': ''},
66 'repo.commit.strip': {'commit_id': ''},
65 'repo.archive.download': {'user_agent': '', 'archive_name': '',
67 'repo.archive.download': {'user_agent': '', 'archive_name': '',
66 'archive_spec': '', 'archive_cached': ''},
68 'archive_spec': '', 'archive_cached': ''},
67 'repo.pull_request.create': '',
69 'repo.pull_request.create': '',
68 'repo.pull_request.edit': '',
70 'repo.pull_request.edit': '',
69 'repo.pull_request.delete': '',
71 'repo.pull_request.delete': '',
70 'repo.pull_request.close': '',
72 'repo.pull_request.close': '',
71 'repo.pull_request.merge': '',
73 'repo.pull_request.merge': '',
72 'repo.pull_request.vote': '',
74 'repo.pull_request.vote': '',
73 'repo.pull_request.comment.create': '',
75 'repo.pull_request.comment.create': '',
74 'repo.pull_request.comment.delete': '',
76 'repo.pull_request.comment.delete': '',
75
77
76 'repo.pull_request.reviewer.add': '',
78 'repo.pull_request.reviewer.add': '',
77 'repo.pull_request.reviewer.delete': '',
79 'repo.pull_request.reviewer.delete': '',
78
80
79 'repo.commit.comment.create': {'data': {}},
81 'repo.commit.comment.create': {'data': {}},
80 'repo.commit.comment.delete': {'data': {}},
82 'repo.commit.comment.delete': {'data': {}},
81 'repo.commit.vote': '',
83 'repo.commit.vote': '',
82
84
83 'repo_group.create': {'data': {}},
85 'repo_group.create': {'data': {}},
84 'repo_group.edit': {'old_data': {}},
86 'repo_group.edit': {'old_data': {}},
85 'repo_group.edit.permissions': {},
87 'repo_group.edit.permissions': {},
86 'repo_group.delete': {'old_data': {}},
88 'repo_group.delete': {'old_data': {}},
87 }
89 }
88 ACTIONS = ACTIONS_V1
90 ACTIONS = ACTIONS_V1
89
91
90 SOURCE_WEB = 'source_web'
92 SOURCE_WEB = 'source_web'
91 SOURCE_API = 'source_api'
93 SOURCE_API = 'source_api'
92
94
93
95
94 class UserWrap(object):
96 class UserWrap(object):
95 """
97 """
96 Fake object used to imitate AuthUser
98 Fake object used to imitate AuthUser
97 """
99 """
98
100
99 def __init__(self, user_id=None, username=None, ip_addr=None):
101 def __init__(self, user_id=None, username=None, ip_addr=None):
100 self.user_id = user_id
102 self.user_id = user_id
101 self.username = username
103 self.username = username
102 self.ip_addr = ip_addr
104 self.ip_addr = ip_addr
103
105
104
106
105 class RepoWrap(object):
107 class RepoWrap(object):
106 """
108 """
107 Fake object used to imitate RepoObject that audit logger requires
109 Fake object used to imitate RepoObject that audit logger requires
108 """
110 """
109
111
110 def __init__(self, repo_id=None, repo_name=None):
112 def __init__(self, repo_id=None, repo_name=None):
111 self.repo_id = repo_id
113 self.repo_id = repo_id
112 self.repo_name = repo_name
114 self.repo_name = repo_name
113
115
114
116
115 def _store_log(action_name, action_data, user_id, username, user_data,
117 def _store_log(action_name, action_data, user_id, username, user_data,
116 ip_address, repository_id, repository_name):
118 ip_address, repository_id, repository_name):
117 user_log = UserLog()
119 user_log = UserLog()
118 user_log.version = UserLog.VERSION_2
120 user_log.version = UserLog.VERSION_2
119
121
120 user_log.action = action_name
122 user_log.action = action_name
121 user_log.action_data = action_data
123 user_log.action_data = action_data
122
124
123 user_log.user_ip = ip_address
125 user_log.user_ip = ip_address
124
126
125 user_log.user_id = user_id
127 user_log.user_id = user_id
126 user_log.username = username
128 user_log.username = username
127 user_log.user_data = user_data
129 user_log.user_data = user_data
128
130
129 user_log.repository_id = repository_id
131 user_log.repository_id = repository_id
130 user_log.repository_name = repository_name
132 user_log.repository_name = repository_name
131
133
132 user_log.action_date = datetime.datetime.now()
134 user_log.action_date = datetime.datetime.now()
133
135
134 log.info('AUDIT: Logging action: `%s` by user:id:%s[%s] ip:%s',
136 log.info('AUDIT: Logging action: `%s` by user:id:%s[%s] ip:%s',
135 action_name, user_id, username, ip_address)
137 action_name, user_id, username, ip_address)
136
138
137 return user_log
139 return user_log
138
140
139
141
140 def store_web(*args, **kwargs):
142 def store_web(*args, **kwargs):
141 if 'action_data' not in kwargs:
143 if 'action_data' not in kwargs:
142 kwargs['action_data'] = {}
144 kwargs['action_data'] = {}
143 kwargs['action_data'].update({
145 kwargs['action_data'].update({
144 'source': SOURCE_WEB
146 'source': SOURCE_WEB
145 })
147 })
146 return store(*args, **kwargs)
148 return store(*args, **kwargs)
147
149
148
150
149 def store_api(*args, **kwargs):
151 def store_api(*args, **kwargs):
150 if 'action_data' not in kwargs:
152 if 'action_data' not in kwargs:
151 kwargs['action_data'] = {}
153 kwargs['action_data'] = {}
152 kwargs['action_data'].update({
154 kwargs['action_data'].update({
153 'source': SOURCE_API
155 'source': SOURCE_API
154 })
156 })
155 return store(*args, **kwargs)
157 return store(*args, **kwargs)
156
158
157
159
158 def store(action, user, action_data=None, user_data=None, ip_addr=None,
160 def store(action, user, action_data=None, user_data=None, ip_addr=None,
159 repo=None, sa_session=None, commit=False):
161 repo=None, sa_session=None, commit=False):
160 """
162 """
161 Audit logger for various actions made by users, typically this
163 Audit logger for various actions made by users, typically this
162 results in a call such::
164 results in a call such::
163
165
164 from rhodecode.lib import audit_logger
166 from rhodecode.lib import audit_logger
165
167
166 audit_logger.store(
168 audit_logger.store(
167 'repo.edit', user=self._rhodecode_user)
169 'repo.edit', user=self._rhodecode_user)
168 audit_logger.store(
170 audit_logger.store(
169 'repo.delete', action_data={'data': repo_data},
171 'repo.delete', action_data={'data': repo_data},
170 user=audit_logger.UserWrap(username='itried-login', ip_addr='8.8.8.8'))
172 user=audit_logger.UserWrap(username='itried-login', ip_addr='8.8.8.8'))
171
173
172 # repo action
174 # repo action
173 audit_logger.store(
175 audit_logger.store(
174 'repo.delete',
176 'repo.delete',
175 user=audit_logger.UserWrap(username='itried-login', ip_addr='8.8.8.8'),
177 user=audit_logger.UserWrap(username='itried-login', ip_addr='8.8.8.8'),
176 repo=audit_logger.RepoWrap(repo_name='some-repo'))
178 repo=audit_logger.RepoWrap(repo_name='some-repo'))
177
179
178 # repo action, when we know and have the repository object already
180 # repo action, when we know and have the repository object already
179 audit_logger.store(
181 audit_logger.store(
180 'repo.delete', action_data={'source': audit_logger.SOURCE_WEB, },
182 'repo.delete', action_data={'source': audit_logger.SOURCE_WEB, },
181 user=self._rhodecode_user,
183 user=self._rhodecode_user,
182 repo=repo_object)
184 repo=repo_object)
183
185
184 # alternative wrapper to the above
186 # alternative wrapper to the above
185 audit_logger.store_web(
187 audit_logger.store_web(
186 'repo.delete', action_data={},
188 'repo.delete', action_data={},
187 user=self._rhodecode_user,
189 user=self._rhodecode_user,
188 repo=repo_object)
190 repo=repo_object)
189
191
190 # without an user ?
192 # without an user ?
191 audit_logger.store(
193 audit_logger.store(
192 'user.login.failure',
194 'user.login.failure',
193 user=audit_logger.UserWrap(
195 user=audit_logger.UserWrap(
194 username=self.request.params.get('username'),
196 username=self.request.params.get('username'),
195 ip_addr=self.request.remote_addr))
197 ip_addr=self.request.remote_addr))
196
198
197 """
199 """
198 from rhodecode.lib.utils2 import safe_unicode
200 from rhodecode.lib.utils2 import safe_unicode
199 from rhodecode.lib.auth import AuthUser
201 from rhodecode.lib.auth import AuthUser
200
202
201 action_spec = ACTIONS.get(action, None)
203 action_spec = ACTIONS.get(action, None)
202 if action_spec is None:
204 if action_spec is None:
203 raise ValueError('Action `{}` is not supported'.format(action))
205 raise ValueError('Action `{}` is not supported'.format(action))
204
206
205 if not sa_session:
207 if not sa_session:
206 sa_session = meta.Session()
208 sa_session = meta.Session()
207
209
208 try:
210 try:
209 username = getattr(user, 'username', None)
211 username = getattr(user, 'username', None)
210 if not username:
212 if not username:
211 pass
213 pass
212
214
213 user_id = getattr(user, 'user_id', None)
215 user_id = getattr(user, 'user_id', None)
214 if not user_id:
216 if not user_id:
215 # maybe we have username ? Try to figure user_id from username
217 # maybe we have username ? Try to figure user_id from username
216 if username:
218 if username:
217 user_id = getattr(
219 user_id = getattr(
218 User.get_by_username(username), 'user_id', None)
220 User.get_by_username(username), 'user_id', None)
219
221
220 ip_addr = ip_addr or getattr(user, 'ip_addr', None)
222 ip_addr = ip_addr or getattr(user, 'ip_addr', None)
221 if not ip_addr:
223 if not ip_addr:
222 pass
224 pass
223
225
224 if not user_data:
226 if not user_data:
225 # try to get this from the auth user
227 # try to get this from the auth user
226 if isinstance(user, AuthUser):
228 if isinstance(user, AuthUser):
227 user_data = {
229 user_data = {
228 'username': user.username,
230 'username': user.username,
229 'email': user.email,
231 'email': user.email,
230 }
232 }
231
233
232 repository_name = getattr(repo, 'repo_name', None)
234 repository_name = getattr(repo, 'repo_name', None)
233 repository_id = getattr(repo, 'repo_id', None)
235 repository_id = getattr(repo, 'repo_id', None)
234 if not repository_id:
236 if not repository_id:
235 # maybe we have repo_name ? Try to figure repo_id from repo_name
237 # maybe we have repo_name ? Try to figure repo_id from repo_name
236 if repository_name:
238 if repository_name:
237 repository_id = getattr(
239 repository_id = getattr(
238 Repository.get_by_repo_name(repository_name), 'repo_id', None)
240 Repository.get_by_repo_name(repository_name), 'repo_id', None)
239
241
240 user_log = _store_log(
242 user_log = _store_log(
241 action_name=safe_unicode(action),
243 action_name=safe_unicode(action),
242 action_data=action_data or {},
244 action_data=action_data or {},
243 user_id=user_id,
245 user_id=user_id,
244 username=username,
246 username=username,
245 user_data=user_data or {},
247 user_data=user_data or {},
246 ip_address=safe_unicode(ip_addr),
248 ip_address=safe_unicode(ip_addr),
247 repository_id=repository_id,
249 repository_id=repository_id,
248 repository_name=repository_name
250 repository_name=repository_name
249 )
251 )
250 sa_session.add(user_log)
252 sa_session.add(user_log)
251 if commit:
253 if commit:
252 sa_session.commit()
254 sa_session.commit()
253
255
254 except Exception:
256 except Exception:
255 log.exception('AUDIT: failed to store audit log')
257 log.exception('AUDIT: failed to store audit log')
1 NO CONTENT: modified file
NO CONTENT: modified file
The requested commit or file is too big and content was truncated. Show full diff
@@ -1,226 +1,230 b''
1
1
2 /******************************************************************************
2 /******************************************************************************
3 * *
3 * *
4 * DO NOT CHANGE THIS FILE MANUALLY *
4 * DO NOT CHANGE THIS FILE MANUALLY *
5 * *
5 * *
6 * *
6 * *
7 * This file is automatically generated when the app starts up with *
7 * This file is automatically generated when the app starts up with *
8 * generate_js_files = true *
8 * generate_js_files = true *
9 * *
9 * *
10 * To add a route here pass jsroute=True to the route definition in the app *
10 * To add a route here pass jsroute=True to the route definition in the app *
11 * *
11 * *
12 ******************************************************************************/
12 ******************************************************************************/
13 function registerRCRoutes() {
13 function registerRCRoutes() {
14 // routes registration
14 // routes registration
15 pyroutes.register('new_repo', '/_admin/create_repository', []);
15 pyroutes.register('new_repo', '/_admin/create_repository', []);
16 pyroutes.register('edit_user', '/_admin/users/%(user_id)s/edit', ['user_id']);
16 pyroutes.register('edit_user', '/_admin/users/%(user_id)s/edit', ['user_id']);
17 pyroutes.register('favicon', '/favicon.ico', []);
17 pyroutes.register('favicon', '/favicon.ico', []);
18 pyroutes.register('robots', '/robots.txt', []);
18 pyroutes.register('robots', '/robots.txt', []);
19 pyroutes.register('auth_home', '/_admin/auth*traverse', []);
19 pyroutes.register('auth_home', '/_admin/auth*traverse', []);
20 pyroutes.register('global_integrations_new', '/_admin/integrations/new', []);
20 pyroutes.register('global_integrations_new', '/_admin/integrations/new', []);
21 pyroutes.register('global_integrations_home', '/_admin/integrations', []);
21 pyroutes.register('global_integrations_home', '/_admin/integrations', []);
22 pyroutes.register('global_integrations_list', '/_admin/integrations/%(integration)s', ['integration']);
22 pyroutes.register('global_integrations_list', '/_admin/integrations/%(integration)s', ['integration']);
23 pyroutes.register('global_integrations_create', '/_admin/integrations/%(integration)s/new', ['integration']);
23 pyroutes.register('global_integrations_create', '/_admin/integrations/%(integration)s/new', ['integration']);
24 pyroutes.register('global_integrations_edit', '/_admin/integrations/%(integration)s/%(integration_id)s', ['integration', 'integration_id']);
24 pyroutes.register('global_integrations_edit', '/_admin/integrations/%(integration)s/%(integration_id)s', ['integration', 'integration_id']);
25 pyroutes.register('repo_group_integrations_home', '/%(repo_group_name)s/settings/integrations', ['repo_group_name']);
25 pyroutes.register('repo_group_integrations_home', '/%(repo_group_name)s/settings/integrations', ['repo_group_name']);
26 pyroutes.register('repo_group_integrations_new', '/%(repo_group_name)s/settings/integrations/new', ['repo_group_name']);
26 pyroutes.register('repo_group_integrations_new', '/%(repo_group_name)s/settings/integrations/new', ['repo_group_name']);
27 pyroutes.register('repo_group_integrations_list', '/%(repo_group_name)s/settings/integrations/%(integration)s', ['repo_group_name', 'integration']);
27 pyroutes.register('repo_group_integrations_list', '/%(repo_group_name)s/settings/integrations/%(integration)s', ['repo_group_name', 'integration']);
28 pyroutes.register('repo_group_integrations_create', '/%(repo_group_name)s/settings/integrations/%(integration)s/new', ['repo_group_name', 'integration']);
28 pyroutes.register('repo_group_integrations_create', '/%(repo_group_name)s/settings/integrations/%(integration)s/new', ['repo_group_name', 'integration']);
29 pyroutes.register('repo_group_integrations_edit', '/%(repo_group_name)s/settings/integrations/%(integration)s/%(integration_id)s', ['repo_group_name', 'integration', 'integration_id']);
29 pyroutes.register('repo_group_integrations_edit', '/%(repo_group_name)s/settings/integrations/%(integration)s/%(integration_id)s', ['repo_group_name', 'integration', 'integration_id']);
30 pyroutes.register('repo_integrations_home', '/%(repo_name)s/settings/integrations', ['repo_name']);
30 pyroutes.register('repo_integrations_home', '/%(repo_name)s/settings/integrations', ['repo_name']);
31 pyroutes.register('repo_integrations_new', '/%(repo_name)s/settings/integrations/new', ['repo_name']);
31 pyroutes.register('repo_integrations_new', '/%(repo_name)s/settings/integrations/new', ['repo_name']);
32 pyroutes.register('repo_integrations_list', '/%(repo_name)s/settings/integrations/%(integration)s', ['repo_name', 'integration']);
32 pyroutes.register('repo_integrations_list', '/%(repo_name)s/settings/integrations/%(integration)s', ['repo_name', 'integration']);
33 pyroutes.register('repo_integrations_create', '/%(repo_name)s/settings/integrations/%(integration)s/new', ['repo_name', 'integration']);
33 pyroutes.register('repo_integrations_create', '/%(repo_name)s/settings/integrations/%(integration)s/new', ['repo_name', 'integration']);
34 pyroutes.register('repo_integrations_edit', '/%(repo_name)s/settings/integrations/%(integration)s/%(integration_id)s', ['repo_name', 'integration', 'integration_id']);
34 pyroutes.register('repo_integrations_edit', '/%(repo_name)s/settings/integrations/%(integration)s/%(integration_id)s', ['repo_name', 'integration', 'integration_id']);
35 pyroutes.register('ops_ping', '/_admin/ops/ping', []);
35 pyroutes.register('ops_ping', '/_admin/ops/ping', []);
36 pyroutes.register('ops_error_test', '/_admin/ops/error', []);
36 pyroutes.register('ops_error_test', '/_admin/ops/error', []);
37 pyroutes.register('ops_redirect_test', '/_admin/ops/redirect', []);
37 pyroutes.register('ops_redirect_test', '/_admin/ops/redirect', []);
38 pyroutes.register('admin_home', '/_admin', []);
38 pyroutes.register('admin_home', '/_admin', []);
39 pyroutes.register('admin_audit_logs', '/_admin/audit_logs', []);
39 pyroutes.register('admin_audit_logs', '/_admin/audit_logs', []);
40 pyroutes.register('pull_requests_global_0', '/_admin/pull_requests/%(pull_request_id)s', ['pull_request_id']);
40 pyroutes.register('pull_requests_global_0', '/_admin/pull_requests/%(pull_request_id)s', ['pull_request_id']);
41 pyroutes.register('pull_requests_global_1', '/_admin/pull-requests/%(pull_request_id)s', ['pull_request_id']);
41 pyroutes.register('pull_requests_global_1', '/_admin/pull-requests/%(pull_request_id)s', ['pull_request_id']);
42 pyroutes.register('pull_requests_global', '/_admin/pull-request/%(pull_request_id)s', ['pull_request_id']);
42 pyroutes.register('pull_requests_global', '/_admin/pull-request/%(pull_request_id)s', ['pull_request_id']);
43 pyroutes.register('admin_settings_open_source', '/_admin/settings/open_source', []);
43 pyroutes.register('admin_settings_open_source', '/_admin/settings/open_source', []);
44 pyroutes.register('admin_settings_vcs_svn_generate_cfg', '/_admin/settings/vcs/svn_generate_cfg', []);
44 pyroutes.register('admin_settings_vcs_svn_generate_cfg', '/_admin/settings/vcs/svn_generate_cfg', []);
45 pyroutes.register('admin_settings_system', '/_admin/settings/system', []);
45 pyroutes.register('admin_settings_system', '/_admin/settings/system', []);
46 pyroutes.register('admin_settings_system_update', '/_admin/settings/system/updates', []);
46 pyroutes.register('admin_settings_system_update', '/_admin/settings/system/updates', []);
47 pyroutes.register('admin_settings_sessions', '/_admin/settings/sessions', []);
47 pyroutes.register('admin_settings_sessions', '/_admin/settings/sessions', []);
48 pyroutes.register('admin_settings_sessions_cleanup', '/_admin/settings/sessions/cleanup', []);
48 pyroutes.register('admin_settings_sessions_cleanup', '/_admin/settings/sessions/cleanup', []);
49 pyroutes.register('admin_settings_process_management', '/_admin/settings/process_management', []);
49 pyroutes.register('admin_settings_process_management', '/_admin/settings/process_management', []);
50 pyroutes.register('admin_settings_process_management_signal', '/_admin/settings/process_management/signal', []);
50 pyroutes.register('admin_settings_process_management_signal', '/_admin/settings/process_management/signal', []);
51 pyroutes.register('admin_permissions_application', '/_admin/permissions/application', []);
51 pyroutes.register('admin_permissions_application', '/_admin/permissions/application', []);
52 pyroutes.register('admin_permissions_application_update', '/_admin/permissions/application/update', []);
52 pyroutes.register('admin_permissions_application_update', '/_admin/permissions/application/update', []);
53 pyroutes.register('admin_permissions_global', '/_admin/permissions/global', []);
53 pyroutes.register('admin_permissions_global', '/_admin/permissions/global', []);
54 pyroutes.register('admin_permissions_global_update', '/_admin/permissions/global/update', []);
54 pyroutes.register('admin_permissions_global_update', '/_admin/permissions/global/update', []);
55 pyroutes.register('admin_permissions_object', '/_admin/permissions/object', []);
55 pyroutes.register('admin_permissions_object', '/_admin/permissions/object', []);
56 pyroutes.register('admin_permissions_object_update', '/_admin/permissions/object/update', []);
56 pyroutes.register('admin_permissions_object_update', '/_admin/permissions/object/update', []);
57 pyroutes.register('admin_permissions_ips', '/_admin/permissions/ips', []);
57 pyroutes.register('admin_permissions_ips', '/_admin/permissions/ips', []);
58 pyroutes.register('admin_permissions_overview', '/_admin/permissions/overview', []);
58 pyroutes.register('admin_permissions_overview', '/_admin/permissions/overview', []);
59 pyroutes.register('admin_permissions_auth_token_access', '/_admin/permissions/auth_token_access', []);
59 pyroutes.register('admin_permissions_auth_token_access', '/_admin/permissions/auth_token_access', []);
60 pyroutes.register('users', '/_admin/users', []);
60 pyroutes.register('users', '/_admin/users', []);
61 pyroutes.register('users_data', '/_admin/users_data', []);
61 pyroutes.register('users_data', '/_admin/users_data', []);
62 pyroutes.register('edit_user_auth_tokens', '/_admin/users/%(user_id)s/edit/auth_tokens', ['user_id']);
62 pyroutes.register('edit_user_auth_tokens', '/_admin/users/%(user_id)s/edit/auth_tokens', ['user_id']);
63 pyroutes.register('edit_user_auth_tokens_add', '/_admin/users/%(user_id)s/edit/auth_tokens/new', ['user_id']);
63 pyroutes.register('edit_user_auth_tokens_add', '/_admin/users/%(user_id)s/edit/auth_tokens/new', ['user_id']);
64 pyroutes.register('edit_user_auth_tokens_delete', '/_admin/users/%(user_id)s/edit/auth_tokens/delete', ['user_id']);
64 pyroutes.register('edit_user_auth_tokens_delete', '/_admin/users/%(user_id)s/edit/auth_tokens/delete', ['user_id']);
65 pyroutes.register('edit_user_ssh_keys', '/_admin/users/%(user_id)s/edit/ssh_keys', ['user_id']);
66 pyroutes.register('edit_user_ssh_keys_generate_keypair', '/_admin/users/%(user_id)s/edit/ssh_keys/generate', ['user_id']);
67 pyroutes.register('edit_user_ssh_keys_add', '/_admin/users/%(user_id)s/edit/ssh_keys/new', ['user_id']);
68 pyroutes.register('edit_user_ssh_keys_delete', '/_admin/users/%(user_id)s/edit/ssh_keys/delete', ['user_id']);
65 pyroutes.register('edit_user_emails', '/_admin/users/%(user_id)s/edit/emails', ['user_id']);
69 pyroutes.register('edit_user_emails', '/_admin/users/%(user_id)s/edit/emails', ['user_id']);
66 pyroutes.register('edit_user_emails_add', '/_admin/users/%(user_id)s/edit/emails/new', ['user_id']);
70 pyroutes.register('edit_user_emails_add', '/_admin/users/%(user_id)s/edit/emails/new', ['user_id']);
67 pyroutes.register('edit_user_emails_delete', '/_admin/users/%(user_id)s/edit/emails/delete', ['user_id']);
71 pyroutes.register('edit_user_emails_delete', '/_admin/users/%(user_id)s/edit/emails/delete', ['user_id']);
68 pyroutes.register('edit_user_ips', '/_admin/users/%(user_id)s/edit/ips', ['user_id']);
72 pyroutes.register('edit_user_ips', '/_admin/users/%(user_id)s/edit/ips', ['user_id']);
69 pyroutes.register('edit_user_ips_add', '/_admin/users/%(user_id)s/edit/ips/new', ['user_id']);
73 pyroutes.register('edit_user_ips_add', '/_admin/users/%(user_id)s/edit/ips/new', ['user_id']);
70 pyroutes.register('edit_user_ips_delete', '/_admin/users/%(user_id)s/edit/ips/delete', ['user_id']);
74 pyroutes.register('edit_user_ips_delete', '/_admin/users/%(user_id)s/edit/ips/delete', ['user_id']);
71 pyroutes.register('edit_user_groups_management', '/_admin/users/%(user_id)s/edit/groups_management', ['user_id']);
75 pyroutes.register('edit_user_groups_management', '/_admin/users/%(user_id)s/edit/groups_management', ['user_id']);
72 pyroutes.register('edit_user_groups_management_updates', '/_admin/users/%(user_id)s/edit/edit_user_groups_management/updates', ['user_id']);
76 pyroutes.register('edit_user_groups_management_updates', '/_admin/users/%(user_id)s/edit/edit_user_groups_management/updates', ['user_id']);
73 pyroutes.register('edit_user_audit_logs', '/_admin/users/%(user_id)s/edit/audit', ['user_id']);
77 pyroutes.register('edit_user_audit_logs', '/_admin/users/%(user_id)s/edit/audit', ['user_id']);
74 pyroutes.register('user_groups', '/_admin/user_groups', []);
78 pyroutes.register('user_groups', '/_admin/user_groups', []);
75 pyroutes.register('user_groups_data', '/_admin/user_groups_data', []);
79 pyroutes.register('user_groups_data', '/_admin/user_groups_data', []);
76 pyroutes.register('user_group_members_data', '/_admin/user_groups/%(user_group_id)s/members', ['user_group_id']);
80 pyroutes.register('user_group_members_data', '/_admin/user_groups/%(user_group_id)s/members', ['user_group_id']);
77 pyroutes.register('channelstream_connect', '/_admin/channelstream/connect', []);
81 pyroutes.register('channelstream_connect', '/_admin/channelstream/connect', []);
78 pyroutes.register('channelstream_subscribe', '/_admin/channelstream/subscribe', []);
82 pyroutes.register('channelstream_subscribe', '/_admin/channelstream/subscribe', []);
79 pyroutes.register('channelstream_proxy', '/_channelstream', []);
83 pyroutes.register('channelstream_proxy', '/_channelstream', []);
80 pyroutes.register('login', '/_admin/login', []);
84 pyroutes.register('login', '/_admin/login', []);
81 pyroutes.register('logout', '/_admin/logout', []);
85 pyroutes.register('logout', '/_admin/logout', []);
82 pyroutes.register('register', '/_admin/register', []);
86 pyroutes.register('register', '/_admin/register', []);
83 pyroutes.register('reset_password', '/_admin/password_reset', []);
87 pyroutes.register('reset_password', '/_admin/password_reset', []);
84 pyroutes.register('reset_password_confirmation', '/_admin/password_reset_confirmation', []);
88 pyroutes.register('reset_password_confirmation', '/_admin/password_reset_confirmation', []);
85 pyroutes.register('home', '/', []);
89 pyroutes.register('home', '/', []);
86 pyroutes.register('user_autocomplete_data', '/_users', []);
90 pyroutes.register('user_autocomplete_data', '/_users', []);
87 pyroutes.register('user_group_autocomplete_data', '/_user_groups', []);
91 pyroutes.register('user_group_autocomplete_data', '/_user_groups', []);
88 pyroutes.register('repo_list_data', '/_repos', []);
92 pyroutes.register('repo_list_data', '/_repos', []);
89 pyroutes.register('goto_switcher_data', '/_goto_data', []);
93 pyroutes.register('goto_switcher_data', '/_goto_data', []);
90 pyroutes.register('journal', '/_admin/journal', []);
94 pyroutes.register('journal', '/_admin/journal', []);
91 pyroutes.register('journal_rss', '/_admin/journal/rss', []);
95 pyroutes.register('journal_rss', '/_admin/journal/rss', []);
92 pyroutes.register('journal_atom', '/_admin/journal/atom', []);
96 pyroutes.register('journal_atom', '/_admin/journal/atom', []);
93 pyroutes.register('journal_public', '/_admin/public_journal', []);
97 pyroutes.register('journal_public', '/_admin/public_journal', []);
94 pyroutes.register('journal_public_atom', '/_admin/public_journal/atom', []);
98 pyroutes.register('journal_public_atom', '/_admin/public_journal/atom', []);
95 pyroutes.register('journal_public_atom_old', '/_admin/public_journal_atom', []);
99 pyroutes.register('journal_public_atom_old', '/_admin/public_journal_atom', []);
96 pyroutes.register('journal_public_rss', '/_admin/public_journal/rss', []);
100 pyroutes.register('journal_public_rss', '/_admin/public_journal/rss', []);
97 pyroutes.register('journal_public_rss_old', '/_admin/public_journal_rss', []);
101 pyroutes.register('journal_public_rss_old', '/_admin/public_journal_rss', []);
98 pyroutes.register('toggle_following', '/_admin/toggle_following', []);
102 pyroutes.register('toggle_following', '/_admin/toggle_following', []);
99 pyroutes.register('repo_creating', '/%(repo_name)s/repo_creating', ['repo_name']);
103 pyroutes.register('repo_creating', '/%(repo_name)s/repo_creating', ['repo_name']);
100 pyroutes.register('repo_creating_check', '/%(repo_name)s/repo_creating_check', ['repo_name']);
104 pyroutes.register('repo_creating_check', '/%(repo_name)s/repo_creating_check', ['repo_name']);
101 pyroutes.register('repo_summary_explicit', '/%(repo_name)s/summary', ['repo_name']);
105 pyroutes.register('repo_summary_explicit', '/%(repo_name)s/summary', ['repo_name']);
102 pyroutes.register('repo_summary_commits', '/%(repo_name)s/summary-commits', ['repo_name']);
106 pyroutes.register('repo_summary_commits', '/%(repo_name)s/summary-commits', ['repo_name']);
103 pyroutes.register('repo_commit', '/%(repo_name)s/changeset/%(commit_id)s', ['repo_name', 'commit_id']);
107 pyroutes.register('repo_commit', '/%(repo_name)s/changeset/%(commit_id)s', ['repo_name', 'commit_id']);
104 pyroutes.register('repo_commit_children', '/%(repo_name)s/changeset_children/%(commit_id)s', ['repo_name', 'commit_id']);
108 pyroutes.register('repo_commit_children', '/%(repo_name)s/changeset_children/%(commit_id)s', ['repo_name', 'commit_id']);
105 pyroutes.register('repo_commit_parents', '/%(repo_name)s/changeset_parents/%(commit_id)s', ['repo_name', 'commit_id']);
109 pyroutes.register('repo_commit_parents', '/%(repo_name)s/changeset_parents/%(commit_id)s', ['repo_name', 'commit_id']);
106 pyroutes.register('repo_commit_raw', '/%(repo_name)s/changeset-diff/%(commit_id)s', ['repo_name', 'commit_id']);
110 pyroutes.register('repo_commit_raw', '/%(repo_name)s/changeset-diff/%(commit_id)s', ['repo_name', 'commit_id']);
107 pyroutes.register('repo_commit_patch', '/%(repo_name)s/changeset-patch/%(commit_id)s', ['repo_name', 'commit_id']);
111 pyroutes.register('repo_commit_patch', '/%(repo_name)s/changeset-patch/%(commit_id)s', ['repo_name', 'commit_id']);
108 pyroutes.register('repo_commit_download', '/%(repo_name)s/changeset-download/%(commit_id)s', ['repo_name', 'commit_id']);
112 pyroutes.register('repo_commit_download', '/%(repo_name)s/changeset-download/%(commit_id)s', ['repo_name', 'commit_id']);
109 pyroutes.register('repo_commit_data', '/%(repo_name)s/changeset-data/%(commit_id)s', ['repo_name', 'commit_id']);
113 pyroutes.register('repo_commit_data', '/%(repo_name)s/changeset-data/%(commit_id)s', ['repo_name', 'commit_id']);
110 pyroutes.register('repo_commit_comment_create', '/%(repo_name)s/changeset/%(commit_id)s/comment/create', ['repo_name', 'commit_id']);
114 pyroutes.register('repo_commit_comment_create', '/%(repo_name)s/changeset/%(commit_id)s/comment/create', ['repo_name', 'commit_id']);
111 pyroutes.register('repo_commit_comment_preview', '/%(repo_name)s/changeset/%(commit_id)s/comment/preview', ['repo_name', 'commit_id']);
115 pyroutes.register('repo_commit_comment_preview', '/%(repo_name)s/changeset/%(commit_id)s/comment/preview', ['repo_name', 'commit_id']);
112 pyroutes.register('repo_commit_comment_delete', '/%(repo_name)s/changeset/%(commit_id)s/comment/%(comment_id)s/delete', ['repo_name', 'commit_id', 'comment_id']);
116 pyroutes.register('repo_commit_comment_delete', '/%(repo_name)s/changeset/%(commit_id)s/comment/%(comment_id)s/delete', ['repo_name', 'commit_id', 'comment_id']);
113 pyroutes.register('repo_commit_raw_deprecated', '/%(repo_name)s/raw-changeset/%(commit_id)s', ['repo_name', 'commit_id']);
117 pyroutes.register('repo_commit_raw_deprecated', '/%(repo_name)s/raw-changeset/%(commit_id)s', ['repo_name', 'commit_id']);
114 pyroutes.register('repo_archivefile', '/%(repo_name)s/archive/%(fname)s', ['repo_name', 'fname']);
118 pyroutes.register('repo_archivefile', '/%(repo_name)s/archive/%(fname)s', ['repo_name', 'fname']);
115 pyroutes.register('repo_files_diff', '/%(repo_name)s/diff/%(f_path)s', ['repo_name', 'f_path']);
119 pyroutes.register('repo_files_diff', '/%(repo_name)s/diff/%(f_path)s', ['repo_name', 'f_path']);
116 pyroutes.register('repo_files_diff_2way_redirect', '/%(repo_name)s/diff-2way/%(f_path)s', ['repo_name', 'f_path']);
120 pyroutes.register('repo_files_diff_2way_redirect', '/%(repo_name)s/diff-2way/%(f_path)s', ['repo_name', 'f_path']);
117 pyroutes.register('repo_files', '/%(repo_name)s/files/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
121 pyroutes.register('repo_files', '/%(repo_name)s/files/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
118 pyroutes.register('repo_files:default_path', '/%(repo_name)s/files/%(commit_id)s/', ['repo_name', 'commit_id']);
122 pyroutes.register('repo_files:default_path', '/%(repo_name)s/files/%(commit_id)s/', ['repo_name', 'commit_id']);
119 pyroutes.register('repo_files:default_commit', '/%(repo_name)s/files', ['repo_name']);
123 pyroutes.register('repo_files:default_commit', '/%(repo_name)s/files', ['repo_name']);
120 pyroutes.register('repo_files:rendered', '/%(repo_name)s/render/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
124 pyroutes.register('repo_files:rendered', '/%(repo_name)s/render/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
121 pyroutes.register('repo_files:annotated', '/%(repo_name)s/annotate/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
125 pyroutes.register('repo_files:annotated', '/%(repo_name)s/annotate/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
122 pyroutes.register('repo_files:annotated_previous', '/%(repo_name)s/annotate-previous/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
126 pyroutes.register('repo_files:annotated_previous', '/%(repo_name)s/annotate-previous/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
123 pyroutes.register('repo_nodetree_full', '/%(repo_name)s/nodetree_full/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
127 pyroutes.register('repo_nodetree_full', '/%(repo_name)s/nodetree_full/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
124 pyroutes.register('repo_nodetree_full:default_path', '/%(repo_name)s/nodetree_full/%(commit_id)s/', ['repo_name', 'commit_id']);
128 pyroutes.register('repo_nodetree_full:default_path', '/%(repo_name)s/nodetree_full/%(commit_id)s/', ['repo_name', 'commit_id']);
125 pyroutes.register('repo_files_nodelist', '/%(repo_name)s/nodelist/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
129 pyroutes.register('repo_files_nodelist', '/%(repo_name)s/nodelist/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
126 pyroutes.register('repo_file_raw', '/%(repo_name)s/raw/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
130 pyroutes.register('repo_file_raw', '/%(repo_name)s/raw/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
127 pyroutes.register('repo_file_download', '/%(repo_name)s/download/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
131 pyroutes.register('repo_file_download', '/%(repo_name)s/download/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
128 pyroutes.register('repo_file_download:legacy', '/%(repo_name)s/rawfile/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
132 pyroutes.register('repo_file_download:legacy', '/%(repo_name)s/rawfile/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
129 pyroutes.register('repo_file_history', '/%(repo_name)s/history/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
133 pyroutes.register('repo_file_history', '/%(repo_name)s/history/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
130 pyroutes.register('repo_file_authors', '/%(repo_name)s/authors/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
134 pyroutes.register('repo_file_authors', '/%(repo_name)s/authors/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
131 pyroutes.register('repo_files_remove_file', '/%(repo_name)s/remove_file/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
135 pyroutes.register('repo_files_remove_file', '/%(repo_name)s/remove_file/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
132 pyroutes.register('repo_files_delete_file', '/%(repo_name)s/delete_file/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
136 pyroutes.register('repo_files_delete_file', '/%(repo_name)s/delete_file/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
133 pyroutes.register('repo_files_edit_file', '/%(repo_name)s/edit_file/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
137 pyroutes.register('repo_files_edit_file', '/%(repo_name)s/edit_file/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
134 pyroutes.register('repo_files_update_file', '/%(repo_name)s/update_file/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
138 pyroutes.register('repo_files_update_file', '/%(repo_name)s/update_file/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
135 pyroutes.register('repo_files_add_file', '/%(repo_name)s/add_file/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
139 pyroutes.register('repo_files_add_file', '/%(repo_name)s/add_file/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
136 pyroutes.register('repo_files_create_file', '/%(repo_name)s/create_file/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
140 pyroutes.register('repo_files_create_file', '/%(repo_name)s/create_file/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
137 pyroutes.register('repo_refs_data', '/%(repo_name)s/refs-data', ['repo_name']);
141 pyroutes.register('repo_refs_data', '/%(repo_name)s/refs-data', ['repo_name']);
138 pyroutes.register('repo_refs_changelog_data', '/%(repo_name)s/refs-data-changelog', ['repo_name']);
142 pyroutes.register('repo_refs_changelog_data', '/%(repo_name)s/refs-data-changelog', ['repo_name']);
139 pyroutes.register('repo_stats', '/%(repo_name)s/repo_stats/%(commit_id)s', ['repo_name', 'commit_id']);
143 pyroutes.register('repo_stats', '/%(repo_name)s/repo_stats/%(commit_id)s', ['repo_name', 'commit_id']);
140 pyroutes.register('repo_changelog', '/%(repo_name)s/changelog', ['repo_name']);
144 pyroutes.register('repo_changelog', '/%(repo_name)s/changelog', ['repo_name']);
141 pyroutes.register('repo_changelog_file', '/%(repo_name)s/changelog/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
145 pyroutes.register('repo_changelog_file', '/%(repo_name)s/changelog/%(commit_id)s/%(f_path)s', ['repo_name', 'commit_id', 'f_path']);
142 pyroutes.register('repo_changelog_elements', '/%(repo_name)s/changelog_elements', ['repo_name']);
146 pyroutes.register('repo_changelog_elements', '/%(repo_name)s/changelog_elements', ['repo_name']);
143 pyroutes.register('repo_compare_select', '/%(repo_name)s/compare', ['repo_name']);
147 pyroutes.register('repo_compare_select', '/%(repo_name)s/compare', ['repo_name']);
144 pyroutes.register('repo_compare', '/%(repo_name)s/compare/%(source_ref_type)s@%(source_ref)s...%(target_ref_type)s@%(target_ref)s', ['repo_name', 'source_ref_type', 'source_ref', 'target_ref_type', 'target_ref']);
148 pyroutes.register('repo_compare', '/%(repo_name)s/compare/%(source_ref_type)s@%(source_ref)s...%(target_ref_type)s@%(target_ref)s', ['repo_name', 'source_ref_type', 'source_ref', 'target_ref_type', 'target_ref']);
145 pyroutes.register('tags_home', '/%(repo_name)s/tags', ['repo_name']);
149 pyroutes.register('tags_home', '/%(repo_name)s/tags', ['repo_name']);
146 pyroutes.register('branches_home', '/%(repo_name)s/branches', ['repo_name']);
150 pyroutes.register('branches_home', '/%(repo_name)s/branches', ['repo_name']);
147 pyroutes.register('bookmarks_home', '/%(repo_name)s/bookmarks', ['repo_name']);
151 pyroutes.register('bookmarks_home', '/%(repo_name)s/bookmarks', ['repo_name']);
148 pyroutes.register('repo_fork_new', '/%(repo_name)s/fork', ['repo_name']);
152 pyroutes.register('repo_fork_new', '/%(repo_name)s/fork', ['repo_name']);
149 pyroutes.register('repo_fork_create', '/%(repo_name)s/fork/create', ['repo_name']);
153 pyroutes.register('repo_fork_create', '/%(repo_name)s/fork/create', ['repo_name']);
150 pyroutes.register('repo_forks_show_all', '/%(repo_name)s/forks', ['repo_name']);
154 pyroutes.register('repo_forks_show_all', '/%(repo_name)s/forks', ['repo_name']);
151 pyroutes.register('repo_forks_data', '/%(repo_name)s/forks/data', ['repo_name']);
155 pyroutes.register('repo_forks_data', '/%(repo_name)s/forks/data', ['repo_name']);
152 pyroutes.register('pullrequest_show', '/%(repo_name)s/pull-request/%(pull_request_id)s', ['repo_name', 'pull_request_id']);
156 pyroutes.register('pullrequest_show', '/%(repo_name)s/pull-request/%(pull_request_id)s', ['repo_name', 'pull_request_id']);
153 pyroutes.register('pullrequest_show_all', '/%(repo_name)s/pull-request', ['repo_name']);
157 pyroutes.register('pullrequest_show_all', '/%(repo_name)s/pull-request', ['repo_name']);
154 pyroutes.register('pullrequest_show_all_data', '/%(repo_name)s/pull-request-data', ['repo_name']);
158 pyroutes.register('pullrequest_show_all_data', '/%(repo_name)s/pull-request-data', ['repo_name']);
155 pyroutes.register('pullrequest_repo_refs', '/%(repo_name)s/pull-request/refs/%(target_repo_name)s', ['repo_name', 'target_repo_name']);
159 pyroutes.register('pullrequest_repo_refs', '/%(repo_name)s/pull-request/refs/%(target_repo_name)s', ['repo_name', 'target_repo_name']);
156 pyroutes.register('pullrequest_repo_destinations', '/%(repo_name)s/pull-request/repo-destinations', ['repo_name']);
160 pyroutes.register('pullrequest_repo_destinations', '/%(repo_name)s/pull-request/repo-destinations', ['repo_name']);
157 pyroutes.register('pullrequest_new', '/%(repo_name)s/pull-request/new', ['repo_name']);
161 pyroutes.register('pullrequest_new', '/%(repo_name)s/pull-request/new', ['repo_name']);
158 pyroutes.register('pullrequest_create', '/%(repo_name)s/pull-request/create', ['repo_name']);
162 pyroutes.register('pullrequest_create', '/%(repo_name)s/pull-request/create', ['repo_name']);
159 pyroutes.register('pullrequest_update', '/%(repo_name)s/pull-request/%(pull_request_id)s/update', ['repo_name', 'pull_request_id']);
163 pyroutes.register('pullrequest_update', '/%(repo_name)s/pull-request/%(pull_request_id)s/update', ['repo_name', 'pull_request_id']);
160 pyroutes.register('pullrequest_merge', '/%(repo_name)s/pull-request/%(pull_request_id)s/merge', ['repo_name', 'pull_request_id']);
164 pyroutes.register('pullrequest_merge', '/%(repo_name)s/pull-request/%(pull_request_id)s/merge', ['repo_name', 'pull_request_id']);
161 pyroutes.register('pullrequest_delete', '/%(repo_name)s/pull-request/%(pull_request_id)s/delete', ['repo_name', 'pull_request_id']);
165 pyroutes.register('pullrequest_delete', '/%(repo_name)s/pull-request/%(pull_request_id)s/delete', ['repo_name', 'pull_request_id']);
162 pyroutes.register('pullrequest_comment_create', '/%(repo_name)s/pull-request/%(pull_request_id)s/comment', ['repo_name', 'pull_request_id']);
166 pyroutes.register('pullrequest_comment_create', '/%(repo_name)s/pull-request/%(pull_request_id)s/comment', ['repo_name', 'pull_request_id']);
163 pyroutes.register('pullrequest_comment_delete', '/%(repo_name)s/pull-request/%(pull_request_id)s/comment/%(comment_id)s/delete', ['repo_name', 'pull_request_id', 'comment_id']);
167 pyroutes.register('pullrequest_comment_delete', '/%(repo_name)s/pull-request/%(pull_request_id)s/comment/%(comment_id)s/delete', ['repo_name', 'pull_request_id', 'comment_id']);
164 pyroutes.register('edit_repo', '/%(repo_name)s/settings', ['repo_name']);
168 pyroutes.register('edit_repo', '/%(repo_name)s/settings', ['repo_name']);
165 pyroutes.register('edit_repo_advanced', '/%(repo_name)s/settings/advanced', ['repo_name']);
169 pyroutes.register('edit_repo_advanced', '/%(repo_name)s/settings/advanced', ['repo_name']);
166 pyroutes.register('edit_repo_advanced_delete', '/%(repo_name)s/settings/advanced/delete', ['repo_name']);
170 pyroutes.register('edit_repo_advanced_delete', '/%(repo_name)s/settings/advanced/delete', ['repo_name']);
167 pyroutes.register('edit_repo_advanced_locking', '/%(repo_name)s/settings/advanced/locking', ['repo_name']);
171 pyroutes.register('edit_repo_advanced_locking', '/%(repo_name)s/settings/advanced/locking', ['repo_name']);
168 pyroutes.register('edit_repo_advanced_journal', '/%(repo_name)s/settings/advanced/journal', ['repo_name']);
172 pyroutes.register('edit_repo_advanced_journal', '/%(repo_name)s/settings/advanced/journal', ['repo_name']);
169 pyroutes.register('edit_repo_advanced_fork', '/%(repo_name)s/settings/advanced/fork', ['repo_name']);
173 pyroutes.register('edit_repo_advanced_fork', '/%(repo_name)s/settings/advanced/fork', ['repo_name']);
170 pyroutes.register('edit_repo_caches', '/%(repo_name)s/settings/caches', ['repo_name']);
174 pyroutes.register('edit_repo_caches', '/%(repo_name)s/settings/caches', ['repo_name']);
171 pyroutes.register('edit_repo_perms', '/%(repo_name)s/settings/permissions', ['repo_name']);
175 pyroutes.register('edit_repo_perms', '/%(repo_name)s/settings/permissions', ['repo_name']);
172 pyroutes.register('repo_reviewers', '/%(repo_name)s/settings/review/rules', ['repo_name']);
176 pyroutes.register('repo_reviewers', '/%(repo_name)s/settings/review/rules', ['repo_name']);
173 pyroutes.register('repo_default_reviewers_data', '/%(repo_name)s/settings/review/default-reviewers', ['repo_name']);
177 pyroutes.register('repo_default_reviewers_data', '/%(repo_name)s/settings/review/default-reviewers', ['repo_name']);
174 pyroutes.register('repo_maintenance', '/%(repo_name)s/settings/maintenance', ['repo_name']);
178 pyroutes.register('repo_maintenance', '/%(repo_name)s/settings/maintenance', ['repo_name']);
175 pyroutes.register('repo_maintenance_execute', '/%(repo_name)s/settings/maintenance/execute', ['repo_name']);
179 pyroutes.register('repo_maintenance_execute', '/%(repo_name)s/settings/maintenance/execute', ['repo_name']);
176 pyroutes.register('strip', '/%(repo_name)s/settings/strip', ['repo_name']);
180 pyroutes.register('strip', '/%(repo_name)s/settings/strip', ['repo_name']);
177 pyroutes.register('strip_check', '/%(repo_name)s/settings/strip_check', ['repo_name']);
181 pyroutes.register('strip_check', '/%(repo_name)s/settings/strip_check', ['repo_name']);
178 pyroutes.register('strip_execute', '/%(repo_name)s/settings/strip_execute', ['repo_name']);
182 pyroutes.register('strip_execute', '/%(repo_name)s/settings/strip_execute', ['repo_name']);
179 pyroutes.register('rss_feed_home', '/%(repo_name)s/feed/rss', ['repo_name']);
183 pyroutes.register('rss_feed_home', '/%(repo_name)s/feed/rss', ['repo_name']);
180 pyroutes.register('atom_feed_home', '/%(repo_name)s/feed/atom', ['repo_name']);
184 pyroutes.register('atom_feed_home', '/%(repo_name)s/feed/atom', ['repo_name']);
181 pyroutes.register('repo_summary', '/%(repo_name)s', ['repo_name']);
185 pyroutes.register('repo_summary', '/%(repo_name)s', ['repo_name']);
182 pyroutes.register('repo_summary_slash', '/%(repo_name)s/', ['repo_name']);
186 pyroutes.register('repo_summary_slash', '/%(repo_name)s/', ['repo_name']);
183 pyroutes.register('repo_group_home', '/%(repo_group_name)s', ['repo_group_name']);
187 pyroutes.register('repo_group_home', '/%(repo_group_name)s', ['repo_group_name']);
184 pyroutes.register('repo_group_home_slash', '/%(repo_group_name)s/', ['repo_group_name']);
188 pyroutes.register('repo_group_home_slash', '/%(repo_group_name)s/', ['repo_group_name']);
185 pyroutes.register('search', '/_admin/search', []);
189 pyroutes.register('search', '/_admin/search', []);
186 pyroutes.register('search_repo', '/%(repo_name)s/search', ['repo_name']);
190 pyroutes.register('search_repo', '/%(repo_name)s/search', ['repo_name']);
187 pyroutes.register('user_profile', '/_profiles/%(username)s', ['username']);
191 pyroutes.register('user_profile', '/_profiles/%(username)s', ['username']);
188 pyroutes.register('my_account_profile', '/_admin/my_account/profile', []);
192 pyroutes.register('my_account_profile', '/_admin/my_account/profile', []);
189 pyroutes.register('my_account_edit', '/_admin/my_account/edit', []);
193 pyroutes.register('my_account_edit', '/_admin/my_account/edit', []);
190 pyroutes.register('my_account_update', '/_admin/my_account/update', []);
194 pyroutes.register('my_account_update', '/_admin/my_account/update', []);
191 pyroutes.register('my_account_password', '/_admin/my_account/password', []);
195 pyroutes.register('my_account_password', '/_admin/my_account/password', []);
192 pyroutes.register('my_account_password_update', '/_admin/my_account/password/update', []);
196 pyroutes.register('my_account_password_update', '/_admin/my_account/password/update', []);
193 pyroutes.register('my_account_auth_tokens', '/_admin/my_account/auth_tokens', []);
197 pyroutes.register('my_account_auth_tokens', '/_admin/my_account/auth_tokens', []);
194 pyroutes.register('my_account_auth_tokens_add', '/_admin/my_account/auth_tokens/new', []);
198 pyroutes.register('my_account_auth_tokens_add', '/_admin/my_account/auth_tokens/new', []);
195 pyroutes.register('my_account_auth_tokens_delete', '/_admin/my_account/auth_tokens/delete', []);
199 pyroutes.register('my_account_auth_tokens_delete', '/_admin/my_account/auth_tokens/delete', []);
196 pyroutes.register('my_account_emails', '/_admin/my_account/emails', []);
200 pyroutes.register('my_account_emails', '/_admin/my_account/emails', []);
197 pyroutes.register('my_account_emails_add', '/_admin/my_account/emails/new', []);
201 pyroutes.register('my_account_emails_add', '/_admin/my_account/emails/new', []);
198 pyroutes.register('my_account_emails_delete', '/_admin/my_account/emails/delete', []);
202 pyroutes.register('my_account_emails_delete', '/_admin/my_account/emails/delete', []);
199 pyroutes.register('my_account_repos', '/_admin/my_account/repos', []);
203 pyroutes.register('my_account_repos', '/_admin/my_account/repos', []);
200 pyroutes.register('my_account_watched', '/_admin/my_account/watched', []);
204 pyroutes.register('my_account_watched', '/_admin/my_account/watched', []);
201 pyroutes.register('my_account_perms', '/_admin/my_account/perms', []);
205 pyroutes.register('my_account_perms', '/_admin/my_account/perms', []);
202 pyroutes.register('my_account_notifications', '/_admin/my_account/notifications', []);
206 pyroutes.register('my_account_notifications', '/_admin/my_account/notifications', []);
203 pyroutes.register('my_account_notifications_toggle_visibility', '/_admin/my_account/toggle_visibility', []);
207 pyroutes.register('my_account_notifications_toggle_visibility', '/_admin/my_account/toggle_visibility', []);
204 pyroutes.register('my_account_pullrequests', '/_admin/my_account/pull_requests', []);
208 pyroutes.register('my_account_pullrequests', '/_admin/my_account/pull_requests', []);
205 pyroutes.register('my_account_pullrequests_data', '/_admin/my_account/pull_requests/data', []);
209 pyroutes.register('my_account_pullrequests_data', '/_admin/my_account/pull_requests/data', []);
206 pyroutes.register('notifications_show_all', '/_admin/notifications', []);
210 pyroutes.register('notifications_show_all', '/_admin/notifications', []);
207 pyroutes.register('notifications_mark_all_read', '/_admin/notifications/mark_all_read', []);
211 pyroutes.register('notifications_mark_all_read', '/_admin/notifications/mark_all_read', []);
208 pyroutes.register('notifications_show', '/_admin/notifications/%(notification_id)s', ['notification_id']);
212 pyroutes.register('notifications_show', '/_admin/notifications/%(notification_id)s', ['notification_id']);
209 pyroutes.register('notifications_update', '/_admin/notifications/%(notification_id)s/update', ['notification_id']);
213 pyroutes.register('notifications_update', '/_admin/notifications/%(notification_id)s/update', ['notification_id']);
210 pyroutes.register('notifications_delete', '/_admin/notifications/%(notification_id)s/delete', ['notification_id']);
214 pyroutes.register('notifications_delete', '/_admin/notifications/%(notification_id)s/delete', ['notification_id']);
211 pyroutes.register('my_account_notifications_test_channelstream', '/_admin/my_account/test_channelstream', []);
215 pyroutes.register('my_account_notifications_test_channelstream', '/_admin/my_account/test_channelstream', []);
212 pyroutes.register('gists_show', '/_admin/gists', []);
216 pyroutes.register('gists_show', '/_admin/gists', []);
213 pyroutes.register('gists_new', '/_admin/gists/new', []);
217 pyroutes.register('gists_new', '/_admin/gists/new', []);
214 pyroutes.register('gists_create', '/_admin/gists/create', []);
218 pyroutes.register('gists_create', '/_admin/gists/create', []);
215 pyroutes.register('gist_show', '/_admin/gists/%(gist_id)s', ['gist_id']);
219 pyroutes.register('gist_show', '/_admin/gists/%(gist_id)s', ['gist_id']);
216 pyroutes.register('gist_delete', '/_admin/gists/%(gist_id)s/delete', ['gist_id']);
220 pyroutes.register('gist_delete', '/_admin/gists/%(gist_id)s/delete', ['gist_id']);
217 pyroutes.register('gist_edit', '/_admin/gists/%(gist_id)s/edit', ['gist_id']);
221 pyroutes.register('gist_edit', '/_admin/gists/%(gist_id)s/edit', ['gist_id']);
218 pyroutes.register('gist_edit_check_revision', '/_admin/gists/%(gist_id)s/edit/check_revision', ['gist_id']);
222 pyroutes.register('gist_edit_check_revision', '/_admin/gists/%(gist_id)s/edit/check_revision', ['gist_id']);
219 pyroutes.register('gist_update', '/_admin/gists/%(gist_id)s/update', ['gist_id']);
223 pyroutes.register('gist_update', '/_admin/gists/%(gist_id)s/update', ['gist_id']);
220 pyroutes.register('gist_show_rev', '/_admin/gists/%(gist_id)s/%(revision)s', ['gist_id', 'revision']);
224 pyroutes.register('gist_show_rev', '/_admin/gists/%(gist_id)s/%(revision)s', ['gist_id', 'revision']);
221 pyroutes.register('gist_show_formatted', '/_admin/gists/%(gist_id)s/%(revision)s/%(format)s', ['gist_id', 'revision', 'format']);
225 pyroutes.register('gist_show_formatted', '/_admin/gists/%(gist_id)s/%(revision)s/%(format)s', ['gist_id', 'revision', 'format']);
222 pyroutes.register('gist_show_formatted_path', '/_admin/gists/%(gist_id)s/%(revision)s/%(format)s/%(f_path)s', ['gist_id', 'revision', 'format', 'f_path']);
226 pyroutes.register('gist_show_formatted_path', '/_admin/gists/%(gist_id)s/%(revision)s/%(format)s/%(f_path)s', ['gist_id', 'revision', 'format', 'f_path']);
223 pyroutes.register('debug_style_home', '/_admin/debug_style', []);
227 pyroutes.register('debug_style_home', '/_admin/debug_style', []);
224 pyroutes.register('debug_style_template', '/_admin/debug_style/t/%(t_path)s', ['t_path']);
228 pyroutes.register('debug_style_template', '/_admin/debug_style/t/%(t_path)s', ['t_path']);
225 pyroutes.register('apiv2', '/_admin/api', []);
229 pyroutes.register('apiv2', '/_admin/api', []);
226 }
230 }
@@ -1,56 +1,57 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="/base/base.mako"/>
2 <%inherit file="/base/base.mako"/>
3
3
4 <%def name="title()">
4 <%def name="title()">
5 ${_('%s user settings') % c.user.username}
5 ${_('%s user settings') % c.user.username}
6 %if c.rhodecode_name:
6 %if c.rhodecode_name:
7 &middot; ${h.branding(c.rhodecode_name)}
7 &middot; ${h.branding(c.rhodecode_name)}
8 %endif
8 %endif
9 </%def>
9 </%def>
10
10
11 <%def name="breadcrumbs_links()">
11 <%def name="breadcrumbs_links()">
12 ${h.link_to(_('Admin'),h.route_path('admin_home'))}
12 ${h.link_to(_('Admin'),h.route_path('admin_home'))}
13 &raquo;
13 &raquo;
14 ${h.link_to(_('Users'),h.route_path('users'))}
14 ${h.link_to(_('Users'),h.route_path('users'))}
15 &raquo;
15 &raquo;
16 % if c.user.active:
16 % if c.user.active:
17 ${c.user.username}
17 ${c.user.username}
18 % else:
18 % else:
19 <strike title="${_('This user is set as disabled')}">${c.user.username}</strike>
19 <strike title="${_('This user is set as disabled')}">${c.user.username}</strike>
20 % endif
20 % endif
21
21
22 </%def>
22 </%def>
23
23
24 <%def name="menu_bar_nav()">
24 <%def name="menu_bar_nav()">
25 ${self.menu_items(active='admin')}
25 ${self.menu_items(active='admin')}
26 </%def>
26 </%def>
27
27
28 <%def name="main()">
28 <%def name="main()">
29 <div class="box user_settings">
29 <div class="box user_settings">
30 <div class="title">
30 <div class="title">
31 ${self.breadcrumbs()}
31 ${self.breadcrumbs()}
32 </div>
32 </div>
33
33
34 ##main
34 ##main
35 <div class="sidebar-col-wrapper">
35 <div class="sidebar-col-wrapper">
36 <div class="sidebar">
36 <div class="sidebar">
37 <ul class="nav nav-pills nav-stacked">
37 <ul class="nav nav-pills nav-stacked">
38 <li class="${'active' if c.active=='profile' else ''}"><a href="${h.url('edit_user', user_id=c.user.user_id)}">${_('User Profile')}</a></li>
38 <li class="${'active' if c.active=='profile' else ''}"><a href="${h.url('edit_user', user_id=c.user.user_id)}">${_('User Profile')}</a></li>
39 <li class="${'active' if c.active=='auth_tokens' else ''}"><a href="${h.route_path('edit_user_auth_tokens', user_id=c.user.user_id)}">${_('Auth tokens')}</a></li>
39 <li class="${'active' if c.active=='auth_tokens' else ''}"><a href="${h.route_path('edit_user_auth_tokens', user_id=c.user.user_id)}">${_('Auth tokens')}</a></li>
40 <li class="${'active' if c.active in ['ssh_keys','ssh_keys_generate'] else ''}"><a href="${h.route_path('edit_user_ssh_keys', user_id=c.user.user_id)}">${_('SSH Keys')}</a></li>
40 <li class="${'active' if c.active=='advanced' else ''}"><a href="${h.url('edit_user_advanced', user_id=c.user.user_id)}">${_('Advanced')}</a></li>
41 <li class="${'active' if c.active=='advanced' else ''}"><a href="${h.url('edit_user_advanced', user_id=c.user.user_id)}">${_('Advanced')}</a></li>
41 <li class="${'active' if c.active=='global_perms' else ''}"><a href="${h.url('edit_user_global_perms', user_id=c.user.user_id)}">${_('Global permissions')}</a></li>
42 <li class="${'active' if c.active=='global_perms' else ''}"><a href="${h.url('edit_user_global_perms', user_id=c.user.user_id)}">${_('Global permissions')}</a></li>
42 <li class="${'active' if c.active=='perms_summary' else ''}"><a href="${h.url('edit_user_perms_summary', user_id=c.user.user_id)}">${_('Permissions summary')}</a></li>
43 <li class="${'active' if c.active=='perms_summary' else ''}"><a href="${h.url('edit_user_perms_summary', user_id=c.user.user_id)}">${_('Permissions summary')}</a></li>
43 <li class="${'active' if c.active=='emails' else ''}"><a href="${h.route_path('edit_user_emails', user_id=c.user.user_id)}">${_('Emails')}</a></li>
44 <li class="${'active' if c.active=='emails' else ''}"><a href="${h.route_path('edit_user_emails', user_id=c.user.user_id)}">${_('Emails')}</a></li>
44 <li class="${'active' if c.active=='ips' else ''}"><a href="${h.route_path('edit_user_ips', user_id=c.user.user_id)}">${_('Ip Whitelist')}</a></li>
45 <li class="${'active' if c.active=='ips' else ''}"><a href="${h.route_path('edit_user_ips', user_id=c.user.user_id)}">${_('Ip Whitelist')}</a></li>
45 <li class="${'active' if c.active=='groups' else ''}"><a href="${h.route_path('edit_user_groups_management', user_id=c.user.user_id)}">${_('User Groups Management')}</a></li>
46 <li class="${'active' if c.active=='groups' else ''}"><a href="${h.route_path('edit_user_groups_management', user_id=c.user.user_id)}">${_('User Groups Management')}</a></li>
46 <li class="${'active' if c.active=='audit' else ''}"><a href="${h.route_path('edit_user_audit_logs', user_id=c.user.user_id)}">${_('User audit')}</a></li>
47 <li class="${'active' if c.active=='audit' else ''}"><a href="${h.route_path('edit_user_audit_logs', user_id=c.user.user_id)}">${_('User audit')}</a></li>
47 </ul>
48 </ul>
48 </div>
49 </div>
49
50
50 <div class="main-content-full-width">
51 <div class="main-content-full-width">
51 <%include file="/admin/users/user_edit_${c.active}.mako"/>
52 <%include file="/admin/users/user_edit_${c.active}.mako"/>
52 </div>
53 </div>
53 </div>
54 </div>
54 </div>
55 </div>
55
56
56 </%def>
57 </%def>
@@ -1,254 +1,255 b''
1 # -*- coding: utf-8 -*-
1 # -*- coding: utf-8 -*-
2
2
3 # Copyright (C) 2010-2017 RhodeCode GmbH
3 # Copyright (C) 2010-2017 RhodeCode GmbH
4 #
4 #
5 # This program is free software: you can redistribute it and/or modify
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU Affero General Public License, version 3
6 # it under the terms of the GNU Affero General Public License, version 3
7 # (only), as published by the Free Software Foundation.
7 # (only), as published by the Free Software Foundation.
8 #
8 #
9 # This program is distributed in the hope that it will be useful,
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
12 # GNU General Public License for more details.
13 #
13 #
14 # You should have received a copy of the GNU Affero General Public License
14 # You should have received a copy of the GNU Affero General Public License
15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16 #
16 #
17 # This program is dual-licensed. If you wish to learn more about the
17 # This program is dual-licensed. If you wish to learn more about the
18 # RhodeCode Enterprise Edition, including its added features, Support services,
18 # RhodeCode Enterprise Edition, including its added features, Support services,
19 # and proprietary license terms, please see https://rhodecode.com/licenses/
19 # and proprietary license terms, please see https://rhodecode.com/licenses/
20
20
21 # Import early to make sure things are patched up properly
21 # Import early to make sure things are patched up properly
22 from setuptools import setup, find_packages
22 from setuptools import setup, find_packages
23
23
24 import os
24 import os
25 import sys
25 import sys
26 import pkgutil
26 import pkgutil
27 import platform
27 import platform
28
28
29 from pip.download import PipSession
29 from pip.download import PipSession
30 from pip.req import parse_requirements
30 from pip.req import parse_requirements
31
31
32 from codecs import open
32 from codecs import open
33
33
34
34
35 if sys.version_info < (2, 7):
35 if sys.version_info < (2, 7):
36 raise Exception('RhodeCode requires Python 2.7 or later')
36 raise Exception('RhodeCode requires Python 2.7 or later')
37
37
38 here = os.path.abspath(os.path.dirname(__file__))
38 here = os.path.abspath(os.path.dirname(__file__))
39
39
40 # defines current platform
40 # defines current platform
41 __platform__ = platform.system()
41 __platform__ = platform.system()
42 __license__ = 'AGPLv3, and Commercial License'
42 __license__ = 'AGPLv3, and Commercial License'
43 __author__ = 'RhodeCode GmbH'
43 __author__ = 'RhodeCode GmbH'
44 __url__ = 'https://code.rhodecode.com'
44 __url__ = 'https://code.rhodecode.com'
45 is_windows = __platform__ in ('Windows',)
45 is_windows = __platform__ in ('Windows',)
46
46
47
47
48 def _get_requirements(req_filename, exclude=None, extras=None):
48 def _get_requirements(req_filename, exclude=None, extras=None):
49 extras = extras or []
49 extras = extras or []
50 exclude = exclude or []
50 exclude = exclude or []
51
51
52 try:
52 try:
53 parsed = parse_requirements(
53 parsed = parse_requirements(
54 os.path.join(here, req_filename), session=PipSession())
54 os.path.join(here, req_filename), session=PipSession())
55 except TypeError:
55 except TypeError:
56 # try pip < 6.0.0, that doesn't support session
56 # try pip < 6.0.0, that doesn't support session
57 parsed = parse_requirements(os.path.join(here, req_filename))
57 parsed = parse_requirements(os.path.join(here, req_filename))
58
58
59 requirements = []
59 requirements = []
60 for ir in parsed:
60 for ir in parsed:
61 if ir.req and ir.name not in exclude:
61 if ir.req and ir.name not in exclude:
62 requirements.append(str(ir.req))
62 requirements.append(str(ir.req))
63 return requirements + extras
63 return requirements + extras
64
64
65
65
66 # requirements extract
66 # requirements extract
67 setup_requirements = ['PasteScript', 'pytest-runner']
67 setup_requirements = ['PasteScript', 'pytest-runner']
68 install_requirements = _get_requirements(
68 install_requirements = _get_requirements(
69 'requirements.txt', exclude=['setuptools'])
69 'requirements.txt', exclude=['setuptools'])
70 test_requirements = _get_requirements(
70 test_requirements = _get_requirements(
71 'requirements_test.txt', extras=['configobj'])
71 'requirements_test.txt', extras=['configobj'])
72
72
73 install_requirements = [
73 install_requirements = [
74 'Babel',
74 'Babel',
75 'Beaker',
75 'Beaker',
76 'FormEncode',
76 'FormEncode',
77 'Mako',
77 'Mako',
78 'Markdown',
78 'Markdown',
79 'MarkupSafe',
79 'MarkupSafe',
80 'MySQL-python',
80 'MySQL-python',
81 'Paste',
81 'Paste',
82 'PasteDeploy',
82 'PasteDeploy',
83 'PasteScript',
83 'PasteScript',
84 'Pygments',
84 'Pygments',
85 'pygments-markdown-lexer',
85 'pygments-markdown-lexer',
86 'Pylons',
86 'Pylons',
87 'Routes',
87 'Routes',
88 'SQLAlchemy',
88 'SQLAlchemy',
89 'Tempita',
89 'Tempita',
90 'URLObject',
90 'URLObject',
91 'WebError',
91 'WebError',
92 'WebHelpers',
92 'WebHelpers',
93 'WebHelpers2',
93 'WebHelpers2',
94 'WebOb',
94 'WebOb',
95 'WebTest',
95 'WebTest',
96 'Whoosh',
96 'Whoosh',
97 'alembic',
97 'alembic',
98 'amqplib',
98 'amqplib',
99 'anyjson',
99 'anyjson',
100 'appenlight-client',
100 'appenlight-client',
101 'authomatic',
101 'authomatic',
102 'cssselect',
102 'cssselect',
103 'celery',
103 'celery',
104 'channelstream',
104 'channelstream',
105 'colander',
105 'colander',
106 'decorator',
106 'decorator',
107 'deform',
107 'deform',
108 'docutils',
108 'docutils',
109 'gevent',
109 'gevent',
110 'gunicorn',
110 'gunicorn',
111 'infrae.cache',
111 'infrae.cache',
112 'ipython',
112 'ipython',
113 'iso8601',
113 'iso8601',
114 'kombu',
114 'kombu',
115 'lxml',
115 'lxml',
116 'msgpack-python',
116 'msgpack-python',
117 'nbconvert',
117 'nbconvert',
118 'packaging',
118 'packaging',
119 'psycopg2',
119 'psycopg2',
120 'py-gfm',
120 'py-gfm',
121 'pycrypto',
121 'pycrypto',
122 'pycurl',
122 'pycurl',
123 'pyparsing',
123 'pyparsing',
124 'pyramid',
124 'pyramid',
125 'pyramid-debugtoolbar',
125 'pyramid-debugtoolbar',
126 'pyramid-mako',
126 'pyramid-mako',
127 'pyramid-beaker',
127 'pyramid-beaker',
128 'pysqlite',
128 'pysqlite',
129 'python-dateutil',
129 'python-dateutil',
130 'python-ldap',
130 'python-ldap',
131 'python-memcached',
131 'python-memcached',
132 'python-pam',
132 'python-pam',
133 'recaptcha-client',
133 'recaptcha-client',
134 'repoze.lru',
134 'repoze.lru',
135 'requests',
135 'requests',
136 'simplejson',
136 'simplejson',
137 'sshpubkeys',
137 'subprocess32',
138 'subprocess32',
138 'waitress',
139 'waitress',
139 'zope.cachedescriptors',
140 'zope.cachedescriptors',
140 'dogpile.cache',
141 'dogpile.cache',
141 'dogpile.core',
142 'dogpile.core',
142 'psutil',
143 'psutil',
143 'py-bcrypt',
144 'py-bcrypt',
144 ]
145 ]
145
146
146
147
147 def get_version():
148 def get_version():
148 version = pkgutil.get_data('rhodecode', 'VERSION')
149 version = pkgutil.get_data('rhodecode', 'VERSION')
149 return version.strip()
150 return version.strip()
150
151
151
152
152 # additional files that goes into package itself
153 # additional files that goes into package itself
153 package_data = {
154 package_data = {
154 '': ['*.txt', '*.rst'],
155 '': ['*.txt', '*.rst'],
155 'configs': ['*.ini'],
156 'configs': ['*.ini'],
156 'rhodecode': ['VERSION', 'i18n/*/LC_MESSAGES/*.mo', ],
157 'rhodecode': ['VERSION', 'i18n/*/LC_MESSAGES/*.mo', ],
157 }
158 }
158
159
159 description = 'Source Code Management Platform'
160 description = 'Source Code Management Platform'
160 keywords = ' '.join([
161 keywords = ' '.join([
161 'rhodecode', 'mercurial', 'git', 'svn',
162 'rhodecode', 'mercurial', 'git', 'svn',
162 'code review',
163 'code review',
163 'repo groups', 'ldap', 'repository management', 'hgweb',
164 'repo groups', 'ldap', 'repository management', 'hgweb',
164 'hgwebdir', 'gitweb', 'serving hgweb',
165 'hgwebdir', 'gitweb', 'serving hgweb',
165 ])
166 ])
166
167
167
168
168 # README/DESCRIPTION generation
169 # README/DESCRIPTION generation
169 readme_file = 'README.rst'
170 readme_file = 'README.rst'
170 changelog_file = 'CHANGES.rst'
171 changelog_file = 'CHANGES.rst'
171 try:
172 try:
172 long_description = open(readme_file).read() + '\n\n' + \
173 long_description = open(readme_file).read() + '\n\n' + \
173 open(changelog_file).read()
174 open(changelog_file).read()
174 except IOError as err:
175 except IOError as err:
175 sys.stderr.write(
176 sys.stderr.write(
176 "[WARNING] Cannot find file specified as long_description (%s)\n "
177 "[WARNING] Cannot find file specified as long_description (%s)\n "
177 "or changelog (%s) skipping that file" % (readme_file, changelog_file))
178 "or changelog (%s) skipping that file" % (readme_file, changelog_file))
178 long_description = description
179 long_description = description
179
180
180
181
181 setup(
182 setup(
182 name='rhodecode-enterprise-ce',
183 name='rhodecode-enterprise-ce',
183 version=get_version(),
184 version=get_version(),
184 description=description,
185 description=description,
185 long_description=long_description,
186 long_description=long_description,
186 keywords=keywords,
187 keywords=keywords,
187 license=__license__,
188 license=__license__,
188 author=__author__,
189 author=__author__,
189 author_email='marcin@rhodecode.com',
190 author_email='marcin@rhodecode.com',
190 url=__url__,
191 url=__url__,
191 setup_requires=setup_requirements,
192 setup_requires=setup_requirements,
192 install_requires=install_requirements,
193 install_requires=install_requirements,
193 tests_require=test_requirements,
194 tests_require=test_requirements,
194 zip_safe=False,
195 zip_safe=False,
195 packages=find_packages(exclude=["docs", "tests*"]),
196 packages=find_packages(exclude=["docs", "tests*"]),
196 package_data=package_data,
197 package_data=package_data,
197 include_package_data=True,
198 include_package_data=True,
198 classifiers=[
199 classifiers=[
199 'Development Status :: 6 - Mature',
200 'Development Status :: 6 - Mature',
200 'Environment :: Web Environment',
201 'Environment :: Web Environment',
201 'Intended Audience :: Developers',
202 'Intended Audience :: Developers',
202 'Operating System :: OS Independent',
203 'Operating System :: OS Independent',
203 'Topic :: Software Development :: Version Control',
204 'Topic :: Software Development :: Version Control',
204 'License :: OSI Approved :: Affero GNU General Public License v3 or later (AGPLv3+)',
205 'License :: OSI Approved :: Affero GNU General Public License v3 or later (AGPLv3+)',
205 'Programming Language :: Python :: 2.7',
206 'Programming Language :: Python :: 2.7',
206 ],
207 ],
207 message_extractors={
208 message_extractors={
208 'rhodecode': [
209 'rhodecode': [
209 ('**.py', 'python', None),
210 ('**.py', 'python', None),
210 ('**.js', 'javascript', None),
211 ('**.js', 'javascript', None),
211 ('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}),
212 ('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}),
212 ('templates/**.html', 'mako', {'input_encoding': 'utf-8'}),
213 ('templates/**.html', 'mako', {'input_encoding': 'utf-8'}),
213 ('public/**', 'ignore', None),
214 ('public/**', 'ignore', None),
214 ]
215 ]
215 },
216 },
216 paster_plugins=['PasteScript', 'Pylons'],
217 paster_plugins=['PasteScript', 'Pylons'],
217 entry_points={
218 entry_points={
218 'enterprise.plugins1': [
219 'enterprise.plugins1': [
219 'crowd=rhodecode.authentication.plugins.auth_crowd:plugin_factory',
220 'crowd=rhodecode.authentication.plugins.auth_crowd:plugin_factory',
220 'headers=rhodecode.authentication.plugins.auth_headers:plugin_factory',
221 'headers=rhodecode.authentication.plugins.auth_headers:plugin_factory',
221 'jasig_cas=rhodecode.authentication.plugins.auth_jasig_cas:plugin_factory',
222 'jasig_cas=rhodecode.authentication.plugins.auth_jasig_cas:plugin_factory',
222 'ldap=rhodecode.authentication.plugins.auth_ldap:plugin_factory',
223 'ldap=rhodecode.authentication.plugins.auth_ldap:plugin_factory',
223 'pam=rhodecode.authentication.plugins.auth_pam:plugin_factory',
224 'pam=rhodecode.authentication.plugins.auth_pam:plugin_factory',
224 'rhodecode=rhodecode.authentication.plugins.auth_rhodecode:plugin_factory',
225 'rhodecode=rhodecode.authentication.plugins.auth_rhodecode:plugin_factory',
225 'token=rhodecode.authentication.plugins.auth_token:plugin_factory',
226 'token=rhodecode.authentication.plugins.auth_token:plugin_factory',
226 ],
227 ],
227 'paste.app_factory': [
228 'paste.app_factory': [
228 'main=rhodecode.config.middleware:make_pyramid_app',
229 'main=rhodecode.config.middleware:make_pyramid_app',
229 'pylons=rhodecode.config.middleware:make_app',
230 'pylons=rhodecode.config.middleware:make_app',
230 ],
231 ],
231 'paste.app_install': [
232 'paste.app_install': [
232 'main=pylons.util:PylonsInstaller',
233 'main=pylons.util:PylonsInstaller',
233 'pylons=pylons.util:PylonsInstaller',
234 'pylons=pylons.util:PylonsInstaller',
234 ],
235 ],
235 'paste.global_paster_command': [
236 'paste.global_paster_command': [
236 'make-config=rhodecode.lib.paster_commands.make_config:Command',
237 'make-config=rhodecode.lib.paster_commands.make_config:Command',
237 'setup-rhodecode=rhodecode.lib.paster_commands.setup_rhodecode:Command',
238 'setup-rhodecode=rhodecode.lib.paster_commands.setup_rhodecode:Command',
238 'ishell=rhodecode.lib.paster_commands.ishell:Command',
239 'ishell=rhodecode.lib.paster_commands.ishell:Command',
239 'upgrade-db=rhodecode.lib.dbmigrate:UpgradeDb',
240 'upgrade-db=rhodecode.lib.dbmigrate:UpgradeDb',
240 'celeryd=rhodecode.lib.celerypylons.commands:CeleryDaemonCommand',
241 'celeryd=rhodecode.lib.celerypylons.commands:CeleryDaemonCommand',
241 ],
242 ],
242 'pytest11': [
243 'pytest11': [
243 'pylons=rhodecode.tests.pylons_plugin',
244 'pylons=rhodecode.tests.pylons_plugin',
244 'enterprise=rhodecode.tests.plugin',
245 'enterprise=rhodecode.tests.plugin',
245 ],
246 ],
246 'console_scripts': [
247 'console_scripts': [
247 'rcserver=rhodecode.rcserver:main',
248 'rcserver=rhodecode.rcserver:main',
248 ],
249 ],
249 'beaker.backends': [
250 'beaker.backends': [
250 'memorylru_base=rhodecode.lib.memory_lru_debug:MemoryLRUNamespaceManagerBase',
251 'memorylru_base=rhodecode.lib.memory_lru_debug:MemoryLRUNamespaceManagerBase',
251 'memorylru_debug=rhodecode.lib.memory_lru_debug:MemoryLRUNamespaceManagerDebug'
252 'memorylru_debug=rhodecode.lib.memory_lru_debug:MemoryLRUNamespaceManagerDebug'
252 ]
253 ]
253 },
254 },
254 )
255 )
General Comments 0
You need to be logged in to leave comments. Login now