Merge pull request #2725 from MilhouseVH/le90_Python2-2.7.15

Python2: update to Python2-2.7.15, bump Python-related packages
This commit is contained in:
Lukas Rusak 2018-06-14 12:17:48 -07:00 committed by GitHub
commit 83c436f616
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 65 additions and 136 deletions

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="python-libusb1"
PKG_VERSION="1.5.3"
PKG_SHA256="53dae5424dea79cc5ae35aa53f5dcb38941e4c1f7a991a44a6bd3e7a81432532"
PKG_VERSION="1.6.4"
PKG_SHA256="e4876dff281f948cdb57a44535627299c2333e6933fa06bfbc60c26cecd12fb1"
PKG_ARCH="any"
PKG_LICENSE="LGPL"
PKG_SITE="https://github.com/vpelletier/python-libusb1"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="RPi.GPIO"
PKG_VERSION="0.6.2"
PKG_SHA256="82acff0ef6bbe3cdf6f4dbdd73d96add5294bb94baf7f51c1d901861af3c2392"
PKG_VERSION="0.6.3"
PKG_SHA256="a5fc0eb5e401963b6c0a03650da6b42c4005f02d962b81241d96c98d0a578516"
PKG_ARCH="arm"
PKG_LICENSE="MIT"
PKG_SITE="http://sourceforge.net/p/raspberry-gpio-python/"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="gpiozero"
PKG_VERSION="1.2.0"
PKG_SHA256="7e6ad5ecd6ec8e908cc16dbb655c77cdf9f68551e954754f6d02fc926113584d"
PKG_VERSION="1.4.1"
PKG_SHA256="b4b074e56dea12c21b05e6feef792719a392a245f5e685bc56be3dc2546f8609"
PKG_ARCH="arm"
PKG_LICENSE="BSD"
PKG_SITE="https://github.com/RPi-Distro/python-gpiozero"

View File

@ -17,15 +17,14 @@
################################################################################
PKG_NAME="lan951x-led-ctl"
PKG_VERSION="0291b91"
PKG_SHA256="c0d957ed043a3b709ef06e7b9f9620f15fd7c07225422ef445b59c886b8696e4"
PKG_VERSION="1.0"
PKG_SHA256="27d607d3c5c7b142681dcd9fd0afecb7fcb052abfaffc330b28906f782e602f3"
PKG_ARCH="arm"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/dradermacher/lan951x-led-ctl"
PKG_URL="https://github.com/dradermacher/lan951x-led-ctl/archive/$PKG_VERSION.tar.gz"
PKG_SITE="https://mockmoon-cybernetics.ch/computer/raspberry-pi/lan951x-led-ctl/"
PKG_URL="https://mockmoon-cybernetics.ch/cgi/cgit/lan951x-led-ctl.git/snapshot/lan951x-led-ctl-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain libusb"
PKG_SECTION="rpi-tools"
PKG_SHORTDESC="Control LEDs connected to LAN9512/LAN9514 ethernet USB controllers"
PKG_LONGDESC="Control LEDs connected to LAN9512/LAN9514 ethernet USB controllers"
PKG_TOOLCHAIN="manual"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="picamera"
PKG_VERSION="1.10"
PKG_SHA256="f0dfc3a6983f63da2ff7cbefeedcacb8c98cc41ad651e55148e8f798940ca73d"
PKG_VERSION="1.13"
PKG_SHA256="890815aa01e4d855a6a95dd3ad0953b872a6b954982106407df0c5a31a163e50"
PKG_ARCH="arm"
PKG_LICENSE="BSD"
PKG_SITE="https://github.com/waveform80/picamera"

View File

@ -1,8 +1,19 @@
8.0.102
- move Adafruit modules to adafruit-libraries
105
- Update gpiozero to 1.4.1
- Update picamera to 1.13
- Update RPi.GPIO to 0.6.3
8.0.101
- add Adafruit python modules (LED_Backpack, GPIO, PureIO)
104
- Add lan951x-led-ctl to control LEDs connected to LAN9512/LAN9514
8.0.100
103
- Rebuild
102
- Move Adafruit modules to adafruit-libraries
101
- Add Adafruit python modules (LED_Backpack, GPIO, PureIO)
100
- Initial Release

View File

@ -17,11 +17,11 @@
################################################################################
PKG_NAME="rpi-tools"
PKG_VERSION=""
PKG_REV="104"
PKG_VERSION="1.0"
PKG_REV="105"
PKG_ARCH="arm"
PKG_LICENSE="GPL"
PKG_SITE=""
PKG_SITE="https://libreelec.tv"
PKG_URL=""
PKG_DEPENDS_TARGET="toolchain RPi.GPIO picamera gpiozero lan951x-led-ctl"
PKG_SECTION="virtual"
@ -32,7 +32,6 @@ PKG_DISCAIMER="Raspberry Pi is a trademark of the Raspberry Pi Foundation http:/
PKG_IS_ADDON="yes"
PKG_ADDON_NAME="Raspberry Pi Tools"
PKG_ADDON_TYPE="xbmc.python.module"
PKG_ADDON_PROVIDES=""
PKG_ADDON_PROJECTS="RPi"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="Python2"
PKG_VERSION="2.7.14"
PKG_SHA256="71ffb26e09e78650e424929b2b457b9c912ac216576e6bd9e7d204ed03296a66"
PKG_VERSION="2.7.15"
PKG_SHA256="22d9b1ac5b26135ad2b8c2901a9413537e08749a753356ee913c84dbd2df5574"
PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://www.python.org/"

