Commit Graph

13 Commits

Author SHA1 Message Date
Eneas U de Queiroz 9d97f4ba14
treewide: mark django1 and dependents BROKEN
Django 1.x is not compatible with python 3.10.
Mark the package as BROKEN.  Since its dependent packages will also
select it, they will need to be marked BROKEN as well to avoid recursive
dependencies--packages not marked as BROKEN will be able to select the
broken package.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-11-27 10:27:16 -03:00
Jeffery To 78ef6a9d31 django1: Remove common package
python-django1-common was added to allow both Python 2 and 3 versions of
Django 1.11 to be installed at the same time. With the removal of Python
2, this package is no longer necessary.

This removes this common package and updates the CONFLICTS value for the
django package.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-23 04:24:23 +08:00
Jeffery To 2210c4a60d python-packages: Clean up Makefiles
This removes:

* Python 3 variants (VARIANT:=python3)

* "for Python3" from package titles

* Package selection condition from package dependencies, e.g.
  +PACKAGE_python3-six:python3-light replaced with +python3-light

* "Default" package information sections, e.g.
  Package/python-six/Default removed and package details merged into
  Package/python3-six

* "(Variant for Python3)" from package descriptions

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-22 16:36:55 +08:00
Jeffery To 658b1b6758 python-libraries: Remove Python 2 variants
The Python 2 variants will be added to the abandoned packages feed.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-02 14:57:30 +08:00
Jeffery To b9a4286262 django1: Fix byte-compiled db migrations not loaded
This patches Django to load byte-compiled (.pyc) db migration scripts,
since Python scripts are often distributed in byte-compiled form in
OpenWrt packages.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-03-14 04:35:00 +08:00
Alexandru Ardelean 82fcb0b00c django1: bump to version 1.11.29
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-03-10 14:03:45 +02:00
Jeffery To 07251a0543 django1: Add python3-django1 package
This adds a Python 3 version of the django1 package.

This also adds a python-django1-common package that contains a
django-admin script based on the one in Debian[1]. This allows
python-django1 and python3-django1 to be installed at the same time.

python3-django conflicts with python-django1 (via python-django1-common)
and python3-django1.

This also updates older Python 3 Django plugin packages to depend on
python3-django1, and newer plugin packages to depend on "django", which
both python3-django and python3-django1 provide.

Because of this dependency on either version of Django, the MDEPENDS for
Python 3 Django plugin packages no longer functions correctly and has
been removed.

[1]: https://salsa.debian.org/python-team/modules/python-django/blob/debian/buster/debian/django-admin

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-02-13 15:29:59 +08:00
Alexandru Ardelean 7927cc14f8 django1: bump to version 1.11.28
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-02-12 09:57:41 +02:00
Alexandru Ardelean 95b9d2a310 django1: bump to version 1.11.27
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-01-22 11:06:52 +02:00
Alexandru Ardelean 5c508a83a9 django1: bump to version 1.11.26
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-11-18 16:50:41 +02:00
Jeffery To 635cb1309c treewide: Use pypi.mk for Python packages
This updates all Python packages that download their source from PyPi to
use pypi.mk.

This will allow future improvements/changes to pypi.mk to affect all
relevant packages.

This also makes it easier for future Python packages to start using
pypi.mk, when it's clear how it is used in existing packages.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-30 23:16:18 +08:00
Alexandru Ardelean e9e687a1f1 django1: bump to version 1.11.25
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-10-29 10:52:29 +02:00
Alexandru Ardelean c21a453ffd django: split django1 package and update to 2.2.6
After many failed attempts at upgrading Django to 2.2.6, the solution seems
to be to split a `python-django1` package that works with Python2 and
upgrade `python3-django` to the latest 2.2[.6] LTS release.

This also means that all Python2 Django packages will be stuck & based on
Django 1.11[.24] LTS release. But, it's currently the sanest approach I
could find to be able to perform an upgrade of Django to 2.2, and not break
Seafile.

Upgrading Seafile is also pretty difficult, as their Python3 support is not
yet finished & released. And in the meantime, we want to allow people to
use newer Django versions.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-10-24 09:13:38 -03:00