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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.14 - (show annotations) (download)
Mon Jun 22 19:24:29 2015 UTC (3 years, 3 months ago) by twitch153
Branch: MAIN
CVS Tags: HEAD
Changes since 1.13: +2 -2 lines
Updates to git-r3 eclass

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

1 # Copyright 1999-2015 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.13 2015/06/19 23:11:06 twitch153 Exp $
4
5 EAPI="5"
6
7 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
8
9 inherit distutils-r1
10
11 if [[ ${PV} = 9999* ]]
12 then
13 EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git"
14 inherit git-r3
15 KEYWORDS=""
16 else
17 SRC_URI="http://dev.gentoo.org/~blueness/${PN}/${P}.tar.bz2"
18 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
19 fi
20
21 DESCRIPTION="Gentoo's installer for web-based applications"
22 HOMEPAGE="http://sourceforge.net/projects/webapp-config/"
23
24 LICENSE="GPL-2"
25 SLOT="0"
26 IUSE="+portage"
27
28 DEPEND="app-text/xmlto
29 !dev-python/configparser
30 sys-apps/gentoo-functions"
31 RDEPEND="portage? ( sys-apps/portage[${PYTHON_USEDEP}] )"
32
33 python_compile_all() {
34 emake -C doc/
35 }
36
37 python_install() {
38 # According to this discussion:
39 # http://mail.python.org/pipermail/distutils-sig/2004-February/003713.html
40 # distutils does not provide for specifying two different script install
41 # locations. Since we only install one script here the following should
42 # be ok
43 distutils-r1_python_install --install-scripts="/usr/sbin"
44 }
45
46 python_install_all() {
47 distutils-r1_python_install_all
48
49 insinto /etc/vhosts
50 doins config/webapp-config
51
52 keepdir /usr/share/webapps
53 keepdir /var/db/webapps
54
55 dodoc AUTHORS
56 doman doc/*.[58]
57 dohtml doc/*.[58].html
58 }
59
60 python_test() {
61 PYTHONPATH="." "${PYTHON}" WebappConfig/tests/external.py \
62 || die "Testing failed with ${EPYTHON}"
63 }
64
65 pkg_postinst() {
66 elog "Now that you have upgraded webapp-config, you **must** update your"
67 elog "config files in /etc/vhosts/webapp-config before you emerge any"
68 elog "packages that use webapp-config."
69 }

  ViewVC Help
Powered by ViewVC 1.1.20