/[gentoo-x86]/dev-python/certifi/certifi-0.0.6.ebuild
Gentoo

Contents of /dev-python/certifi/certifi-0.0.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Mon Jan 2 06:56:38 2012 UTC (2 years, 8 months ago) by floppym
Branch: MAIN
New package.

(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)

1 floppym 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
4    
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     }

  ViewVC Help
Powered by ViewVC 1.1.20