Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Apr 2017 11:45:13 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r439164 - in head/security/py-gpsoauth: . files
Message-ID:  <201704221145.v3MBjD7e059791@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Sat Apr 22 11:45:12 2017
New Revision: 439164
URL: https://svnweb.freebsd.org/changeset/ports/439164

Log:
  Update to upstream version 0.4.1; use security/py-pycryptodome

Added:
  head/security/py-gpsoauth/files/
  head/security/py-gpsoauth/files/patch-gpsoauth_google.py   (contents, props changed)
Modified:
  head/security/py-gpsoauth/Makefile
  head/security/py-gpsoauth/distinfo

Modified: head/security/py-gpsoauth/Makefile
==============================================================================
--- head/security/py-gpsoauth/Makefile	Sat Apr 22 11:24:46 2017	(r439163)
+++ head/security/py-gpsoauth/Makefile	Sat Apr 22 11:45:12 2017	(r439164)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	gpsoauth
-PORTVERSION=	0.1.0
+PORTVERSION=	0.4.1
 CATEGORIES=	security python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -12,9 +12,9 @@ COMMENT=	Python client library for Googl
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pycrypto>=2.6.1:security/py-pycrypto \
-		${PYTHON_PKGNAMEPREFIX}requests>=2.7.0:www/py-requests \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=2.9.1:www/py-requests \
 		${PYTHON_PKGNAMEPREFIX}ndg_httpsclient>0:net/py-ndg_httpsclient \
+		${PYTHON_PKGNAMEPREFIX}pycryptodome>=3.4:security/py-pycryptodome \
 		${PYTHON_PKGNAMEPREFIX}openssl>0:security/py-openssl \
 		${PYTHON_PKGNAMEPREFIX}pyasn1>0:devel/py-pyasn1
 

Modified: head/security/py-gpsoauth/distinfo
==============================================================================
--- head/security/py-gpsoauth/distinfo	Sat Apr 22 11:24:46 2017	(r439163)
+++ head/security/py-gpsoauth/distinfo	Sat Apr 22 11:45:12 2017	(r439164)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1464783417
-SHA256 (simon-weber-gpsoauth-0.1.0_GH0.tar.gz) = 3dd9470f6b2985f71e3bff1bd7640d6e599bfc5a773fc0c493a266dd2b83cb65
-SIZE (simon-weber-gpsoauth-0.1.0_GH0.tar.gz) = 5082
+TIMESTAMP = 1492856940
+SHA256 (simon-weber-gpsoauth-0.4.1_GH0.tar.gz) = 062b5660b1cf723cca1381f311153b94ce36088ce19014665fdbbb6374377f13
+SIZE (simon-weber-gpsoauth-0.4.1_GH0.tar.gz) = 4962

Added: head/security/py-gpsoauth/files/patch-gpsoauth_google.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-gpsoauth/files/patch-gpsoauth_google.py	Sat Apr 22 11:45:12 2017	(r439164)
@@ -0,0 +1,13 @@
+--- gpsoauth/google.py.orig	2017-02-18 18:11:10 UTC
++++ gpsoauth/google.py
+@@ -1,8 +1,8 @@
+ import base64
+ import hashlib
+ 
+-from Cryptodome.PublicKey import RSA
+-from Cryptodome.Cipher import PKCS1_OAEP
++from Crypto.PublicKey import RSA
++from Crypto.Cipher import PKCS1_OAEP
+ 
+ from .util import bytes_to_long, long_to_bytes
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704221145.v3MBjD7e059791>