diff options
author | Joseph Hunkeler <jhunk@stsci.edu> | 2016-01-21 00:27:19 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunk@stsci.edu> | 2016-01-21 00:27:19 -0500 |
commit | a4b3e088c92e5818ac5c4b2f48b7b230d795975d (patch) | |
tree | 12263a5cb1d0a5f455da9087a9a9fc1794df051b | |
parent | 2e442c7882c21d680b41daa616b5b8a9eb74c429 (diff) | |
download | cbc-recipes-a4b3e088c92e5818ac5c4b2f48b7b230d795975d.tar.gz |
Initial commit
-rw-r--r-- | pyds9/pyds9.ini | 45 | ||||
-rw-r--r-- | xpa/xpa.ini | 54 |
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 + |