Magellan Linux

Annotation of /branches/R11-unstable/extras/m2crypto/m2crypto-0.27.0-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32577 - (hide annotations) (download)
Mon Apr 29 13:11:44 2019 UTC (5 years ago) by niro
File size: 790 byte(s)
-release branches/R11-unstable
1 niro 30193 # $Id$
2    
3     PNAME="m2crypto"
4     PVER="0.27.0"
5     PBUILD="r4"
6    
7     SPLIT_PACKAGES="python2-m2crypto m2crypto"
8    
9     DEPEND=">= dev-libs/openssl-1.1"
10     # only required for python2
11     PYTHON2_DEPEND=">= dev-python/python2-typing-3"
12    
13     SDEPEND=">= dev-lang/swig-3.0.8
14     >= dev-python/python2-setuptools-20"
15    
16     PYPI_MODULE="M2Crypto"
17     # only python2 supported
18     PYPI_MULTIPLE_PYTHON_VERSIONS=0
19     sminclude pypi python2
20    
21     split_info_python2-m2crypto()
22     {
23     DESCRIPTION="Python2 crypto and SSL toolkit."
24     DEPEND="${PYTHON2_DEPEND}
25     ${DEPEND}"
26     }
27    
28     split_info_m2crypto()
29     {
30     PVER="9999"
31     PKGTYPE="virtual"
32    
33     DESCRIPTION="Transitional package for python2-${PNAME}."
34     HOMEPAGE="http://www.magellan-linux.de/"
35    
36     DEPEND="${PYTHON2_DEPEND}
37     >= dev-python/python2-${PNAME}-1"
38     }
39    
40     src_install_python2-m2crypto()
41     {
42     python2_src_install || die
43     }