summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormschubert2015-06-12 12:11:17 +0100
committermschubert2015-06-12 12:11:17 +0100
commit7f5544ba0fef972f29322eca7aa54100d2e9f57a (patch)
treedc8b9a4ab4e5533327401f430cec895fdac36f38
downloadaur-7f5544ba0fef972f29322eca7aa54100d2e9f57a.tar.gz
Initial import
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD34
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c97762ade82
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = python-rpy2-hg
+ pkgdesc = A simple, robust Python interface to the R Programming Language.
+ pkgver = 2542.d0b42a0bee6c
+ pkgrel = 1
+ url = http://rpy.sourceforge.net/
+ arch = i686
+ arch = x86_64
+ license = MPL
+ license = GPL
+ license = LGPL
+ makedepends = mercurial
+ depends = python-numpy
+ depends = r
+ provides = python-rpy2
+ conflicts = python-rpy2
+ source = python-rpy2-hg::hg+https://bitbucket.org/rpy2/rpy2
+ md5sums = SKIP
+
+pkgname = python-rpy2-hg
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b09fba2a4b5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Michael Schubert <mschu.dev at gmail>
+
+pkgname=python-rpy2-hg
+pkgver=2542.d0b42a0bee6c
+pkgrel=1
+pkgdesc="A simple, robust Python interface to the R Programming Language."
+arch=('i686' 'x86_64')
+url="http://rpy.sourceforge.net/"
+license=('MPL' 'GPL' 'LGPL')
+makedepends=('mercurial')
+depends=('python-numpy' 'r')
+provides=('python-rpy2')
+conflicts=('python-rpy2')
+source=($pkgname::hg+https://bitbucket.org/rpy2/rpy2)
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$pkgname"
+ echo $(hg identify -n).$(hg identify -i)
+}
+
+build() {
+ cd "$srcdir/$pkgname"
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ python setup.py install --skip-build --prefix=/usr --root="$pkgdir" --optimize=1
+
+ mkdir -p "$pkgdir/etc/ld.so.conf.d"
+ echo /usr/lib/R/lib > "$pkgdir/etc/ld.so.conf.d/rpy2.conf"
+}
+