Commit Graph
100 Commits
Author SHA1 Message Date
Alexandru ArdeleanandHannu Nyman d9ff572d3d python-requests: bump to version 2.25.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-11-24 21:22:54 +02:00
Alexandru Ardelean 3d2a1f97e1 python-pytz: bump to version 2020.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-11-11 11:11:27 +02:00
Alexandru Ardelean 6d33fb2885 numpy: bump to version 1.19.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-11-11 11:08:31 +02:00
Alexandru Ardelean 36f4a17827 django: bump to version 3.1.3
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-11-11 11:08:31 +02:00
Alexandru Ardelean a9862edad7 python-cryptography: bump to version 3.2.1
Also refreshed patches.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-11-02 15:57:58 +02:00
Alexandru Ardelean da9e1e0c0d utils: stress-ng: bump to version 0.11.23
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-11-02 15:12:39 +02:00
Alexandru Ardelean adc7fc36a0 numpy: bump to version 1.19.3
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-11-02 13:36:18 +02:00
Alexandru Ardelean 1d8197ea2b pillow: bump to version 8.0.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-11-02 13:29:59 +02:00
Alexandru Ardelean cc332fddaa python3: bump to version 3.9.0
Refreshed patches.

Dropped 'patches-setuptools/004-site-patch.patch'
Does not apply anymore. Setuptools has removed site.py support:
   https://github.com/pypa/setuptools/issues/2165
If this is still needed, we may need to re-think it's implementation.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-10-19 11:01:12 +03:00
Alexandru Ardelean a5c7e266f2 python-lxml: bump to version 4.6.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-10-19 09:51:32 +03:00
Alexandru Ardelean 07f8fa02f3 pillow: bump to version 8.0.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-10-19 09:33:32 +03:00
Alexandru Ardelean 4e63dea7b4 django-restframework: bump to version 3.12.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-10-05 10:27:10 +03:00
Alexandru Ardelean baafb68da6 django: bump to version 3.1.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-10-05 10:23:39 +03:00
Alexandru Ardelean ab82464b61 python-cryptography: bump to version 3.1.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-09-29 07:58:19 +03:00
Alexandru Ardelean ee0e11c1ab python-maho-mqtt: bump to versio 1.5.1
Docs say it also supports MQTT 5.0.
Added to description.
Updated title as on pypi.org

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-09-29 07:56:36 +03:00
Alexandru Ardelean e1276c4ec0 python-cffi: bump to version 1.14.3
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-09-23 11:32:23 +03:00
Alexandru Ardelean 7074999095 pymysql: bump to version 0.10.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-09-14 09:25:10 +03:00
Alexandru Ardelean 23938c7aa9 django: bump to version 3.1.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-09-14 09:24:25 +03:00
Alexandru Ardelean 94f28ac145 numpy: bump to version 1.19.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-09-14 09:23:24 +03:00
Alexandru Ardelean 6736e77c82 stress-ng: bump to version 0.11.20
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-09-09 10:30:07 +03:00
Alexandru Ardelean d84b66ef66 openpyxl: bump to version 3.0.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-08-25 08:54:10 +03:00
Alexandru Ardelean 3c4b5ffeb2 django: bump to version 3.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-08-25 08:53:16 +03:00
Alexandru Ardelean 79dfbd8016 python-pynacl: fix build with new libsodium patch
Fixes https://github.com/openwrt/packages/issues/13016
Patch [1] broke compilation for python-pynacl.

The fix is to patch PyNaCl to consider that
PYNACL_HAS_CRYPTO_SCALARMULT_ED25519 is always available.

