3265 Commits

Author SHA1 Message Date
Rosen Penev 5ac581c3e5 lua-rs232: Update to latest git version
Last release was from 2012. Latest git has many additions.

Cleaned up Makefile and eliminated build hacks.

Added InstallDev section.

Added PKG_BUILD_PARALLEL for faster compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-07 10:39:14 -08:00
Jeffery To dad0415215 python: Fix filespec example in readme
While the filespec example is technically correct, the more likely
scenario is that the files to be omitted would be inside of a package
subdirectory.

This adds an example_package directory into the example to illustrate
this case.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-11-07 22:32:57 +08:00
Peter Stadler 18c99e8d07 django: bump version to 2.2.7 and fix minor problems
Add dependency on python3-sqlparse and use django-admin.py instead of django-admin as the latter depends on python3-pkg-resources.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2019-11-05 15:50:03 +01:00
Rosen Penev f095101399 Merge pull request #10374 from peter-stadler/django-cors-headers
django-cors-headers: add python3 package
2019-11-05 02:00:35 -08:00
Rosen Penev e1af55fdf5 Merge pull request #10375 from peter-stadler/sqlparse
sqlparse: add python3 package
2019-11-05 01:59:31 -08:00
Rosen Penev f246780450 Merge pull request #10376 from peter-stadler/drf-nested-routers
drf-nested-routers: add python3 package
2019-11-05 01:58:29 -08:00
Jeffery To 6f987b727f python: Add pypi.mk usage to readme
This adds documentation on including pypi.mk and its required/optional
variables to the Python section readme.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-11-05 03:28:12 +08:00
Jeffery To 446bc30c52 python: Remove PKG_BUILD_DIR/PKG_UNPACK sections from readme
PKG_BUILD_DIR now takes variants into account
(openwrt/openwrt@e545fac8d9), so it should
not be necessary for Python packages to set these variables anymore.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-11-05 02:20:37 +08:00
Rosen Penev c17af1cd50 Merge pull request #10457 from jefferyto/python-cffi-1.13.2
python-cffi: Update to 1.13.2
2019-11-04 09:27:59 -08:00
Rosen Penev 75f958e3ce Merge pull request #10453 from commodo/python3-fix-build
python3: fix build on Ubuntu/Debian multi-arch
2019-11-04 09:26:57 -08:00
Jeffery To c21eee0df4 python-cffi: Update to 1.13.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-11-04 23:42:39 +08:00
Jeffery To e239dba400 golang: Update to 1.13.4
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-11-04 22:54:57 +08:00
Alexandru Ardelean 0c8b0b0bf7 python3: fix build on Ubuntu/Debian multi-arch
This issue was introduced after upgrading to 3.8.
Patch `006-remove-multi-arch-and-local-paths.patch` was dropped. It was
tested on x86, but when using the x86_64 compiler in OpenWrt, the issue is
present.

The issue seems to be about Ubuntu/Debian's multi-arch support in
Python/Python3 setup [which I forgot about]. The code runs it regardless of
whether it cross-compiles or not, and for OpenWrt, this causes issues, as
it introduces absolute include paths from the host system.

Fixes https://github.com/openwrt/packages/issues/10452

