/[gentoo-x86]/app-admin/webapp-config/webapp-config-1.50.19-r1.ebuild
Gentoo

Contents of /app-admin/webapp-config/webapp-config-1.50.19-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Jul 5 00:22:39 2013 UTC (9 months, 2 weeks ago) by blueness
Branch: MAIN
Propagete python_targets dependencies to sys-apps/portage, bug #474968

(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-admin/webapp-config/webapp-config-1.50.19.ebuild,v 1.4 2012/06/28 23:28:24 blueness Exp $
4
5 EAPI="5"
6
7 PYTHON_COMPAT=( python{2_6,2_7} pypy{1_9,2_0} )
8
9 inherit distutils-r1
10
11 DESCRIPTION="Gentoo's installer for web-based applications"
12 HOMEPAGE="http://sourceforge.net/projects/webapp-config/"
13 SRC_URI="http://dev.gentoo.org/~blueness/${PN}/${P}.tar.bz2"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
18 IUSE="+portage"
19
20 DEPEND="app-text/xmlto"
21 RDEPEND="portage? ( sys-apps/portage[${PYTHON_USEDEP}] )"
22
23 python_compile_all() {
24 #parallel build fixed in next release
25 emake -j1 -C doc/
26 }
27
28 python_install() {
29 # According to this discussion:
30 # http://mail.python.org/pipermail/distutils-sig/2004-February/003713.html
31 # distutils does not provide for specifying two different script install
32 # locations. Since we only install one script here the following should
33 # be ok
34 distutils-r1_python_install --install-scripts="/usr/sbin"
35 }
36
37 python_install_all() {
38 insinto /etc/vhosts
39 doins config/webapp-config
40
41 keepdir /usr/share/webapps
42 keepdir /var/db/webapps
43
44 dodoc AUTHORS TODO
45 doman doc/*.[58]
46 dohtml doc/*.[58].html
47 }
48
49 python_test() {
50 PYTHONPATH="." "${PYTHON}" WebappConfig/tests/dtest.py \
51 || die "Testing failed with ${EPYTHON}"
52 }
53
54 pkg_postinst() {
55 elog "Now that you have upgraded webapp-config, you **must** update your"
56 elog "config files in /etc/vhosts/webapp-config before you emerge any"
57 elog "packages that use webapp-config."
58 }

  ViewVC Help
Powered by ViewVC 1.1.20