[1] https://github.com/openwrt/packages/commit/3ef28a4ab0cb60877c4ec68f5ba8c276021a1ab6

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-08-05 08:39:51 +03:00
Alexandru Ardelean d00604dfeb numpy: bump to version 1.19.1
Recommended Cython version is 0.29.21

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-08-03 14:09:38 +03:00
Alexandru Ardelean 215a536e6a python-asn1crypto: bump to version 1.4.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-08-03 14:05:26 +03:00
Alexandru Ardelean 9a0907b8be python-cffi: bump to version 1.14.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-08-03 14:04:25 +03:00
Alexandru Ardelean c50dda22fc python-simplejson: bump to version 3.17.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-07-22 10:35:50 +03:00
Alexandru Ardelean 5a6ea6fb26 pymysql: bump to version 0.10.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-07-22 10:31:59 +03:00
Alexandru Ardelean 3f0099bff1 python-lxml: bump to version 4.5.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-07-22 10:30:31 +03:00
Alexandru Ardelean 255a46b3f2 django: bump to version 3.0.8
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-07-08 08:43:35 +03:00
Alexandru Ardelean 84a546f7fa openpyxl: bump to version 3.0.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-07-08 08:42:44 +03:00
Alexandru Ardelean 3006084323 pillow: bump to version 7.2.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-07-08 08:41:33 +03:00
Alexandru Ardelean 53aab860ee python-mysqlclient: drop package
The main user for this package was Seafile.
In the meantime, Seafile switch to PyMySQL.
    https://pypi.org/project/PyMySQL/

PyMySQL seems to be a replacement for python-mysqlclient, and while it may
not be fully compatible with the MySQL API, it may be that those APIs
wouldn't be used.

This change drops this package.
If there is enough usage/reason to bring it back, we can.

For python-mysqlclient, the tag-line/description is:
```
This is a fork of MySQLdb1.

This project adds Python 3 support and bug fixes. I hope this fork is
merged back to MySQLdb1 like distribute was merged back to setuptools.
```

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-07-08 08:31:52 +03:00
Alexandru Ardelean 86b322b6cb numpy: bump to version 1.19.0
Bump host Cython version as well.
Add note near PKG_VERSION to remember to periodically update it.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-07-01 08:52:08 +03:00
Alexandru ArdeleanandHannu Nyman c1c1d864f9 python-requests: bump to version 2.24.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-06-25 19:30:14 +03:00
Alexandru ArdeleanandHannu Nyman c7153f22a7 tcpreplay: bump to version 4.3.3
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-06-25 19:29:52 +03:00
Alexandru Ardelean c26eca5491 numpy: add new package
Essentially, this is a re-spin from
  https://github.com/openwrt/packages/pull/9797/

But a really trimmed down version.
Only the Py3 variant is added now, which makes the Makefile really small
now.

Cython is needed on the host, to cythonize some files.

The package needs targets with hard-float enabled. This is because on some
soft-float targets floating-point exception constants aren't defined.
We can define some dummy values, but that ends up being a bit too much
work.
So, for that, the package depends on HAS_FPU or KERNEL_MIPS_FPU_EMULATOR.
This way, numpy should be buildable on hard-float, or for MIPS on the FPU
emulator being compiled in.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-06-21 13:25:45 +03:00
Alexandru Ardelean c2397e7281 pillow: bump to version 7.1.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-06-03 16:47:01 +03:00
Alexandru Ardelean 43403ccb46 python-lxml: bump to version 4.5.1
This took a while to get running.
It turns out, the fix is mostly in libxslt.
lxml uses the xsltGetProfileInformation() function, which is disabled from
libxslt via --without-profiler.
This causes a runtime error, since it cannot find the symbol.
So, libxslt is also updated to re-enable the profiler.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-05-27 11:14:55 +03:00
Alexandru Ardelean 852c117c60 libs: libxslt: allow profiler to be enabled
The lxml package depends on the xsltGetProfileInformation() symbol to be
available.
Without it, the library is unusable at newer versions.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-05-27 11:03:29 +03:00
Alexandru Ardelean 45946961b8 python-six: bump to version 1.15.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-05-26 11:42:53 +03:00
Alexandru Ardelean fa3be5cf09 django: bump to version 3.0.6
Also add 'Peter Stadler <peter.stadler@student.uibk.ac.at>' as
co-maintainer.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-05-12 09:19:25 +03:00
Alexandru Ardelean 99ec808060 django-appconf: bump to version 1.0.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-04-28 12:58:11 +03:00
Alexandru Ardelean 91aff4068f django-compressor: bump to version 2.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-04-28 12:58:11 +03:00
Alexandru Ardelean 427aa37c3a net: seafile-server: select procps-ng
Otherwise seafile-server isn't selectable since it depends that this
package be enabled.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-04-28 12:18:23 +03:00
Alexandru Ardelean 13d843fec1 net: seafile-server: add libevent2 deps on PKG_BUILD_DEPENDS
And libevent2-pthreads to DEPENDS.

