Magellan Linux

Contents of /branches/R11-unstable/extras/python-slip/python-slip-0.6.0-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 25743 - (show annotations) (download)
Tue Nov 25 04:14:48 2014 UTC (9 years, 5 months ago) by niro
File size: 2000 byte(s)
-release branches/R11-unstable
1 # $Id$
2
3 PNAME="python-slip"
4 PVER="0.6.0"
5 PBUILD="r4"
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 >= dev-python/python-six-1.7"
14
15 GTK_DEPEND=">= dev-python/pygtk-2.24"
16 DBUS_DEPEND=">= dev-python/dbus-python-1
17 >= sys-apps/polkit-0.112
18 >= dev-python/pygobject-2.28
19 >= dev-python/pygobject3-3.12
20 >= dev-python/decorator-3.4"
21
22 SDEPEND=">= dev-util/pkgconfig-0.25"
23
24 SRCFILE="${PNAME}-${PVER}.tar.bz2"
25 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
26
27 sminclude python cleanutils
28
29 SRC_URI=(
30 https://fedorahosted.org/released/${PNAME}/${SRCFILE}
31 mirror://${PNAME}/${SRCFILE}
32 )
33
34 UP2DATE="updatecmd 'https://fedorahosted.org/released/${PNAME}/?C=M;O=A' | lasttarball"
35
36 split_info_python-slip()
37 {
38 DESCRIPTION="Miscellaneous convenience, extension and workaround code for Python."
39 DEPEND="${COMMON_DEPEND}"
40 }
41
42 split_info_python-slip-dbus()
43 {
44 DESCRIPTION="Convenience functions for dbus services."
45 DEPEND="== dev-python/python-slip-${PVER}
46 ${DBUS_DEPEND}"
47 }
48
49 split_info_python-slip-gtk()
50 {
51 DESCRIPTION="Code to make auto-wrapping gtk labels."
52 DEPEND="== dev-python/python-slip-${PVER}
53 ${GTK_DEPEND}"
54 }
55
56 src_install_python-slip()
57 {
58 cd ${SRCDIR}
59
60 python_src_install || die
61 zapmost ${BINDIR} \
62 usr/share \
63 $(mget-python-libdir)/slip-${PVER}-py$(mget-python-version).egg-info \
64 $(mget-python-libdir)/slip/__init__.py* \
65 $(mget-python-libdir)/slip/util \
66 $(mget-python-libdir)/slip/_wrappers \
67 || die
68 }
69
70 src_install_python-slip-dbus()
71 {
72 cd ${SRCDIR}
73
74 python_src_install || die
75 zapmost ${BINDIR} \
76 usr/share \
77 $(mget-python-libdir)/slip.dbus-${PVER}-py$(mget-python-version).egg-info \
78 $(mget-python-libdir)/slip/dbus \
79 || die
80 }
81
82 src_install_python-slip-gtk()
83 {
84 cd ${SRCDIR}
85
86 python_src_install || die
87 zapmost ${BINDIR} \
88 usr/share \
89 $(mget-python-libdir)/slip.gtk-${PVER}-py$(mget-python-version).egg-info \
90 $(mget-python-libdir)/slip/gtk \
91 || die
92 }