Commit graph

1376 commits

Author SHA1 Message Date
Rosen Penev
9c6beaabe0
Merge pull request #12461 from jefferyto/python-package-variants
python-packages: Remove variants
2020-06-15 00:15:16 -07:00
Daniel Golle
90790b6b8f Flask: update to version 1.1.2
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-06-15 01:40:31 +01:00
Daniel Golle
71d1dd3941 Werkzeug: update to version 1.0.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-06-15 01:40:31 +01:00
Daniel Golle
c66a7c3477 pyodbc: update to version 4.0.30
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-06-15 01:40:31 +01:00
Jeffery To
836b67db90
python-packages: Remove variants
These packages were in the PR stage when the cleanup occurred and so
still had VARIANT:=python3.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-06-14 03:29:59 +08:00
Rosen Penev
435e5077f8
Merge pull request #12483 from jmarcet/docker-compose-fixes
docker-compose: fix depends after merge in master and move to utils
2020-06-13 02:02:57 -07:00
Josef Schlehofer
ba73eff3ea Jinja2: update to version 2.11.2
- Update project website

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-06-12 15:48:30 +01:00
Javier Marcet
94dbeabaab docker-compose: fix depends after merge in master and move to utils
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-12 11:57:42 +02:00
Jeffery To
6bb3e26fe2
python: Revise pypi.mk section of readme
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-06-11 16:49:56 +08:00
Jeffery To
c662835372
python: Fix relative links in readme
This also removes a link to pypi.org; the previous sentence already
links to pypi.org, a second link in the same paragraph isn't necessary.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-06-11 16:36:38 +08:00
Jeffery To
f9ed65d922
python: Remove references to variants in readme
Build variants are no longer necessary.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-06-11 16:23:49 +08:00
Rosen Penev
b247d3c851
Merge pull request #11365 from jmarcet/docker-compose_3_3
Docker compose (3 of 3)
2020-06-08 13:47:05 -07:00
Rosen Penev
1635bda9fd
Merge pull request #11364 from jmarcet/docker-compose_2_3
Docker compose (2 of 3)
2020-06-08 13:46:37 -07:00
Javier Marcet
ee8932a4ed docker-compose: new package, multi-container orchestration for Docker
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-08 17:16:46 +02:00
Javier Marcet
f04dc3f3ae python3-dotenv: add a new package
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-08 17:16:36 +02:00
Javier Marcet
79873a31e1 python3-distro: add a new package
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-08 17:07:33 +02:00
Javier Marcet
d7a01bbba0 python3-docker: add a new package
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-08 13:58:34 +02:00
Javier Marcet
2770f477f7 python3-paramiko: add a new package
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-08 13:57:26 +02:00
Javier Marcet
9af6a41b40 python3-pynacl: add a new package
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-08 13:57:06 +02:00
Javier Marcet
d69b0091c0 python3-websocket-client: add a new package
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-08 13:51:04 +02:00
Javier Marcet
5ac7f3e958 python3-texttable: add a new package
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-08 13:50:47 +02:00
Javier Marcet
4dc815d0d1 python3-jsonschema: add a new package
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-08 13:49:06 +02:00
Javier Marcet
1a5292d17c python3-dockerpty: add a new package
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-08 13:49:06 +02:00
Javier Marcet
76e64046d1 python3-docopt: add a new package
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-08 13:48:40 +02:00
Javier Marcet
cbf50bb03c python3-cached-property: add a new package
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-08 13:48:40 +02:00
Rosen Penev
d3abf54693
Merge pull request #12406 from peter-stadler/django
django: update to version 3.0.7
2020-06-04 14:23:00 -07:00
Peter Stadler
f8fb3e6a25 django: update to version 3.0.7
update to newest version

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-06-04 17:39:58 +02: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
Jiri Slachta
657d906234
Merge pull request #12337 from commodo/lxml-bump-4-5-1
Lxml bump 4 5 1
2020-06-01 13:09:56 +02:00
Rosen Penev
eb8ea687c2
Merge pull request #12349 from ja-pa/pytest-update-5.4.2
python-pytest: update to version 5.4.2
2020-05-28 11:28:55 -07:00
Jan Pavlinec
e7654631b6
python-pytest: update to version 5.4.2
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-05-28 17:09:21 +02:00
Hannu Nyman
7cfe56aa5d
Merge pull request #12347 from ja-pa/python-packaging-update
python-packaging: update to version 20.4
2020-05-28 17:25:46 +03:00
Jan Pavlinec
fc06257b22
python-packaging: update to version 20.4
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-05-28 13:53:30 +02:00
Jeffery To
c0a0b7cc3b
python-crypto: Remove package
The pycrypto package is not maintained; the last stable release was in
2013.

