summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-04-05 09:24:41 +0200
committerMichał Górny <mgorny@gentoo.org>2017-04-05 10:15:57 +0200
commit28f82e7cf599a04e4334ed05960b2d8866e0efef (patch)
tree066dc403372585e2f5c56b6bf883bc19cf97d1ba /dev-python/ncrypt/files/cinit.patch
parentx11-misc/cairo-dock: Remove (revdep of cairo-dock-plugins, to be rmed) (diff)
downloadsunrise-28f82e7cf599a04e4334ed05960b2d8866e0efef.tar.gz
sunrise-28f82e7cf599a04e4334ed05960b2d8866e0efef.tar.bz2
sunrise-28f82e7cf599a04e4334ed05960b2d8866e0efef.zip
Remove packages using old python eclasses
Diffstat (limited to 'dev-python/ncrypt/files/cinit.patch')
-rw-r--r--dev-python/ncrypt/files/cinit.patch120
1 files changed, 0 insertions, 120 deletions
diff --git a/dev-python/ncrypt/files/cinit.patch b/dev-python/ncrypt/files/cinit.patch
deleted file mode 100644
index 7ddc1fdbf..000000000
--- a/dev-python/ncrypt/files/cinit.patch
+++ /dev/null
@@ -1,120 +0,0 @@
-diff -Naur ncrypt-0.6.4.orig/ncrypt_bignum.pyx ncrypt-0.6.4/ncrypt_bignum.pyx
---- ncrypt-0.6.4.orig/ncrypt_bignum.pyx 2006-10-09 09:36:51.000000000 +0200
-+++ ncrypt-0.6.4/ncrypt_bignum.pyx 2010-07-29 16:10:06.000632053 +0200
-@@ -29,7 +29,7 @@
- cdef class BigNum :
- cdef BIGNUM *bn
-
-- def __new__( self, x=None ) :
-+ def __cinit__( self, x=None ) :
- self.bn = BN_new()
-
- cdef _free( self ) :
-diff -Naur ncrypt-0.6.4.orig/ncrypt_cipher.pyx ncrypt-0.6.4/ncrypt_cipher.pyx
---- ncrypt-0.6.4.orig/ncrypt_cipher.pyx 2006-10-09 09:36:51.000000000 +0200
-+++ ncrypt-0.6.4/ncrypt_cipher.pyx 2010-07-29 16:09:08.733881668 +0200
-@@ -43,7 +43,7 @@
- cdef EVP_CIPHER *c
- cdef object cipherAlgo, cipherMode
-
-- def __new__( self, cipherAlgo, cipherMode ) :
-+ def __cinit__( self, cipherAlgo, cipherMode ) :
- self.c = NULL
-
- def __dealloc__( self ) :
-@@ -84,7 +84,7 @@
- cdef EVP_CIPHER_CTX *ctx
- cdef int cipherFinalized
-
-- def __new__( self, cipherType, key, iv, encryptFlag ) :
-+ def __cinit__( self, cipherType, key, iv, encryptFlag ) :
- self.outBuffer = NULL
- self.outBufferSize = 0
- self.ctx = AllocCipherContext()
-diff -Naur ncrypt-0.6.4.orig/ncrypt_dh.pyx ncrypt-0.6.4/ncrypt_dh.pyx
---- ncrypt-0.6.4.orig/ncrypt_dh.pyx 2006-10-09 09:36:51.000000000 +0200
-+++ ncrypt-0.6.4/ncrypt_dh.pyx 2010-07-29 16:09:34.944631842 +0200
-@@ -50,7 +50,7 @@
- class DHError( ncrypt_err.BaseLibraryError ) : pass
-
- cdef class DH :
-- def __new__( self ) :
-+ def __cinit__( self ) :
- self.dh = DH_new()
-
- def __dealloc__( self ) :
-diff -Naur ncrypt-0.6.4.orig/ncrypt_digest.pyx ncrypt-0.6.4/ncrypt_digest.pyx
---- ncrypt-0.6.4.orig/ncrypt_digest.pyx 2006-10-09 09:36:51.000000000 +0200
-+++ ncrypt-0.6.4/ncrypt_digest.pyx 2010-07-29 16:08:22.175632123 +0200
-@@ -32,7 +32,7 @@
- ALGORITHMS = ('MD5','SHA1','SHA224','SHA256','SHA384','SHA512')
-
- cdef class DigestType :
-- def __new__( self, evpMd ) :
-+ def __cinit__( self, evpMd ) :
- self.m = NULL
-
- def __dealloc__( self ) :
-@@ -60,7 +60,7 @@
- cdef int digestFinalized
- cdef readonly object digestType
-
-- def __new__( self, digestType ) :
-+ def __cinit__( self, digestType ) :
- self.ctx = NULL
- self.digestFinalized = 0
-
-diff -Naur ncrypt-0.6.4.orig/ncrypt_rsa.pyx ncrypt-0.6.4/ncrypt_rsa.pyx
---- ncrypt-0.6.4.orig/ncrypt_rsa.pyx 2006-10-09 09:36:52.000000000 +0200
-+++ ncrypt-0.6.4/ncrypt_rsa.pyx 2010-07-29 16:09:23.573880691 +0200
-@@ -117,7 +117,7 @@
- PADDING_PKCS1_OAEP = 1
-
- cdef class RSAKey :
-- def __new__( self ) :
-+ def __cinit__( self ) :
- self.rsa = RSA_new()
-
- def __dealloc__( self ) :
-diff -Naur ncrypt-0.6.4.orig/ncrypt_ssl.pyx ncrypt-0.6.4/ncrypt_ssl.pyx
---- ncrypt-0.6.4.orig/ncrypt_ssl.pyx 2006-10-09 09:36:52.000000000 +0200
-+++ ncrypt-0.6.4/ncrypt_ssl.pyx 2010-07-29 16:09:54.873632053 +0200
-@@ -172,7 +172,7 @@
- cdef class SSLContext :
- cdef SSL_CTX *c
-
-- def __new__( self, sslMethod, sslMethodType=-1 ) :
-+ def __cinit__( self, sslMethod, sslMethodType=-1 ) :
- self.c = NULL
-
- def __dealloc__( self ) :
-@@ -245,7 +245,7 @@
- cdef object sslContext
- cdef readonly object sock
-
-- def __new__( self, sslContext, sock ) :
-+ def __cinit__( self, sslContext, sock ) :
- self.s = NULL
-
- def __dealloc__( self ) :
-diff -Naur ncrypt-0.6.4.orig/ncrypt_x509.pyx ncrypt-0.6.4/ncrypt_x509.pyx
---- ncrypt-0.6.4.orig/ncrypt_x509.pyx 2006-10-09 09:36:52.000000000 +0200
-+++ ncrypt-0.6.4/ncrypt_x509.pyx 2010-07-29 16:08:47.989640504 +0200
-@@ -128,7 +128,7 @@
- cdef class X509Name :
- cdef X509_NAME *xn
-
-- def __new__( self ) :
-+ def __cinit__( self ) :
- self.xn = NULL
-
- def __dealloc__( self ) :
-@@ -203,7 +203,7 @@
- raise X509Error, 'unable to find field name: %s' % fieldName
-
- cdef class X509Certificate :
-- def __new__( self, data=None ) :
-+ def __cinit__( self, data=None ) :
- self.x = NULL
-
- def __dealloc__( self ) :