Annotation of /branches/R11-stable/extras/python-slip/python-slip-0.6.0-r4.smage2
Parent Directory | Revision Log
Revision 22498 -
(hide annotations)
(download)
Tue Oct 21 09:17:25 2014 UTC (9 years, 11 months ago) by niro
Original Path: trunk/extras/python-slip/python-slip-0.6.0-r4.smage2
File size: 2000 byte(s)
Tue Oct 21 09:17:25 2014 UTC (9 years, 11 months ago) by niro
Original Path: trunk/extras/python-slip/python-slip-0.6.0-r4.smage2
File size: 2000 byte(s)
auto added: ver bump to 0.6.0-r4
1 | niro | 22498 | # $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 | } |