1 |
floppym |
1.1 |
# Copyright 1999-2012 Gentoo Foundation |
2 |
|
|
# Distributed under the terms of the GNU General Public License v2 |
3 |
floppym |
1.2 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/certifi/certifi-0.0.6.ebuild,v 1.1 2012/01/02 06:56:38 floppym Exp $ |
4 |
floppym |
1.1 |
|
5 |
|
|
EAPI="4" |
6 |
|
|
PYTHON_DEPEND="2" |
7 |
|
|
SUPPORT_PYTHON_ABIS="1" |
8 |
|
|
RESTRICT_PYTHON_ABIS="3.*" |
9 |
|
|
|
10 |
|
|
inherit distutils |
11 |
|
|
|
12 |
|
|
DESCRIPTION="SSL root certificate bundle" |
13 |
|
|
HOMEPAGE="http://python-requests.org/" |
14 |
|
|
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
15 |
|
|
|
16 |
|
|
LICENSE="ISC" |
17 |
|
|
SLOT="0" |
18 |
|
|
KEYWORDS="~amd64 ~x86" |
19 |
|
|
IUSE="" |
20 |
|
|
|
21 |
|
|
RDEPEND="app-misc/ca-certificates" |
22 |
|
|
|
23 |
|
|
src_install() { |
24 |
|
|
distutils_src_install |
25 |
|
|
installing() { |
26 |
|
|
# Overwrite bundled certificates with a symlink. |
27 |
|
|
dosym "${EPREFIX}/etc/ssl/certs/ca-certificates.crt" \ |
28 |
|
|
"$(python_get_sitedir -b)/certifi/cacert.pem" |
29 |
|
|
} |
30 |
|
|
python_execute_function installing |
31 |
|
|
} |