While building with -j12 I seem to get:
[ sometimes this also includes libevent2-openssl ]

```
-- EVHTP_VERSION            :  1.2.18
-- EVHTP_DISABLE_SSL        :  OFF
-- EVHTP_DISABLE_EVTHR      :  OFF
-- EVHTP_DISABLE_REGEX      :  OFF
-- EVHTP_BUILD_SHARED       :
-- EVHTP_USE_JEMALLOC       :
-- EVHTP_USE_TCMALLOC       :

-- CMAKE_BUILD_TYPE         : Release
-- CMAKE_INSTALL_PREFIX     : /usr
-- CMAKE_BINARY_DIR         : /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18
-- CMAKE_CURRENT_BINARY_DIR : /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18
-- CMAKE_CURRENT_SOURCE_DIR : /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18
-- PROJECT_BINARY_DIR       : /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18
-- PROJECT_SOURCE_DIR       : /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18
-- CMAKE_MODULE_PATH        : /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/cmake
-- CMAKE_SYSTEM_NAME        : Linux
-- CMAKE_SYSTEM_VERSION     : 1
-- CMAKE_C_COMPILER         : /home/sandu/work/openwrt/openwrt/staging_dir/toolchain-i386_pentium4_gcc-8.4.0_musl/bin/i486-openwrt-linux-musl-gcc
-- CMAKE_AR                 : /home/sandu/work/openwrt/openwrt/staging_dir/toolchain-i386_pentium4_gcc-8.4.0_musl/bin/i486-openwrt-linux-musl-gcc-ar
-- CMAKE_RANLIB             : /home/sandu/work/openwrt/openwrt/staging_dir/toolchain-i386_pentium4_gcc-8.4.0_musl/bin/i486-openwrt-linux-musl-gcc-ranlib
-- CFLAGS                   :   -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18=libevhtp-1.2.18 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro
                              -DNDEBUG

-- Configuring done
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIBEVENT_THREAD
    linked by target "evhtp" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18
    linked by target "test_proxy" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/examples
    linked by target "example_basic" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/examples
    linked by target "test_client" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/examples
    linked by target "example_https_client" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/examples
    linked by target "test_vhost" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/examples
    linked by target "test_basic" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/examples
    linked by target "test_extensive" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/examples
    linked by target "example_chunked" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/examples
    linked by target "test_query" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/examples
    linked by target "test_perf" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/examples
    linked by target "example_pause" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/examples
    linked by target "example_https_server" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/examples
    linked by target "example_vhost" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/examples
    linked by target "example_request_fini" in directory /home/sandu/work/openwrt/openwrt/build_dir/target-i386_pentium4_musl/libevhtp-1.2.18/examples

-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_ASM_COMPILER
    CMAKE_ASM_COMPILER_ARG1
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_SHARED_LINKER_FLAGS
    DL_LIBRARY

CMake Generate step failed.  Build files cannot be regenerated correctly.
```

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-04-28 12:16:38 +03:00
Alexandru Ardelean 2af0b9d303 squashfs-tools: bump to version 4.4
All patches are not needed anymore. squashfs-tools has implemented them in
one way or another.

