summaryrefslogtreecommitdiff
path: root/dbus-python
diff options
context:
space:
mode:
authorMatt Rendina <rendinam@users.noreply.github.com>2017-11-07 10:35:43 -0500
committerGitHub <noreply@github.com>2017-11-07 10:35:43 -0500
commit509e9f4d9b7282d90f9ac8b6b515c36a52fc118f (patch)
tree9a72ce20ca33b31bfddc0a14ac8317a6b7c62cb7 /dbus-python
parent05b6ceb506b9222ef3fcf1acdf5f7dbc693c6e22 (diff)
parentae9265d4e2407579822310cc3cf68a150ea3bed7 (diff)
downloadastroconda-contrib-509e9f4d9b7282d90f9ac8b6b515c36a52fc118f.tar.gz
Merge branch 'master' into imexam0.8.0
Diffstat (limited to 'dbus-python')
-rw-r--r--dbus-python/bld.bat1
-rw-r--r--dbus-python/build.sh7
-rw-r--r--dbus-python/meta.yaml39
3 files changed, 47 insertions, 0 deletions
diff --git a/dbus-python/bld.bat b/dbus-python/bld.bat
new file mode 100644
index 0000000..39b5e1f
--- /dev/null
+++ b/dbus-python/bld.bat
@@ -0,0 +1 @@
+%PYTHON% setup.py install
diff --git a/dbus-python/build.sh b/dbus-python/build.sh
new file mode 100644
index 0000000..d463597
--- /dev/null
+++ b/dbus-python/build.sh
@@ -0,0 +1,7 @@
+export CFLAGS="-I$PREFIX/include"
+export LDFLAGS="-L$PREFIX/lib"
+export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig"
+
+./configure --prefix=$PREFIX
+make
+make install
diff --git a/dbus-python/meta.yaml b/dbus-python/meta.yaml
new file mode 100644
index 0000000..8e2b78d
--- /dev/null
+++ b/dbus-python/meta.yaml
@@ -0,0 +1,39 @@
+{% set name = 'dbus-python' %}
+{% set version = '1.2.4' %}
+{% set number = '0' %}
+{% set archive = name + '-' + version + '.tar.gz' %}
+
+about:
+ home: https://cgit.freedesktop.org/dbus/dbus-python
+ license: GPL
+ summary: Python bindings for D-Bus
+
+package:
+ name: {{ name }}
+ version: {{ version }}
+
+build:
+ skip: true [not linux]
+ number: {{ number }}
+
+source:
+ fn: {{ archive }}
+ url: https://dbus.freedesktop.org/releases/{{ name }}/{{ archive }}
+
+requirements:
+ build:
+ - autoconf
+ - m4
+ - dbus
+ - dbus-glib
+ - setuptools
+ - python
+
+ run:
+ - dbus
+ - dbus-glib
+ - python
+
+test:
+ imports:
+ - dbus