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

Contents of /app-admin/webapp-config/webapp-config-1.52.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Nov 1 00:36:25 2013 UTC (10 months ago) by twitch153
Branch: MAIN
Version bump, webapp-config 1.52

(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key )

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-9999.ebuild,v 1.6 2013/09/05 18:15:49 mgorny Exp $
4
5 EAPI="5"
6
7 PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
8
9 inherit distutils-r1
10
11 SRC_URI="http://dev.gentoo.org/~twitch153/${PN}/${P}.tar.bz2"
12 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
13
14 DESCRIPTION="Gentoo's installer for web-based applications"
15 HOMEPAGE="http://sourceforge.net/projects/webapp-config/"
16
17 LICENSE="GPL-2"
18 SLOT="0"
19 IUSE="+portage"
20
21 DEPEND="app-text/xmlto"
22 RDEPEND="portage? ( sys-apps/portage[${PYTHON_USEDEP}] )"
23
24 python_compile_all() {
25 emake -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 distutils-r1_python_install_all
39
40 insinto /etc/vhosts
41 doins config/webapp-config
42
43 keepdir /usr/share/webapps
44 keepdir /var/db/webapps
45
46 dodoc AUTHORS
47 doman doc/*.[58]
48 dohtml doc/*.[58].html
49 }
50
51 python_test() {
52 PYTHONPATH="." "${PYTHON}" WebappConfig/tests/dtest.py \
53 || die "Testing failed with ${EPYTHON}"
54 }
55
56 pkg_postinst() {
57 elog "Now that you have upgraded webapp-config, you **must** update your"
58 elog "config files in /etc/vhosts/webapp-config before you emerge any"
59 elog "packages that use webapp-config."
60 }

  ViewVC Help
Powered by ViewVC 1.1.20