Converted to download release tarballs. This should work better to get
notified of a newer release.

Also adds support for ZSTD compression:
  https://facebook.github.io/zstd/

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-04-17 12:21:19 +03:00
Alexandru Ardelean 1bb81789de django-constance: drop package
This was needed for Seafile up to a certain version. Since it's not
required anymore by any other package/known-user, remove it.

Should be installable via pip or manually.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-04-17 11:25:16 +03:00
Alexandru Ardelean aa7c5ad305 openpyxl: bump to version 3.0.3
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-04-16 15:22:44 +03:00
Alexandru Ardelean eeda0f939b python3: symlink 'python' to '/usr/bin/python3'
Time to make it more official.
Running 'python' should get you an interpreter running, and that one is now
Python3.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-04-08 14:40:26 +03:00
Alexandru Ardelean 33525fa8d5 lang: python: flup: drop package
Was mostly required for Seafile.
Now it isn't.
It's also pretty ancient.
   https://www.saddi.com/software/flup/

Page was last updated in 2005.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-04-07 18:12:59 +03:00
Alexandru Ardelean f16cdc340a gunicorn: bump to version 20.0.4
This change bumps gunicorn to version 20.0.4.
It also installs the binary for gunicorn without any suffix, via symlink.
And remove gunicorn_paster; that was removed from the package and moved
into the gunicorn library.
Also, now we need to use the full python3-setuptools package for the
gunicorn executable, as it won't start without it.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-04-07 11:04:53 +03:00
Alexandru Ardelean 4c6c1b9678 python3-package.mk: fix typo PYTHON3_PKG_SETUP_GLOABL_ARGS -> PYTHON3_PKG_SETUP_GLOBAL_ARGS
This fixes a typo with the default PYTHON3_PKG_SETUP_GLOBAL_ARGS.
Since in make context non-defined variables are empty anyway, this doesn't
produce any issues. The fix is more semantic in nature.

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

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-04-07 10:07:29 +03:00
Alexandru Ardelean e6e1c89c50 pillow: bump to version 7.1.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-04-06 17:06:18 +03:00
Alexandru Ardelean e395534435 django: bump to version 3.0.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-03-10 14:11:48 +02: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
Alexandru Ardelean dcdceb526e libs: libzdb: bump to version 3.2.1
Patches require a bit of rework:
- dropped 010-missing-header.patch
- add 010-do-not-run-test-progs.patch
- re-updated 020-filterh-use-host-built-version.patch
  - Makefile.in gets regenerated from PKG_FIXUP:=autoreconf
- added PKG_FIXUP:=autoreconf ; it's easier to patch automake stuff that
  big configure scripts

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-03-10 13:00:40 +02: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 c65e317258 django: bump to version 3.0.3
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-02-12 09:57:41 +02:00
Alexandru Ardelean 26f8888d6b pymysql: make python3-cryptography optional
According to the installation guide [1], the support for "sha256_password"
or "caching_sha2_password" for authentication is optional.

This change makes it optional for the OpenWrt package by providing a build
option to enable it.
By default it won't be enabled, and packages can choose to enable it.

