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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Jul 11 03:17:24 2015 UTC (3 years, 4 months ago) by twitch153
Branch: MAIN
CVS Tags: HEAD
Adds patch to fix regression in checking for pvr

(Portage version: 2.2.20/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-1.54.ebuild,v 1.1 2015/07/03 20:29:17 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 SRC_URI="http://dev.gentoo.org/~twitch153/${PN}/${P}.tar.bz2"
12 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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 sys-apps/gentoo-functions"
23 RDEPEND="portage? ( sys-apps/portage[${PYTHON_USEDEP}] )"
24
25 python_prepare() {
26 epatch "${FILESDIR}/${P}-pvr-check.patch"
27 }
28 python_compile_all() {
29 emake -C doc/
30 }
31
32 python_install() {
33 # According to this discussion:
34 # http://mail.python.org/pipermail/distutils-sig/2004-February/003713.html
35 # distutils does not provide for specifying two different script install
36 # locations. Since we only install one script here the following should
37 # be ok
38 distutils-r1_python_install --install-scripts="/usr/sbin"
39 }
40
41 python_install_all() {
42 distutils-r1_python_install_all
43
44 insinto /etc/vhosts
45 doins config/webapp-config
46
47 keepdir /usr/share/webapps
48 keepdir /var/db/webapps
49
50 dodoc AUTHORS
51 doman doc/*.[58]
52 dohtml doc/*.[58].html
53 }
54
55 python_test() {
56 PYTHONPATH="." "${PYTHON}" WebappConfig/tests/external.py \
57 || die "Testing failed with ${EPYTHON}"
58 }
59
60 pkg_postinst() {
61 elog "webapp-config now requires that all -I/-U/-C commands be followed"
62 elog "by the package name and package version of the webapp"
63 elog "eg.) 'webapp-config -d drupal -I drupal 8.0.0_beta10'"
64 elog "See 'man 8 webapp-config' for more information"
65 }

  ViewVC Help
Powered by ViewVC 1.1.20