This also updates python3-cryptodome, from conflicting with
python3-crypto, to providing python3-crypto.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-27 17:39:45 +08: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
Hannu Nyman
5e6b871e9e
Merge pull request #12316 from commodo/python3-six
python-six: bump to version 1.15.0
2020-05-26 15:57:33 +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
Peter Stadler
dd7f2ee695 python3-django-cors-headers: update version to 3.3.0
Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-05-25 23:56:45 +02:00
Jeffery To
3c36696a56 python-packages: Add usr/bin symlinks without "3" suffix
Previously, binaries installed by Python packages will have a
non-suffixed Python 2 version and a suffixed Python 3 version, e.g. pip
and pip3. With the removal of Python 2, the non-suffixed names are no
longer taken.

This adds symlinks for the non-suffixed names linking to the suffixed
scripts (or in the case of pip, easy_install, and python-config, to the
fully-versioned scripts).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-22 03:57:55 +08:00
Hannu Nyman
643b91abb3
Merge pull request #12245 from jefferyto/python3-setuptools-site-patch
python3-setuptools: Fix error when installing from source
2020-05-21 15:51:23 +03:00
Jeffery To
70a7f736c5 python3-setuptools: Fix error when installing from source
When a Python package is installed from source (i.e. using setup.py)
into a custom location (with --home), setuptools may want to create a
site.py file in the custom location. This file is created based on the
source code of site-patch.py, a file bundled with setuptools.

Because the normal OpenWrt setuptools package does not contain Python
source code, this file is missing and the installation will end with an
error.

This copies site-patch.py to site-patch.py.txt so that it will be
included in python3-setuptools, and patches setuptools to look for this
file.

See https://github.com/openwrt/packages/issues/12223

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-21 20:02:13 +08:00
Jeffery To
10e67aca45 django-postoffice: Update to 3.3.0
This is not the newest version but the last version compatible with
Django 1.11.

This also updates the jsonfield dependency to jsonfield2.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-21 05:02:35 +08:00
Jeffery To
a9cc46658a django-jsonfield2: Add package
This package mainly serves to support django-post-office 3.3.0, as that
version switched its dependency from jsonfield to jsonfield2 (a fork of
jsonfield).

The version packaged in this package (3.0.3) is the last version that
supports Django 1.11.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-21 04:53:54 +08:00
Rosen Penev
1fc71ed994
Merge pull request #12234 from jefferyto/python3-3.8.3
python3: Update to 3.8.3, refresh patches
2020-05-20 11:12:55 -07:00
Jan Pavlinec
4614041245
python-more-itertools: update to version 8.3.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-05-20 13:37:10 +02:00
Jeffery To
0254a4bea9 python3: Update to 3.8.3, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-20 17:40:38 +08:00
Jeffery To
d2b0cc523d python3-openssl: Add dependency on ca-certs
The ssl module assumes OpenSSL can load the default trust anchors (root
CA certificates).

From https://github.com/openwrt/packages/issues/12209

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-20 04:30:45 +08:00
Jeffery To
be9a554a26 python3: Enable compile-time optimizations
This adds the --enable-optimizations configure option (for
profile-guided optimization) for both host and target Python, and the
--with-lto configure option (for link-time optimization) for target
Python (for non-MIPS platforms).