[1] https://pymysql.readthedocs.io/en/latest/user/installation.html

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-01-29 09:30:59 +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 fafccab54f python-evdev: bump to version 1.3.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-01-13 09:49:23 +02:00
Alexandru Ardelean d62b27d499 pymysql: add new package (only Py3 variant)
This change adds support for the pymysql package, which is a pure Python
MySQL client. This package will replace the current python-mysqlclient.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-01-13 09:22:10 +02:00
Alexandru Ardelean 9f4377ab8b python-asn1crypto: bump to version 1.3.0 + rework
This change:
* bumps the version 1.3.0
* switches to pypi.org download
* removes the python2 variant

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-01-06 15:45:14 +02:00
Alexandru Ardelean d7d99ddc1b django: bump to version 3.0.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-01-06 13:29:43 +02:00
Alexandru Ardelean 5dc070e1db django: remove conditional deps
These are left over/forgotten. Remove them.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-01-06 13:29:26 +02:00
Alexandru Ardelean ca40997653 python-lxml: bump to version 4.4.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-12-09 09:36:03 +02:00
Alexandru Ardelean 4e6d16a221 python-simplejson: bump to version 3.17.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-11-28 10:53:07 +02:00
Alexandru Ardelean a54f2f63cd python-mysqlclient: bump to version 1.4.6
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-11-28 08:51:20 +02:00
Alexandru Ardelean 7d1772bce2 python-dateutil: bump to version 2.8.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-11-19 10:47:02 +02:00
Alexandru Ardelean 33f82a4999 python-mysqlclient: bump to version 1.4.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-11-19 10:46:58 +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
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
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
Alexandru ArdeleanandJosef Schlehofer 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
Alexandru ArdeleanandEneas U de Queiroz 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
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
Alexandru Ardelean 03f625047d python-asn1crypto: bump to version 1.0.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-10-09 13:23:28 +03:00
Alexandru Ardelean 929df778cc python-pillow: bump to version 6.2.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-10-09 11:53:46 +03:00
Alexandru Ardelean 2f19a94d65 python[3]-simplejson: drop tests from simplejson package
These tests take-up a bit of space. And they aren't typically needed.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-10-08 16:53:36 +03:00
Alexandru Ardelean 5f9ea76e7a gunicorn: convert to Python packaging format + add Python3 variant
And splitting the gunicorn[3] binary/executable away from the
python[3]-gunicorn libraries. This was inspired from Debian packaging.

The gunicorn[3] binaries require the new `python[3]-pkg-resources`
libraries to run, which add ~1.1 MB on the [ram]disk when uncompressed.

For the Python2 variant, the `_gaiohttp.py` is dropped as it fails to
compile, so it would likely be unusable anyway:
```
  File "/usr/lib/python2.7/site-packages/gunicorn/workers/_gaiohttp.py", line 84
    yield from self.wsgi.close()
             ^
  SyntaxError: invalid syntax

```

People around the web recommend this as well:
 https://stackoverflow.com/questions/25611140/syntax-error-installing-gunicorn
 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803170
 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803202

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-09-20 14:11:08 +03:00
Alexandru Ardelean 721642908c python,python3: add Py[3]Shebang functions & move outside of script
Some packages just install some Python binaries, that may need their
shebang fixed.
This change adds some utilities to help with that and try to centralize the
sed rules a bit.

It also removes the logic from the `python-package-install.sh` into the
`python-package[3].mk` files. This does 2 things:
1. It minimizes the need for the shell script to know the Python
   version 2/3
2. Makes the logic re-usable in packages; especially if the install rules
   differ a bit

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-09-20 14:10:00 +03:00
Alexandru Ardelean ed0e77f3c3 python,python3: split python[3]-pkg-resources from setuptools
This package is required by other packages to run some binaries via
`load_entry_point`.

So, this splits this package away from setuptools.
setuptools is pretty big, akd pkg-resources is also big, but not as big.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-09-20 13:42:40 +03:00
Alexandru Ardelean b104c56e2b python: change condition check for legacy opt for Python3
As I remember this worked.
But since `set -e` is set, I am a bit paranoid about it. In the sense that
it may fail if `ver` != 3.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-09-20 13:42:21 +03:00
Alexandru Ardelean dc08f0fab8 seafile-seahub: update dependency to python-mysqlclient
The `python-mysql` package was updated with PR https://github.com/openwrt/packages/pull/9705

