Commit Graph

1779 Commits

Author SHA1 Message Date
Hannu Nyman 90bbf7f221
Merge pull request #8266 from BKPepe/urllib3
python-urllib3: add variant for Python3
2019-02-21 18:39:40 +02:00
Jeffery To f562ccf2ca multiple-python-packages: Update package data
This updates the Python 2 and 3 versions of each package to share the
same title field. (For packages that only had this change, their
PKG_RELEASE were not incremented.)

This also updates the package title, url and source urls, where
necessary.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-02-20 19:19:20 +08:00
Josef Schlehofer 6f02b3ae64
python-urllib3: add variant for Python3
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-02-20 09:50:58 +01:00
Luiz Angelo Daros de Luca 0265390c92 ruby: bump to 2.6.1
See: https://www.ruby-lang.org/en/news/2019/01/30/ruby-2-6-1-released/
See: https://www.ruby-lang.org/en/news/2018/12/25/ruby-2-6-0-released/

New packages mirroring upstream gemification of ruby:
* ruby-bundler (new)
* ruby-e2mmap and ruby-ostruct (from ruby-misc)
* ruby-forwardable (from ruby-patterns)
* ruby-matrix and ruby-prime (from removed ruby-math)
* ruby-mutex_m, ruby-sync and ruby-thwait (from ruby-multithread)
* ruby-tracer (from ruby-debuglib)

Added ruby-dev for building extension inside openwrt (requires cc)

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2019-02-20 02:09:55 -03:00
Jeffery To 8100d33b04 python-(automat|crypto|gmpy2|parsley): Use default compile
This updates these packages to use the default PyBuild/Compile, instead
of defining their own Build/Compile.

This also updates the Python 2 and 3 versions to use the same TITLE.

This also updates the source url and adds src packages for python-gmpy2.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-02-19 22:54:43 +08:00
Hannu Nyman d1d0fac7d8
Merge pull request #8251 from jefferyto/python3-twisted-install
python-twisted: Fix python3 install
2019-02-19 15:49:29 +02:00
Jeffery To 22e2d592e0 python-cffi: Update to 1.12.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-02-19 16:51:21 +08:00
Jeffery To 6e55df6ccb python-txsocks: Fix twisted dependency
This fixes the dependency on twisted, which was renamed to
python-twisted earlier.

This also changes the package to use the default PyBuild/Compile.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-02-19 15:29:21 +08:00
Jeffery To 4b16ae6a11 python-twisted: Fix python3 install
The install routine was written before the fix in #8241, and wasn't
sufficiently tested with that fix.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-02-19 14:36:36 +08:00
Hannu Nyman 9c82fc1136
Merge pull request #8240 from jefferyto/python-twisted
twisted: Rename package, fix errors
2019-02-18 18:34:19 +02:00
Jeffery To 200a5a2eec python,python3: Fix calling default PyPackage/install
This fixes Package/*/install to call PyPackage/*/install correctly.
Previously, if a package used the default PyPackage/*/install, then it
would not called. (A custom-defined PyPackage/*/install would be called
with no issue.)

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-02-18 16:33:26 +08:00
Jeffery To 247d162e2e twisted: Rename package, fix errors
This renames the Python 2 twisted package to python-twisted, and updates
dependents (i.e. obfsproxy) to reference the updated name.

This also fixes conflicts between the Python 2 and 3 packages. Twisted
installs some scripts to /usr/bin, and previously scripts for both
packages used the same names. This adds a "3" suffix to scripts
installed by python3-twisted.

