equal
deleted
inserted
replaced
1 EAPI="3" |
|
2 PYTHON_DEPEND="2:2.5" |
|
3 SUPPORT_PYTHON_ABIS="1" |
|
4 RESTRICT_PYTHON_ABIS="2.4 3.*" |
|
5 |
|
6 inherit distutils |
|
7 |
|
8 MY_PN="Flask-Login" |
|
9 MY_P="${MY_PN}-${PV}" |
|
10 |
|
11 DESCRIPTION="User session management for Flask" |
|
12 HOMEPAGE="http://pypi.python.org/pypi/Flask-Login" |
|
13 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
|
14 |
|
15 LICENSE="MIT" |
|
16 SLOT="0" |
|
17 KEYWORDS="~amd64 ~x86" |
|
18 # IUSE="doc examples" |
|
19 |
|
20 RDEPEND=">=dev-python/flask-0.9" |
|
21 DEPEND="${RDEPEND} |
|
22 dev-python/setuptools" |
|
23 |
|
24 S="${WORKDIR}/${MY_P}" |
|
25 |
|
26 PYTHON_MODNAME="flask_login.py" |
|
27 |
|
28 src_compile() { |
|
29 distutils_src_compile |
|
30 |
|
31 # no docs directory for now |
|
32 # if use doc; then |
|
33 # einfo "Generation of documentation" |
|
34 # cd docs |
|
35 # PYTHONPATH=".." emake html || die "Generation of documentation failed" |
|
36 # fi |
|
37 } |
|
38 |
|
39 src_install() { |
|
40 distutils_src_install |
|
41 |
|
42 # no docs directory for now |
|
43 # if use doc; then |
|
44 # dohtml -r docs/_build/html/* || die "Installation of documentation failed" |
|
45 # fi |
|
46 |
|
47 # if use examples; then |
|
48 # insinto /usr/share/doc/${PF} |
|
49 # doins -r example || die "Installation of examples failed" |
|
50 # fi |
|
51 } |
|