For seahub this was omitted, since the Python dependencies are prefixed
with `python-`, so it was missed during the grep search.
And grepping just for `mysql` yields many results.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-09-13 12:27:23 +03:00
Alexandru Ardelean 817cdbd7c9 python-mysql: rename to python-mysqlclient & bump to version 1.4.4
The package on PyPi is named `mysqlclient`.
This should have been named `python-mysqlclient` from the start.
There is a `mysql` package on PyPi already but that's a different
code/package.

Doing this should avoid any future confusion.
There is no good time to do this rename; at least 19.07 has been branched
already and this can go into the next release [in a year or so].

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-09-02 15:06:28 +03:00
Alexandru Ardelean 436e0ef5c4 python-{asn1crypto,evdev,lxml}: add -src packages
They seem to have become popular, so adding src packages for these as well.
Not bumping PKG_RELEASE intentionally, since these packages are new.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-08-12 10:18:29 +03:00
Alexandru Ardelean 0699a69ba1 python-dateutil: bump to version 2.8.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-08-12 09:53:27 +03:00
Alexandru Ardelean 621f5777d3 python-lxml: bump to version 4.4.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-08-12 09:50:36 +03:00
Alexandru Ardelean 16c9fcdda8 python-pytz: bump to version 2019.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-08-12 09:47:16 +03:00
Alexandru Ardelean 2a5fb656f2 net: ulogd2: add myself as maintainer
Since this package has been abandoned, I don't mind taking it over.
If there are issues with it, I can also investigate, and be a point-man.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-08-01 14:33:17 +03:00
Alexandru Ardelean 8c96971c08 django-webpack-loader: update packaging format + add python3 variant
This change also updates the maintainer email to cotequeiroz@gmail.com, as
requested on a different change.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-07-11 15:16:36 +03:00
Alexandru Ardelean b239483365 django-statici18n: update packaging format + add python3 variant
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-07-11 15:16:36 +03:00
Alexandru Ardelean 545cff8b63 django-simple-captcha: update packaging format + add python3 variant
This change also updates the maintainer email to cotequeiroz@gmail.com, as
requested on a different change.

Also, changing here is the download URL to github's codeload, since that
one offers .tar.gz archives.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-07-11 15:16:34 +03:00
Alexandru Ardelean 70ebc7a2f4 django-ranged-response: update packaging format + add python3 variant
This change also updates the maintainer email to cotequeiroz@gmail.com, as
requested on a different change.

Not updating deps here, since that will be done in the next changeset that
will convert packages to the Python[3] packaging format.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-07-11 15:15:23 +03:00
Alexandru Ardelean cc33edc138 seafile-seahub: use python-pillow as dep
The pillow package has been updated to the Python[3] packaging format, and
now the package names are `python-pillow` & `python3-pillow`.
This change updates seafile-seahub to use it.

Not updating other packages as they will be converted to Python[3]
packaging format.

And not bumping PKG_RELEASE here as it will be done in the last commit that
updates deps for seafile-seahub.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-07-11 15:13:44 +03:00
Alexandru Ardelean f5eb040e6b python-qrcode: update Eneas' email as per prev request
The email change was part of a previous request from a different PR series.
In this series, the change is the only thing left to do (from what the
original changeset intended to do).

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-07-11 15:10:09 +03:00
Alexandru Ardelean 1d383c23f4 net: mstpd: new package (multiple spanning tree daemon)
This change adds support for mstpd (Multiple Spanning Tree Protocol
Daemon).

mstpd works reasonably well with RSTP.
MSTP protocol works ok, but is known to have some issues with some managed
switches.

In order to get this to work, each physical switch port needs to have it's
own software network interface (so, for example: port 0 <==> eth0). This
means that this is suited mostly for higher end devices that can process
STP packets in software.

An interface for `swconfig` or Linux's DSA or switchdev would haven been
interesting, but it never materialized.

Adding this in the OpenWrt packages feed may provide some interest or
feedback on whether `mstpd` should do more, to integrate with managed
switches and offer some basis for Linux (through OpenWrt) as an OS for
managed switches.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-07-05 10:27:44 +03:00