Contents of /branches/R11-stable/extras/python-slip/python-slip-0.4.0-r1.smage2
Parent Directory | Revision Log
Revision 18012 -
(show annotations)
(download)
Thu Jun 27 06:44:27 2013 UTC (11 years, 4 months ago) by niro
File size: 1958 byte(s)
Thu Jun 27 06:44:27 2013 UTC (11 years, 4 months ago) by niro
File size: 1958 byte(s)
-release branches/R11-stable
1 | # $Id$ |
2 | |
3 | PNAME="python-slip" |
4 | PVER="0.4.0" |
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.111 |
17 | >= dev-python/pygobject-2.28 |
18 | >= dev-python/pygobject3-3.8 |
19 | >= dev-python/decorator-3.4" |
20 | |
21 | SDEPEND=">= dev-util/pkgconfig-0.25" |
22 | |
23 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
24 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
25 | |
26 | sminclude python cleanutils |
27 | |
28 | SRC_URI=( |
29 | https://fedorahosted.org/released/${PNAME}/${SRCFILE} |
30 | mirror://${PNAME}/${SRCFILE} |
31 | ) |
32 | |
33 | UP2DATE="updatecmd 'https://fedorahosted.org/released/${PNAME}/?C=M;O=A' | lasttarball" |
34 | |
35 | split_info_python-slip() |
36 | { |
37 | DESCRIPTION="Miscellaneous convenience, extension and workaround code for Python." |
38 | DEPEND="${COMMON_DEPEND}" |
39 | } |
40 | |
41 | split_info_python-slip-dbus() |
42 | { |
43 | DESCRIPTION="Convenience functions for dbus services." |
44 | DEPEND="== dev-python/python-slip-${PVER} |
45 | ${DBUS_DEPEND}" |
46 | } |
47 | |
48 | split_info_python-slip-gtk() |
49 | { |
50 | DESCRIPTION="Code to make auto-wrapping gtk labels." |
51 | DEPEND="== dev-python/python-slip-${PVER} |
52 | ${GTK_DEPEND}" |
53 | } |
54 | |
55 | src_install_python-slip() |
56 | { |
57 | cd ${SRCDIR} |
58 | |
59 | python_src_install || die |
60 | zapmost ${BINDIR} \ |
61 | usr/share \ |
62 | $(get_python_libdir)/slip-${PVER}-py$(get_python_version).egg-info \ |
63 | $(get_python_libdir)/slip/__init__.py* \ |
64 | $(get_python_libdir)/slip/util \ |
65 | $(get_python_libdir)/slip/_wrappers \ |
66 | || die |
67 | } |
68 | |
69 | src_install_python-slip-dbus() |
70 | { |
71 | cd ${SRCDIR} |
72 | |
73 | python_src_install || die |
74 | zapmost ${BINDIR} \ |
75 | usr/share \ |
76 | $(get_python_libdir)/slip.dbus-${PVER}-py$(get_python_version).egg-info \ |
77 | $(get_python_libdir)/slip/dbus \ |
78 | || die |
79 | } |
80 | |
81 | src_install_python-slip-gtk() |
82 | { |
83 | cd ${SRCDIR} |
84 | |
85 | python_src_install || die |
86 | zapmost ${BINDIR} \ |
87 | usr/share \ |
88 | $(get_python_libdir)/slip.gtk-${PVER}-py$(get_python_version).egg-info \ |
89 | $(get_python_libdir)/slip/gtk \ |
90 | || die |
91 | } |