View File

@ -62,8 +62,8 @@ Index: b/Makefile.pre.in
# Default target
all: @DEF_MAKE_ALL_RULE@
-build_all: $(BUILDPYTHON) oldsharedmods sharedmods gdbhooks
+build_all: $(BUILDPYTHON) oldsharedmods sharedmods gdbhooks python-config
-build_all: check-clean-src $(BUILDPYTHON) oldsharedmods sharedmods gdbhooks
+build_all: check-clean-src $(BUILDPYTHON) oldsharedmods sharedmods gdbhooks python-config
# Compile a binary with gcc profile guided optimization.
profile-opt:

View File

@ -22,7 +22,7 @@ PKG_SHA256="6940718dfc3eff4258203ad5021090933e5c04707d5ca8cc9e73c94a7894ea9f"
PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="http://pathlib.readthedocs.org"
PKG_URL="https://pypi.python.org/packages/source/p/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_URL="https://files.pythonhosted.org/packages/source/${PKG_NAME:0:1}/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_HOST="Python3:host"
PKG_SECTION="python/devel"
PKG_SHORTDESC="This module offers a set of classes featuring all the common operations on paths in an easy, object-oriented way"

View File

@ -17,12 +17,12 @@
################################################################################
PKG_NAME="pygobject"
PKG_VERSION="2.28.6"
PKG_SHA256="e4bfe017fa845940184c82a4d8949db3414cb29dfc84815fb763697dc85bdcee"
PKG_VERSION="2.28.7"
PKG_SHA256="bb9d25a3442ca7511385a7c01b057492095c263784ef31231ffe589d83a96a5a"
PKG_ARCH="any"
PKG_LICENSE="LGPL"
PKG_SITE="http://www.pygtk.org/"
PKG_URL="http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.28/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_URL="http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.28/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain Python2 glib libffi"
PKG_SECTION="python/devel"
PKG_SHORTDESC="pygobject: The Python bindings for GObject"

View File

@ -17,11 +17,11 @@
################################################################################
PKG_NAME="setuptools"
PKG_VERSION="32.1.2"
PKG_SHA256="7589316802e7716e5250cd0a188bb4b77ea9338aa275dc01500732ee25140c3b"
PKG_VERSION="39.2.0"
PKG_SHA256="ca8119dd5c2764a7d290518817de0b880d23d790913fcd797c02ad2aa39b8c41"
PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="https://pypi.python.org/pypi/setuptools"
PKG_SITE="https://pypi.org/project/setuptools"
PKG_URL="https://github.com/pypa/setuptools/archive/v$PKG_VERSION.tar.gz"
PKG_DEPENDS_HOST="Python2:host"
PKG_SECTION="python/devel"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="Pillow"
PKG_VERSION="3.2.0"
PKG_SHA256="64b0a057210c480aea99406c9391180cd866fc0fd8f0b53367e3af21b195784a"
PKG_VERSION="5.1.0"
PKG_SHA256="cee9bc75bff455d317b6947081df0824a8f118de2786dc3d74a3503fd631f4ef"
PKG_ARCH="any"
PKG_LICENSE="BSD"
PKG_SITE="http://www.pythonware.com/products/pil/"

View File