This also adds python[3]-setuptools as a dependency, as the scripts
installed to /usr/bin depend on pkg_resources (part of setuptools).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-02-18 16:11:02 +08:00
Hannu Nyman 9d1319af53
Merge pull request #8181 from jefferyto/golang-packaging-updates
golang: packaging updates
2019-02-13 18:50:33 +02:00
Hannu Nyman 5524d12e86
Merge pull request #8197 from Cynerd/python3-twisted
twisted: add Python3 variant
2019-02-13 18:49:51 +02:00
Karel Kočí 045e76c8e9
twisted: add Python3 variant
Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-02-12 18:33:38 +01:00
Hannu Nyman 4eb0c6b2ab
Merge pull request #8196 from commodo/python-batch-updates
python,python3: batch updates
2019-02-12 19:32:41 +02:00
Alexandru Ardelean 382f1ec6e4 python-pyopenssl: bump to version 19.0.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-02-12 12:39:55 +02:00
Alexandru Ardelean e31f3b5a13 python-lxml: bump to version 4.3.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-02-12 12:39:55 +02:00
Alexandru Ardelean c2fe5fae42 python-cryptography: bump to version 2.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-02-12 12:39:54 +02:00
Alexandru Ardelean a06a7870f3 python-pyasn1-modules: bump to version 0.2.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-02-12 12:31:55 +02:00
Alexandru Ardelean c767598097 python,python3: fix CVE-2019-5010 - Denial of Service
This patch addresses issue:
  [ssl][CVE-2019-5010] TALOS-2018-0758 Denial of Service

Link to Python issue:
  https://bugs.python.org/issue35746

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-02-12 12:31:55 +02:00
Alexandru Ardelean ed862da936 python,python3: move shebang handle in install script
This extends the Python[3] shebang fixup to all packages.
Only Python scripts in `/usr/bin` will be handled at the moment. Later it
may make sense to also cover executables in `/bin`, though typically Python
executables shouldn't be placed there.

