[r-cran-bayesm] 02/44: Import Debian patch 0.0-2-1
Andreas Tille
tille at debian.org
Thu Sep 7 11:16:19 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository r-cran-bayesm.
commit 7c350c9e5094c597100123da175372b48b5f9a6d
Author: Chris Lawrence <lawrencc at debian.org>
Date: Sun May 8 20:07:30 2005 -0500
Import Debian patch 0.0-2-1
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 30 ++++++++++++++++++++++++++++++
debian/copyright | 23 +++++++++++++++++++++++
debian/rules | 29 +++++++++++++++++++++++++++++
debian/watch | 2 ++
6 files changed, 90 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b09620e
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+r-cran-bayesm (0.0-2-1) unstable; urgency=low
+
+ * Initial Debian Release. (Closes: #308255)
+
+ -- Chris Lawrence <lawrencc at debian.org> Sun, 8 May 2005 20:07:30 -0500
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..e369f0b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,30 @@
+Source: r-cran-bayesm
+Section: math
+Priority: optional
+Maintainer: Chris Lawrence <lawrencc at debian.org>
+Build-Depends: debhelper (>> 4.1.0), r-base-dev (>> 2.1.0), cdbs
+Standards-Version: 3.6.1.0
+
+Package: r-cran-bayesm
+Architecture: any
+Depends: r-base-core (>> 2.1.0)
+Description: GNU R package for Bayesian inference
+ The bayesm package covers many important models used in marketing and
+ micro-econometrics applications. The package includes:
+ .
+ * Bayes Regression (univariate or multivariate dep var)
+ * Multinomial Logit (MNL) and Multinomial Probit (MNP)
+ * Multivariate Probit,
+ * Multivariate Mixtures of Normals
+ * Hierarchical Linear Models with normal prior and covariates
+ * Hierarchical Multinomial Logits with mixture of normals prior and
+ covariates
+ * Bayesian analysis of choice-based conjoint data
+ * Bayesian treatment of linear instrumental variables models
+ * Analyis of Multivariate Ordinal survey data with scale usage heterogeneity
+ (as in Rossi et al, JASA (01)).
+ .
+ For further reference, consult the authors' book, _Bayesian Statistics and
+ Marketing_ by Allenby, McCulloch and Rossi.
+ .
+ Home Page: http://gsbwww.uchicago.edu/fac/peter.rossi/research/bsm.html
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..797d1cf
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,23 @@
+This is the Debian package of the GNU R package known as "bayesm". The
+upstream authors are as follows:
+
+Peter Rossi <peter.rossi at ChicagoGsb.edu>
+Rob McCulloch <robert.mcculloch at ChicagoGsb.edu>.
+
+This package was created by Chris Lawrence <lawrencc at debian.org>,
+based on Dirk Eddelbuettel's packaging of r-cran-car.
+
+The sources were downloaded from
+ http://cran.us.r-project.org/src/contrib/
+
+The package was renamed from its upstream name 'bayesm' to 'r-cran-bayesm'
+to fit the pattern of CRAN (and non-CRAN) packages for R.
+
+This package is copyrighted by Peter Rossi and Rob McCulloch. It has
+been placed under the GNU General Public License.
+
+On Debian systems, the GPL is included in the file
+/usr/share/common-licenses/GPL.
+
+The upstream DESCRIPTION file for this package is available in
+/usr/lib/R/site-library/bayesm/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..db53c74
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,29 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# debian/rules file for the Debian/GNU Linux r-cran-car package
+# Copyright 2003 by Dirk Eddelbuettel <edd at debian.org>
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/langcore.mk
+
+## We need the CRAN (upstream) name
+cranName := $(shell grep Package: DESCRIPTION | cut -f2 -d" ")
+## and we need to build a Debian Policy-conformant lower-case package name
+cranNameLC := $(shell echo $(cranName) | tr "[A-Z]" "[a-z]" | tr "." "-" )
+## which we can use to build the package directory
+package := r-cran-$(cranNameLC)
+## which we use for the to-be-installed-in directory
+debRlib := $(CURDIR)/debian/$(package)/usr/lib/R/site-library
+
+common-install-indep:: R_any_arch
+common-install-arch:: R_any_arch
+
+R_any_arch:
+ dh_installdirs usr/lib/R/site-library
+ R CMD INSTALL --clean -l $(debRlib) .
+ rm -vf $(debRlib)/R.css $(debRlib)/$(cranName)/COPYING
+ mkdir -p debian/r-cran-bayesm/usr/share/doc/r-cran-bayesm/
+ (cd debian/r-cran-bayesm/usr/share/doc/r-cran-bayesm/; ln -s ../../../lib/R/site-library/bayesm/doc/Some_Useful_R_Pointers.pdf ../../../lib/R/site-library/bayesm/doc/Tips_On_Using_bayesm.pdf .)
+
+clean::
+ chmod -x inst/doc/*.pdf
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..2cc3b75
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=2
+http://cran.us.r-project.org/src/contrib/bayesm_(.*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-bayesm.git
More information about the debian-science-commits
mailing list