@ -1,93 +1,13 @@
diff -Naur Pillow-3.1.0/setup.py Pillow-3.1.0.patch/setup.py
--- Pillow-3.1.0/setup.py 2016-01-04 11:07:30.000000000 +0100
+++ Pillow-3.1.0.patch/setup.py 2016-01-11 02:05:31.504822915 +0100
@@ -236,65 +236,10 @@
_add_directory(include_dirs, "/usr/X11/include")
diff --git a/setup.py b/setup.py
index 4a0ad86c5..c07e1a938 100755
--- a/setup.py
+++ b/setup.py
@@ -194,7 +194,7 @@ class pil_build_ext(build_ext):
]
elif sys.platform.startswith("linux"):
- arch_tp = (plat.processor(), plat.architecture()[0])
- if arch_tp == ("x86_64", "32bit"):
- # 32-bit build on 64-bit machine.
- _add_directory(library_dirs, "/usr/lib/i386-linux-gnu")
- else:
- for platform_ in arch_tp:
-
- if not platform_:
- continue
-
- if platform_ in ["x86_64", "64bit"]:
- _add_directory(library_dirs, "/lib64")
- _add_directory(library_dirs, "/usr/lib64")
- _add_directory(library_dirs,
- "/usr/lib/x86_64-linux-gnu")
- break
- elif platform_ in ["i386", "i686", "32bit"]:
- _add_directory(library_dirs, "/usr/lib/i386-linux-gnu")
- break
- elif platform_ in ["aarch64"]:
- _add_directory(library_dirs, "/usr/lib64")
- _add_directory(library_dirs,
- "/usr/lib/aarch64-linux-gnu")
- break
- elif platform_ in ["arm", "armv7l"]:
- _add_directory(library_dirs,
- "/usr/lib/arm-linux-gnueabi")
- break
- elif platform_ in ["ppc64"]:
- _add_directory(library_dirs, "/usr/lib64")
- _add_directory(library_dirs,
- "/usr/lib/ppc64-linux-gnu")
- _add_directory(library_dirs,
- "/usr/lib/powerpc64-linux-gnu")
- break
- elif platform_ in ["ppc"]:
- _add_directory(library_dirs, "/usr/lib/ppc-linux-gnu")
- _add_directory(library_dirs,
- "/usr/lib/powerpc-linux-gnu")
- break
- elif platform_ in ["s390x"]:
- _add_directory(library_dirs, "/usr/lib64")
- _add_directory(library_dirs,
- "/usr/lib/s390x-linux-gnu")
- break
- elif platform_ in ["s390"]:
- _add_directory(library_dirs, "/usr/lib/s390-linux-gnu")
- break
- else:
- raise ValueError(
- "Unable to identify Linux platform: `%s`" % platform_)
-
- # XXX Kludge. Above /\ we brute force support multiarch. Here we
- # try Barry's more general approach. Afterward, something should
- # work ;-)
- self.add_multiarch_paths()
+ pass
elif sys.platform.startswith("gnu"):
- self.add_multiarch_paths()
+ pass
elif sys.platform.startswith("freebsd"):
_add_directory(library_dirs, "/usr/local/lib")
@@ -345,21 +289,6 @@
else:
TCL_ROOT = None
- # add standard directories
-
- # look for tcl specific subdirectory (e.g debian)
- if _tkinter:
- tcl_dir = "/usr/include/tcl" + TCL_VERSION
- if os.path.isfile(os.path.join(tcl_dir, "tk.h")):
- _add_directory(include_dirs, tcl_dir)
-
- # standard locations
- _add_directory(library_dirs, "/usr/local/lib")
- _add_directory(include_dirs, "/usr/local/include")
-
- _add_directory(library_dirs, "/usr/lib")
- _add_directory(include_dirs, "/usr/include")
-
# on Windows, look for the OpenJPEG libraries in the location that
# the official installer puts them
if sys.platform == "win32":
def initialize_options(self):
- self.disable_platform_guessing = None
+ self.disable_platform_guessing = True
build_ext.initialize_options(self)
for x in self.feature:
setattr(self, 'disable_%s' % x, None)

View File

@ -17,11 +17,11 @@
################################################################################
PKG_NAME="pycryptodome"
PKG_VERSION="3.4.5"
PKG_SHA256="be84544eadc2bb71d4ace39e4984ed2990111f053f24267a07afb4b4e1e5428f"
PKG_VERSION="3.6.1"
PKG_SHA256="15013007e393d0cc0e69f4329a47c4c8597b7f3d02c12c03f805405542f70c71"
PKG_ARCH="any"
PKG_LICENSE="BSD"
PKG_SITE="https://pypi.python.org/pypi/pycryptodome"
PKG_SITE="https://pypi.org/project/pycryptodome"
PKG_URL="https://files.pythonhosted.org/packages/source/${PKG_NAME:0:1}/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
PKG_SECTION="python/security"

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="dbus-python"
PKG_VERSION="1.2.4"
PKG_SHA256="e2f1d6871f74fba23652e51d10873e54f71adab0525833c19bad9e99b1b2f9cc"
PKG_VERSION="1.2.8"
PKG_SHA256="abf12bbb765e300bf8e2a1b2f32f85949eab06998dbda127952c31cb63957b6f"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://freedesktop.org/wiki/Software/dbus"

View File

@ -17,11 +17,11 @@
################################################################################
PKG_NAME="simplejson"
PKG_VERSION="3.10.0"
PKG_SHA256="953be622e88323c6f43fad61ffd05bebe73b9fd9863a46d68b052d2aa7d71ce2"
PKG_VERSION="3.15.0"
PKG_SHA256="ad332f65d9551ceffc132d0a683f4ffd12e4bc7538681100190d577ced3473fb"
PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://pypi.python.org/pypi/simplejson"
PKG_SITE="http://pypi.org/project/simplejson"
PKG_URL="https://files.pythonhosted.org/packages/source/${PKG_NAME:0:1}/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python2 distutilscross:host"
PKG_SECTION="python/system"