/[gentoo-x86]/dev-python/logilab-constraint/logilab-constraint-0.4.0.ebuild
Gentoo

Contents of /dev-python/logilab-constraint/logilab-constraint-0.4.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Feb 28 19:19:46 2009 UTC (11 years, 6 months ago) by patrick
Branch: MAIN
Initial import of logilab-constraint. Fixes #108712. Ebuild contributed by TGL <tom.gl@free.fr>
(Portage version: 2.2_rc23/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 inherit distutils
6
7 MY_P="${P#logilab-}"
8 DESCRIPTION="A finite domain constraints solver written in 100% pure Python"
9 HOMEPAGE="http://www.logilab.org/projects/constraint/"
10 SRC_URI="ftp://ftp.logilab.org/pub/constraint/${MY_P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~x86 ~amd64"
15 IUSE="doc"
16
17 DOCS="doc/CONTRIBUTORS"
18 PYTHON_MODNAME="logilab/constraint"
19
20 DEPEND=""
21 RDEPEND=">=dev-python/logilab-common-0.12.0"
22
23 #S="${WORKDIR}/${MY_P}"
24
25 src_install() {
26 distutils_src_install
27
28 # avoid conflict with dev-python/logilab-common:
29 rm -f "${D}"usr/$(get_libdir)/python*/site-packages/logilab/__init__.py
30
31 if use doc; then
32 dohtml doc/documentation.html
33 insinto /usr/share/doc/${PF}
34 doins -r examples
35 fi
36 }
37
38 pkg_postinst() {
39 distutils_pkg_postinst
40 if use x86 && ! has_version dev-python/psyco ; then
41 einfo ""
42 einfo "Although it is not required, you should consider installing"
43 einfo "\"dev-python/psyco\". It can speed up this module a lot."
44 einfo ""
45 fi
46 }

  ViewVC Help
Powered by ViewVC 1.1.20