Commit Graph

69 Commits

Author SHA1 Message Date
Marius Bakke 424b1ae769
Merge branch 'master' into python-tests 2017-02-13 22:35:05 +01:00
Hartmut Goebel 117134a78f
gnu: python-django: Update to 1.10.5.
* gnu/packages/django.scm(python-django): Update to 1.10.5.
2017-01-14 23:43:02 +01:00
Marius Bakke 1f31a5e0bf
gnu: python-pytest-django: Disable tests.
* gnu/packages/django.scm (python-pytest-django,
  python2-pytest-django)[arguments]: Set #:tests? #f.
2016-12-15 18:19:34 +01:00
Marius Bakke 55ab64516b
gnu: python-django-filter: Fix test suite.
* gnu/packages/django.scm (python-django-filter,
  python2-django-filter)[arguments]: Replace 'check' phase with custom command.
2016-12-14 12:43:36 +01:00
Marius Bakke 281cc11c8e
gnu: python-django-simple-math-captcha: Disable tests.
* gnu/packages/django.scm (python-django-simple-math-captcha,
  python2-django-simple-math-captcha)[arguments]: Set #:tests? #f.
2016-12-14 12:40:13 +01:00
Hartmut Goebel bac6816879
gnu: python-pytest-django: Remove needless propagated input "python-py".
This is already propagated by python-pytest.

* gnu/packages/python.scm (python-pytest-django) [propagated-inputs]:
  Remove python-py.
2016-11-15 22:32:02 +01:00
Hartmut Goebel f22efa0152
gnu: Fix python inputs, part 1: all inputs become propagated-inputs.
This patch contains the changes where all [inputs] are changed to
[propagated-inputs]

* gnu/packages/python.scm (python-passlib, python-paramiko, python-ccm,
  python-babel, python-keyring python-pandas, python-tzlocal,
  python-parse-type, python-nose2, python-pytest, python-pytest-mock,
  python-pytest-xdist, python-scripttest, python-testtools, python-pytest-cov,
  python-testscenarios, python-pbr-0.11, python-oauthlib, python-jinja2,
  python-sphinx, python-tzlocal, python-bugz, python2-pytest-mock, behave,
  pelican, sqlalchemy-utils, python-pygridtools, python-urwidtrees,
  python-tornado, python2-tornado, python-debian, python-execnet,
  python-pytest-cache, pytest-localserver, python-clint, python-rply,
  python-hy, python-rauth, python-rsa, python-celery, python-vobject, s3cmd,
  python-prompt-toolkit, ptpython, python-requests-oauthlib, python-stem,
  python-binaryornot, python2-binaryornot, python-nltk, python-pymongo,
  python-schematics, python-url, python2-url, python-freezegun,
  python-glances, python-graphql-core, python-graphql-relay, python-graphene,
  python-nautilus, python-s3transfer): All [inputs] become
  [propagated-inputs].
* gnu/packages/bioinformatics.scm (python-biopython): Likewise.
* gnu/packages/django.scm (pytest-django): Likewise.
* gnu/packages/mail.scm (python-mailmanclient): Likewise.
* gnu/packages/password-utils.scm (python-bcrypt): Likewise.
* gnu/packages/propbuf.scm (python-protobuf): Likewise.
* gnu/packages/rdf.scm (python-rdflib): Likewise.

SQACH all become propagated
2016-11-15 22:31:03 +01:00
Hartmut Goebel 5c31f4aa7c
gnu: Remove python-setuptools and python2-setuptools from inputs (part 4a)
This patch contains the changes for all modules beside python.scm where
setuptools are used in an inherited package and removing this input also
removes the need for inheriting the package. This is the case if adding
setuptools in the inherited package was the only change.

Change this to not inherit and remove the new needless call to
"strip-python2-variant (if applicable).

* gnu/packages/bioinformatics.scm (python-biopython, python2-biopython,
  python-twobitreader, python2-twobitreader,
  python-plastid, python2-plastid,
  python2-pybigwig,
  python2-screed,
  sra-tools): No longer "inherit" Python 2 packages
  inheriting from a Python 3 package if the sole reason for inheriting was
  adding python-setuptools respective python2-setuptools to [inputs],
  [native-inputs] or [propagated-inputs]. Remove now needless [properties]
  "python2-variant" where applicable.
* gnu/packages/django.scm (python-pytest-django, python2-pytest-django,
  python-django-filter, python2-django-filter): Likewise.
* gnu/packages/gnupg.scm (python2-pygpgme): Likewise.
* gnu/packages/mail.scm (python-mailmanclient, python2-mailmanclient):
  Likewise.
* gnu/packages/mpd.scm (python-msp, python2-mpd2): Likewise.
* gnu/packages/music.scm (python-pylast, python2-pylast): Likewise.
* gnu/packages/openstack.scm (python-requests-mock, python2-requests-mock,
  python2-git-review): Likewise.