Fixes: 48277ec915 ("python3: bump to version 3.8")
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-11-04 14:10:36 +02:00
Josef Schlehofer 426ed75dbe python-zipp: fix python-more-itertools dependency
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-11-03 13:13:12 +01:00
Jan Pavlinec f0a79ca148 python-zipp: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-11-02 15:53:09 +01:00
Rosen Penev c59f56e8ac Merge pull request #10410 from ja-pa/python-py
python-py: add new package
2019-11-01 16:52:02 -07:00
Rosen Penev 7578d6e639 Merge pull request #10408 from ja-pa/python-wcwidth
python-wcwidth: add new package
2019-11-01 16:51:28 -07:00
Rosen Penev 98cd1adf7a Merge pull request #10407 from ja-pa/python-more-itertools
python-more-itertools: add new package
2019-11-01 16:51:15 -07:00
Rosen Penev 5c204b8574 Merge pull request #10405 from ja-pa/python-pyparsing
python-pyparsing: add new package
2019-11-01 16:50:58 -07:00
Rosen Penev 2f26928c5b Merge pull request #10411 from ja-pa/python-atomicwrites
python-atomicwrites: add new package
2019-11-01 16:50:46 -07:00
Jan Pavlinec 455fe3dc03 python-pyparsing: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-11-01 12:49:18 +01:00
Jan Pavlinec 4bade3b2f7 python-more-itertools: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-11-01 12:36:38 +01:00
Jan Pavlinec 4624bf6a5d python-wcwidth: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-11-01 11:05:03 +01:00
Jan Pavlinec f5211510d4 python-py: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-11-01 10:52:06 +01:00
Jan Pavlinec 92398d28a5 python-atomicwrites: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-11-01 10:45:53 +01:00
Dirk Chang 992da74bbf lpeg: update to 1.0.2
lua-coxpcall: update to 1.17.0
lua-md5: update to 1.3

Signed-off-by: Dirk Chang <dirk@kooiot.com>
2019-11-01 14:55:02 +08:00
Peter Stadler 9298aa6c8b django-cors-headers: add python3 package
This is a dependency for the etesync-server and is using django and urllib.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2019-11-01 02:38:47 +01:00
Peter Stadler d5a478bbe8 drf-nested-routers: add python3 package
This is a dependency of the etesync-server and uses the rest framework of django.

Edit: Remove runtests and add dependencies on python3-django and python3-light.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2019-11-01 01:57:31 +01:00
Peter Stadler 14e51044d7 sqlparse: add python3 package
This is a dependency for django-cors-headers.

Install sqlformat without using pkg-resources:
Upstream uses the entry_point function to call the __main__.py script.
We copy it for avoiding the dependency on pkg_resources and full python3 in turn.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2019-11-01 00:32:05 +01: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
Rosen Penev b266e7f5fc Merge pull request #10387 from commodo/cffi-update
python-cffi: bump to version 1.13.1
2019-10-29 07:25:49 -07:00
Rosen Penev b09986d286 Merge pull request #10386 from commodo/pillow-update
pillow: bump to version 6.2.1
2019-10-29 07:25:39 -07:00
Alexandru Ardelean dff2fe2963 python-cffi: bump to version 1.13.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-10-29 11:35:37 +02:00
Alexandru Ardelean e78f33dace pillow: bump to version 6.2.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-10-29 11:34:36 +02: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
Luiz Angelo Daros de Luca d3d0c28149 ruby: update to 2.6.5
2.6.5 fixes:
* CVE-2019-16255: A code injection vulnerability of Shell#[] and Shell#test
* CVE-2019-16254: HTTP response splitting in WEBrick (Additional fix)
* CVE-2019-15845: A NUL injection vulnerability of File.fnmatch and File.fnmatch?
* CVE-2019-16201: Regular Expression Denial of Service vulnerability of WEBrick’s Digest access authentication

2.6.4 fixes:
* Multiple jQuery vulnerabilities in RDoc

