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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.14 - (hide annotations) (download)
Fri May 14 18:56:00 2010 UTC (4 years, 4 months ago) by arfrever
Branch: MAIN
Changes since 1.13: +26 -24 lines
Set SUPPORT_PYTHON_ABIS (bug #308287).
(Portage version: HEAD/cvs/Linux x86_64)

1 sping 1.13 # Copyright 1999-2010 Gentoo Foundation
2 hollow 1.1 # Distributed under the terms of the GNU General Public License v2
3 arfrever 1.14 # $Header: /var/cvsroot/gentoo-x86/app-admin/webapp-config/webapp-config-1.50.16-r1.ebuild,v 1.13 2010/03/10 03:16:31 sping Exp $
4 hollow 1.1
5 arfrever 1.14 EAPI="3"
6     PYTHON_DEPEND="2"
7     SUPPORT_PYTHON_ABIS="1"
8    
9     inherit distutils eutils
10 hollow 1.1
11     DESCRIPTION="Gentoo's installer for web-based applications"
12 sping 1.13 HOMEPAGE="http://sourceforge.net/projects/webapp-config/"
13     SRC_URI="mirror://gentoo/${P}.tar.gz"
14 hollow 1.1
15     LICENSE="GPL-2"
16     SLOT="0"
17 vapier 1.10 KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
18 hollow 1.1 IUSE=""
19    
20     DEPEND=""
21 arfrever 1.14 RDEPEND=""
22     RESTRICT_PYTHON_ABIS="3.*"
23    
24     PYTHON_MODNAME="WebappConfig"
25 hollow 1.1
26 arfrever 1.14 src_prepare() {
27     epatch "${FILESDIR}/${P}-apache-move.patch"
28 hollow 1.1 }
29    
30     src_install() {
31     # According to this discussion:
32     # http://mail.python.org/pipermail/distutils-sig/2004-February/003713.html
33     # distutils does not provide for specifying two different script install
34     # locations. Since we only install one script here the following should
35     # be ok
36     distutils_src_install --install-scripts="/usr/sbin"
37    
38 arfrever 1.14 python_convert_shebangs 2 "${ED}usr/sbin/webapp-config"
39    
40     insinto /etc/vhosts
41     doins config/webapp-config
42    
43 hollow 1.1 keepdir /usr/share/webapps
44     keepdir /var/db/webapps
45 arfrever 1.14
46 beandog 1.12 dodoc examples/phpmyadmin-2.5.4-r1.ebuild AUTHORS.txt CHANGES.txt examples/postinstall-en.txt
47 arfrever 1.14 doman doc/*.[58]
48     dohtml doc/*.[58].html
49 hollow 1.1 }
50    
51     src_test() {
52 arfrever 1.14 testing() {
53     PYTHONPATH="." "$(PYTHON)" WebappConfig/tests/dtest.py
54     }
55     python_execute_function testing
56 hollow 1.1 }
57    
58     pkg_postinst() {
59 arfrever 1.14 distutils_pkg_postinst
60    
61 hollow 1.1 elog "Now that you have upgraded webapp-config, you **must** update your"
62     elog "config files in /etc/vhosts/webapp-config before you emerge any"
63     elog "packages that use webapp-config."
64     }

  ViewVC Help
Powered by ViewVC 1.1.20