Currently, compiling Python with LTO leads to link errors on mips and
mipsel. (Compiling with LTO appears to succeed on mips64 but there is
only one mips64 target available for convenient testing.)

This also cleans up the host and target configure options:

* Sort options/variables
  - Alphabetically
  - Flags/options before child-process environment variables
  - Group options by type (enable/disable/with/without)
  - Static options/variables before conditional ones

* Remove the prefix/dir options, as they are the same as the defaults
  set by the build system

* Remove --with-threads, as it is no longer a valid option (threads are
  always enabled)

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-18 15:01:17 +08:00
Rosen Penev
8302890162
Merge pull request #12149 from ja-pa/python-atomicwrites-udate
python-atomicwrites: update to version 1.4.0
2020-05-14 16:14:45 -07:00
Rosen Penev
d9328d42bd
Merge pull request #12130 from jefferyto/python3-find-stdlib-depends
python3: Add script to help find standard library dependencies
2020-05-14 09:06:30 -07:00
Jeffery To
d4d78c2511 python3: Add script to help find standard library dependencies
This adds a script that searches a Python package's source code to find
imports for separately-packaged standard library modules.

The script can be run by calling make with the configure target and
"PY3=stdlib V=s" arguments, e.g.

    make package/python3-lxml/configure PY3=stdlib V=s

This also updates the readme on how to call this script, as well as more
information on Python package dependencies in general.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-14 23:38:24 +08:00
Hannu Nyman
c5e30e529e
Merge pull request #12148 from ja-pa/python3-maxminddb-update
python3-maxminddb: update to version 1.5.4
2020-05-12 09:38:36 +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
Jan Pavlinec
94ca5a5760
python-atomicwrites: update to version 1.4.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-05-12 02:03:22 +02:00
Jan Pavlinec
a384deb455
python3-maxminddb: update to version 1.5.4
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-05-12 00:59:20 +02:00
Eneas U de Queiroz
8c609f878d
python-certifi: bump to 2020.4.5.1, update email
Besides the version bump, maintainer e-mail address was updated.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2020-05-08 11:44:34 -03:00
Peter Stadler
5769ac8304 python-pytz: update version to 2020.1
Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-05-02 14:39:02 +02:00
Josef Schlehofer
b83e83ca17
Merge pull request #12026 from jefferyto/python-dns-pypi
python-dns: Change download source, remove incorrect PKG_CPE_ID
2020-05-01 14:53:45 +02:00
Hannu Nyman
fe38ef3472
Merge pull request #12028 from jefferyto/python-schema-0.7.2
python-schema: Update to 0.7.2, change download source to PyPI
2020-05-01 13:45:35 +03:00
Hannu Nyman
021a9ec83c
Merge pull request #12027 from jefferyto/python-decorator-4.4.2
python-decorator: Update to 4.4.2, change download source to PyPI
2020-05-01 13:45:13 +03:00
Jeffery To
10fb31451e django-simple-captcha: Change download source to PyPI
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-01 05:14:11 +08:00
Jeffery To
b333a95af6 python-schema: Update to 0.7.2, change download source to PyPI
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-01 05:11:08 +08:00
Jeffery To
0c83ce62c0 python-decorator: Update to 4.4.2, change download source to PyPI
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-01 05:02:50 +08:00
Jeffery To
b5ba871c8f python-dns: Change download source, remove incorrect PKG_CPE_ID
This changes the package to download from PyPI (using pypi.mk) and
removes the incorrect PKG_CPE_ID.

The CPE id was for Debian's python-dns package which contains PyDNS
("pydns" on PyPI). This package contains "dnspython" from PyPI.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-01 04:53:48 +08:00
Jeffery To
1e6b948963 python-cryptography: Update to 2.9.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-29 19:15:43 +08: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
Jeffery To
9f81ab895e python3: Fix host build tool names recorded in target files
Python will record the values of CC, CXX, AR, and READELF (and other
configure options) used during compilation. pip will use these programs
when asked to compile extension modules on the target device.

