sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Thomas Orgis (313168dc2b8047581e266de3e11c088723bdc2c6)
- From: Thomas Orgis <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Thomas Orgis (313168dc2b8047581e266de3e11c088723bdc2c6)
- Date: Wed, 6 Jul 2016 09:02:14 +0000
GIT changes to master grimoire by Thomas Orgis <sobukus AT sourcemage.org>:
python-pypi/python-cryptography/DETAILS | 4 ++--
python-pypi/python-cryptography/HISTORY | 4 ++++
python-pypi/python-cryptography/PRE_BUILD | 20 ++++++++++++++++++++
3 files changed, 26 insertions(+), 2 deletions(-)
New commits:
commit 313168dc2b8047581e266de3e11c088723bdc2c6
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>
python-cryptography: update to 1.2.2 and fix build with openssl-1.0.2
diff --git a/python-pypi/python-cryptography/DETAILS
b/python-pypi/python-cryptography/DETAILS
index ab8a95b..aca03df 100755
--- a/python-pypi/python-cryptography/DETAILS
+++ b/python-pypi/python-cryptography/DETAILS
@@ -1,10 +1,10 @@
SPELL=python-cryptography
SPELLX=cryptography
- VERSION=0.8.2
+ VERSION=1.2.2
SOURCE=$SPELLX-$VERSION.tar.gz
SOURCE_URL[0]=https://pypi.python.org/packages/source/c/$SPELLX/$SOURCE
SOURCE_HINTS="no-check-certificate"
-
SOURCE_HASH=sha512:8a76e325387284facdaa381c27fd8ca3c2e7e4c6dfe41bf6eccdfdc4004f8a5bd8a95f0ff6537dd012f5c7fcec5f86d96fe86a64ec15d63e4bf673d8461a8225
+
SOURCE_HASH=sha512:9c838e116b23bf22c5b01ecdd6f7fa0c4c92ce857516d500b983ae71bab002331cafcb404caa454362878ecbe4a818626c5f94636340bcad0518390671a36845
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELLX-$VERSION"
LICENSE[0]=BSD
LICENSE[1]=APACHE
diff --git a/python-pypi/python-cryptography/HISTORY
b/python-pypi/python-cryptography/HISTORY
index 492c2c7..8357926 100644
--- a/python-pypi/python-cryptography/HISTORY
+++ b/python-pypi/python-cryptography/HISTORY
@@ -1,3 +1,7 @@
+2016-07-06 Thomas Orgis <sobukus AT sourcemage.org>
+ * DETAILS: update to 1.2.2
+ * PRE_BUILD: fix for openssl 1.0.2
+
2016-07-01 Vlad Glagolev <stealth AT sourcemage.org>
* DEPENDS: added missing SSL dependency
diff --git a/python-pypi/python-cryptography/PRE_BUILD
b/python-pypi/python-cryptography/PRE_BUILD
new file mode 100755
index 0000000..71d5df0
--- /dev/null
+++ b/python-pypi/python-cryptography/PRE_BUILD
@@ -0,0 +1,20 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+if [[ openssl = $(get_spell_provider $SPELL SSL) ]]; then
+ # patch from
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe3faddb9bf793b16a104bc5f0d304f14e8cf057
+ patch -p1 <<'EOT'
+diff -ru cryptography-1.2.2/src/_cffi_src/openssl/bio.py
cryptography-1.2.2-fixed/src/_cffi_src/openssl/bio.py
+--- cryptography-1.2.2/src/_cffi_src/openssl/bio.py 2016-01-29
20:26:11.000000000 +0100
++++ cryptography-1.2.2-fixed/src/_cffi_src/openssl/bio.py 2016-03-01
20:32:25.172776288 +0100
+@@ -99,7 +99,7 @@
+ BIO *BIO_next(BIO *);
+ BIO *BIO_find_type(BIO *, int);
+ BIO_METHOD *BIO_s_mem(void);
+-BIO *BIO_new_mem_buf(void *, int);
++BIO *BIO_new_mem_buf(const void *, int);
+ BIO_METHOD *BIO_s_file(void);
+ BIO *BIO_new_file(const char *, const char *);
+ BIO *BIO_new_fp(FILE *, int);
+EOT
+fi
+
- [SM-Commit] GIT changes to master grimoire by Thomas Orgis (313168dc2b8047581e266de3e11c088723bdc2c6), Thomas Orgis, 07/06/2016
Archive powered by MHonArc 2.6.24.