gnu: Remove python2 versions of Django packages.
Python 2 is EOL and not supported by current versions of Django. * gnu/packages/django.scm (python-django, python-django-tagging)[properties]: Remove PYTHON2-VARIANT. * gnu/packages/django.scm (python2-django, python2-django-simple-math-captcha, python2-pytest-django, python2-django-filter, python2-django-allauth, python2-django-gravatar2, python2-django-assets, python2-django-jsonfield, python2-dj-database-url, python2-django-bulk-update, python2-django-contact-form, python2-django-contrib-comments, python2-django-overextends, python2-django-redis, python2-django-rq, python2-django-sortedm2m, python2-django-appconf, python2-django-statici18n, python2-django-tagging): Remove variables.
This commit is contained in:
parent
e06e250d48
commit
87f067657e
|
@ -126,21 +126,7 @@ (define-public python-django
|
||||||
any Web site. Django focuses on automating as much as possible and adhering
|
any Web site. Django focuses on automating as much as possible and adhering
|
||||||
to the @dfn{don't repeat yourself} (DRY) principle.")
|
to the @dfn{don't repeat yourself} (DRY) principle.")
|
||||||
(license license:bsd-3)
|
(license license:bsd-3)
|
||||||
(properties `((python2-variant . ,(delay python2-django))
|
(properties `((cpe-name . "django")))))
|
||||||
(cpe-name . "django")))))
|
|
||||||
|
|
||||||
(define-public python2-django
|
|
||||||
(let ((base (package-with-python2 (strip-python2-variant python-django))))
|
|
||||||
(package
|
|
||||||
(inherit base)
|
|
||||||
(native-inputs
|
|
||||||
`(;; Test requirements for Python 2 taken from
|
|
||||||
;; tests/requirements/py3.txt: enum34 and mock.
|
|
||||||
("python2-enum34" ,python2-enum34)
|
|
||||||
("python2-mock" ,python2-mock)
|
|
||||||
;; When adding memcached mind: for Python 2 memcached <= 1.53 is
|
|
||||||
;; required.
|
|
||||||
,@(package-native-inputs base))))))
|
|
||||||
|
|
||||||
(define-public python-django-2.2
|
(define-public python-django-2.2
|
||||||
(package
|
(package
|
||||||
|
@ -238,9 +224,6 @@ (define-public python-django-simple-math-captcha
|
||||||
with arguments to the field constructor.")
|
with arguments to the field constructor.")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
(define-public python2-django-simple-math-captcha
|
|
||||||
(package-with-python2 python-django-simple-math-captcha))
|
|
||||||
|
|
||||||
(define-public python-django-classy-tags
|
(define-public python-django-classy-tags
|
||||||
(package
|
(package
|
||||||
(name "python-django-classy-tags")
|
(name "python-django-classy-tags")
|
||||||
|
@ -370,9 +353,6 @@ (define-public python-pytest-django
|
||||||
useful tools for testing Django applications and projects.")
|
useful tools for testing Django applications and projects.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public python2-pytest-django
|
|
||||||
(package-with-python2 python-pytest-django))
|
|
||||||
|
|
||||||
(define-public python-django-haystack
|
(define-public python-django-haystack
|
||||||
(package
|
(package
|
||||||
(name "python-django-haystack")
|
(name "python-django-haystack")
|
||||||
|
@ -452,9 +432,6 @@ (define-public python-django-filter
|
||||||
them do this.")
|
them do this.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public python2-django-filter
|
|
||||||
(package-with-python2 python-django-filter))
|
|
||||||
|
|
||||||
(define-public python-django-allauth
|
(define-public python-django-allauth
|
||||||
(package
|
(package
|
||||||
(name "python-django-allauth")
|
(name "python-django-allauth")
|
||||||
|
@ -491,9 +468,6 @@ (define-public python-django-allauth
|
||||||
account authentication.")
|
account authentication.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python2-django-allauth
|
|
||||||
(package-with-python2 python-django-allauth))
|
|
||||||
|
|
||||||
(define-public python-django-debug-toolbar
|
(define-public python-django-debug-toolbar
|
||||||
(package
|
(package
|
||||||
(name "python-django-debug-toolbar")
|
(name "python-django-debug-toolbar")
|
||||||
|
@ -553,9 +527,6 @@ (define-public python-django-gravatar2
|
||||||
templatetags and a full test suite.")
|
templatetags and a full test suite.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python2-django-gravatar2
|
|
||||||
(package-with-python2 python-django-gravatar2))
|
|
||||||
|
|
||||||
(define-public python-django-assets
|
(define-public python-django-assets
|
||||||
(package
|
(package
|
||||||
(name "python-django-assets")
|
(name "python-django-assets")
|
||||||
|
@ -580,9 +551,6 @@ (define-public python-django-assets
|
||||||
merging, minifying and compiling CSS and Javascript files.")
|
merging, minifying and compiling CSS and Javascript files.")
|
||||||
(license license:bsd-2)))
|
(license license:bsd-2)))
|
||||||
|
|
||||||
(define-public python2-django-assets
|
|
||||||
(package-with-python2 python-django-assets))
|
|
||||||
|
|
||||||
(define-public python-django-jinja
|
(define-public python-django-jinja
|
||||||
(package
|
(package
|
||||||
(name "python-django-jinja")
|
(name "python-django-jinja")
|
||||||
|
@ -652,9 +620,6 @@ (define-public python-django-jsonfield
|
||||||
use, simply add the field to one of your models.")
|
use, simply add the field to one of your models.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python2-django-jsonfield
|
|
||||||
(package-with-python2 python-django-jsonfield))
|
|
||||||
|
|
||||||
(define-public python-dj-database-url
|
(define-public python-dj-database-url
|
||||||
(package
|
(package
|
||||||
(name "python-dj-database-url")
|
(name "python-dj-database-url")
|
||||||
|
@ -677,9 +642,6 @@ (define-public python-dj-database-url
|
||||||
conn_max_age argument to easily enable Django’s connection pool.")
|
conn_max_age argument to easily enable Django’s connection pool.")
|
||||||
(license license:bsd-2)))
|
(license license:bsd-2)))
|
||||||
|
|
||||||
(define-public python2-dj-database-url
|
|
||||||
(package-with-python2 python-dj-database-url))
|
|
||||||
|
|
||||||
(define-public python-django-picklefield
|
(define-public python-django-picklefield
|
||||||
(package
|
(package
|
||||||
(name "python-django-picklefield")
|
(name "python-django-picklefield")
|
||||||
|
@ -731,9 +693,6 @@ (define-public python-django-bulk-update
|
||||||
project aims to bulk update given objects using one query over Django ORM.")
|
project aims to bulk update given objects using one query over Django ORM.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python2-django-bulk-update
|
|
||||||
(package-with-python2 python-django-bulk-update))
|
|
||||||
|
|
||||||
(define-public python-django-contact-form
|
(define-public python-django-contact-form
|
||||||
(package
|
(package
|
||||||
(name "python-django-contact-form")
|
(name "python-django-contact-form")
|
||||||
|
@ -766,9 +725,6 @@ (define-public python-django-contact-form
|
||||||
for Django sites.")
|
for Django sites.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public python2-django-contact-form
|
|
||||||
(package-with-python2 python-django-contact-form))
|
|
||||||
|
|
||||||
(define-public python-django-contrib-comments
|
(define-public python-django-contrib-comments
|
||||||
(package
|
(package
|
||||||
(name "python-django-contrib-comments")
|
(name "python-django-contrib-comments")
|
||||||
|
@ -791,9 +747,6 @@ (define-public python-django-contrib-comments
|
||||||
entries, photos, book chapters, or anything else.")
|
entries, photos, book chapters, or anything else.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public python2-django-contrib-comments
|
|
||||||
(package-with-python2 python-django-contrib-comments))
|
|
||||||
|
|
||||||
(define-public python-django-overextends
|
(define-public python-django-overextends
|
||||||
(package
|
(package
|
||||||
(name "python-django-overextends")
|
(name "python-django-overextends")
|
||||||
|
@ -824,9 +777,6 @@ (define-public python-django-overextends
|
||||||
project.")
|
project.")
|
||||||
(license license:bsd-2)))
|
(license license:bsd-2)))
|
||||||
|
|
||||||
(define-public python2-django-overextends
|
|
||||||
(package-with-python2 python-django-overextends))
|
|
||||||
|
|
||||||
(define-public python-django-pipeline
|
(define-public python-django-pipeline
|
||||||
(package
|
(package
|
||||||
(name "python-django-pipeline")
|
(name "python-django-pipeline")
|
||||||
|
@ -905,9 +855,6 @@ (define-public python-django-redis
|
||||||
"Full featured redis cache backend for Django.")
|
"Full featured redis cache backend for Django.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public python2-django-redis
|
|
||||||
(package-with-python2 python-django-redis))
|
|
||||||
|
|
||||||
(define-public python-django-rq
|
(define-public python-django-rq
|
||||||
(package
|
(package
|
||||||
(name "python-django-rq")
|
(name "python-django-rq")
|
||||||
|
@ -944,9 +891,6 @@ (define-public python-django-rq
|
||||||
settings.py and easily use them in your project.")
|
settings.py and easily use them in your project.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python2-django-rq
|
|
||||||
(package-with-python2 python-django-rq))
|
|
||||||
|
|
||||||
(define-public python-django-q
|
(define-public python-django-q
|
||||||
(package
|
(package
|
||||||
(name "python-django-q")
|
(name "python-django-q")
|
||||||
|
@ -1002,9 +946,6 @@ (define-public python-django-sortedm2m
|
||||||
the order of added relations.")
|
the order of added relations.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public python2-django-sortedm2m
|
|
||||||
(package-with-python2 python-django-sortedm2m))
|
|
||||||
|
|
||||||
(define-public python-django-appconf
|
(define-public python-django-appconf
|
||||||
(package
|
(package
|
||||||
(name "python-django-appconf")
|
(name "python-django-appconf")
|
||||||
|
@ -1036,9 +977,6 @@ (define-public python-django-appconf
|
||||||
name is purely coincidental.")
|
name is purely coincidental.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public python2-django-appconf
|
|
||||||
(package-with-python2 python-django-appconf))
|
|
||||||
|
|
||||||
(define-public python-django-statici18n
|
(define-public python-django-statici18n
|
||||||
(package
|
(package
|
||||||
(name "python-django-statici18n")
|
(name "python-django-statici18n")
|
||||||
|
@ -1075,9 +1013,6 @@ (define-public python-django-statici18n
|
||||||
static files.")
|
static files.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public python2-django-statici18n
|
|
||||||
(package-with-python2 python-django-statici18n))
|
|
||||||
|
|
||||||
(define-public python-django-tagging
|
(define-public python-django-tagging
|
||||||
(package
|
(package
|
||||||
(name "python-django-tagging")
|
(name "python-django-tagging")
|
||||||
|
@ -1104,23 +1039,8 @@ (define-public python-django-tagging
|
||||||
(description "This package provides a generic tagging application for
|
(description "This package provides a generic tagging application for
|
||||||
Django projects, which allows association of a number of tags with any
|
Django projects, which allows association of a number of tags with any
|
||||||
@code{Model} instance and makes retrieval of tags simple.")
|
@code{Model} instance and makes retrieval of tags simple.")
|
||||||
(properties `((python2-variant . ,(delay python2-django-tagging))))
|
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public python2-django-tagging
|
|
||||||
(let ((base (package-with-python2
|
|
||||||
(strip-python2-variant python-django-tagging))))
|
|
||||||
(package
|
|
||||||
(inherit base)
|
|
||||||
(version "0.4.6")
|
|
||||||
(source
|
|
||||||
(origin
|
|
||||||
(method url-fetch)
|
|
||||||
(uri (pypi-uri "django-tagging" version))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"0s7b4v45j783yaxs7rni10k24san0ya77nqz4s7zdf3jhfpk42r1")))))))
|
|
||||||
|
|
||||||
(define-public python-djangorestframework
|
(define-public python-djangorestframework
|
||||||
(package
|
(package
|
||||||
(name "python-djangorestframework")
|
(name "python-djangorestframework")
|
||||||
|
|
Loading…
Reference in a new issue