-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* python wheels using rustc: First attempt * spk.mk: Revert uneeded imported changes * python310: Temporary disabling pure python wheels * rust: Use CARGO_TARGET* variables instead of RUSTFLAGS * rustc: Use target add as documented for isntall additional targets * Dockerfile: Migrate to Debian-11 Bullseye * python310: Fix cffi build issue in crossenv * tc.mk: Move cargo & rustup under /opt * native/python310: Link to ffi + ssl and install setuptools-rust * Update mk/spksrc.tc.mk * cross-rust-env.mk: Remvoe commented environment variables * python310: Update setuptools-rust to v1.5.2 * python310: Enable latest cryptography in crossenv * common.mk: Add cargo to default PATH * tc.mk: Add SYSROOT environment variable for creation of crossenv * wheel-env.mk: Bump default api to python 3.6 * python310: Enable cryptography + bcrypt rust builds * common.mk: Use export as ENV may double-set PATH and break * cross/cryptography: Update to version 38.0.1 and build py36-abi3 * python-wheel.mk: Allow passing WHEELS_BUILD_ARGS for abi limited * spk.mk: Fix wheelclean target/**/wheelhouse cleanup * python310: Test-bed all wheels * cryptography: Add a legacy version for python2 & python38 * duply: Build fix & upgrade from v2.3.1 to v2.4.1 * duplicity: Build fix & update to v0.8.23 from pypi * cryptography: Missing PYO3_CROSS exports * python310: Add --ar flag part of the crossenv build * python310: Add env variables for cross-compiling cryptography Initial idea was to isolate cryptography. Alghough it get's added as dependency and therefore uses the latest version available which in turns doesn't have proper env variable set for cross-compiling. * python310: Multiple adjustments cryptography, numpy, pycryptodome - Temporary disabling cross/cryptography as failing on x86_64 - Moving numpy under spk.mk include for verion_lt to be followed - new version of pycryptodome(x) requires -std99|11 at build time - disabling libtorrent as tested & functional and long to build * python-wheel.mk: Fix building when host=target in crossenv * python310: Re-enable cross/cryptography to use x64 build fix * python310: Add comments for numpy & pycryptodome(x) * python310: Fix += for various variables due to many wheels * python310: psutil 5.9.1 is last known to build on armv5/ppc * python310: Testing all wheels done, disabling except cryptography * python310: Update from v3.10.6 to v3.10.7 * native/cmake: Update to latest stable * native/cmake-legacy: Provide a Debian 10 "Buster" version of cmake * cmake.mk: Add CMAKE_LEGACY and fix exported PATH * mysql-connector-c: Make usage of USE_NATIVE_CMAKE_LEGACY This piece of code is so unmaintained that it requires an old legacy version of cmake to run. Latest changes allow using Debian 10 "Buster" of cmake and thus makes it build again. * cmake.mk: For CMAKE_PATH to work from spk need to use $(WORK_DIR) * python310: Enable mysqlclient wheel build using latest changes * python310: Disable all optional wheels in perapration for release * python310: Update from version 3.10.7 to 3.10.8 * duplicity: Update from version 0.8.12 to 1.0.1 * bcrypt >= 4.0 also requires PYO3_CROSS* variables * duplicity: psutil==5.9.1 is last know working version on armv5/ppc * cross-cmake-env.mk: Fix typo and use $(WORK_DIR) for nasm def. * cross-cmake-env.mk: Forgot to re-export nasm using ENV variable
- Loading branch information
Showing
37 changed files
with
486 additions
and
341 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
PKG_NAME = cryptography | ||
PKG_VERS = 3.3.2 | ||
PKG_EXT = tar.gz | ||
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT) | ||
PKG_DIST_SITE = https://files.pythonhosted.org/packages/source/c/$(PKG_NAME) | ||
PKG_DIR = $(PKG_NAME)-$(PKG_VERS) | ||
|
||
DEPENDS = cross/openssl cross/cffi | ||
|
||
HOMEPAGE = https://github.com/pyca/cryptography | ||
COMMENT = Provide cryptographic recipes and primitives to Python developers | ||
LICENSE = BSD/ASL2 | ||
|
||
include ../../mk/spksrc.python-module.mk |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
cryptography-3.3.2.tar.gz SHA1 eb8be696115458f9368432525e9cae11d0f6bebf | ||
cryptography-3.3.2.tar.gz SHA256 5a60d3780149e13b7a6ff7ad6526b38846354d11a15e21068e57073e29e19bed | ||
cryptography-3.3.2.tar.gz MD5 e2ce2ec8a63965fad351f36ed70fde4b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
cryptography-3.3.2.tar.gz SHA1 eb8be696115458f9368432525e9cae11d0f6bebf | ||
cryptography-3.3.2.tar.gz SHA256 5a60d3780149e13b7a6ff7ad6526b38846354d11a15e21068e57073e29e19bed | ||
cryptography-3.3.2.tar.gz MD5 e2ce2ec8a63965fad351f36ed70fde4b | ||
cryptography-38.0.1.tar.gz SHA1 1c8066340a44fc9aea9f96566c850e95f42930da | ||
cryptography-38.0.1.tar.gz SHA256 1db3d807a14931fa317f96435695d9ec386be7b84b618cc61cfa5d08b0ae33d7 | ||
cryptography-38.0.1.tar.gz MD5 c47299bca4309cdda29626b0046d9229 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
duply_2.3.1.tgz SHA1 fde26ede5b649457c8d12aed9423459d927a0a95 | ||
duply_2.3.1.tgz SHA256 f044f9d4b81891785212f856ace2064e8a08da19330587d580a5c233575a3091 | ||
duply_2.3.1.tgz MD5 6a1ed24829331d8cc064c94b8f6072d2 | ||
duply_2.4.1.tgz SHA1 98790dafb92f8441045ce430f4ad9ed80bd895f6 | ||
duply_2.4.1.tgz SHA256 03fd28b06206505edf0e0820d098208708842999f21b1d132461e34e2c0b6973 | ||
duply_2.4.1.tgz MD5 7d579e5a922c21b59e059a2dd4d2383b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
# Adjust path of bash and python | ||
--- duply.org 2020-02-24 11:53:51.000000000 +0000 | ||
+++ duply 2020-04-28 23:39:36.695912643 +0000 | ||
@@ -531,7 +531,7 @@ | ||
DEFAULT_GPG='gpg' | ||
DEFAULT_GPG_KEY='_KEY_ID_' | ||
DEFAULT_GPG_PW='_GPG_PASSWORD_' | ||
-DEFAULT_PYTHON='python2' | ||
+DEFAULT_PYTHON='/var/packages/duplicity/target/env/bin/python' | ||
--- ../duply_2.4.1-orig/duply 2022-09-09 12:46:13.000000000 +0000 | ||
+++ duply 2022-10-06 11:19:53.344470242 +0000 | ||
@@ -951,7 +951,7 @@ SOURCE='${DEFAULT_SOURCE}' | ||
|
||
# function definitions ########################## | ||
# override the python interpreter to execute duplicity, unset by default | ||
# e.g. "python3" or "/usr/bin/python3.8" | ||
-#PYTHON="python" | ||
+PYTHON="/var/packages/duplicity/target/env/bin/python" | ||
|
||
# exclude folders containing exclusion file (since duplicity 0.5.14) | ||
# Uncomment the following two lines to enable this setting. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Python-3.10.6.tar.xz SHA1 b5a3c74b281ab2e8e56779bbb9aeead1d92fed02 | ||
Python-3.10.6.tar.xz SHA256 f795ff87d11d4b0c7c33bc8851b0c28648d8a4583aa2100a98c22b4326b6d3f3 | ||
Python-3.10.6.tar.xz MD5 afc7e14f7118d10d1ba95ae8e2134bf0 | ||
Python-3.10.8.tar.xz SHA1 49ca7a5be7f13375e863442fbd9ead893ace3238 | ||
Python-3.10.8.tar.xz SHA256 6a30ecde59c47048013eb5a658c9b5dec277203d2793667f578df7671f7f03f3 | ||
Python-3.10.8.tar.xz MD5 e92356b012ed4d0e09675131d39b1bde |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Configuration for rust compiler | ||
# | ||
|
||
RUST_TOOLCHAIN ?= stable | ||
|
||
RUST_TARGET = | ||
# map archs to rust targets | ||
ifeq ($(findstring $(ARCH), $(x64_ARCHS)),$(ARCH)) | ||
RUST_TARGET = x86_64-unknown-linux-gnu | ||
endif | ||
ifeq ($(findstring $(ARCH), $(i686_ARCHS)),$(ARCH)) | ||
RUST_TARGET = i686-unknown-linux-gnu | ||
endif | ||
ifeq ($(findstring $(ARCH), $(ARMv5_ARCHS)),$(ARCH)) | ||
# may be not supported for cargo | ||
RUST_TARGET = armv5te-unknown-linux-gnueabi | ||
endif | ||
ifeq ($(findstring $(ARCH), $(ARMv7_ARCHS)),$(ARCH)) | ||
RUST_TARGET = armv7-unknown-linux-gnueabihf | ||
endif | ||
ifeq ($(findstring $(ARCH), $(ARMv7L_ARCHS)),$(ARCH)) | ||
RUST_TARGET = armv7-unknown-linux-gnueabi | ||
endif | ||
ifeq ($(findstring $(ARCH), $(ARMv8_ARCHS)),$(ARCH)) | ||
RUST_TARGET = aarch64-unknown-linux-gnu | ||
endif | ||
ifeq ($(findstring $(ARCH), $(PPC_ARCHS)),$(ARCH)) | ||
RUST_TARGET = powerpc-unknown-linux-gnu | ||
endif | ||
ifeq ($(RUST_TARGET),) | ||
$(error Arch $(ARCH) not supported) | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.