aboutsummaryrefslogtreecommitdiff
path: root/lang/python
Commit message (Collapse)AuthorAge
* python3-django-cors-headers: update version to 3.3.0Peter Stadler2020-05-25
| | | | Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
* python-packages: Add usr/bin symlinks without "3" suffixJeffery To2020-05-22
| | | | | | | | | | | | | 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>
* Merge pull request #12245 from jefferyto/python3-setuptools-site-patchHannu Nyman2020-05-21
|\ | | | | python3-setuptools: Fix error when installing from source
| * python3-setuptools: Fix error when installing from sourceJeffery To2020-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | django-postoffice: Update to 3.3.0Jeffery To2020-05-21
| | | | | | | | | | | | | | | | | | 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>
* | django-jsonfield2: Add packageJeffery To2020-05-21
|/ | | | | | | | | | | 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>
* Merge pull request #12234 from jefferyto/python3-3.8.3Rosen Penev2020-05-20
|\ | | | | python3: Update to 3.8.3, refresh patches
| * python3: Update to 3.8.3, refresh patchesJeffery To2020-05-20
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | python-more-itertools: update to version 8.3.0Jan Pavlinec2020-05-20
|/ | | | Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
* python3-openssl: Add dependency on ca-certsJeffery To2020-05-20
| | | | | | | | | 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>
* python3: Enable compile-time optimizationsJeffery To2020-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Merge pull request #12149 from ja-pa/python-atomicwrites-udateRosen Penev2020-05-14
|\ | | | | python-atomicwrites: update to version 1.4.0
| * python-atomicwrites: update to version 1.4.0Jan Pavlinec2020-05-12
| | | | | | | | Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
* | Merge pull request #12130 from jefferyto/python3-find-stdlib-dependsRosen Penev2020-05-14
|\ \ | | | | | | python3: Add script to help find standard library dependencies
| * | python3: Add script to help find standard library dependenciesJeffery To2020-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #12148 from ja-pa/python3-maxminddb-updateHannu Nyman2020-05-12
|\ \ \ | | | | | | | | python3-maxminddb: update to version 1.5.4
| * | | python3-maxminddb: update to version 1.5.4Jan Pavlinec2020-05-12
| | |/ | |/| | | | | | | Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
* | | django: bump to version 3.0.6Alexandru Ardelean2020-05-12
| |/ |/| | | | | | | | | | | Also add 'Peter Stadler <peter.stadler@student.uibk.ac.at>' as co-maintainer. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python-certifi: bump to 2020.4.5.1, update emailEneas U de Queiroz2020-05-08
|/ | | | | | Besides the version bump, maintainer e-mail address was updated. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* python-pytz: update version to 2020.1Peter Stadler2020-05-02
| | | | Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
* Merge pull request #12026 from jefferyto/python-dns-pypiJosef Schlehofer2020-05-01
|\ | | | | python-dns: Change download source, remove incorrect PKG_CPE_ID
| * python-dns: Change download source, remove incorrect PKG_CPE_IDJeffery To2020-05-01
| | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #12028 from jefferyto/python-schema-0.7.2Hannu Nyman2020-05-01
|\ \ | | | | | | python-schema: Update to 0.7.2, change download source to PyPI
| * | python-schema: Update to 0.7.2, change download source to PyPIJeffery To2020-05-01
| |/ | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | Merge pull request #12027 from jefferyto/python-decorator-4.4.2Hannu Nyman2020-05-01
|\ \ | | | | | | python-decorator: Update to 4.4.2, change download source to PyPI
| * | python-decorator: Update to 4.4.2, change download source to PyPIJeffery To2020-05-01
| |/ | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* / django-simple-captcha: Change download source to PyPIJeffery To2020-05-01
|/ | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-cryptography: Update to 2.9.2Jeffery To2020-04-29
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* django-appconf: bump to version 1.0.4Alexandru Ardelean2020-04-28
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* django-compressor: bump to version 2.4Alexandru Ardelean2020-04-28
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: Fix host build tool names recorded in target filesJeffery To2020-04-27
| | | | | | | | | | | | | | | | | | | | | | | 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>
* python-lxml: Use default Python package build recipeJeffery To2020-04-25
| | | | | | This also updates the package's metadata (title, description, license). Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python3-pip: Fix error when installing packages that require compilationJeffery To2020-04-24
| | | | | | This addresses one of the issues raised in #11912. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* Merge pull request #11931 from jefferyto/django1-remove-common-packageRosen Penev2020-04-22
|\ | | | | django1: Remove common package
| * django1: Remove common packageJeffery To2020-04-23
| | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #11934 from jefferyto/python-gnupg-0.4.6Rosen Penev2020-04-22
|\ \ | | | | | | python-gnupg: Update to 0.4.6
| * | python-gnupg: Update to 0.4.6Jeffery To2020-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | python-appdirs: Fix descriptionJeffery To2020-04-23
|/ / | | | | | | | | | | | | 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>
* | Merge pull request #11930 from jefferyto/vobject-remove-maintainerHannu Nyman2020-04-22
|\ \ | | | | | | vobject: Remove maintainer
| * | vobject: Remove maintainerJeffery To2020-04-23
| |/ | | | | | | | | | | | | 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>
* / python-zope-interface: Update to 5.1.0Jeffery To2020-04-23
|/ | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-packages: Clean up MakefilesJeffery To2020-04-22
| | | | | | | | | | | | | | | | | | | 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>
* Merge pull request #11872 from jefferyto/python3-makefile-cleanupHannu Nyman2020-04-20
|\ | | | | python3: Makefile cleanup
| * python3: Change PYTHON_VERSION references to PYTHON3_VERSIONJeffery To2020-04-19
| | | | | | | | | | | | | | | | | | | | | | | | 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>
| * python3: Use PYTHON3_PKG_BUILD to control default Python package buildJeffery To2020-04-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * python3: Remove MIPS16 changes from python3-package.mkJeffery To2020-04-19
| | | | | | | | | | | | | | 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>
| * python3: Minor edits for python3-package.mkJeffery To2020-04-19
| | | | | | | | | | | | | | | | * 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>
| * python3: Add canned recipe to invoke filespec processingJeffery To2020-04-19
| | | | | | | | | | | | | | | | | | | | | | | | 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>
| * python3: Move functionality into python3-package.mkJeffery To2020-04-19
| | | | | | | | | | | | | | | | 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>
| * python3: Reorder recipes in python3-package.mkJeffery To2020-04-19
| | | | | | | | | | | | | | | | | | 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>