Magellan Linux

Contents of /trunk/core/dbus-python/dbus-python-1.2.6-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30594 - (show annotations) (download)
Fri Feb 2 11:40:10 2018 UTC (6 years, 2 months ago) by niro
File size: 1306 byte(s)
auto added: ver bump to 1.2.6-r1
1 # $Id$
2
3 PNAME="dbus-python"
4 PVER="1.2.6"
5 PBUILD="r1"
6
7 SPLIT_PACKAGES="python2-dbus python3-dbus dbus-python"
8
9 PCAT="dev-python"
10 HOMEPAGE="http://www.freedesktop.org/wiki/Software/DBusBindings"
11
12 DEPEND=">= dev-lang/python-2.7
13 >= sys-apps/dbus-1.10
14 >= dev-libs/glib2-2.45
15 >= dev-libs/dbus-glib-0.108"
16
17 SDEPEND=">= dev-util/pkgconfig-0.25
18 >= dev-python/python2-setuptools-20
19 >= dev-python/python3-setuptools-20"
20
21 SRCFILE="${PNAME}-${PVER}.tar.gz"
22 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
23
24 sminclude python2 python3
25
26 SRC_URI=(
27 http://dbus.freedesktop.org/releases/${PNAME}/${SRCFILE}
28 mirror://${PNAME}/${SRCFILE}
29 )
30
31 UP2SUBDIR="${PNAME}"
32 UP2TARBALL="${PNAME}"
33 UP2DATE="updatecmd_freedesktop dbus gz"
34
35 split_info_python2-dbus()
36 {
37 DESCRIPTION="DBus Python2 bindings."
38 }
39
40 split_info_python3-dbus()
41 {
42 DESCRIPTION="DBus Python3 bindings."
43 }
44
45 split_info_dbus-python()
46 {
47 PVER="9999"
48 PKGTYPE="virtual"
49
50 DESCRIPTION="Transitional package for python2-dbus."
51 HOMEPAGE="http://www.magellan-linux.de/"
52
53 DEPEND=">= dev-python/python2-dbus-1"
54 }
55
56 src_prepare()
57 {
58 python2_src_prepare || die
59 python3_src_prepare || die
60 }
61
62 src_compile()
63 {
64 python2_src_compile || die
65 python3_src_compile || die
66 }
67
68 src_install_python2-dbus()
69 {
70 python2_src_install || die
71 }
72
73 src_install_python3-dbus()
74 {
75 python3_src_install || die
76 }