* gnu/packages/password-utils.scm (python2-bcrypt): Likewise.
* gnu/packages/protobuf.scm (python-protobuf, python2-protobuf): Likewise.
* gnu/packages/statistics.scm (python-patsy, python2-patsy): Likewise.
* gnu/packages/web.scm (python2-feedparser): Likewise.
2016-11-15 22:28:59 +01:00
Hartmut Goebel 5d85493284
gnu: Remove python-setuptools and python2-setuptools from inputs (part 1b)
This patch contains the changes in all modules beside python.scm where
removing setuptools from the inputs could be achieved by removing complete
lines.

* gnu/packages/admin.scm (graphios, thefuck): Remove all [inputs],
  [native-inputs] and [propagated-inputs] where python-setuptools or
  python2-setuptools are the sole entries. Remove python-setuptools and
  python2-setuptools listed on a line by its own from [inputs],
  [native-inputs] and [propagated-inputs].
* gnu/packages/backup.scm (rdiff-backup): Likewise.
* gnu/packages/bioinformatics.scm (htseq, macs, python2-pbcore, rseqc,
  multiqc): Likewise.
* gnu/packages/django.scm (python-django, python2-django,
  python-django-simple-math-captcha, python2-django-simple-math-captcha):
  Likewise.
* gnu/packages/docker.scm (python-docker-py, docker-compose): Likewise.
* gnu/packages/game-development.scm (python-pygame): Likewise.
* gnu/packages/key-mon.scm (key-mon): Likewise.
* gnu/packages/mail.scm (khard): Likewise.
* gnu/packages/music.scm (beets, python2-pyechonest): Likewise.
* gnu/packages/openstack.scm (python-bandit, python2-bandit,
  python-debtcollector, python2-debtcollector,
  python-mox3, python2-mox3,
  python-os-client-config, python2-os-client-config,
  python-oslo.config, python2-oslo.config,
  python-oslo.context, python2-oslo.context,
  python-oslo.i18n, python2-oslo.i18n,
  python-oslo.serialization, python2-oslo.serialization,
  python-oslosphinx, python2-oslosphinx,
  python-oslotest, python2-oslotest,
  python-oslo.utils, python2-oslo.utils,
  python-swiftclient, python2-swiftclient): Likewise.
* gnu/packages/pdf.scm (pdfposter): Likewise.
* gnu/packages/tls.scm (python-acme, python2-acme): Likewise.
2016-11-15 21:58:44 +01:00
Leo Famulari b3cc0dce08
Merge branch 'master' into core-updates 2016-11-02 20:03:35 -04:00
Marius Bakke bac3d6095d
gnu: python-django: Update to 1.10.3 [fixes CVE-2016-{9013,9014}].
* gnu/packages/django.scm (python-django, python2-django): Update to 1.10.3.
[source]: Remove patch.
* gnu/packages/patches/python-django-fix-testcase.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2016-11-01 14:02:01 -04:00
Efraim Flashner d18c69aa2a
gnu: python-pytest-django: Add missing test input.
* gnu/packages/django.scm (python-pytest-django)[native-inputs]: Add
python-django.
2016-10-27 22:27:31 +03:00
Efraim Flashner fa7cd33378
gnu: python-django-filter: Add inputs for tests.
* gnu/packages/django.scm (python-django-filter)[native-inputs]: Add
python-django, python-mock.
2016-10-27 22:18:30 +03:00
Efraim Flashner cda5e76f51
gnu: python2-django: Fix typo in native-inputs.
* gnu/packages/django.scm (python2-django)[native-inputs]: Inherit from
python-django's native-inputs, not its inputs.
2016-09-22 22:42:47 +03:00
Hartmut Goebel dfdaea32e9
gnu: python-django, python2-django: Fix propagated- and native-inputs.
setuptools is a run-time dependency (sic!), all others are required
for testing only.

* gnu/packages/django.scm (python-django) [propagated-inputs,
  native-inputs]: Exchange them. Move tzdata to new native-inputs.
  Enhance comments.
  (python2-django) [propagated-inputs] change into native-inputs.
  Enhance comment.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-09-19 23:41:23 +09:00
Efraim Flashner 894810c7c9
gnu: Add python-django-filter.
* gnu/packages/django.scm (python-django-filter): New variable.
2016-09-18 23:19:45 +03:00
Efraim Flashner 23b563dcfd
gnu: Add python-pytest-django.
* gnu/packages/django.scm (python-pytest-django): New variable.
2016-09-18 23:19:45 +03:00
Hartmut Goebel b53fc2940f
gnu: Add python-django-simple-math-captcha.
* gnu/packages/django.scm: (python-django-simple-math-captcha)
(python2-django-simple-math-captcha): New variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-09-12 15:27:46 +02:00
Hartmut Goebel d18197af78
gnu: Add python-django.
* gnu/packages/django.scm: New file.
* gnu/packages/patches/python-django-fix-testcase.patch: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add django.scm.
(dist_patch_DATA): Add python-django-fix-testcase.patch.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-09-12 15:27:46 +02:00