|
Lines 2-15
Link Here
|
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/scrapy/scrapy-0.14.2.ebuild,v 1.1 2012/02/21 13:01:03 maksbotan Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/scrapy/scrapy-0.14.2.ebuild,v 1.1 2012/02/21 13:01:03 maksbotan Exp $ |
| 4 |
|
4 |
|
| 5 |
EAPI="3" |
5 |
EAPI="4" |
| 6 |
|
6 |
|
| 7 |
PYTHON_DEPEND="2:2.5" |
7 |
PYTHON_DEPEND="2:2.5" |
| 8 |
PYTHON_USE_WITH="sqlite" |
8 |
PYTHON_USE_WITH="sqlite" |
| 9 |
SUPPORT_PYTHON_ABIS="1" |
9 |
SUPPORT_PYTHON_ABIS="1 *-pypy-*" |
| 10 |
RESTRICT_PYTHON_ABIS="3.*" |
10 |
RESTRICT_PYTHON_ABIS="3.*" |
| 11 |
|
11 |
DISTUTILS_SRC_TEST="setup.py" |
| 12 |
inherit distutils python |
12 |
inherit distutils |
| 13 |
|
13 |
|
| 14 |
MY_PN="Scrapy" |
14 |
MY_PN="Scrapy" |
| 15 |
MY_P="${MY_PN}-${PV}" |
15 |
MY_P="${MY_PN}-${PV}" |
|
Lines 37-44
Link Here
|
| 37 |
dev-python/twisted-conch |
37 |
dev-python/twisted-conch |
| 38 |
dev-python/twisted-mail |
38 |
dev-python/twisted-mail |
| 39 |
dev-python/twisted-web |
39 |
dev-python/twisted-web |
| 40 |
dev-python/w3lib" |
40 |
dev-python/w3lib |
| 41 |
|
41 |
test? ( dev-python/lxml )" |
| 42 |
S="${WORKDIR}/${MY_P}" |
42 |
S="${WORKDIR}/${MY_P}" |
| 43 |
|
43 |
|
| 44 |
src_compile() { |
44 |
src_compile() { |
|
Lines 53-62
Link Here
|
| 53 |
src_install() { |
53 |
src_install() { |
| 54 |
distutils_src_install |
54 |
distutils_src_install |
| 55 |
if use doc; then |
55 |
if use doc; then |
| 56 |
dohtml -r "${S}"/docs/build/html/ || die "dohtml failed" |
56 |
dohtml -r "${S}"/docs/build/html/ |
| 57 |
fi |
57 |
fi |
| 58 |
if use examples; then |
58 |
if use examples; then |
| 59 |
insinto /usr/share/doc/"${PF}"/examples |
59 |
insinto /usr/share/doc/"${PF}"/examples |
| 60 |
doins -r "${S}"/examples/* || die "doins failed" |
60 |
doins -r "${S}"/examples/* |
| 61 |
fi |
61 |
fi |
| 62 |
} |
62 |
} |