Magellan Linux

Contents of /trunk/extras/python-slip/python-slip-0.2.20-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11378 - (show annotations) (download)
Mon Mar 5 13:36:47 2012 UTC (12 years, 3 months ago) by niro
File size: 1889 byte(s)
auto added: ver bump to 0.2.20-r1
1 # $Id$
2
3 PNAME="python-slip"
4 PVER="0.2.20"
5 PBUILD="r1"
6
7 SPLIT_PACKAGES="python-slip python-slip-dbus python-slip-gtk"
8
9 PCAT="dev-python"
10 HOMEPAGE="https://fedorahosted.org/python-slip/"
11
12 COMMON_DEPEND=">= dev-lang/python-2.7"
13
14 GTK_DEPEND=">= dev-python/pygtk-2.24"
15 DBUS_DEPEND=">= dev-python/dbus-python-1
16 >= sys-apps/polkit-0.102
17 >= dev-python/pygobject-2.28
18 >= dev-python/decorator-3.3"
19
20 SDEPEND=">= dev-util/pkgconfig-0.25"
21
22 SRCFILE="${PNAME}-${PVER}.tar.bz2"
23 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
24
25 sminclude python cleanutils
26
27 SRC_URI=(
28 https://fedorahosted.org/released/${PNAME}/${SRCFILE}
29 mirror://${PNAME}/${SRCFILE}
30 )
31
32 UP2DATE="updatecmd 'https://fedorahosted.org/released/${PNAME}/?C=M;O=A' | lasttarball"
33
34 split_info_python-slip()
35 {
36 DESCRIPTION="Miscellaneous convenience, extension and workaround code for Python."
37 DEPEND="${COMMON_DEPEND}"
38 }
39
40 split_info_python-slip-dbus()
41 {
42 DESCRIPTION="Convenience functions for dbus services."
43 DEPEND="== dev-python/python-slip-${PVER}
44 ${DBUS_DEPEND}"
45 }
46
47 split_info_python-slip-gtk()
48 {
49 DESCRIPTION="Code to make auto-wrapping gtk labels."
50 DEPEND="== dev-python/python-slip-${PVER}
51 ${GTK_DEPEND}"
52 }
53
54 src_install_python-slip()
55 {
56 cd ${SRCDIR}
57
58 python_src_install || die
59 zapmost ${BINDIR} \
60 usr/share \
61 $(get_python_libdir)/slip-${PVER}-py$(get_python_version).egg-info \
62 $(get_python_libdir)/slip/__init__.py* \
63 $(get_python_libdir)/slip/util \
64 || die
65 }
66
67 src_install_python-slip-dbus()
68 {
69 cd ${SRCDIR}
70
71 python_src_install || die
72 zapmost ${BINDIR} \
73 usr/share \
74 $(get_python_libdir)/slip.dbus-${PVER}-py$(get_python_version).egg-info \
75 $(get_python_libdir)/slip/dbus \
76 || die
77 }
78
79 src_install_python-slip-gtk()
80 {
81 cd ${SRCDIR}
82
83 python_src_install || die
84 zapmost ${BINDIR} \
85 usr/share \
86 $(get_python_libdir)/slip.gtk-${PVER}-py$(get_python_version).egg-info \
87 $(get_python_libdir)/slip/gtk \
88 || die
89 }