blob: 06c99116bbab7b45fd4f15ef0e90c2c89a269a9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/ssl-fetch/ssl-fetch-0.1.ebuild,v 1.1 2014/03/02 05:42:49 dolsen Exp $
EAPI="5"
PYTHON_COMPAT=(python{2_7,3_2,3_3})
inherit distutils-r1 python-r1
DESCRIPTION="A small convinience library for fetching files securely"
HOMEPAGE="https://github.com/dol-sen/ssl-fetch"
SRC_URI="http://dev.gentoo.org/~dolsen/releases/ssl-fetch/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
KEYWORDS="~amd64 ~x86"
DEPEND=""
# requests dropped py-3.2 support in >=2.2.0
RDEPEND="${DEPEND}
>=dev-python/requests-1.2.1
python_targets_python3_2? ( <=dev-python/requests-2.1.0 )
python_targets_python2_7? (
dev-python/ndg-httpsclient[python_targets_python2_7]
dev-python/pyasn1[python_targets_python2_7]
>=dev-python/pyopenssl-0.13[python_targets_python2_7]
)
"
python_install_all() {
distutils-r1_python_install_all
}
pkg_postinst() {
einfo
einfo "This is beta software."
einfo "The APIs it installs should be considered unstable"
einfo "and are subject to change in these early versions."
einfo
einfo "Please file any enhancement requests, or bugs"
einfo "at https://github.com/dol-sen/ssl-fetch/issues"
einfo "I am also on IRC @ #gentoo-portage, #gentoo-keys,... of the freenode network"
einfo
}
|