aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyds9/pyds9.ini45
-rw-r--r--xpa/xpa.ini54
2 files changed, 99 insertions, 0 deletions
diff --git a/pyds9/pyds9.ini b/pyds9/pyds9.ini
new file mode 100644
index 0000000..6dfe1f6
--- /dev/null
+++ b/pyds9/pyds9.ini
@@ -0,0 +1,45 @@
+[package]
+name : pyds9
+version : {{ environ.get("GIT_DESCRIBE_TAG", "0.0.0") }}.git
+
+[about]
+home : https://github.com/ericmandel/${package:name}
+license : GPL
+summary : Python connection to SAOimage DS9 via XPA
+
+[source]
+git_url : ${about:home}.git
+git_tag : v1.8
+
+[build]
+number : {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
+
+[requirements]
+build :
+ xpa
+ ds9
+ six
+ setuptools
+ python
+
+run :
+ xpa
+ ds9
+ six
+ python
+
+[test]
+imports :
+ pyds9
+
+commands :
+ #none
+
+[cbc_build]
+linux :
+ python setup.py install || exit 1
+
+windows :
+ echo "Not yet"
+ exit 1
+
diff --git a/xpa/xpa.ini b/xpa/xpa.ini
new file mode 100644
index 0000000..1979917
--- /dev/null
+++ b/xpa/xpa.ini
@@ -0,0 +1,54 @@
+[package]
+name : xpa
+version : {{ environ.get("GIT_DESCRIBE_TAG", "0.0.0") }}.git
+
+[about]
+home : https://github.com/ericmandel/${package:name}
+license : MIT
+summary : Provides seamless communication between many kinds of Unix programs
+
+[source]
+#fn : ${package:name}-${package:version}.tar.gz
+#url : ${about:home}/${fn}
+git_url : ${about:home}.git
+git_tag : v2.1.17
+
+[build]
+number : {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
+
+[requirements]
+build :
+ python
+
+run :
+ python
+
+[test]
+imports :
+ #none
+commands :
+ # Can't test -- All programs return non-zero on 'usage'.
+ #xpaget -h
+ #xpaset -h
+ #xpainfo -h
+ #xpaaccess -h
+
+ # We will settle for this though:
+ test -x `which xpaget`
+ test -x `which xpaset`
+ test -x `which xpainfo`
+ test -x `which xpaaccess`
+
+[cbc_build]
+linux :
+ # ditch python connector library
+ rm -rf python
+
+ ./configure --prefix=$$PREFIX
+ make -j$${CPU_COUNT}
+ make install || exit 1
+
+windows :
+ echo Nope
+ exit 1
+