From a4b3e088c92e5818ac5c4b2f48b7b230d795975d Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 21 Jan 2016 00:27:19 -0500 Subject: Initial commit --- pyds9/pyds9.ini | 45 +++++++++++++++++++++++++++++++++++++++++++++ xpa/xpa.ini | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 99 insertions(+) create mode 100644 pyds9/pyds9.ini create mode 100644 xpa/xpa.ini 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 + -- cgit