Show More
@@ -0,0 +1,15 b'' | |||||
|
1 | pytest==3.0.5 | |||
|
2 | py==1.4.31 | |||
|
3 | pytest-runner==2.9.0 | |||
|
4 | pytest-catchlog==1.2.2 | |||
|
5 | pytest-cov==2.4.0 | |||
|
6 | pytest-profiling==1.2.2 | |||
|
7 | gprof2dot==2016.10.13 | |||
|
8 | pytest-timeout==1.2.0 | |||
|
9 | pytest-sugar==0.7.1 | |||
|
10 | mock==1.0.1 | |||
|
11 | WebTest==1.4.3 | |||
|
12 | cov-core==1.15.0 | |||
|
13 | coverage==3.7.1 | |||
|
14 | cssselect==0.9.1 | |||
|
15 | lxml==3.4.4 |
@@ -1354,6 +1354,19 b'' | |||||
1354 | license = [ pkgs.lib.licenses.mit ]; |
|
1354 | license = [ pkgs.lib.licenses.mit ]; | |
1355 | }; |
|
1355 | }; | |
1356 | }; |
|
1356 | }; | |
|
1357 | pytest-sugar = super.buildPythonPackage { | |||
|
1358 | name = "pytest-sugar-0.7.1"; | |||
|
1359 | buildInputs = with self; []; | |||
|
1360 | doCheck = false; | |||
|
1361 | propagatedBuildInputs = with self; [pytest termcolor]; | |||
|
1362 | src = fetchurl { | |||
|
1363 | url = "https://pypi.python.org/packages/03/97/05d988b4fa870e7373e8ee4582408543b9ca2bd35c3c67b569369c6f9c49/pytest-sugar-0.7.1.tar.gz"; | |||
|
1364 | md5 = "7400f7c11f3d572b2c2a3b60352d35fe"; | |||
|
1365 | }; | |||
|
1366 | meta = { | |||
|
1367 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |||
|
1368 | }; | |||
|
1369 | }; | |||
1357 | pytest-timeout = super.buildPythonPackage { |
|
1370 | pytest-timeout = super.buildPythonPackage { | |
1358 | name = "pytest-timeout-1.2.0"; |
|
1371 | name = "pytest-timeout-1.2.0"; | |
1359 | buildInputs = with self; []; |
|
1372 | buildInputs = with self; []; | |
@@ -1499,7 +1512,7 b'' | |||||
1499 | }; |
|
1512 | }; | |
1500 | rhodecode-enterprise-ce = super.buildPythonPackage { |
|
1513 | rhodecode-enterprise-ce = super.buildPythonPackage { | |
1501 | name = "rhodecode-enterprise-ce-4.6.0"; |
|
1514 | name = "rhodecode-enterprise-ce-4.6.0"; | |
1502 | buildInputs = with self; [WebTest configobj cssselect lxml mock pytest pytest-cov pytest-runner pytest-sugar]; |
|
1515 | buildInputs = with self; [pytest py pytest-runner pytest-catchlog pytest-cov pytest-profiling gprof2dot pytest-timeout pytest-sugar mock WebTest cov-core coverage cssselect lxml configobj]; | |
1503 | doCheck = true; |
|
1516 | doCheck = true; | |
1504 | propagatedBuildInputs = with self; [Babel Beaker FormEncode Mako Markdown MarkupSafe MySQL-python Paste PasteDeploy PasteScript Pygments pygments-markdown-lexer Pylons Pyro4 Routes SQLAlchemy Tempita URLObject WebError WebHelpers WebHelpers2 WebOb WebTest Whoosh alembic amqplib anyjson appenlight-client authomatic backport-ipaddress celery channelstream colander decorator deform docutils gevent gunicorn infrae.cache ipython iso8601 kombu msgpack-python 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]; |
|
1517 | propagatedBuildInputs = with self; [Babel Beaker FormEncode Mako Markdown MarkupSafe MySQL-python Paste PasteDeploy PasteScript Pygments pygments-markdown-lexer Pylons Pyro4 Routes SQLAlchemy Tempita URLObject WebError WebHelpers WebHelpers2 WebOb WebTest Whoosh alembic amqplib anyjson appenlight-client authomatic backport-ipaddress celery channelstream colander decorator deform docutils gevent gunicorn infrae.cache ipython iso8601 kombu msgpack-python 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]; | |
1505 | src = ./.; |
|
1518 | src = ./.; | |
@@ -1637,6 +1650,19 b'' | |||||
1637 | license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ]; |
|
1650 | license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ]; | |
1638 | }; |
|
1651 | }; | |
1639 | }; |
|
1652 | }; | |
|
1653 | termcolor = super.buildPythonPackage { | |||
|
1654 | name = "termcolor-1.1.0"; | |||
|
1655 | buildInputs = with self; []; | |||
|
1656 | doCheck = false; | |||
|
1657 | propagatedBuildInputs = with self; []; | |||
|
1658 | src = fetchurl { | |||
|
1659 | url = "https://pypi.python.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz"; | |||
|
1660 | md5 = "043e89644f8909d462fbbfa511c768df"; | |||
|
1661 | }; | |||
|
1662 | meta = { | |||
|
1663 | license = [ pkgs.lib.licenses.mit ]; | |||
|
1664 | }; | |||
|
1665 | }; | |||
1640 | traitlets = super.buildPythonPackage { |
|
1666 | traitlets = super.buildPythonPackage { | |
1641 | name = "traitlets-4.3.1"; |
|
1667 | name = "traitlets-4.3.1"; | |
1642 | buildInputs = with self; []; |
|
1668 | buildInputs = with self; []; | |
@@ -1835,30 +1861,5 b'' | |||||
1835 |
|
1861 | |||
1836 | ### Test requirements |
|
1862 | ### Test requirements | |
1837 |
|
1863 | |||
1838 | pytest-sugar = super.buildPythonPackage { |
|
1864 | ||
1839 | name = "pytest-sugar-0.7.1"; |
|
|||
1840 | buildInputs = with self; []; |
|
|||
1841 | doCheck = false; |
|
|||
1842 | propagatedBuildInputs = with self; [pytest termcolor]; |
|
|||
1843 | src = fetchurl { |
|
|||
1844 | url = "https://pypi.python.org/packages/03/97/05d988b4fa870e7373e8ee4582408543b9ca2bd35c3c67b569369c6f9c49/pytest-sugar-0.7.1.tar.gz"; |
|
|||
1845 | md5 = "7400f7c11f3d572b2c2a3b60352d35fe"; |
|
|||
1846 | }; |
|
|||
1847 | meta = { |
|
|||
1848 | license = [ pkgs.lib.licenses.bsdOriginal ]; |
|
|||
1849 | }; |
|
|||
1850 | }; |
|
|||
1851 | termcolor = super.buildPythonPackage { |
|
|||
1852 | name = "termcolor-1.1.0"; |
|
|||
1853 | buildInputs = with self; []; |
|
|||
1854 | doCheck = false; |
|
|||
1855 | propagatedBuildInputs = with self; []; |
|
|||
1856 | src = fetchurl { |
|
|||
1857 | url = "https://pypi.python.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz"; |
|
|||
1858 | md5 = "043e89644f8909d462fbbfa511c768df"; |
|
|||
1859 | }; |
|
|||
1860 | meta = { |
|
|||
1861 | license = [ pkgs.lib.licenses.mit ]; |
|
|||
1862 | }; |
|
|||
1863 | }; |
|
|||
1864 | } |
|
1865 | } |
@@ -139,16 +139,4 b' zope.event==4.0.3' | |||||
139 | zope.interface==4.1.3 |
|
139 | zope.interface==4.1.3 | |
140 |
|
140 | |||
141 | # test related requirements |
|
141 | # test related requirements | |
142 | pytest==3.0.5 |
|
142 | -r requirements_test.txt | |
143 | py==1.4.31 |
|
|||
144 | pytest-runner==2.9.0 |
|
|||
145 | pytest-catchlog==1.2.2 |
|
|||
146 | pytest-cov==2.4.0 |
|
|||
147 | pytest-profiling==1.2.2 |
|
|||
148 | gprof2dot==2016.10.13 |
|
|||
149 | pytest-timeout==1.2.0 |
|
|||
150 | pytest-sugar==0.7.1 |
|
|||
151 | mock==1.0.1 |
|
|||
152 | WebTest==1.4.3 |
|
|||
153 | cov-core==1.15.0 |
|
|||
154 | coverage==3.7.1 |
|
@@ -7,11 +7,33 b' import os' | |||||
7 | import sys |
|
7 | import sys | |
8 | import platform |
|
8 | import platform | |
9 |
|
9 | |||
|
10 | from pip.download import PipSession | |||
|
11 | from pip.req import parse_requirements | |||
|
12 | ||||
|
13 | ||||
10 | if sys.version_info < (2, 7): |
|
14 | if sys.version_info < (2, 7): | |
11 | raise Exception('RhodeCode requires Python 2.7 or later') |
|
15 | raise Exception('RhodeCode requires Python 2.7 or later') | |
12 |
|
16 | |||
|
17 | here = os.path.abspath(os.path.dirname(__file__)) | |||
13 |
|
18 | |||
14 | here = os.path.abspath(os.path.dirname(__file__)) |
|
19 | try: | |
|
20 | install_reqs = parse_requirements( | |||
|
21 | os.path.join(here, 'requirements.txt'), session=PipSession()) | |||
|
22 | except TypeError: | |||
|
23 | # try pip < 6.0.0, that doesn't support session | |||
|
24 | install_reqs = parse_requirements( | |||
|
25 | os.path.join(here, 'requirements.txt')) | |||
|
26 | install_requirements = [str(ir.req) for ir in install_reqs] | |||
|
27 | ||||
|
28 | try: | |||
|
29 | test_reqs = parse_requirements( | |||
|
30 | os.path.join(here, 'requirements_test.txt'), session=PipSession()) | |||
|
31 | except TypeError: | |||
|
32 | # try pip < 6.0.0, that doesn't support session | |||
|
33 | test_reqs = parse_requirements( | |||
|
34 | os.path.join(here, 'requirements_test.txt')) | |||
|
35 | extras = ['configobj'] | |||
|
36 | test_requirements = [str(ir.req) for ir in test_reqs] + extras | |||
15 |
|
37 | |||
16 |
|
38 | |||
17 | def _get_meta_var(name, data, callback_handler=None): |
|
39 | def _get_meta_var(name, data, callback_handler=None): | |
@@ -115,17 +137,6 b' else:' | |||||
115 | requirements.append('psutil') |
|
137 | requirements.append('psutil') | |
116 | requirements.append('py-bcrypt') |
|
138 | requirements.append('py-bcrypt') | |
117 |
|
139 | |||
118 | test_requirements = [ |
|
|||
119 | 'WebTest', |
|
|||
120 | 'configobj', |
|
|||
121 | 'cssselect', |
|
|||
122 | 'lxml', |
|
|||
123 | 'mock', |
|
|||
124 | 'pytest', |
|
|||
125 | 'pytest-cov', |
|
|||
126 | 'pytest-runner', |
|
|||
127 | 'pytest-sugar', |
|
|||
128 | ] |
|
|||
129 |
|
140 | |||
130 | setup_requirements = [ |
|
141 | setup_requirements = [ | |
131 | 'PasteScript', |
|
142 | 'PasteScript', |
General Comments 0
You need to be logged in to leave comments.
Login now