From eaae4193a3dcffa9ca04583d73a4b0f641489f74 Mon Sep 17 00:00:00 2001
From: Raul Infante-Sainz <infantesainz@gmail.com>
Date: Wed, 24 Apr 2019 18:26:45 +0100
Subject: Added paper citation of sip_tpv Python package

Until now, we were not citing the paper of `sip_tpv' package.
With this commit, we have been fix this issue.
---
 reproduce/software/bibtex/sip_tpv.tex | 16 ++++++++++++++++
 reproduce/software/make/python.mk     | 10 ++++++----
 2 files changed, 22 insertions(+), 4 deletions(-)
 create mode 100644 reproduce/software/bibtex/sip_tpv.tex

(limited to 'reproduce/software')

diff --git a/reproduce/software/bibtex/sip_tpv.tex b/reproduce/software/bibtex/sip_tpv.tex
new file mode 100644
index 0000000..14915d4
--- /dev/null
+++ b/reproduce/software/bibtex/sip_tpv.tex
@@ -0,0 +1,16 @@
+@ARTICLE{sip-tpv,
+   author = {{Shupe}, D.~L. and {Laher}, R.~R. and {Storrie-Lombardi}, L. and
+	{Surace}, J. and {Grillmair}, C. and {Levitan}, D. and {Sesar}, B.
+	},
+    title = "{More flexibility in representing geometric distortion in astronomical images}",
+     year = 2012,
+   journal = {SPIE},
+   volume = 8451,
+    month = sep,
+      eid = {84511M},
+    pages = {84511M},
+      doi = {10.1117/12.925460},
+   adsurl = {http://adsabs.harvard.edu/abs/2012SPIE.8451E..1MS},
+  adsnote = {Provided by the SAO/NASA Astrophysics Data System}
+}
+
diff --git a/reproduce/software/make/python.mk b/reproduce/software/make/python.mk
index fe3decb..ba811ba 100644
--- a/reproduce/software/make/python.mk
+++ b/reproduce/software/make/python.mk
@@ -496,11 +496,13 @@ $(ipydir)/setuptools_scm: $(tdir)/setuptools_scm-$(setuptools_scm-version).tar.g
 	$(call pybuild, tar xf, $<, setuptools_scm-$(setuptools_scm-version), ,\
 	                Setuptools-scm $(setuptools_scm-version))
 
-$(ipydir)/sip_tpv: $(tdir)/sip_tpv-$(sip_tpv-version).tar.gz  \
-                  $(ipydir)/mpmath                            \
+$(ipydir)/sip_tpv: $(tdir)/sip_tpv-$(sip_tpv-version).tar.gz   \
+                  $(ipydir)/mpmath                             \
                   $(ipydir)/sympy
-	$(call pybuild, tar xf, $<, sip_tpv-$(sip_tpv-version), , \
-	                sip\_tpv $(sip_tpv-version))
+	$(call pybuild, tar xf, $<, sip_tpv-$(sip_tpv-version), ,) \
+	&& cp $(dtexdir)/sip_tpv.tex $(ictdir)/                    \
+	&& echo "sip\_tpv $(sip_tpv-version) \citep{sip-tpv}" > $@
+
 
 $(ipydir)/six: $(tdir)/six-$(six-version).tar.gz \
                $(ipydir)/setuptools
-- 
cgit v1.2.1