Changelog: https://github.com/ruby/ruby/compare/v2_6_3...v2_6_5

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2019-10-27 16:07:11 -03:00
Hannu Nyman 2865853485 Merge pull request #10349 from dynasticorpheus/pytz-2019.03
python-pytz: update to 2019.03
2019-10-26 16:23:30 +03:00
Alexandru Ardelean 85887ed427 python-asn1crypto: bump to version 1.2.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-10-25 16:08:30 +02:00
Fabian Lipken 0f2cf9ebd6 python-pytz: update to 2019.03
Signed-off-by: Fabian Lipken <dynasticorpheus@gmail.com>
2019-10-24 15:30:58 +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
Michael Heimpold cee37c2902 Merge pull request #10288 from flyn-org/php7
php7: mark /etc/config/php7-fastcgi as conffile
2019-10-21 21:05:16 +02:00
Hannu Nyman 94c344bb92 Merge pull request #10322 from jefferyto/python-2.7.17
python: Update to 2.7.17, refresh patches
2019-10-21 21:53:23 +03:00
Hannu Nyman 7a49d8a232 Merge pull request #10314 from commodo/python-3-8
python3: bump to version 3.8
2019-10-21 18:36:13 +03:00
Jeffery To 83b300aa83 python: Update to 2.7.17, refresh patches
Patches already merged and so removed:
* 011-fix-ssl-build-use-have-npn.patch
* 019-bpo-36216-Add-check-for-characters-in-netloc-that-normalize-to-separators-GH-12216.patch
* 020-bpo-36216-Only-print-test-messages-when-verbose-GH-12291.patch
* 021-2.7-bpo-35121-prefix-dot-in-domain-for-proper-subdom.patch
* 022-bpo-30458-Disallow-control-chars-in-http-URLs-GH-13315.patch
* 023-bpo-35907-Avoid-file-reading-as-disallowing-the-unnecessary-URL-scheme-in-urllib-GH-11842.patch
* 027-bpo-38243-Escape-the-server-title-of-DocXMLRPCServer.patch
* 028-bpo-34155-Dont-parse-domains-containing-GH-13079.patch

Patches no longer necessary and so removed:
* 017_lib2to3_fix_pyc_search.patch

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-21 23:30:53 +08:00
Jeffery To 1bacdd52f7 python,python3: Add PYPI_SOURCE_NAME to pypi.mk
This adds a new (optional) variable, PYPI_SOURCE_NAME, to pypi.mk.

For some PyPi packages (e.g. aiohttp_cors, click, django-compressor),
the name of the package and the source tarball name are slightly
different (usually by capitalisation or hyphen/underscore change).

This new variable is to make this difference explicit. PYPI_NAME is
meant for the "official" package name, whereas PYPI_SOURCE_NAME is meant
for the source tarball name.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-21 15:27:04 +02:00
Jeffery To a8bf6a8bd6 python-ipaddress: Update to 1.0.23
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-21 21:10:55 +08:00
Jeffery To 46c43b29f7 python-automat: Update to 0.8.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-21 21:10:35 +08:00
Jeffery To f2d744d31a python-attrs: Update to 19.3.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-21 21:10:04 +08:00
Alexandru Ardelean 48277ec915 python3: bump to version 3.8
This required a bit work to get working, compared to other versions. So,
some things have changed a bit more significantly.

Some highlights:
* there is no longer a pgen executable, seems this is now part of
  libpython; let's see what this means for us in the future
* blake2 hash (from OpenSSL) detection needs some fixing; will upstream
  added patch 002-fix-blake2-detection.patch
* removed all bpo patches; those should be fixed in upstream
* some needed to be manually re-applied as stuff changed:
  - 001-enable-zlib.patch  - file changed
  - 004-do-not-write-bytes-codes.patch  - file changed
  - 015-abort-on-failed-modules.patch - variable was renamed
    cross_compiling -> CROSS_COMPILING
* 017_lib2to3_fix_pyc_search.patch - the code changed, it does not seem to
     have the original problem with respect to file-extension, as there
     does not seem to be any special extension logic anymore there
* 006-remove-multi-arch-and-local-paths.patch - dropped patch; I can't
     remember the full-details of this issue; it was something with
     Debian/Ubuntu's multi-arch stuff; it was probably added maybe due to
     some overzealous (on my part) thingy caused by some weird reports,
     that I could never solve; let's have this patch dropped and see
* make package/python3/refresh to reduce fuzz for the rest

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-10-21 15:24:51 +03:00
Jeffery To 9d892e3cf8 python-cryptography: Update to 2.8
With this update, the package no longer depends on python-asn1crypto[1].

[1]: https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst#28---2019-10-16

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-21 13:41:33 +02:00