Magellan Linux

Contents of /trunk/extras/m2crypto/m2crypto-0.27.0-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30190 - (show annotations) (download)
Thu Nov 2 15:47:05 2017 UTC (6 years, 7 months ago) by niro
File size: 674 byte(s)
-fixed split packages
1 # $Id$
2
3 PNAME="m2crypto"
4 PVER="0.27.0"
5 PBUILD="r2"
6
7 SPLIT_PACKAGES="python2-m2crypto m2crypto"
8
9 DEPEND=">= dev-libs/openssl-1.1"
10
11 SDEPEND=">= dev-lang/swig-3.0.8
12 >= dev-python/python2-setuptools-20"
13
14 PYPI_MODULE="M2Crypto"
15 # only python2 supported
16 PYPI_MULTIPLE_PYTHON_VERSIONS=0
17 sminclude pypi python2
18
19 split_info_python2-m2crypto()
20 {
21 DESCRIPTION="Python2 crypto and SSL toolkit."
22 DEPEND="${DEPEND}"
23 }
24
25 split_info_m2crypto()
26 {
27 PVER="9999"
28 PKGTYPE="virtual"
29
30 DESCRIPTION="Transitional package for python2-${PNAME}."
31 HOMEPAGE="http://www.magellan-linux.de/"
32
33 DEPEND=">= dev-python/python2-${PNAME}-1"
34 }
35
36 src_install_python2-m2crypto()
37 {
38 python2_src_install || die
39 }