* If ccache is used during build, CC and CXX will be ccache_cc and
  ccache_cxx, respectively, which are not available on-device (#11912).

* If an external toolchain is used during build, the values of these
  variables will contain the external toolchain prefix, which may not be
  available on target.

* If the normal toolchain is used during build, AR and READELF will
  contain the toolchain prefix, but the names of ar and readelf
  on-device do not contain the prefix; they are named "ar" and
  "readelf".

This changes the values of these variables in Python's files to match
the names available on-device, and without any toolchain prefix.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-27 14:10:53 +08:00
Jeffery To
6678689f44 python-lxml: Use default Python package build recipe
This also updates the package's metadata (title, description, license).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-25 00:34:11 +08:00
Jeffery To
11bc05763d python3-pip: Fix error when installing packages that require compilation
This addresses one of the issues raised in #11912.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-24 21:09:37 +08:00
Rosen Penev
b79df90ea0
Merge pull request #11931 from jefferyto/django1-remove-common-package
django1: Remove common package
2020-04-22 15:35:24 -07:00
Rosen Penev
3d9916b07f
Merge pull request #11934 from jefferyto/python-gnupg-0.4.6
python-gnupg: Update to 0.4.6
2020-04-22 15:35:03 -07:00
Jeffery To
125f9fca87 python-gnupg: Update to 0.4.6
This also updates all package metadata (it appears this information was
not updated when the package switched from packaging "gnupg" from PyPI
to "python-gnupg"), updates the package to use the default Python
package build recipe, and adds a src package.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-23 05:25:52 +08:00
Jeffery To
97b435c8a5 python-appdirs: Fix description
This fixes the incorrect description for this package, as well as adding
a more descriptive title.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-23 04:38:43 +08: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
Hannu Nyman
69d1539075
Merge pull request #11930 from jefferyto/vobject-remove-maintainer
vobject: Remove maintainer
2020-04-22 23:17:30 +03:00
Jeffery To
7bf5ed1eda vobject: Remove maintainer
The previous maintainer has removed himself from his other packages
(#11612). This package appears to have been omitted by mistake.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-23 03:47:12 +08:00
Jeffery To
2e14e639c4 python-zope-interface: Update to 5.1.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-23 03:40:11 +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
Hannu Nyman
6c2235253f
Merge pull request #11872 from jefferyto/python3-makefile-cleanup
python3: Makefile cleanup
2020-04-20 20:05:07 +03:00
Jeffery To
89ae10ed71 python3: Change PYTHON_VERSION references to PYTHON3_VERSION
PYTHON_VERSION is a holdover from Python 2; all Python 3 variables are
prefixed with PYTHON3 (or some variation with "3").

This updates all uses of PYTHON_VERSION to PYTHON3_VERSION.

This also sets PYTHON3_PKG_BUILD:=0 before python3-package.mk is
included in the python3 Makefile.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-19 01:56:23 +08:00
Jeffery To
9636f6f447 python3: Use PYTHON3_PKG_BUILD to control default Python package build
This replaces the use of BUILD_VARIANT with PYTHON3_PKG_BUILD to opt
in/out of the default Python package build recipe (Py3Build/Compile).

PYTHON3_PKG_BUILD defaults to true (1), i.e. if a package includes
python3-package.mk, then by default it will set the package's
Build/Compile to Py3Build/Compile.

If PYTHON3_PKG_BUILD is set to 0 before python3-package.mk is included,
then Build/Compile will not be modified.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-19 01:56:23 +08:00
Jeffery To
58719a3c4b python3: Remove MIPS16 changes from python3-package.mk
There are no bug reports or other evidence to suggest Python is not
compatible with MIPS16 compilation.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-19 01:56:23 +08:00
Jeffery To
ba127c155a python3: Minor edits for python3-package.mk
* Remove PYTHON3_BIN_DIR, it isn't used anywhere in the repo
* Rephrase *-src package description
* Reduce Py3Package/$(1)/install indentation

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-19 01:56:23 +08:00
Jeffery To
c9b260f5ae python3: Add canned recipe to invoke filespec processing
This extracts filespec export and processing into
Py3Package/ProcessFilespec.

This also allows the filespec variable to be explicitly set to an empty
value, to bypass filespec processing. (The default filespec is also
available as Py3Package/filespec/Default to be explicitly assigned to
the filespec variable.)

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-19 01:56:23 +08:00
Jeffery To
3cdca38dce python3: Move functionality into python3-package.mk
This moves functionality from python-package-install.sh into
python3-package.mk, so that they can be reused separate from filespec
processing.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-19 01:56:23 +08:00
Jeffery To
0bc1bf5578 python3: Reorder recipes in python3-package.mk
Group Python3/* recipes together, group Py3Package and Py3Build
together.

This also adds headings and whitespace to separate major sections.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-19 01:56:23 +08:00
Jeffery To
fc8387614c python3: Rename canned recipes in python3-package.mk
This renames "internal" recipes to use the Python3/ prefix and clarifies
the names (RunTarget to Run, Mod to ModSetup, Shebang to FixShebang).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-19 01:56:23 +08:00
Jeffery To
87b8f45230 python3: Rename canned recipes in python3-host.mk
This changes the recipe name prefix from Build/Compile/HostPy3 to
HostPython3, and clarifies some of the names (RunHost to Run, Mod to
ModSetup).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-19 01:56:11 +08:00
Jeffery To
3642b18441 python3: Remove HostPython3 in python3-host.mk
HostPython3 only adds a few environment variables before running host
Python. It has only two users, Build/Compile/HostPy3RunHost and
Build/Compile/HostPy3RunTarget.

HostPython3 also accesses $(PYTHON3PATH), even though python3-host.mk
does not include python3-package.mk, where the variable is defined.

This removes HostPython3 and has its two users run host Python directly.
This also combines the environment variables of HostPython3 and the two
users into HOST_PYTHON3_VARS and PYTHON3_VARS.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-19 01:56:07 +08:00
Hannu Nyman
d6fee345be
Merge pull request #11867 from commodo/drop-django-constance
django-constance: drop package
2020-04-17 18:25:50 +03:00
Jeffery To
2dfdef66a3 python3: Remove include guard for python3-host.mk
Since it only defines variables and canned recipes, it is safe to
include python3-host.mk more than once.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-17 23:19:13 +08: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
Jan Pavlinec
33f3aa525d
python-pyparsing: update to version 2.4.7
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-04-14 14:08:22 +02:00
Josef Schlehofer
6bae8487ef
Merge pull request #11817 from cotequeiroz/python-src
python3: hide -src package until main pkg selected
2020-04-12 12:25:45 +02:00
Richard Yu
ff6fc93987
python-cryptodome: update to 3.9.7
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
2020-04-11 00:21:57 +08:00
Eneas U de Queiroz
3d28b776bc
python3: hide -src package until main pkg selected
This adds a 'Package/<pkg>-src/config' definition with a 'depends on
<pkg>' line, which will hide <pkg>-src unless <pkg> is selected.  This
makes the long list of python packages a bit shorter, and also indents
the src package:

<M> python3-base................................ Python 3.8 interpreter
< >   python3-base-src................. Python 3.8 interpreter (sources)

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2020-04-10 12:41:37 -03:00
Hannu Nyman
e086343cb5
Merge pull request #11793 from commodo/python3-default-bin
python3: symlink 'python' to '/usr/bin/python3'
2020-04-08 18:03:39 +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
Hannu Nyman
2e6a9bfb16
Merge pull request #11744 from ja-pa/pytest-new
python-pytest: add new package
2020-04-07 17:23:11 +03:00
Jan Pavlinec
5ed30d1003
python-pytest: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-04-07 11:13:37 +02:00
Hannu Nyman
d94e27b836
Merge pull request #11792 from commodo/gunicorn-update
gunicorn: bump to version 20.0.4
2020-04-07 11:50:34 +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
Josef Schlehofer
d6239f87d7 python-yaml: update to version 5.3.1
Fixes CVE-2020-1747

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-04-06 21:43:02 -10: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
Hannu Nyman
2d16c6fc57
Merge pull request #11779 from commodo/pillow-bump
pillow: bump to version 7.1.1
2020-04-06 17:25:47 +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
Hannu Nyman
1326c9d146
Merge pull request #11778 from jefferyto/python-cryptography-2.9
python-cryptography: Update to 2.9, remove setup patch
2020-04-06 16:22:43 +03:00
Hannu Nyman
bba80c4ae8
Merge pull request #11777 from jefferyto/python-zope-interface-5.0.2
python-zope-interface: Update to 5.0.2
2020-04-06 16:22:14 +03:00
Hannu Nyman
2e0bfa830d
Merge pull request #10449 from ja-pa/python-pluggy
python-pluggy: add new package
2020-04-06 11:14:20 +03:00
Jeffery To
8659757df8 python-cryptography: Update to 2.9, remove setup patch
Since cffi is installed by HOST_PYTHON3_PACKAGE_BUILD_DEPENDS, it
shouldn't be necessary to clear setup_requirements anymore.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-06 15:54:04 +08:00
Jeffery To
3f7f4df32c python-zope-interface: Update to 5.0.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-06 15:13:38 +08:00
Jeffery To
932bfe4cf3 python3-pip: Symlink pip3 to pip3.8
Currently, python3-pip installs the same script as pip3 and pip3.8 to
usr/bin. This changes pip3 to be a symlink to pip3.8.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-04 06:21:39 +08:00
Jeffery To
8c7039fa7d python: Update readme
* Replace the Python 2 pending removal notice/schedule with a brief
  message about the removal
* Replace mentions of "Python & Python 3" with just "Python" (references
  to the version number are kept only in cases where it is necessary)
* Update Makefile example code to use Python 3 conventions/names

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-04 03:09:25 +08:00
Jan Pavlinec
b4ca8aaccc
python-pluggy: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-04-03 12:02:14 +02:00
Jeffery To
2e48a26b17 python: Remove package
This package will be added to the abandoned packages feed.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-03 03:26:40 +08:00
Hannu Nyman
803dd9c739
Merge pull request #11740 from jefferyto/python2-remove-libraries
python-libraries: Remove Python 2 variants/libraries
2020-04-02 14:46:58 +03:00
Hannu Nyman
8d53a5605d
Merge pull request #11743 from peter-stadler/django
python3-django: update to version 3.0.5
2020-04-02 14:46:05 +03:00
Hannu Nyman
227a16ac85
Merge pull request #11742 from peter-stadler/asgiref
python3-asgiref: update version to 3.2.7
2020-04-02 14:45:56 +03:00
Hannu Nyman
913db5a390
Merge pull request #11664 from ja-pa/python-packaging-new
python-packaging: add new package
2020-04-02 14:45:36 +03:00
Jan Pavlinec
13c1efe234
python-packaging: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-04-02 13:08:04 +02:00
Peter Stadler
fa77f4aecd python3-django: update to version 3.0.5
Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-04-02 12:06:44 +02:00
Peter Stadler
24b1378084 python3-asgiref: update version to 3.2.7
Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-04-02 11:59:09 +02: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
c37b15e1c4 python-libraries: Remove Python 2-only packages
These are either libraries that backport Python 3 features for Python 2
programs, or libraries that have not had Python 3 variants added to them
by anyone.

These packages 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
Jan Pavlinec
2d5ba44c78
python-wcwidth: update to version 0.1.9
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-03-31 16:26:05 +02:00
Hannu Nyman
3ca125971d
Merge pull request #11642 from jefferyto/python-zope-interface-5.0.1
python-zope-interface: Update to 5.0.1, refresh patch
2020-03-23 21:08:44 +02:00
Hannu Nyman
b4c303f88f
Merge pull request #11638 from jefferyto/twisted-20.3.0
python-twisted: Update to 20.3.0, refresh patches
2020-03-23 21:07:47 +02:00
Jeffery To
7662e1ea9b python-zope-interface: Update to 5.0.1, refresh patch
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-03-24 01:18:33 +08:00
Jeffery To
633c81e7a9 python-twisted: Update to 20.3.0, refresh patches
This update includes fixes for:
* CVE-2020-10108
* CVE-2020-10109

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-03-23 23:17:45 +08:00
Jan Pavlinec
7fb8beee7c
python-zipp: update to version 3.1.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-03-23 14:19:48 +01:00
Daniel F. Dickinson
290ab508ab treewide: Remove myself as maintainer
Life changes, I'm no longer avaiable to be an sufficiently active
OpenWrt developer.  Therefore removing myself from maintainer from
all packages I maintained in OpenWrt.

All the best for those who keep up the good work!

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2020-03-20 14:12:55 -04:00
Jeffery To
7513448d20 python3: Update to 3.8.2, fix python3-xml dependency
xml.sax.saxutils has a dependency on urllib[1].

[1]: https://github.com/python/cpython/blob/v3.8.2/Lib/xml/sax/saxutils.py#L6

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-03-20 16:30:22 +08:00
Hannu Nyman
d6583e3d66
Merge pull request #11582 from jefferyto/python-zope-interface-4.7.2
python-zope-interface: Update to 4.7.2, refresh patch
2020-03-16 20:45:44 +02:00
Hannu Nyman
ee9cb3c81d
Merge pull request #11565 from jefferyto/seafile-7.1.2
seafile-server: Update to 7.1.2, update dependencies
2020-03-16 20:22:49 +02:00
Jeffery To
a178662fce python-zope-interface: Update to 4.7.2, refresh patch
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-03-17 02:04:38 +08:00
Jeffery To
48af5b2abb python-enum34: Update to 1.1.10, refresh patch
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-03-17 01:49:24 +08:00
Jeffery To
931dcfe3aa python-pycparser: Update to 2.20
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-03-16 22:46:25 +08:00
Jeffery To
5792851234 django-ranged-response: Fix project URL
django-ranged-response is a fork of django-ranged-fileresponse, but they
did not update the URL on PyPI[1].

The URL in this change appears to be the correct one.

[1]: https://github.com/wearespindle/django-ranged-fileresponse/issues/10#issuecomment-509965566

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-03-14 04:35:00 +08:00
Jeffery To
69c67fe9f7 django-postoffice: Update to 3.2.1
This version is not the latest available update, but is the last version
compatible with Python 2.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-03-14 04:35:00 +08:00
Jeffery To
7f9d22b5ad django-jsonfield: Change packaged project
Previously, this packaged "django-jsonfield" on PyPI.

The only (in-tree) package that depends on this package is
django-postoffice.

django-post-office actually depends on "jsonfield" on PyPI.[1][2]

This changes the packaged project from "django-jsonfield" to
"jsonfield".

The version packaged here is not the latest available update, but the
last version compatible with Django 1.11 / Python 2.

[1]: https://github.com/ui/django-post_office/blob/v3.2.1/setup.py#L45
[2]: https://github.com/ui/django-post_office/issues/182

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-03-14 04:35:00 +08:00
Jeffery To
22b4000d33 django-picklefield: Update to 2.1.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-03-14 04:35:00 +08:00
Jeffery To
ec8c7a8940 django-appconf: Update to 1.0.3
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-03-14 04:35:00 +08:00
Jeffery To
ef5bb48c94 django-statici18n: Update to 1.9.0, add missing dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-03-14 04:35:00 +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
Rosen Penev
a8b08dca94
Merge pull request #11559 from peter-stadler/sqlparse
python3-sqlparse: update to 0.3.1
2020-03-11 12:48:07 -07:00
Peter Stadler
3efb95f695 python3-asgiref: update to 3.2.5
Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-03-11 19:26:52 +01:00
Peter Stadler
35ef7b588d python3-sqlparse: update to 0.3.1
Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-03-11 19:21:26 +01:00