Previously the shebang handling was only done for python[3]-pip &
python[3]-setuptools.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-02-12 12:31:55 +02:00
Alexandru Ardelean 1bf7679211 python,python3: make deletion tolerant for paths with spaces
Piping to xargs does not handle spaces in paths too well, because it splits
up the paths.
For deleting empty dirs, we also need to do several retries, otherwise
`find` will try to go through the directories after they're deleted.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-02-12 12:31:54 +02:00
Luiz Angelo Daros de Luca f9b16dea51 ruby: fix build for uclibc
Backporting upstream fix. Closes #8051.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2019-02-12 01:48:52 -02:00
Jeffery To 6a8c72c7b0 golang: Ignore GOFLAGS, GO111MODULE environment variables
These were added in Go 1.11.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-02-11 20:33:45 +08:00
Jeffery To 7dc1f3e029 golang: Install go.mod/go.sum by default
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-02-11 20:33:45 +08:00
Jeffery To a80d54fc49 golang: Install files with .cpp/.hpp suffixes by default
This also updates the URL for dh-golang.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-02-11 20:33:44 +08:00
Jeffery To 081808ce69 golang: Fix handling of filenames with spaces
Closes #7127.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-02-11 20:33:44 +08:00
Michael Heimpold 1d4081dd4c php7: fix cross compiling patch (fixes #8166)
Fixes: e148924a4 ("php7: update to 7.2.15")
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-02-10 21:50:25 +01:00
Michael Heimpold e148924a4c php7: update to 7.2.15
Also refresh patch which does not apply cleanly anymore.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-02-09 13:35:58 +01:00
Michael Heimpold ebf284454a php7-pecl-http: give hint about zlib staging dir
Buildbots currently fail to find zlib souces, so try to give
this hint with configure parameters.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-02-04 22:30:49 +01:00
Alexandru Ardelean 14d0a9c58d python,python3: move .exe removal in `python-package-install.sh` script
It's a common operation for both Python & Python3, so move it to the
script `python-package-install.sh` script.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2019-02-04 16:38:12 +02:00
Jeffery To 6c0c3cefbf golang: Update to latest version
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-01-28 15:59:28 +08:00
Hannu Nyman 13e1f0fdf2
Merge pull request #7921 from daniel-santos/python-idna
python-idna: Add missing dependency on python(3)-codecs
2019-01-23 18:44:58 +02:00
Hannu Nyman c7315a6acd
Merge pull request #7838 from neheb/erl
erlang: Fix compilation without deprecated OpenSSL 1.0.2 APIs
2019-01-20 00:04:07 +02:00
Hannu Nyman f03fd0525a
Merge pull request #7953 from neheb/patch-5
pytz: Update to 2018.9
2019-01-20 00:01:14 +02:00
Hannu Nyman 52021e64b6
Merge pull request #7978 from cshoredaniel/pr-python-pkgconfig
python3: Add installation of pkconfig to InstallDev section.
2019-01-19 11:49:12 +02:00
Hannu Nyman 9d0e8f5aff
Merge pull request #7948 from cshoredaniel/pr-add-bcrypt
bcrypt: Add python secure password hashing library
2019-01-18 17:32:36 +02:00
Daniel F. Dickinson 682cdf3b9c python3: install pkgconfig to staging
Some programs that use the Python C API have difficulties finding
cross-compiled Python3 without the pkgconfig, so make sure we have
python3.pc and python-3.7.pc in pkgconfig staging dir.

CircleCI requires a package Makefile change to actually
do the CI check, so bump PKG_RELEASE.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2019-01-18 04:40:43 -05:00
Philip Prindeville 5e660327da
Merge pull request #7750 from guidosarducci/master-perl-config-mips64el
perl: add missing config for mips64el
2019-01-13 13:53:03 -07:00
Rosen Penev f6ceb85a25
pytz: Update to 2018.9
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-01-13 10:44:10 -08:00
Hannu Nyman 39cfa335d6
Merge pull request #7920 from daniel-santos/jamvm
jamvm: Clarify and clean up package description
2019-01-13 10:33:14 +02:00
Daniel F. Dickinson f0269b2ab7 bcrypt: Add python secure password hashing library
bcrypt is a secure password hashing mechanism and is
extremely useful for more secure Radicale authentication,
so add it.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2019-01-13 00:57:23 -05:00
Jeffery To 19c3f37f0f python: Fix lib2to3 fixes search
This is the patch from c98b12d9a9 (#7931),
applied for python 2.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-01-13 05:59:20 +08:00
Hannu Nyman cf327c3d89
Merge pull request #7900 from cshoredaniel/pr-add-vobject
vobject: Add python vCard/vCalendar Library
2019-01-12 19:03:11 +02:00
Hannu Nyman 179b06d76d
Merge pull request #7931 from kidome/master
python3: enable lib2to3 to also search .pyc files.
2019-01-12 18:28:34 +02:00
Daniel Santos a350edf1a9 python-idna: Add missing dependency on python(3)-codecs
This error is exposed when using python-minimal.

Signed-off-by: Daniel Santos <daniel.santos@pobox.com>
2019-01-12 00:53:04 -06:00
Michael Heimpold 963c841463 php7: update to 7.2.14
While at, add --with-pic to configure arguments. This prevents the following
build errors spotted by the build bots for i386 targets:

-snip-
...
ext/openssl/.libs/openssl.o: direct GOT relocation R_386_GOT32X against
`X509_REQ_free' without base register can not be used when making a shared object
...
-snap-

This parameter seems to make no difference on other targets, nor
improve or make worse the package size.

Run tested for i386 in VirtualBox VM and on Duckbill for mxs platform.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-01-11 23:51:47 +01:00
Hannu Nyman 7c740b4ca9
Merge pull request #7913 from commodo/python-readme
lang/python/README.md: add doc describing the lang/python subtree
2019-01-09 21:05:42 +02:00
Nj Hsiong c98b12d9a9 python3: enable lib2to3 to also search and fix .pyc files.
python3's lib2to3 would fail in silence if python3 and its packages are installed as compiled .pyc files. Root cause is, in Lib/lib2to3/refactor.py, the function get_all_fix_names only searches '.py' fix names.

Signed-off-by: Nj Hsiong <nj.hsiong@gmail.com>
2019-01-09 22:06:52 +08:00