Contents of /trunk/extras/m2crypto/m2crypto-0.27.0-r3.smage2
Parent Directory | Revision Log
Revision 30192 -
(show annotations)
(download)
Thu Nov 2 16:01:56 2017 UTC (6 years, 7 months ago) by niro
File size: 770 byte(s)
Thu Nov 2 16:01:56 2017 UTC (6 years, 7 months ago) by niro
File size: 770 byte(s)
auto added: ver bump to 0.27.0-r3
1 | # $Id$ |
2 | |
3 | PNAME="m2crypto" |
4 | PVER="0.27.0" |
5 | PBUILD="r3" |
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="${DEPEND}" |
25 | } |
26 | |
27 | split_info_m2crypto() |
28 | { |
29 | PVER="9999" |
30 | PKGTYPE="virtual" |
31 | |
32 | DESCRIPTION="Transitional package for python2-${PNAME}." |
33 | HOMEPAGE="http://www.magellan-linux.de/" |
34 | |
35 | DEPEND="${PYTHON2_DEPEND} |
36 | >= dev-python/python2-${PNAME}-1" |
37 | } |
38 | |
39 | src_install_python2-m2crypto() |
40 | { |
41 | python2_src_install || die |
42 | } |